The documentation bugs

March 8th, 2008

While setting up Maemo dev environment, I found following thinko… On the dev-environment setup page, it mentions to read “install.txt” which contains following section:

To install scratchbox first download the script (from the same
directory where you found this INSTALL.txt file) to your host
computer and just run the maemo-scratchbox-install_3.1.sh as user
root:
  $ sudo chmod a+x ./maemo-scratchbox-install_3.1.sh
  $ sudo ./maemo-scratchbox-install_3.1.sh

But real life is different:

...
E: This script should NOT be run as user root.

Testing out bisecting

February 11th, 2008

About the time to take some action:

chi linux # git-bisect good
Bisecting: 4814 revisions left to test after this
[d2e626f45cc450c00f5f98a89b8b4c4ac3c9bf5f] x86: add PAGE_KERNEL_EXEC_NOCACHE

Also.. back in Tartu. A new semester, weather feels crappy and this time I forgot my toothpaste.. ;)

Debugging Django {% url %} tag

February 6th, 2008

When you sometimes notice that {% url %} tag does not work for your named urls, then debugging it is easy. Start the python shell:

import app.views
from django.core.urlresolvers import reverse
reverse('named-view-to-be-tested')

If the view doesn’t work, it will either return NoReverseMatch: Not enough positional arguments passed in exception or url.

Thanks to jodal from #django for the tip.

Chemistry - FAILED

January 22nd, 2008

I failed in “Chemical Principles I”… Hopefully I have better luck this autumn.. ;)

The goal of the course is to help students develop “chemical insight” - the ability to see matter through chemists’ eyes, and to make connections between chemical principles, theory, experimentation, and the world around us.

Bah…

Casio LCD datasheets

January 13th, 2008

Dear Lazy Web, where could I get a datasheet for following Casio 2.8″ LCD?
Casio 2.8\

It originates from Olympus SP-550UZ camera, seems to be 2.8″ and has 2653 written on it :)