Welcome to MSDN Blogs Sign in | Join | Help

March 2006 - Posts

From Bruce Schneier's 'blog , I ran into the following Bugzilla bug report . Paraphrased, the bug reports an information disclosure vulnerability in Firefox apparently caused a couple to break up after she discovered a list of web sites he was visiting Read More...
Brian Valentine may get all his news from the Official Newspaper of the Exchange Windows division (no Brian, I haven't forgotten you abandoned us :)), but I get all my news from Slashdot :) Today, I learned, much to my surprise that I'd been re-orged Read More...
Towards the end of the comments in my last " What's wrong with this code " , hippietim asked why I added a throw() attribute to the destructor of the CCoInitializer. The answer's pretty simple. If you add a throw() attribute around routines that never Read More...
So the answer to my bonus question was too easy, "hippietim" figured it out in the first comment. The problem is that the loop: for (LONG i = 0 ; i < imageCount ; i += 1) { hr = images->item(CComVariant(), CComVariant(i), &image); if (FAILED(hr)) Read More...
So the last " What's wrong with this code " article was dead easy, I knew it was likely that people would find it such. patria found the answer on the 4th comment, and I think that Mike Dimmick put it best: Well, if you're going to use the Resource Acquisition Read More...
This may be the shortest "Bad Code" I've ever done, but it keeps on surprising me how many times I see this problem (people asked me questions about it twice in the past week). // BadCode18.cpp : Defines the entry point for the console application. // Read More...
Well, this year I didn't miss the anniversary of my first blog post . I still can't quite believe it's been two years and over 500 posts (ok, it's only 501, but that's still over 500 :)). My posting rate's dropped as Vista's getting closer to shipping, Read More...
The other day, someone sent an email to an internal mailing list asking about a "typo" in the eventvwr. It seems they noticed a number of events coming from the "bowser" event source, and they were convinced that it had to be a typo. Well, it's not :) Read More...
In which Larry reviews the book "Silence on the Wire" by Michal Zalewski and finds it interesting but lacking. Read More...
Back in January, I wrote about the OOBE of my iRiver H10 player , and I've got another horrid first run story today. Daniel's been pestering us to get DnD Online , and yesterday it arrived. I figured I'd install it for him (to save him the trouble). Man, Read More...
So I've talked a bit about some of the details of the Vista audio architecture, but I figure a picture's worth a bunch of text, so here's a simple version of the audio architecture: This picture is for "shared" mode, I'll talk about exclusive mode in Read More...
Absolutely nothing technical today, just a shout-out to someone I love :). At some point, about 5 or 6 years ago, Valorie decided that it was time for her to go back to school to get her teaching certificate. It turns out that her college courses didn't Read More...
I'm sure I've linked to The Daily WTF , on it Alex Papadimoulis collects egregious programming mistakes and distributes them one per day. This one isn't really that hideous, but I ran into this construct the other day while working on some stuff and it Read More...
One of Raymond 's more endearing features is what he calls "Psychic Debugging", it even made his wikipedia entry (wow, he even has a wikipedia entry, complete with picture :)) There's a variant of Psychic Debugging called "Psychic Perf Analysis". It works Read More...
For the better part of the past 15 years, I've been working on one or another services for the Windows platform (not always services for windows, but always services ON windows). Over that time, I've developed a bag of tricks for working with services, Read More...
 
Page view tracker