Duplo's
The Duplo's blog.
The Duplo's blog.
May 10th
At the end we succeeded. PyCon 4 is finished. Everything was great!
Many interesting talks, some of which I could not follow because of my commitment to the Develer SRL stand.
I want to thank all the staff at PyCon. And a big thank you goes to Develer that allowed me to attend this great event.
See you next year at EuroPython!
Mar 18th
Most of you know that I’m a software developer and that I love my job. Many people think that it’s uninteresting, boring, prone to cause personality disorders, with no need for creativity or social relations. They are wrong. My job is extremely interesting, it requires intelligence and creativity, passion, and the ability to relate with others (with both colleagues and customers).
Though I work with the utmost passion, I often have trouble maintaining concentration. In my case there are three main sources of distraction.
More >
Mar 11th
I think that only a few of you know that I’m also a web developer (with poor results…). In this field, my favorite technology is django, a complex and complete web framework written in python that permits the creation of rich web applications.
But this is only partially related to what I’m going to explain you. A django project was only the first project in which I used this approach. Now I use it in most of my python projects.
So, what I’m going to explain? I’m going to explain the simplest and painless way to modify an application’s settings and some behaviors without touching its code. This means that you can do all the tests you want, without changing the deploy settings. A colleague of mine taught me this trick, as a wise Zen master, so that I could teach it to my adepts and continue the tradition.
# ... # The content of the module ends here! try: import settings_locale # You will redefine the settings in this module... except ImportError: pass # That's all. Really.
Obviously, any name can be fine.
This trick is pretty simple, but the result is that you have a very useful module that could override about everything in your application, for debug or testing purpose. And when you need the real application behavior all you have to do is to remove this module. And all just works.
A great ‘thank you’ to dvd, that helped me in web development projects and taught me practically everything I know about webapp’s development process.
Mar 9th
So this is my very first post in this blog… I could tell something about me, about what I do in my life, about what I love and what I hate. But for this purpose I’ve just created the About page (I’m pragmatic like most of the programmers
).
Then the only thing that remains is to say a big thanks to all my supporters: