Archive for the ‘Uncategorized’ Category

Using grep to search in files

Wednesday, November 5th, 2008

I'm moving away from eclipse and more and more into the wonderfull (and cold) world of the command line. So I need to search for file that contain something in the current directory and its subdirectories all the time grep -R "something I'm searching for" . Grep is the way. And with some ...

Finally installed archlinux

Wednesday, November 5th, 2008

That's it, the new ubuntu was coming and I was thinking, I'll get gimp 2.6 and tabs in nautilus ... But I should wait a few days before updating cause update is always buggy the first days ... And fuck that I wanted to install archlinux anyway (it's just that I ...

Gimp 2.6 is out !

Wednesday, October 1st, 2008

I'm using GIMP 2.4 at my job to make a website and I heard a lot of people bad-mouthing it so I expected having a bad time with it, but it's really usable. And I had no experience of it before, my previous experience of photo editing takes me back ...

We are just like C

Friday, September 26th, 2008

Dear blog, it's been long since I last talked to you, but I felt like doing it tonight. This is the unfaithful transcription and translation of a chat I had tonight. me: Math sucks. mister M: That's not what you told me 10 minutes ago when talking about the number theory described ...

Linux distros

Tuesday, July 22nd, 2008

I found a cool schema that I hadn't seen before on reddit today: the linux distro timeline. We notice three main roots Debian the community distro, Slackware the one man distro and Red Hat the company developed distro. I guess everyone know them, nothing to see move along. What's interesting ? The ...

What are your chances of hitting a fly with a tennis racquet?

Friday, July 18th, 2008

Just one of the problems that I finished solving a few hours ago for google code jam. It's the first time I tried a programming competition, and it's a pretty interesting one. Problems are hard but solvable and you always get a few sample inputs and outputs, which is really ...

Good news everyone ! Futurama: the beast with a billion backs is out

Sunday, July 13th, 2008

Futurama: the beast with a billion backs is out in DVD in the US and Canada and illegally on the internet for others, may it lead to the end of civilisation. This is a must watch. Futurama is as witty and fun as ever. You will have the honor to ...

Smart indentation for python in gedit

Thursday, July 10th, 2008

A few days ago I developed a plugin for gedit that provides smart indentation for python code. The code is indented when the previous line ends with ':' and un-indented if the previous line starts with 'return', 'pass', 'continue' or 'break'. This plugin will use your tab configuration for indentation. To ...

Hope for the best, prepare for slashdot

Tuesday, July 8th, 2008

You have a brand new wordpress blog. How fast is it ? It's supposed to be fast, isn't it ? Lighttpd is dead fast, php is fast, mysql is fast. So let's try it with ApacheBench: ab -n 1000 http://libreamoi.com/ This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus ...

Starting ipython from pdb

Monday, July 7th, 2008

Well this is not so useful now that ipdb exists. Still ipdb sometimes fights with ipython, the ? of ipython doesn't work, so it might still be useful from time to time. For those that are used to ipython the python debugger is often frustrating by its limitations: no completion, no ...