- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
This is a great bug.
Nice find.
Admin
Hmmm. Perhaps they wanted to cope with names like "Fred Smith III" and got carried away?
Admin
Viva Pax Romana!
-Captch- "odio" yodel?
Admin
Not only that it interprets Roman Numerals, but it actually goes up to at least 1000!? Some engineer must really think they made this thing airtight.
Admin
Note that the period behind a number often means "-th" or "-rd". (Don't know the English name for it)
"20. May", "5. Customer"
Admin
Sorry, forgot to add that that is actually true other languages besides English. German, for instance. :)
Admin
Seriously: The whole idea of an automated system to call you is rediculous. It may be fine for someone like "Suzanne", but what about foreign names? I'd like to hear it attempt to say my last name which is "Juffermans"...
Seriously: I'd add an "pronunciation" field to the database which is filled by whoever adds new customers to the system, so you can replace "Pope John Paul IV" with "Pope John Paul the fourth" etc.
Not so seriously: I don't think the pope gets his books at the Wake County Public Library.
Admin
Even more often it means that the preceding letter is an initial!
Admin
Could be worse, she could be MILLI M Malone, (if her parentsd were alliteration fans)
Admin
Why does the system interpret initials in the middle of the name as roman numerals? It should only interpret initials at the end, and not up to 1000. That would mean her name has been passed down for nearly 20,000 years!
Admin
Okay, let's think through this for a moment:
We'll assume a distance of 20 years between generations, i.e. every Suzanne Malone begat a small Suzanne Malone at the age of 20.
We'll also assume that the Malones are capable of counting and that the sequence of Suzanne Malones is uninterrupted, incrementing by 1 each generation.
Thus, in order for this particular Suzanne Malone to be Suzanne M Malone, her family must not only be at least 20.000 years old but also have used the name "Suzanne Malone" for as long.
Thus I posit that "Suzanne Malone" is the oldest currently used name in existence.
Edit: Damn, #171162 beat me to it.
Admin
I can only hope my seed is that strong!
Admin
Actually sometimes the numeral is in the middle of the name. For example, the current king of Sweden is Carl XVI Gustaf. (I don't think he borrows books at Wake County Library, though)
Admin
A great example of an rare requirement overwriting a more common requirement because of bad coding.
Admin
Admin
Except that the story said she was his wife. So unless they were related before getting married or highly coincidental, Malone isn't her maiden name.
Admin
We don't mark ordinal numerals in English with a period, though it is common in other European languages (z.B. auf Deutsch).
It's a fantastic bug, though.
Admin
I'd hate to hear my name...
MIL C DILVIC
Admin
And assuming there were no bastards and that we're following standard English naming conventions, every daughter would have to marry another Malone which suggests that we'd be seeing some pretty heavy inbreeding pretty quickly; by the time of Suzanne the 1000th, we should be seeing someone who can count in hexadecimal naturally.
Admin
It's called an ordinal. i.e. "One" is a number, "First" is an ordinal.
Admin
Admin
and on one hand
Admin
http://www.postgresql.org/docs/8.2/interactive/functions-formatting.html documents a formatting function for Roman Numerals and does not claim that it is an extension (although it's not clear to me that it comes from the ANSI SQL standard, or is a clone of an Oracle extension).
Alas, I can't find an inverse of this conversion, which is implied by today's WTF. Looks like they carefully built their own firearm before discharging it into their foot...
Admin
Bonus points for at least trying to handle every conceivable case.
Admin
Hey, if you start down the path of applying artificial maximums (e.g., interpreting Roman numerals only up to "IV"), pretty soon you've got a Y2K-like problem on your hands.
Gotta think of the future. Otherwise you're just like those programmers in the '70's thinking two digits are enough for a year.
Admin
What's the problem? It's a good name.
Admin
Handling these ordinals is somewhat over the top. But really, these problems could have been prevented by not giving users a generic "name" field but instead asking for first name and last name and optinal initials and suffix (and maybe title too, to cater for tossers who insist on being called "professor").
Admin
Admin
I guess, never hire a VB programmer in Raleigh. (The library uses VB.)
Admin
But "fixing" this will cause problems for Pope Benedict XVI. So now I'm just lost.
Admin
So you wondered about this for years, without figuring what was going wrong? That puzzles me, because I got it before I reached the explanation. Or is this an artifact from obfuscation.
Admin
It must have been a highly coincidental coincidence. Who'd have thought!
Admin
Also don't forget the Spanish who have two surnames, one each from the mother and father. You can hyphenate them together as in the typical English convention, but they don't like it.
Admin
Don't blame the library. It's more likely that they use a vendor that offers Voice Broadcasting as a service. A message would have typed with merge fields such as "Hello [[first name]] [[last name]] your book is ready". Perhaps before the job was submitted someone just created a field Full name and merged all the fields, or someone put in all the discrete fields in the message.
Also the vendor may be using another software product to translate text to speech. The software has all sorts of options.
*I used to be employed by one such vendor of Voice Broadcasting services.
Admin
Admin
I suspect the program was trying to cope with one method of naming indiviudals after their father. Americans typically use either Jr/Sr or II, III etc. So to cope with the potential for John Doe II, the programmer imported a roman numeral parsing library which probably copes with every roman number possible. And then they didn't bother to check that the code should only parse any text after the surname.
Admin
Admin
Right when I saw the M. I got it.
That is so awesome.
It takes at least a certain level of intelligence to program software... love to see that intelligence go haywire.
Admin
My first thought on hearing a message like that would be whether I was experiencing a glitch in the Matrix, it just happening to be the 1000th iteration of the 'rycamor' simulation.
Admin
Admin
It is typically only amongst royalty and papacy that numbers are persistent. Amongst normal folk, it's a way of differentiating between living individuals, thus if Suzanne has a daughter Suzanne, who also has a daughter Suzanne, they are Suzannes I, II, and III. Once Granny Suzanne has passed over, everyone's numeral gets bumped down, so the extant Suzannes are Suzanne I and II (formerly II, and III).
Now, with a name like Malone, there is a good chance she is Catholic and therefore somewhat fecund, so I suppose if each Suzanne has 10 daughters called Suzanne, it only needs three generations to be alive, which is perfectly plausible.
Admin
That's odd, Microsoft Sam does it right ...
Admin
It happens in the States too, but it's very rare. For example, singer/guitarist Jack White of The White Stripes was born Jack Gillis and changed his surname to White when he married his Meg White. In most of the country, changing one's name while getting married is much easier and involves much less paperwork than changing it at any other time.
Most of the time, if an American woman doesn't want to give up her name upon marriage, both parties keep their original surnames. Sometimes you'll see the two names hyphenated, but you don't see it as much anymore because it can get very awkward if the surnames are fairly long.
Admin
I remember evaluating a text-to-speech application in the early 1980s. It was smart enough to expand abbreviations. It would read an address of "St. Louis St." as "Saint Louis Street," knowing that the context of the abbreviation was important. I wonder how it would have worked on Susan M. Malone. It seems that the library's TTS software was smart without being intelligent.
Admin
Actually, according to the official rules of nomenclature (as opposed to the ones which are often, but not always, applied in the U.S.), the Malones must also be nobility, or else there are 999 other Suzanne Malones still living. For non-nobility (or other equivalents, such as the Pope), the official rule is that once you die, you are removed from the numbering system. (So, for example, if John Smith's son is named John Smith II and his grandson is John Smith III, then when John Smith dies his son loses the "II" and his grandson becomes "II".) You can look it up in (for example) Miss Manners.
Admin
How about this:
My name will end up with the very contradictory "Glenn the 100th Lasher, Jr."
It will also mangle some actual names. Consider if someone stateside had a Korean name with "il" in the middle of it. Yep, the former leader of North Korea is Kim the 49th Soong.
Stupid.
Admin
Sounds like gold-plating to me. Even if there are three or four people with the same name (and maybe different suffixes) living in the same house, they can surely figure out among themselves which one has the overdue library book. Name parsing isn't very easy.
Admin
For extra credit, calculate the square root of pi, using only Roman Numerals.
Admin
Oye!
A little BNF grammar construction here could have fixed this. A reasonable state machine for parsing the grammar would not have made this mistake.
first [middle] last [generation]
That is NOT rocket science folks.
Admin
Even if they would have implemented this, somewhere a Suzanne I. Malone would wonder about the strange messages from the library.