By Gabriel Falcão on abril 19th, 2010
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", "nice", "awesome"]:
sh.red_on_black(mood, replace=True)
time.sleep(1)
Couleur creates [...]
By Gabriel Falcão on janeiro 21st, 2010
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 pitfalls, what [...]
By Gabriel Falcão on setembro 1st, 2009
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 unit tests, [...]
By Gabriel Falcão on agosto 16th, 2009
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, I keep [...]
By Gabriel Falcão on agosto 9th, 2009
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 I could [...]
By Gabriel Falcão on julho 5th, 2009
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 create new [...]
By gabriel on janeiro 31st, 2009
Many of my friends (maybe, so many) are geeks, but i’ve recently noticed that they are forked in two kinds thus I found completely fair to name as “Hedonistic Geeks” and “Parnasian Geeks”. Therefore, the hedonistic ones can also be labeled as “geeks from mars”, thus makes the parnasian ones from “venus”.
The hedonistic geeks
They keep [...]
By gabriel on dezembro 2nd, 2008
About two years ago, I’ve signed up to Dreamhost. My goals were and still being to host my personal projects, websites and so on.
Once I am a Django web developer, one of my first actions were to create a django deployment setup, good and flexible enough. The time passed on and have been got new [...]
By gabriel on julho 12th, 2008
Today i’ve reached my first graduation.
It’s funny to think that i’ve made a friend during the course, but he wasn’t from my class, actually, he done another course, but our classes joined to some lessons. The funny fact is a long history….
The government of Brazil have a project who support students with “high scores”, paying [...]