Evanescent Thoughts

Evanescent Thoughts

Archive for the ‘mokkai’ Category

My wierd SRM Dream :(

with 14 comments

I shud say i am really bad at remembering my dreams.Each morning i get up i would have a vague remembrance of what i dreamt last night.But the dream i had last night is the height of craziness .I gotta write abt it. And so i ran straight to my laptop as soon as i got up to write down my dream .
Before i tell u wht really happened in my dream , there is a flash-back i need to mention here. Infact a fact about me and topcoder. I would be the guy who had missed the most of the topcoder matches in the world and i would have really wierd reasons to miss each time . Yesterday was once such occasion whn i was in chennai and had planned to come back home before evening on time for my SRM 428. But then the BSNL Broad Band at my area was down and there was no net connection for us for the whole day .My dad called me up and told me this thing and here u see i had another wierd reason to miss the TC match.So i continued to go for my purchase of hard disk(yeah i got an another new hard disk).And came back home around 8 in the night .

Yeah now coming back to the dream .Before i narrate i dont intend to use this story for the next Mr Bean movie . I seriously mean tht :P. So I was sleeping (ofcourse :P) and then suddenly i am in my school ground , with my laptop and a magical green colour ethernet wire hanging from sky and then i was in the TC applet . I was like yippeee i made it to the SRM 428. And there were couple of friends around me . Now here are the questions tht i got .

The 250 problem was ” Given an integer , print the integer three times .”
Sorry i cudnt help it .But seriously my dreams are out of my control , and i dont have any intention of having a ques like tht anywhere. And the funny part is i submitted the question and ended up with 383 points. God knows why. Well if u think thts it ..wait a sec .The 500 one is the big funny one.

You are not gonna beleive this but suddenly i got transported to a new room with a very very long table on it .. And then on the table was some wierd sort of setup .Some thing like being done for a science exhibition. And people were sitting all around at different parts of the table. Now suddenly the laptop comes into my hand and i see the 500 pt question . “Explain the setup before You “.
Are u alive ??? Yeah i got a theory question in my Topcoder SRM in my dream . Can u imagine how terrible it is ? And the more funnier part of this is actually wht the setup is, as i had figured out in my dream .
So i went on to understand the setup and after minutes of serious and tense observation , I finally figured it out tht it was the setup for A network protocol for Data Link Layer tht i had learnt for my fifth sem . It was the one with positive Acknowledgment . Protocol P3 to be more precise. And so i sadly sat down to write my answer and suddenly the laptop was gone and i had a 2 sheet paper in my hand. I began to scribble in the worst of my hand writing and was nearing the completion whn i suddenly turned the sheet and to my surprise i find somebody else has already written some shit in those last few lines. So i began for a search for my eraser and finally found it and erased the part and finished writing. The last line i had written was
” To improve the protocol efficiency acknowledgements can be piggy packed into data frames” .
I finally i had something to submit and looked to my laptop.. (God knws how i am gonna submit a paper to computer. May be i was supposed to scan it and submit). But wait a sec. I suddenly find my lan wire missing . In the process of searching for my rubber , i lost my LAN wire tht was hanging from the sky and i had no way of submitting the 500 pt theory .And then suddenly power went off and i got up . ๐Ÿ˜ฆ

So there it is my wierd dream . But from now on , i have made up my mind not to miss any more TC matches whatsoever be the wierd reason .I have no explanation as to why the dream was so so crazy , but i just hope it doesnt come true .

PS : Thank god the dream stopped before i looked into the 1000 ptr. Any crazy ideas welcome ๐Ÿ˜›

Written by Sathya Narayanan

December 3, 2008 at 10:56 am

Diwali Celebrations

leave a comment »

I got this idea this morning after speaking to my cousin who lives in US.It so happens tht, we in india burst lots of crackers ,create a hell lot of explosive sound and u knw call ourselves a peace loving nation . My uncle called me up from singapore and told me too thtย  they get only those small sparkel sticks , even with a large tamil population over there.. Ok so here is my writeup on how diff ppl would plan to celebrate diwali with their idea of bursting crackers ๐Ÿ˜›

A Physicist : Create a sub-atomic collision and make a chain fission reaction to go BBOOOOOOMMM !!!( may be the LHC guys were planning to do this .. I heard there were a lot of indian scientist involved in tht prooject)

A Chemist : Create a vaccum chamber and do pyrolysis on a organic fuel and collect the combustible hydrogen over water and through a pin hole ignition create a effect of Lakshmi Vedi ….

Mathematician : This one is difficult .. He theoretically creates a fallacy bomb and proves tht it did create an explosion .

Pakistani : No comments.. i dont think i have to explain this ๐Ÿ˜› .. May be u wil find all the details in newspaper tomoro..

NASA guy : Send an unmanned mission to the removed planet pluto and put a Oosi Vedi over there and send a rover in the next rocket to light it up after 9 years( i heard it takes 9 yrs to reach pluto from here..:P )

George Bush : No he doesnt burst crackers .. he accuses others of (mostly u knw some afghan or pakistani guy )

Tom the Cat : Light the big bomb with a match box..throw the match box and keep the bomb back safely in his pocket. ๐Ÿ™‚

Algorithmist : Take a super exponential algorithm and run it on a 8085 Processor .. I pity the processor .. its obviously gonna get overburnt

ECE Guy : Probably team up with the algorthmist and make the 8085 processor interface with an 8279 for typing out the hex code of the algo ..

Yeah so i am wrapping it up with the

Comp Sci Guy : write a shell script to ssh to all comps in the network and do a bomb fork ๐Ÿ˜› ( in windows u can do it just by pressing Win+E for a couple of seconds .. imported bomb for special occasions ๐Ÿ˜› )

Any one who wants to try out my new fork bomb mail me.. Cost : Just 5 characters ๐Ÿ˜›

Written by Sathya Narayanan

October 27, 2008 at 9:54 am

Posted in computers, Ha Ha Ha, mokkai

cat .bash_history

leave a comment »

Yeah i am gonna recollect wht all i have been doing since i last remember. And yeah statuatory warning : U might feel like kicking me after reading the following lines. So be kind and rewind if u are not for it. ๐Ÿ˜›

MGL went of well . The first batch was great and the second batch , was like telling the same stuff to diff ppl tht it was not tht great as the first batch . The first experience always rocks and i pity all the lecturers and teachers how they manage to teach the same thing again and again . ( Not the comp sci dept ppl.. They never teach in the first place :P) and i got to knw from hari tht whn he took the classes, they had 4 batches . But still it was a great MGL and i owe it to all those guys who took the classes.And it was really senti for me on the last day whn it all came to an end.

Right after MGL i went to bur house. Me venki , rishi and rk had a nice time and roaming in chennai with friends is fun but i really missed it as i stayed only a day in chennai and left the next day back to home…

Back to coll, CTs were eagerly waiting for me. And i watched fewer movies a day . One tht caught my attention was machinist where Chirstian Bale looked so thin that he even ceased to exist. I could just not beleive my eyes . I wanna meet this guy some day and ask him how he made it.. There was one scene where his whole skeleton system was visible and i could count his bones.. I finished watching all three seasons of “How i Met your mother ” series.Season one was interesting . Season two was awesome and season three was ok.. I liked the barney character especially his ” awesome “ness and “legen……. dary” thing… ๐Ÿ˜›

Written by Sathya Narayanan

September 13, 2008 at 11:09 am

Posted in general, mokkai

Brain Bashers !!!!

with 8 comments

I came across this site

The puzzles are really interesting and funny..The one i liked most is the following one..

  • My brother, the local bus driver, was telling me that recently he was driving a bus full of people and no-one got off on the way. However, at the end of the journey, there was not a single person left on the bus. How?

  • What occurs four times in every week, twice in every month but only once in a year?

  • Two fine fellows were working very hard all day at the local coal mine. One of the fellows managed to get a really dirty face, but the other fellow managed to stay clean. When they reached the end of their day and re-joined the surface in the lift, the fellow with the dirty face simply went home, however, the fellow with the clean face rushed off to wash. Why?

chk out the answers in comments …

Written by Sathya Narayanan

June 10, 2008 at 8:00 pm

Linux is Funny tooo!!!

leave a comment »

Got this from googlr reader. Just wanted to share wht all linux can do when u r bored..

PS: All this really works

% cat โ€œfood in cansโ€
cat: canโ€™t open food in cans

% nice man woman
No manual entry for woman.

% โ€œHow would you rate Quayleโ€™s incompetence?
Unmatched โ€œ.

% Unmatched โ€œ.
Unmatched โ€œ.

% [Where is Jimmy Hoffa?
Missing ].

% ^How did the sex change operation go?^
Modifier failed.

% If I had a ( for every $ the Congress spent, what would I have?
Too many (โ€™s.

% make love
Make: Donโ€™t know how to make love. Stop.

% sleep with me
bad character

% got a light?
No match.

% man: why did you get a divorce?
man:: Too many arguments.

% !:say, what is saccharine?
Bad substitute.

% %blow
%blow: No such job.

% \(-
(-: Command not found.

$ PATH=pretending! /usr/ucb/which sense
no sense in pretending!

$ drink matter
matter: cannot create

All credits to some one who posted it somewhere so tht i can post it anywhere. ๐Ÿ™‚

Written by Sathya Narayanan

April 19, 2008 at 11:29 am

Code Idioms

leave a comment »

These are the few idioms tht i found interesting in the net… have fun…

// Idiom 1

var location = getLocation();
if (location == ‘rome’) {
do( location.getCitizen() );

// Idiom 2
injury += insult;

// Idiom 3
if (bird[1].feather == bird[2].feather) {

// Idiom 4
a = getThickness(‘blood’);
b = getThickness(‘water’);
assert(a > b);

// Idiom 5

// Idiom 6
take(salt * .01);

// Idiom 7
if (i == 2) {

// Idiom 8
function tunnel() {
var dark;
for (i = 0; i < 10; i++) {
dark = true;
dark = !dark;
return dark;

// Idiom 9
if ( monkey.inLineOfSight(it.x, it.y) ) monkey.do(it);

// Idiom 10
return way.my || way.high;

// Idiom 11
function getGain(pain) {
return pain >= 1;

// Idiom 12
if (cooks >= 3) {
broth = null;

// Idiom 13
if (a != ‘cake’) a.eat();

// Idiom 14
days = 365;
for (day = 1; day <= days; day++) {
if ( random(0,100) <= 50 ) apple++;

if (apple <= days) doctor();

Written by Sathya Narayanan

April 13, 2008 at 9:37 pm

Week of Agony

with 2 comments

Yeah i am done with it now. . Now finally over , i feel how much i had a to push myself for this ct(cycle test). And to add to all these i went home just two days before the ct and started my preps just a day before..I feel bad for it..After all the preps tht i did . all i hope to get is a couple of single digits and may be cross ten . So After all this gruelling experience i have decided enough of experimentation with ct . I am not gonna go home for atleast a month .But the funniest part was the way i prepared for Comp Arch. Half the time i was explring my new mobile and half the time i was craacking jokes with venki tht all i could do in the exam hall was toย  keep staring at the examiner. Now tht ct are over i feel better.. like being released out of a prison(aiy … no i am not tht sort of a guy). ๐Ÿ™‚ I klnw this post is really a mokkai. But no other choice… I have nowhere else to vent all theese because no one beleives i have done tht bad ;-(

Written by Sathya Narayanan

March 29, 2008 at 8:29 pm

Posted in general, mokkai