Showing archive results for 2009

Apr 24, 2009
Post comments count0
Post likes count0

No, we’re not nerds, why do you ask?

Raymond Chen

Last year, to celebrate successful completion of a project milestone, our group went on a "cultural expedition" to a glass-blowing studio where we were to learn about the craft of glass blowing and even do some of it ourselves. (By the way, it was fun.) One of the glassblowers had been making a lot of little jokes about Frodo and Mount Doom. Work...

Non-Computer
Apr 23, 2009
Post comments count0
Post likes count0

Fashion is something that can be acquired by looking at lots of different fashions

Raymond Chen

Actress Brenda Dickson teaches us how to be awesome. Update: Apparently that video link died within days of my finding it, but there are plenty of other copies floating around the Intertubes. Here's one of many series on YouTube: Part 1 (Fashion), Part 2 (Make-Up), Part 3 (Exercise). and Part 4 (Diet and Nutrition),

Non-Computer
Apr 23, 2009
Post comments count0
Post likes count1

Why are there two values for PSH_WIZARD97?

Raymond Chen

Welcome, Slashdot readers. Remember, this Web site is for entertainment purposes only. If you go cruising through the commctrl.h header file, you'll find that there are two different definitions for PSH_WIZARD97: #if (_WIN32_IE >= 0x0400) ... #if (_WIN32_IE < 0x0500) #define PSH_WIZARD97 0x00002000 #else #define PSH_WIZARD97 ...

History
Apr 22, 2009
Post comments count0
Post likes count0

If you can’t find the statistics you want, then just make them up

Raymond Chen

Yesterday, the Wall Street Journal reported on America's Newest Profession: Bloggers for Hire and included this handy little chart: I found this number hard to believe, so I followed the Source link to the information from the Bureau of Labor Statistics. I found that, yup, in a May 2007 survey, the Bureau of Labor Statistics estimated that the...

Non-Computer
Apr 22, 2009
Post comments count0
Post likes count1

What structure packing do the Windows SDK header files expect?

Raymond Chen

/Zp8 In words, integral types and pointers up to eight bytes in size are stored at their natural alignment. Larger types are stored at eight-byte alignment. In other words (saying it a third time), let be an integral or pointer type. If ≤ 8, then is aligned at a -byte boundary. If ≥ 8, then is aligned at an 8-byte boundary.

Code
Apr 21, 2009
Post comments count0
Post likes count0

How to answer the telephone, according to the manual

Raymond Chen

I have a fancy new office telephone with a bajillion features (most of which I will never even find, much less use). The telephone comes with a helpful manual, explaining how to carry out various tasks. For example: Answering a Call Using the Handset: Pick up the handset. Cool, I was wondering about that.

Non-Computer
Apr 20, 2009
Post comments count0
Post likes count0

Principles of economics, translated

Raymond Chen

Yoram Bauman, the stand-up economist translates Mankiw's ten principles of economics into English. The proof presented in the footnote to principle 5, as well as an extended version of the translation, can be found in the Annals of Improbable Research.

Non-Computer
Apr 20, 2009
Post comments count0
Post likes count1

The dangers of destroying a window while it is processing a sent message

Raymond Chen

Commenter BryanK wonders why weird things happen if you destroy a window while it is processing the message. He suspects that it's similar to the problems you encounter when you destroy a window in response to the message. Although I haven't studied the situation, I wouldn't be surprised if the problem is indeed entirely analogous. It just f...

Code
Apr 17, 2009
Post comments count0
Post likes count1

Why is the animation common control limited to RLE8-compressed animations?

Raymond Chen

The animation common control is very limited in the type of animations it can play. The animation must be in AVI format, it cannot have any sound, and it must be either uncompressed or use RLE8 compression. Why so many restrictions? Because if it could handle other file formats, play sound, and support arbitrary codecs, it would just be a reimple...

History
Apr 16, 2009
Post comments count0
Post likes count1

The frustration of people who are not interested in why something works but only interested in the magic phrase they need to type

Raymond Chen

It's frustrating when people who are presumably smart (or who are at least pretending to be) have a problem and are satisfied to receive the magic phrase they need to type with no interest at all in understanding why the magic phrase works. For example, here's a question sent to an internal mailing list for users of something I'll call Program&nbs...

Other