Logging your SQL to the console helps you understand whats going on under the ORM.
However, queries can get pretty big resulting on a code wall.
SQLFormater is a logging formatter that idents and colorize your SQL statements making everything legible again.
Decouple helps you to organize your settings so that you can change parameters without having to redeploy your app.
It also makes easy for you to:
- store parameters on ini or .env files;
- define comprehensive default values;
- properly convert values to the correct data type;
- have only one configuration module to rule all your instances.
It was originally designed for Django, but became an independent generic tool for separating settings from code.
One of the worst activities for a developer is to debug integration with badly designed web APIs, read: to debug Paypal integration.
Update: Check out the episode 108.
This next wednesday, Feb 10th at 1:30pm PST (7:30pm in Rio de Janeiro) – I’ll have the pleasure to join Randal Schwartz and Leo Laporte on the FLOSS Weekly show.
This show will be about Python and Open Source community, and I’ll talk about the upcoming PyCon in Atlanta.
Join us at Live TWiT TV.
Atualização: Ouça o episódio 108.
Nesta próxima quarta-feira, dia 10 de fevereiro às 19:30, horário de Brasília – 13:30 horário do Pacífico – eu terei o prazer de participar da gravação do FLOSS Weekly com Randal Schwartz e Leo Laporte.
Neste show falaremos sobre comunidades Python e Open Source, e eu vou falar sobre a PyCon em Atlanta que acontecerá na próxima semana.
Participe conosco em Live TWiT TV.
Sphinx has a few built-in extensions to take your documentation one step further. Among all, I’ve been finding the Graphviz extension very useful. It enables the use of DOT language to describe a graph that will be converted into a PNG image by Graphviz.
For some reason, the Graphviz version installed on my Mac is generating corrupted PNG files. Fortunately, it supports many other formats including SVG which has the greatest results. Continue Reading…
Virtualenvwrapper makes working with Virtualenv a real pleasure. But for me it wasn’t enough, just because I’m that lazy.
My idea was to type one command and get right into the repository directory. I’d like it to happen within a subshell so I would not need to
deactivate the virtual environment. All I would need to do is press
CTRL+D to exit the subshell and close my sandbox. Continue Reading…
On the agile way of doing software development, one of developer’s favorite mantras is: Make it Work, Make it Right, Make it Fast.
However, it’s not uncommon to see people complaining that by following this directions, their project never get to the make it fast stage. That happens because of a misconception where people treats these three steps as isolated actions of a project. And they are three stages of one development task.
The ability of “embrace the changes” is one of THE key values on selling Agile.
While talking about the agile values. It’s common to see manager’s eyes glowing when you reach the concept of Embracing the Changes. Unfortunately it’s also common that they end up with the wrong idea of how to put it into actions.
Today I came across an old talk Kent Beck gave sometime near mid 2006 entitled “Ease at Work”.
More than speak about professional behavior, Kent Beck describes by example the psychological structure of a software developer at work.
In a more deep sense, this is a talk about self-awareness, getting real, and getting things done. So even if you’re not a programmer, I recommend it. Continue Reading…
After I released my post “Google Wave is not about text, it’s about data”, my friend Rafael Lima twitted praising it (in portuguese): Gosto de post que clico em vários links para ler mais como este”. Which means “I like posts with lots of links to read more about, like this”.
It’s very important to have the habit of spend some time finding the right links to reference in a blog post. Links are extremely powerful! It can turn a post into a knowledge hub.
Adding much relevant links as possible to your posts, not only add value to your text but gives credibility to it. It works just like bibliography in books.