I just stumbled across superfluous.com while looking for something completely different. It's a small collection of anonymous photos found discarded on the street. The site invites you to think about the possible histories and stories behind the pictures. Somewhat haunting. See the About page for more details.
posted: Mon, 08 Jan 2007 11:22 | permalink | comments
distutils is no good for distributing applications
I've been trying to use distutils to create an installation framework for a little Gnome applet written in Python that I've been working on. After struggling with it for a few hours I've decided that it's really not going to do what I want.
The main problem I have is that I need to substitute parts of some files with the final installation paths for various data files. distutils doesn't provide such a capability and bolting it on yourself in a reliable way is rather difficult. I've tried all sorts of ways of extending the distutils core but everything I come up with is fragile, breaking if the user specifies a custom --prefix. It seems that I'm not alone.
I suppose I'm pushing the boundaries of distutils a little too far. Its really intended to distribute Python modules not Python applications. Still, modules that require external data files (outside of site-packages) would run in to similar problems.
I may have to learn how to use autotools or perhaps just roll my own scripts and Makefile. I'd love to know if there's some other alternatives.
posted: Fri, 05 Jan 2007 20:27 | permalink | comments
Starting with Ruby
This excellent read from Arto Bendiken has inspired me to do 2 things:
- start learning Ruby
- keep going with learning Scheme which I haven't touched much since I started teaching myself on the plane to Australia
- Ian Bicking's awesome comparison between Python and Ruby: Ian tries hard to stay impartial and keep the discussion on the really important issues.
- A Ruby introduction for programmers: useful quick notes for those who already program in other dynamic languages.
- The intro from the Programming Ruby book isn't bad.
posted: Fri, 05 Jan 2007 16:22 | permalink | comments