Live data from Hacker News

My last name makes me invisible to Computers (2015)

wired.com

81–90 of 140 posts

Re: My last name makes me invisible to Computers (2015)

#81
post #37
post #2

I have seen apps that choke on much more common names. Like O'Brian. This post is a classic on various name issues: http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...

Dutch names (two or three word surnames with spaces) confuse all sorts of systems/people.

Many years ago computer systems analyzed my last name, which are two seperate words, as me being married. I got quite some snail mail calling me Mrs. [2nd part of last name] for some weird reason.

Re: My last name makes me invisible to Computers (2015)

#84
I'm trying to think how this would be a problem and it wouldn't directly be a issue created by company but could be a issue in companies we deal with passing around large databases of different types on people in America. It's common we have to deal with a pipe delimited set of large data and after loading it I'm sure my boss could see last name null in MySQL and go "let's delete all "null" names.

Re: My last name makes me invisible to Computers (2015)

#85

I've been programming for over a quarter century, and I feel pretty confident that I've never written anything that could confuse 'null' with NULL. I can't even think of a language that would let you easily do this. If web forms aren't accepting NULL, then somebody probably specifically programmed the word 'null' into a filter of disallowed entries. Probably to stop clerks from entering the word 'null' to mean empty…

YAML does this.

It's one of the reasons I wrote a pared down 'dumb' YAML parser that assumes scalar values are strings unless directed otherwise: https://github.com/crdoconnor/strictyaml

Re: My last name makes me invisible to Computers (2015)

#86
post #13

Earlier quoted context omitted.

Javascript lets you do it if you use the equality (==) instead of the identity (===).. i think.

Nope. Not even JavaScript screws this one up. You've got to be doing something stupid with strings to get tripped up by "Null".

Imagine a protocol that uses xml.... there's a few out. There are no quotes so null as a string will look exactly the same as A NULL value.

Re: My last name makes me invisible to Computers (2015)

#87
post #13

Earlier quoted context omitted.

Javascript lets you do it if you use the equality (==) instead of the identity (===).. i think.

Nope. Not even JavaScript screws this one up. You've got to be doing something stupid with strings to get tripped up by "Null".

Given that the entire protocol of the web (html and http) is string-based, that's not very unlikely.

Re: My last name makes me invisible to Computers (2015)

#88

I've been programming for over a quarter century, and I feel pretty confident that I've never written anything that could confuse 'null' with NULL. I can't even think of a language that would let you easily do this. If web forms aren't accepting NULL, then somebody probably specifically programmed the word 'null' into a filter of disallowed entries. Probably to stop clerks from entering the word 'null' to mean empty…

I can only see that happen if eval was ever used.

Eval used to be used a lot, because web forms send everything as strings and you need to convert them to whatever datatypes on the back end. Eval probably permeates a lot of older legacy systems.

Re: My last name makes me invisible to Computers (2015)

#89
post #8

Earlier quoted context omitted.

Oh, let me tell you about the saga of Mr Curl trying to update his billing information at a company I used to work for...

I don't understand. Are you agreeing with me or suggesting a string with the contents "curl" will somehow cause the server to execute the curl command?

Yep, it might if it was ever passed to eval()

Re: My last name makes me invisible to Computers (2015)

#90

Earlier quoted context omitted.

Tangentially related (rule 9); my girlfriend's surname contains an 'é'. I have yet to see a year go by without receiving mail having 'é' on the address label where the é should be. Explanation: echo "é" | iconv -t utf8 -f iso8859-15 We're Dutch, and the é is part of our language, and even part of the legacy character encoding standard everyone used before Unicode's widespread adoption. This is just a matter of code…

I'm French and I see this all the time, even Outlook, given the right conditions, will gives you this in the default folders, Inbox in French is "Boite de réception".

Don't get me started on Outlook folders. The actual names are of the folders are localised, not just the way it's presented to the user. The folders are created when you first start Outlook (and not when your account is created).

If you happen to be using Windows configured in a foreign language the first time you start Outlook, your inbox, sent mail, etc, folders are named according to that language, and will never change, and you'll have to live with non-standard names for the folders.

At least its teaches you how to configure folders manually in most email clients.

Post reply on HN