Names that break computers
A few people have names that can utterly confuse the websites they visit, and it makes their life online quite the headache. Why does it happen?
Jennifer Null’s husband had warned her before they got married that taking his name could lead to occasional frustrations in everyday life. She knew the sort of thing to expect – his family joked about it now and again, after all. And sure enough, right after the wedding, problems began.
“We moved almost immediately after we got married so it came up practically as soon as I changed my name, buying plane tickets,” she says. When Jennifer Null tries to buy a plane ticket, she gets an error message on most websites. The site will say she has left the surname field blank and ask her to try again. Instead, she has to call the airline company by phone to book a ticket – but that’s not the end of the process.
But to any programmer, it’s painfully easy to see why “Null” could cause problems for a database. This is because the word “null” is often inserted into database fields to indicate that there is no data there. Now and again, system administrators have to try and fix the problem for people who are actually named “Null” – but the issue is rare and sometimes surprisingly difficult to solve.
“Null” isn’t the only example of a name that is troublesome for computers to process. There are many others. In a world that relies increasingly on databases to function, the issues for people with problematic names only get more severe.
Some individuals only have a single name, not a forename and surname. Others have surnames that are just one letter. Problems with such names have been reported before. Consider also the experiences of Janice Keihanaikukauakahihulihe'ekahaunaele, a Hawaiian woman who complained that state ID cards should allow citizens to display surnames even as long as hers – which is 36 characters in total. In the end, government computer systems were updated to have greater flexibility in this area.
Incidents like this are known, in computing terminology, as “edge cases” – that is, unexpected and problematic cases for which the system was not designed.
“Every couple of years computer systems are upgraded or changed and they’re tested with a variety of data – names that are well represented in society,” explains programmer Patrick McKenzie. “They don’t necessarily test for the edge cases.”
McKenzie has developed a pet interest in the failings of many modern computer systems to process less common names. He has compiled a list of the pitfalls that programmers often fail to foresee when designing databases intended to store personal names.
But McKenzie is living proof of the fact that name headaches are a relativistic problem. To many English-speaking westerners, the name “Patrick McKenzie” might not seem primed to cause errors, but where McKenzie lives – Japan – it has created all kinds of issues for him.
“Four characters in a Japanese name is very rare. McKenzie is eight, so for printed forms it’ll often be the case that there’s literally not enough space to put my name,” he says.
Date: 2016-04-22; view: 995
|