Archive for October, 2007

Using IPv6 by default with wget

October 31st, 2007 by Samuel Tardieu

I was surprised to see that wget chose to use IPv4 over IPv6 when downloading a file. It looks like it is on purpose (I would call it a bad design choice). You can tell wget to prefer IPv6 over IPv4 by putting the following line
prefer-family = IPv6

in either /etc/wgetrc (system wide) or $HOME/.wgetrc (user […]

Strange keyboard problem

October 19th, 2007 by Samuel Tardieu

Since about a week, I started to notice that I had been making a lot of typos in some commands I use frequently. For example, I became unable to type correctly

cd /usr/src/linux

which always resulted in

cd /usr/src:linux

(incidentally, when typing the above strings, I had to fix the first one and the second one came naturally buggy)
On […]

Recursion and while loops in Factor

October 11th, 2007 by Samuel Tardieu

Tonight, I was willing to create a while construct in Factor taking two items on the stack:

a quotation to execute when the test is true
a test quotation

For example, I wanted to be able to find the smallest power of two greater than or equal to an arbitrary number (here 34098) by doing:

1 [ 2 * […]

A Japanese student in Paris

October 5th, 2007 by Samuel Tardieu

Are you Japanese? Do you have a bachelor degree? Do you speak some French? Do you want to come study for one year in Paris for free in the prestigious École Nationale Supérieure des Télécommunications? We teach computer science, electronics, embedded systems, robotics, optical communications and many other things.
If you answered yes to all those […]


Creative Commons License