Microblogi: A very long article Wikipedia article on the orientation of toilet paper [7. kes klo 22:52] [V]

Keskiviikko, 10. joulukuuta 2008


Kategoriat: [ Tiede ]

Vedenkulutuksen jälkeen, mittaan sähkönkulutusta:

  • Pesukone (puuvillaohjelma, lisähuuhtelu, 40 °C): 78 min, 0.62 kWh, max 2 kW

[ Postattu 10. joulukuuta 2008 klo 21.26 | 1 kommentti | ]

Torstai, 4. joulukuuta 2008

Hemorrhoids Are a Pain in the Ass

Käännös: [ Google ]

Kategoriat: [ Valitusta ]

This is somehting that needed to be said. Surprisingly, Google doesn't return that many results for this sentence. Is it stil a taboo? (Taboo, on the Web? Who am I kidding?)

[ Postattu 4. joulukuuta 2008 klo 09.44 | ei kommenttia | ]

Keskiviikko, 3. joulukuuta 2008


Kategoriat: [ Tiede ]

Uusi vesimittari inspiroi mittaamaan vedenkulutusta:

  • Vessan vetäminen: 7 L
  • Tiskikone (ilman esipesua): 18 L
  • Pesukone (puuvillaohjelma, lisähuuhtelu): 74 L
  • Suihku: 85 L

[ Postattu 3. joulukuuta 2008 klo 23.14 | ei kommenttia | ]

Maanantai, 1. joulukuuta 2008


Kategoriat: [ Valitusta ]

Tänä aamuna joku mies tuli kotiini juuri kun olin lähtemässä. Hän sanoi tulleensa vaihtamaan vesimittarin. Hänen pakettiautonsa kyljessä oli kyllä Jyväskylän Energian logo (eli valtava mainoskuva kahviautomaatista tai jotain, ja pieni teksti, jossa luki “Jyväskylän Energia”). Mikä vesimittari? En ole pyytänyt ketään vaihtamaan mittaria. Miksi se tarvitsee vaihtaa? Mutta niin se on: vesimittari vaihdetaan joka viides vuosi. Ei kerrota asiakkaalle että joku tulee, hän vain tulee. En tiedä mitä hän tekee, jos kukaan ei ole kotona. Mutta mittari on nyt vaihdettu, ja vanha lukema (jonka olisin kirjoittanut tänä iltana tilastooni) on hukassa.

[ Postattu 1. joulukuuta 2008 klo 22.09 | ei kommenttia | ]

Lauantai, 29. marraskuuta 2008

Leffakone's Timer Broken?

Käännös: [ Google ]

Kategoriat: [ TV/Leffakone ]

Leffakone's timer's been working perfectly for almost two years, but since we moved, it doesn't always work as it should. The LED goes off when it starts to receive data (as expected), but then it just reboots (because of the watchdog timer) and then waits for data again (its LED on). But it will not accept the data anymore. And after a couple of days, for no reason, it works again (and blinks happily while counting down).

I took it to the telecom lab last Tuesday and Niko took a look at it. The solders seem fine. We changed the micro-controller and flashed it. It still behaved erratically on the bench, rebooting repeatedly for no obvious reason, sometimes receiving data with the available signal low but touching the data wire with the finger (I mean the insulation of the wire, not the metallic part). Niko unsoldered and resoldered the crystal, thinking it was faulty, with no effect. It seemed doomed.

Then I took it back home, checked with an ohm-meter that all the resistors were resisting, that the capacitors were capaciting, and I put it back in Leffakone. This was last Thursday. Since then, it's been working perfectly…

[ Postattu 29. marraskuuta 2008 klo 23.36 | ei kommenttia | ]

Lauantai, 15. marraskuuta 2008

Adresse internationale – Kansainvälinen osoite

Käännös: [ Google ]

Kategoriat: [ Valitusta ]

Lorsqu'on envoie une lettre depuis l'étranger vers la Finlande, on préfixe le code postal par « FI- ». Pas « FIN- » ni « SF- » . Lorsqu'on envoie une lettre depuis l'étranger vers la France, on ne fait pas précéder le code postal par un quelconque code.

Kun lähetetään kirje ulkomailta Suomeen, postinumeron eteen kirjoitetaan “FI-”. Ei “FIN-” eikä “SF-”. Kun lähetetään kirje ulkomailta Ranskaan, ei kirjoiteta mitään postinumeron eteen.

[ Postattu 15. marraskuuta 2008 klo 21.23 | 6 kommenttia | ]

Tiistai, 11. marraskuuta 2008

Automatic X Screen Saver -based Autoaway for Irssi

Käännös: [ Google ]

Kategoriat: [ ATK ]

I fixed a bug in xautoaway (actually, in X11::Protocol). The new version is available.

