Category Archives: Programming

Handling locked screen event in Qt for Maemo

If you want to pause an application to save battery power when the screen is turned off, you can do this by listening for the locked screen event in Qt for Maemo. However, this is not made easily available through … Continue reading

Posted in C++, Mobile, N900, Programming, Qt | Tagged , , , , , , , , , | Leave a comment

Handling application minimization in Maemo with Qt

When you are developing with Qt on Maemo you might want to minimize or detect minimization of your application to the dashboard. Qt lacks clean functions for these use cases, but thankfully it’s still very easy to accomplish them. Minimizing … Continue reading

Posted in C++, Mobile, N900, Programming, Qt | Tagged , , , , , | Leave a comment

Loading local gems in cPanel shared host

I had some trouble today figuring out why my Redmine installation wouldn’t start running on my shared server. I received the following error in my log/mongrel.log file: ** Starting Rails with production environment… Missing the i18n 0.4.2 gem. Please `gem … Continue reading

Posted in Programming, Ruby | Tagged , , , , , , , | Leave a comment

Trafikanten on Maemo

Update: The package was pushed to Extras testing on 2nd of October. It was delayed because Maemo’s package repository would not import the new package due to some trouble with the version numbering. There has been missing a native application … Continue reading

Posted in C++, N900, Programming, Qt | Tagged , , | Leave a comment

Skip the packaging step in Qt Creator 2.0

Qt Creator finally has support for packages, but now it is lacking the support to disable them instead. Continue reading

Posted in Mobile, N900, Programming, Qt | 2 Comments

Connect to your N900 while developing via usb

Sometimes it feels good to be a bit lazy and let your OS do that boring terminal-typing for you whenever you connect a new device. Continue reading

Posted in Mobile, N900, Programming, Qt, Ubuntu | Tagged , , , , | 1 Comment

Moving around and going to github

I don’t think you’ll notice, but I’ve just moved this page permanently to dragly.org. There seems to have been some problems getting this site indexed properly when it was hosted on a subdomain of dragly.com. To get the site ut … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Python deleted my vector values

Sometimes scripting languages can be a real annoyance. Why? Because when you get as much help as you do with for instance Python, you also lose a lot of control. Being used to scripting languages like PHP, I made the … Continue reading

Posted in Programming, Python | 2 Comments

Fixing a bug with python-visual in Ubuntu Karmic

I was preparing to do some tasks in my physics course today, and experienced a rather annoying problem when attempting to use the python-visual package in Ubuntu. There seems to be a bug in Ubuntu Karmic which results in the … Continue reading

Posted in Programming, Python, Ubuntu | Leave a comment

Fixing “undefined reference to `vtable for …”

These annoying errors have been haunting me the last couple of days, so I figured I should share the most common reason for their occurrence. That is in my projects at least. This error is caused because the linker in … Continue reading

Posted in C++, Programming, Qt | Tagged , , , | 2 Comments