Thursday, July 29, 2010

Isn't This Life !! :-)

Okay guys, here we go. Get ready to hear some lamenting. This was a poem that i wrote after a series of bad incidents in my life. Hope you like reading it :-)

DEDICATED TO...
All (2 year) friends who behaved in a way, so that I was able to scribble something...

HAPPY ARRIVAL...
I came here as a alien...
Though I didn't really know you,
You made my world here brand pure...
You were my friend...

When I didn't know what to do...
You were with me,
Making me to find out myself...
You were my friend...

When I imagined about life without you...
You just whispered,
"Shut up dear, I'm with you"...
For you were my friend...

We were tearing the world apart,
Captivating all we wanted to,
Beating all the odds together,
And having fun round the clock...
You were my BEST friend...

MY MISTAKE?...
I never knew, that I upset you,
Suspect I'm a fool to weep and help...
Was it my mistake?

When it came to heart and heartache,
You ought to have uttered genuinely,
Which you no way did...
Was it my mistake?

Not daring to speak at my face...
You wore the damn mask,
Which was the cause...
Was it my mistake?

DISMAL DAYS...
And now...!!!:-(
What had happened to you???
No Heart, No Memories???
My emotions slowly fading away...


Think of the memories which we have had…
How can you ever be without me…?
Guess you are heartless and feelingless…
My emotions slowly fading away...

Slowly and steadily day by day,
My care for you is being reverted...
And my feelings getting averted…
For the reason that,
"My emotions slowly fading away"...

DESPERATION TO LEAVE...
Not to spread the talking with your friends about me,
But Hiding past, just let it rest in peace...
Forget Me...

But not you sponge these tears,
Till your memories run sapless...
Forget Me...

Not to leave the days isolated,
And not to point out anything to you,
But to try and wipe out the actuality that we had all...
And thus to let me slip well out of your soul,
Forget Me...

Cause I'm repressed to forget and forgive,
So just enact as if we not ever met...
I ask you only one thing now,
And that is to...
Forget Me...

Hope life will be the best for you,
When I'm gone...
So please please please,
Forget Me...

RECONCILIATION...
Its not so poor, I'm not so worried...
I've crossed the distress,
And I'm lively once again...
I'm the HaPpY FeLLoW...

Don't imagine that I'm weeping all time,
There is no cause to worry...
And I'm really okie now...
For I'm the HaPpY FeLLoW...

I'm not gonna look back any more...
Wherever you are,
Still your happiness is mine too...
I'm now the HaPpIeSt FeLLoW...

FINAL LOOK (With a smile on the face)...
And now when I turn back...
All I can do is,
Just give a smile to my face and to my lips...
It's all part of life...

I'm really a brainless,
That I took crores of toiling seconds,
To understand that...
"Its all part of life"...

Verses of Frost flashing in my mind,
And Miles to go before I sleep...
And Miles to go before I sleep...

-Author
Do you really want to know who scribbled all such rubbish...??
It's me...My name is ViGnEsH....And I'm the HaPpY FeLLoW...

Thursday, July 22, 2010

7 Mistakes of my life (in the linux commandline) :P

Many people who know me will know that i am an open source enthusiast. Hence, going by the basic prerequisite of an open source enthusiast, i have been using linux primarily for the past 5 odd years. To begin with, initially i was very obsessed with the eye candy GUI available in Linux. It was way too good and no where close the ones available in windows. But recently (i.e.) in the past two years or so, I have realized that the linux way of doing things is to use the mighty shell.

So all the linux geeks talk about the shell, what the heck is it? The answer is simple. Unix shell is the powerful command line interpreter, that provides an user interface through the command line. Almost all the operations that are possible with a GUI, can be performed using the shell.

7 Mistakes of my life (in the linux commandline)


I came to know the immense power of shell more recently (during my internship with hashcube), where i had to log in to a remote server for all my work. That was the time where i learnt a lot about the linux shell since i had no GUI access and that was when i discovered the real power of shell.

The rest of this post might sound hebrew and chinese (why always greek and latin :D) for those who do not know (atleast) the basics of linux shell. In this article, i am going to share the (reasonably impacting) blunders i have made with my unix shell so far in life. Almost everything were done as root (unless mentioned).


  1. I once typed this in my friend's computer for fun when he was away talking over phone,
    rm -rf *
    And i did not press the enter key. My friend was talking in phone for quite a while and his monitor went to sleep by the time he came back. Guess what he did ? Yeah, he tapped the enter key twice to wake his monitor up and by the time the display came back on he was already scolding me by bad words ;-) Moral: Never tap Enter/Esc key when monitor goes to sleep. To be safe, press keys like alt, ctrl, caps lock.

  2. To remove all the files in /tmp/foobar, i had to type
    rm -rf /tmp/foobar/*
    But to my ill luck, that folder was empty and hence my tab completion added an extra space before i could type * and hence i typed
    rm -rf /tmp/foobar/ *
    Guess what the shell did with this ? Yeah, i lost my entire home directory :-) Moral: Always see the rm command thrice before pressing enter. And to be safe, put the -rf option in the end after checking the rest of the line.

  3. Recent linux versions have the option of protecting a partition by encryption. I once did an file system check fsck on such an encrypted volume and lost almost everything in it. Moral: Check the filesystem type twice before running a check

  4. I wanted to create a compressed archive. So i open the shell and quickly type in,
    tar -czvf /path/to/file file_archive.tar.gz instead of
    tar -czvf file_archive.tar.gz /path/to/file
    Yes, i lost the file which i had no backup of!

  5. I had around 1000 files with a # in their name. They were all debug files that were no more required. Hence i decided to remove them using the following command:
    rm -rf *#*
    Well, whats wrong with this? Paste this command in an editor that highlights syntax, and you'll know whats wrong :-)

  6. I used to have my desktop switched on for days together. To check when it was last rebooted, i typed in
    last | reboot instead of last | grep reboot
    No need to guess what happened !! :-)

  7. Try this as root if you are dare enough (or free enough to sit and reinstall your linux now):
    chmod -R -x /bin


Though the linux shell is very powerful, (we all know with great power comes even a greater responsibility), if you are not careful in using it, you might be standing in front of your boss begging yourself for screwing things up, or even worse nightmares can happen. :-)

Go ahead and share more interesting shell mistakes that you have come across.

Note: Throughout this article i have used the terms Unix/Linux interchangably though it is not the same

-Vignesh

Tuesday, July 20, 2010

Video games from our childhood - From 16GB to 16 KB :-)

Note: Throughout this article, "we" means my generation of people (i.e.) people who are almost close to my age.

Everyone knows the phrase, "Thank you mario, But our princess is in another castle". This article focusses mainly on that phrase and its whereabouts.

There must have been a period of time in every kid's life where he/she used to play video games. Though many cool portable gadgets have come these days for this generation children, Though many cool games with 3d/4d capabilities have come these days, nothing can match the joy of playing good old nintendo video games which we had when we were kids.

Video games from our childhood - From 16GB to 16 KB :-)


We had only two categories of video games when we were kids. One was called Hand Video Game which used to work on two pen torch batteries (which our parents use to hide during exams). It had simple but wonderful games like the car race (similar to crazy taxi in facebook) and the brick game (similar to modern day tetris) which we would play for hours together trying to set high score after high score. Another category was (this was supposed to be a costlier category when we were kids) TV Video Game (this was the nintendo video games i was talking about). Those days, we would pay hundreds of rupees to buy a video game casette. And there were casettes that had many games in one (i still remember when i was astonished once by seeing a 73 in 1 casette).

To name few of my very favourite games (most of them were all time top favourite for almost everyone who played it).

  • Super Mario - IMO, there is no better game than this till date (simple, yet very addictive)

  • Contra - Mostly considered as a boy's game :-)

  • Duck Hunt - Great one during the days we used to play with the gun and feel as if we were policemen shooting the duck

  • Baseball - We hardly knew the rules, but we still played it because we did not get cricket casette for cheap rates

  • Adventure Island

  • Paper Boy

  • Pacman - Now google has taken it to the next level ;-)

  • Bomberman

  • Galaxy

  • And much more..



Though not as professional gamers, we do play a lot of games in computers (some famous ones include need for speed, fifa, cricket, counter strike, age of empires, etc.), nothing can give us the joy that those games gave us when we were kids. Recently after seeing a tweet from my friend gkns, i was very desperate about playing these games in my computer. Intuitively, my mind said there would definitely be emulators that can emulate video games in our computer.

Before talking about how, there is one small point to note. Earlier i used the term casette, now being in the computer era, i am rephrasing it as ROM (Read Only Memory) disk. Many of us would have opened the plastic casette and found a chip with a black circle spot in it. That chip is nothing but the ROM disk that contains the game (just like the CD/DVD's in which we buy games today). Those disks were capable of storing data in no more than kilobytes (reasonable because those days floppies of size 1.44MB were predominant and the chip was like one fourth of the size of a floppy).

And now, being in this computer era, simulating the entire video game device becomes very simple. We need two components. One is obviously, we need the game data from the ROM disk and another one is a software that can process the data and do the job that the video game device does but using the computer's wide available resources. The emulation software is available for both windows and linux.

Windows Emulators: Nestopia (1.13 MB), FCEUX (900KB)

Linux Emulators: xnes and kemu (Just search for "nes emulator" in your package manager and install it)

ROM Disks: You can download ROM Disks of my favourite games here. You can also download disks from various freely (and most likely illegaly) from http://www.coolrom.com.

All you have to do is, download the emulator and the ROM Disk and then use the emulator to open the ROM Disk. So, why download games of size 16 GB when we can enjoy even more at just 16 KB :-) Download now and have fun. Dedicated to all who played video games as a kid :-)

P.S.: I seriously expect a lot of comments for this one :-D

-Vignesh

Sunday, July 4, 2010

Two states - The story of my internship :P

I am pursuing a course in my college that has a total of 10 semesters and it mandates a 6 month industry internship during the 7th semester. The usual procedure, as always, companies come to college and conduct written tests and interviews and recruit students for internship (with a good amount of salary - or should i call it stipend?).

Two states - The story of my internship :P


In order to follow the companies' policies, i will call the companies X,Y,Z, etc. ;-)

The Confusion
My aim was to join X. There was a lot of confusions with it. Some said they were coming to college as a part of their campus recruitment drive. Some said they weren't coming to college for absorbing interns. After lots of such dizzy stuff, finally an HR from X talked to me and agreed to set me up with a te interview and I could not have been more excited in life (except for few other moments that happened on mid june, 2008).

First Round with X
At last the day came and i was sitting in my college's so called Smart and Secure Environment Lab (where i spent most of my 2nd and 3rd year of college in the name of project). I was sitting in silence waiting for the call, which came sharp at the very time they had scheduled it. The interviewer drilled me for one hour with questions on algorithms for which i gave the worst possible answers and code (which i realized thoroughly only after a few days). The HR called back again and asked me how did my interview go for which i said it was ok. The HR said she'll set up another round of interview in two days which made me think that i had cleared the first round.

Second Round with X
I had to attend my second round from my home as i fell ill at that time. The second round was surprisingly short (just one question) for which i was asked to mail the code. I did and it was obviously not up to the standards the interviewer expected (but i still had some hopes on getting one more round of interview). Finally, as it turned out, i got a rejection email from the HR two days later. It was a heartbreak. But I had to survive with it and was in the urge of looking into other available options.

The Options
At this point i felt like in the middle of no man's land as i was totally relying upon getting into X for this internship. There were many other companies coming to the college for internship recruitment in the meantime, upon which, one specific company (lets call it Y) is of our interest. Y is located in bangalore and it was a regular mass recruiter in our college. My resume was sent to Y through college and they said i will have an interview soon. Whereas i was not very much inclined towards joining Y. To explain this story further, i need to tell a flashback.

Flashback - **TWO MONTHS EARLIER**
It was a normal day and i woke up with the irritation of the need to go to college. It was when i realised that there was a programming contest in a big event in college. It is supposedly the highest cash giving event to be held in PSG Tech. After calling some 10 of my classmates, i was finally able to pick up a partner for the contest. We went to college around 10'o clock and found that the registration charges for the contest was 150 rupees. My partner started staring at me as we never expected it to be so expensive. I somehow convinced him to pay (by telling that we can get it back via the prize money ;-)). We went to the prelims hall and to our astonishment, the longest hall in PSG Tech (A310) was almost completely filled with participants (Believe me, there were atleast 200 teams).

We got our question paper and my partner started staring at me again as there were too many questions (50 if i remember correctly) that were to be solved in 30 minutes. We did our best and solved almost 40 to 45 questions. And obviously we were confident of clearing prelims, which we did. The finals was in the same day evening and was supposed to last for two and half hours. It involved hands on solving of 8 different problems (one of which was, "Given a sudoku, solve it" :P). We were able to solve 7 of them well ahead of the time frame and decided to skip the sudoku question. They said results will be announced only after the judges evaluate the programs. Since i had no patience, i returned home and my partner returned to hostel.

That was when the story took a twist, I got a call from an unknown number saying that i have won first place in the programming contest and that i am eligible for an internship interview with company Z (Hint: the person from whom i got the call is my colleague now). It was because the contest was sponsored by Z. Apart from that we also won 5k of cash which was in the first place my objective to attend this contest ;-). The people from Z said that i will contacted back after a few days regarding the internship interview. And i came to know that the work location of Z was chennai.

Back to Present
Ok, now that i have mentioned about both Y and Z, it was time for me to choose one. The risk involved here is if i decide to give a shot at Z and if i don't get through, then Y also would be gone by then. So, i had to make a choice and i did choose to risk yet again. I sent my resume to Z and they said i will be having 3 or 4 rounds of phone interviews and we agreed upon the dates of various rounds.

Interviews Galore
It was the day before my first round of interview with Z, i suddenly got a call from an HR of Y and i was informed that i will be having a phone interview with Y that evening. I was shocked and without knowing what to do, i decided to underperform. The time came and the interview with Y started. It went on for around 15 minutes, where they did not ask me much even to underperform. The next day i attended the first round with Z and it went on for around one hour where i was drilled in every possible domain under computer science. The same day evening, Y announced their results and i was officially selected as an intern in Y. Since college never knew about Z, i went to my dean and explained about my situation and that i am interested in Z. Whereas my dean's strong response was, "You have to join Y".

Chennai Vs Bangalore
As i was trying to convince myself about the shock that i have to join Y, i had to send a mail to Z explaining the scenario. The next day, i got a call from Z saying that they were also ready absorb me as an intern. That was when the whole race started. I had to beg dean and the placement officer of my college daily for about one weeks (during which i hardly ate or slept) and atlast i got the fruit of joining Z as per my wish. As a matter of fact, The college people tried to handle the matter diplomatically as a result of which i got a call letter from Y after i had already joined Z. Finally, i won the war of chennai over bangalore :-)

Happy Ending
Here i am, doing my internship with Z as i wanted to. And i really like whatsover that has happened to me in the past two months of my internship. I have learnt a lot (not just with respect to computers). You can easily know what Z is by visiting my facebook profile here !!

Honestly, I don't expect any comments for this post :P

-Vignesh :-)

Happy batch day Embergs !! :-)

Hey,

I hereby wish Embergs (Softies + Techies 2k7) a very happy batch day. Whether you are in chennai, or bangalore, or coimbatore, or gurgaon, or calcutta, I sincerely hope you have some kind of fun with whomever time has made us possible to.

Happy Batch Day Embergs :-)


HAPPY BATCH DAY !! - JULY 4

-Vignesh :-)