Dec 172008
 

Set myself the task of learning how to make a cartoon. Lacking artistic skills, I decided to use a local character, Zep‘s Titeuf as a model. I bought a figurine at the local toy shop and used photos of it to build the mesh. Skinning the legs was the hardest part, they’re so short and fat that the creasing has to be adjusted a pixel at a time.

The first results are encouraging:

Video:

 Posted by at 11:20 am  Tagged with:
Nov 052008
 

Debate about figures of speech in the family at dinner this evening, with the customary arguments about the differences between English and French varieties.

As usual (universally?) Wikipedia is a treasure trove, and I loved this example of paronomasia:

Atheism is a non-prophet institution

it quite made my evening.

Oct 292008
 

The media are lathering us all up to the prespective of a great depression, matched only by 1929. Obama is just hanging in on page 4, and only because some deranged young idiot was supposedly plotting to assassinate him. As for McCain and Palin, they’ve completely dissapeared from the news radar, at least here in Switzerland.

I never cease to be amazed at how short peoples’ memory is. The stock market has gone through innumerable crises, the 1973-1974 wiped 45% off the DOW,  black Monday (1987) took 22.6% off the DOW and the .COM bubble in 2000 cost speculators (and others) about $5 trillion. The world’s banks employees, motivated by bonuses that bear no relation to their true added value have been playing the market for years and now we are at the day of reckoning. And so what? We’ve lived through them before, we’ll live through this one again, and in 3 years the autumn-2008 meltdown will be no more than a page on Wikipedia, like the others.

But. And there is a “but” this time round. The previous disasters were accompanied by liberal doses of “well, take your medecine”. This time it’s very different. Governments suddenly made billions available to ailing banks and in the same breath announced that money for all other causes was short. Here in Switzerland, where UBS was bailed to the tune of 68’000’000’000 CHF (about the same number of dollars), the minimum interest rate on pension funds was slashed simultaneously.

Let us take a step back. In 1974 (and 1987, and 2000), we were fed the same crap. In 2006-2007, everyone was back to worshipping the incredible economy.

Will we never learn?

Oct 242008
 

I fell quite by accident on http://www.wordle.net, a program to layout words written by Jonathan Feinberg at IBM. The results it produces are breath-takingly beautiful, I’m at a loss for words (pun intended).

I dropped my mother’s autobiography (56’000 words) into Wordl:

The major words of the text spring out immediately, quite astonishing.

 Posted by at 3:11 pm  Tagged with:
Oct 232008
 

These past few months I’ve been doing a lot of research and with time I was getting more and more annoyed by subscription-only sites (experts-exchange) and catalogs of abstracts (citeseer), they provide me with nothing and clutter up my Google results.

To solve this problem I used Add-in Express for Internet Explorer to build an add-in for Internet Explorer, which would allow me to hide irrelevant sites. Just for the fun, I extended it to handle all the major search engines, trickier than I initially expected but all good clean fun.

In the spirit of the Internet, I’ve published it, you can pick up a copy here.

P.S. The products and the service at add-in-express.com are amongst the best I’ve seen in a long time, highly recommended.

Oct 162008
 

Many traffic-light solutions for Excel exist but all the ones I tried only work for a single light, and I needed an array like this:

I wanted to create a light by simply typing a formula in the light’s cell, with the colour of the light determined by a value in cell elsewhere. The light must change colour as soon as the underlying value changes. This wasn’t as simple to implement as I thought, but in the end a bit of VBA led to this formula :
=trafficlight(Sheet2!B4,Sheet2!B$3,Sheet2!C$3)
and the rest of the lights are created by dragging this formula right and down.

The parameters to the TrafficLight function are:

  1. The cell containing the value which determines the colour of the light.
  2. The threshold to change from red to amber.
  3. The threshold to change from amber to green.

in this example, the Sheet2 looks like this:

Project 1 has a value of 64 and thus is amber.

Here’s a ZIP file with the .XLS and the images project-progress-dashboard, feel free to use it as you see fit.

