Author Archives

You must watch this right away.

Really. Dr. Horrible’s Sing-Along BlogAwesome. Watch now. Thanks.

Reverse a dictionary

Have you ever wished your dictionary of <K,V> was in fact of <V,K>? I might be the last person to figure this out, but with LINQ (and a couple lambdas) you can do this with one magical line of code:

var newDict = oldDict.ToDictionary(l => l.Value, l => l.Key);

Neat, eh?

I hate Subversion

I really really hate it. Every time I try to do anything USEFUL with it, like try out an idea in a new branch and then merge the bits of that branch that worked out back to my main line, it barfs all over me with totally crap-ass error messages that nobody could ever, EVER [...]

Become a Jedi with Resharper

If you work in C# or VB.net on a regular basis, you really owe it to yourself to try out Resharper. This tool saves me countless hours. James Kovacs put together some fantastic screencasts on “Becoming a Jedi” that show it in action, if you are curious. He hasn’t covered the features that make it [...]

Order of operations

Sometimes I can be such a buffoon. When programming with threads, one must be sure to lock and unlock in the correct order. Also, one must be sure not to do things explicitly marked as no-nos while in a “critical section.”I just lost two hours to this, so I felt the need to whine.

Fictional Writings

And I mean writing that doesn’t exist, not writing about things that don’t exist.

So I’m working on what feels like a novel, perhaps of slightly shorter than what would be considered a big book, but not so short as to not fall into the novel category. It also seems to want to be a young [...]

Posting…

Rab is making me start posting regularly. Rather, he had one of his blog secretaries inform me I would be posting regularly. He has secretaries to do his typing, and he doesn’t even post regularly!

On programming for fun.

I wonder if it is the nature of the beast that when someone does something for a living day in and day out, it stops being fun. I’m starting to worry that may be the case with me.

Why am I bringing this up? One reason is due to watching my friend Rab having fun with [...]

New site!

Isn’t is nifty? After a dozen years, I’ve finally updated my personal site to something more modern. Maybe I’ll even keep this blog up! That would amaze and astonish.

Patch, patch, patch!

Microsoft has released a record number of patches many of which are of the most critical variety. Please, please, please! Update your system(s) now! Don’t get bitten.