Hacker Newsnew | past | comments | ask | show | jobs | submit | collinmanderson's commentslogin

> "Red/green TDD" is apparently the nomenclature

From your link:

> what "red/green" means: the red phase watches the tests fail, then the green phase confirms that they now pass.

> Every good model understands "red/green TDD" as a shorthand for the much longer "use test driven development, write the tests first, confirm that the tests fail before you implement the change that gets them to pass".


I agree using the preferred city name works just fine for USPS, though maybe not for UPS/Fedex.

What I want to know is: Why isn't this preferred city+state mapping dataset for zip codes publicly available from USPS? It would be like 40kb of data for the entire thing. Why is this not public domain from the US Government?

Edit: or is this what I'm looking for (the "Physical City", "Physical State" columns? https://postalpro.usps.com/ZIP_Locale_Detail

It's missing 00501 at least (which zippopotam has), and military zip codes (which zippopotam doesn't have). Military zip codes are included in this file: https://postalpro.usps.com/areadist_ZIP5

Also fun fact 88888 is for "Operation Santa" uspsoperationsanta.com, which zippopotam is missing, but appears in the areadist_ZIP5 file.


Unfortunately these USPS datasets are not public because USPS sells them. Or in some cases, the pattern tends to be that USPS has a contract with a provider (part of what I call the Postal Industrial Complex) that maintains the database and then sells it to both USPS and everyone else. Since these databases are used primarily by bulk mail services, they're fairly expensive and represent an important revenue source to USPS. Remember that USPS is semi-privatized, so they're looking for fees they can charge like everyone else... especially fees that can be changed more easily than postage rates.

That said, the ZIP DB is indeed not very large, so you can find copies of it. You won't generally find complete copies of the City State file but I wouldn't be surprised if there is one out there.


That's not nearly as good as Canada's H0H 0H0.

Which thankfully Zippopotamus supports: https://api.zippopotam.us/CA/H0H

I suspect they have generic SVG drawing that they focus on.


Yes, this is super annoying.

I keep getting SMTP errors like: 334 VXNlcm5hbWU6 UGFzc3dvcmQ6 Authentication unsuccessful [BL1PR13CA0304.namprd13.prod.outlook.com 2026-01-22T20:59:23.476Z 08DE59C2EA6C3D25]

and: '550 (x.x) [x.x.x.x]:xxxx is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.'

See also:

https://news.ycombinator.com/edit?id=46725075

https://news.ycombinator.com/item?id=46724812

https://www.reddit.com/r/msp/comments/1qk45c0/microsoft_serv...

https://www.reddit.com/r/sysadmin/comments/1qk3tg7/microsoft...

https://www.reddit.com/r/sysadmin/comments/1qk518l/email_ser...


Yes, this is super annoying.

I keep getting SMTP errors like: 334 VXNlcm5hbWU6 UGFzc3dvcmQ6 Authentication unsuccessful [BL1PR13CA0304.namprd13.prod.outlook.com 2026-01-22T20:59:23.476Z 08DE59C2EA6C3D25]

and: '550 (x.x) [x.x.x.x]:xxxx is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.'

See also:

https://news.ycombinator.com/item?id=46724962

https://news.ycombinator.com/item?id=46724544

https://www.reddit.com/r/msp/comments/1qk45c0/microsoft_serv...

https://www.reddit.com/r/sysadmin/comments/1qk3tg7/microsoft...

https://www.reddit.com/r/sysadmin/comments/1qk518l/email_ser...


Yes. This is super annoying.

I keep getting SMTP errors like: 334 VXNlcm5hbWU6 UGFzc3dvcmQ6 Authentication unsuccessful [BL1PR13CA0304.namprd13.prod.outlook.com 2026-01-22T20:59:23.476Z 08DE59C2EA6C3D25]

and: '550 (x.x) [x.x.x.x]:xxxx is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.'

See also:

https://news.ycombinator.com/item?id=46724812

https://news.ycombinator.com/item?id=46724544

https://www.reddit.com/r/msp/comments/1qk45c0/microsoft_serv...

https://www.reddit.com/r/sysadmin/comments/1qk3tg7/microsoft...

https://www.reddit.com/r/sysadmin/comments/1qk518l/email_ser...


> it could not be more unpopular right now to tell people to stop eating meat

If we phrased it from a carbon perspective that would probably help it be more popular, at least for beef which is a huge methane emitter.

https://ourworldindata.org/food-choice-vs-eating-local

https://ourworldindata.org/less-meat-or-sustainable-meat


Yeah that seems phrased wrong, but here's xkcd visual: https://xkcd.com/1338/


Can you rsync a repo from GitHub?


I consider apt kinds slow. I wish it were much faster.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: