Tuesday, January 11, 2011

Why the colour of you USB connectors does matter

Recently I was one of the lucky IBM staff who received an updated Laptop. The current policy is to supply software developers with a W510 Lenovo Thinkpad. Unfortunately, the employees getting these new laptops have not been totally happy. While the laptops are very powerful and have impressive specifications, most people (including me) have experienced some problems. It seems the laptops do not work smoothly out of the box and the users need to spend some time updating their BIOS and device drivers to get their laptop working satisfactorily.

When I got the laptop first, one of the things that puzzled me was the fact that two of the USB connectors at the side were blue while the third one at the back was yellow. Initially I thought this was simply a matter of aesthetics, but after a while I noticed that some devices behaved differently depending upon which colour port I plugged my device into.

I did a little bit of research on the internet and it seems that this is not just an arbitrary colour scheme. The blue USB ports implement the new USB 3.0 standard. Although this new standard offers the promise of dramatic increases in speed, there are not many devices in the market yet which use this standard. While USB 3.0 should be mostly backward compatible with USB 2.0, the yellow USB 2.0 port is supplied just in case there are any incompatibilities. In addition, the yellow connectors also have a neat feature in that they allow you charge up you USB devices even when the laptop is turned off (see here for details).

Many people seem confused by the different port colour and not everyone sees exactly the same behavior depending upon their BIOS configuration  (e.g. this query in the Lenovo forum). My own personal observations are as follows (your own mileage may vary):

  • If I have a USB mouse or keyboard plugged into the blue USB port when I turn on the laptop it will fail the power on self test. However, if I plug a USB mouse or keyboard into these ports after the laptop has booted they will work fine.
  • If I have a bootable USB key the laptop will only boot from it if it is plugged into the yellow USB port.
  • My mobile phone can be charged from any of the USB ports, but it seems to charge up much quicker when I plug it into the yellow port as compared to when I plug it into a blue port (this seems to conflict with some information on the web which implies that USB 3.0 has higher power capabilities)

Sunday, January 9, 2011

Why I was wrong - Loc8 codes are a great idea

Ireland is pretty unusual for a developed country in that we have no system of national postcodes. Although the government have being discussing the introduction of postcode system for the last few years, but the discussion doesn't seem to be getting any closer to reaching a conclusion.

Loc8 LogoIn the meantime an enterprising company from Cork have invented their own post code system called Loc8 and they are actively promoting its adoption as a de facto national standard. To quote from their new web site "Loc8 Codes are the first and only All-Ireland Digital Address Code which is a smarter form of postcode. You can now easily find an exact location anywhere on the island of Ireland".

I looked at their web site and was quite impressed by the very sensible system that they are proposing to algorithmically transform between latitude and longitude coordinates and a post code string which is easy to remember. However, my inner geek was disappointed with the lack of detail provided about how the transformation was done and the company seemed to have the attitude that since they provide a free and easy to use conversion utility on their web site they didn't need to tell people the details of how the conversion was done. I was further outraged when I clicked on the link to their terms of use document - although I didn't read it carefully I was surprised to see a lot of legal jargon setting out restrictions.

I recently wrote on my blog about how Loc8 codes were basically a good idea, but that their restrictions were unreasonable for any proposal that hoped to be adopted as an official government standard. One of the people behind the company responded to blog post pointing out that do not in fact place restrictions on the use of Loc8 codes. The restrictive terms are in fact merely restrictions on the use of the aerial images from the Ordinance Survey office that they use on their webs site (and these restrictions are outside their control anyway).

A closer reading of their legal documentation made it clear to me that I was wrong in my interpretation. I am happy to admit my error and publicly state that I have been converted into a fan of this proposal.

Wednesday, January 5, 2011

A post code system for Ireland

