Displaying the most recent of 9 posts written by

Gabriel Falcão

lettuce 0.1 official release

27 days after its first release candidate, lettuce is now much mature and also got new features. Lettuce is a BDD tool written in python, 100% based on cucumber. There are two reasons for the name: Lettuce is a green vegetable, just like cucumber the idea is that your tests must be always green. Letuce is [...]

Apresentando Lettuce, BDD em python

Depois de muitas horas de hacking intenso, venho apresentar a primeira release candidate do Lettuce. Trata-se de uma ferramenta de BDD 100% baseada no Cucumber. O nome teve duas motivações: Lettuce (Alface) é um vegetal verde, assim como Cucumber (Pepino), a idéia é que os testes sempre estejam verdes Letuce é também o nome de [...]

Playing with ANSI colors and python with Couleur

Last night I’ve just released the first version of Couleur, which is (or at least try to be) a simple and awesome tool for using ANSI colors with python. Couleur indeed turns very easy to handle shell colors in python. In action import time import couleur sh = couleur.Shell(linebreak=True) for mood in ["bad", "awful", "normal", [...]

Avoid python pitfalls and be happy

This morning I was just reading the feed, when I stumbled on this post about one of the weird behaviors of lists in Python. In a few words, lists and dictionaries behave like C pointers, thus they are mutable objects. So, if you are beginning on python, you probably will like those articles: 10 python [...]

Solving “connection refused” issues on Debian Sid

Some weeks ago I started to experiment some network issues on my debian sid: The selenium-remote-control was not running: I could even try to do a: “telnet localhost 4444″, it just did not work. My Apache-Solr was not capable to subscribe to apache-activemq When reading the log, I saw: Could not connect to broker URL: [...]

Introducing Sponge, a python web framework aimed on testing

Some time ago, a friend of mine created a cherrypy-based continuous integration application, we both work with Django, but we think that its stack is too big for simple web projects, specially when we do not need to access SQL databases. More on Django In adition, I think that Django-powered applications are hard to make [...]

Emacs + Snippets

People use to joke on me about the fact that I use EMACS, some say that I even need to use my toes to acomplish EMACS commands, and so on… But I keep being even more productive, and every day I figure out new ways to improve it. I really use EMACS the whole day, [...]

Bolacha, httplib2 wrapper with cookie handling and file upload.

I really like httplib2, but unfortunately it does not oficially support sending multipart/form-data. So last Monday I was at work, and realized that I was needing exactly to make a http upload from within a python program, and also needed to make a session login right before. I remember that I needed that before, but [...]

New projects + agile = releases

When I lived in Belo Horizonte/MG, I used to make hack parties with some friends of mine (nothing to say about all those pizzas and beer). The hack parties had no specific goal, but a main idea: Hack some free software, and share the knowledge. Many of us, but specifically Lincoln and I, used to [...]