Steve Smith's Blog

Musings on Software and the Developer Community

Archives - August 2009

Conway’s Life in WPF

The “Game of Life” was invented in 1970 by John Conway , a British mathematician.  The rules of the game are simple, but the resulting behavior of the system that results is often surprising and in any event difficult to predict.  There’s a great deal of information available online relating...

Conway’s Life in WPF →

Posted on Saturday, August 29 2009         1 Comment

Practice, Code Exercises, and Code Katas

One of the ways we improve as software developers is through practice.  Practice isn’t just something that’s done as you go about your job – it has to be focused on improving your skills.  Practice can take many forms, but two of them include practicing doing something the right way and practicing...

Practice, Code Exercises, and Code Katas →

Posted on Friday, August 28 2009         1 Comment

Iterators, Expressions, and LINQ for Euler

Recently I’ve been doing some Project Euler problems as exercises to help improve my coding skills.  We do this internally at NimblePros periodically and also at last weeks Hudson Software Craftsmanship meeting, which I co-run.  In doing these problems, I’ve been trying to approach them both...

Iterators, Expressions, and LINQ for Euler →

Posted on Thursday, August 27 2009         9 Comments

Code Review – Singleton Pattern Issues

One of my applications relies on a singleton pattern to create a single instance of a server which processes requests from many different ASP.NET handlers.  It is created using pretty much standard Singleton code: public static Context CreateContext() { return CreateContext( new ConfigurationFileSettings...

Code Review – Singleton Pattern Issues →

Posted on Wednesday, August 26 2009         3 Comments

Caching Key Generation Considerations

Recently I was reviewing some code and ran across this – can you spot the problem? var parameters = new List<SqlParameter> { new SqlParameter( "@SomeID" , someId), new SqlParameter( "@SomeOtherID" , someOtherId), new SqlParameter( "@ServerDate" , serverTime) }; string...

Caching Key Generation Considerations →

Posted on Tuesday, August 25 2009         3 Comments

MSDN Subscription Installer

As I write this, I’ve just installed Windows 7 on my development/presentation laptop, and it’s currently installing a bunch of apps using the Web Platform Installer .  If you haven’t tried this tool, you should definitely check it out.  It’s free and easy to use and available here .  Basically...

MSDN Subscription Installer →

Posted on Thursday, August 13 2009         11 Comments

Ad Landing Pages and Customer Conversations

One of Lake Quincy Media’s clients recently wrote to me in response to my previous post about the Principle of Least Surprise and its relationship to online advertising .  Their question revolved around whether it was appropriate in their case to use their company’s home page as the landing page...

Ad Landing Pages and Customer Conversations →

Posted on Wednesday, August 05 2009         4 Comments