Archive for April, 2008

Finally: the perfect CAPTCHA

Posted on Tuesday, 2008-04-22 by Jan

CAPTCHAs: these warped images you have to copy text out of in order to submit comments on an ever-growing number of websites.

The warped image approach has a number of serious flaws. Firstly, there is a strong correlation between the difficulty bots have with extracting the code from the image and the difficulty humans have with extracting the code from the image. In some cases, I hear it’s actually easier for machines than it is for humans.

Secondly, blind people and people without graphical output on their computers are automatically banned from your CAPTCHA-protected system. Bad.

A different approach is needed. Text-based CAPTCHAs, however, would likely require a knowledge base that challenges are generated from, and due to technical limitations, that knowledge base would probably be finite. A finite knowledge base means that it can probably be inferred from a decent number of challenges.

Some other approaches, such as Hashcash-style challenges, require that the user’s computer solves a difficult mathematical problem which ensures that it will be busy for quite a while until the correct solution is obtained (and the challenge can thus be passed). Again, this results in problems with accessibility.

Luckily, there is an alternative family of approaches that make spamming absolutely infeasible without causing any of the typical accessibility issues. As you know, spamming only pays off due to the ludicrously large number of places you can put your advertisements. Were said places to implement a disincentive to placing a large number of ads, spam would instantly leave them alone.

Enter the disincentive-based solution: ccCAPTCHA. Developed by myself, it works by charging commenters a certain monetary value. All the user has to do is supply their credit card number. You can now test ccCAPTCHA online at my ccCAPTCHA prototype site. On that page, I’m also making the technical parts of ccCAPTCHA available to other interested webmasters. And it’s all for free!

You’re welcome.

Bookmark and Share

My first take on the “Album A Day” challenge

Posted on Sunday, 2008-04-20 by Jan

Tom7, also known as Tom Murphy VII, has been challenging musicians to create an entire album in 24 hours. Consecutive hours, that is. In other words, this challenge is an excellent source of sleep deprivation and a great way to avoid doing things I ought to be doing instead. So I thought to myself: one day I simply must give this a try. That day was today (and yesterday). I proudly present my first Album-A-Day: You Vs. The Others. Read the full post »

Bookmark and Share

Today’s glance at reddit.com yielded a blog posting by a fellow who calls himself “Poromenos” and who recently wasted his day by designing a function made up of sines and cosines that encode the string “Hello world!”. “Hey”, I immediately thought, “I can do that too! I’m an expert at wasting my day, after all.” Only I decided to go a step further and write a program that generates this sort of function. I’m lazy, remember? Read the full post »

Bookmark and Share