Showing results for 2009 - Page 42 of 42 - The Old New Thing

Jan 8, 2009
Post comments count0
Post likes count0

The programmers don’t design skins; they just make skins possible

Raymond Chen
Raymond Chen

Not all skill sets are interchangeable. That's why we have concepts like division of labor and specialization. But it appears that not everybody understands this. I was reminded of this topic when I read the reactions to the Microsoft Exchange Team announcing that they had added Xbox and Zune themes to OWA. Many people were shocked, such as Lo...

Other
Jan 7, 2009
Post comments count0
Post likes count0

Raymond misreads flyers: A Taste of WWL

Raymond Chen
Raymond Chen

There were flyers in our building inviting people to attend a food event called A Taste of WWL. The letters WWL stand for Windows and Windows Live, but the font they chose for the sign was confusing to me. The capital L looked like a capital I, and I misread the poster as an invitation to attend A Taste of WWI. And then I thought, "Who the hec...

Non-Computer
Jan 7, 2009
Post comments count0
Post likes count0

When debugging a stack overflow, you want to focus on the repeating recursive part

Raymond Chen
Raymond Chen

When your program breaks into the debugger with a stack overflow, you will get a ridiculously huge stack trace because your program has gone into some sort of recursive death. (This is not a statement of metaphysical certitude, but it is true with very high probability.) But the place where the program crashed is usually not interesting at all. He...

Code
Jan 6, 2009
Post comments count0
Post likes count0

Microspeak: Learnings

Raymond Chen
Raymond Chen

If things you teach are teachings, then things you learn must be learnings, right? Good Microspeak citations for this word are hard to find since the word is rarely used in a sentence; it's just a heading in a slide presentation. I found dozens of presentations that had a slide titled Learnings from XYZ, or, for those who want to sound really fancy...

Non-ComputerMicrospeak
Jan 5, 2009
Post comments count0
Post likes count0

Not my finest hour: Misreading a product label

Raymond Chen
Raymond Chen

I had finished some store-bought soup and thought to myself, "That was a pretty good soup. What brand was it? I'll buy it again." I went to my recycle bin to fish out the aseptic box that the soup came in, and looked for the brand name. And I found it: dnos. I thought to myself, "That's a strange name for a soup company."

Non-Computer
Jan 5, 2009
Post comments count0
Post likes count0

Even if you have code to handle a message, you’re allowed to call DefWindowProc, because you were doing that anyway after all

Raymond Chen
Raymond Chen

Just because you write case WM_SOMETHING: doesn't mean that you have to handle all possible parameters for the WM_SOMETHING message. You're still allowed to call the DefWindowProc function. After all, that's what you did when you didn't have a case WM_SOMETHING: statement in the first place. switch (uMsg) { case WM_CHAR: OnChar(...); ret...

Code
Jan 2, 2009
Post comments count0
Post likes count0

Kids love cake, but that doesn’t make them good judges of cake

Raymond Chen
Raymond Chen

My friend who got married last year went to the Seattle Wedding Show (here are some pictures from the 2007 show courtesy of a vendor's blog) and, through a series of circumstances not relevant to the story, combined the visit with a brief stint of babysitting for her nieces, one a tomboy and the other a girly-girl. The children's father came to p...

Non-Computer
Jan 2, 2009
Post comments count0
Post likes count0

Why doesn’t Windows 95 format floppy disks smoothly?

Raymond Chen
Raymond Chen

Welcome, Slashdot readers. Remember, this Web site is for entertainment purposes only. Who spends all day formatting floppy disks? From the reaction of geekdom, it appears that there are lots of geeks who sit around formatting disks all day. (Psst, you can buy them pre-formatted.) But why did Windows 95 get all sluggish when you formatted a fl...

History
Jan 1, 2009
Post comments count0
Post likes count0

Follow-up: A new DUI record set in the state of Washington

Raymond Chen
Raymond Chen

A year ago, I noted that a new DUI record had been set for the state of Washington. It took a while, but the story finally settled out. Recapping the story so far (links in the original article): The driver's attorneys eventually succeeded in having her released from jail (where she had been held on $300,000 bail) to a treatment center. In Ap...

Non-Computer
Jan 1, 2009
Post comments count0
Post likes count0

How do I write a program that can be run either as a console or a GUI application?

Raymond Chen
Raymond Chen

You can't, but you can try to fake it. Each PE application contains a field in its header that specifies which subsystem it was designed to run under. You can say to mark yourself as a Windows GUI application, or you can say to say that you are a console application. If you are GUI application, then the program will run without a console. The s...

Code