Entries Tagged 'Programming' ↓
January 13th, 2010 — Programming, Travel
As I mentioned in last post, I’m taking part in a programming contest in Brazil. It started a little more than a week ago and it has been excellent. Last week we were trained by Fabio Dias Moreira, an awesome guy who taught us a lot.
The problems and scoreboards from the different contests are being published here.
Here’s a photo of the door to the university:

The university is incredibly big. There are two bus routes inside of it and you could take some good 40 minutes in any of them. It’s also very green:

São Paulo in general is a very sinful city, but just for the record:

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.
October 21st, 2009 — My life, Programming, Work
I earned $42.03 on my first week of work on oDesk (I worked 4.67 hours this week). I’m working on a Ruby on Rails application. oDesk is awesome! Working from home or wherever you are, at the time you want, for as long as you want, and in what you want, well, that’s very enjoyable.

Give it a try.

September 23rd, 2009 — Never forget, Programming
The number of tests in the app I’m developing it’s getting really big. Sometimes, I just need to run a single test and not all of them. I only need to remember this line:
ruby -Itest test/unit/availability_time_test.rb
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!