Posts by this author

Mar 13, 2007
Post comments count0
Post likes count0

The only thing you can do with display names is display them

There are many functions that return strings called "display names". And the only thing you can do with display names is display them. Don't assume that the string actually means anything, because it doesn't. Theoretically, a function like could be implemented as and your program should still work. (Of course, this is merely a ground rule. S...

Code
Mar 12, 2007
Post comments count0
Post likes count0

What is a SM_SLOWMACHINE?

Jason Doucette asks how slow a machine has to be to be considered a . The answer: Pretty darned slow by today's standards. When the metric was introduced in Windows 95, the definition of a "slow machine" was as follows (roughly): That bit about the display driver is a little strange. Windows actually trusted display drivers to report whe...

History
Mar 12, 2007
Post comments count0
Post likes count0

Raymond's highly scientific predictions for the 2007 NCAA men's basketball tournament

Every year, when it comes time to fill out my NCAA bracket, I choose an arbitrary criterion. You'd think this would take less work, but it actually takes more. My original plan was to rank teams based on how much they pay their head coaches, but it turns out that the salaries (and bonuses and perks) of the head coaches of school basketball program...

Non-ComputerHighly scientific
Mar 9, 2007
Post comments count0
Post likes count0

This American Life: What I Learned From Television, Seattle edition

Ira Glass paid another visit to Seattle (here's an appearance on local public radio station KUOW), this time for a live taping of an episode of his radio show This American Life titled "What I Learned From Television." He also took the opportunity to introduce another auditoriumful of people to the same-named television program premiering March 2...

Non-Computer
Mar 9, 2007
Post comments count0
Post likes count0

Don't be so fast to discount those oddball time zones

This weekend marks the beginning of Daylight Saving Time in most parts of the United States, the first year under the new transition rules in the Energy Policy Act of 2005. Pay extra attention to your clocks this weekend. If you have a device that automatically adjusts for Daylight Saving Time, and it hasn't been updated for the new transition rul...

OtherTime
Mar 8, 2007
Post comments count0
Post likes count0

Just what the world has been wishing for: Surströmming ice cream

Every culture has its strange food that is used to scare away the foreigners. In Sweden, it's surströmming. (Surströmming is even classified as hazardous material by some airlines.) And, you know, when you dig into your plate of surströmming, I bet the first thing that goes through your mind is, "Wow, this would go great with some...

Non-Computer
Mar 8, 2007
Post comments count0
Post likes count0

The GETDISPINFO notifications tell you what information they want

The notifications used by the common controls are used when the control asks its parent to generate information that had been marked as delay-rendered, either explicitly via values such as or implicitly by being an owner-data control, for example. In fact the control is really just the middle man between the code that requested information about...

Code
Mar 7, 2007
Post comments count0
Post likes count0

The wisdom of seventh graders: John Locke and influential persons

My friend the seventh grade teacher was leading the class in a discussion of the most influential persons in history, and after two days of the students collectively deciding whom they would put on the list, my friend revealed the list compiled by the author Michael H. Hart. The students felt bad that their collaborative list didn't match the one ...

Non-ComputerThe wisdom of seventh graders
Mar 7, 2007
Post comments count0
Post likes count0

Microspeak: Sit in it!

The title of this entry is a bad pun on a catchphrase from 1970s television. I apologize to those for whom the 1970s are a bad memory. A snippet of Microspeak that bothers me is the verb phrase "to sit in". Example: "I'm in the Nosebleed group which sits in Bob Smith's organization." I think it means "to be a part of" but I'm not quite sure. Ma...

OtherMicrospeak
Mar 6, 2007
Post comments count0
Post likes count0

What was the first parameter to CoInitialize used for?

Larry Osterman explains in a two-part series, The sad story of CoGetMalloc and Why was the ability to specify an allocator during CoInitialize removed from the system?

History