You’re ordering auto parts online. The order form requires a mandatory phone number. It allows ten digits for the phone number.
You enter your phone number with area code: xxxxxxxxxx
The scripting on the form automatically reformats the phone number to make it “pretty”, like this: (xxx) xxx-xxxx
And then it all goes pear-shaped, because NEXT the field length limiting script kicks in and truncates that to ten characters: (xxx) xxx-
So, you can’t submit your order form without a valid phone number.
And you can’t submit your order form with a valid phone number, because by the time you hit submit, the form has automatically invalidated it.
FAIL.
Tags:
no subject
The article you cite is one that actually makes me feel pretty bitter. "199 out of 200 applicants can't solve simple programming problems." I've contributed code to half a dozen open-source programming projects, I have code in two device drivers in the mainline Linux kernel including the aha154x SCSI driver, I've written multiple entire applications single-handed, I've built entire IT infrastructures from scratch, I've done things "experts in the field" told me couldn't be done¹, I know half a dozen different operating systems, but I can't get a fucking job.
[1] Example: I wanted to have a way to whitelist "problem" addresses in Sendmail and pass them through all subsequent address filtering unchallenged. Since the filters I was using were based on how-to code from Claus Aßmann, I asked him the correct way to do it. He told me "You can't do that, it isn't possible in Sendmail." I had it working the day after he told me it couldn't be done.
no subject
Well, read it. See if you can figure out a plan of attack from it.