News for hackers. Stuff that matters.
Re:Localisation is too hard for Gmail by PaulDavisThe1st on Wednesday October 21, 2020 @02:57PM (#24850887)
or more generally, user-provided names should never be the canonical identifier for any resource.

for example, don't (canonically) identify accounts with usernames. that way when "joesmith" becomes "josephbarnes", the user can just change their username and everything keeps working (because it's really all user ID 19829).

any "name" you get from a user should always be considered nothing more than a non-canonical label for a resource with some other persistent and canonical identifier.

Re:Localisation is too hard for Gmail by xyzzy_plugh on Wednesday October 21, 2020 @03:50PM (#24851356)
As another poster points out, this won't work for e.g. IMAP usage.
Re:Localisation is too hard for Gmail by earthboundkid on Thursday October 22, 2020 @01:03AM (#24855048)
Yes, although to be fair, JMAP is a thing and Google has had a decade and a half to improve IMAP if they cared.