[ Postattu 11. marraskuuta 2008 klo 23.46 | ei kommenttia | ]

HTML in RSS and Translate — HTML dans le RSS et traduction

Käännös: [ Google ]

Kategoriat: [ Blogi ]

I changed my RSS feed so that it displays the stories in HTML instead of the old text-only version. Moreover, I added a link to each of the RSS items to use automatic translating services (Google Translate and Babelfish). This link only appears if the RSS feed is requested with a given language in parameter. E.g., for English, use http://users.jyu.fi/~mweber/blog/index.rss?lang=en as the RSS feed's URL. You can replace the en at the end with fr or fi for French and Finnish respectively.

J'ai changé mon flux RSS afin d'afficher les histoires en HTML au lieu de l'ancienne version en texte simpe. De plus, j'ai ajouté à chaque item RSS un lien vers des services de traduction automatique (Google Translate et Babelfish). Ce lien n'apparait que si le flux RSS est appelé avec un paramètre langue. Par exemple pour le Français, il faut utiliser http://users.jyu.fi/~mweber/blog/index.rss?lang=fr comme URL du flux RSS. On peut remplacer le fr à la fin par en ou fi pour l'anglais ou le finnois, respectivement.

Disclaimer — Désistement

I cannot be held responsible for death by fatal hilarity when reading the automatic translations.

Je ne peux être tenu responsable si vous mourez de rire en lisant les traductions automatiques.

[ Postattu 11. marraskuuta 2008 klo 23.35 | ei kommenttia | ]

Keskiviikko, 5. marraskuuta 2008

Automatic X Screen Saver -based Autoaway for Irssi

Käännös: [ Google ]

Kategoriat: [ ATK ]

xautoaway.pl is an autoaway script for Irssi that allows Irssi to go away automatically when your X Window session has been idle for some time. Additionaly, it supports Irssi running in a GNU screen, being detached from an xterm in one display and reattached to another xterm on another display. Distributed as-is, under “it-works-for-me” pseudo-license (and under GNU GPLv3 real license).

It requires the X11::Protocol module and some additional setup (the provided, incomplete extension to X11::Protocol to support MIT-SCREEN-SAVER and the screen wrapper to be run instead of GNU screen).

[ Postattu 5. marraskuuta 2008 klo 23.40 | ei kommenttia | ]

Tiistai, 4. marraskuuta 2008

Bensan hinta

Kategoriat: [ Tiede ]

Bensa maksaa Keljon Shell Expressillä 1,294 EUR, mutta Palokassa se maksaa vain 1,259 EUR Palokan Neste Oil Expressillä. Matka Palokkaan ja takaisin on noin 20 km. Auto käyttää noin 7 L/100km, siis 1,4 L bensaa, joka maksaisi 1,76 EUR. Tankkaan 35 L, hinta ero on siis 0,88 EUR. Se ei maksaa vaivaa. (datan lähde: polttoaine.net).

[ Postattu 4. marraskuuta 2008 klo 22.43 | 1 kommentti | ]

DICT-NetMOT Gateway

Käännös: [ Google ]

Kategoriat: [ ATK ]

I just finished motdictd.pl a gateway between the DICT protocol and the MOT online (not free at all) dictionary collection accessible to the University of Jyväskylä. It runs as a local DICT server, started from the command line by any user (preferably not root) and listens to on port 2628. DICT queries are turned into HTTP requests to NetMOT, the resulting HTML code is cleaned up and returned as pure text to the DICT client. The CLI DICT client doesn't support multiple servers, so it accessing the gateway requires to call dict -h localhost if the default server is dict.org.

[ Postattu 4. marraskuuta 2008 klo 11.09 | 1 kommentti | ]

Torstai, 30. lokakuuta 2008

Heure solaire

Käännös: [ Google ]

Kategoriat: [ Tiede ]


Jyväskylä se situe à 62.22°N, 25.73°E. Le graphique ci-contre représente la durée du jour en 2008 en fonction de la date (du 1er janvier au 31 décembre). Le défaut aux alentours de l'équinoxe est probablement dû à une problème d'arrondi et au fait que les calculs prennent l'équinoxe pour point de départ. Je ne m'attendais pas à ce que la courble soit aussi linéaire à distance des solstices, ni qu'elle soit aussi « pointue » aux solstices.


Ici, les heures de lever et de coucher du soleil. Le décalage fin mars et fin octobre sont dûs au passage à l'heure d'été et au retour à l'heure d'hiver.


Beaucoup plus étrange ici, le midi solaire (mi-chemin entre le lever et coucher du soleil) n'est pas à un intervalle de temps constant du midi civil comme on pourrait s'y attendre. Encore plus étrange, cette courbe a deux maxima et deux minima qui ne sont pas au même niveau et qui ne correspondent pas à des dates clés. Les points d'inflexion, en revanche, semblent situés aux solstices et aux équinoxes.


