Showing results for January 2005 - Page 3 of 4 - The Old New Thing

Jan 11, 2005
0
0

Why doesn't \ autocomplete to all the computers on the network?

Raymond Chen
Raymond Chen

Wes Haggard wishes that \ would autocomplete to all the computers on the network. [Link fixed 10am.] An early beta of Windows 95 actually did something similar to this, showing all the computers on the network when you opened the Network Neighborhood folder. And the feature was quickly killed. Why? Corporations with large networks wer...

History
Jan 10, 2005
0
0

Seattle Snowstorm 2005 (insert swooshy sound effect)

Raymond Chen
Raymond Chen

As others have reported, it snowed here in the Seattle area yesterday. One whopping inch. You'd think that Seattle, which gets snow a few times a year, wouldn't go completely apoplectic the moment the flakes starts falling from the sky. Especially since it all melts away in a few hours anyway. I didn't watch the local news last night, but I sus...

Non-Computer
Jan 10, 2005
0
0

Taskbar notification balloon tips don’t penalize you for being away from the keyboard

Raymond Chen
Raymond Chen

The function is used to do various things, among them, displaying a balloon tip to the user. As discussed in the documentation for the structure, the uTimeout member specifies how long the balloon should be displayed. But what if the user is not at the computer when you display your balloon? After 30 seconds, the balloon will time out, and the...

Code
Jan 10, 2005
0
0

Taskbar notification balloon tips don't penalize you for being away from the keyboard

Raymond Chen
Raymond Chen

The function is used to do various things, among them, displaying a balloon tip to the user. As discussed in the documentation for the structure, the uTimeout member specifies how long the balloon should be displayed. But what if the user is not at the computer when you display your balloon? After 30 seconds, the balloon will time out, and the...

Code
Jan 6, 2005
0
0

A rant against flow control macros

Raymond Chen
Raymond Chen

I try not to rant, but it happens sometimes. This time, I'm ranting on purpose: to complain about macro-izing flow control. No two people use the same macros, and when you see code that uses them you have to go dig through header files to figure out what they do. This is particularly gruesome when you're trying to debug a problem with some cod...

Other
Jan 5, 2005
0
0

You don’t need to run away from home to join the circus

Raymond Chen
Raymond Chen

Last week, I saw a performance of Circus Contraption at The Seattle Center with some friends. We were all left agape by the aerialists as they climbed ropes, hoisted, hung, and balanced themselves high above the ground. I thought back to seeing acrobats as a child at the circus and realized how much more impressive they are as you get older and ...

Non-Computer
Jan 5, 2005
0
0

PulseEvent is fundamentally flawed

Raymond Chen
Raymond Chen

The function releases one thread (or all threads, if manual-reset) which is/are waiting for the pulsed event, then returns the event to the unset state. If no threads happen to be waiting, then the event goes to the unset state without anything happening. And there's the flaw. How do you know whether the thread that you think is waiting on t...

Code
Jan 5, 2005
0
0

You don't need to run away from home to join the circus

Raymond Chen
Raymond Chen

Last week, I saw a performance of Circus Contraption at The Seattle Center with some friends. We were all left agape by the aerialists as they climbed ropes, hoisted, hung, and balanced themselves high above the ground. I thought back to seeing acrobats as a child at the circus and realized how much more impressive they are as you get older and ...

Non-Computer
Jan 4, 2005
0
0

Using fibers to simplify enumerators, part 5: Composition

Raymond Chen
Raymond Chen

Another type of higher-order enumeration is composition, where one enumerator actually combines the results of multiple enumerators. (Everybody knows about derivation, but composition is another powerful concept in object-oriented programming. We've seen it before when building context menus.) In a producer-driven enumerator, you would implemen...

Code