Thursday, July 13, 2006

Murphy's laws ,c++ and me

Well i was a lover of murphys gr8 laws only until i was totally screwed by his(murphy's) ghost.It turned out as if the murphys laws were the only laws governing my life.
This is in connection with the C++ course i had joined but i still dont understand nothing .u see i m confused....!
Neways cuming bac to the topic of concern -> so it turned out that(may be due to heavy rains) there was no electricity (since 8.30am as i was told , neways who is awake by that time)but this continued and there was no electricity in our area till i was awake." No electricity" survival was ok.. but the worst part is still to come.i had to submit an assignment on tht very day.And obviously i was going to start on the same last day.
So i exclaimed, " y only today ?? wtf ".
Now i got it .This was a clear case of murphy's laws and it has come true. Now wat to do?
So i called up gautum to check out his progress and he was sleeping. So i thought may be he is done with it or i m not the only one.
Then he gave me a wonderful idea of going to tapan's place.
Somehow by changing 3 buses i reached his place by 12.15pm and the dead line was 5pm.
so i started coding (the brute force method , bcoz the previous day i had spent some 4-5 hours just understanding the problem.)

Someone said regarding programming(i think its adidas):

To iterate is human,
but to recurse is divine !

but i was only human and thought of nothing else but iterating(infinite if...else if...statements).In programming ,

Alls well that runs...!

So started coding , but recall the topic of these write-up.
I felt like Murphy was somewhere nearby.Tapan's comp suddenly hangs.
Infact it hangs in such a way that even the cpu restart button cud not restart it!
So he had to cut-off the power supply .
Again a clear case of Murphy's laws.
then Tapan used some gr8 method (opened the cpu,took out the RAM,cleaned it and put it back)and it started.

Well i had lost my some data bcoz i had saved it long back..
So i had to do it all over again......
Huh......!!

(In my mind:i said " oh murphy wherever u r ,i just admire ur laws thts it and i don want them to be experimented on me")

then i somehow managed to complete it ....
now it was 4 min to 5.00pm
and for mailing i had to switch over to windows....which requires a password(obviously which was known to tapan only)

And i noticed tht Tapan was peacefully sleeping (bcoz of a nightout on the previous night).now wat to do?
once more a clear case of Murphy's laws ........

Obviously , now i was trying to wake him up..but it was very difficult.
But i had to..i had no other way ( Sorry tapan )
Somehow i made him put the password
and submitted...............huuhhhhhhh.................!!

tht is it !

Thnx to:
tapan for his comp..
gautum for giving me the idea of using tapan's comp.
BEST bus survices for helping me reach Tapan's place.
AND all others who think they helped me out!!!