Posts by this author

Jan 28, 2004
Post comments count0
Post likes count0

Passenger announcements in the airport

While in Seattle-Tacoma International Airport yesterday, waiting for my flight to eventually be cancelled due to weather, then waiting for a replacement itinerary (um, the weather is the same at the destination; doesn't matter which plane you take), then waiting for the replacement to be cancelled also (wow imagine that), I heard an announcement on...

Non-Computer
Jan 28, 2004
Post comments count0
Post likes count1

Another reason not to do anything scary in your DllMain: Inadvertent deadlock

Your DllMain function runs inside the loader lock, one of the few times the OS lets you run code while one of its internal locks is held. This means that you must be extra careful not to violate a lock hierarchy in your DllMain; otherwise, you are asking for a deadlock. (You do have a lock hierarchy in your DLL, right?) The loader lock is tak...

Code
Jan 27, 2004
Post comments count0
Post likes count0

Undermining your own proclamation

I'm pulling for the Mars rovers as much as the next geek, but you still have to scratch your head at the following statement: Charles Elachi, the JPL director, said: "I am completely confident, without any hesitation, that I think we will get that rover back to full operation." So he's absolutely sure that he "thinks" something.

Non-Computer
Jan 27, 2004
Post comments count0
Post likes count0

Some reasons not to do anything scary in your DllMain

As everybody knows by now, you're not supposed to do anything even remotely interesting in your DllMain function. Oleg Lvovitch has written two very good articles about this, one about how things work, and one about what goes wrong when they don't work. Here's another reason not to do anything remotely interesting in your DllMain: It's common ...

Code
Jan 26, 2004
Post comments count0
Post likes count0

Blog going on autopilot for a while

I will be out of town for a few weeks, so I have set my blog on autopilot. There will still be an article every weekday at 7am Pacific time (assuming the autopilot machine doesn't suffer a power outage or something), but I won't be around (much) to respond to comments.

Other
Jan 26, 2004
Post comments count0
Post likes count0

David Hasselhoff's daughters normal in every way

(Forwarded to me my a friend who is apparently fascinated with David Hasselhoff.) David Hasselhoff says his daughters hate his music and change the channel whenever Knight Rider comes on the TV. Okay, I defended the Germans last week, but this one baffles even me. Do the Germans not realize that David Hasselhoff is a joke? Er war ein unbeudentend...

Non-Computer
Jan 26, 2004
Post comments count0
Post likes count0

The hollow brush

What is the hollow brush for? The hollow brush is a brush that doesn't do anything. You can use it when you're forced to use a brush but you don't want to. As one example, you can use it as your class brush. Then when your program stops responding and Windows decide to do the "white flash" (see yesterday's entry), it grabs the hollow brush and en...

Code
Jan 25, 2004
Post comments count0
Post likes count0

German as RPN

It should be noted that "Reverse Polish Notation" is named in honor of the Polish logician Jan Lukasiewicz, who developed prefix notation, wherein the operator comes before the operands. Postfix notation proved more useful for stack-based arithmetic computations, and so the opposite of prefix notation came to be known as "Reverse Polish Notation"....

Non-Computer
Jan 24, 2004
Post comments count0
Post likes count0

In defense of the German language

What we lose in inflectional complexity we gain in word order uniformity.

Non-Computer
Jan 23, 2004
Post comments count0
Post likes count0

German, the language of love?

Love lures French kids to German: Come and learn German - a language of love! Hundreds of advertisements in France this week will promote the unusual message to try to woo teenagers to a language they often consider difficult and ugly. "Language is the key to understand a partner, his culture, working manners and lifestyle," [Frenc...

Non-Computer