Articles
Things that I've written, mostly about programming
Unit Testing Javabeans
A simple method for using reflection to unit test JavaBean classes with just a single line of code.
An Interview Question for Java Developers
An code review interview question for Java developers
Copy bookmarks between Instapaper, Readability, Pocket, Pinboard, Delicious etc
Copy bookmarks between Instapaper, Readability, Pocket, Pinboard, Delicious, Diigo, GitHub, StackOverflow and Twitter
A Naive Bayesian Classifier in Python
A Python implementation of a Naive Bayesian Classifier
A Markov text generator
A Python implementation of a random text generator that uses a Markov Chain to create almost-realistic sentences.
JavaScript Object Printer
This useful function produces a string containing the names and values of all the properties of an object
Accessing JSP values from JavaScript
Technique for providing safe, easy JavaScript access to data held in JSP variables.
Closures Explained
A simple step-by-step tutorial explaining the concept of Closures using JavaScript.
A Letter from Thinkweb Technologies
A letter I received from some low-life company offering to pay me to include their spyware in the BitMeter 2 installer. I've included the full name and address of the company in case anyone wants to... engage them in an exchange of views
HTML Conditional Comments
A useful technique for separating Internet Explorer CSS rules from those intended for less 'special' browsers.
Virus found in BitMeter! ... not
AVG AntiSpyware is being somewhat over-enthusiastic, and currently classifies the latest BitMeter installer as a Trojan horse
BitMeter on Windows Vista
At first BitMeter looked like it would run with no problems on Windows Vista - then I started getting emails describing strange behaviour, upload/download figures that were way too high...
JavaScript Unit Tests
A simple method for producing robust JavaScript for form validation, or anything else
Two Letter .COM Domains
A grid showing where all the two-letter COM domains have gone.
URL Parsing from Java Servlets
How to access the various parts of a URL from within a Java Servlet
Hotline Nostalgia
Hotline Nostalgia
Send Feedback
Use this form to send feedback, if you want a reply please include your email address!