this post was submitted on 23 Jan 2025
474 points (99.6% liked)
Mildly Interesting
17855 readers
4 users here now
This is for strictly mildly interesting material. If it's too interesting, it doesn't belong. If it's not interesting, it doesn't belong.
This is obviously an objective criteria, so the mods are always right. Or maybe mildly right? Ahh.. what do we know?
Just post some stuff and don't spam.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Cuts both ways however:
It's common to encounter, especially HR Portals, trying to enforce a 'valid' address. Trouble is it's often an American developer and they have no idea about other countries. Here in the UK they like to insist on a 'county ' field for postal address, despite it being over thirty years since postal addresses here even had counties (which didn't match the actual counties but anyway). The drop down list they like to give isn't a list of counties either, it's an out of date list of local authorities, which were never part of anyone's address.
I worked at a place once where we had to use an internally developed form to order supplies. Form checked user name against company active directory (fine) but also checked that surname+first initial was at least 6 characters. No idea why and very resistant to changing it but my surname is 4 characters and a lot of Chinese ones are only 2...
Luckily my application only has to work in Canada and the US.
Sometimes one of my customers will ship to Mexico, and I just don’t validate those addresses because they’re a nightmare.
Do you know of a great validator for the UK? My validation provider offers international validation but I just don’t trust that it’s accurate and take it on a country by country basis.
Validators in the US aren’t great either btw. They’re always getting our address wrong or won’t validate zip+4 codes, which is supremely annoying when it’s more accurate.
Sorry, only just seen this. I don't work in this sector I am afraid. Some things that might help you: