Tibor's Musings

Paul Erdös and the Game Show Problem

Suppose you're on a game show, and you're given the choice of three doors. Behind one door is a car, behind the others, goats. You pick a door, say #1, and the host, who knows what's behind the doors, opens another door, say #3, which has a goat. He says …

Python Garbage Collection Issue

For performance reasons, it may be interesting to switch off Python garbage collection in inner loops. Here is a story behind doing that in Invenio software.

For performance reasons, it may be interesting to switch off Python garbage collection in inner loops. Here is story behind doing that in Invenio …

USB 3G Modem Tips

Recently I got to use a T-Mobile SK USB 3G Mobile Broadband Modem device (ZTE MF190). Here are notes on how to make it work in GNU/Linux.

Prerequisites

$ sudo aptitude install lsusb usb-modeswitch

Switching the device from USB storage mode to USB modem mode

When the given T-Mobile USB …

Gnome3 First Look

Now that Gnome 3.0.2 packages hit Debian Wheezy repository, I thought of giving vanilla Gnome a try for a week or two. After many years of using small, tiling, keyboard-friendly window managers ion, dwm, awesome and xmonad, I was curious to see how a typical mainstream Desktop Environment …

Tee

Have you ever tried to use echo with sudo to write some text to files owned by another user? Did not work? Tee, a handy tool that reads from standard input and writes to standard output and files, is here help.

Imagine the following directory permission situation:

$ ls -ld /var …