Showing results for March 2014 - Page 2 of 3 - The Old New Thing

Mar 19, 2014
0
0

I think this person's monitor is broken: It doesn't know how to render text in capital letters

Raymond Chen
Raymond Chen

Some time ago, somebody asked a question about why, when they do 1 and 2, they get extra thing 3. "The extra 3 is there because of the 456 feature. BUT DO NOT DISABLE THE 456 FEATURE JUST BECAUSE YOU DON'T LIKE 3. The 456 feature is important, because it ensures that 2 runs to completion. Otherwise, you risk data loss." The person wrote...

Other
Mar 18, 2014
0
0

Raymond's highly scientific predictions for the 2014 NCAA men's basketball tournament

Raymond Chen
Raymond Chen

Once again, it's time for Raymond to come up with an absurd, arbitrary criterion for filling out his NCAA bracket. This year, I look at the number of followers of of the basketball team's official Twitter account, or one tenth of the number of followers of the school's athletic department if the school's basketball team does not have its own d...

Non-ComputerHighly scientific
Mar 17, 2014
0
0

How do I show the contents of a directory while respecting the user's preferences for hidden and super-hidden files as well as the user's language preferences?

Raymond Chen
Raymond Chen

A customer was writing a program in (and this is what they said) "32 bit C++ .Net 4.0" which displayed the contents of a directory, and they wanted to filter out items such as hidden files and protected operating system files (also known as super-hidden files) based on the user's current Explorer preferences. Furthermore, they wanted to show local...

Code
Mar 14, 2014
0
0

How do I create an IShellItemArray from a bunch of file paths?

Raymond Chen
Raymond Chen

The interface accepts bulk operations in the form of an . So how do you take a list of file names and convert them into an ? There is no function, but there is a , and we know how to convert a path to an ID list, namely via . So lets snap two blocks together. The template function takes an array of paths and starts by creating a correspon...

Code
Mar 13, 2014
0
0

Why does the Directory.GetFiles method sometimes ignore *.html files when I ask for *.htm?

Raymond Chen
Raymond Chen

The documentation for the method says When using the asterisk wildcard character in a search­Pattern, such as "*.txt", the matching behavior when the extension is exactly three characters long is different than when the extension is more or less than three characters long. A search­Pattern with a file extension of exactly three character...

Code
Mar 12, 2014
0
0

Operations jargon: Internet egress

Raymond Chen
Raymond Chen

As I've noted before, the operations team has their own jargon which superficially resembles English. Some time ago, they sent out a message with the subject A New Internet Egress Path Is Coming. Translation: We're changing the way computers access the Internet. Bonus jargon: traffic on the edge. This does not refer to traffic that is on the ver...

Other
Mar 11, 2014
0
0

On live performances of Star Trek

Raymond Chen
Raymond Chen

Spock's Brain is generally considered to be the worst episode of Star Trek. That may be why in 2009 Mike Carano decided to perform it as a theatrical production. Here is the opening scene, and here's Carano talking about the show's genesis. In the second video, skip ahead to 2:40 to see more clips from the show, or go to 4:35 for the fight scene....

Non-Computer
Mar 11, 2014
0
1

How do I disable zone markers for downloaded files, so that Explorer stops being a nag about running downloaded files and just trusts me to do the right thing?

Raymond Chen
Raymond Chen

My Little Program about manipulating the zone identifier for downloaded files appears to have struck a nerve with commenter Tess, who launched into some sort of diatribe about how Microsoft should stop being a busybody and warning users about opening files that they downloaded. You are welcome to disable the feature if it offends you so. In the ...

Tips/Support
Mar 10, 2014
0
0

Why Johnny can't read music

Raymond Chen
Raymond Chen

In the book He Bear, She Bear, the musical instrument identified as a tuba is clearly a sousaphone. (For those who are wondering what the title has to do with the topic of musical instrument identification: It's a reference to the classic book Why Johnny Can't Read.)

Non-Computer