Notes:

  1. The red and green images have an exclamation mark and a tick superimposed so that they are recognisable on a black-and-white printout.
  2. You must keep the 3 GIF files in the same directory as the spreadsheet.
  3. There is one bug. If you resize a cell containing a light such that the light is no longer contained within the cell’s boundaries, the light will not be deleted when its underlying value changes (you end up with an orphaned light). To fix this, there is a “Remove lights” button; clicking it will delete all images and pressing F9 will re-generate correctly.
Oct 152008
 

Quite astonishing that for once the European politicians have got their act together and addressed the financial cesspool that the banks have created. A shining performance by Sarkozy and Brown, from whom nobody expected such alacrity and cooperation.

On the other side of the pond (is Bush still president over there?), McCain is too busy slinging mud at Obama in a last-ditch effort and Paulson’s plan seems rather ineffectual by comparison to the Europeans’.

It seems that Europe is finally assuming the role it should take; with a population of some 450 million it’s about time.

May 312007
 

I was flabbergasted to learn that the price of car insurance in Switzerland is a function of your nationality. The surcharge can be as high as 97% if your unlucky enough to be from pretty well anywhere in the sourth-eastern Medditerranean area and, curiously, anywhere in north or south America (article in French).

The insurers argument is that drivers from certain countries statistically have more accidents. Now I can follow the reasoning, the problem is that each company has wildly differing prices for a given nationality, which to me smells of poor statistics. If the sample is large, the surcharges should be approximately the same.

What’s even worse is that the no-claims bonus is aplied on the surcharged price. This means that a driver from country X, whose initial policy has a 94% surcharge, who has no accidents for 10 years is penalised forever.

Legal as it may be, this practice stinks of racism. Shame on the Swiss; are they alone in doing this?

May 302007
 

Have the Poles gone mad? I wrote off the communist witch-hunt, of which McCarthy would have been proud, as once-off silliness brought about by group shame of collaborating with the communist secret police. There was also healthy silliness – the Polish rock band Big Cyc (Big Tit), whose 4th album featured a nun drying condoms on a clothes-line.

But the silliness has taken a turn for the worse:

A senior Polish official has ordered psychologists to investigate whether the popular BBC TV show Teletubbies promotes a homosexual lifestyle. The spokesperson for children’s rights in Poland, Ewa Sowinska, singled out Tinky Winky, the purple character with a triangular aerial on his head. (source BBC)

Teletubbies are queer? What on earth has got into the woman?

It would appear that the affliction has spread to neighbouring Belarus:

Customs officers in Belarus have ordered drivers crossing over from Poland to carry a condom or be denied entry into the former Soviet republic, Polish customs officials claimed on Tuesday. The Belarussian guards have allegedly demanded that drivers include a condom in the emergency first aid kit which road regulations say they must carry. (source)

I’m racking my brains trying to think what the motivation could be.

  • Polish men can’t resist Belarussian women and Belarus doesn’t want their gene pool polluted?
  • Belarussian women all have the clap and their authorities want to spare the Poles? (seems unlikely)
  • Belarus wants to insult the Poles by implying they all have the clap?
  • Belarus wants to insult the Poles by implying they can only get it up once (by insisting on only ONE condom)?
  • The Belarus have a secret agenda in which condoms are used for something else than contraception?

If anyone has the true reason, please let me know 🙂

May 282007
 

An aspect of J. K. Rowling‘s genius which many seem to have passed by is the number of children who have (re)started reading.

My two sons read on and off during their early years but never so avidly as the Harry Potter series. As of the second volume (the Chamber of Secrets), they squabbled so much that we instated a rule that each child could read only one chapter at a time and then pass the book to his brother.

Getting them reading again was great, but perhaps just as importantly their English vocabulary improved immensely (their mother tongue is French), and for this Rowling gets my most sincere admiration.

Out of curiosity, we all read some of the books in French; the translation is exquisite, Jean-François Ménard‘s turns of phrase are a joy. Our favourite was “Sorting Hat” rendered as “Choipeau”.

Parents and teachers of the world owe a great debt to Rowling.