Inglese, o mio inglese

October 4th, 2008

Scena 1: dal parrucchiere
io: – I’d just have a plain short cut
lui: – are you italian?
io: – yes…
lui:- you have the typical accent…

Scena 2: dal medico, parlando con il segretario (evidentemente autoctono)
io: – I haven’t a previous address in the UK because I’m Italian
lui: – you mean you are not british?
io: – yes…
lui: – you have got an impeccable accent!

A parte che vorrei che avesse ragione il segretario, evidentemente ubriaco, sono frastornato dal parallelismo delle due conversazioni…

Categories: London, Personal | Tags: , | 8 Comments

Is this new “Aging project” digital?

September 22nd, 2008

When I see stuff like Aging project I just wonder how diligent they were to manage to do it without a digital camera, at least in the first part of the 17-year-lasting project…

Categories: Tech | Tags: , | 1 Comment

What a neighbour!

September 21st, 2008

My poor neighbour! He’s washing by hand his two little cars, using a hoover.

He hasn’t enough space in his garage to take them both inside, so he has to make the cleanings one car at time.

His Lamborghini goes first, then his Ferrari.

Categories: London, Personal | Tags: , | 3 Comments

Sage to Google Reader OPML converter

September 18th, 2008

[WARNING: If you are not a nerd, please jump to the following post :-P ]

For some reason, when exporting rss feeds from Sage, a Firefox plugin, to an OPML file it does not save the feed (i.e. the xml/rss/atom/whatever) link, but the feeds themselves, i.e. the content of the feeds.

If you have the same problem, here’s a fast-and-dirty solution.

  1. export your Firefox bookmarks in HTML format, in a file called, say, bookmarks.html
  2. using a bash shell, extract the feed lines into a file called feeds.xml doing
    cat bookmarks.html | grep FEEDURL > feeds.xml
  3. create the following script called “scriptfeed.sh”
    #!/bin/bash
    echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
    echo "<opml version=\"1.0\">"
    echo "<head><title>RSS Subscriptions</title></head>"
    echo "<body>"
    while read line
    do
            temp=`echo $line | awk -F"<" {'print $3;'}`
            feed=`echo $temp | awk -F"\"" {'print $2;'}`
            url=`echo $temp | awk -F"\"" {'print $4;'}`
            text=`echo $temp | awk -F">" {'print $2;'}`
            echo "<outline text=\"$text\""
            echo "  title=\"$text\""
            echo "  type=\"rss\""
            echo "  xmlUrl=\"$feed\""
            echo "  htmlUrl=\"$url\"/>"
    done < feeds.xml
    echo "</body>"
    echo "</opml>"
  4. Give the script the right to execute
    chmod +x scriptfeed.sh
  5. Launch the script on the output file, say, exp.xml
    ./scriptfeed.sh > exp.xml

I know, it’s dirty and tricky, but it works :-P

Categories: Tech | Tags: , , , , , , | 1 Comment