The Old New Thing

Defense in depth means that you protect against exploits that don’t exist yet

Defense in depth is about protecting against threats that are already being protected against, just in case the existing protection fails. This is why there is not merely a lock on your safety deposit box, but also a lock on the door to the safety deposit box room, and then a lock on the doors of the bank itself. This is why you wear your seat...

You can’t globally reserve screen space; you can put up signs, but if somebody ignores the sign you’ll have to decide how to respond

A customer sent the following question with the rather unhelpful subject line Need Help. They're not just looking for help; they're looking for Help with a capital H. We want to make something like an appbar, but without some of the limitations of appbars. For example, like an appbar, we want applications to avoid using the edge of the ...

Raymond’s highly scientific predictions for the 2009 NCAA men’s basketball tournament

Once again, it's time for Raymond to come up with an absurd, arbitrary criterion for filling out his NCAA bracket. This year, the criterion is the school's graduation rate for basketball players. Lower graduation rate wins. However, if the teams are seeded 11 or more positions apart, I'll give the win to the favorite (just to get rid of ...

Overheard conversation fragment: Shrimp is not vegetables

I walked past a woman in the grocery store who was talking on her mobile phone. I only caught one sentence. She said, in an annoyed voice, "Shrimp is not vegetables." (Then again, purple is a fruit, so anything's possible.) Update: manicmarc correctly deduced that the tone and body language of the person on the phone indicated that her ...

Why does the MoveWindow function let you suppress repainting?

Commenter Phil Quirk asks via the suggestion box why the function lets you suppress repainting. "Shouldn't the OS be able to figure out if the window needs to be repainted?" Indeed the window manager does do a very nice job of figuring it out if you pass , which is the expected value of the parameter. But if you think you're smarter than ...

Raymond rewrites newspaper headlines, episode 2

The local community newspaper featured a color photograph of a twelve-year-old student holding a bright orange safety flag while another student crosses the street in front of him. The caption reads as follows: XYZ School 6th-grader John Doe, at right, will be honored Friday night at Safeco Field as one of the state's top safety patrol ...

The perilous quandary of including external drivers on the Windows CD

(Technically, it's probably more a dilemma than a quandary, but I like the phrase perilous quandary.) Driver coverage is always a sticking point for Windows deployments. If the Windows CD doesn't include a driver for your particular hardware, you're probably going to say, "Windows sucks. I installed the latest version on my machine and ...