BPsite Forums
April 24, 2024, 04:46:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: BPSITE FOREVER!
 
   Home   Help Search Members Login Register  
Pages: [1] 2
  Print  
Author Topic: The Captcha  (Read 15369 times)
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« on: January 30, 2007, 12:31:15 PM »


I've just finished a code-a-thon; the really hard stuff's all done now.  Cheesy  (Hashes are a real pain to work with in any non-trivial manner, and this thing relies on loads of them.)

Remaining tasks:
Add an aesthetic interface;
Find, crop and add more pretty pictures (surprisingly tedious after a while);
Add some sort of IP banning (not that it's needed really, as they won't be trying to force it.  I could theoretically stop them with a well-placed game of noughts-and-crosses, but that's not the point);
Fiddle with Invision to integrate the scripts, and make sure that they can't be bypassed in any way.
Finally, give the lot to SS for approval and upload.

Just felt like letting you know.  :alien:
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #1 on: January 31, 2007, 12:58:33 AM »

Good work! Cheesy

So, can we expect it completed by 9am tomorrow and if not why not you lazy bastard! Wink
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
Louise
Sr. Member
****
Offline Offline

Posts: 256



View Profile WWW
« Reply #2 on: January 31, 2007, 04:15:13 PM »

Don't worry, he'll have it done.  :rolleyes:


*gets her special little smilie out that she keeps in reserve for just such occasions*

« Last Edit: January 31, 2007, 04:16:06 PM by Louise » Logged

If my lack of signature worries you, please feel free to imagine it as saying some amusing, pleasantly witty and intelligent phrase.
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #3 on: January 31, 2007, 08:19:24 PM »


You can do the images, then.  If I never see another radish it'll be too soon.  :miffed:

And this is a public forum, try to keep it vanilla. Tongue
« Last Edit: January 31, 2007, 08:20:41 PM by Hornet » Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #4 on: February 01, 2007, 12:20:28 AM »

:blink:  :miffed:  
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
Galmort
Hero Member
*****
Offline Offline

Posts: 2307


View Profile
« Reply #5 on: February 01, 2007, 04:08:21 AM »

Quote
Good work! Cheesy

So, can we expect it completed by 9am tomorrow and if not why not you lazy bastard! Wink
yea, that would be a first for this forum...nobody ever slacks around here, so shape up
Logged
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #6 on: February 01, 2007, 08:54:50 AM »

Quote
:blink:  :miffed:

The user has to identify the two matching fruit/vegetables, remember?  Actually, I'm not sure if I did mention it, but I have now.

I've now found all of the needed images, and IP banning's done.  I've also done half of the bypass prevention stuff, so obviously the other half remains, and I need to finish cropping and categorising the images.  Then it's just a case of wrapping the lot in HTML, tying it with a bow of CSS, and delivering it to SS. Smiley
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
mole
Mods
Hero Member
*****
Offline Offline

Posts: 10763



View Profile WWW
« Reply #7 on: February 01, 2007, 11:26:10 AM »

so theres none of those bloody word things? i hate those, forget spam bots i cant do them
Logged

Quote
Yiff Hunter says:
and the last question do u get a sudden eye twicth and shudder wen i say :

CLEAN?
RipperRoo says:
yes
Yiff Hunter says:
rite ive declared u imorally peasant like
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #8 on: February 01, 2007, 03:54:12 PM »


Indeed. Smiley  Some OCR stuff can even read ones that humans can't.  Picture recognition is much harder, as there are no set points of reference.  Although as said, as they won't be specifically trying to break it, as long as there's something in the way it'll thwart them.  I'm making it bulletproof just for the heck of it.
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
Rug
Moderator
Hero Member
*****
Offline Offline

Posts: 9126


View Profile
« Reply #9 on: February 21, 2007, 02:35:26 AM »

Mind finishing it? =p.
Logged
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #10 on: February 21, 2007, 03:16:28 AM »


Fef.  I'm working on a paid site at the moment, which is sucking up most of my 'spare' time.  But I have about an hour before I collapse, so why not.
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #11 on: February 22, 2007, 06:40:22 PM »


There we go - the images are _finally_ done.  I'll put them into The Array later on, which'll mean an unhealthy amount of numbingly repetitive typing.  :crazy:

I've made something of a U-turn with the hashing; it slows things down too much when The Array has a decent number of images in it.  So that's a load of coding wasted, although I did deduce a rather useful timesaver to make debugging anything with hashes a lot easier in future.

Should be finished tonight or tomorrow morning, unless something combusts.  :cool:
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
smi256
Hero Member
*****
Offline Offline

Posts: 2287



View Profile
« Reply #12 on: February 22, 2007, 10:22:10 PM »

/me is in anticipation
This sounds really cool.  Remember though, one of my favorite things to do when repetitive typing comes into play, is to write a script to write it for me.  
/me is a lazy punk  Smiley

 :sheep:
/me goes back to his coding HW
stupid converting Java in C assignments  <_<  
Logged

*was here
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #13 on: February 23, 2007, 12:00:07 AM »


Heh.  I remember writing a Word Macro ages ago to change the extension of all of the files in a directory.  As VBA has useless file support I used sendkeys to do the job, sending things like alt+tab, tab & F2.  You could sit down and actually watch the thing working, at a rate of about two files a second. Smiley

Sadly, it's not possible to shortcut this, as the images need to be put into a different part of the array depending on what they actually are.  Although... as the names are uniform now (...thanks to much, much typing. Grr...), it might actually be quicker to just strip the extension and number from the name to find the category, and print out something useful like TheArray[][$FoundCategory] = $Origfilename; - which'll save a fair while, hopefully.  Cheers. Smiley
« Last Edit: February 23, 2007, 12:01:57 AM by Hornet » Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #14 on: February 28, 2007, 01:24:38 AM »


For the curious, it's been finished for a few days now - SS and myself are battling with Invision's demented innards, and the oddness of Windows vs. Nix filesystems.  Hopefully it'll be working again before too long.  :cool:  
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!