I read an article in yesterday's Irish Times which spoke about the post code system that they say will definitely be launched by the end of 2011. While I think that a system of post codes for Ireland would be a great idea, I am sceptical about the likelihood of it being launched this year. Part of my skepticism comes from the fact that there is no clear agreement on how the new post code system will work, but also I have heard such confident predictions about a post code system before. For example, this news item from RTÉ which was written in 2005 an confidently predicted that Irish postcodes would be in operation by 1st of January 2008.

The current proposal is that the post code system  will start with a number of letters identifying the nearest town or city. This proposal has generated a backlash from the Irish language supporters who are insisting that the initial letters in the post code should come from the Irish name for the town rather than the English name for the town - in many cases these would be the same but Dublin/Baile Átha Cliath is a high profile example where they differ. In addition, if the system was to be adopted I can easily envisage a situation whereby small towns could be campaigning to have their own initial letters rather than being lumped in with a rival town.As a result I think that any system based upon place names is doomed to failure and disagreements. Instead we should ensure that the post codes are based upon latitude/longitude coordinates. This is especially relevant in the modern world where SatNav systems are almost ubiquitous and all work of of lat/long coordinates. For example the LOC8 system being pushed by Garmin has the general right idea in that they have a simple algorithm that converts between lat/long coordinates and a more easy to remember alphanumeric post code.

The one big problem with the Loc8 system is the fact that they are treating the algorithm to convert between post codes and the coordinates as a trade secret. I think that the company behind the Loc8 system is very foolish to take this attitude because they would make more money from their technology if the government were to adopt it as the official post code system, but there is no way that the government could endorse a postcode system whose workings were kept secret. . As I mentioned the algorithm is quite simple and so it would be trivially easy to reverse engineer the algorithm given a few sample coordinate/postcode pairs and the details that they provide on their web site. However, my understanding is that the company behind the Loc8 system would sue anyone that published the details of their algorithm - they don't charge people a fee to convert, but their policy is that the only way to do the conversion is via their web site.

Tuesday, December 28, 2010

How cold was it over the Christmas period?

In Ireland the weather is always one of the most common topics of conversation. However, this Christmas period people were spending even more time than normal speaking about the weather because of the fact that we had a white Christmas which is quite unusual for us. The weather in Ireland is very localized so people are constantly asking each other "what is the weather like where you live" because the weather can be very different just a few miles away.

By lucky co-incidence Santa brought be a weather monitoring station (I must have been very good this year). I only assembled it around mid-day on Christmas and today I tried uploading some of the data from it. As you can see from this chart the temperature was slightly below zero when I installed int and dropped sharply as night fell, but then the thaw started.

Temperature Plot

 

A quick search of the internet revealed several interesting sites such as this one which have links to lots of useful software which can be used for manipulating and presenting data collected from weather stations such as mine. I suspect this present will provide me with many hours of very enjoyable fun. I am glad that I provided Santa with a very clear hint about what I wanted :-)

Friday, December 24, 2010

What would the nativity story looked like if they had the internet back then

Christmas is a time for traditions so it is fun to consider how the nativity story could have been different if they had the Internet back then. This video does that.

I hope you enjoy it. Not surprisingly I found this video when a friend shared it on Facebook.

Monday, December 6, 2010

Why can't Dublin Bikes facilitate casual use by tourists?

As many of you know I am a keen cyclist. Because, I have my own bike. I don't have a lot of cause to use the Dublin Bikes rental scheme, but I have been very impressed with the scheme whenever I do have a cause to use it. The only gripe I have about the system is that it is cumbersome to sign up and it typically takes several days to get a membership card. Unfortunately this means that the scheme can't be used by tourists visiting Dublin.

There is a similar scheme in many other cities. I see that the London cycle system recently added a facility for casual users to rent a bike without having to have an annual subscription. I wonder why Dublin bikes don't introduce a similar facility? I am sure tourists would love to use it to cycle around the city centre.

Friday, December 3, 2010

If you are too lazy to unsubscribe from an email list - let unsubscribe.com do it for you

