Monthly Archives: May 2005

Obfuscation as a learning tool

A couple of days ago I posted an obfuscation that solves sudoku puzzles in four lines of Perl. To compress the code down to this level required quite a few dirty little tricks which would have no place in production … Continue reading

Posted in Uncategorized | Leave a comment

Sudoku solver in four lines

Slightly silly perhaps but I thought it would be fun to write a piece of code to solve these sudoku puzzles that keep popping up. As that appeared to be trivial I decided to see if it could be done … Continue reading

Posted in Uncategorized | 1 Comment

Seats are not votes

I have always suspected that elections that rely on the first past the post system are not really fair and that it is the little parties that lose out. However it would appear that not only do the little ones … Continue reading

Posted in Uncategorized | Leave a comment

Zap goes my modem

Although everyone gets warned about it no one really appears to take lightning strike seriously. However it does happen. Saturday night brought us a huge thunder storm that rolled around for about an hour. One strike in particular was very … Continue reading

Posted in Uncategorized | Leave a comment