Earlier quoted context omitted.
even using GPS coordinates How can GPS coordinates be ambiguous? I can see different units of measure/notations being used, and the accuracy might be a problem for extremely close addresses, but wasn't it the point of GPS to provide an exact reference for any point on the planet?
GPS coordinates don't generally include altitude, correct? If he's in a six-floor apartment, how could GPS define which floor he's in?
Falsehoods programmers believe about addresses
101–110 of 150 posts
Re: Falsehoods programmers believe about addresses
#102Earlier quoted context omitted.
Of course I'm not saying single multiline textbox for every app out there. That would be crazy. :-) But I'm always surprised how many sites ask for information that will never be used for anything, and assume things like the lenght or characters valid in zip codes or phone numbers. I heard these days on "There is no such thing as a fish" podcast there is a country somewhere where the post office locates places by dir…
So, what's the proper way to deal with this then? Ask a series of questions and adapt the follow up to the questions depending on the answer given. Starting out with 'select your country' and then expand from there, the more you know the more you can narrow down the remainder of the input. That would be a nice little widget to be able to throw onto a form 'world accurate address input fields'. And for some localities…
We are British but not part of the UK nor members of the EU. We're served by the British Royal Mail system and use UK-style postcodes, but sometimes when I input my address I must chose a country, so pick UK, which triggers UK VAT on my order. We're exempt from UK VAT so dealing with this is frustrating. Some retailers do waive it when I raise the point but I have to remember every time.
Total edge case I know, but I hope it demonstrates that even picking a really broad starting point like 'country' can still fail sometimes.
Re: Falsehoods programmers believe about addresses
#103A more fun counterexample: the Black History Museum in Richmond Virginia is located at "00 Clay Street". That's 00, not 0.
Re: Falsehoods programmers believe about addresses
#104A falsehood only distantly alluded to: That people have addresses at all, or can describe their residence in an unambiguous or clear way (even using GPS coordinates). I used to live in a place I couldn't even remotely give directions to. It was deep within a neighborhood of a poorer country, none of the streets had names, none of the buildings are numbered. I lived in an building where none of the apartments had numb…
Furthermore, just because you don't have an address doesn't mean you can't receive mail! At least as recently as a few decades ago, there were rural communities in the US where nobody had a street address; the postal service knew where everybody lived and would deliver mail given just a name and town. I'm not sure whether this arrangement still exists in the US, but I'm pretty sure it still does in Ireland and probab…
In the US though, there was a real push to rationalize street addresses for emergency services in the late 90s or so. It may not be universal but I know of even summer camps at the end of dirt roads in Maine that have street addresses now.
Re: Falsehoods programmers believe about addresses
#105Re: Falsehoods programmers believe about addresses
#106Earlier quoted context omitted.
So, what's the proper way to deal with this then? Ask a series of questions and adapt the follow up to the questions depending on the answer given. Starting out with 'select your country' and then expand from there, the more you know the more you can narrow down the remainder of the input. That would be a nice little widget to be able to throw onto a form 'world accurate address input fields'. And for some localities…
Picking an arbitrary starting point like 'country' still has problems. I'm in Jersey Channel Islands, which isn't a country at all (much like Vatican City & other territories). We are British but not part of the UK nor members of the EU. We're served by the British Royal Mail system and use UK-style postcodes, but sometimes when I input my address I must chose a country, so pick UK, which triggers UK VAT on my order.…
What kind of internet service do you have where you live (speed wise) ?
I've always considered island life, but poor internet service has put me off.
Re: Falsehoods programmers believe about addresses
#107I read this article a long time ago and I took it seriously. So instead of asking for address, postal/zip code, city, state/province, I just put up a big text area labeled "Full address" so that people have complete freedom about what to fill in. 80% of the users ended up only filling in their street address, not their postal/zip code, city and state/province, even though they're from countries where (most?) addresse…
Knowing that addresses may not conform to any arbitrary rules should lead to disabling automatic validation (or downgrading it to nothing more but suggestions, "are you sure that's correct?" hints).
Not to stop offering users any guidance.
Re: Falsehoods programmers believe about addresses
#108Is it common to believe that post codes don't start with zero? All of New England (ME, MA, NH, CT, RI, VT) have zero starting post codes. Plus apparently a part of New Jersey. Map here: http://en.wikipedia.org/wiki/ZIP_code Also, since it brought up naval vessels, here's the addresses of all US Navy ships: http://www.navy.mil/navydata/ships/lists/ship-fpo.asp Anyways, the post office does a wonderful job delivering m…
I got in to an argument in school with my computer programming teacher. A BASIC course, we were having to design a system to accept an address, and I was treating my ZIP code as a string. IIRC, something like 50 INPUT "Your ZIP code?", ZIP$ Everything was reviewed via handwritten code and flowchart before we were allowed to type it in in the lab, and I was told "ZIP code is a number, but you're putting it in to a str…
Re: Falsehoods programmers believe about addresses
#109"An address will exist in the country's postal service's database" This is the one that I've run afoul of -- not because I live in a brand-new building, or a houseboat, or 30 miles from anywhere on an unnamed road; it's just that there is no door-to-door delivery for houses within a 2-block radius of the local post office, so we have a PO box. The trouble happens when a business that needs my street address uses the…
I have this problem too, but just because the UK postcode database that a lot of sites use is wrong. There's not even a way to report it. It means I can basically never pass a credit check at this address.
Go register to vote!
Re: Falsehoods programmers believe about addresses
#110Buildings don't have multiple postcodes in different outcodes ( https://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdo... ).
Counter example:
* Merchant Venturers building, Woodland Road, Bristol BS8 1UB
* Merchant Venturers building, Park Row, Bristol BS1 5UB