Showing results for February 2004 - Page 2 of 4 - The Old New Thing

Feb 18, 2004
0
1

Why are RECTs endpoint-exclusive?

Raymond Chen
Raymond Chen

Endpoint-exclusive RECTs and lines are much easier to work with. For example, the width of a rectangle is , and its height is . If rectangles were endpoint-inclusive, then there would be annoying +1's everywhere. End-point exclusive rectangles also scale properly. For example, suppose you have two rectangles (0,0)-(100,100) and (100,100)-(200,20...

History
Feb 17, 2004
0
1

The social skills of a thermonuclear device

Raymond Chen
Raymond Chen

Somebody@somewhere.else described me as having the social skills of a thermonuclear device. I don't remember the incident in question, but I'll have to accept that it happened. I have a very low tolerance for laziness. If you come to me for help, I expect you to have done your homework. (Though I try to scale my expectations to your position. If ...

Non-ComputerThe social skills of a thermonuclear device
Feb 17, 2004
0
1

GetDialogBaseUnits is a crock

Raymond Chen
Raymond Chen

Each dialog can have different base units, so it's meaningless to have a global converter.

Code
Feb 16, 2004
0
2

The arms race between programs and users

Raymond Chen
Raymond Chen

There is a constant struggle between people who write programs and the people who actually use them. For example, you often see questions like, "How do I make my program so the user can't kill it?" Now, imagine if there were a way to do this. Ask yourself, "What would the world be like if this were possible?" Well, then there would be some progra...

History
Feb 16, 2004
0
1

So what's to do in Sweden?

Raymond Chen
Raymond Chen

Here is where Raymond gets to abuse his power as a blogger to get some free travel advice. I will likely travel to Sweden in mid-March, with a whopping total of five months of Swedish under my belt. I'm sure I will embarrass myself horribly, but that's sort of the point, after all. The question is, "So what's to do in Sweden?" I was thinki...

Non-Computer
Feb 14, 2004
0
1

The Seattle Improbable Show (2004)

Raymond Chen
Raymond Chen

An overflow crowd attended The Seattle Improbable Show. It was, as expected, a rollicking good time. Mark Abrahams emceed and gave presentations, one on each of last year's Ig Nobel Prize winners, another chronicling various stages in the development of Project Grizzly. Other speakers were allotted five minutes (strictly and amusingly enforced) t...

Non-Computer
Feb 13, 2004
0
3

Bad version number checks

Raymond Chen
Raymond Chen

Version numbers. Very important. And so many people check them wrong. This is why Windows 95's GetVersion function returned 3.95 instead of 4.0. A lot of code checked the version number like this: Now consider what happens when the version number is reported as 4.0. The major version check passes, but the minor version check fails since 0 is l...

History
Feb 13, 2004
0
1

Stories of going through airport security

Raymond Chen
Raymond Chen

I went through security three times at Seattle-Tacoma International Airport before my flight to Newark. My original flight was cancelled due to inclement weather in Newark, so I get rescheduled onto another flight that arrived three hours later. I thought to myself, "That's strange. Both flights are going to Newark. It's not like the weather in...

Non-Computer
Feb 12, 2004
0
0

Improbable Research comes to Seattle

Raymond Chen
Raymond Chen

The lunatics behind The Annals of Improbable Research and The Ig Nobel Prize will be in Seattle tomorrow night, Feburary 13. The meeting schedule lists the AIR presentation as "8:00PM-10:30PM, Special Event: Annals of Improbable Research (open to all registrants), Sheraton Hotel, Third Floor, Metropolitan Ballroom". The AIR folks said "Open to the ...

Non-Computer