Random notes from mg

a blog by Marius Gedminas

Marius is a Python hacker. He works for Programmers of Vilnius, a small Python/Zope 3 startup. He has a personal home page at http://gedmin.as. His email is marius@gedmin.as. He does not like spam, but is not afraid of it.

Wed, 17 Jan 2007

Sleepless nights

My sleep schedule is totally out of whack. I cannot sleep before 3 AM (sometimes I stay awake until 7 AM), then I cannot get up before noon.

As a result I have more free time for hacking. Today I tried to play around with Metacity's compositor, with some mixed success. I also built a patched FBReader with a numeric page indicator tweaked to the size and position of my liking (screenshot). Bzr rocks for maintaining branches!

eazysvn also got a facelift today. It is now installable with easy_install.

I do not like easy_install. It wants to install stuff into /usr/lib/python2.4/site-packages. That location is reserved for Debian packages. A sensible default would be /usr/local/lib/python2.4/site-packages or, preferably, somewhere in my home directory, with the caveat that I'll have to set up PYTHONPATH myself. You can force easy_install to do more or less what you want, but that involves reading tons of documentation, invoking arcane multi-thousand line scripts, or sacrificing small animals. Not my definition of "easy".

Last night I submitted a patch to add a tiny help topic to bzr. Before that, nights were dedicated to zope.testing and pyspacwar.

In the mean time, actual paying work suffers. Karmic retribution for those three 11-and-a-half hour days I spent at work during the first week of January? No, just lack of willpower to force myself to go to sleep (or wake up) early instead of, for example, blogging.

posted at 04:42 | tags: , | permanent link to this entry | 0 comments

Name (required)

E-mail (will not be shown)


Comment (some HTML allowed)