Ici la même courbe sans le passage à l'heure d'été pour davantage de lisibilité. La forme en « escalier » de la courbe est dûe à la précision des valeurs calculées, qui est limitée à la minute. On remarque en particulier que le décalage entre les midis solaire et civil varie entre 0 et 32 minutes, avec un décalage moyen d'environ 18 minutes lus sur le graphe (17 minutes par calcul si on considère le décalage en longitude entre Jyväskylä et le centre du fuseau horaire à 30.00°E).

[ Postattu 30. lokakuuta 2008 klo 23.42 | ei kommenttia | ]

Tiistai, 28. lokakuuta 2008

Liu an gua pian

Käännös: [ Google ]

Kategoriat: [ Tee ]

Thé vert, grandes feuilles torsadées. Les feuilles sèches on un parfum fruité (abricot sec) et peut-être un peu grillé. L'infusion est plus verte, assez douce et peut-être un peu fruitée (abricot sec encore une fois).

[ Postattu 28. lokakuuta 2008 klo 10.13 | ei kommenttia | ]

Maanantai, 27. lokakuuta 2008


Käännös: [ Google ]

Kategoriat: [ ATK ]

I just tested Synergy. This little tool allows to share one keyboard and mouse between several computers sitting next to each other (that is, each computer needs to have its own display) over the network. When the mouse cursor reaches the edge of the screen, it moves to the screen of the computer next to that edge (and the keyboard's focus too, of course). The great thing is that it works in Linux (and other Unices), in MacOS X and in Windows. So it's perfectly possible to have a mix of all these types of systems, and it woks seamlessly, without any extra hardware.

[ Postattu 27. lokakuuta 2008 klo 22.47 | ei kommenttia | ]

Lauantai, 25. lokakuuta 2008

Courbes de niveau

Käännös: [ Google ]

Kategoriat: [ Tiede ]

J'ai reçu aujourd'hui (enfin hier, vu l'heure qu'il est) la carte topographique au 1/20 000è de Jyväskylä que j'avais commandée mercredi soir. Service rapide !

Voici donc deux courbes de niveau pour un trajet Hinkalo — Agora, en voiture et à vélo (les chemins parcourus sont totalement différents). Le dénivelé total est de 93 m.


Le trajet en voiture est long de 4680 m. Du point de départ au rond point de Keljonkeskus situé entre les deux supermarchés, le dénivelé est de 80,5 m pour une distance parcourue de 2000 m, ce qui fait une déclivité moyenne de 4%, mais avec des pointes à 14% sur Tuulimyllyntie et 13% sur Myllyjärventie.


Le trajet en vélo est long de 3380 m. Du point de départ jusqu'au petit tunnel, la déclivité moyenne est de 5,7%, mais avec peu de variation sur ces 1100 m de trajet.

[ Postattu 25. lokakuuta 2008 klo 00.48 | ei kommenttia | ]

Keskiviikko, 22. lokakuuta 2008

Just for Fun

Käännös: [ Google ]

Kategoriat: [ ATK ]

This is the follow-up to the previous episode.

Today's discussion with Ville was concluded more or less like that: he claimed that having access to the source code is of no use for him although he can code, because he has never been able to gather the necessary energy to start hacking an existing software. Well, that's his problem, isn't it? I devote some of my free time to hack software (in a very insignificant way, I'm sure) to adapt it to my needs, he devotes his to something else. And I enjoy my small software hacks. I'm proud of myself when I manage to understand MPlayer's subtitles code and add support for DVB subtitles, or when I add support for X11's screensaver protocol to perl's X11::Protocol module. And let's be honest: LATEX is ridiculously complicated, but I enjoy fighting the beast and bending it to my will.

