Eligiendo objetivos para refactorizar

¿Por donde empiezas a refactorizar una vieja aplicación de codigo legado? Lo primero en mi opinión es tratar de escribir tests automáticos de algún tipo, que nos ayuden a asegurar que no rompemos funcionalidad. Lo normal es que sean tests de extremo a extremo (tests...

Mapreduce Python API + Django helper

Mapreduce API is great. We’ve got a tool now that can process tasks taking more than 30 seconds. Yeaaaahhh! This is a huge improvement. I wish we have had this tools months ago. All the examples in the documentation use the webapp framework, there aren’t...

Managing the Blobstore with Python

GAE Blobstore is a great way to manage big files. This post is about using the Blogstore with Python and the Django GAE Helper (appengine_django). Views.py: from google.appengine.ext import blobstore # import other django stuff def show_upload_form(request): template...

Mercurial and Codebase work fine

Some posts ago I was complaining about how big Git learning curve is and some other inconveniences that we had been facing. Some of them were just kind of flaming, I know. The thing is that we switched to Mercurial and CodeBaseHq.com instead of Git and Github.com and...

MVC, CRUD and TDD

Some people ask me how Test Driven Development fits in MVC Frameworks like Django, Ruby on Rails, and all this kind of frameworks that use convention over configuration, and offer powerful tools for CRUD (Create-Read-Update-Delete) operations. Well, the solution...

Optional arguments are evil (II)

Time ago I wrote about the perils of optional parameters in Python. Now I’ve found another reason why they are dangerous, although we still need them. What we have realized today is that, default values for optional arguments might share its state among multiple...

MavenCharts.com abierto a inversores

Hemos tomado la decisión de abrir MavenCharts.com a pequeños y grandes inversores. Ahora que el producto está puesto en producción y que estamos lanzando releases con frecuencia, solo nos falta hacerlo bien en marketing. Que no es poco. Ademas para la gestión de los...

Proximos destinos: Zaragoza y Madrid

Esta semana viajo a Zaragoza para impartir un curso abierto de TDD los dias 2 y 3 (miercoles y jueves). Han sobrado muchas plazas por un malentendido que hubo con el curso de Scrum asi que si todavia alguien se quiere apuntar, puede hacerlo entre hoy y mañana. Pocos...

Github comming from svn

Git Config: To get ready with git add these lines to .git/config (/home/USER/project/.git/config) [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [branch “master”] remote = origin merge = refs/heads/master [remote...