Showing archive results for 2008

Apr 14, 2008
Post comments count0
Post likes count1

Why doesn't Explorer let you create a file whose name begins with a dot?

Raymond Chen

Rolf Viehmann asks why Explorer doesn't let you create a file whose name begins with a dot. Such files are considered to have an extension but no name. If the extension is known and the user has chosen to hide known extensions, the resulting file would have no name at all! If you really want to create a file with a leading dot in its name, you a...

Other
Apr 11, 2008
Post comments count0
Post likes count1

We can't cut that; it's our last feature

Raymond Chen

Many years ago, I was asked to help a customer with a problem they were having. I don't remember the details, and they aren't important to the story anyway, but as I was investigating one of their crashes, I started to wonder why they were even doing it. I expressed my concerns to the customer liaison. "Why are they writing this code in the first ...

Other
Apr 10, 2008
Post comments count0
Post likes count1

The dead desktop computer: The good, the bad, and the ugly, but not in that order

Raymond Chen

When last we left my dead desktop computer, it had fried its second video card, and I was considering whether I should get a third. I did indeed get a third video card, a cheap one since I knew that if the computer really did eat video cards, I'd have to feed it on a budget. I plugged it in, and... Computer still dead. Bad. Remove the video car...

OtherDead computers
Apr 9, 2008
Post comments count0
Post likes count1

Use the #error directive to check whether the compiler even sees you

Raymond Chen

You may find yourself in a twisty maze of s. Or you may be wondering why your macros aren't working. I have these lines in my header file: but when I try to use them, I get errors. Any idea why this is happening? First, make sure the compiler even sees you. Notice that for macros, generating a preprocessed file doesn't accomplish anyth...

Code
Apr 8, 2008
Post comments count0
Post likes count0

Over 1500 times the net worth of Bill Gates yet nobody has heard of him

Raymond Chen

Dr. Carlos Alves, owner and president of the Solomao Alves Group (I'm pretty sure there's an accent mark missing, but that's what it says on the site), must be the richest man on the planet: "Company generates annual revenue exceeding $20 billion and owns personal assets valued at $100 trillion." One hundred trillion dollars in personal assets. ...

Non-Computer
Apr 8, 2008
Post comments count0
Post likes count1

I always get scared when I see people trying to organize the Internet into hierarchies

Raymond Chen

I always get scared when I see people propose building neat little "hierarchically organized" taxonomies of something that is, well, a web. I think these are people who get their kicks out of having all their shoes lined up neatly in front of the doorstep, sorted alphabetically by designer. "Hey, let's classify all the blogs so we can have a Micros...

Non-Computer
Apr 7, 2008
Post comments count0
Post likes count0

How to tell which end of the Metro platform to stand on, and other survival tips for the Lisbon subway system

Raymond Chen

The Metropolitano de Lisboa includes an English-language list of tips for riding the Metro. Here are some more tips that all the locals know, but which no guide book tells you. In most subway systems, trains outside of peak hours are not full-length but rather fill only part of the station. In the subway systems I'm familiar with in the United S...

Non-Computer
Apr 4, 2008
Post comments count0
Post likes count0

21: like 24 but three hours shorter

Raymond Chen

When I first heard that a new project titled 21 was coming out, I simply assumed it was the same as 24, except that Jack Bauer gets some sleep. Pre-emptive snarky comment: "Somebody was clearly sleeping when they designed Vista."

Non-Computer