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.

Fri, 21 Dec 2007

Nokia can has web server pls?

The inability of Nokia to provide reliable web servers for repository.maemo.org and tablets-dev.nokia.com is annoying. I am unable to build packages for N810 because the apt repository that contains build dependencies is down, and apparently has been down for a couple of days already.

posted at 01:33 | tags: | permanent link to this entry | 0 comments

Thu, 20 Dec 2007

Linux on a Thinkpad T23

Andrew Dalke writes about his painful attempts to install Ubuntu Feisty on a Thinkpad T23. I've had a T23 and ran various versions of Ubuntu on it happily. When it works, Ubuntu (and Linux in general) is great; when it doesn't work, it is painful (but at least I can fix it, unlike, say, Windows).

One thing, though: the T23 doesn't support USB2. Using an external hard disk over USB1 is very slow and uncomfortable. Also, I wonder what sort of an install disk Andrew used. It sounds like a server or alternate install CD -- the regular desktop CD installs X and everything else for you.

posted at 18:33 | tags: | permanent link to this entry | 0 comments

Sun, 16 Dec 2007

Testing unit test coverage

Lars Wirzenius writes about measuring unit test coverage with coverage.py.

I've been doing the same thing with trace.py from the Python standard library, and the Zope 3 test runner. The pretty HTML output is generated by z3c.coverage by a nightly buildbot run, and any regressions in test coverage are reported via email ("module foo.bar got 5 new untested lines of code"), also thanks to z3c.coverage.I wonder about the differences between coverage.py and trace.py sometimes, but so far I haven't found the time to investigate.

This is the point where I wish PyBlosxom had a simple-to-install, spam-proof comment plugin. Oh well, there's a mailto: link below each post.

posted at 15:05 | tags: | permanent link to this entry | 0 comments