Transferring calendar and contacts from Nokia to Google

I recently upgraded my lovely but old-fashioned Nokia N73 to a shiny new Android – the HTC Desire. It’s a great phone, but I have hundreds of events, contacts, tasks, and notes in the N73. How to get them across?

Well, there are a few ways *not* to:

  • Don’t follow Google’s advice and install Mail for Exchange on the old phone, pointing it to your Google account. This didn’t work for me – ‘connection failed’.
  • Don’t follow Orange’s advice and put your new SIM in your old phone and save your contacts too it. Good stop-gap, but all entries are truncated and case-smashed.
  • Don’t try registering for Orange Sync.  The website hung for me at the registration screen.

Instead, do the following.

  • I used Nokia PC Suite 7.0.9.2 on Windows Vista.
  • Do a full phone backup before you start! It’s too easy to sync the wrong way and wipe everything.
  • In PC Suite, make sure your phone is not set to auto-sync on connection.
  • In Windows Calendar (not Windows Live Messaging calendar), create a new calendar and deselect all the others.
  • Choose the Contacts menu option, which dumps you in Explorer with some shell extension running.
  • Delete any contacts that are here already (if you care about them, save them first).
  • In PC Suite, create a new sync setting. Sync calendar and contacts, to Windows Vista Calendar and Contacts, choosing the calendar you named earlier. Choose ‘advanced’, and set conflicts to prefer phone and one-way sync from phone to PC.
  • Do a sync.
  • Go to Windows Calendar, make sure only your new calendar is selected, and export it as an .ics file.
  • Choose the Contacts menu option, select all contacts, and save as a folder of vCard files.
  • In the command prompt, go to the folder and type

    for %f in (*.vcf) do type %f >>all
    ren all all.vcf

  • On your PC, log into Google and go to Calendar. Go to Settings, Calendar Settings, Calendars, Import Calendar.  Click Browse and choose the .ics file you saved earlier.
  • Now go to GMail.  Go to Contacts, Import.  Click Browse and choose the all.vcf file you saved earlier.
  • On your phone, go to Settings, Accounts and Sync, Google, and sync your contacts and calendar.

That’s it!

I haven’t yet worked out how to move my tasks or notes across.

Fixing the Swan Teasmade backlight

We love our Swan STM100 Teasmade – two fresh cups of tea, in bed, whenever we want. But like many other people, we found the blue backlight far too bright – so bright it disturbed our sleep.

I got a bit tired of covering it up with a cloth every night. Here’s how I fixed it properly – the Gurunoia Teasmade backlight mod.

How to turn off the blue backlight on a Swan STM100 Teasmade

Note: this modification will void your warranty, can expose you to dangerous electrical voltages, and may ruin your Teasmade permanently. I’ve documented what I did to my machine here for information only – follow at your own risk.

The Teasmade is well put together and solid, but it seems to have rather more screws than strictly necessary. The module is a bit tricky to remove and replace, but everything else is straightforward. You’ll need a crosshead screwdriver, a craft knife, and a bit of patience.

1. Start by removing all 10 exposed screws from the base of the Teasmade. Then remove the base. All these screws are the same length.

2. Hold the Teasmade upside down with the clock facing away from you. Identify the large flat module that contains the clock, buttons, and controller. In a moment you’ll be sliding this out.

But first, slide out the thin rectangular grey heat shield between the boiling chamber and the module. You’ll need to flex it a little and push the wires out of the way to do this. It slides straight up.

3. The module is held in by two screws – one on top at the right, and one down the bottom at the left. Remove both screws. The two screws are identical, but different from the first set – they have a built-in flange.

4. Now very carefully slide the module up and out. This is a bit tricky, since you have to do several things simultaneously:

  • Flex the front panel away from the buttons (you need to use considerable force for this, but don’t use any tools or you may mark the panel).
  • Depress the buttons so they can slide up under the panel.
  • Slowly edge the module up on first one side then the other.
  • Unclip the module from the two screw posts from which you just removed screws.
  • Unhook the cable tie from the right-hand screw post.
  • Take care not to break the attachment of the delay-start button on the centre screw post as it slides past (although I did and it still works fine).
  • Take care not to lose the springs under the buttons (particularly the alarm-set and time-set buttons, which are not attached).

5. Undo the 12 screws on the clear side of the module. These screws are again identical, but different from the earlier screws. Swing the opaque plastic rear cover out of the way, taking care not to bend the components on the board as the cover passes them.

6. The clock face is backlit by four blue LEDs at the corners of the main board (KC-800-PC-V1.0). These are wired in series and controlled by a single transistor (TR2) driven by the microcontroller.

To disable the LEDs, all you need to do is break the connection anywhere in this chain. I chose to cut the trace at the top of the board, between the first and second LEDs. Use a sharp craft knife to cut through the green mask and the copper trace, into the fibreglass board. Go over it a few times to make sure it’s completely severed.

You can reverse this later by bridging the gap by soldering a wire across it (or across the nearest LED terminals, which may be more convenient), or you could try dimming the display rather than disabling it completely by using an appropriate resistor.

7. Replace the module cover and attach with the 12 screws.

