Mon, 21 Apr 2008 14:08:00 in Tech stuff | permalink
linux mplayer python watchdog watchdogdev
One of my projects is a Linux-based embedded device for playing commercials. The software part is a Python application controlling an MPlayer process in slave mode.
To make the whole system more fault-tolerant I wanted to use watchdog timer which would reboot the machine in case of software failure. Thus I needed to talk to Linux watchdog driver from my Python application. The Linux watchdog API defines a number of ioctl commands which can be sent to the driver. So, I wrote an extension module which enables Python programms to use Linux watchdog API.
Wed, 19 Mar 2008 11:05:00 in Tech stuff | permalink
apache cherrypy debian linux python turbogears virtualmin webmin
Recently Matvey (thanks dude!) has set up a new Virtualmin hosting platform on Debian GNU/Linux. When I was migrating timka.org to this new platform I found out that Virtualmin is actually very powerful and nicely integrated with Apache in Debian. Looking at all these new features and capabilities I thought that I could try to use them for running home-based TurboGears applications on Virutalmin's virtual hosts.
Wed, 30 Jan 2008 11:38:00 in Tech stuff | permalink
Many popular Python libraries are available in various Linux distributions. However, it is not always possible and/or desirable to install them from packages. For instance, sometimes you don't have root access to the target machine or just want to have other vesrion of some library isolated under your home directory.
I've been successfully using this approach on my laptop and several development and production sites for about two years so far.