Showing tag results for Other

Jul 13, 2009
Post comments count0
Post likes count1

Speculation on how a mishandled 13-character string can result in a blue screen

Raymond Chen
Raymond Chen

Commenter nolan reminisces about an old Windows 95 bug in the networking layer that crashed if a string was exactly 13 characters long. "So for the past 10 years or so, I've been wondering exactly how one could write code with that bug. Any bug that weird has to have a great story behind it." I don't know what the story behind it is, but i...

Other
Jul 7, 2009
Post comments count0
Post likes count1

Command line parsers look at what you typed, not what what you typed looks like

Raymond Chen
Raymond Chen

Command line parsers are stricter than human beings. The computer cares about what you typed. If you type something else that superficially resembles what you want, but is not actually what you want, then you won't get what you want, even though it sure looks like what you want. I covered a special case of this topic earlier when I described sma...

Other
Jun 30, 2009
Post comments count0
Post likes count0

2009 mid-year link clearance

Raymond Chen
Raymond Chen

Time for the semi-annual link clearance. And, as always, the obligatory plug for my column in TechNet Magazine:

Other
Jun 25, 2009
Post comments count0
Post likes count1

First, try reading the error message, episode 2: Even programmers see error messages without reading them

Raymond Chen
Raymond Chen

I will occasionally note that users don't read error messages; they just click Cancel. And the phenomenon isn't just restricted to naïve users. Even programmers ignore error messages. All they see is "Blah blah blah an error occurred." For example, there's this message that appeared on a peer-to-peer discussion group: I tried to submit...

Other
Jun 24, 2009
Post comments count0
Post likes count1

Yet another experiment in motivating people to find and fix bugs

Raymond Chen
Raymond Chen

Everybody has probably heard about some project where management decided to motivate testers and programmers by rewarding testers for finding bugs and programmers for fixing them. In the absence of high ethical standards, this can devolve into the situation known to Dilbert fans as I'm gonna write me a new minivan. I experimented with this idea...

Other
Jun 22, 2009
Post comments count0
Post likes count1

Why does a flashing taskbar result in a fullscreen console returning to windowed mode?

Raymond Chen
Raymond Chen

Commenter Daniel wonders why a flashing taskbar results in a fullscreen console returning to windowed mode. I didn't know the answer to this, but I formulated a guess, and I was ready to just post my guess. (Because everything I write is just conjecture anyway. Informed conjecture, but still.) But I had some time, so I went spelunking through th...

Other
Jun 17, 2009
Post comments count0
Post likes count1

Sure, I can get spurious WM_MOUSEMOVE messages, but why do they keep streaming in?

Raymond Chen
Raymond Chen

I wrote some time ago that the window manager generates spurious messages in order to let programs know that the mouse has entered the window even if the reason was a window hierarchy reshuffle rather than a physical motion of the pointing device. But some people have noticed that that explanation fails to account for all the messages that are ...

Other
Jun 16, 2009
Post comments count0
Post likes count1

Management-speak: Upping the sats and stimulating the ecosystem

Raymond Chen
Raymond Chen

Here's another sentence that's so loaded with buzzwords and buzzphrases I'm not sure what language it's written in. I just want to have creative control over how my audience can interact with me without resorting to complex hacking in a way that is easy to explain but ups our blogging audiences sats to a new level that may also stimulate a devel...

OtherMicrospeak
Jun 11, 2009
Post comments count0
Post likes count5

Why does Explorer use the term KB instead of KiB?

Raymond Chen
Raymond Chen

Although the International Electronic Commission established the term kibibyte for 1024 bytes, with the abbreviation KiB, Windows Explorer continues to use the abbreviation KB. Why doesn't Explorer get with the program? Because nobody else is on the program either. If you look around you, you'll find that nobody (to within experimental error) ...

Other
Jun 10, 2009
Post comments count0
Post likes count0

Foreign languages can be used as a secret code, but it’s not always a good secret code

Raymond Chen
Raymond Chen

Some years ago, I went out to dinner with a group of friends to a Chinese restaurant, and when the check was delivered to the table, one of my friends looked at it and handed it to me. "It appears to be written in some sort of secret code." It was written in Chinese. I pointed out that they probably chose the worst possible code in the world, ...

Other