Category Archives: TechNotes

Howto’s and various technical notes

The perfect instant messaging setup

To stay in touch with all your contacts you often install many different kinds of IM-applications. In a worst case scenario you could end up with one application for each of these services: MSN, Google Talk, AIM, Yahoo, ICQ, IRC, Facebook Chat, Twitter, Skype and maybe a few more, but the truth is probably that you have one multi protocol application and then maybe Skype and Twitter on the side. That was my situation, and I didn’t like it. In addition to the new and maybe more popular services I still use IRC, and IRC is now coming to the rescue…
Continue reading

lbdb – The Little Brother’s Database for Snow Leopard

Since Snow Leopard broke GPGMail I started to use Mutt, and I wanted to use lbdb to be able to search my Os X Address Book for contacts. With Snow Leopard also comes a new Xcode release, version 3.2, and that made some problems when trying to build ABQuery in lbdb-0.36. One of the users at MacPorts made a patch, but since I don’t use MacPorts (I tend to build from source) I applied the patch to the source myself. I have not found this elsewhere, so I thought I might as well make it available for download.

Continue reading

PyQt and Pydev in Eclipse on Snow Leopard

It’s been a while since I’ve done anything useful with Python, but just the other day I felt a sudden urge to pick it up again. I needed to get my old development environment with PyQt4 and Pydev up and running. I downloaded the latest version of Sip and PyQt from Riverbank, Qt (the mac-cocoa package) from Nokia and went through a straight forward install. After checking that I could import QtCore and QtGui in Idle, I installed the latest version of Pydev in Eclipse and opened one of my old projects…. Python crashed with the following error ‘Python quit unexpectedly while using the plug-in’ and my project was filled with unresolved import errors. I thought that I had run into some 32- vs 64 bit issues, and started to build everything from source. I went through the whole install process several times building different versions of Qt from source and switching back and forth between 32 and 64 bit installs and Python versions, but no avail. After some late night Googling I found a post at Pydev’s tracker on Sourceforge suggesting to turn off code analysis in Pydev, due to a bug in PyQt4(I think). With code analysis off everything worked. I am not sure if it’s only because of the code analysis setting, or if it’s a mix of that and the versions of Qt, PyQt and Python I just happened to be running at the time. I have put together a list of what I installed and how. If you already have everything installed, but with different versions of the software, try and turn off code analysis. If that doesn’t help maybe this setup will. If you have some more info regarding these issues, please leave a comment.

Continue reading

Stream audio from any application to your AirportExpress

This guide is for Ubuntu 9.04 Jaunty Jackalope and will show you how to stream audio from any application to your AirportExpress. PulseAudio has built in support for AirTunes/AirportExpress with version 0.9.15. Unfortunately it did not make the Jaunty release, but installing it yourself is a small task. This guide will show you how. (Guide is updated for 9.10 Karmic Koala)

Continue reading