Lessons for uncultured web developers
troyhunt.com
troyhunt.com
History of the internet: it was invented as a US department of defense research project, and grew into the beast it is today. You could buy a .com address years before the internet existed outside the US. Note that .uk exists for the same reason -- it should be .gb, which is the country code, but the UK had already been naming everything with "uk" internally.
So the .edu, .mil, .gov, and .uk got grandfathered in. Others disappeared: ARPA, NATO, Czechoslovakia. People can still register .su domains, if they like -- that's the country code for the Soviet Union.
Once a TLD sees enough use, there's no real way to get rid of it.
Also, Ukraine got shafted into another mismatch (UA is TLD and ISO alpha-2, UKR is alpha-3), although in their case one could say the country wasn't around when ISO codes were formulated. Some Linux distributions used to have a UK keymap which was... ukrainian. That was a lot of fun to fix (not).
The net was once a fun place managed by smart people, consensus, and working code. Now, a million times larger, all we can hope for is neutrality or ineffectiveness.
The .com tld was created in 1984, at which point there had already been international links for over a decade, so that doesn't really support the argument.
You get certain privileges for pioneering the development of a communications system, I guess.
I live in the UK and the general convention here is the the week on Monday. In find calendars (presumably designed in the US) that start on Sunday particularly frustrating and error-prone. Not being able to customise this is uncultured.
Different cultures have different conventions, and if a seven-day week is the norm then it start on Saturday, Sunday, or Monday [1]. And, of course, some cultures don't use a seven-day week.
[1] http://en.wikipedia.org/wiki/Names_of_the_days_of_the_week#N...
Uh, no. The work week starts on Monday, but the week starts on Sunday. The link you provide supports that.
I agree with everything else you say though. It's useful to know that some people don't work Fridays but do work Sundays, or some people have other customs.
You are correct that the Wikipedia article I cited says that in the Judeo-Christian tradition the week starts on Sunday, but that is clearly for religious purposes. Since the UK is home to people of many religions and none, I'm not sure why you think that Sunday is normative.
Serious question: does it feel different if your week starts on Sunday? Do you feel like your week is bracketed by a non-work day at each end?
[1] http://www.npl.co.uk/science-technology/time-frequency/time/...
And yet I get confused. Probably because I've grown up with Sunday to Saturday calendars, and almost no one else does a Monday start calendar in the US.
And while thinking about this post, I wondered, would it make sense to display calendars with both? An eight day display, showing last Sunday, this week, and the coming weekend.
Sunday in my youth was a quiet day. Shops were closed. TV was dreadful. I did chores and prepared for the coming week. Saturday was a day off for fun, Sunday was a sort of day off, but for quiet preparation.
Now Saturday and Sunday are days off for fun; tv is better; shops are open. So, it feels as if the week starts on Monday.
If it makes any difference I'm 42.
I didn't realise the mm/dd format was only officially used in two countries. I've never understood why it's use at all, it makes much more sense going from day-month-year. Is there a reason mm/dd was chosen in the US and Belize?
See also: power plugs. The British came up with a new British Standard plug seemingly every few years, and all the places we colonised use a different British Standard. We are the reason you need to spend $20 on a universal power adapter with 10 different attachments.
Regarding dates, I think yyyy-mm-dd makes sense (big endian dates) as you can sort naturally.
I don't know which came first, but it agrees with the way we say it out loud. "Today is September tenth." So, maybe that's why?
And I think in other countries, it's said the other way around, right? "Today is the tenth of September?" That would actually be okay sounding in the U.S., too, though a little uncommon. Can you say "Today is tenth September"? That sounds very weird to me.
Both read well, and when we use shorthand we use a "/" in place of the/of.
It makes more sense to order consistently by unit. So day < month < year
month > day < year seems a bit silly.
> September the Tenth
Even this sounds a little funny to my ears. In American English people say almost exclusively "September Tenth" in that order without any prepositions.
"On this date, the 10th of September, Year of Our Lord Two Thousand and Twelve..."
As an Australian living in North America for seven years, my ears still daily pickup when the American dialect leaves out words.
Examples that come to mind: "Two hundred three", "Write me", "September tenth"
I'd be curious to hear you elaborate on this one. In American school, I learned that 'two hundred three' is the only acceptable version, but in casual speech people invariably say 'two hundred and three', which sounds more natural.
Which one do you say?
There's a wealth of differences between British and American english: https://en.wikipedia.org/wiki/Comparison_of_American_and_Bri... (Of particular relevance here is the numbers section.)
Possibly regional, but I hear people say 10th of September quite often on the US West Coast. I would guess it has to do with the way we talk about the date... days in the future seem to follow the mm dd format while talking about the current date seems to follow dd of mm.
YMD is clearly the thinking person's choice. It's the one that naturally sorts in lexicographic order, and also naturally extends to YMDHMS.
You mean in english? Because in portuguese we use cardinals to refer to days, and not ordinals. "Dez de setembro de 2012"—literally: "Ten of September of 2012." I'd guess it's the same in spanish.
Does this practice extend to other official forms?
If you're doing timestamps, it should be yy/mm/dd, because that then feeds into the continuation of the descent into hh/mm/ss
Why don't we display dates as seconds since epoch? Because people don't recognize that format.
For technical purposes, use a date format with technical advantages (YYYYMMDD). For displaying the date for the user, format it so people can understand it (ex. January 10th, 2013) - and localize it if you have that information, or allow customization, or it all else fails, provide and explanation.
Coming from a country where we typically do dd/mm I can never remember what the English standard is. I've taken to always writing the name of the month to be sure.
Also, can the huge lead of the iPhone still be true? I thought Android was outselling the iPhone by now. But perhaps the low end Android buyers don't really surf?
As for the iPhone vs Android thing, the graph used by OP is a bit misleading (it's restricted to AUS only). I'd take a look at these ones instead: http://gs.statcounter.com/#mobile_browser-ww-monthly-201108-... or http://gs.statcounter.com/#mobile_os-ww-monthly-201108-20120... for worldwide.
I guess he's trying to highlight how it's different in different places around the world though.
Sweden uses it. In informal situations you often see d/m but whenever a year is present it's always y-m-d. In fact people identify themselves using this format as part of the national ID numbers that are used for everything from healthcare to newspaper subscriptions.
Several people who registered from the US stumbled over the form that lets you enter your birthday in "dd-mm-yyyy" format. Even though the format is explained right behind the form field. They were probably just as irritated as the majority of the world is by "mm-dd-yyyy". Not sure if using "yyyy-mm-dd" for birthdays works better internationally.
Maybe changing the format depending on the IP address would reduce confusion. Of course, users could also have an option to localize their date formats, but I assume most wouldn't want to bother.
By the way, the article contains Wikipedia's map of "Date format by country" which answers your question why nobody is using the ISO format for dates (some do):
[ 12 ] [ December |v] [ 1980 ]
(Please forgive my crappy ASCII Art month dropdown.)One person at a time.
Apparently the US military does this as well do avoid problems when liaising with other countries (01 JAN 1970)
Also, can the huge lead of the iPhone still be true? The author is Australian, and I'm wondering if his iphone data is national rather than international. The iphone here seems to have a bigger stranglehold than in the US, though that's merely my perception and I don't know the real numbers.
I'm only 1-2 years older than you, but I've noticed in my age group a huge swing from iPhones (or iPod Touch + dumbphone if you can't afford an iPhone or find a second hand one) to mid-range Android phones like the Galaxy Ace (which is probably the second most commonly owned phone among people I know, behind the iPhone 4) by people replacing iPhone 3Gs and 3GSes. The iPhone is still on top, but it's no longer dominant.
Also, for some reason I cannot fathom, a small group of blackberry users. Including one who traded in an iPhone 4 for one. I really don't see the appeal, but I guess some people just really like bbm + physical keyboards.
(Rough guess of the proportions among people I know is 50-55% iPhone (of which it's mostly 3GSes and 4's - the 4S is non-existent among my friends, which pretty much reinforces my theory that they're not buying new), 35-40% Android, 5% Blackberry, 5% dumbphones. I'm not aware of any WP users)
He explains in the text that this depends entirely on the target market. In some countries the iPhone utterly dominates and in others it's down in the baseline.
...erm, well damn.
Why's it so popular, compared to Firefox, Chrome, or something else?
(For anyone wondering, post codes in Ireland don't exist outside Dublin, and even then they're a number from 1-24, which doesn't validate either)
http://www.digital-dd.com/qihoo-browser-war/
Basically, exploiting people's ignorance of the Internet, security, and, according to them, the Chinese people's deference to authority.
It's not difficult to understand. If you're targeting a mainstream demographic in the US, then any domain name that isn't a .com is basically worthless. Among the non-tech-savvy, many will not even recognize "example.us" as a URL, and even the tech-savvy will sometimes forget and type "example.com", which means that you need to buy the .com as well.
So buying the .us domain in addition is basically just paying $4/year so that you don't look Americentric... in the rare case that somebody even notices.
1) I know that I've lost this war, but it's a shame that the browser that your customer is using is relevant. It's a shame that people can't just code standards compliant code and it'll run fine on any standards compliant browser.
2) Using letters instead of numbers for months is good. I'd prefer ISO 8601, but I know that's going to be a long time.
3) Names are a difficult problem. There's money to be made with a decent name input, validation, fixing library.
4) Is complicated for me. Do I want people to code standards compliant stuff with graceful degradation? Or do I want people to push those using obsolete broken systems to use something better? I had hoped that the rise of netbooks, and then smart phones, and then tablets, would make coders realise that many people are using weak[1] computers and code appropriately. Unfortunately many people have a regular site (big and stupid) and a mobile site (small, stupid, and usually broken beyond usable).
8) I'd love a better fix for timezones. I'd love some kind of markup magic that means Bob can type (something like) <13:45 EST> and it gets autochanged to whatever my local timezone is. (On a tangent, I want Minecraft to buy Swatch BEATS and so people can use those for online competitions etc.)
- - Andrew S. Tanenbaum
I wonder if he still thinks saying that was a good idea.
Just in case you fall into a premature delusion: If you market to Europe or Asia at all:
http://gs.statcounter.com/#browser-eu-monthly-201108-201208-... http://gs.statcounter.com/#browser-as-monthly-201108-201208-...
Asia and Europe beg to differ with their 25%+ IE ratios. Sometimes you can't "know your market". Google didn't market orkut to any region but by some freak chance of nature it became the social network in Brazil. Many times, you can't know who will use your product until they do.
Will you find buyers for your product in Asia or Europe? Considering the number of people who live there, probably.
p.s. One thing that bothers me about statcounter is that there are no absolute sample sizes specified so for all you know, the data could be based on 100 people.
If I know my target audience I can properly support them. I can give them the best possible experience because I understand their needs and their assumptions. However, if I don't, then when I try and I will fail in embarrassing and sometimes infuriating ways.
I like to develop and design purposefully. I want to make something that may be available to all, but is tailored to perfection for a small group. This gives me a set of constraints and frees me from others. When I choose a locality I can ignore others and focus on the assumptions and ideal experience for that locality.
Obviously this doesn't work if you're more of a 'fishing' based company. You need to be just good enough for everyone that some group or another will bite and then you can focus on them while maintaining 'good enough' for everyone else.
The thing I'd hate to see is developers reading this article and wasting time on i18n and RTL support when they should be focusing on an exceptional experience for a user group they understand.
Yes, yes, a thousand times yes! I'm a self-proclaimed domain name pedant and this gradual decline into mainstream abuse of ccTLDs drives me mad on a daily basis.
And are a pain to handle.
.com
- US$ 10 ~
- Many registar to choose (remember GoDaddy).
.xx
- US$ 40 ~
- Usually only one registar available, if you don't like it you're screwed
- Usually the most hideous admin interface, sometimes only functional in IE
However, pay attention to the fact that "top level domain" does not necessarily have anything to do with language.
For instance, .it = Italian, right?
Wrong. There are German and French language minorities here, amongst others. Other countries are even more confusing/problematic.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14...
Never gave it a second thought, but this actually explains a lot.
DST, of course, shifts the offset by 1 hour, and I've often noticed that sites mis-detect my timezone by an hour with startling regularity.
> In the UK, it’s all about .uk.
I very rarely see .uk domains, most at .co.uk
The search is fairly useless, it misses large chunks of Government services such as health and the military, and for those that it does cover it doesn't either a) go into much detail beyond generic overviews or b) provide easy to find links to more specific websites. E.g. I wanted to find out what local policing initiatives were happening in my area, so I went to the crime and justice -> police section, but there was no local information or links to my local police force. At the end of the day Google and the existing array of .uk sites I cited previously did the job marvellously.
Its also something of a red herring, as even if the enormous task of delivering what it promises is somehow achieved, the vast array of government agencies (all the way down to local government) are so disparate (particularly in relation to online presence and marketing) that they will not support it and will continue to promote their own websites directly, leaving it to fade into obscurity. Even Google and other automatic algorithms won't like it, because the more pertinent, local, definitive information won't be there.
The web works best as a decentralised, federated information store. Monolithic sites like these miss the point, miss the opportunity the web brings, and almost invariably fail to live up to the goals they set themselves. The fact they are usually over budget and over time is another side of the same coin...
Words have meanings, maybe you should learn them before you use them. Here's a hint, socialist isn't an insult or a dirty word.
It's the opposite of ridiculous, actually; it kind of exactly fits the definition of the word. I feel like you're going out of your way to take this personally?
Given that uncultured in this context is about lack of awareness of cultures beyond their own, your definition seems consistent with mine.
It's where Harpo Marx lives.
Lesson Zero: Don't Be A Sharecropper: http://www.tbray.org/ongoing/When/200x/2003/07/12/WebsThePla...