April 6th, 2008 @ 22:03

Building dynamic forms with Django newforms module is quite undocumented, though it’s quite easy to do. All you need to do is to hook up the __init__ function of the form, raise the __init__ to the parent forms.Form class and then add your dynamically generated fields to self.fields dict.

Here is a quick snippet demonstrating it, which will create a form with n integer fields named from 0 to (n – 1), but you will easily be able to heavily extend it.

from django import newforms as forms
 
class MyForm (forms.Form):
 
    def __init__ (self, n, *args, **kwargs):
        forms.Form.__init__ (self, *args, **kwargs)
        for i in range (0, n):
            field = forms.IntegerField (label = "%d" % i, required = True,
                                        min_value = 0, max_value = 200)
            self.fields["%d" % i] = field
April 3rd, 2008 @ 23:26

Compiz Fusion Logo
We have just released Compiz Fusion 0.7.4, based on Compiz 0.7.4. This is a new development release, featuring a good bunch of bugfixes and a new plugin providing bicubic filtering through shaders.

The official announcement is available in Compiz Fusion Community list archives.

March 31st, 2008 @ 23:00

Bah, it took so much time to get them, while it was just a matter of finding one or two dozens of hours to make them all :)

Well, I’m too lazy to do any screenshot now, so just check them out by yourselves :)

March 9th, 2008 @ 21:01

Months ago, we were setting up Shound.org‘s VPN and we were willing to produce a good looking map of the network status. We quickly chose weathermap4rrd, the software which is usually used for that kind of purpose. However the result looked graphically a bit rough, with aliases lines and so on, so that I had to fix it. I rewrote the rendering bits of the PHP version so that they use one of the PHP Cairo wrappers.

The usual sceenshot :

weathermap4rrd+cairo sample

I bundled the whole stuff you might need to deploy it with a howto and additional infos (sorry, the docs are written in French, I will translate them when I’ll have the time to) into this tarball, or you might just grab the weathermap4rrd patch.

March 7th, 2008 @ 01:09

Compiz Fusion Logo
And here is Compiz Fusion 0.7.2, meant to be used with the freshly released Compiz 0.7.2.

The official announcement is available in Compiz Fusion Community list archives ; 0.7.2 should hopefully ship with the next release of your beloved distro :)

March 6th, 2008 @ 21:29

It’s now official, Enso, a really awesome tool that integrates smoothly into your desktop and enables you to perform several otherwise boring actions by just using your keyboard in a very simple way (check Humanized website for a better description), has just been open sourced under a BSD-like license. It’s written in Python and uses Cairo for the rendering, and the end result is really neat.
One of the great news of this is that it’s going to work on Linux (and probably even BSD’s, though it requires compositing & a compositing manager for full functionnality, which is (afaik) only available on FreeBSD) very soon :) . I’ve got it working on my laptop right now, after some python-xlib/pycairo/pygtk love ; it just now needs some more testing and polish before it goes live, but it’s gonna be great :)

Enso on Linux

Long life Enso!

March 5th, 2008 @ 20:11

Huge thanks to Novell, OpenSuse and jpr for this awesome T-Shirt :) I love it!
OpenSuse T-Shirt

Sorry, I look completely tired and I’ve got too much hair these days :p

March 2nd, 2008 @ 05:45

It’s been almost a year that this project has started, more than six months it has been having a name, it was about time to get it a neat forum theme.

So, well, here it is, check it out on http://forum.compiz-fusion.org/ (it’s not enabled-by-default right now, so you’ll have to select it using the style switcher at the bottom of the page). Please report any bug (there’s quite a high probability some icons will still be missing) in the appropriate forum, ie Forum/Wiki feedback.
Here is a couple of screenshots:

Forum theme screenshot 1
Forum theme screenshot 2

Huge thanks to Rico “RYX” Pfaus for the base layout, to Patrick “marex” Niklaus as well as the gnome-icon-theme team for the neat icons, and to onestone, Fyda and crdlb for the useful feedback, it was highly helpful. May I auto-congratulate myself for actually putting the bits together into an usable theme? *cough*

The project homepage theme is ready as well, we’re just waiting for some minor technical details to have it go live. The wiki will get a similar theme someday as well (I can’t really promiss anything right now, I’m damn busy)

January 29th, 2008 @ 23:28

Paraboloid Rendered with Blender

Wrote a quick python script for blender to generate paraboloïds a while ago. Feared I might have lost them. Posting them here today. Could be reused as a base for any parametric surface as well. Three flavours included. Have fun.

Hyperboloic Paraboloid Mesh Script
Paraboloid Mesh Script (with basis)
Paraboloid Mesh Script (circular)

January 19th, 2008 @ 21:41

Si vous le rencontrez un jour, il vous dira que l’ascenseur de l’hôtel de Crillon l’a amené plus haut, beaucoup plus haut qu’il n’aurait pu l’imaginer. Il vous dira aussi qu’il était parti chercher l’âme d’un vieil Indien, et que c’est la sienne qu’il a trouvée.

English:
If you ever meet him, he’ll tell you that Crillon Hotel’s lift brought him higher, much higher than he could have thought. He’ll also tell you that he left to search for an old Indian’s soul, and that he found his own.