News for hackers. Stuff that matters.
Re:How not to check the validity of an email address by evincarofautumn on Wednesday September 04, 2013 @03:52AM (#6326195)
> Switching it to use a single properly formatted SQL reduced load times to under a second.

We need you to change it back because the system that scrapes that page is relying on the page load time.

Re:How not to check the validity of an email address by nwh on Wednesday September 04, 2013 @05:02AM (#6326400)
That is, computer running the sign on the front of the store pulls data from here, and you've completely broken it because now the page loads a second time before it can finish drawing the screen. It /needs/ that delay on the HTTP request in order to catch up. A real programmer would have thought of that. Add some loops, sleeps and rands; we can talk about your reckless conduct in the morning.
Re:How not to check the validity of an email address by nnnnni on Wednesday September 04, 2013 @07:54AM (#6326843)
What's worse is when fake delays are put into the code because (stupid) people think that the computer can't possibly be doing a good job if it retrieves the results in under a second. If it's "thinking", it's working well!
Re:How not to check the validity of an email address by pbhjpbhj on Wednesday September 04, 2013 @09:10AM (#6327274)
I thought the fake delays were so the programmer could cash in on doing optimisations at a later date.
Re:How not to check the validity of an email address by kamjam on Wednesday September 04, 2013 @09:56AM (#6327562)
Also, your ads are viewed for more seconds = more revenue
Re:How not to check the validity of an email address by nnnnni on Wednesday September 04, 2013 @05:19PM (#6330572)
Those two things are just added bonuses!
Re:How not to check the validity of an email address by entropic on Wednesday September 04, 2013 @09:30PM (#6331657)
Re:How not to check the validity of an email address by ceejayoz on Wednesday September 04, 2013 @08:32AM (#6327020)
See: banking websites.
Re:How not to check the validity of an email address by jfb on Wednesday September 04, 2013 @12:13PM (#6328528)
Just put a four way Cartesian join in a subselect that gets discarded. All unit tests pass! Ship it!