Pages:  1 2 3 4 5 6
Lots and lots of tests
  Created - 2013/09/23 21:58:32+0000

When I write code I don't use test driven development. I do write tests. Unit tests and integration tests and tests where I don't bother to make a distinction. I do write plenty of them. This gives be two things: Something to run my code The ability to refactor and know if I changed something I shouldn't have When I write code the first thing to run it are my tests. I don't worry about a test contract, I'm happy to rewrite the code and the test at this point. The tests just tell me w... read more

Why you should love checked exceptions
  Created - 2013/07/06 14:18:25+0000

This week at work I encountered a NullPointerException caused by returning a null value. The return value was not tested and when it was used it threw a NullPointerException. This of course had to happen in patch of bad exception handling. First the bad exception handling. This is what I had to work around first. A method was throwing a couple of checked exceptions with no shared super class before Exception. Some programmer decided to say that it threw Exceptions and the calling method happily caught e... read more

How work cascades
  Created - 2013/06/23 10:08:32+0000

It started when I noticed that the detached signatures of the RDF documents were not correctly linked. There was an extra '/' at the start of the path. I recognized this problem immediately as a mistake in the XML file. The host is described in the XML file as an entity ending with a '/'. The path following on from this also included a '/' so I thought I would taken 10 minutes to fix and release it. Easy, releasing it would be the hardest part. I then noticed that there was dupli... read more

Announcing github
  Created - 2013/05/20 20:24:58+0000

I have opened a new github account, . I intend to use it mainly for work so be sure to check it out (I mean look not clone it, you can clone it).

  Created - 2013/02/17 00:04:02+0000

Furthering my efforts with linked data I have now begun to include RDFa markup on my website. You may have noticed (if you spend time looking at my site's web pages as plain text) that I have changed the doctype. This was one of the bigger problems, the new doctype does not provide many of the entity references I have used throughout the site. I have gone through my site changing them to numeric codes. The markup is mostly generated information about the pages but I have also manually included markup ... read more