I took a break from working on my slides today to do a mini hack that had been crossing my mind. I rarely need devhelps full gui, i just want quick access.
Since I ported gnome-do's relevance to python last september and wrote the async io file walker, it was a breeze.
It's a bit slow on updating the treeview when it scores all the items. This could be fixed by rotating between two models and updating the second model in a background thread. but it works for now.
git clone git://github.com/chergert/ddg.git



Comments (3)
I’m using your relevance module btw in a mini-hack called kupfer. It’s a launcher but I’m not sure it’s going to become anything soon..
Most excellent. For the record, the Gnome-Do guys relicensed that under MIT X11, so you should be able to use it as such if preferred over GPL-3.
btw, following up here. I don’t think I send you this patch — basically relevance.py does some division operations that always return 0. It only changes ranking marginally; so I have a patch to do
from __future__ import division
so that good /( good+bad) returns a float rather than 0 (since integer division truncates in python 2.. was fixed for python 3!)
http://github.com/engla/kupfer/commit/5516b5e8b7135da9aef48aff862ba84cb7ebb737