I have loads of fun doing things myself. I make my own pizzas from scratch (dough and tomato sauce, altough I don't grow the tomatoes, olives and wheat, nor do I breed pigs or milk cows), I make my own ice-cream, my own Home Theater PC, my own blog engine, my own Carcassonne meeples. Buying something ready-made feels like a waste of money if I can do it myself for a reasonnable cost in time. I'm not going to devote large amounts of time on large projects such as writing my own operating sytem, word processor or image manipulation software, mainly because the time it would cost me compared to the benefit I would get out of it compared to using the existing tools is not worth it. Hacking oversized projects don't really interest me, even if they have bugs and I'd like to fix them. But I very much appreciate that small, one-person -sized softwares are free for me to hack when I set my mind to it.

The ones who consider the freedom given by free software to be useless are the ones who are too busy/lazy to take advantage of it and have more money at hand than time.

[ Postattu 22. lokakuuta 2008 klo 23.41 | 9 kommenttia | ]

Is Free Software Always Better?

Käännös: [ Google ]

Kategoriat: [ ATK ]

This is the follow-up to the previous episode.

So, is free software always better than the other kind? Jonne claimed that the “freedom” aspect of free software isn't an advantage for him, because free software is hard to change, and it takes a long time to implement the new feature you would like to add to it. The alternative would be to send a bug report or feature request to the developers. But both in free project and proprietary ones you may reach grumpy developers, who will consider your request as low priority.

Now the real difference between free and proprietary is that in the case of free software, you have the right to do it yourself. It may be difficult and take an enourmous amount of time (such as integrating CMYK in GIMP, which was not designed orginally to handle anything else than RGB), but it is possible if you are willing to devote resources (time and/or money) to it. With a proprietary software, if the developers don't want to implement your feature, there is no appeal. Jonne's argument was that you can always find a software (free or not) that does what you want. I claim that this is not always true.

The first example is that when I built my leffakone five years ago, there was no software running on Linux that supported DVB subtitles and automatic TV commercial removal. Actually, there was no software that was supporting these two features at all. So I took the time to implement them myself (and yes, MPlayer's subtitle code is an horrible mess). The second example is a recent problem with Python's X11::Protocol module. It had a bug that I managed to identify thanks to the source code, and I found a way to go around it. I submitted a bug report, but to this day (over a month later) it has still not been answered. X11::Protocol was exactly what I needed, but had it been proprietary, I wouldn't have been able to find a workaround, and would have needed to settle with a sub-optimal solution, which would not have been doing exactly what I want.

Jonne also claimed that developers don't need the source code of a software, but the software should be designed so that it can be extended. Firefox is a good example: a lot of features can be added as “extensions” and the developers don't need to access Firefox's source code. But not all software is designed to be extensible, especially if it is in the (financial) interest of the publisher to prevent anyone to develop an extension without its blessing. This means that if the extension you want to develop doesn't follow the publisher's commercial strategy, you won't be allowed to do it. And again there will be no appeal. An no, you don't always find another software that does the same thing and would allow you to develop your extension.

And guess what? Most of the software available nowadays is not extensible. That is, it's not meant to be easy to extend. If you want to change its behavior or fix a bug, you have no choice but to dig into the source code. And even if the software has been designed with extensibility in mind, it doesn't mean that the data it exports through its extension API contains all the information you need for your purposes. A good example of this if my blog engine, Bloxsom. It was designed to be extensible, most of the work is done by extensions rather than by the software's core. But for implementing features such as multiple languages and multiple categories, I had to change the core, because the extension API was not enough. And I don't know any other blog engine that fits my requirements. But hey, I don't know all the blog engines in the world, so I may be wrong.

To be continued.

[ Postattu 22. lokakuuta 2008 klo 23.14 | ei kommenttia | ]

Free Software is a Fad

Käännös: [ Google ]

Kategoriat: [ ATK ]

I started to use free software in 1996 (or was it 97?), with Slackware 3.0. The first reason why I decided to learn Linux is because Unix systems were the ones used by real coders. Windows already looked too much like a toy, had the bad reputation of a shaky house built over the sand of MS-DOS. And also because it was cool (from a geek's perspective, of course). The reason why I continued to use free software was that even though free software is free as in “free speech”, it is also free as in “free beer”. There were software filling my needs, and I adapted the topic of my free-time projects to what was available on Linux. For example, I could have continued to play aimlessly with SoundForge in Windows, but coding an IRC bot in Perl on Linux was more appealing. It was a creative process, the creation of somethat that acts (if only by reflex), on the contrary of something you contemplate with more or less awe (like music or a painting). And also, the IRC bot was working on my behalf, providing a service.

I had a long discussion with two colleagues the other morning, who claimed that Free Software is a fad. I didn't agree with them at first, thinking about the origins of the free software movement, but after reflection I have to admit that in the last five years it actually has turned into a fad. Not a passing fad like clothing fashion (although the pointy shoe fashion could have changed more quickly for my taste), but in the sense of something that a lot of people use, and who use it because everybody else is also using it. The reason for this is that free software is free (as in “free beer”) and people are more often than not choosing something free over something they have to pay for. The average software user doesn't care whether he has the right to modify software or not. He's a user, not a developer, and he doesn't know how to use this right. I guess plenty of users still use warez software or free (as in “beer”) proprietary software instead of free software, because warez doesn't cost more than free software (at lease from the point of view of money). In some cases, one free (as in “speech”) software can drive the fad. This is the case of Firefox I guess, which was in its time technically superior to Internet Explorer (it respected the standards of the Web and had popup and ad blockers). And I wouldn't be surprised that Firefox has been the main driving force behind the free software fad.

To be continued.

[ Postattu 22. lokakuuta 2008 klo 22.32 | ei kommenttia | ]

Tiistai, 21. lokakuuta 2008

Consommation d'une voiture, la suite

Käännös: [ Google ]

Kategoriat: [ Tiede ]

Suite de l'épisode précédent.

J'ai passé aujourd'hui un certain temps à discuter de mécanique auto avec Henrik et en particulier de la consommation rélle d'une voiture. On a fini par en revenir au problème de trouver la courbe de consommation spécifique des moteurs de nos voiture, mais il semble que les constructeurs tiennent à garder ces informations secrètes… En revanche, Henrik a trouvé un article en allemand de Helmut Tschöke et Hanns-Erhard Heinze publié dans le Magdeburger Wisseschaftsjournal de 2001 qui compare les consommations de divers types de moteurs (essence, essence à injection directe, diesel à injection directe pour voitures personnelles et les véhicules utilitaires).

Les auteurs indiquent entre autres qu'étant données les masses volumiques et les densités énergétiques différentes entre l'essence et le diesel, à consommations énergétiques égales, le moteur diesel a une consommation moyenne inférieure. Cependant le diesel produit davantage de CO2 que l'essence, à consommations égales. Mais les consommations moyennes des voitures à essence et diesel ne sont justement pas égales.

Un peu plus loin, ils se demandent s'il est possible de construire une voiture qui consomme seulement 1 ou 2 L/100 km (la Volkswagen Lupo 3L a été conçue pour ne consommer que 3 L/100 km en moyenne) et concluent que ce n'est pas possible, mais qu'on pourrait descendre à 2 ou 2,3 L/100 km.

Les auteurs introduisent finalement la notion de facteur de mobilité (FM), égal au produit de la consommation par le temps nécessaire à la parcourir divisé par le nombre de personnes transportées. Sur un trajet de 300 km, le piéton a un FM de 30, le vélo 7, la voiture 7,8, le car 1,4, le train 1,6 et l'avion 5,5 (le piéton consomme l'équivalent de 0,5 L/100 km et le vélo 0,35). Ma voiture a un FM de 6,1 avec 4 passagers et 8,1 avec 3 passagers.

[ Postattu 21. lokakuuta 2008 klo 22.39 | ei kommenttia | ]

Wu zi xian hao

Käännös: [ Google ]

Kategoriat: [ Tee ]

Thé vert, uniquement fait de petites feuilles courtes (bourgeons?). Les feuilles sèches ont une odeur qui me rappelle le chocolat noir 72% de Kalev. La première infusion est orange pâle et a un goût de riz soufflé. Après, c'est plus flou.

[ Postattu 21. lokakuuta 2008 klo 10.27 | ei kommenttia | ]

Keskiviikko, 15. lokakuuta 2008


Käännös: [ Google ]

Kategoriat: [ ATK ]

FOAF means Friend of a Friend. It's an RDF vocabulary that allows to describe oneself and link to people one knows. In other words, it forms a distributed social network, independant from any service provider such as Facebook, LinkedIn, Orkut and so on. It doesn't allow you to send messages to other people in your network, or any of the activities that are often associated with social networks, it only describes you and your relations to the people you know.

Here's my FOAF descriptor, that you can also view through FOAFer. There's also FOAF-a-Matic, a simple web tool that creates a basic FOAF descriptor for you (a more advanced descriptor will required to write RDF by hand, though). Finally, there is also a FOAF Generator that creates a FOAF descriptor based on your Facebook profile.

So if you feel geeky enough to get your own FOAF descriptor and if you know me, let me know about it :)

[ Postattu 15. lokakuuta 2008 klo 15.43 | ei kommenttia | ]

Perjantai, 10. lokakuuta 2008

Morning Temperature at 8 AM

Käännös: [ Google ]

Kategoriat: [ Tiede ]


I've been thinking how to automatise the process of setting the car engine's heating time in the morning depending on the outside temperature. Since heating is not overly expensive, I've decided that a cheap timer switch should do the trick. As to how long the engine should be heated… Well, statistics may help here. The graphs on the left represents the average temperature in the morning at 6 and at 8 over the past 6 years (2002 – 2008). From the graph, it's easy to see that there are clear periods where the temperature is between this and that limit.


In a nutshell and in month-day format:

  • 01-01 – 03-01: 2 hours
  • 03-01 – 03-25: 1 hour
  • 03-25 – 05-01: 30 minutes
  • 05-01 – 10-01: no heating
  • 10-01 – 12-15: 30 minutes
  • 12-15 – 12-31: 1 hour

This represents 214 hours of heating in the year, amounting to 6.90 EUR (with a 400 W heater, and a rate of 0.08 EUR/kWh). With the additional inside heater (add 950 W), it costs 23.30 EUR. This is almost 40% more expensive than the optimised calculation in the previous article, but a device combining termperature sensor with a clock is hard to find and will cost 50 to 100 EUR, when a mechanical clock switch can be found for 5 EUR.

[ Postattu 10. lokakuuta 2008 klo 23.55 | 1 kommentti | ]

Chauffage de la voiture

Käännös: [ Google ]

Kategoriat: [ Tiede ]

On conseille de chauffer la voiture si la température de l'air descend en dessous de 5 °C. La durée de chauffage varie en fonction de la température:

  • 5 °C à -5 °C: 30 minutes
  • -5 °C à -10 °C: 60 minutes
  • < -10 °C: 120 minutes

En 2007, la température le matin à 8 heures était:

  • < 5 °C et > -5 °C pendant 159 jours
  • < -5 °C et > -10 °C pendant 23 jours
  • < -10 °C pendant 33 jours

Ceci nous fait 168 heures de chauffage sur l'année (en comptant les week-ends), donc à 400W de puissance de chauffage et à 0,08 EUR le kWh, ça nous fait 5 EUR par an. Si on rajoute le chauffage de l'habitacle (950W), on arrive à 18 EUR par an.

[ Postattu 10. lokakuuta 2008 klo 08.13 | ei kommenttia | ]

Sunnuntai, 5. lokakuuta 2008

Pâte de pistaches

Käännös: [ Google ]

Kategoriat: [ Ruoka ]


  • 100g pistaches épluchées, non-salées
  • 100g sucre glace
  • 1 blanc d'½uf


Mixer les pistaches avec le sucre jusqu'à obtention d'une poudre fine. Ajouter le blanc d'½uf et mélanger à la cuillère (le mélange devient trop épais pour le mixer).

[ Postattu 5. lokakuuta 2008 klo 14.00 | ei kommenttia | ]

Torstai, 2. lokakuuta 2008

Évolution et dessein intelligent

Käännös: [ Google ]

Kategoriat: [ Valitusta ]

<noursy> qu'est-ce que ça change pour le commun des mortels qu'on descende du singe ou d'Adam ?
<loupi> ben on saurait s'il faut manger des bananes ou des pommes :)

[ Postattu 2. lokakuuta 2008 klo 16.16 | ei kommenttia | ]

Lauantai, 27. syyskuuta 2008

Blue Moon Fonts

Käännös: [ Google ]

Kategoriat: [ Pelit ]

The font used in the Blue Moon cards (FFG edition) is ITC Kallos, size 12.5pt (or 12pt?) medium and bold, and 8pt book italic for the flavour text.

The font used on the expansion decks' tuckboxes is Bitstream Flareserif.

[ Postattu 27. syyskuuta 2008 klo 00.17 | ei kommenttia | ]

Sunnuntai, 21. syyskuuta 2008

The Phar

Käännös: [ Google ]

Kategoriat: [ Pelit ]

The Phar is one Blue Moon people that has been mentionned (in Emissaries and Allies: Blessings and in the prologue of the Blue Moon Novel) but never developed as a deck. Their names derives from “Pharao”, so the theme will be Egypt-like. If I ever have a wonderful idea about what features to put in that deck, I'll try to develop it myself.

[ Postattu 21. syyskuuta 2008 klo 19.09 | ei kommenttia | ]

Recumbent Trike

Käännös: [ Google ]

Kategoriat: [ Askartelu ]

Gasoline is expensive, at a current price of about 1.50 EUR/L it costs me currently 950 EUR/year. Especially now that I live closer to work, the consumption is higher because the trip is so short.

The previous plan was to get an electric car, but it would cost a lot and need to keep the old car for longer trips (for example I wouldn't trust the e-car to take us to Tampere, wait 4 weeks on the airport's long-term parking lot and drive us back home). That means more insurance costs, parking space worries and so on.

The current plan is to build a recumbent trike based on one (or two?) old (or new) bycicles. Ready-made devices cost about 2,500 EUR (with one exception at 900 EUR, that's suspicious), home-made may take years to build (I have to learn welding first, but Reijo would probably be happy to teach me) but it may cost less than 500 EUR. Such a trike would be perfect for going to work daily, although coming back from work maybe difficult without electrical assistance (the hill back home is definitely steep).

Another requirement would be to have a protection from rain and snow, and ready-made such trikes cost 4500 EUR (5500 EUR with electrical assistance, that's over 5 years of gasoline at current rate). I have no idea how to build a hull for a trike (most people building trikes seem to live in countries where snow and cold is something that happens to other people). Also, it needs to support an extra seat for a child (this one could be mounted over the back wheel, but getting it below the hull will be difficult.

[ Postattu 21. syyskuuta 2008 klo 19.03 | ei kommenttia | ]


Käännös: [ Google ]

Kategoriat: [ Ruoka ]

Composition de l'½uf (balance de cuisine, précision: 2g) :

  • masse : 66g
  • coquille : 8g
  • jaune : 20g
  • blanc : 35g

[ Postattu 21. syyskuuta 2008 klo 18.24 | 2 kommenttia | ]

Torstai, 18. syyskuuta 2008

Vanilja ei ole sama kuin suklaa

Kategoriat: [ Valitusta ]


© Ingman.fi

Nyt kun on taas kesä, kun mennään iltapäivällä ostoksille ostetaan jäätelöitä välipalaksi. Mutta taas tänä vuonna jäätelötekijät eivät ole ymmärtäneet että jos pakkauksessa lukee “Suklaa”, pakkauksen sisällä ei pitäisi olla vaniljajäätelöä. Vanilja on aika hyvää, mutta se ei ole sama kuin suklaa. Ne ovat helppoja erottaa: suklaajäätelö on ruskeaa, kun taas vaniljajäätelö on valkoista. Helppo juttu. Tai niin voisi luulla. Monissa Valio-, Ingman- mutta myös Magnumjäätelöpakkauksissa lukee esim. “suklaa”, “nougat”, “manteli” jne. mutta pakkauksesta löytyy vain vaniljajäätelöä, jossa on muutama prosenttia suklaata, nougatpaloja tai mantelia. Jos et usko minua, lue jäätelön ainekset: vain koristeessa on kaakaota. Jäätelössä ei ole sitä.

Eikö ole lakia joka kieltaa harhajohtavan mainonnan?

[ Postattu 18. syyskuuta 2008 klo 13.38 | ei kommenttia | ]

Tiistai, 16. syyskuuta 2008

Graphical Meteorological Data for Europe

Käännös: [ Google ]

Kategoriat: [ Tiede ]

findlocalweather.com has “real-time” graphical data about temperature, humidity, pressure and wind speed for Europe (and other parts of the World too). Nice.

Links to maps for Temperature, Humidity, Pressure, Wind speed.

[ Postattu 16. syyskuuta 2008 klo 14.21 | ei kommenttia | ]

Category Menu

Käännös: [ Google ]

Kategoriat: [ Blogi ]

I implemented menus for the category list, because it was uselessly long. Items that contain subitems are in bold font. Anyway, indenting subcategories with non-breakable spaces has been annoying me for a long time, but I never had a good reason to rewrite the categorytree module to get rid of them. It seems that making a menu was a good enough reason.

The mechanism for the menu (using purely CSS) is adapted from Eric Meyer's Pure CSS Menus. I have no idea if it works with IE (at the time Meyer implemented his menu in 2002, IE's CSS engine was too crappy to render them properly), but who cares about IE users anyway.

[ Postattu 16. syyskuuta 2008 klo 00.32 | ei kommenttia | ]

Perjantai, 12. syyskuuta 2008

Random Spam Filter

Käännös: [ Google ]

Kategoriat: [ Blogi ]

I removed the RANDOM spam filter (comparing letter frequences of a comment with statistics for English, French and Finnish). It wasn't catching much spam anyway, and the one it did catch was not random, but contained lots of medicine names, which don't follow the statistical patterns of English, French or Finnish. And also, it did filter out one legitimate comment where the author's name was Finnish and the content was in English (thus matching neither Finnish nor English statistics), which is not nice.

[ Postattu 12. syyskuuta 2008 klo 16.46 | 2 kommenttia | ]

Keskiviikko, 10. syyskuuta 2008

Comment Spam Vs. Trackback Spam

Käännös: [ Google ]

Kategoriat: [ Blogi ]

A closer look at the spams shows that in the past 3 weeks, 100% of the comment spam has been caught. The messages that I needed to moderate manually were all trackback spam. The latter is harder to spot because there is no form that should be fetched prior to posting and that could be used for laying traps.

Comment spam represent 64.1% of the spams, whereas trackback spam represents 35.9% (with a total of 139303 spams in 795 days i.e., an average of 175 spams per day).

Given the amount of legitimate trackback I get (exactly 0 in two years), maybe I should simply disable it?

[ Postattu 10. syyskuuta 2008 klo 23.25 | ei kommenttia | ]


Kategoriat: [ Valitusta ]

“Koneellisesta hillotuksesta johtuen munkista saattaa puuttua hillo.” (Elosen sokerimunkkien pakkauksesta)

Eli jos sinulla on hillomunkki jossa ei ole hilloa, se on silti hillomunkki. Toisin sanoin, kun teet hillomunkkia, et tarvitse hilloa.

[ Postattu 10. syyskuuta 2008 klo 18.57 | ei kommenttia | ]

Tiistai, 9. syyskuuta 2008

Spam Blocking Statistics

Käännös: [ Google ]

Kategoriat: [ Blogi ]

Out of the last 6370 spams, 5798 (91.0%) were blocked based on the IP address of the sender (IPBLACKLIST).

Out of the other 572, 394 (68.9%) were blocked by a simple trap (COIN, a field that should be left empty), 83 (14.5%) were blocked because they contained the same URL more than twice (SAMEURL), 49 (8.57%) had too many urls per word (TOOMANYURL), 15 (2.62%) were blocked by keyword (KEYWORD), 7 (1.22%) had the same values for title, blog name and excerpt (SAMETITLE), 5 (0.874%) had more than 4 URLs pointing to the same server (SAMESERVER), 3 (0.524%) contained random data (RANDOM, none of them actually did but they were spam nonetheless) and 2 (0.350%) contained only hex data (HEXDATA).

Overall, 14 spams had to be hand moderated, which makes a false negative percentage of 0.22%.

The false positives I've had were because of the TOOMANYURL filter, but it also catches a lot of spams. In most of these, the URLs were not real but made of random letters.

[ Postattu 9. syyskuuta 2008 klo 13.02 | ei kommenttia | ]

Lauantai, 6. syyskuuta 2008

Saunan sytyttäminen

Kategoriat: [ Valitusta ]

Miksi kopiokonepaperilla sauna ei sytytetä, mutta sanomalehtipaperilla se toimii?

[ Postattu 6. syyskuuta 2008 klo 17.43 | ei kommenttia | ]

Torstai, 28. elokuuta 2008

Matériaux et température, suite

Käännös: [ Google ]

Kategoriat: [ Tiede | Tee ]

Deuxième série de mesures de la température d'une théière qui refroidit, cette fois-ci avec un thermomètre infrarouge Fluke 561 HVACPro. J'ai utilisé les mêmes récipients : un gobelet un argent massif et un gaiwan en porcelaine. Les mesures sont faites sans couvercle.

Conditions initiales

  • température de la pièce (et donc des récipents) : 23 °C
  • température de l'eau au sortir de la bouilloire : 95 °C
  • volume d'eau versé dans chaque récipient : 1 dL



Pour chaque récipient, on donne le matériau dans lequel il est fabriqué, la masse du-dit récipient, la chaleur massique du matériau, puis la température de l'eau au bout de 10 secondes, 30 secondes, puis toutes les 30 secondes jusqu'à cinq minute. Les mesures ont été arrondies au degré près dans le tableau, mais pas pour le graphe.

Matériau Masse 10 s 30 s 60 s 90 s120 s150 s180 s210 s240 s270 s300 s
GobeletArgent 100 g80 °C79 °C77 °C75 °C75 °C71 °C73 °C70 °C71 °C69 °C67 °C
Gaiwan Porcelaine 82 g76 °C76 °C73 °C70 °C68 °C68 °C68 °C67 °C66 °C64 °C64 °C


La mesure prise par le thermomètre dépend de la réflexivité de la surface et de sa couleur. De plus, si les mesures sont rapides, elles fluctuent beaucoup (ce serait dû à la présence de vapeur d'eau au dessus de la surface de l'eau chaude), parfois de plusieurs degrés.

En comparant avec les chiffres de l'expérience précédente, on remarque que les mesures donnent des valeurs nettement plus basses.

[ Postattu 28. elokuuta 2008 klo 00.06 | ei kommenttia | ]

Synoptic Comparison of MacGyver Title Sequences

Käännös: [ Google ]

Kategoriat: [ TV ]

Completely useless, therefore absolutely essential: I made a synoptic comparison of the cues that form MacGyver's title sequence in the first five seasons.

One can notice that most episodes of the third season have a shorter title sequence (unless this is made by the Finnish channel rerunning it?). Also, some cues in season five have been re-shot, with an older and sexier-looking Richard Dean Anderson (and an older-looking-only Dana Elcar), instead of being taken from existing episodes.

Surprisingly, the first episode of the fourth season (The Secret of Parker House) contains cues that have not been used before and are not resused later in the season. The Pilot episode also shows the explosion and series title cue on a background taken from the end of the teaser instead of the black background that is used later.

[ Postattu 28. elokuuta 2008 klo 00.06 | ei kommenttia | ]

Digital TV and Leffakone

Käännös: [ Google ]

Kategoriat: [ TV/Leffakone ]

Today when Leffakone was supposed to record MacGyver, it didn't record anything. The DVB-T card was able to tune to the right frequency, but nothing came out of it. I openend the case, removed the PCI card, unplugged the wakeup timer, blew on the PCI card, put the card back, and it worked. Then I unplugged the card again, plugged the timer back (the WOL port is between two PCI slots, it can't be reached without removing one of the nearby cards), plugged the card back, and it's still working, currently recording Lois & Clarke. I just hope it will continue to work.

It's not the first time I have trouble with the computer, two years ago, the DVB-T card refused to record anything while I was connected to the computer through the modem with a simple serial terminal. Computers work in mysterious ways…

[ Postattu 28. elokuuta 2008 klo 00.06 | ei kommenttia | ]