Archive for September, 2007

Citations Ahead

Thursday, September 20th, 2007

Let’s get this out of the system. I’ve spent the last day doing this:

  1. learning to script dia with python
  2. finding a script for searching with googlescholar from python
  3. adapting it to get the citations for the first found document, assuming a search for the full title will always lead to the document with that title being first (seems reasonable).
  4. fixing the bugs and getting the picture below.

To get it running I did the following (there is probably a much simpler way):

  1. got the from dia sources (apt-get source dia-libs)
  2. copied it to ~/src/dia_python
  3. put there the files attached (,,,
  4. export DIA_PYTHON_PATH=~/src/dia_python
  5. dia

The result is that dia has an extra menu entry in the Objects menu. It expects you to have selected a “Flowchart – doc” type (see the attached dia file), and then goes and expands it through google scholar, putting new nodes. Due to a bug/lack of understanding on my part, you have to refresh the display somehow, by dragging around, to actually see the new nodes.

Missing: identifying same objects instead of creating them again, citations by, clickable links so you can easily go to the web, export to bib file / aigaion, go wild.

Since I can’t actually upload any of the non image files (dia, py) I’ll put them here

citation generation

Enlightenment e17 on ubuntu

Sunday, September 16th, 2007

The easy way:

the juicy parts:

  • wget
  • sudo apt-key add repo_key.asc
  • edit sources to include ## Elbuntu
    deb gutsy e17
  • sudo apt-get update
  • sudo apt-get install e17

Or you could go directly to the source, use this diagram to see what to compile first, basically libs/evas…, apps/e and then killall metacity; enlightenment_start

  • cvs -z3 -d co e17
    • This isn’t entirely uptodate, but ./ will tell you what is obsolete.

aigaion exploit

Wednesday, September 5th, 2007

This is old news, but aigaion 1.3.1 has an sql injection exploit, upgrading to 1.3.4 seems to do the trick. I think this is proof of karma.

Diamond Age revisited

Sunday, September 2nd, 2007

Killing ants is a ractive. (Can anyone make a mite that discourages ants? Can anyone make a mite?)┬áThis is the connection between what is going on in my apartment and “the diamond age” of Neal Stephenson. It is also why I will never be a Gandhi.