Image 01

Archive for the ‘General’ Category

Erreur au démarrage de VirtualBox

Monday, March 19th, 2012

Il semble que cela arrive … VirtualBox perd son fichier de configuration, qui devient un fichier ivde, de 0 octets. En tout cas c’est ce qui m’est arrivé aujourd’hui. Cela produit cette erreur au démarrage :

Start tag expected, '< ' not found

avec un peu plus de blabla.

Heureusement, j'ai trouvé dans

/home/moi/.VitualBox/

le fichier de configuration précédent, nommé VirtualBox.xml-prev. Je l’ai copié et renommé VirtualBox.xml, et tout est ok.

Configurer le réseau VirtualBox pour être visible dans l’hôte.

Friday, March 16th, 2012

Le but est de pouvoir appeler la machine virtuelle depuis l’hôte. Le mode par défaut de Virtualbox est NAT (Network Address Translation), ce qui évidemment ne permet que de sortir de la machine virtuelle vers le réseau, et non l’inverse.
Dans la configuration de la machine virtuelle éteinte, allez dans la partie réseau, et sur l’interface activée, choisissez “accès par pont” au lieu de NAT dans le type de connexion. Choisissez ensuite en dessous l’interface eth0.
Redémarrez votre machine virtuelle. Chez moi, Ubuntu en hôte et Ubuntu en VM, ça marche directement. un

ifconfig

dans la machine virtuelle me montre qu’une adresse IP a été attribué à la machine virtuelle par le DHCP de mon réseau.

Multiplatform GUI dev using Python or Perl

Monday, February 21st, 2005

After investigating GUI development in GTK+2 and Perl, I had a look at using either Perl or Python with wxwidgets.

for Perl : wxPerl
For Python : wxPython

wxGlade generates Python and Perl code for wxWidgets.
Possibly also visualwx, but for windows only.

SPE is an editor and IDE for python, done with wxPython.
Eric a very complete Python IDE written in PyQt using the QScintilla editor widget.
EPIC is an opensource Perl IDE for the Eclipse platform.

For using Postgresql with Python
pypgsql, with an installer for Windows
Needs eGenix.com mx Extensions for Python

horse meat

Friday, February 13th, 2004

Just having a look at TV. On a french channel, a show with a young new “star” made by the TV channel, singing some pityful crap with young girls in very short outfit dancing around him.
At this very moment, I would like to stop being vegetarian, and eat horse meat with Phil Dick. The cheap one not for human consumption he was buying.
In this situation, what’s the point to be vegetarian ? Eating horse meat like Phil Dick is so much more enviable than any of those apocalyptic moments on TV. This can’t be real, they cannot be real people, it can’t be.

The Paper

Thursday, February 12th, 2004

I was watching today The Paper. Fine, Ron Howard sometimes do some decent movies.

I liked a specific moment, when Robert Duvall as the Editor of the newspaper is stating, in a cafe, that the time of a man is taken by three things : the house, the work and people – the family. If you add up the three things, it needs more time than one has at one’s disposal. So usually we take time from the people, because as they are people, we assume they are more flexible and that they can understand or we will have time to catch up later…

Shifting realities

Monday, February 9th, 2004

I started reading some days ago the selected writings of Philip K. Dick published under the title “The shifting realities of Philip K. Dick” by Lawrence Sutin, who also wrote a biography of Dick.
It has been some time since I haven’t read a Dick’s novel, and I didn’t realize how much I was missing it, I was missing him. Truly his writings are touching me. I am reading this short essays, speeches, introductions in the train, going to work in the morning, and oftentimes I start having tears. So I close the book, need to take some time, try not to look affected for other people in the train. Dick is talking about his life, his love for science-fiction, SF writers, girlfriends and cats. He is repeating how poor he was, is and will be, a talk about life with this familiar voice of close friends who are sad, sometimes resignated, sometimes revolted, always frank and true. He doesn’t want to hide and his simplicity, the delicate and at the same time straightforward tone he has, take us with him. He doesn’t want to hide, or to show off. He wants to be, to feel, and his relation to life is sincere. He his searching meaning, loves music and philosophy, reads everything he can about religion, talks about dead friends, jokes about little things and pass on moments of his life where he was touched and amazed. Dick was a truly great writer, someone who weaves strings of the most exquisite quality, and makes us feel more alive, more humans.

paths of destiny

Saturday, January 31st, 2004

I am wondering sometimes if there’s a kind of paths of destiny.
I am watching the final of the Welsh Open of Snooker, and it seems to me it is always the same pattern. Ronny O’Sullivan was three frames behind, when Steve Davies needed only one more frame to win this open. And as I have seen it many times before, at a point, it is like things take a direction – a path, and you feel it, it is perceptible, like if real life was a movie : there are twists and turns, but you know, inside of you you know what the outcome will be. Steve Davies came back many time at the table, Ronny O’Sullivan made many mistakes, and at the end – it was such an incredible last frame -, at the end there was a gap of just a few points, everything could have changed in a second. But it happened what I felt, what was in the path taken less than one hour ago, this path of destiny. The last red ball was missed by Steve Davies, it made it easy for O’Sullivan to finish the frame, there were maybe a gap of five points, Steve Davies could have won the game at the very last moment : the ultimate seventeenth frame. But, as if things were written, as if certain movements were unstoppable, he just missed it, and didn’t revert the momentum of O’Sullivan.
That was a really great moment of Snooker.