3 ms·
So if you're dealing internationally, and names actually matter. You may need to think a bit harder about names. Although the proposal still doesn't solve all
by benj111 3y ago
So if you're dealing internationally, and names actually matter. You may need to think a bit harder about names.
Although the proposal still doesn't solve all edge cases. And the current edge cases have presumably found a solution, like my girlfriend that has 2 last names, and is from a 'western' country.
My parents address is stupidly long and doesn't fit in to most address boxes, so you also need to allow arbitrarily long addresses.
Oh, and your email validator is wrong too.
- sjmulder 3y agoEven bog standard Dutch names are often a problem e.g. “Jan de Wit” being addressed as “Jan de”, “Jan Wit” or sorted under the letter d.
- stephenr 3y agoIs the "de" somehow different to a "regular" middle name?
- ssss11 3y agoIt’s part of the last name.
- Daimanta 3y agoIt's not a "middle name", rather it's an "infix". Some countries/languages have this feature where there is a generic "infix" part of the last/family name. This generic part if fully part of the last name but is so common that it will cause an imbalance in the distribution of names. To understand this as an English speaker. Imagine people aren't called John Smith, but rather John the Smith and not Bill Boston but Bill of Boston. Now imagine that a large percentage of people had an infix in the name. It would be impractical to order stuff by last name and find a massive index on the letter "o" because all the last names starting with "of" or at "t" starting with "the". To balance this out, parts that would translate to words like "from", "the", "of", "to" or "on" would be considered an index. Part of the last name, but not considered part of the name index. John the Smith would be found at the letter "S" usually structured as "Smith, John the".
- stephenr 3y agoAh ok. So the issue is not so much how to store it, but how to sort it. It's the iTunes "The ..." problem. Thanks for clarifying.
- deleted 3y ago[deleted]
- nomdep 3y agoThat sound like is the user’s fault: if their name is “Bill of Boston”, then their surname is “of Boston”… and if they prefer to be called “Mr. Boston” or similar, then they should omit the “the” when filling a form
- Hasnep 3y agoIf someone's family name is O'Neill and their name gets sorted to the top of the O section because if the apostrophe does that make it their fault? If they prefer to be sorted correctly they should omit the apostrophe from their name?
- Quekid5 3y agoThink "da Vinci". It's not exactly the same, but similar enough.
- hunter2_ 3y agoSpeaking of email validation, recently I've come across email inputs that reject addresses that would definitely match even the most restrictive pattern you can imagine (Latin letters and Arabic numerals @gmail.com) but which I created by mashing my keyboard or just made up using my imagination and extremely common (in the USA) names. For example, in the captive portal for Starbucks WiFi, it rejects things like "iebfisldndu38256" or "jennsmith122499" suffixed with "@gmail.com". Now, I'll admit: it actually did thwart my attempt at not providing my actual email address, for a good several attempts. I had to increase my creativity to a level I truly didn't anticipate, before finding something it accepted. And I definitely had enough randomness that it wasn't just disguising an "already exists" error with an "invalid address" error for privacy purposes, I am certain. What in the world kind of validation is this? Do people really end up resorting to entering their actual email address often enough to make this at all useful?
- constantly 3y agoThis isn’t about validation. They check to see if it is a real email address.