Showing results for January 2010 - Page 2 of 4 - The Old New Thing

Jan 18, 2010
0
0

People just like you, for certain values of you

Raymond Chen
Raymond Chen

I received a brochure in the mail for a local church which says that it's "full of people just like you." Everybody in the brochure is white. "You'll fit right in!" it concludes. Bonus chatter: My friends guessed that perhaps the church members are all computer programmers who work at Microsoft and speak Swedish badly.

Non-Computer
Jan 15, 2010
0
0

How you might be loading a DLL during DLL_PROCESS_DETACH without even realizing it

Raymond Chen
Raymond Chen

As you are I'm sure aware, you shouldn't be doing much of anything in your function, but you have to watch out for cases where you end up doing them accidentally. Some time ago, I was investigating a failure which was traced back to loading a DLL inside . Wait, what kind of insane person loads a DLL as part of shutting down? Shouldn't you be cl...

Code
Jan 14, 2010
0
0

I could just use a picture of a regular-sized shopping cart from farther away

Raymond Chen
Raymond Chen

Internet retailer woot! went to CES 2010 and covered it on their blog. (CES category.) But they don't cover what the media elite cover, the big announcements, the hot products. Nope, they cover the weird stuff. They have uncrating photos of CES itself, they infiltrate the The Consumer Breakfast Buffet Show, and they take super secret spy...

Other
Jan 14, 2010
0
0

It rather involved being on the other side of this airtight hatchway: If they can inject code, then they can run code

Raymond Chen
Raymond Chen

One category of the dubious security vulnerability is designing an insecure system, putting together an exploit, and then blaming one of the components of the exploit rather than the insecure system in the first place. I have found a critical security vulnerability in the XYZ scripting object which permits modifying files on the Web server itself...

Other
Jan 13, 2010
0
0

News flash: Wearing clothing keeps you warm

Raymond Chen
Raymond Chen

Every so often, I'll run across a statement of the obvious disguised as news and post it to the News flash tag, but the ones I've found have nothing on this collection of the 11 Most Painfully Obvious Newspaper Articles Ever. Just click through and slap your forehead. Bonus News Flash: Mark McGwire used steroids. I can't wait to see what other...

Non-ComputerNews flash
Jan 13, 2010
0
0

Why does GetCommandLine give me a corrupted command line?

Raymond Chen
Raymond Chen

A customer had the following problem: We're calling to retrieve the command line, and the documentation says that it returns a single null-terminated string. However, when we call it in our application, we find that it is actually a double-null-terminated string. The buffer returned consists of a series of null-terminated strings, one string per ...

Code
Jan 12, 2010
0
1

But that's not all: The story of that cheesy Steve Ballmer Windows video

Raymond Chen
Raymond Chen

While it's true that the cheesy Steve Ballmer Windows video had bad music, bad hair, and bad acting, it's also true that all that cheese was intentional. That video was produced for and shown at the Company Meeting, back when a mainstay of the Company Meeting was spoofs of popular television advertisements—what today would be called "virall...

History
Jan 12, 2010
0
0

Weight Gain 4000, the competition

Raymond Chen
Raymond Chen

Some years ago, one of my colleagues mentioned at the lunch table, "I went hiking this weekend, and man, my backpack was so heavy. I weighed it, and it was like 35 pounds. And then I realized, wait a second, I'm overweight by 35 pounds. I'm carrying this heavy backpack all the time!" Thus began a collective weight loss competition we called Weight...

Non-Computer
Jan 11, 2010
0
0

Pros and cons of using a four-year-old as your language instructor

Raymond Chen
Raymond Chen

I have a niece who is a native speaker of Chinese. Playing with her is a free language lesson, and there are advantages and disadvantages. One advantage is that you will learn all the basic words, and you won't run the risk that your instructor will accidentally use some advanced vocabulary that will throw you off. (You also learn some words that ...

Non-Computer