Towns

  1. Most towns are small, and have only one name.
  2. Larger towns often have names in multiple languages (Wien, Vienna, Vienne, Vídeň…; London, Llundain, Londres…)
  3. Generally, one of these names tends to be a default name for languages which don’t have a specific name for the town.
  4. The issue of how to represent the name of a town in a language which would use the default name, except that the default name is written in a different script, is an interesting one. It may be solvable programmatically. This needs investigation.
  5. Most large software projects eventually run into the need to show the names of towns to the user. libgweather has locations.xml, which is a real nuisance to translate because the strings get folded, so there’s no way to translate York in England differently from York in Nebraska or York in Pennsylvania. And there’s also marble, and whatever the KDE weather applet is using, and OpenStreetMap needs translation as well, and probably a bunch of others, and most or all of them are reinventing the wheel of name translations.
  6. Therefore: I would like to propose a standard database (in a standard decided format, maybe xml-based, maybe not) somewhere central, like freedesktop like the iso-codes package, under a free licence, which contained:
    • all the names of a town, by language
    • one of those names marked as default (the great majority of towns will have only a single name)
    • latitude, longitude, and if uncontroversial political superentity (country, or state+country)
    • possible extra data as necessary, such as airport ID
    • a unique ID code
  7. We can mostly generate this information from working backwards from the existing projects. This will also be a good demonstration of if and where the duplicated information is inconsistent.
  8. Various projects can then sync their data with this database, or use it directly. Clearly it’s not worth starting until we know people are likely to use it. Your feedback is requested.
  9. Towns which have more than one name in the same language and where using either name is a politically sensitive matter are beyond the scope of this document, but are a problem we will certainly run into.

Updates:

Feedback from KDE/Marble people: What is needed is:

  1. a simple way of mapping to other databases using unique keys, etc.
  2. it is DFSG-free, otherwise most projects can’t use it
  3. there is a simple and easy way for translators to change and contribute.

Feedback from Abigail Brady: http://geonames.org already exists and is almost exactly what is described above.

HOWEVER, geonames.org is cc-by, which is not DFSG-free, so it’s rather a dead end. (Of course OpenStreetMap is also cc-by-sa and hence also not DFSG-free.)

Epiphany (the feast, not the browser) and what came after it

Fin had a pretty good birthday, I think. Alex and I were going to make a cake for her, but her mother came over and made her a birthday tea which involved steak and ice-cream (but not both at once).

From Neil Gaiman’s blog we learn that the Uncle books are to be reprinted at last. Uncle is an elephant who wears a purple dressing-gown and lives in a castle as big as a city that has never been fully explored. The company which owns the publishing rights would not reprint them because they thought they were classist or something.

I had a strange dream where there was an orange ferret loose in our kitchen (but it wasn’t the kitchen of any house I know) and we had to chase it out. Later, in another dream, I was told there was an exciting adventure holiday that Rio and I could go on together, and it happened to be in Gwent. I went and looked at the details but they had a map of Glamorgan. (The only word I remember reading from the brochure now I’m awake is “Chwefror”, February, so possibly it would have been a rather cold holiday.)

Uruguay to be the first South American country to have civil unions.

It’s all a conspiracy that people won’t fix the bugs we ask for, for free, and it’s just because they disagree with us politically.” I don’t think I ever enquired as to the political leanings of anyone raising a bug before…

Riordon, Alex and I played Mao last night; it was Rio’s first time playing the game, and she got a bit frustrated, as anyone does their first time playing Mao. We decided by mutual agreement to call the game off after about ten minutes, but I overheard her saying to herself later, “Penalty cards aren’t penalties like at camp where you don’t get sweets or something, and it’s just really like Uno but you don’t talk.” Then she came over where I was working and asked me what you say during a point of order when you’re not allowed to say those words, and we had a discussion about how Mao is a formalised representation of learning anything– a way of learning about learning, really, in the form of a game, and how learning anything new can be a frustrating experience too.

I love PostSecret. This was my favourite card this week. I think anyone who is good enough to introduce you to Borges deserves really good beer, just as anyone who is good enough to introduce you to Nesbit deserves really good tea. But on that note, I was contacted the other day by Professor Christianson, who taught me years ago, telling me amongst other things about his new book, and when he heard about Riordon he is apparently sending her a copy. I will post more when it happens.

Answers to stupid questions

I commend Cecil Adams’s Straight Dope to you. For thirty-odd years they have been fielding difficult questions from the public with snarky answers. Reading the archives will probably teach you as much as a year in some schools.

There are, however, some questions they refuse to answer. In a spirit of homage, I’ll take my lunchbreak to answer them here.

Why do we need a hot water heater? If it’s hot it doesn’t need to be heated.

Your grasp on the concept of apposition is shaky. Apposition is the placing of two nouns or noun phrases together, so that the one tells you more about the other. In some cases they are simply two ways to describe the same entity, like “my sister Lucy”. You seem to be thinking that a “hot water heater” must be a heater to heat hot water, and that’s one option, but consider other examples like “sausage machine”, a machine to make sausages. A hot water heater is a heater which produces hot water.

