Tidbits @ Kassemi

A collection of opinions, thoughts, tricks and misc. information.

Saturday, June 17, 2006

 

captchas are too much fun

Hey everyone, I've been writing a bit of code at ASPN's Python Cookbook... I figure when I come across something nice for others to know I'll put it somewhere that gets a bit more traffic.

HTML Div parser
Event Scheduler

I was using a more complicated event scheduler, and decided I wanted to simplify it a bit, so that's the product of that. I also can't really avoid the captcha draw, so I started working on a new algorithm just in case people start breaking my old images (which hasn't happened yet, but wouldn't be all that hard). Here's a screenshot:





I'm using psyco because without it they're just too slow, but I've got optimization plans... I'm also going to add either some sort of disguising line, or a randomly shifted grid. I'll run some AI tests against them to see what the best idea would be. Plans to incorporate different colors also exist, but let's be honest: if a system is designed well enough, spammers won't matter to the users, and in the end, if your system can't handle the load placed on it by spammers, it shouldn't be up in the first place, so my fascination with these things is admittedly unfounded.

Have a good one!

James

Comments: Post a Comment



<< Home

Archives

August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   February 2006   March 2006   April 2006   June 2006   July 2006   August 2006   September 2006   October 2006   November 2006  

This page is powered by Blogger. Isn't yours?