News for hackers. Stuff that matters.

Ask HN: Review my new single service website

http://www.simplecountrycodes.com/

The idea is to offer a completely painless way to find the country codes you need when dialing internationally.

What I'm looking for is ideas to make the process potentially simpler, easier to use, or more useful. Any feedback would be greatly appreciated!

( 49 comments | 17 points | on HN )
Re:Ask HN: Review my new single service website by pclark on Tuesday April 28, 2009 @10:46AM (#583181)
You should make the cursor snap to the first text box upon loading of the page

Can you make it not autocomplete text in the text field? Eg, type UK and it fills in UKraine ... nicer if it only auto completes when I click a result / select with arrows and press enter/tab.

Make the error page (select 1 country and click submit) much nicer, ideally inline javascript.

I'd make the results auto generate above the text fields, this way I can easily enter another two countries to calculate simply by pressing tab a few times.

It's also too hard to return back to the home page (assuming you don't do the above suggestion) -- how about a little image at the end of the sentence which when clicked takes you back to the homepage?

thats all I can think of right now - cool app!

Re:Ask HN: Review my new single service website by ahlatimer on Tuesday April 28, 2009 @11:59AM (#583357)
Personally, I hate it when my cursor snaps to the first open text box. Maybe I'm the only one annoyed by it, but I'd suggest against it.
Re:Ask HN: Review my new single service website by eru on Tuesday April 28, 2009 @12:08PM (#583395)
I tend to like it. So you'd better do an A/B-test before committing either way.
Re:Ask HN: Review my new single service website by RossM on Tuesday April 28, 2009 @12:10PM (#583403)
I agree, it's much preferable than to tabbing to it (since most sites don't use tabindexes).
Re:Ask HN: Review my new single service website by trevelyan on Tuesday April 28, 2009 @12:53PM (#583504)
You can focus the text box without moving the person's cursor. That's a much better approach imho.
Re:Ask HN: Review my new single service website by eru on Tuesday April 28, 2009 @01:27PM (#583572)
I'd thought that was what was meant originally.

But --- so websites can not only move focus around but also the (mouse) cursor?

Re:Ask HN: Review my new single service website by Jakob on Sunday May 03, 2009 @03:52PM (#591209)
Sure. Search for "Windows.Forms.Cursor.Position"
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:25PM (#583820)
Great discussion. Will try some A/B testing here and test bounce rates.
Re:Ask HN: Review my new single service website by Jakob on Tuesday April 28, 2009 @11:09AM (#583222)
One important point is missing: If I want to phone to Germany, I have to omit the first zero of the area code. Phoning to Italy I mustn’t omit it.

Make the result inline javascript. One page load less.

Additionally, wouldn’t it make sense to add some "dial this number now with Skype" or some related service?

Good service.

Re:Ask HN: Review my new single service website by jgrahamc on Tuesday April 28, 2009 @11:57AM (#583354)
Ideally there'd be a third box where I can enter the number I'm trying to call and the service would tell me exactly what to dial.
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:47PM (#583887)
Love the idea. That's Phase III :)
Re:Ask HN: Review my new single service website by sounddust on Tuesday April 28, 2009 @11:59AM (#583359)
Same thing with France; you have to omit the first zero. Furthermore, there really isn't an "area code". You should just say to omit the first zero of the number.
Re:Ask HN: Review my new single service website by staunch on Tuesday April 28, 2009 @12:50PM (#583498)
Same with Japan...

If you want to call 080 7653 9523 you dial 011 81 80 7653 9523

Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:24PM (#583819)
Great feedback.
Re:Ask HN: Review my new single service website by JeremyChase on Tuesday April 28, 2009 @10:54AM (#583191)
You could also think about using geolocation to pre-populate the first box. They have a free database and API that would work for this application: http://www.maxmind.com/app/support
Re:Ask HN: Review my new single service website by cabalamat on Tuesday April 28, 2009 @12:37PM (#583469)
And use cookies so that the value in the first box is the same as it was last time.

While you're at it, why not expand the site so it contains more information about countries, e.g. include internet country codes. Include currencies for the from and to countries and currency conversions.

Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:24PM (#583817)
Like the idea of keeping the previous values, though I'll try to see if I can do this without cookies.

In regards to the second idea, I'm trying to keep the site as simple as possible, and adding anything else will only hurt (imho).

Re:Ask HN: Review my new single service website by eru on Wednesday April 29, 2009 @05:46AM (#584808)
I agree. Of course you can add a link to another single service site of you (or Wikipedia etc), that include that information.
Re:Ask HN: Review my new single service website by teej on Tuesday April 28, 2009 @11:29AM (#583279)
Re:Ask HN: Review my new single service website by jlees on Tuesday April 28, 2009 @11:10AM (#583228)
On this Mac laptop, screen at full brightness in daylight, I can hardly see the grey text.

Although it says 'country' I can see a lot of people typing in cities. Any way to resolve those as well?

Also: trim whitespace. I typed in UK, hit space to remove Ukraine as a match, and it said no matches for "UK ".

Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:28PM (#583831)
Good point. Will think about this one.
Re:Ask HN: Review my new single service website by resdirector on Tuesday April 28, 2009 @12:36PM (#583465)
Perhaps include current time in the from-country and to-country? Perhaps, also let the user set when they plan to call, e.g., 5pm to-country time, and it gives the from-country time...and vice versa.
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:26PM (#583822)
I really like the idea of showing the country times. I've been looking into ways to do this, but it isn't trivial. I will definitely keep keep thinking about this. I personally would find it really useful.
Re:Ask HN: Review my new single service website by resdirector on Tuesday April 28, 2009 @09:48PM (#584413)
Is it getting-the-data which isn't trivial? You can write a crawler for wikipedia. Each country has their time zones in their entry (nicely formatted which makes it easy for parser to find), with daylight saving information too. Many countries, are, of course spanned across a few time zones, but that shouldn't matter.

The root page for your crawler could be: http://en.wikipedia.org/wiki/List_of_countries_by_population, for instance.

Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @10:23AM (#583138)
One thing I'm finding that I didn't plan for is that I'm getting a lot of visitors from outside the US. Any advice on internationalizing the site?
Re:Ask HN: Review my new single service website by RossM on Tuesday April 28, 2009 @12:13PM (#583412)
You don't seem to have a lot of content actually on the site. My suggestion would be to build a phrase table for country names, and set a cookie after the user has entered their home country for use later on.
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:30PM (#583841)
Agreed.
Re:Ask HN: Review my new single service website by eru on Tuesday April 28, 2009 @12:10PM (#583405)
Just put up a some simple text: "If you'd like to help translate this site into your language, please feel free to drop me a line at [email]. Thank you!"
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:29PM (#583836)
I like it! Crowdsource it. I'd probably want to have at least two people do it independently per country to make sure they aren't saying naughty things.
Re:Ask HN: Review my new single service website by eru on Wednesday April 29, 2009 @05:44AM (#584806)
You can also check their translation by putting it back into English with an automated translator. (Google has one for example.)
Re:Ask HN: Review my new single service website by mshafrir on Tuesday April 28, 2009 @11:53AM (#583343)
Allow a user to specify a country's name by its common abbreviation. For example, UAE for United Arab Emirates.
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:27PM (#583826)
Any ideas where I could find all of the common abbreviations?
Re:Ask HN: Review my new single service website by tezza on Tuesday April 28, 2009 @01:01PM (#583516)
Hi there lennysan. Nice idea.

My (minor) comment is:

Work on the keystrokes when the type ahead box appears.

For instance GR selects

Greece ... Great Britain.

In this mode the UP arrow should select Great Britain. Currently it is not bound.

Just my usability 2p.

Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:28PM (#583829)
Awesome tip, will investigate.
Re:Ask HN: Review my new single service website by areaMan on Wednesday April 29, 2009 @03:11AM (#584716)
Your (barely visible) footer "We hope all of the data here is accurate, but if you find that it is not please send comments/suggestions/bugs to @countrycodes."

what's the email ID again?

I'm sure you would've already seen it, but incase if not, try getting in as many features (OR NOT) from http://www.timeanddate.com/worldclock/dialing.html

It already supports abbreviations like USA and UK, but not UAE. Also auto-completion should come in only if I press the arrow or down keys. If I enter UK, it should not automatically assume UKraine.

Re:Ask HN: Review my new single service website by tezza on Tuesday April 28, 2009 @01:09PM (#583535)
Another comment.

Looking at Great Britain -> Australia, you say ::

... 00 + 61 + area code + phone number

There are only 7 such area codes. These correspond to an Australian State. Probably it would be worth listing some _example_ phone numbers in each State, with a label to each State. Often I have a local person give the phone number in an email, presuming I'm in the same State.

----

e.g

Victoria :: 00 + 61 + 3 + 9651 8911 (Vic Parliament)

New South Wales :: 00 + 61 + 2 + 9230 2111 (NSW parliament)

Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:32PM (#583843)
Trying my best to stay away from all that manutia for now, at least until I can justify the amount of work necessary to do that. But agreed, could be really useuful.
Re:Ask HN: Review my new single service website by amjith on Tuesday April 28, 2009 @12:10PM (#583402)
You can take it one step further and add the area codes to your database.

So I can choose to call munich from US, and it'll autofill the area code and the country code.

Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:30PM (#583839)
I'm doing my best to avoid that (for now) :)

But I agree, could be really useful.

Re:Ask HN: Review my new single service website by HeyLaughingBoy on Tuesday April 28, 2009 @04:16PM (#583944)
Couldn't you just call directory assistance? Usually free the first few usages and most people aren't calling different countries enough that they won't remember the codes for the most recently called ones.
Re:Ask HN: Review my new single service website by tracy on Tuesday April 28, 2009 @12:28PM (#583444)
Bad gray and make the info text disappear when one clicks in the field.
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:30PM (#583837)
Not sure what you mean, but I presume the gray auto-replaced text isn't great?
Re:Ask HN: Review my new single service website by sachmanb on Tuesday April 28, 2009 @12:19PM (#583422)
Like it, bookmarked it. You could try and make it simpler (be careful....) but it does exactly what it's supposed to really well. I like the combobox usage as opposed to a dropdown.
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:33PM (#583846)
Thanks! Any ideas how to make it simpler?
Re:Ask HN: Review my new single service website by resdirector on Tuesday April 28, 2009 @10:05PM (#584428)
Is it possible to try and default to the country the person is actually in? That is, look at their IP address?
Re:Ask HN: Review my new single service website by psranga on Tuesday April 28, 2009 @02:16PM (#583685)
Very nice. How about if the result appeared inline below the "Lookup" button instead of on a new page?
Re:Ask HN: Review my new single service website by mattmcknight on Tuesday April 28, 2009 @12:57PM (#583509)
Are single service websites the same as single serving websites?
Re:Ask HN: Review my new single service website by lennysan on Tuesday April 28, 2009 @03:32PM (#583844)
Never differentiated the two myself
Re:Ask HN: Review my new single service website by chanux on Tuesday April 28, 2009 @11:57AM (#583352)
Simple enough!