Friday, August 20, 2004

Final Countdown !!!

Or so it seemed. Friday at 10 am was my meeting with my professor here. He was coming back from a 3 weeks vacation, and I was meeting him after almost 1 month. Had promised to deliver my package when he comes back. And was working non-stop over the last few weeks to meet the deadline. Needed to finish it anyway with just 2 weeks to go.
So, anyways. Yesterday after slogging whole day and even missing my last French class, all my prayers were answered. (Dint pray stupid, I am a commie, you see). Code started running around 9 pm-ish. Very happy, and forever careful, I tried to make a backup in my cs.rice.edu machine. I had a backup there from a few days back. And Horror - I did the opposite. scp-ed from rice to epfl. And overwrote my code. Sat in stunned silence for a few minutes. Did not know what to do. Searched for some open editors to maybe retrieve a few files. None. Gave up. This was the third module of my project, and I was to showcase this tomorrow. Then I discovered that the backup was pretty old, and hence had only 4 files instead of the current 12. And the rest 8 files are still okay. Faint glimmer of hope. As I was braindead, i loaded up my laptop and went home. Worked till 1 am, and finished 2 of the 4 files. But, 1 major file was left for tomorrow.
Gave alarm and work up at 5 am, and was in office at 6 am. Then, to my horror my laptop wireless would not work. It had happened a few times before, but did not expect to happen now. And of course, moor's Law. The DHCP server just would not respond. Tried doing it frantically for 30 min, and then gave up. 6:30am. Started hand copying the code from the laptop to my machine. Finished copying. 7:15am. Stared with the main file, pretty complicated too. Doggedly worked on it and debugged. And it finally started running. 9:15am. A few more bugs. Fixed. 9:35 am. Just 25 minutes before my big demo, I was redone with my code. Of course, coding the second time was much faster as I remember parts of it, and the logic was already worked out. Then gave demo to my boss from 10-11 and 1:30-2:30pm. He was very pleased with what he saw. And said "excellent" and "very good" several times. And hence, I felt "very good" too. This was a very close call. Promised myself to take the pains of creating a cvs repository even in a new place.

And now, since the afternoon, have been chatting with friends, browing, blogging, and planning the weekend. :-)