Live data from Hacker News

A package for presenting person names

robinvdvleuten.nl

11–20 of 20 posts

Re: A package for presenting person names

#12
Trying to derive names is basically an impossible problem. I highly recommend the following both as arbitrary text fields:

1. Ask for "Legal Name" if you need it.

2. Ask "what would you like us to call you?"

If you are displaying users' names to others then you have infinite choices but they all boil down to "what would you like us to show in this context". The simplest is just a global name but you could have different display names towards different users/groups.

Re: A package for presenting person names

#14
post #8
post #3

Is `$name->sorted` incorrect? I would have thought it sorted on family name, not middle name? For example, "Alice Betty Cass" should be sorted as "Cass, Alice Betty". The example given would sort it as "Betty Cass, Alice". That would only make sense if the surname was double-barrelled. e.g. Alice Betty-Cass.

...unless "Betty Cass" is a two-word, non-hyphenated surname. Yes, they also exist.

e.g. most surnames in written in Irish or Scottish Gaelic (Mac Dara) or literally any Spanish-speaking country. They exist and are extremely common.

This package is a complete waste of time, I'm sorry to say.

Re: A package for presenting person names

#16

Trying to derive names is basically an impossible problem. I highly recommend the following both as arbitrary text fields: 1. Ask for "Legal Name" if you need it. 2. Ask "what would you like us to call you?" If you are displaying users' names to others then you have infinite choices but they all boil down to "what would you like us to show in this context". The simplest is just a global name but you could have differ…

This. I can only upvote once, so I did, but this. There are about two input fields to take a name: Anything more starts making assumptions, actually, it's an assumption that everyone has one.

Your real name: Your shown name: [leave empty to use your real name]

Re: A package for presenting person names

#18
First names are not given names. Family names are not last names.

Given names are not familiar names. Given and family names are not legal names.

Please do not use 'abstractions' this broken. The appearance of patterns you're trying to abstract here are cultural windows, not global truths.

Re: A package for presenting person names

#19
post #18

First names are not given names. Family names are not last names. Given names are not familiar names. Given and family names are not legal names. Please do not use 'abstractions' this broken. The appearance of patterns you're trying to abstract here are cultural windows, not global truths.

We know. https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...

Re: A package for presenting person names

#20
post #18

First names are not given names. Family names are not last names. Given names are not familiar names. Given and family names are not legal names. Please do not use 'abstractions' this broken. The appearance of patterns you're trying to abstract here are cultural windows, not global truths.

We know. https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...

Clearly this seems to vary by the 'we' you're referring to.
Post reply on HN