Drupal APIs

7 Feb 2009 random

Over the past couple of weeks, I’ve started working on understanding Drupal theming.


Upgrades that (mostly) Work

7 Feb 2009 technology

Recently, I upgrade the version of Drupal that I use for this site – a process that went completely smoothly, to my relief. (Yes, I tried out the upgrade on a test system that mirrored production first, but I always get nervous when tinkering with a production system, even if it’s a tested process).


Using Lambdas as Event Handlers

9 Feb 2009 smart-code

Of all the new features in C# 3.0, Lambda expressions have to be one of my favourites.


Be A Better Developer

10 Feb 2009 professional

Leon Bambrick has an interesting post 8 ways to be a better programmer in 6 minutes. Even if you don’t agree with Leon’s tips, they’re interesting, and thought provoking. In the same spirit, here’s some more tips for you… though some of these might take more than 6 minutes to do.


Struct Weirdness

11 Feb 2009 csharp

Over on StackOverflow, saw an interesting question that taught me something new about C# 3.0.


Listening time

12 Feb 2009 random

Shorter than some, longer than many, my 1 hour commute to and from work each day used to be down time. Over the last three or four years, I’ve found that podcasts are a good way to fill the time. Scott Hanselman has just posted Hanselman’s Super Karate Death Car List of .NET and Software Podcasts and suggested that others do the same … here’s what occupies my commute.


Commenting Fixed

18 Feb 2009 admin

CAPTCHA submission for comments is now fixed, thanks to John and Saleh for bringing the problem to my attention.


Is that an Ad?

18 Feb 2009 random

Am I going crazy? Is that an Advert at the top of my site?


Unit testing with LINQ

18 Feb 2009 testing

At tonight’s meeting of the Wellington .NET User group we had two presentations – one on Linq Syntax from Owen Evans, and one on avoiding Cross Site Scripting attacks from Kirk Jackson. Both presentations were informative and interesting, and I learnt a few new things from each.


Strange Win.Forms behaviour

23 Feb 2009 ux

Here’s a strange piece of behaviour – a puzzle (with a solution) for you.


StyleCop for ReSharper

24 Feb 2009 tools

Now this qualifies as a great idea – integrating the code layout enforcement of StyleCop with the dynamic at-your-fingertips goodness of ReSharper: StyleCop for ReSharper.


Validation and Domain Driven Design

27 Feb 2009 smart-code

I read an interesting blog post today from Justin Etheredge talking about how Validation should be handled in the context of a system using Domain Driven Design principles.