Showing archive results for 2011

Nov 9, 2011
Post comments count0
Post likes count1

Okay, everybody, it's time for rumors and gossip

Raymond Chen

A friend of mine told me one technique his boss used for keeping group meetings on time. The last item on every meeting agenda was called Rumors and gossip. A group meeting is sort of like a mandatory watercooler session. Everybody is now in a room sitting around a table, and you naturally start discussing whatever rumors you've heard about what's...

Non-Computer
Nov 8, 2011
Post comments count0
Post likes count1

Microspeak: Level-set

Raymond Chen

In mathematics, a level set is the set of points at which a function takes a particular value. This has nothing to do with the way the term is used at Microsoft. In fact, the way the term is used at Microsoft, I have no idea what it means. But here are citations. The first is from an upper-level executive: Before we start the meeting, let me leve...

OtherMicrospeak
Nov 7, 2011
Post comments count0
Post likes count1

Percentages may not add up to 100%, but not for the reason you suggest

Raymond Chen

I saw a chart which had the disclaimer, "Percentages may not add up to 100%, as they are rounded to the nearest percent." The values in the table were 10.4%, 4.0%, 9.4%, 9.3%, 9.2%, 21.2%, 20.0%, and 15.8%. This is a use of the phrase "nearest percent" I was previously unfamiliar with.

Non-Computer
Nov 4, 2011
Post comments count0
Post likes count1

How do I generate a unique 32-bit value for a time zone?

Raymond Chen

Public Service Announcement: Daylight Saving Time ends in most parts of the United States this weekend. Other parts of the world may change on a different day from the United States. A customer asked the following question: Given two structures, I would like to compute a for each that I can then compare to determine whether they represent t...

CodeTime
Nov 3, 2011
Post comments count0
Post likes count1

We've traced the call and it's coming from inside the house: A function call that always fails

Raymond Chen

A customer reported that they had a problem with a particular function added in Windows 7. The tricky bit was that the function was used only on very high-end hardware, not the sort of thing your average developer has lying around. The customer reported that the function always failed with error 122 () even though the buffer seems perfectl...

Code
Nov 2, 2011
Post comments count0
Post likes count1

Debugging why a user's taskbar disappeared

Raymond Chen

A customer reported that they had gone to the Screen Saver control panel, selected a screen saver that they had recently downloaded, then hit the Test button to see what it looked like. He was pleased with what he saw, and he went home, leaving the screen saver running. When he returned the following morning, he found that the screen saver had cra...

Other
Nov 1, 2011
Post comments count0
Post likes count1

The power of statistical photography

Raymond Chen

Inside Microsoft, there was an employee photography contest to provide images to be included in Windows 7, either in one of the pre-release versions or in the final product. Each subsidiary selected the photos to be included in their localized version of Windows, choosing images which best reflect that region's culture, history, and natural...

Other
Oct 31, 2011
Post comments count0
Post likes count0

My least effective Hallowe'en costume

Raymond Chen

One year I decided to dress as a nerd for Hallowe'en. I took an old pair of glasses with large lenses, "repaired" it with some masking tape, and combined it with a plaid dress shirt with a pocket protector and courduroy pants that were too short. Nobody at work realized I was wearing a costume. The best Hallowe'en work costume I saw was someone w...

Non-Computer
Oct 28, 2011
Post comments count0
Post likes count1

Why isn't my transparent static control transparent?

Raymond Chen

A customer reported that their application uses transparent static controls positioned over a bitmap image control, but even though they set the Transparent property on the static control, the static control isn't transparent. The customer was kind enough to provide clear steps to illustrate the problem: Open Visual Studio 2005 or 2008. From the...

Code