News for hackers. Stuff that matters.
Re:Bumper Sticker Computer Science (1985) [pdf] by reaperducer on Sunday August 19, 2018 @12:30PM (#17794918)
It's amazing that 33 years later, nearly all of these still apply. And nearly all are mistakes that are still being made.

Theses gems stuck out for me:

Eighty percent of all input forms ask questions they have no business asking.

A procedure should fit on a page.

And especially: Don’t make the user provide information that the system already knows.

This happens all the time, especially in e-commerce. And even moreso in paper form. For example, every time I go to a new doctor, I have to fill out 15 forms and 15 times I have to write down my name, address, SSN, insurance id, etc... Why can't the doctor's office, which already knows all of that, just print out 15 forms with all of that pre-populated?

Somewhat related: We build so many input forms demanding people provide data to the computer in a form that the computer can immediately read. The computer should work for the user, not the other way around.

Example: The FCC's Do Not Call web site has notes on its input fields that phone numbers have to be entered as numbers only. No dashes, parentheses, etc... How about the web site take whatever is input and strip out anything that's not a number? So basic, but I see this all the time.

Re:Bumper Sticker Computer Science (1985) [pdf] by sgt101 on Sunday August 19, 2018 @03:35PM (#17795808)
Don’t make the user provide information that the system already knows.... well, in several systems that I've worked on we "knew" several different versions of the information we were asking from the user. The question was : what did the user think right now. Truth... that's a different thing!
Re:Bumper Sticker Computer Science (1985) [pdf] by cpeterso on Sunday August 19, 2018 @05:40PM (#17796326)
In that case, you could present all known versions and ask the user to simply select one instead of re-entering redundant information. Amazon, for example, remembers multiple mailing addresses and let's you select one (or enter a new address) when placing a new order.
Re:Bumper Sticker Computer Science (1985) [pdf] by kamaal on Sunday August 19, 2018 @12:35PM (#17794946)
>>Why can't the doctor's office, which already knows all of that, just print out 15 forms with all of that pre-populated?

Which brings us the principle:

Never ask a question whose answer you already know

If you know the answer already, why does the question exist on a form?

Re:Bumper Sticker Computer Science (1985) [pdf] by dasil003 on Sunday August 19, 2018 @07:34PM (#17796825)
Because you don't know it for everyone.
Re:Bumper Sticker Computer Science (1985) [pdf] by davvolun on Monday August 20, 2018 @05:10PM (#17804002)
The medical thing is an interesting cross-over though -- if a nurse walks into your hospital room because your name is on the outside and administers an injection that kills you because you were accidentally put in the wrong room, whose fault is that?

For the CS/programming side of it -- do you really know what you think you know? A smart form should let you put in house address and ZIP and look up the rest, but frequently developers think they know more than they actually do, and it's not a bad idea to have the user confirm or possibly override the information. Depends on the situation, really.

https://www.sharecare.com/health/managing-your-health-care/w...

Re:Bumper Sticker Computer Science (1985) [pdf] by Casseres on Sunday August 19, 2018 @07:35PM (#17796828)
> every time I go to a new doctor, I have to fill out 15 forms and 15 times I have to write down my ... SSN

No you do not.

Anecdotal: I always leave that field blank and have never been asked for it.

Anyone can ask you for anything, anywhere. It doesn't mean they actually need it, or that you have to give it to them.

Re:Bumper Sticker Computer Science (1985) [pdf] by otp124 on Sunday August 19, 2018 @07:44PM (#17796855)
I 100% agree.

I went to a dealer to buy a car in cash (well, a cashier's check). They had a touch-screen computer with all their forms for me to fill out. It came to a credit approval/application form, and I refused to fill it out because I wasn't opening a loan. The lady assured me it was "standard" and that it wouldn't be used for anything, because I didn't need the loan/credit. I kept refusing, and she kept insisting they only needed it because the software required it to continue. After this impasse, I stood to walk out, and she suddenly changed her tune and somehow "figured out" how to bypass the form. Classy.

Re:Bumper Sticker Computer Science (1985) [pdf] by lscotte on Sunday August 19, 2018 @09:39PM (#17797229)
Even if you pay cash, a dealer may require a credit check, however you have no obligation to provide any financial details. I think they just want to make sure your credit is good enough for some proxy that your check is good. I've also heard it's for identity purposes. Also, this all might vary by state laws, too...
Re:Bumper Sticker Computer Science (1985) [pdf] by niij on Monday August 20, 2018 @04:46PM (#17803798)
> some proxy that your check is good

That's why they had a cashier's check and not a personal check.

Re:Bumper Sticker Computer Science (1985) [pdf] by exikyut on Sunday August 19, 2018 @08:13PM (#17796946)
Hmm. I wonder if shady car dealers have ever abused approval of that form. That would be interesting to find out about.

Because, considering it sounds like you bought the car outright, there's absolutely no reason for that form to need signing.

Re:Bumper Sticker Computer Science (1985) [pdf] by mifreewil on Monday August 20, 2018 @05:00AM (#17798528)
Fun fact: Car dealerships are actually considered financial institutions under FinCEN regulations. Depending on the cost of the car/cash amount, they may need your SSN for reporting purposes.
Re:Bumper Sticker Computer Science (1985) [pdf] by Casseres on Monday August 20, 2018 @05:14AM (#17798585)
No, they still do not. Banks don't even need your SSN...

> You are not required to have a social security number to open a checking or savings account.

Source: https://www.consumerfinance.gov/ask-cfpb/can-i-get-a-checkin...

Re:Bumper Sticker Computer Science (1985) [pdf] by mifreewil on Tuesday August 21, 2018 @07:18AM (#17808624)
“To open a checking or savings account, the bank or credit union will need to verify your name, date of birth, address, and ID number. An ID number can be a social security number or an Individual Taxpayer Identification Number (ITIN).“

Having spent more than a few years in FinTech, I know these things can vary from company to company as companies generally are required to design their own “risk-based” policies for AML and KYC.

Re:Bumper Sticker Computer Science (1985) [pdf] by Casseres on Tuesday August 21, 2018 @06:20PM (#17814357)
"can be" not "must be". Driver License number or just about anything else is legal, it's just up to the bank whether or not they want to accept it.
Re:Bumper Sticker Computer Science (1985) [pdf] by mehrdadn on Sunday August 19, 2018 @10:35PM (#17797379)
What do you do if they say you have to fill it out? I realize it hasn't happened in your case, but it very well can to someone else.
Re:Bumper Sticker Computer Science (1985) [pdf] by Casseres on Monday August 20, 2018 @05:19AM (#17798603)
Tell them that I'm undocumented and paying with cash?

(I'm not undocumented, but I imagine they see that enough which is why they don't bother saying anything when I leave it blank.)

I'm pretty sure they just want your SSN for collections/credit-reporting purposes.

Re:Bumper Sticker Computer Science (1985) [pdf] by Sandword on Sunday August 19, 2018 @03:29PM (#17795787)
I don't know the law in the US, but here your medical information is private so they legally aren't allowed to give it to others
Re:Bumper Sticker Computer Science (1985) [pdf] by paulie_a on Sunday August 19, 2018 @11:56PM (#17797615)
Yet it happens, while this anecdotal. I know of a married couple that broke HIPPA and actively admitted they will be doing so. One was a pharmacist one was a doctor and it involved a couple of patients and herpes. I barely knew then and I should not have heard the information. They definitely should not have shared it even as husband and wife.
Re:Bumper Sticker Computer Science (1985) [pdf] by speedkills on Monday August 20, 2018 @09:03AM (#17799550)
Every single time I wonder, why not ask me for zip first then lookup city and state if possible.
Re:Bumper Sticker Computer Science (1985) [pdf] by fit2rule on Wednesday August 22, 2018 @03:58PM (#17821603)
In the 80's I made a database routine to do just this - take a zip and turn it into a city - and as well, to go the other direction. I sold it to another software company for a rather fat amount of cash, and they used it to make their production-line data entry 80% faster. In the cases where it failed and produced wrong results, it was cheaper for them to ship me the dud records for correction in the database than it was to go back to the old way.

Yet still, today, its a very rarely encountered technique. I wonder if so much has changed in the Zip+4 world to make it an efficiency sink...

Re:Bumper Sticker Computer Science (1985) [pdf] by whamlastxmas on Monday August 20, 2018 @03:27PM (#17803057)
I wouldn't personally trust whatever service provides this lookup to be 100% accurate, especially because there's so many weird edge cases with addresses. If the user gets it wrong, at least it's their fault and not mine.
Re:Bumper Sticker Computer Science (1985) [pdf] by sonofblah on Sunday August 19, 2018 @03:21PM (#17795745)
Healthcare is an abomination. If the will existed, the situation could be radically different, but it never seems to change. "Obamacare" was just another (effective) tax increase in disguise, like adding the fees for a new thing, but never actually changing the thing itself. Sheeple one and all.

Backwards paper systems serving the moneyed interests.