A Django site.
July 8, 2008
» Improve Application Startup Times With Preload

If your computer habits are anything like mine you probably have a set of applications that you use nearly every time you log in to the machine.  Let me guess.. Firefox?  Pidgin perhaps?  Thunderbird or Evolution?  You may have more or less, but it is common for a user to use the same applications regularly.  Wouldn’t it be nice if those commonly used applications could startup faster?  That is possible with a tool called “Preload”.

Installing Preload

The preload service is available through the main Ubuntu repositories, and can be installed by clicking the link below or running the command:

sudo aptitude install preload

A few things to note now about using Preload.  First, this will not improve boot time.  Preload monitors recurring applications and, after establishing a pattern, will preload those binaries into memory at startup.  Given that it also has to establish a pattern you may not see a performance increase immediately.  Give it some time though, you’ll start to see a difference soon enough!

Other Points of Interest

October 20, 2007

Hans Fugal
no nic
The Fugue :
» Pidgin, Ubuntu 7.10, ejabberd

When I upgraded my desktop to Ubuntu Gutsy Gollum (7.10), Pidgin (what was Gaim) started doing odd things. It would connect to Jabber, but then shortly after disconnect. The reason it gave is "XML not well-formed." Messages sent from that account disappeared into the ether, though it could receive messages just fine. There's a bug filed for this on launchpad. The bug was filed in May, five months ago. So much for quality control.

Still, the fault is not entirely with Pidgin or Ubuntu. Even though Adium, at least, had no problem, there was a misconfiguration in my ejabberd server. I was getting this in the logs:

=ERROR REPORT==== 2007-10-14 08:27:42 ===
E(<0.249.0>:acl:178): Wrong ACL expression: [{user,"larry","example.com"},
                                             {user,"bob","example.com"}]
Check your config file and reload it with the override_acls option enabled

I have no idea what the override_acls bit is for, and uncommenting it didn't make any difference. But fixing the broken ACL expression (I guess an array isn't valid here, instead use two ACL expressions), fixed the pidgin problem.