|
I'm doing modern windows development too. Just started with...
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
MSG msg;
BOOL bRet;
for(; ; )
{
bRet = GetMessage(&msg, NULL, 0, 0);
if (bRet > 0)
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
else if (bRet < 0)
{
}
else
{
break;
}
}
return msg.wParam;
}
It's a joke, people. A joke. But, also, that code still works.
|
|
|
|
|
Classic stuff. Reminds me of interview questions 20 years ago!
Regards,
Rob Philpott.
|
|
|
|
|
Sheldon Cooper thought of it first!
|
|
|
|
|
So Nish...when's your job going to get outsourced to a guy in India?
|
|
|
|
|
So Nish...when's your job going to get outsourced to a guy in India?
When I deem that the time has come.
|
|
|
|
|
That's him on the screen, isn't it?
I'm the guy sitting just outside the picture boundary, with a cold beer in my hand.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
That's him on the screen, isn't it?
For a few moments I was confused too - not just to others, brown people look the same to brown people as well. Then I noticed that he had glasses, so it couldn't be me. That was a huge relief, since I didn't want to be in new Delhi since I don't really speak Hindi all that well.
|
|
|
|
|
Nish Nishant wrote: For a few moments I was confused too - not just to others, brown people look the same to brown people as well.
I wouldn't normally make this sort of off-color remark (see what I did there?), but since you brought it up:
Please tell your buddy to stop calling me about my infected Windows computer.
|
|
|
|
|
Yeah sure, all 1 billion of them?
|
|
|
|
|
That'd be great, if you don't mind. How does your address book scale like that?
|
|
|
|
|
Multiple Redis caches
|
|
|
|
|
Hilarious!!
1. One step further and the receptionist becomes a generated image and voice and then humans are not needed for reception.
2. One step after that and you are turned into a robot visitor and then humans are not needed at all.
|
|
|
|
|
Of course in the not-too-distant future, having actual human staff will be a sign of utter swank.
Software Zen: delete this;
|
|
|
|
|
sigh. I liked our receptionist. She should have seen the cut coming though. Even so, I swear to God, if I ever met someone like that as a "receptionist" I'd reach out and rotate the head some iterations of 180 degrees. I mean really, you walk into a business and you're greeted with that? Put some tits on it at least!
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Is this really happening? Wow!
|
|
|
|
|
|
IT'S THE ANGEL GABRIEL!!!!!!!!!!!!!
|
|
|
|
|
Tua joko?[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
The BBC, best TV channel in the world, by miles.
|
|
|
|
|
Doooode!
|
|
|
|
|
Nice!
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
I was asked that yesterday and didn't really know. It's always interesting to discover where my knowledge gaps are.
Great article[^] on it right here on CP!
Marc
|
|
|
|
|
I deal pretty heavily with these interfaces internally - most of my cache collections, for instance, return IEnumerable of the appropriate type.
This space for rent
|
|
|
|
|
I didn't think it was very good actually, it didn't show a great understanding of those interfaces and contained a fair amount of incorrect information and bad advice (eg using IEnumerable is bad for memory use as it brings back all records is the exact opposite of the truth). The author was making assumptions about the interfaces and their uses from SQL Profile traces from Entity Framework
|
|
|
|
|
He lost a big chunk of upfront credibility in suggesting the use of the .net 1.x non-generic ArrayList and HashTable in some circumstances. Both types should have been moved to the System.Legacy.Cluster.Elephant.Do.Not.Ever.Use namespace eleven years ago when generics were added.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|