Archive | February, 2013

Musashi, en quête de son humanité

28 Feb
Après la bataille de la plaine de Hannya, Musashi et son apprenti, l’enfant Jōtarō, arrivent dans la vallée de Yagyū.

Le décor lui-même combattait la laideur. Les montagnes de la chaîne Kasagi n’étaient pas d’une beauté moins saisissante à la tombée du jour qu’au lever du soleil ; l’eau était pure et claire — idéale, disait-on, pour faire le thé. Les fleurs de prunier de Tsukigase étaient proches, et les rossignols chantaient de la saison de la fonte des neiges à celle des orages ; leurs sonorités de cristal étaient aussi limpides que les eaux montagnardes.


– C’est stupéfiant, disait Musashi dont les yeux erraient sur les récoltes champêtres et les paysans qui s’adonnaient à leurs travaux. Stupéfiant, répéta-t-il plusieurs fois.

[… Après quelques explications de Musashi, Jōtarō reprend.]

– En tout cas, vous n’êtes pas venu ici pour admirer le paysage. N’allez-vous pas combattre les samouraïs de la maison de Yagyū ?

– Dans l’art de la guerre, combattre n’est pas tout. Les hommes qui le croient, qui se contentent de nourriture à manger et d’un endroit pour dormir, ne sont que des vagabonds. Un étudiant sérieux se soucie beaucoup plus de former son âme et de discipliner son esprit que d’acquérir des talents martiaux. Il doit apprendre toutes sortes de choses : la géographie, l’irrigation, les sentiments de la population, ses us et coutume, ses rapports avec le seigneur du pays. Il veut savoir ce qui se passe à l’intérieur du château, et non point seulement ce qui se passe à l’extérieur. Il veut, essentiellement, aller partout où il pleut, et apprendre tout ce qu’il peut.

Je lis La pierre et le sabre, d’Eiji Yoshikawa, un récit initiatique de la vie d’un personnage historique réel, dans le Japon du XVIIe siècle. Celui de Musashi, l’inventeur de la voie des deux sabres. Je me régale. Je l’avais lu adolescente, et je le redécouvre, je le savoure.

L’extrait plus haut illustre tellement bien Miyamoto Musashi, le samouraï en quête de raffinement, de perfection, et de son humanité. Au gré de ses voyages, il observe, se réjouit, il découvre, il tire des enseignements. Et lorsqu’il se bat, c’est à l’instinct, avec une violence implacable et une précision inouïe.

Sur la plaine de Hannya dix jours auparavant, Musashi avait tué une douzaine de rōnins en moins de temps qu’il n’a fallu à un observateur du combat de respirer vingt fois. J’ai compté, ça me prend une minute et vingt-deux secondes pour respirer vingt fois. Balaise.

Et là, au pied du mont Kasagi, il est fasciné que les arbres des forêts sont nombreux et vieux, que les champs sont verts et que les paysans ne regardent pas d’un œil envieux les voyageurs richement vêtus.

Why I moved from My Opera to WordPress .com

27 Feb

I came to use last weekend as a mean to an end, an intermediary step between My Opera and hosting my blog on my website. I’ve wanted to host my blog on for several years without attending to it. When last month my former colleague Karl Dubost wrote myobackup, a Python script to export (backup) blog posts from, I saw an opportunity. And when I noticed that Daniel Davis added export to WordPress format (WXR), I just took the opportunity.

Blogging on my website

Like I said, I initially wanted to host a WordPress powered blog on, but I learned that some of the constraints on the machine where my website lives include a requirement for limited (i.e. no-no!) database server installation and maintenance, as well as limited exposure in terms of services. M’kay.

Static blogging

Static blogging, why not? Since my website is already static, I may as well consider a static site generator approach. I had all my posts stored neatly in directories of years and months. Only the comments were missing. Presented with a couple of suggestions (Nikola, Pelican), I soon became hopeful that at some point, even in full might be generated. Woo! Crazy. After years of building my RSS feed by hand, that would be a pleasant change!

Several attempts with Nikola

Hmmm… Maybe I didn’t pick the right one for me between the two generators. I chose Nikola because Tim van der Linden wrote a thorough tutorial that complemented nicely the Nikola handbook. I followed every step. Three times. It sucked most of Saturday and Sunday, well into each night. I tapped into Vlad’s brain and knowledge whenever I was too stuck. Thanks, Vlad.

I was at times enjoying discovering this whole new thing, and at other times I was really clueless about the whole infrastructure. I tried to rethink and adapt my future work flow without seeing a clear path. Maybe it would have been exactly the same had I chosen to try Pelican instead. Maybe I’m too old, or maybe I lost some of that characteristic geek nature.

At some point I realised the output.xml file that myobackup had generated wasn’t working in Nikola. It was missing the links to the posts, and the program’s import_wordpress function was stuck there.

From My Opera to via output.xml took the content of output.xml that myobackup had generated and imported successfully. Less than a half-hour later I had exported from a nice, long and full contemplationsinmarkup.wordpress.2013-02-24.xml file.

Back to Nikola, and away

Nikola did just fine with the newest xml file. That milestone reached, I tinkered a while with theming and customisation. There again, I found the numerous directories daunting. I soon resolved, grudgingly, to use one of the available themes as is, without customisation, for the sake of my own sanity. I took a break and pouted away from the computer.

But I kept coming back to the promise of one integrated way to generate, including my blog. So I tried harder and re-read the tutorial and the handbook, played further in the virtual environment I had set up.

At this point I was pretty frustrated with myself, to the point that it made me shed tears. I was disappointed. In truth, I was unable to sort things out, let alone make them work.

I nuked all directories.

Sticking with For now.

I licked my proverbial wounds and then curated the content I had fed into hours before.

119 posts had tags but weren’t filed under any category. There aren’t categories in My Opera as far as I know. Also, a handful of posts used to have images that hadn’t been imported. That took a great while to transfer the 152 files in question, add a description for each, and insert them where they belonged.

Yet, I actually took pleasure in the otherwise boring manual tasks that were involved. I got to re-discover past entries I had totally forgotten. I got to look again at the photo blog of our vacation in Costa Rica last year. I generally got to recall memories attached to events recounted. So, at the end of that experience, there was smiling again, and comfort.

In the future I may try again to install and use a static site generator, be that Nikola, Pelican, or Jekyll/Octopress. In the meantime, I’ll stick a bit with

%d bloggers like this: