Earlier quoted context omitted.
In the context of acoustics, "ts" almost always means time-step (inverse of frequency). But I don't have the faintest idea of how it would collide with the username string :|
Guessing they're scanning for parameters in a JSON object by doing something like ts = parseInt(jsonstr.indexOf("ts")+2); I wish I didn't come to this guess by seeing it in real code so many times… T_T
People with names that break computers
231–240 of 288 posts
Re: People with names that break computers
#232Earlier quoted context omitted.
> False, you may not consider that your first name but it IS your legal name and at the end of the day that's really the only thing that matters. See, this is one of the misunderstandings from the article. Don't feel bad: many people make this mistake. But it is a mistake. Your legal name is the one you conduct business with. In my case, I conduct all business using my middle name. The fact that I was born with it do…
Legal Name = Name on your birth certificate, pure and simple. Something isn't so just because you say it is. I can say my SSN is 123-45-6789 but that doesn't make it so.
I know a few tribal members who would disagree and be correct in doing so. There are other names you sometimes get later in life depending on culture.
Re: People with names that break computers
#233My legal name is Martin C. Martin. This has only been a problem for computer systems 2 or 3 times. Once or twice on some no-name web site, which rejected names where first and last were the same. The other time was when the company I was working at was bought by Oracle. Oracle's internal email system simply refused to create a user with the same first name as last name. (For the curious, I was born Martin C. Hilgerde…
I am reminded of "Catch-22"'s Major Major Major Major.
Re: People with names that break computers
#234Earlier quoted context omitted.
There should be an entire college course dedicated to all the various "Falsehoods Programmers Believe About Xxxx" lists. I've seen so much horribly bad code that's supposed do handle times, dates, names, addresses, etc. The spec says "Store the user's name in the database" and the programmer simply allocates a string for First Name and a string for Last Name and calls it a day. What's needed is good unit tests and a…
For the database at least, I don't see why you need unit tests or any testing at all. Assuming that you're going to require at least two names (no single-name names allowed), then a string for First Name and a string for Last Name should be sufficient. If this is a decent database, where the string can have any Unicode character, including a space, and you don't set a limit on the string length (modern databases don'…
Not even close; you're already off the rails with assumptions that break for tons of names. There's an easy way to do names decently, ask the user for their full name all in one field, and ask them for a nickname for use with the app and email and such. If you try to break their name down into parts, you're doing it wrong; names are not normally structured data, they're just unstructured free text.
Re: People with names that break computers
#235I have had a decent number of forms that would not allow me to enter my last name because it contains a space: De Kok. Apparently over the centuries americans coming from Europe would drop spaces. For instance Vanderbilt is a Dutch name, that stems from the original Van der Bilt (means from the Bilt, which is a Dutch city) So now American programmers assume a space in a last name (or a dash for that matter) never hap…
Re: People with names that break computers
#236Earlier quoted context omitted.
Websites that insist on forcing me to enter a first and last name always get abuse in the latter. What I call myself on websites is my business, not yours.
If at any point in the process they need to bill you for something, they have to ask for your first and last name because that's exactly what the credit card companies require. So there are use cases. Personally, I don't see why any company is asking for a name if they aren't billing you for something or they aren't a social network.
No they don't, they ask for a single field, name on card which is a single string containing everything on the card.
Re: People with names that break computers
#237I have a close friend who lives in rural Ireland. That's not in a town, but on a small farm in a general area of about 15-20 other small farms. His address is just the name of the general area and the county. The Irish postal system is clever enough to know that the person with this name, in that general area lives in that house. In fact, he probably still isn't even really classified by his name, rather as the husba…
Where I lived (and now work) the streets had no names. Well, actually the electric company had names for them, but didn't really tell anyone. For years, I had stuff sent to "House 311 behind the school". FedEx refused to ship to us unless its a school or business and you had to drive 90+ miles to pick it up. UPS delivered fine. It did take a bit to train new drivers. USPS did not do any home delivery (PO box or nothi…
On a serious note, where was this?
Re: People with names that break computers
#238Earlier quoted context omitted.
In the context of acoustics, "ts" almost always means time-step (inverse of frequency). But I don't have the faintest idea of how it would collide with the username string :|
Guessing they're scanning for parameters in a JSON object by doing something like ts = parseInt(jsonstr.indexOf("ts")+2); I wish I didn't come to this guess by seeing it in real code so many times… T_T
Re: People with names that break computers
#239It doesn't even have to be an "edge case", as stated in the article. My first name has a single accented vowel and breaks tons of online forms. What annoys me is not so much having to re-enter my name with the unaccented version of the vowel, it's when the form throws up an error message saying "Enter a Valid Name" [or suchlike]. I find that insulting. At least make your error text put the blame where it belongs: "So…
Re: People with names that break computers
#240Earlier quoted context omitted.
Where I lived (and now work) the streets had no names. Well, actually the electric company had names for them, but didn't really tell anyone. For years, I had stuff sent to "House 311 behind the school". FedEx refused to ship to us unless its a school or business and you had to drive 90+ miles to pick it up. UPS delivered fine. It did take a bit to train new drivers. USPS did not do any home delivery (PO box or nothi…
https://www.youtube.com/watch?v=GzZWSrr5wFI On a serious note, where was this?