Implementing a CAPTCHA to prevent comment spam

I’ve been getting hit for a number of months now with comment spam in this blog, and quite frankly it’s really annoying. I put in place a simple validation code that you had to enter that I thought would work, but the posters script (they’re posting in bulk) is obviously reading the validation value from the page and submitting it.

I’ve been meaning to implement a CAPTCHA for some time now, and just started looking a ‘The simple java captcha project’s version – I’ve got it integrated with my system right now, but I ran into a headless mode issue with the Java2d api they are using and running on my Linux server. It looks like there is a post about a patch to get it working on Linux, so I’ll get it working pretty soon. Failing that, someone else has taken the codebase and extended it and fixed some other issues, so this project also might be useful.

Neat script/plugin on dzone.com page

I’ve browsed dzone.com a few times before – they have a good collection of development news headlines and blog entries from around the web, but I only just noticed a rather cool script or plugin they have in their scrollable list of headlines. If you scroll the list down to the very bottom of the page the list refreshes itself dynamically and loads in the next set of headlines to add to the end of the list. Scroll to the bottom again and it adds in the next set of headlines. Very neat.