17 Mar 2017
In my view, TDD has become a mirage, an illusion. Something that everybody claim they do or see, but doesn’t actually exist.
09 Sep 2016
Recently I’ve noticed how priorities are a bit broken when comes to writing software. I’ve seen many smart engineers fall into this over and over. The problem is when these priorities mix with very vocal people with big egos, you can’t help but sadly watch the project fail.
25 Aug 2016
I’ve been recently exploring the node.js ecosystem and I found webpack to be a very powerful tool to compile your site assets. Yes, it’s what Sprockets does, but a lot more.
27 May 2016
05 Jan 2016
At work we use Backbone.js combined with the good old jQuery. I never felt it was an awesome technology combination, because you never get clearer code: a click on selector-A triggers a change in selector-B, wired by jQuery. The bigger the application, the larger the number of moving pieces and the indirection. The MVC idea behind Backbone doesn’t help solving the problem above, and developers abuse Views for every JS snippet in sight.
24 May 2015
Specially with code bases you’re unfamiliar with, it’s quite hard to determine which code is handling a given event. You grep through the code randomly searching for the needle in the haystack. It’s not the most efficient way as you can see.
17 Apr 2014
Cross-origin resource sharing, or CORS, is a mechanism that allows AJAX requests to circumvent their same origin limits.
14 Jan 2014
One of the keys of Rails’ success is that provides a full stack where you can start from. This awesome full stack, as any other piece of engineering, was built upon design decisions. You take them for granted, and when you code on Rails, you assume that decisions others have taken for themselves are good for you too.
05 Aug 2013
With the release of Ruby 2.0 the default encoding for files is UTF-8. Thus you no longer need to prepend the magic encoding string to every .rb source file
17 Feb 2012
Elimina los espacios duplicados sustituyéndolos por un único espacio, y elimina los del principio y el final.
19 Jul 2011
No es ningún descubrimiento nuevo afirmar que Flash es un devorador de recursos y que está hecho para Windows, con un port para Linux bastante descuidado.
10 Jul 2011
Handy oneliner to replace all underscores in filenames by spaces: