Respect your production data
I read yesterday this blog post: I Accidentally Deleted All Our Data by Taylor Fausak. Probably you’ll end with the same expression in your face that I did. An a palm covering it. Something in advance. It takes GREAT courage and openness to tell in your blog this story. I think is really a great attitude about it. Saying this, I must say that the whole story a recipe for disaster. Lots of steps make my spider-sense to tingle. Strongly. Doing a script on the python interactive shell to update your production data, while… Read More
Database madness with mongoengine and SQLAchemy
Yesterday I gave a presentation in the Python Ireland October meeting about some work we are doing with mongoengine and SQLAchemy and how we are managing three databases (MS SQL server, MySQL and MongoDB) on an online football management game we are working on. So, here are the slides, so feel free to make comments, ask questions and even criticize them! You can also download the presentation on PDF here. PD: When I talk about football game, I’m referring to soccer.
ORMs and threads
Do you remember the post from Joel Spolsky about leaking abstractions? It’s the kind of idea that, the first time I read, about it, was intrigued, but after some time, I began to see it on every place. There are from time to time some problems on my Python code (as well as in other high-level languages) that I am really glad to be able to have an idea of the underlaying low level C, or I will be struggling with some very weird, confusing problems. I have enough confusing and weird problems… Read More