Posts by this author

Jun 26, 2006
Post comments count0
Post likes count0

Look who bought my name

Commenter Pavel Vozenilek noticed that if you type my name into Google, there is only one sponsored link, and it's from Google themselves, inviting you to apply for a job there. (Maybe I should sue. Perhaps I can get a settlement.) When I mentioned this to some other people at Microsoft, they started hunting around to see what sort of ads cam...

Other
Jun 26, 2006
Post comments count0
Post likes count0

Coding in-place tooltips

Today we'll look at how to implement in-place tooltips. These are tooltips that appear when the user hovers the mouse over a string that cannot be displayed in its entirety. The tooltip overlays the partially-displayed text and provides the remainder of the text that had been truncated. The keys to this technique are the notification (which lets ...

Code
Jun 23, 2006
Post comments count0
Post likes count0

The subtle usability considerations of conference nametags

When you go to a conference or some other event where everybody wears a nametag, pay closer attention to the nametag design. There are many subtle usability mistakes that I see far too often. First of all, is your name easy to read? It's called a nametag, after all; the name and affiliation of the wearer should be the most prominent thing on th...

Non-Computer
Jun 22, 2006
Post comments count0
Post likes count0

The continuing phenomenon of size inflation in fast food

Wendy's is getting rid of "Biggie" and "Great Biggie" size drinks and fries from their menu. Oh, they're still offering them, just with a different name. What used to be "Biggie" is now "medium" and what used to be "Great Biggie" is now "large". Even the "small" drink is a massive 20 ounces, or two and a half FDA servings.

Non-Computer
Jun 22, 2006
Post comments count0
Post likes count0

An auto-reset event is just a stupid semaphore

When you create an event with the function, you get to specify whether you want an auto-reset event or a manual-reset event. Manual-reset events are easy to understand: If the event is clear, then a wait on the event is not satisfied. If the event is set, then a wait on the event succeeds. Doesn't matter how many people are waiting for the event;...

Code
Jun 21, 2006
Post comments count0
Post likes count0

It's still not a democracy, but at least other people have noticed, too

I'm glad I'm not the only person to notice that elections for boards of directors are completely rigged so that the nominees always win and there's nothing you can do about it. It appears that the issue was the hot topic in this year's proxy war skirmishes. This year, one company actually called me at home asking me to send in my proxy. I guess...

Non-Computer
Jun 21, 2006
Post comments count0
Post likes count0

Psychic debugging: Understanding DDE initiation

You too can use your psychic powers to debug the following problem: We have a problem with opening documents with our application by double-clicking them in Explorer. What's really strange is that if we connect a debugger to Explorer and set a breakpoint on , then wait a moment after returns, then hit '', then the document opens fine. But if w...

Code
Jun 20, 2006
Post comments count0
Post likes count0

Three-Minute Masterpieces (2006)

The Seattle Times invited its readers to make three-minute movies, and the best were screened at the Seattle International Film Festival. Or you can watch them online.

Non-Computer
Jun 20, 2006
Post comments count0
Post likes count0

A single-instance program is its own denial of service

There are many ways a program can establish itself as a single-instance program; I won't go into them here. But once people head down the path of a single-instance program, they bump into another issue in their security review: Denial of service. We are using a named mutex with a fixed name in order to detect whether another copy of the program is...

Other
Jun 19, 2006
Post comments count0
Post likes count0

Announcements on the ferry, one self-explanatory, one not

While I was riding the ferry last Saturday, there were two announcements made over the public address system. "All crew please report to the Second Mate's office." What were they all doing in the Second Mate's office? Would the whole crew fit into the office? And while all the crew are in the Second Mate's office, who's steering the ferry? The s...

Non-Computer