This is a promising project for those who need both speed (not the drug) and Python (not the .. no).

Very easy to combine C and Python with Pyrex, for those who didn’t know.

Check it out!


A story about Lisp remote debugging

Revised slightly, but mostly taken from the free Apress book online: Practical Common Lisp

REPL = Read-Eval-Print Loop
SLIME = Superior Lisp Interaction Mode for Emacs

Even when the Lisp app is deployed, there’s often still a way to get to a REPL.
you can use the REPL and SLIME to interact with the Lisp that’s running a Web server at the same time as it’s serving up Web pages. It’s even possible to use SLIME to connect to a Lisp running on a different machine, allowing you for instance, to debug a remote server just like a local one.

An impressive instance of remote debugging occurred on NASA’s 1998 Deep Space 1 mission. A half year after the space craft launched, a bit of Lisp code was going to control the spacecraft for two days while conducting a sequence of experiments. Unfortunately, a subtle race condition in the code had escaped detection during ground testing and was already in space. When the bug manifested in the wild–100 million miles away from Earth–the team was able to diagnose and fix the running code, allowing the experiments to complete.

One of the programmers described it as follows:

Debugging a program running on a $100M piece of hardware that is 100 million miles away is an interesting experience. Having a read-eval-print loop running on the spacecraft proved invaluable in finding and fixing the problem.

Support FSF (Free Software Foundation)

I donate money to very few organisations / foundations. Actually only two:

1. The Salvation Army

2. The Free Software Foundation

Give a helping hand to see all the wonderful free software evolve and crush the overpriced¬† commercial crap, that so many “depend” on these days. Click my FSF member button that links to FSF’s donation page and choose an amount to donate.

[FSF Associate Member]

IBM / Lenovo Thinkpad Trackpoint Scroll

If tou, like me, use a thinkpad, and are addicted to the efficiency gained by not having to move your hands away from the keyboard to scroll a page, or use the cumbersom scrollbars on webpages and other apps, you’d like to know how to configure this behavior in Linux, right?

The advent of Udev and HAL in modern Linux distributions makes changes to xorg.conf pretty much obsolete. Instead you interface with the hardware through different configuration files in HAL and Udev, respectively.

If you’re using a modern distribution, you can follow this:

To enable vertical scrolling with the middle trackpoint button, create the file /etc/hal/fdi/policy/mouse-wheel.fdi as root with the following content:

<match key=”info.product” string=”TPPS/2 IBM TrackPoint”>

<merge key=”input.x11_options.EmulateWheel” type=”string”>true</merge>

<merge key=”input.x11_options.EmulateWheelButton” type=”string”>2</merge>

<merge key=”input.x11_options.YAxisMapping” type=”string”>4 5</merge>

<merge key=”input.x11_options.XAxisMapping” type=”string”>6 7</merge>

<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>

<merge key=”input.x11_options.EmulateWheelTimeout” type=”string”>200</merge>


Do a reboot, and your Trackpoint should work as expected.

You might also want to disable the trackpad (the one that always annoys you when writing, or laying on the couch with the ThinkPad in an upright position), so that when you work, you use either the trackpoint only, or an external mouse via USB or the likes.

If you are using Gnome, you could fine-tune the trackpoint with an application like this: