Posts

Showing posts from July, 2011

bye bye launchpad

I'm starting to move most of my projects off launchpad onto bitbucket. launchpad just hasn't gone in the direction that is useful for me, or my projects. It still has some nice features, such as packaging farms (PPAs) and of course bzr integration. However, github and bitbucket have just been moving more towards making it easy for developers compared to launchpad which is more geared towards for distributors who work with an upstream. Last year I hoped launchpad would improve after it went open source, and it has improved. Just not really in the direction useful for my projects. Many people these days are able to use hg, or git... but still very many people have never even heard of bzr. I feel bzr+launchpad was holding one project back a little from gaining collaborators because of this. By that logic, I should be using svn for it... but I don't want to do that :) The documentation to convert repositories to mecurial is on the hg wiki. The conversion seems to mostly...

shadertoy.py opengl shading language toy shader

A couple of months ago I made a python port of the WebGL shadertoy . The shadertoy website is written in JavaScript and the opengl shading language. Here is the python port: http://rene.f0o.com/~rene/stuff/shadertoy.py Maybe it'll be useful for someone learning shading languages through python. Or not. It's a fun demo anyway. Press the 'Anykey' to change between shader. You'll find the 'Anykey' on your keyboard. If the Anykey you press is Escape, then the program will 'quit'. Requires 1 tsp of pygame, and a cup of pyopengl.

cherrypy daemontools

Cherrypy and daemontools work nicely together. However, I have not found any instructions on how to use them together on the interwebs... so I've written up some basic notes for people who love cherrypy and daemontools. daemontools is a collection of tools for managing UNIX services. It can be used to automatically start, and restart processes on a unix system. The instructions to run services in daemontools are here: http://cr.yp.to/daemontools/faq/create.html#run . I'm assuming you have daemontools set up already. Cherrypy is a python library for making website applications. There are many ways to deploy cherrypy apps, but I will describe how to deploy cherrypy apps with daemontools. Firstly, you do not need the cherryd tool to use with daemontools. Daemontools does the daemonising for you. But cherryd can be used if you want, since it provides some nice options (just don't use the -d daemonize flag). You may want to use cherryd with daemontools if you'd lik...