<input type=“country” />
shkspr.mobi
shkspr.mobi
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 a passport input? Does Scotland have it's own passport? How do I deal with Taiwan without pissing off Chinese web site visitors?
Tldr: The list depends on context. I'm skeptical that a centralized list could deal with commonly used contexts.
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.
TWN, the ISO country code for Republic of China, listed as "Taiwan, Province of China" in ISO 3166-1
The UK and the Netherlands are both (according to ISO 3166-2 [0]) countries which contain other countries.
The Kingdom of the Netherlands contains four countries, being The Netherlands, Aruba, Curaçao, and Sint Maarten. According to ISO 3166-2, there exists a country "The Netherlands" which contains the other three. Close, but not correct.
For someone who lives in the UK, you never know whether a list will have United Kingdom, Great Britain or England in it (I've come across all three), and similar problems exist for countries that are known by more than one name (eg Netherlands vs Holland).
And some sites break sorting by pushing certain countries to the top of the list and breaking sorting completely.
There isn't a completely right answer, a standardised country selector might work in some (most) circumstances for most people, but what if my list needs Czechoslovakia or Zaïre? Then, a "simple" problem becomes much, much, much more complex.
[0] https://www.smashingmagazine.com/2011/11/redesigning-the-cou...
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?
Do you also expect people to overlook a quip about gun control laws while explaining how monads work in Haskell, or is that conversation off the table because you embedded it inside another topic?
The comment doesn’t add to the discussion about whether a country field would be useful or how it could be implemented at all.
But anyway did you read the twitter thread? The writer proposed standardizing a common function so everyone wouldn’t have to roll their own.
A number of guys responded with ‘here’s how to roll your own’ as if she wasn’t intelligent enough to do that herself (and completely missing the point of the tweet).
Do you have a better word for that behavior?
It wasn’t an offhand quip like your gun control example, it directly related to the tweet she was talking about.
And yes, I would think most people could read an article without freaking out that the two words ‘gun control’ were in there if they were off topic.
It seems sad to me that seeing one word in an article is enough to derail the entire conversation because some people don’t like it. It’s not like it was a call to violence or something like that.
How about, "internet discussions". It happens to all of us. Male and female. I've also had women "mansplain" things to me whilst completely missing the point I was raising. It's not always done in malice or for egotistical reasons; sometimes people misread comments due to distractions (riding the train, working while tweeting, etc) and sometimes people just have to work a little harder with comprehension (like I do due to dyslexia).
> It seems sad to me that seeing one word in an article is enough to derail the entire conversation because some people don’t like it. It’s not like it was a call to violence or something like that.
Conversations are organic and rarely follow preferred paths. I've seen discussions on HN about typefaces or colour schemes on articles that couldn't be further removed from design. It sometimes sucks to see an interesting topic digress into something so seemingly relevant but the irony is by commenting about how disappointed you are about the tangent you are further contributing to the digression from topic.
As for this specifically, I doubt they corrected her because she was a woman. Ask any question on stack overflow about a specific edge case and you'll get a few people answering immediately about the general case and not your specific problem.
That's just people on the internet, my friend.
Is it mansplaining when men do it to each other or is it only if it happens to be a receiving woman? And do we call it womansplaining in the reverse direction? Do we pause the discussion until we know the genders involved so that we can use the correct word? Is it always about gender if someone responds to us in a less charitable way on the internet?
Or should everyone just make more charitable interpretations of each other's posts online?
Also, if socially charged topics are supposed to be ignored when embedded in another topic, what other topics are off the table? Can you say anything you want as long as it's tucked away in a small enough footnote? Or do we only walk on egg shells around topics regarding women? Is that the path towards equality in tech -- to only address topics that concern men?
If we have a responsibility to stand up when women are being attacked, then I think we have a responsibility to stand up when people dilute the issues that women face, like pulling the gender card when it happens to be a woman that receives the same sort of banter that we all have to deal with and ignore on the internet.
>It wasn’t an offhand quip like your gun control example, it directly related to the tweet she was talking about.
BTW the author is, as far as I can tell, a man: https://shkspr.mobi/blog/about/. He linked to the tweet and annotated it with the word that ignited this comment thread. The contention here is that many of us disagree.
Sorry to say, but everyone on the internet loves correcting each other and taking the most uncharitable interpretation of each other's posts.
Look no further than HN.
That they use "she" instead of "he" is actually a credit to the replying users insofar that they actually tried to get the gender correct before they launched into the usual assumption that everyone else on the internet is an idiot.
> maybe I’m just fed up with dudes explaining basic shit to me every time I tweet.
Frankly I think she was in the wrong in this occasion. She offered an idea which has a number of obvious flaws then gets confrontational when people offer counterarguments (ok the terseness tweets don't help but that's a platform problem due to its limited character count).
However I say the above without knowing any past history of abuse she might have had on Twitter.
In my limited experience with automating international shipping I seem to recall UPS treats Guam, Puerto Rico, and US Virgin islands as countries (and our local CRM treated them as states).
There are so many controls that HTML is missing - date pickers, menus, menu flyouts etc.
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.
Well, don't forget an altitude combo, since apartments exist :)
In the EU, for example, I'd bet that everyone above the age of 12 could find their own country on a map
This is a great idea
> while also marvelling at the witless mansplainers
Yeah, let’s make every discussion about gender, shall we?
How about no?
The trouble of the developer having to create this list themselves is the reason I made http://devdata.io - so you could at least have an easy starting point for all this data that is basically just copy/paste.
Is that not common? Would you expect someone to write down GDR, USSR, or even Constantinople? Or is it again the same issue that people want to use what they like?
There are 47 lists of countries in French (that's just an example, I guess English and Spanish have as many of those) in the project that provides them [0], including half a dozen or so just for different regions of France.
As far as I can see, almost of them are exactly identical except for the Canadian one (which has "Saint-Vincent-et-les Grenadines" instead of "Saint-Vincent-et-les-Grenadines" among other things).
For English, en_US and en_UK have differences as meaningful as "Wallis and Futuna" vs. "Wallis & Futuna". Arabic has 28 different versions, all strictly identical.
English, French, Spanish and Arabic "version" alone make up 33% of all content in the repo. What purpose does this serve? Who maintains these largely meaningless lists? Who chooses which languages make it to the list, and which regions do?
I'm as puzzled by that as I am by the choices people make about what countries make it to their list of countries in select lists.