8. Slide the module back in.

  • Make sure the buttons are in the right places. There’s a flat on the two smaller buttons to hold them in place – the bottom of the alarm-set button and the top of the time-set button.
  • Easing the clock back into position behind the panel may be tricky, since there’s a sharp metal surround in the panel. I used a credit card between the clock face and the surround to lever it into place.
  • Be sure to clip the module into both screw posts, and to hook the cable tie back over the screw post before you do so.
  • Screw it back in with two flanged screws.

9. Slide the heat shield back into place. Be sure the wires are kept as much as possible behind the heat shield, so they are not exposed to the heat of the boiling chamber.

10. Replace the bottom cover, taking care to fit the power cable filter and grommet correctly into the bottom cover. Attach with 10 screws.

You’re done! Power up and check everything still works. Result: a Teasmade you can leave on without disturbing your sleep, until it’s time for that trademark whooshing gurgle! The clock face is easily readable without the backlight, and anyway you probably already have a bedside clock.

Future enhancements

The delay-start button still has a bright blue LED behind it. A future mod will do something about that; for now just mask it with some tape or a filter behind the button.

It would be great to have the backlight just come on when needed – say when you pressed a button. Please post if you know how to reprogram the microcontroller (it says something like “Elan EM78P808BAAQJ 07307 BG07782” which is presumably the Elan EM78P808).

Please let me know if you try this. Comments and corrections welcome!

X Factor 2009 Vote Analysis

Thanks to ITV, the voting stats for X Factor 2009 are available at ITV X Factor 2009 vote stats.

Unfortunately, they’re expressed as percentages of the vote. I’ve massaged the numbers to be the percentage of the average vote – in the first round (with 12 contestants) the average vote would be 8.3%, so 16.7% would be +100%. In the last round, with 2 contestants, the average vote would be 50%, so 16.7% would be -67%.

This chart lets you see how the contestants’ popularity changed over the contest. Joe was always popular. Stacey started well, peaked, then seemed to hand her support to Joe. Olly’s support was steady all the way through, but not high. Danyl started out popular, troughed, peaked, and then slipped away.

(Click to see full size, or see the spreadsheet with data)

Enjoy the chart!

–KW 😎

The things they teach you

“I” before “E” except after “C”

…or so I was taught, and you probably were too. But now schools in England have been asked to stop teaching it, because “there are too few words that follow the rule”.

I remember the rule with fondness, so I have sympathy with the KCL lecturer quoted. But facts are more reliable than impressions, so I thought I’d check it out myself.

The fab team at Lancashire have made their English-language word frequency lists freely available under a Creative Commons license. A quick download and a little bit of Perl later, we have the following:

Total: per million words of English, the rule is wrong 5820 times, and right 8475 times (the remainder do not contain either “ie” or “ei”). In other words, for any random word you might want to write or speak, the rule will be right 59% of the time – just fractionally better than tossing a coin! In fact, the top four words containing “ie” or “ei” all break the rule – it’s not until you reach the fifth that it works:

  1. Wrong: their 2608
  2. Wrong: being 862
  3. Wrong: society 238
  4. Wrong: either 220
  5. Right: view 214
  6. Right: believe 212
  7. Right: experience 189
  8. Right: companies 178
  9. Right: patients 173
  10. Wrong: eight 173

The British National Corpus has written and spoken English in it, but that doesn’t make much difference – for the written corpus only, we have wrong 5760, right 7680, or 57% – slightly worse!

So the educationalists are right for once, and our intuition is wrong – the rule isn’t much better than flipping a coin!

Enjoy.

PS: Here’s the Perl:


#!/usr/bin/perl -w
use strict;

my $wrong = 0;
my $right = 0;

while (<>) {
chomp;
# use [0,1] for 1_2_all_freq.txt or [0,5] for 2_2_writtenspoken.txt
my ($word,$freq) = (split)[0,1];
if ($word =~ /(?:ie|ei)/i) {
# interesting
if ($word =~ /cie|(?:^|[^c])ei/i) {
print "Wrong: $word $freq\n";
$wrong += $freq;
} else {
print "Right: $word $freq\n";
$right += $freq;
}
}
}

print "Total wrong $wrong, right $right\n";

Pressure switch

Today’s bit of fun was fixing the PE error on our LG Fuzzy Logic 5.5kg WF-T552 3 step TurboDrum top-loading washing machine.

Apparently the PE error means there’s a pressure switch problem. The pressure switch is in the controller, but connected to the washer drum by a hose. Given that draining and wiggling it wasn’t working any more, and armed with the above information, a light, and a few screwdrivers, I bravely went once more unto the breach.

Here is the inside of the machine. Note the clear pressure hose at the upper right.

The switch is in the controller on top of the machine, and the hose runs down to the outside of the drum. There it meets a channel of some sort, which opens out at the very bottom of the drum like so:

Presumably there’s a blockage in the hose, in the channel, or in the opening at the bottom of the drum. To fix this, you don’t need to open any of the above! Instead, open the cover on top of the machine, like so:

The pressure switch is the component with the circular blue surround. It’s held in by three plastic retaining clips. The hose connects underneath it.

To fix it, I simply released the pressure switch, disconnected the hose, blew hard through it a few times to clear any blockage, and replaced it. We shall see over the next few days whether that is enough to solve the problem!

Update: It worked for a while, but the pressure switch was on the way out. I’ve since replaced it – very easy, and it only cost NZ$20.55. Yay! Big shout-out to Axial who were splendid in identifying and supplying the part.