Oct 302009
 

While visiting Spain/Madrid my partner finally managed to get a pay-as-you mobile that she could charge without requiring a spanish credit card, which never of us have, as we live in the UK.

Anyway, the mobile just cost €20 from Vodafone at El Corte Ingles and the phone can be topped up at ATM’s and shops.. This should hopefully cut down on our roaming charges..

Remember, you need to show a passport or the number will not be registered and you could lose it.

Oct 282009
 

We recently move from our trust TomTom One to the wizzy TomTom XL Live. Unfortunately some where in the update process, the TomTom live was only part activated…. basically the TomTom traffic update kept complaining the account did not have a valid subscription.

After a couple of frustrating conversations with their support the issue was identified.

The map update process had managed to zero out two important files, these being traffic.dat and tmccodes.dat. The support person said they would email the two files but I needed a quicker solution rather than waiting for the email (which so far has taken 1hr… as opposed to the 15mins that was promised).

Any the solution to is to extract these files from your downloaded maps, which will be in the TomTom Downloads area… on my mac these are found in the file “Western_Europe.zip”.

So I just extracted the files with:

mkdir tmp
cd tmp
unzip -x ../Western_Europe.zip traffic.dat tmccodes.dat

and then replaced the files in the maps/Western_Europe directory on the TomTom itself, safely unmounted the TomTom drive, reboot it… and it worked…

 

Hi,

While creating this website I looked at various widgets for translating the webpages on the fly… none of them were as easy to use as googles… so…  If you are lazy but still want people from with other countries to view your website without the aid of a translator. You could use googles web page translator via:

http://translate.google.com/translate_tools?hl=en

For user of iWeb, it could be easier just select the “HTML Snippet” drag the icon to you page, then cut-paste the html code from the page above and press “apply” and you will be left with “Select language/powered by google” widget that you move around and place it where you want…

Nice I say.. thank you google..

C# and reserved words

 CLR, CSharp  Comments Off
Oct 232009
 

Have you ever wanted to create some real nasty code in C#… Well C# has a mechanism that allows a token to be used as a literal, thus avoiding the reserved word clash issues… For example;


int @int = 1;
@int = 2;

if (@int == 2)
{
@int = 3;
}

Just imagine the sort of rubbish code that could be create… remember because it is present you don’t have to use it!

© 2012 The ramblings of a yorkshire tyke Suffusion theme by Sayontan Sinha