Tailing files with Python Generators
I’m slowly improving my Python skills, which always goes much better when you’re on a real mission.
I’m now working on some tools to monitor PostgreSQL performance and I thought Python would be a good choice for that. One of the things I need to do is follow a log file so that I can parse […]
Little weekend hack - Native UUIDs in PostgreSQL
Check out the polarrose-postgresql-uuid project hosted at Google Code. It contains a simple native UUID implementation for PostgreSQL. I did this as an exercise but I’m considering to put this into production since it saves a lot of memory and disk space. A whopping 47% on tables that have an indexed uuid column.
My next PostgreSQL […]
Hacking in the Sky
I’m going to make it a habit to do some nice hack in the two hours that I’m in the air when I fly home from the Warsaw office. LOT’s Embraer’s have a lot of (leg) room. specially compared to the crammed 737-400s that I usually fly with.
So to kick off this tradition I wrote […]
Python 3000
I just attended a talk about Python 3000 (3.0) by Guido van Rossum. At the CWI (Center for Mathematics and Information Technology) in Amsterdam. Always nice if something happens in your own town!
For me as a Python n00b it was still pretty interesting. Guido explained what the path to Python 3.0 will look like and […]