If you are like me you have probably carelessly subscribed to several mailing lists and you find the regular emails from these merchants to be vaguely annoying. Most of these maliing lists would probably remove you from their mailing list if you took the trouble to follow their process for unsubscribing. However, this can be a lot of trouble and there is always the risk that the senders are unethical hackers and will treat your click on their unsubscribe link as encouragement to send you more annoying emails.

Luckily there is a service called unsubscribe.com which will look after the unsubscription for you. After you register, you can either use their unsubscribe buttons (they have buttons for all of the major public email providers) or else you can simply forward any emails from the mailing list to mail@unsubscribe.com - they have software which can recognize which email list has sent the promotional email to you and they will initiate a removal request on your behalf.

They have a free account which will unregister you from a maximum of 5 lists per week. If you want more you can purchase a paid subscription, but I generally find that 5 per week is enough for me.

Thursday, December 2, 2010

Still waiting for global warming to show up in Ireland

I must admit to being somewhat skeptical of the scientists who continue to warn us that the global climate is definitely warming up rapidly due to the effects of human activity. While I do accept that human activity may be having an effect upon climate, it is hard to believe the confident predictions for what the weather will be like in 20-50 years from a profession that routinely fails to accurately predict what the weather will be like tomorrow.

Of course my skepticism may be influenced by the fact that I live in a country where the weather is notoriously unpredictable. This probably also explains why weather is a constant topic of conversation in Ireland. A colleague from Egypt once told me that Egyptians rarely speak about the weather, because for them it is a boring subject for conversation (pretty much every day is hot and dry).

The last week or so has seen the temperatures in Ireland reach a record low for the month of November. As you can see from this picture taken out my back garden, we also got quite a significant covering of snow. While this naturally caused some disruption, I am glad to report that life and business has not come to a complete halt. The children of course are delighted with this rare chance to build snowmen and play snowballs.

Tuesday, November 30, 2010

A simple way to be reminded of things you need to do

Nudgemail LogoSome people are very effective at using a methodology like GTD to track what are the most important things to do each day. However, the rest of us tend to simply focus our attention on the most recently arrived emails in our inbox. Luckily there is a really useful service called NudgeMail that I recently discovered which will send you email reminders on a scheduled date.

This free service is amazingly easy to use. For example if you wanted to be reminded that you should return your library books next Saturday you simply send an email with the subject "Return library books" to "Saturday@nudgemail.com" and next Saturday you will receive a copy of your email sent back to you. You don't even need to sign up because the one piece of personal information they need is your email address and this can be retrieved from your first email. They accept a wide variety of formats to specify the reminder date and time - they will send you a full list of acceptable formats in response to your first email.

I have no association with the people behind the service, but if you try the service I know you will find it useful. Maybe your first email can be emailing "tomorrow@nudgemail.com" with a subject line of "leave a commend on Brian's blog thanking him for recommending Nudgemail to me" :-)

Thursday, November 25, 2010

What operating system do people use to read this blog

Google Analytics is a wonderful tool for collecting statistics about the users of your web sites. I blogged before about how the readers of this blog are much more likely to use Firefox than the readers of another blog I maintain with news about a local soccer team. This time I decided to look at the operating system used by the visitors to the two sites.

The results are summariesd in the table below:
PlatformMy BlogSoccer BlogDifference
Windows62%72%10%
Linux26%4%-22%
Macintosh9%18%9%
Other3%6%3%

The facts that jump out at me from these statistics are:
  • While Windows is clearly the most popular operating system, its level of dominance is nowhere near as hight as I would have thought.
  • The second most popular platform for readers of this blog is Linux (probably because I occasionally write about Linux related topics), but the second most popular platform for readers of the soccer blog is Macintosh (almost one in five readers use this platform).
  • Most of the "other" category is accounted for by various mobile platforms. They account for relatively few readers of either blog. I think that although many people have SmartPhone devices, they don't often use them for browsing the web of reading blogs.