Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One more to add to Falsehoods Programmers Believe About Names (http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...): Real names don't contain combinations of normal words like 'creeping bear' or 'lone hill'...


This is a fantastic write-up. Would like to add that some South Asians also do not have last names (that would totally break US systems--wonder what those guys do if they take up American citizenship, like get a last name? Form-generated letters, Dear Mr. <<null>>:)


For a brief period some dumb project had decided no New Zealanders could have a passport if they had a two letter surname.

Given one of the more notable sports stars of the last few years is Lydia Ko I'm surprised that made it into production.


And Indonesian I once knew said that she had that problem in many places and usually split up her name, which was convenient because the first half happened to be "Susan".


Many Asians make up (or transideolate) a westernised name and use that name in English-speaking countries.


God, I know. Try explaining this to SagePay, whose API requires you provide a firstname and surname. This also falls down if the account belongs to a business. Businesses also do not have first names and surnames.


Or clauses, "Parmelee Kills The Enemy".


The only rules I've ever entered regarding real names... is at least two characters, though I tend not to allow numbers, but /([a-z][a-z' -]{,48}[a-z])/i generally speaking... even then, I had to bump that up from 25 characters once.


I know someone who has a last name "I". His first name starts with H so his work email address was hi@company.com.


People have names outside of [a-z]. (Me, for example.)


I was just about to say this too... Even in Europe it's common to use accents or diacritics:

http://www.kidspot.com.au/chloe-renee-andre-need-apply-accen...


Not just accents or diacritics, but different characters. E.g. Æ, Ø, Å in Scandinavia.

And we of course don't use just latin character sets in Europe (Greek and Cyrillic scripts are both even official scripts of the European Union), even excluding immigrants.


Can't Chinese last name consist of a single Hanzi character?


Yes, actually they almost always do. Two-character last names are pretty rare (and of those, many are transliterations from other languages).


I don't think [a-z] covers hanzi anyway...


A real name that breaks both your rules: https://en.wikipedia.org/wiki/Perri_6


Which is honestly still pretty restrictive. I can immediately think of two cases you'd be throwing out erroneously.


You've never met a Zoë?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: