Well wordpress failed me again after I got lazy and didn't upgrade it for a while. It ended up getting hacked through a vulnerability in the image upload script. There didn't seem to be any real damage but it messed up my wordpress database somehow. Anyways, I'm rather sick of upgrading wordpress constantly and so I've switched to pyblosxom
. It's nice and simple, no comments, so no spam, and I was able to drop all my old wordpress posts into text files with a simple python script.
posted at: 22:46 | path: /general | permanent link to this entry
I noticed the ibook getting really warm during compiles, and a quick search showed that I needed to load a module to properly monitor the temperature and thus start the fan. Sure enough as soon as I did modprobe therm_adt746x the fan started up. I made sure to add this to the /etc/modules
This also provides /sys/devices/temperatures/sensor1_tempature (and sensor2_temperature) which were at 60 when I first modprobe'd the module but quickly dropped.
posted at: 22:33 | path: /debian | permanent link to this entry
Compiling python-mysql for use on a nokia n800.
I got the libmysqlclient15 libraries that were released from the gmyth package.
I then downloaded MySQL-python-1.2.2.tar.gz
I changed site.cfg file and set threadsafe to false, then ran python2.5 setup.py build
I then changed site.cfg to set threadsafe to true, then ran python2.5 setup.py build again
after that all went well, I ran python2.5 setup.py install and this created an egg /usr/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5-linux-armv5tel.egg
I copied this to the nokia n800 in the same directory and installed libmysqlclient15_5.0.27_armel.deb and then I was able to import MySQLdb and use mysql.
added /usr/lib/mysql to /etc/ld.so.conf and ran ldconfig
posted at: 22:22 | path: /general | permanent link to this entry