++ ATOT official NEF thread part IV ++

Page 7917 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Red Squirrel

No Lifer
May 24, 2003
70,778
13,869
126
www.anyf.ca
I have become the very thing I hated. I coded a captcha.

It's for a generic site script that I reuse any time I code a website, so I just keep adding features to it as needed. This is part of the account activation process. It's less of a pita than most captchas though. First off there's no slow fade in crap like the one where you have to pick the squares so you don't have to sit and wait, and two, it's only required after you submitted the account form and clicked the email activation link. So if you get it wrong you don't have to fill in the password each time. This was oddly kind of fun to make. May tweak it over time. No idea how effective it truly is but if I get lot of bots I'll tweak it further. Right now it's rather simple, it generates a bunch of fake codes and scatters them around then it puts the real code on top. There's an algorithm to make sure the colour of the real code is far enough away from the background, and the fake ones are close enough to background. Sometimes you get one that's hard to read or where it's hard to know which is real and fake but can just refresh it. I also made sure letters/numbers that look similar like O and 0 are not part of the possible characters.

Screenshot from 2023-09-18 14-05-54.png
 

Charmonium

Lifer
May 15, 2015
10,582
3,562
136
Happy thought of the day

Fast Facts. Nearly 1 in 3 adults (30.7%) are overweight. More than 2 in 5 adults (42.4%) have obesity. About 1 in 11 adults (9.2%) have severe obesity.

The happy thought is that many diabetes drugs will cause you to lose weight. And no will power needed. You're just not hungry.

I'm sure it won't be long before there are new meds that focus just on the weight loss aspect. And eventually genetic modifications to things like leptin signaling.
 

Red Squirrel

No Lifer
May 24, 2003
70,778
13,869
126
www.anyf.ca
I was curious if I still had a super old database for something in like 2002 and started going through some of my old CDs. Damn, so much nostalgia. I need to sit down some day and go through each one and copy them entirely to my NAS.