Latest posts

  • 15th August 2020

PyTest - A Journey Of 3 Years

Salt is ending a journey that started 3 years ago with the first pull request to add support for PyTest. In the upcoming weeks, Salt will finally switch to PyTest as its sole test runner, and the previous, and heavily customized unittest runner, runtests.py, finally reaches EOL. Why? …

Read more →
  • 27th December 2012

PyLint + Virtualenv

I don't have the time to write the full blog post, so, here's the recipe! …

Read more →
  • 23rd January 2012

Using gettext in compiled Qt ui files with PySide

This recipe is based on the PyQt recipe found here. This is just the PySide port of it. In some cases you might find yourself in the situation of wanting to use gettext in a PySide project in which you have .ui files generated using QtDesigner. For those kind of situations is a good idea to extend the PySide compiler. …

Read more →
  • 3rd July 2011

Postgres Cron Backups

So, I found myself with the need to make automatic backups of my postgres databases... After some Google'ing and reading of some peoples recipes, here's mine. …

Read more →
  • 18th February 2011

Maverick Bluedevil and Null pin Mouse's

So, I was trying out Kubuntu Maevrick and found out that my bluetooth mouse did not work anymore as it previously did with Jaunty... …

Read more →
  • 16th February 2011
  • 25th April 2009
  • 24th April 2009
  • 29th January 2009

IPython and virtualenv

Recently I started developing my python applications using virtualenv so that I don't clutter up the system's python installation with non-system python packages. Everything was good until I wanted to use IPython instead of python's shell... …

Read more →
  • 27th February 2008
  • 25th February 2008
  • 25th February 2008
  • 25th February 2008
  • 25th February 2008
  • 25th February 2008
  • 25th February 2008
  • 31st December 2007

Webhelpers and Javascript Minification

Here's a practical idea which I have in use in a project of mine. Most of you probably use some javascript library or have some javascript files that you use in your pylons application. There's also some talk going on related to javascript files compression, and more recently, minification. While I'm developing, I like to use the normal(non compressed) javascript files, because it helps on debugging. But for production, using compressed javascript files reduces page load times. Pylons Webhelpers comes with a useful function to help you include javascript files on your templates, javascript_include_tag. …

Read more →
  • 19th December 2007

Rotating Trac Logs

So, you're like me and like to have trac constantly logging to file and you hate those files getting huge? …

Read more →
  • 30th November 2007

ZTE MF622 USB Modem Under Linux

I recently bought a 3G wireless card to use with my laptop, a ZTE, model MF622. Since the first time I tried Linux, also the first time I encountered this kind of problems with my USB ADSL modem, and this being an USB modem also, I knew I was going to have troubles. …

Read more →
  • 5th November 2007
  • 18th October 2007
  • 19th August 2007
  • 24th July 2007
  • 13th July 2007
  • 10th May 2007
  • 3rd May 2007