Showing archive results for 2004

May 28, 2004
Post comments count0
Post likes count1

High-performance multithreading is very hard

Raymond Chen

Among other things, you need to understand weak memory models. Hereby incorporating by reference Brad Abrams' discussion of volatile and MemoryBarrier(). In particular, Vance Morrison's discussion of memory models is important reading. (Though I think Brad is being too pessimistic about volatile. Ensuring release semantics at the stor...

Code
May 27, 2004
Post comments count0
Post likes count0

Meet Anton Chekhov

Raymond Chen

(Not to be confused with Star Trek's Pavel Chekov, who spells his name with a plain "k" instead of a "kh". Of course, since this is all transliteration from Cyrillic, of which there are multiple systems, arguing about spelling is rather dubious anyway.) The guerilla performance group Improv Everywhere stages events in public places a...

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

Art too bad to be ignored

Raymond Chen

The Museum of Bad Art: Art Too Bad To Be Ignored. The Athlete Crayon and pencil on canvas by Unknown 30"x40" Acquired from trash in Boston by Scott Wilson A startling work, and one of the largest crayon on canvas pieces that most people can ever hope to see. The bulging leg muscles, the black shoes, the white socks, the pink toga...

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

How does the desktop choose the icon label color?

Raymond Chen

Many system colors come in pairs, one for background and one for foreground. For example, COLOR_MENU and COLOR_MENUTEXT; COLOR_WINDOW and COLOR_WINDOWTEXT; COLOR_HIGHLIGHT and COLOR_HIGHLIGHTTEXT. More on these colors in a future blog entry. But there is COLOR_DESKTOP and no COLOR_DESKTOPTEXT. How does the desktop choose the icon label co...

Tips/Support
May 25, 2004
Post comments count0
Post likes count1

The F*deral Bur*au of Inv*stigations

Raymond Chen

According to the Chicago Division, Use of the NAME, INITIALS, or SEAL of the F*I is restricted by law and may be used only with written permission of the F*I. Asterisks inserted to avoid being arrested by the F*I for using their name and initials without written permission. (I hope they don't go after me for using their initials...

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

Callback, the safety newsletter for the aviation community

Raymond Chen

Yes the "S" in NASA stands for "Space", but don't forget that the "A" stands for "Aeronautics". One of the programs that I (amateur aviation wannabe) find fascinating is the Aviation Safety Reporting System, where pilots can submit anonymous reports of "stupid things I have done" in order to teach other pilots "Don't do what I did." ...

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

Extending the Internet Explorer context menu

Raymond Chen

In a comment, Darrell Norton asked for a "View in Mozilla" option for Internet Explorer. You can already do this. Internet Explorer's context menu extension mechanism has been in MSDN for years. Let me show you how you can create this extension yourself. First, create the following registry key: Of course, you need to change C:\some\pa...

Code
May 21, 2004
Post comments count0
Post likes count0

You can do anything at zombo.com, anything at all

Raymond Chen

Zombo has been around for many years, and yet I still find it hilarious (requires Flash). I just went back to check, and alas the introduction actually ends. But fortunately, they made it even cooler by having a text-only version. (Still requires sound.)

Non-Computer