Continuous integration is great, but it’s only as effective as the visibility of the build status. You can use things like email notifications or Hudson Tray Tracker to help increase the visibility, but I wanted something physical that could radiate the current build status. Something everyone could see; even while you’re grabbing a cup of coffee. So, I decided to try and make a traffic light build indicator.
I used to think that writing more comments increased the readability of my code, but I’ve come to realize that comments frequently hurt readability. That might sound a little trollish, but here’s why I think it’s true:
- Comments allow you to stop refactoring prematurely.
- Comments aren’t kept up to date. It’s really easy for this to happen because the association between a comment and the related code is very weak.
- Comments that explain what code is doing are a DRY violation. Your code should do that.
- Frivolous commenting devalues your meaningful comments. Your reader’s attention is a scarce resource – don’t waste it!
So, in my mind, the question really becomes “What is the best way to make this code easier to understand?” Continue Reading ▶
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. In this post I’m going to document my steps creating an EC2 instance and setting up a Jenkins CI server on it. I’ll assume limited familiarity with Amazon EC2, Linux, and Jenkins. Continue Reading ▶
The Trouble with IFrames and Firebug
I’ve been playing around with Windows Phone development quite a bit lately. I’m currently getting ready to submit my first application to the marketplace – “Baby’s First Foods”.
Babies under 1 year old can only eat certain foods depending on their age. Each month new foods become available to the child. It’s hard to keep track of what foods your child is ready for and what foods should be avoided. That’s the problem my app is trying to address.
Continue Reading ▶