Archive for May, 2007

Wednesday, May 16th, 2007

VSIP: Detecting code window switches in VS 2005

What Seems Simple, Rarely Is I recently tackled the problem of reliably detecting code window lifecycle changes in Visual Studio 2005 using the VSIP SDK. For something that seems like it should be very straightforward, it wasn’t at all. There’s even a page in the SDK help that tries to describe how to do this [...]

No Comments » - Posted in Programming by

Thursday, May 10th, 2007

do { … } while (false);

Let me share one of my favorite little programming idioms … do { … } while (false); I picked it up from a friend who learned it from a friend, who probably saw it in a book. It may seem like a do-nothing, but it is a very nice low-budget and high performance exception handling [...]

24 Comments » - Posted in Programming by

Tuesday, May 8th, 2007

Thank you TI-99/4A

My parents recently found this photo, taken when I was 10. This is me… It’s the morning of December 25, 1981, and I’d just gotten my first computer, a TI 99/4A. It was fresh out of the box when this picture was taken. Soon after, I hooked up my black and white TV to it, [...]

24 Comments » - Posted in Programming by