Live data from Hacker News

Life on the Internet Is Hard When Your Last Name Is 'Butts'

motherboard.vice.com

121–130 of 149 posts

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#121

I think it's interesting that the article mentions that they "haven't solved the Scunthorpe problem". I always thought of the Scunthorpe problem less as something to be solved and more as a cautionary tale about the folly of attempting to implement censorship software. It's like the DRM problem. It's incredibly difficult if not impossible, and the goal itself is dubious.

Like validating email addresses with a regular expression. There’s an edge case to break every assumption.

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#122

Earlier quoted context omitted.

I actually wrote a full-stack web service to handle people's names, specifically to help avoid situations like this. My best advice: treat people's names as a potentially very long and entirely arbitrary text field. Don't assume anything without their confirmation, even if it seems obvious, because somewhere out there someone's name will violate that assumption. My research did conclude that nearly all names are belo…

> treat people's names as a potentially very long and entirely arbitrary text field The problem is that you still need to deal with unicode attacks, sql attacks, js attacks, css attacks, regex attacks, etc. There's nothing 'arbitrary' about sanitizing any user-inputted text field, and it's especially difficult to do so a culturally sensitive way. It's a good problem you're solving though. It's a great job interview q…

If you have sanitize the name field because then you're doing everything wrong. Nothing should break no matter what characters a user puts in their name. Even if they use punctuation or null bytes or control characters.

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#124
post #122

Earlier quoted context omitted.

> treat people's names as a potentially very long and entirely arbitrary text field The problem is that you still need to deal with unicode attacks, sql attacks, js attacks, css attacks, regex attacks, etc. There's nothing 'arbitrary' about sanitizing any user-inputted text field, and it's especially difficult to do so a culturally sensitive way. It's a good problem you're solving though. It's a great job interview q…

If you have sanitize the name field because then you're doing everything wrong. Nothing should break no matter what characters a user puts in their name. Even if they use punctuation or null bytes or control characters.

> If you have sanitize the name field because then you're doing everything wrong.

If you don’t write software under the assumption that every other developer and all your users are at best wildly incompetent and at worst outright malicious then you’re doing everything wrong.

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#125

Earlier quoted context omitted.

I actually wrote a full-stack web service to handle people's names, specifically to help avoid situations like this. My best advice: treat people's names as a potentially very long and entirely arbitrary text field. Don't assume anything without their confirmation, even if it seems obvious, because somewhere out there someone's name will violate that assumption. My research did conclude that nearly all names are belo…

Even arbitrary text doesn't cut it -- not all names can be represented in Unicode.

But surely there must be some point where it’s okay to build a software application that expects some sort of personal identification, right? At some point surely it’s okay to cover some vast majority of people’s names and allow the rest of people to type in whatever they want? I don’t really see a problem unless you require a name to conform to some specific format while also having a policy against users using “fake” names.

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#126
post #104

Earlier quoted context omitted.

#2 and #3 on that list were clearly done as publicity stunts/"testing the limits" Bobby Tables-style than anything occurring naturally.

What does "naturally" even mean here? Everyone these days seems to be giving their kids unique names. Some people name their kid Obi-wan Kenobi. That's not really any different than these people, is it?

Obi-wan Kenobi isn't all that odd --- to someone unknown to Star Wars, it wouldn't stand out among a list of other foreign-sounding names.

On the other hand, an ultra-long name that seems to be designed for testing overflows, in buffers mental or physical, is like a very different category to me.

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#127
post #105

Earlier quoted context omitted.

Even arbitrary text doesn't cut it -- not all names can be represented in Unicode.

Sounds interesting. Any examples?

While still in the Unicode realm, some people have names that can only be spelled in their native script vertically. For instance people with Manchu names. This case breaks Wikipedia's formatting in comical ways.

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

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#128
post #100

Earlier quoted context omitted.

The biggest problem with this strategy is it isn't idiomatic to refer to someone by their full name in many contexts. However given its simplicity, and cultural neutrality, a single full name field should be the default choice IMO.

Full name: Nickname: and then refer to them by their nickname, which can be whatever they like to be called, in whatever land they come from and no programmer has to care about human naming conventions ever again

This is basically what Alphanym does, though it presents the nickname field conditionally, to optimize the sign up flow for fewer fields whenever possible.

Re: Life on the Internet Is Hard When Your Last Name Is 'Butts'

#130
post #74

Earlier quoted context omitted.

Those sites must not have a lot of exposure to Asians --- where transliterated 2-letter surnames are very common.

I use some software that requires 6 characters to be inputted before it'll search for a name. At least that includes the comma and space. A pain since I have a lot of people with short Asian surnames (and a "first" name which isn't always the one they go by).

A 6-char limit excludes "Smith", "Brown", and "Jones". Perhaps that coding decision should be revisited.
Post reply on HN