Dec
06
Posted (Johan Känngård) in Life on December-6-2007

When trying to buy a new map on tomtom.com, I got this message:

Something went wrong::

* No account found with this e-mail address or password

x@y.z however is registered in the NL site. You can either create a new account in the current site - you have to pick a new username/emailaddress - or go back to homepage, choose the correct site from the dropdown on the right-top, then re-enter the items in your basket. You will then be able to logon and associate the order with your existing account

Why don’t they have a universal login to all their shops? And why do my account belong to the Netherlands when I live in Sweden?

When I bought the TomTom Navigator 6 application, my device wasn’t listed on the “supported device” list, so support has neglected my questions ever since I first tried it, and I will not try any more. I bought the Western Europe map kit with the application, and I had a vacation in Iceland this summer. Strangely, Iceland is not part of western Europe according to TomTom, since it wasn’t included….
Note to self: don’t buy any TomTom products, and only buy products that is supported on my device…



 
Dec
04
Posted (Johan Känngård) in Domino/Notes on December-4-2007

I’ve added 8.0 to the list.



 
Dec
01
Posted (Johan Känngård) in Fun on December-1-2007






 
Nov
12
Posted (Johan Känngård) in Fun on November-12-2007




 
Nov
05
Posted (Johan Känngård) in Fun on November-5-2007


 
Nov
03
Posted (Johan Känngård) in Fun on November-3-2007


 
Oct
31
Posted (Johan Känngård) in JavaScript on October-31-2007

Internet Explorer does not have an indexOf method in the Array object. Here is how you can add your own:

if(!Array.indexOf){
  Array.prototype.indexOf=function(o){
    for(var i=0;i<this .length;i++)
      if(this[i]==o) return i;
    return -1;
  }
}

Use it like this:

var a=new Array('aaa','bbb','ccc');
alert(a.indexOf('bbb')); // Shows 1 as it is the index of 'bbb' in the a Array.
alert(a.indexOf('b')); // Shows -1 since 'b' is not a member of the a Array.