Showing results for 2007 - Page 2 of 46 - The Old New Thing

Dec 21, 2007
0
0

Management-speak: Norming around mechanisms

Raymond Chen
Raymond Chen

This is the entire text of an actual piece of email I received from a high-level manager in response to some feedback I sent. Thanks. There is a lot of norming around any of these mechanisms as well as a certain amount of ability to hold ones ground in these interactions in addition to the admin of the rule being good enough as discussed. Bo...

Non-ComputerMicrospeak
Dec 20, 2007
0
0

'Tis the season for top ten lists, and manipulation of top ten lists

Raymond Chen
Raymond Chen

A few years ago, Marketplace radio reported on the sub-industry of top ten lists, specifically the lists intended to be used as gift guides. Marketing companies drool over these lists, since placement on them can mean a tremendous boost in sales, and they're anxious to do whatever it takes to get on the list. For example, The Da Vinci Code was a r...

Non-Computer
Dec 20, 2007
0
0

Consequences of the scheduling algorithm: Low priority threads can take 100% CPU

Raymond Chen
Raymond Chen

I see variations on this question occasionally. "Why is my low priority thread consuming 100% CPU?" Setting a thread to low priority doesn't mean that it won't consume lots of CPU. It just means that it doesn't get to run as long as there is a higher-priority thread ready to run. But if there is a CPU looking for something to do, and there is no h...

Code
Dec 19, 2007
0
0

How do I mark a shortcut file as requiring elevation?

Raymond Chen
Raymond Chen

Specifying whether elevation is required is typically something that is the responsibility of the program. This is done by adding a element to your manifest. (Bart De Smet shows you how. Calvin Hsia does the same for your Visual FoxPro programs.) But if the program you're running doesn't have such a manifest—maybe it's an old program that...

Code
Dec 18, 2007
0
0

Book review: Advanced Windows Debugging (Mario Hewardt and Daniel Pravat)

Raymond Chen
Raymond Chen

Ever so often, somebody sends me a book, and most of the time I glance through it and say, "Eh." But not this time. Advanced Windows Debugging will make you the envy of your friends (if your friends are computer nerds). Even the section with the "Oh come on every moron knows this already" title Basic Debugger Tasks has stuff that I didn't know. ...

Other
Dec 18, 2007
0
0

Not every first-chance exception is a security vulnerability

Raymond Chen
Raymond Chen

In the category of dubious vulnerability, I submit the following (paraphrased) report: If I call the function, I can cause a buffer overflow exception if I provide an insertion that is more than 2000 characters long. The function in Windows NT, 2000 and XP used the dynamically expanding buffer technique to allocate memory for the re...

Other
Dec 17, 2007
0
0

Wall Street bonus season's trickle-down

Raymond Chen
Raymond Chen

Marketplace covers the businesses who are indirect beneficiaries of the Wall Street bonus season. Ted Fisher, who sells custom-tailored clothing, sees 35 to 40% of his business come in during the three months of bonus season. I suspect business near Redmond are similarly affected by Microsoft review season, though perhaps not as much now as befo...

Non-Computer
Dec 14, 2007
0
0

Unwittingly enveloped in the Santarchy

Raymond Chen
Raymond Chen

Last Saturday, my friends and I were heading for a subway station in Brooklyn and found ourselves behind a man and a woman both dressed in Santa Claus outfits. They were kind enough to wave us onto the train with a "hurry, hurry!", and we made it on board just as the subway doors closed. And then we discovered that we were on a subway train fille...

Non-Computer
Dec 14, 2007
0
0

The compatibility constraints of your side effects: Beeping

Raymond Chen
Raymond Chen

Why does the Welcome screen beep if you hit the space bar after the computer has finished starting up? For compatibility with a side effect of the Windows XP Welcome screen. A beta tester asked us why we removed the beeps that were generated if you started typing at the Welcome screen after the computer finished starting up. Well, we didn't ...

Other