Showing results for February 2009 - The Old New Thing

Feb 27, 2009
0
0

What are your high school language students complaining about today?

Raymond Chen
Raymond Chen

One of my friends is a high school language teacher, and I used to ask her, "So, what are your students complaining about today?" That was back when her school used the traditional "First we learn the personal pronouns, then we learn the present tense of regular verbs, then we learn nouns in nominative case..." grammar-based language acquisition sy...

Non-Computer
Feb 27, 2009
0
0

How does Raymond decide what to post on any particular day?

Raymond Chen
Raymond Chen

Occasionally somebody asks about the timing of an entry I've written and wants to know how far ahead with this blog thing I really am. To give you an idea of how far in advance I write my blog entries, I wrote this particular entry on February 13, 2008. Generally, the articles are published in the order I wrote them; this particular entry ended ...

Non-Computer
Feb 26, 2009
0
0

Pressing a registered hotkey gives you the foreground activation love

Raymond Chen
Raymond Chen

One category of application that people complained about is the application launcher which keys off a hotkey and doesn't get the foreground love. Well, except that windows with registered hotkeys do get the foreground love. After you call the function to register a hotkey, the window manager will send you a message when the user presses tha...

Other
Feb 25, 2009
0
0

Star Trek meets The A-Team

Raymond Chen
Raymond Chen

Rumors swirl that there's a movie version of The A-Team in the works. If they haven't decided on the casting yet, here's an option they may have overlooked: The cast of Star Trek. (I like how in the clips used in the fake trailer, they use one of an episode where Kirk is old. And in Hollywood, making a character older means graying their hair. T...

Non-Computer
Feb 24, 2009
0
0

Rob Cockerham investigates those companies that pay cash for gold

Raymond Chen
Raymond Chen

Rob Cockerham seems to have a lot of spare time, which is great for the rest of us, because he investigates all those things we simply don't have the time for, and then posts the results on his Web site ("The sixth-best website in the world"). Today's highlight is a pair of investigations he performed some time ago which seem to show two sides o...

Non-Computer
Feb 24, 2009
0
0

Email tip: Just because you get answers when you misuse a mailing list doesn’t doesn’t mean you should continue to misuse it

Raymond Chen
Raymond Chen

A few years ago, there was a question on a mailing list for topic X, but the question was about unrelated topic Y. The question was nevertheless answered by the people on the topic X mailing list out of the kindness of their hearts (above and beyond the heart-sourced kindness that powers most mailing lists in the first place). I poin...

Otheremail
Feb 23, 2009
0
0

Why is there no supported way to get the command line of another process?

Raymond Chen
Raymond Chen

Commenter Francisco Moraes wonders whether there is a supported way of getting the command line of another process. Although there are certainly unsupported ways of doing it or ways that work with the assistance of a debugger, there's nothing that is supported for programmatic access to another process's command line, at least nothing provided b...

Code
Feb 20, 2009
0
0

Announcements on the ferry, and hills that grew while I was away

Raymond Chen
Raymond Chen

This weekend is the annual Chilly Hilly bike ride, an early wake-up call to bicyclists in the Seattle area to get their act together and hit the road. Last year, I joined my 2999 closest friends up and down the hills of Bainbridge Island. Unfortunately, the hills had grown taller in the two years since my last ride. There was an announceme...

Non-Computer
Feb 20, 2009
0
0

Foreground activation permission is like love: You can’t steal it, it has to be given to you

Raymond Chen
Raymond Chen

This is the blog entry that acted as the inspiration for the last topic in my 200 PDC talk. When somebody launches a second copy of your single-instance program, you usually want the second copy to send its command line to the first instance (and deal with the current directory somehow), and then you want the first instance to come to the foreg...

Code