Live data from Hacker News

Put the zip code first

zipcodefirst.com

271–280 of 330 posts

Re: Put the zip code first

#271
post #7

Earlier quoted context omitted.

Obviously put country first, then whatever the equivalent of a ZIP code is second. In the UK, a post code gets you down to around 15-16 delivery addresses on average. No-one there really _ever_ needs to type an address.

Most British websites work like this website suggests, in that they ask for the postcode first, then give you a dropdown of all the addresses at that postcode. It works great, except my address is for some reason not in whatever databases these websites use. The building number is on the list, but not the individual flats. So I have to put in the postcode, choose something like "My address is not listed", then fill i…

Somebody else mentioned the PAF. I should further clarify why your address might (might, this could just be a mistake) not be on there and why therefore almost any form should have an option to "do it the hard way"

The PAF is about what the Royal Mail calls "Delivery Points" which are places they promise to deliver physical letters to. Inside my building for example every home has a front door, with a letter box, and letters literally get posted into my flat, but down the street there's a building with a rack of boxes set into the wall and post is delivered to your numbered box, and up the street there's a townhouse converted and all the mail just goes in one piles for everybody in that building.

Many delivery points share a postcode, but because they know them all they actually all have unique numbers, and unlike a postcode they're not for humans so they get changed quite frequently as new buildings are constructed or working patterns change, if you examine your post carefully (in the UK†) there are two rows of fluorescent orange dots on the outside, these were printed by mail sorting machines shortly after the mail was received, one is an entirely arbitrary serial number and it designates that piece of mail for a very short period (say a few days) to enable statistical tracking for performance - if #213940202 entered the system in Glasgow on Monday, was in Portsmouth by Tuesday but wasn't delivered to someone's door until Friday the problem ain't in Glasgow. But the other one we're interested in here is the Delivery Point as a numeric code. If you don't have multiple addresses this row of orange dots will be identical on every item you've received for some time yet it's different on someone else's mail.

† This trick was invented in Britain but is used (licensed) in some other countries because it's a good idea, however exactly what is encoded and so what it "means" may vary.

Re: Put the zip code first

#272
It's generally easier to start typing your street address (maybe 4-5 characters), see an auto fill, click your address and all information, including the zip is already filled out.

If you started with just the zip you still have to type your street address afterwards.

Re: Put the zip code first

#273
post #115

Falsehoods US programmers believe about addresses: there are no other countries than the US of A, and if there are, they don’t really matter. This person bought a whole domain for something that doesn’t work for 90% of the world, claiming it does, never even testing their assumption. Great job!

Actually, visiting from The Netherlands showed me a popup congratulating me on the quality of our postal code system.

Re: Put the zip code first

#274

Earlier quoted context omitted.

> What's the 5 digits for Yonkers New York (edited because I originally had NYC) Nobody sends packages where the destination is an entire city. If someone gives me an address inside Yonkers, it'll have the zip code in the address. I've never had to look up a zip code in my life. > For the same reasons, that's why it would be: Beverly Hills, Los Angelos County, California, USA, 90210 Which reasons? That has nothing to…

Heh, you should take a minute to look the answer up - ZIP Codes 10701, 10702 (post office), 10703–10705, 10707 (shared with Tuckahoe, NY), 10708 (shared with Bronxville, NY), 10710, 10583 (shared with Scarsdale, NY)

Is that information supposed to change my mind about something?

If you put in any of those numbers it can prefill the city name, with enough accuracy that you don't need to change it.

Did I imply anywhere that cities only have one zip code before you asked about Yonkers? I said if you can remember your city name you can remember your zip code. That doesn't imply you would use a list to get from one to the other.

Re: Put the zip code first

#275

Earlier quoted context omitted.

Why? I have a 4 digit postcode, I have to look it up every time I have to fill in an address form for delivery. I've had people screw 1 digit up in that postcode and their items (a laptop in one case) went to the completely wrong city. A code sounds foolproof, until you realise most people don't engage with them for most of their lives - you don't tell the uber driver the zip/post code you are waiting in, and travell…

