Patrick's Blog

Suspend2 and Ubuntu Dapper Drake

April 29th, 2006

I’m currently running the Ubuntu Dapper Drake Beta on my IBM Thinkpad. What I still don’t like in this latest release of Ubuntu is the usage of the in-kernel software-suspend. I used suspend2 for the past one and a half year and I was quite happy with it. So there isn’t any reason why one should change to the slow and somewhat broken in-kernel swsuspend…

The compilation with the suspend2 patch is quite straightforward:

  • download latest kernel sources
  • patch the kernel sources with the appropriate suspend2 patch
  • enable the suspend2 stuff with make menuconfig (don’t forget lzf compression, this will make the whole thing much faster on modern hardware)
  • make-kpkg and dpkg -i …

Not too difficult, but the interesting thing is how to use suspend2 hibernation functionality from the Gnome logout menu. It is a simple as changing the /etc/acpi/hibernate.sh to something like:

/usr/sbin/hibernate -F /etc/hibernate/hibernate.conf

provided that /etc/acpi/hibernate.conf is your configuration file for the hibernation. The same applies for the sleep button, where you need to change /etc/acpi/sleep.sh.

Posted in linux | Comments Off

Semester Thesis

April 4th, 2006

My semester thesis in Machine Learning is finally finished! The main part of the semesterthesis deals with the question, how to validate protein database searches. Beside the whole database search we evaluated several validation methods: hypergeometric p-value, Linear Discriminant Analysis and Gaussian Mixture Model.

See here for more details. There you can download the project documentation and the slides of the presentation.

Posted in academics | Comments Off