Better HN
topnewbestaskshowjobs
Log inSign up

palmr

16 karma · joined Mar 7, 2012 (14y ago) · 4 submissions

Submissions

comment 10y ago · link · parent

The assert_eq!() calls are calls to the assert equals macro: https://doc.rust-lang.org/std/macro.assert_eq!.html

In rust macro functions look like functions but end in a bang(!), it's not using ! to mean negate. http://rustbyexample.com/macros.html

comment 13y ago · link · parent

Cheers for the feedback. I gave up on it quite a while ago but I could revisit it some time and try out some of your ideas.

The main issue was that some browsers render the frames so slowly it was almost impossible. Also, while making it slightly harder to crack with a bot it can be done by merging the frames together and tracking the lightest parts to find the letters which can then be put through OCR.

Also, while making it harder for bots to crack it also makes it significantly harder for people to read, especially people without 20/20 vision which is a major problem.

comment 13y ago · link · parent

I tried making an animated gif CAPTCHA a few years back, relying on persistence of vision (to try and get round the whole screenshot and process botting issue): http://sandbox.palmnet.me.uk/gifcaptcha/index.php

Ended up with roughly 75% correct human responses and 40% correct using a bot. Which are pretty poor stats for both sides of the equation.

comment 14y ago · link · parent

Arc90 Labs had a similar thing around the same time too: http://lab.arc90.com/2009/07/09/hashmask-another-more-secure...