Your zip plus 4 changes. It isn't worth trying to know as it isn't supposed to be constlnt. If you send a lot of mail there is a discount for using it but you have to update everyone's address often (iirt at least 4x per year)

Source? The numbers correspond to the USPS distribution centers and carrier routes. If the numbers are changing that would imply an increase in zip code subdivisions, making each zip code a better address predictor for a given individual.

Re: Put the zip code first

#276
post #115

Falsehoods US programmers believe about addresses: there are no other countries than the US of A, and if there are, they don’t really matter. This person bought a whole domain for something that doesn’t work for 90% of the world, claiming it does, never even testing their assumption. Great job!

> Fine, maybe country first. The purists in the comments are technically correct — postal codes aren't globally unique. You could do country first (pre-filled via IP), then postal code, then let the magic happen. The point was never "skip the country field." The point is: stop making me type things you already know.

It’s addressed in the article (at the end, admittedly).

Re: Put the zip code first

#277
> I type 90210. You now know I'm in Beverly Hills, California, United States

You CAN’T get the country from a zip code. France also use 5 digits zip code for example. You must ask for the country before asking for the zip code, even if you pre fill it with a sane default, like the main country you operate in.

Re: Put the zip code first

#278

Earlier quoted context omitted.

Yup, the second sentence in the post is incorrect. > From those 5 characters you can determine the city, the state, and the country. You can't infer the country from a postcode.

In the example, you might at least be able to cut down your menu choices to Maine or Mexico.

France also uses 5-digits zip codes, and many other countries too I'd wager.

Re: Put the zip code first

#279
post #7

Earlier quoted context omitted.

Obviously put country first, then whatever the equivalent of a ZIP code is second. In the UK, a post code gets you down to around 15-16 delivery addresses on average. No-one there really _ever_ needs to type an address.

Most British websites work like this website suggests, in that they ask for the postcode first, then give you a dropdown of all the addresses at that postcode. It works great, except my address is for some reason not in whatever databases these websites use. The building number is on the list, but not the individual flats. So I have to put in the postcode, choose something like "My address is not listed", then fill i…

Yeah, there are plenty of annoying edge cases.

For instance, my postcode covers 15 houses and half of a large park. Those houses have been subdivided into 4-6 flats, and many have been redivided or renumbered multiple times. The park also contains various buildings and other places that might plausibly receive deliveries, some of which have multiple entries (an electricity substation appears 8 times, for some reason). So in total, it covers more than 200 addresses - mine is no.140-ish in a typical sorted list.

You'd be amazed by how many address checkers can't handle more than 64, 100, or 128 addresses in a postcode. Or how many scrollbars stop working, requiring you to use the arrow keys to navigate. Or how many other glitches I've seen.

The other common problems are usually down to temporary postcodes (which used to always end with an 'X' but can now be indistinguishable from 'real' codes) escaping into the wild, re-addressings and re-numberings not being picked up properly, the old problem of outdated PAFs being used, and - my personal favourite - BT/Openreach using their own separate postcode database, dating from the Post Office split in the early 1980s, which doesn't always agree with the PAF. Agh!

Re: Put the zip code first

#280
post #157

Earlier quoted context omitted.

The UI pattern is still stupid. You should be able to quickly enter forms like this on a keyboard. When I look for a part for my car, I pick “Honda”, “Model Year”, “model”, “trim”. With address forms, if I type “U” in a keyboard aware field, it defaults to “US Minor Outlying Islands”. Places that try to accommodate will put the US and Canada first. If you asked country, first, you could utilize the postcode method. S…

Being from the England is even worse, 'Country' could be any of the following: United Kingdom Great Britain Britain England

Meanwhile, here in Bristol, a whole bunch of sites insist on using a drop down for the county and list "Avon" which doesn't even exist. It should be Bristol or possibly City of Bristol.
Post reply on HN