Live data from Hacker News

Show HN: Meet.hn – Meet the Hacker News community in your city

news.ycombinator.com

351–360 of 391 posts

Re: Show HN: Meet.hn – Meet the Hacker News community in your city

#351
post #350

Earlier quoted context omitted.

I live in Vietnam and have the same problem I think. My city has diacritics in its name, but the query https://nominatim.openstreetmap.org/search?city=B%E1%BA%AFc-... works fine. Unlike the parent post, it does not go to undefined, it just returns 404 when clicking on the map. Some 404 examples: https://meet.hn/city/vn-B%E1%BA%AFc-Ninh https://meet.hn/city/vn-H%C3%A0-N%E1%BB%99i Working examples in Vietnam https://me…

https://www.openstreetmap.org/relation/1973756 has `name=Thành phố Hồ Chí Minh` and `name:en= Ho Chi Minh City`

Aha, so in the case of Bắc Ninh, its English name is the same as it is in Vietnamese; with diacritics.

I was going to say Da Nang and Ho Chi Minh City have gotten english names indirectly due to their popularity or relevance in Vietnam, but the main capital of Vietnam, Hà Nội, has the same problem as Bắc Ninh where its English name is the same as the Vietnamese name.

I guess there's no logical reason behind this, as this sort of data is likely crowd sourced.

Re: Show HN: Meet.hn – Meet the Hacker News community in your city

#355

There seems to be undocumented requirements for romanizations of city names. Consider a Japanese city like 船橋市。 The official romanization (訓令式 / ISO 3602) would be "funabasi". This is how many people type the name with an IME. However, this is input is rejected, while "funabashi" is accepted. I'm not sure of a good solution. It may be a good idea to state the requirements somewhere

Anything supported by openstreetmap should work now.

I tested with 船橋市 and it finds "Funabashi, Chiba Prefecture, Japan". But you can also type "Funabashi" or "Funabasi" and results will still show up.

If something is still off, please don't hesitate to send a feedback on meet.hn/feedback

Re: Show HN: Meet.hn – Meet the Hacker News community in your city

#358

When I type in "Kraków, Poland", I get meet.hn/city/pl-undefined. Does your code handle diacritics correctly?

The code doesn't handle places that don't have a province, or similar concept on OpenStreetMap. See debugger: https://i.imgur.com/X379swH.png

Thanks for reporting! It should be fixed now.

Re: Show HN: Meet.hn – Meet the Hacker News community in your city

#359
post #91

This is nice, I zoomed in to where I lived and added my location. I then went to see who the nearest other HN profiles and see what they're into. Looks like their hobby is developing meet.hn! Nice work neighbor :D!

Oups, sorry for this but I was probably teleporting myself here and there to do some testing!

I'm actually in Toulouse, France these days.

Re: Show HN: Meet.hn – Meet the Hacker News community in your city

#360

Added myself to the map. At first it said it couldn't find my city but the issue seems to have resolved itself after a while, maybe after I zoomed in. Can your website handle accents? Trying to look up my neighbors in São Paulo and Goiânia redirects me back to the root page. https://meet.hn/city/br-São-Paulo https://meet.hn/city/br-Goiânia My guess is your website is choking on the accented characters. â U+00E2 LATIN…

This should be fixed now.

Sorry it happened and thanks for reporting!

Post reply on HN