Skip to content

Monthly Archives: August 2006

Django from another perspective

We all know Guido (and others) really like Django but this post has been conceived to emphasize a different opinion about this framework. The author of the quote is Antonio Cangiano, the man behind IBM DB2 Tools for Rails, so not exactly a fellow Pythonista. Here you are:

The template system allows [...]

XAML puzzles me

As a former .NET developer (ok don’t tell it to mama!) and Italian native speaker I can amuse myself not only with the strangeness of the anglo-saxon community but with the Italian community’s also! That doesn’t sound like a privilege, though. Gotta rewrite this paragraph one day.

We have the biggest .NET user group in the [...]

A bit of PyPy in the realm of Zope

The first day of the EuroPython PyPy sprint I happened to start my bird view acquaintance with a guy named Brian Sutherland. He decided to attend the sprint to try make a bond between Zope world and PyPy’s. We also paired together a bit and that was cool.

He now published the results of his efforts [...]

Rails, ActiveRecord, benchmarking and why I feel evil

I feel evil tonight (here is 3:30am) and then the fortune brought me to the /benchmark directory in ActiveRecord repository (for who doesn’t know what ActiveRecord is, and I think due to the hype everyone knows, see Wikipedia ORM page.).

A while ago someone slapped us with some bench between Rails, Django and Symphony and guess [...]

Modules on Windows and last bits of Summer Of Code

I just commited the last lines to make mmap module compile as a shared library (DLL) on our beloved Windows platform.

I first tried porting my implementation of time module to Windows and it was a lot easier than I thought. Ok… easier… let’s go back a moment. I have to be fair to myself and [...]

startswith() and endswith() in JavaScript 1.5

MochiKit is a great JS library but JavaScript itself kinda sucks at string manipulation (if you’re a Pythonista it sucks a lot).

While I was fixing and improving the features of a web application I ended writing awful code to check if some string was at the beginning of some other string. I, then, decided to [...]

bz2 module completed

I’ve finished porting the CPython’s bz2 module to ctypes plus PyPy and this was the last module in my SoC proposal

It doesn’t compile yet, for the same reason _ssl doesn’t compile either. PyPy’s rctypes has some limitations in structures and function pointers.

In those days I realized how nice is bzip2 library and how simulating [...]

New books

I just received my two new books from Amazon:

PyAppleSMS

Michele Ferretti released PyAppleSMS, a tool to use the Sudden Motion Sensor shipped in the latest Apple’s notebooks. You can find it here: http://code.google.com/p/pyapplesms/

Code example:

[code lang="python"]

!/usr/bin/env python

import applesms import time

try: while True: x, y, z = applesms.coords() print x, [...]