December 26th, 2009 — Programming, Travel
Yeah, I’ll spend one full month in São Paulo! I’ll be assisting to the Treino para Final Mundial do ICPC 2010.
That means I’m going to be trained by Petr! (If you don’t know who Petr is, please leave now; I don’t want to talk you).
I will be posting pics and details about the trip in the coming days.
September 17th, 2009 — My life, Programming
As I had said, last saturday was the XXIII Colombian Programming Contest. It took place simultaneously in 6 cities of Colombia with a total of 93 competing teams. This competition was the qualification round to participate in this year’s International Collegiate Programming Contest (ICPC). The Top 40 teams have advanced to the next contest that will take place next October 24th in Bogotá, to compete against Venezuela and Ecuador and decide who will advance to the World Finals in China.
We ended second, solving 4 of the 10 problems. Here’s how it went.
Continue reading →
September 8th, 2009 — Javascript, Never forget, Programming, Web
var s = "1337";
alert(parseInt(s) * 2);
September 1st, 2009 — Javascript, Never forget, Programming, Web
Sometimes I need to time how long a Javascript operation takes. It’s very easy if you are using jQuery.
console.time("longOperation");
for (var i=0; i<1000; ++i){ var j = i*i; } //do something complicated
console.timeEnd("longOperation");
Then, you’ll see the result in the Firebug console:

August 30th, 2009 — Programming
This saturday is the 23rd. Colombian National Programming Contest. I’m very excited! I can’t wait to feel the adrenaline of the 5 hours timer. Last year we finished sixth, which was not very satisfying. That time I couldn’t attack the keyboard since my left hand was killing me of pain in a plaster cast. It had been in surgery after a rather scary accident.
Let’s hope I can manage to live this week without breaking any more windows and have a fair fight this weekend!