News for hackers. Stuff that matters.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by weinzierl on Thursday August 31, 2023 @03:53AM (#37333840)
"Just have a single "name field" and maybe preferred name, which is not the same."

This is the way to go.

"The family/given name format doesn't make much sense here."

It doesn't make much sense in many places all over the world. In Germany technically speaking our given names are a set and we can have many of them. While it is practically necessary to write them out in a certain order in our documents, from a legal standpoint they are all equal. There is no first and second given name and most certainly no middle name. Consequence is that in everyday life today I can be Hans and tomorrow Fritz. I can be Hans Fritz or Fritz Hans too, but not Hans-Fritz (with a hyphen) except if it's written like that in my birth certificate and then the order is fixed and I can't decide to be Hans, Fritz or Fritz-Hans.

The trade-off in this system is that it is much harder to change your name here then in most other places.

In Bavaria where I live, the informal convention is also last name first, exactly like in Asia.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by toyg on Thursday August 31, 2023 @04:24AM (#37334077)
> In Bavaria where I live, the informal convention is also last name first

It's probably a Roman thing. Julius Caesar was actually "Caesar, of the gens Julia", so last-name first.

In Italy we also used to list last-name first, particularly in official and military communications. This has changed significantly in the last 40 years, particularly in everyday bureaucracy, but it's still used by police and other bodies.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by pomstazlesa on Thursday August 31, 2023 @05:31AM (#37334580)
Same thing in Hungary.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by puszczyk on Thursday August 31, 2023 @05:40AM (#37334632)
In Poland informally it’s always <given name> <last name>. Formally, it depends most places are on the same as informal, but particularly military and some other bureaucracies will use <last name> <given name>. I always thought this is a holdout from the pre-computer days to make it easier to sort alphabetically (last names are a bit better distributed than the popular first names).

In France they seem to prefer <LAST NAME> (yes, all caps) <First name> even for less formal things.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by cafeinux on Thursday August 31, 2023 @06:12AM (#37334856)
Not sure how it is done in other countries, but it's very likely that the custom of using the last name in all caps exists elsewhere. AFAIK, it comes from the fact that some last names are also common first names, so it's easier to distinguish between the two like this, as the order isn't really that important. For example, if I see a DIDIER Bernard or a Bernard DIDIER, I know I need to call him M. Didier in a formal context or just Bernard in an informal one.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by smcl on Thursday August 31, 2023 @09:11AM (#37336635)
I've seen this in Czech too - sometimes lastname first but maybe more in old-school things. I think I'm registered with the Czech FA as "McSurname Sean" :-D

Also this "reversal" had me confused when we hosted a French exchange student without knowing French (I spoke German, but the teachers knew my family were happy to host if they needed). His name was written like "KHALID Mohamed" and he was very polite so he didn't really correct me when I was calling him "Khalid", and since I was unfamiliar with Algerian names I had experience to suggest "Khalid" was more surname-y than firstname-y. It sorted itself out after a day or two though :-)

Re:Ask HN: How to handle Asian-style “Family name first” whe... by zerocrates on Thursday August 31, 2023 @12:52PM (#37340166)
I've seen the capitals convention to designate family names in several places, like with people from East Asian countries corresponding in English. The point is to take away ambiguity about which name order is being used and therefore how to address the writer.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by danmaz74 on Thursday August 31, 2023 @05:43AM (#37334658)
Roman naming conventions were very different from current Italian ones, and Caesar's full name was Gaius Julius Caesar, where Gaius is the closest thing to what we would call a first name. If he had some brothers, they would all have been "Julius Caesar", and only the praenomen would have distinguished them. For example, Julius Caesar's father was also named Gaius Julius Caesar, and had (most likely) a brother whose name was Sextus Julius Caesar.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by cge on Thursday August 31, 2023 @05:51AM (#37334696)
Roman naming conventions[1] technically did have a personal first name that came first and was called that: first name or forename is a reasonably direct translation for praenomen. The complexity is that by the late republic praenomina were largely from such a small set of names that they were not particularly useful to distinguish anyone, and they became somewhat of a formality that would often be omitted.

Julius Caesar has the 'group/last' name first because it doesn't include his first name at all: including it he would be Gaius Julius Caesar. The cognomen (there Caesar), meanwhile, was a bit of an inconsistent mess that in various times and contexts could be personal, hereditary, honorific, given, adopted...

[1]: https://en.m.wikipedia.org/wiki/Roman_naming_conventions

Re:Ask HN: How to handle Asian-style “Family name first” whe... by thaumasiotes on Thursday August 31, 2023 @06:43AM (#37335113)
Hereditary cognomina were used to distinguish different major branches of large, powerful clans. Some sort of device to specify which subbranch of an enormous group you're talking about appears to be necessary in every place that has such enormous groups; in imperial China, then as now, vast swathes of the population were covered by just a handful of surnames, but the practice developed of referring to notable families by a combination of their name and the location where they were dominant.

So Caesar's close relatives were all also called Caesar, which is how it got to be an imperial title. You might think that with the original cognomen locked into place for such families, members would get a second cognomen so that there would be at least one part of their name that could identify them. But apparently not.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by rsynnott on Thursday August 31, 2023 @08:40AM (#37336261)
They _sometimes_ did, I think. Here's one (non-Julian) example: https://en.wikipedia.org/wiki/Quintus_Caecilius_Metellus_Num...
Re:Ask HN: How to handle Asian-style “Family name first” whe... by Tainnor on Thursday August 31, 2023 @09:47AM (#37337103)
Some famous people got additional names, agnomina, such as "Africanus". And Roman emperors were later known for inflationary use of such designations. You could run a minor campaign on the Rhine and call yourself Germanicus for example.

The whole part about the Roman naming system indicating heritage became even more complicated when Caracalla (properly named Marcus Aurelius Antoninus) made every free man in the Empire a Roman citizen and now basically everyone was called "Marcus Aurelius" without ever having had any ties to the Aurelii family.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by Archelaos on Thursday August 31, 2023 @05:55AM (#37334724)
> It's probably a Roman thing.

There is very likely no connection. The introduction of surnames in Germany took place in the 15th century (somewhat earlier in German speaking parts of Switzerland). In Franconia, the "ethnic" distinct northern part of which is today Bavaria and which was never a part of the Roman empire, the last-name first custom also occurs in a few places such as Bamberg.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by weinzierl on Thursday August 31, 2023 @09:47AM (#37337094)
The Romans weren't but Napoleon was, so maybe it is more of an indirect Roman influence?
Re:Ask HN: How to handle Asian-style “Family name first” whe... by throaway230831 on Thursday August 31, 2023 @06:03AM (#37334787)
Gaius (also written Caius) was his given name, Ivlivs (Julius) the family name, Caesar the cognomen.

In inscriptions (short): CAIVS IVLIVS CAESAR

In speaking he would (in English;)) rather formally introduce himself as "Gaius of the Iulii, called Caesar".

His mother called him Gaius, his peers called him Caesar once he got or choose?) this name.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by qwytw on Thursday August 31, 2023 @06:22AM (#37334930)
Wouldn't Ceasar be much closer to his last name,though? It's definitely not his personal nickname.

His father was 'Gaius Julius Caesar' his grandfather (supposedly the first 'Ceasar') was 'Sextus Julius Caesar'.

The Cognomen is presumable something that evolved as a way to tell apart people belonging to different branches of the same family/clan because the number of first names was very limited.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by throaway230831 on Thursday August 31, 2023 @07:56AM (#37335797)
I stand corrected: in case of Caesar, it was already hereditary in his family.

Initially, it was more of a nickname or even an earned name, like with Caesars contemporary Gnaeus Pompeius Magnus.

https://en.wikipedia.org/wiki/Cognomen

Re:Ask HN: How to handle Asian-style “Family name first” whe... by qwytw on Thursday August 31, 2023 @03:52PM (#37342807)
> Magnus

Nicer than his other nickname 'adulescentulus carnifex ("teenage butcher") ' I guess..

But yeah, the cognomen seems weird/hard to understand e.g. Pompey's dad was called Strabo but he seems to have never used that name himself, while other like Ceasa, Metellus or Cicero were pretty much just surnames.

Romans probably found their naming system as confusing as we do so they started using nicknames ad hoc.

It was even more awful if you were a woman, you technically didn't even have your own name until the imperial period. You and your sisters would just be called Aemilia I, Aemilia II, III etc (or the 'elder'/'younger'). if your father was belonged to the Aemilius clan for example...

Re:Ask HN: How to handle Asian-style “Family name first” whe... by darkwater on Thursday August 31, 2023 @06:28AM (#37334978)
> In Italy we also used to list last-name first, particularly in official and military communications. This has changed significantly in the last 40 years, particularly in everyday bureaucracy, but it's still used by police and other bodies.

Only that... it didn't? The vast majority of bureaucracy and even many private entities in Italy use and strongly prefer the "Surname Birthname" format.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by rob74 on Thursday August 31, 2023 @05:32AM (#37334588)
In Hungary it's also last name first, both officially and informally - not sure if it's some Asian influence or something else...
Re:Ask HN: How to handle Asian-style “Family name first” whe... by hinata08 on Thursday August 31, 2023 @06:01AM (#37334777)
France as well

I believe that it's mostly the English speaking world that is strict with having "first name" first and "last name" last.

It's not an Asian cultural feature to have family name first, but it's an English speaking thing to have it last.

OP isn't trying to use his software in Asia specifically. He's just adapting to non US market.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by jimktrains2 on Thursday August 31, 2023 @08:00AM (#37335819)
In the English-speaking world (or at least in the USA) we sort by last name, so any list of names you get is always last, first. For that reason many forms (though not all) will have the last name as the first thing you fill in.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by retrac on Thursday August 31, 2023 @09:49AM (#37337132)
French uses the same convention as English. First then last. No one would ever say, or write, "Macron Emmanuel est le président de la France".

In languages like Japanese or Hungarian, that's what family name first means.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by TRiG_Ireland on Thursday August 31, 2023 @03:33PM (#37342529)
If you were writing a letter to him, though, you might put his name on the envelope as MACRON Emmanuel.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by FearNotDaniel on Thursday August 31, 2023 @07:46AM (#37335709)
Agreed. Currently consulting for an org which is having this very debate; the consensus is leaning towards replacing FirstName/LastName with FullName (i.e how are you generally identified) and PreferredName (how do you like to be addressed).

Some additional observations from the German-speaking world (both Vienna and rural Austria):

- yes, we also often refer to people, even in everyday speech, as LastName FirstName

- often when referring to someone by name they are also given a definite article (equivalent of English "the"), e.g. "die Maria" or "der Gruber Hansi"

- some people I've encountered with a background in the German aristocracy (not Austrian, where such titles are technically abolished) have extremely long legal names with multiple prince/duke/von X und Y etc clauses. This will be their full legal name that appears in the passport and must be used when booking flights etc, but is not what they would use as "full name" in an everyday business context. So "Full Name" might not always be "Legal Name".

Also in a South Asian/Indian diaspora context, it is very common for people to be addressed by a semi-formal nickname that does not appear anywhere in their legal name. Come to think of it, I know one or two Austrian aristos* who use the same approach.

* yes, technically the aristocracy is abolished but they still live in their castles and know each other's pedigrees...

Re:Ask HN: How to handle Asian-style “Family name first” whe... by vidanay on Thursday August 31, 2023 @08:54AM (#37336408)
Boris Kuester von Jurgens-Ratenicz
Re:Ask HN: How to handle Asian-style “Family name first” whe... by usrusr on Thursday August 31, 2023 @07:54AM (#37335780)
Germany used to be extremely restrictive about the set of character sequences that were allowed as given names. Some of that is probably still in place. When everybody was called Fritz or Hans or Gundula plus some word describing an ancestor's profession (it's all following the pattern of Smith and Miller), the order didn't really matter and that freedom was liberally abused: contexts that use the formal as identifier (Schmidt, Müller) and the given name only as a tie-breaker on collision will happily put the family name first, despite the reverse being specified in the terms themselves (Vorname and Nachname translate to pre, post, they really don't leave anything open to interpretation).

But those informal regional order conventions? I read them as formalized disrespect for the individual: "you're not Hans who happens to be a Müller, you're a Müller who happens to be Hans. And the Müllers, they are part of us, so subsume!" Those regional things can be quite peculiar: a childhood memory of my mother (northern Germany) is that as a child she was sometimes referred to as given name + name of the family farm, I suspect not in that order. With that farm's name still being the name of the family that ran ran it before her family took over, at some point between the thirty years war and the industrial revolution.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by morkalork on Thursday August 31, 2023 @08:46AM (#37336324)
>sometimes referred to as given name + name of the family farm, I suspect not in that order. With that farm's name still being the name of the family that ran ran it before her

That has a very "part of the crew, part of the ship" feeling to it. Work the land, become the land, you're named for the land that you work! With marital status, who your father was, your family's occupation, and where you're working, all in a name, résumés needn't be a thing.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by weinzierl on Thursday August 31, 2023 @09:27AM (#37336836)
When I was a child in Bavaria I was often called by house name + given name, in that order, especially by the elderly. The house name is different from the family name which appears in official documents like the birth certificate.

Another difference between northern and southern Germany is the Munich-Du and the Hamburg-Sie. In standard German we use the formal pronoun Sie with the last name in formal situations and the informal pronoun Du with the given name in informal situations. Nowadays in semi-formal situations, like between colleagues at work, it's completely informal but two or three decades ago it wasn't. Officially the workplace was supposed to be formal and often it was, but in many cases a mixture between formal and informal forms was common.

In the north people tended to use the formal Sie but in conjunction with the given name, like Markus, können sie bitte das Auto holen." (Marcus, can thee get the car, please.), whereas in Bavaria the opposite combination of informal Du combined with the family name was prevalent, like *"Du, Frau Müller, kannst Du bitte das Auto holen." (You, Mrs. Miller, can you get the car please.)

Re:Ask HN: How to handle Asian-style “Family name first” whe... by usrusr on Thursday August 31, 2023 @10:22AM (#37337606)
Aren't those name/pronoun mismatches in both cases a clear expression of status gradient? "I consider you close but I certainly don't consider you a peer". I suppose that neither of those drivers would reply in similar form. (though far less unlikely in the munich variant I think). An exception would be a recurring pattern of ironically using the family name like a nickname in youth language. Perhaps male only youth language, but very much an entirely different thing from those Munich/Hamburg oddities.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by weinzierl on Friday September 01, 2023 @07:49AM (#37349574)
I'm from Bavaria, so can only really speak about the Munich version with some confidence, and I think it is usually used symmetrically. The German Wikipedia entry about the Hamburger-Sie specifically discusses the status gradient, so you definitely have a point there. Maybe it is even true for the Munich version and I just never heard it used like that.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by mhink on Thursday August 31, 2023 @10:51AM (#37338061)
> Marcus, can thee get the car, please.

Two notes:

First, you'd use "thou" here, as it's the nominative case, and the correct conjugation would be "canst".

Secondly, "thee" and "thou" were very much the form used to speak to a close friend or social inferior in early modern English. "You" functioned more like French "vous" or German "Sie"- as either a plural formation or a formal address of a social superior.

With that in mind, it would probably be more accurate to say that they should be rendered "Marcus, can you get the car, please?" and "Mrs. Miller, canst thou get the car, please?" And notice the parallel between "canst thou" and "kannst Du"!

Re:Ask HN: How to handle Asian-style “Family name first” whe... by weinzierl on Friday September 01, 2023 @07:44AM (#37349520)
Thank you, I wondered when I wrote it, if its that simple and if I should try to given an English equivalent at all, but did't have time to research it. Your comment saved me from that.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by Akronymus on Friday September 01, 2023 @06:51AM (#37349090)
> a childhood memory of my mother (northern Germany) is that as a child she was sometimes referred to as given name + name of the family farm, I suspect not in that order.

I disambiguate my grandparents via the name of the farmhouse they live in, rather than the last names. I am from austria. But I dunno how common that is.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by zamalek on Thursday August 31, 2023 @08:05AM (#37335867)
> "Just have a single "name field" and maybe preferred name, which is not the same."

> This is the way to go.

Agreed. Does anyone know of any reason to care about first/last, apart from it being part of My First SQL Database and sating our inner desire to create pointless taxonomies?

Re:Ask HN: How to handle Asian-style “Family name first” whe... by rsynnott on Thursday August 31, 2023 @08:38AM (#37336235)
Sorting. Though I don't think there's a culture-agnostic way to do this, either.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by Semiapies on Thursday August 31, 2023 @09:23AM (#37336780)
Not universally, no. The closest for English-language use is to put a spurious comma between family and given name (e.g., "Cixin, Liu" for Cixin Liu).

In an ebook management system I've been developing, I use a full_name and a sort_name field for authors/editors/contributors, because books are a reasonable thing to want to sort by author names.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by smeej on Thursday August 31, 2023 @09:43AM (#37337045)
Even this has some culturally confusing elements, doesn't it?

For example, in my studies I had cause to read many books by Hans Urs von Balthasar. Nobody ever referred to him as "von Balthasar," just "Balthasar," but his books were always sorted by the "von."

Re:Ask HN: How to handle Asian-style “Family name first” whe... by rsynnott on Thursday August 31, 2023 @10:07AM (#37337354)
> Nobody ever referred to him as "von Balthasar," just "Balthasar," but his books were always sorted by the "von."

I'm pretty sure I've seen a by-name sorting scheme that excludes these sorts of prefixes for alphabetisation purposes. Of course, then you have to second guess whether you are using such a sorting system :)

Re:Ask HN: How to handle Asian-style “Family name first” whe... by TRiG_Ireland on Thursday August 31, 2023 @03:31PM (#37342500)
I believe that the von should be included in sorting in some languages and not in others. It's a Dutch/German difference, though I cannot recall which is which.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by Semiapies on Thursday August 31, 2023 @09:58AM (#37337234)
Even this has some culturally confusing elements, doesn't it?

It's never not going to.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by ysavir on Thursday August 31, 2023 @08:25AM (#37336087)
Largely cultural, I think, and being able to use each as might be appropriate within the culture. For example, using "Hi, <first name>" when sounding casual, but using "Dear Ms <last name>" when trying to sound formal. Nothing that's likely to be mission-critical, but a natural inclination based on cultural upbringing that we may not even realize is affecting our product design.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by mastax on Thursday August 31, 2023 @08:12AM (#37335959)
Interfacing with external systems which require first/last, I suppose.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by streetnoodles on Thursday August 31, 2023 @10:11AM (#37337405)
This, we recently had to break up our "name" field into first/last name because we work with banks that require first/last name as separate fields. When we reference an account it has to match their records exactly.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by alistairSH on Thursday August 31, 2023 @10:21AM (#37337587)
This. Many US government agencies (and therefore their forms and APIs) use FML.

So, our software has a whole pile of names... FML, preferred, mailing, formal, sort name, and probably a few others I'm forgetting. It's a mess.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by Tainnor on Thursday August 31, 2023 @09:40AM (#37336995)
For one thing, delivery drivers and similar can get confused if they don't know which part of the name they should expect on the doorbell... (especially if both parts of your name are uncommon)

I don't think there's an easy fix to this. Not everyone has a first and a last name, but in many places, cultural conventions (or legal practice) assume that you do.

Re:Ask HN: How to handle Asian-style “Family name first” whe... by trimethylpurine on Thursday August 31, 2023 @09:43AM (#37337044)
If you mean for yourself, yes. Do you want to have an easy time when you interact with a reality that assumes things about you, or do you want to spend a lot of time and effort accomplishing basic tasks as an outlier in a system that doesn't expect you? If you mean for your database, it depends on purpose. The same reality applies. Think about integration, for example.
Re:Ask HN: How to handle Asian-style “Family name first” whe... by IlliOnato on Thursday August 31, 2023 @10:13AM (#37337453)
People already mentioned sorting.

Another reason is being able to generate various forms automatically: i.e. from "Fstname:William Robert, Lstname:Smith" to generate "William Robert Smith", "W.R. Smith", "Bill Smith", or just "Bill" without storing any of these variants separately.

Of course this may fail if "William" prefers to be called "Will", not "Bill"...

Re:Ask HN: How to handle Asian-style “Family name first” whe... by Akronymus on Friday September 01, 2023 @06:53AM (#37349106)
Having to interact with other systems that expect first and last names to exist.