How can we have jumbo shrimp?

This is a rather amusing question, because although the person asking it is presumably aware that “shrimp” is both the name of a creature and a description of size, they are possibly not aware that the same is true for “jumbo”. Jumbo was a famous elephant in London Zoo in the 1880s; if he had been a particularly small elephant we could have said he was a shrimp Jumbo. Use of his name to mean “very large” followed within ten years. Shrimp are in fact so called because of their smallness (the word is related to “shrink”) and we have records from the 1300s of using the term to describe people. So the fact that the adjectives in both cases are derived from comparing whatever it is to very large or very small animals is irrelevant; everyone knows you can have small elephants and big shrimp.

Why isn’t phonetic spelled the way it sounds?

1) It is. The word is not irregularly spelt at all. (There are other ways of spelling the sound which “ph” makes, but that is irrelevant; the point is that “ph” can make no other regular sounds.)

2) Even if it wasn’t, it is not necessary that a word should describe itself. This would lead us into shaving barber territory.

Why do our noses run and our feet smell?

This is a confusion about the two meanings of the verbs “run” and “smell”. “Run” is a word which, in various forms, has meant “flow” since Proto-Indo-European; its use in describing the flow of your feet in bipedal motion and the flow of mucus from your nostrils are two applications of the same idea. “Smell” is one of those interesting words which can mean both sides of an action (compare dialectal “itch” for scratch and “learn” for teach); it’s meant either to produce or notice an odour for almost a thousand years (probably longer, but we don’t have attestation). There is an untrue story that Samuel Johnson, on being told, “Sir, you smell!”, replied, “No, Sir, I stink, you smell.”

Why does quicksand work slowly?

“Quick” here has the original meaning of “alive”, as in “to judge the quick and the dead”, and not the newer sense of “fast” (which has only been around since the fourteenth century).

Why are boxing rings square?

A lot of people seem to want to know this, for some reason. I think if you imagine a real fight between exactly two people, without all the formalised rules and layouts of boxing, the other people in the bar or marketplace or wherever tend to fall back into an approximate circle; people were using squares to fight in at least by 1743, when Jack Broughton’s seminal rulebook on the conduct of bareknuckle fighting was published. I suspect it’s simply easier to draw up a square on the floor, and it’s easier to say that you start from opposite sides after a fall than saying you have to start from 180° from your opponent, but that’s just a guess.

Why, when lights are out, they are invisible, but when the stars are out, they are visible?

“Out” is a word with a number of meanings, few of which can be descriptions of the same objects. You might as well ask whether Jodie Foster coming out meant she became more or less visible based on stellar or light analogies. If I still had access to the OED, I would tell you when the word came to mean “extinguished” when applied to flames (and hence electric light), but I don’t.

[Update: Jonathan Jarrett, who does have OED access, shows me that the earliest record of the word being so used was by John Trevisa in his 1398 translation of De Proprietatibus Rerum: “For þat þe wynde schulde nouȝt blowe out þe light”. You rock. Thanks.]

Why do we call them apartments when they are all together?

This question makes no sense because it is backwards. If you take a house and put all the parts together, it is precisely then when it is not apartments. If you split it apart into separate pieces, you have apartments.

If cows laughed, would milk come out of their noses?

I do rather find it hard to understand what kind of mental confusion would produce this question even as a joke. Firstly, when humans produce milk (or coffee, or whatever) from their nose when they laugh, it is because they were drinking it. Cows drink milk only in calfhood; the rest of their lives they drink water (around six gallons a day, although it varies by temperature). So only a baby cow would even be drinking the milk to start with. Secondly, why a cow? All mammals from mice to giraffes produce milk. Furthermore there is no connection between the mammary and the respiratory system. Finally, as far as I am aware, cows cannot laugh in the first place. Some zoologists have recently reported laughter in non-human primates, but not in other mammals.

Why does Denny’s have locks on the door if it’s open 24 hours?

A moment’s thought should show you that the problems which would result from not being able to close the restaurant in an emergency, or in leaving it empty but unlocked, would far outweigh the few tens of dollars it costs to add locks to the door. Imagine, for example, closing the restaurant while refitting after a fire, or not being able to scrape enough staff together to run the place at 4am during a flu epidemic. (In addition, some jurisdictions may require that restaurants close on certain days or nights of the year.)

[Updates: rethought points out that a building may not have been open twenty-four hours a day in the past; shaunm points out that even buildings which are generally permanently open often close for a few hours a few times a year to have a cleaning crew do a thorough pass rather than the incremental cleaning that happens day-to-day.]

Why do ships carry cargoes and cars carry shipments?

“Car” (a Norman word which they took from the Celts) and “cargo” (a Spanish word that comes from Latin) are unrelated. Incidentally, it is interesting that people assume that the Welsh word for car, “car”, is a loan-word from English, but its irregular plural belies this.

When will a building actually become a built?

The -ing on the end of “building” is not the “-ing” on the end of “singing”; it is another ending which was once “-ung” but merged. (The word in Scots is “biggin”.)