Live data from Hacker News

shkspr.mobi

31–40 of 74 posts

Re: <input type=“country” />

#31
post #15

Earlier quoted context omitted.

An input list of all current passport issuing countries would be useful. The Scotland problem doesn't arise as they don't issue passports (the UK does).

what about taiwan? what about taiwan if you're in china...?

My thoughts exactly.

This means Google would be determining whether Taiwan is an independent country or not, making either China, or more probably Taiwan unhappy. Something besides the browser would need to determine what your list of countries is, like the site itself... but a solution like that is much less elegant. Chrome having regional behavior also just sounds like more mess for devs. Some sites will deliberately want to pick sides, and should be able to.

Geographic data will have to come from somewhere, to add countries to this list that "don't exist" in whatever the built-in list of country options is.

Re: <input type=“country” />

#32
post #14
post #6

Just do longitude and latitude. Show a map of the earth and let them drop a pin. There is no reasonable way to get the world to agree on a single list. I doubt you could get browser developers to agree on a single list. For example Apple listing Taiwan in Safari could get Apple kicked out of mainland China. There is simply too much politics here to be tenable.

I wonder how many people could find a country on a world map and drop a pin. I bet it's not too many.

It would be much higher given it's their own country.

Re: <input type=“country” />

#33
post #19

Classic simple problem that's impossible to solve. The thought that web browsers support could solve this problem speaks volumes about the kind of rate people _think_ software gets updated. You could never trust input=country to be supported much less up to date thus it will always be poly filled by some library. So why the false hope?

this would have to be supported on the network level, something like DNS with temporal querying for 'i was born in yugoslavia' type of forms.

But by the time this happens - there's a huge probability our browsers will no longer be rendering any HTML.

Re: <input type=“country” />

#34
post #15

Earlier quoted context omitted.

An input list of all current passport issuing countries would be useful. The Scotland problem doesn't arise as they don't issue passports (the UK does).

what about taiwan? what about taiwan if you're in china...?

I believe Palestine has a similar issue. They have passports, but few countries recognize them.

Re: <input type=“country” />

#35
post #2

I have my doubts as to whether a generic solution solves this. The author notes some issues, like using it for place of birth. Now you need a temporal list for "countries that existed in year XYZ". There are similar issues for shipping. Not everyone ships everywhere. If the list is abstract and unknown to me, how do I whitelist/blacklist? Am I supposed to know that Scotland exists in the list or not? What if it's for…

An input list of all current passport issuing countries would be useful. The Scotland problem doesn't arise as they don't issue passports (the UK does).

Sealand issues passports, but they are not recognized by any other country.

Re: <input type=“country” />

#36
post #6

Just do longitude and latitude. Show a map of the earth and let them drop a pin. There is no reasonable way to get the world to agree on a single list. I doubt you could get browser developers to agree on a single list. For example Apple listing Taiwan in Safari could get Apple kicked out of mainland China. There is simply too much politics here to be tenable.

It's an interesting idea - but what about people who live close to a border? You have to zoom in quite far in to adequately find, say, Monaco.

Re: <input type=“country” />

#37
post #23

Earlier quoted context omitted.

An input list of all current passport issuing countries would be useful. The Scotland problem doesn't arise as they don't issue passports (the UK does).

And then someone tries to use it for an app where you have to select which national football you play for.

Or anything involving legal system/jurisdiction or company registration (both of which are differ between countries within the UK).

The UK and the Netherlands are both (according to ISO 3166-2 [0]) countries which contain other countries.

[0] https://en.wikipedia.org/wiki/ISO_3166-2

Re: <input type=“country” />

#38
post #29

How do you define a country? Is it what current western world considers a country? Meaning whatever US and EU allies (puppets) + Japan decide? Definition of a country is very flexible thing and depends on current political order. I.e. is Tibet a country?

> A puppet state is a metaphor of a state that is supposedly independent but is in fact dependent upon an outside power. It is nominally sovereign but effectively controlled by a foreign or otherwise alien power, for reasons such as financial interests. Please tell us which European countries are US puppets.

Germany (still occupied by US army today), UK. Most of Eastern Europe.
Post reply on HN