Comment by skeltoac
Comment by skeltoac 6 days ago
- Great idea, thanks for sharing!
- country-city does not work well in the US because we have many duplicated city names in different states
- what harsh reputation? :)
Comment by skeltoac 6 days ago
- Great idea, thanks for sharing!
- country-city does not work well in the US because we have many duplicated city names in different states
- what harsh reputation? :)
It's also confusion that reporting of a bug is not criticism. It's a Show HN. You've asked for the feedback. People that get twisted when the feedback is anything other than pablum like "great job" need not be a developer. If you can't handle being told that something isn't working, then how do you ever expect to improve? Or maybe you've moved from being a dev and are now trying to be a founder?
Probably city-zipcode-country would disambiguate effectively both for the US (where you could have several Springfield cities in different states) and Europe (where there are probably, for instance, quite a number of `Sainte-Anne` cities on top of Guadeloupe's)
I think we're probably going to get a blog post from you a couple weeks from now titled "falsehoods programmers believe about cities"!
Many countries don't have zip codes or they are not widely used or known.
My country (Colombia) relatively recently assigned them but no one uses them or require them, so no one knows which zip code they are living in
- Thank you very much!
- Damn, didn't know that. I just had the feedback that Paris, Tennessee wasn't working already.
Today I'm using nominatim from openstreetmap to fetch cities data.
This request: https://nominatim.openstreetmap.org/search?city=${rawCity}&c...
I guess I'll have to change this for a less restrictive search. I wanted a city and country to have a nice and simple URL though. If you have any suggestion, please do share it!
- Every time I speak with people about HN, I get something along the line: "They criticize everything, and very easily".