Sayings of Chanakya

Wanted to log these hence posting here. A brilliant collection.

1) “Learn from the mistakes of others… you can’t live long enough to make them all yourselves!!”

2)”A person should not be too honest. Straight trees are cut first and Honest people are screwed first.”

3)”Even if a snake is not poisonous, it should pretend to be venomous.”

4)”There is some self-interest behind every friendship. There is no friendship without self-interests. This is a bitter truth.”

5)” Before you start some work, always ask yourself three questions – Why am I doing it, What the results might be and Will I be successful. Only when you think deeply and find satisfactory answers to these questions, go ahead.”

6)”As soon as the fear approaches near, attack and destroy it.”

7)”The world’s biggest power is the youth and beauty of a woman.”

8)”Once you start a working on something, don’t be afraid of failure and don’t abandon it. People who work sincerely are the happiest.”

9)”The fragrance of flowers spreads only in the direction of the wind. But the goodness of a person spreads in all direction.”

10)”God is not present in idols. Your feelings are your god. The soul is your temple.”

11) “A man is great by deeds, not by birth.”

12) “Never make friends with people who are above or below you in status. Such friendships will never give you any happiness.”

13) “Treat your kid like a darling for the first five years. For the next five years, scold them. By the time they turn sixteen, treat them like a friend. Your grown up children are your best friends.”

14) “Books are as useful to a stupid person as a mirror is useful to a blind person.”

15) “Education is the best friend. An educated person is respected everywhere. Education beats the beauty and the youth.”

Why did you take computer science

Funny things happen in life everyday. In my campus interview, the guy who was taking my technical interview was very impressed with me, so he promptly asked me Why did you take up Computer Science. I have already said it in an earlier post that sometimes our mind works too fast for us to believe it. Same thing happened to me after he asked that question, I tried to recall why did I take up computer science and after analysing my entire life and all my encounters with computers prior to my joining my college, I could not find one motivating instance which drove me crazy about computers. The only answer I could manage to think was because on my counseling date everybody around me was filling the Computer Science of the same college and even my dad asked me to do so. But this would not impress my interviewer, I figured, so I transformed the answer into I was interested in computers from childhood Actually I first saw a computer when I was in class 8th and touched it in class 10th and in 11th and 12th only heard music and saw movies on it. I even said I was always into mathematics and solving programming problems alongwith finding efficient solutions. This was somewhat true but I was never a problem solving person, in fact I hated mathematics and always scored the least in it. Besides, I have a strict policy Conserve the brain :). I always used to say to my friends, ” .. yaar kuch bhi karunga par zindagi main computer science kabhi nhi padhunga.. kaisa boor subject hai yaar… aur sala bas computer k samne baithe rho …ch**tia ki tarah..“. But now I had to somehow make this guy to believe that I was born to be a programmer and that given a choice between a hottie and a laptop, I would die for a laptop. Funny na .. we find chameleons attractive and amazing in childhood but as we grow we develop into a chameleon ourselves. 🙂 I was laughing inside while I gave that answer but I am a nice actor, I put up a good show and even he believed that I was made for computers and programming was my religion. Mission Successful.

Hope the one who interviewed me never visits this post 🙂

My Principles in Life

It just crossed my mind today to collect some of the principles which I usually follow in my life. Well right now I don’t know how many 😛 but I have tried to bring to focus all those which are very important to me and have helped me become me.

  • No affairs/relationships in my own Colony, School, College and Work. This is the most important lesson which I was told by a very nice guy, and I understood the significance of this rule as soon as he said it to me. I was only 15 then, but surely had the senses to follow it and have followed it till date. Beautiful 🙂
  • Keep your patience, keep your cool, things will go your way.
    My guiding light throughout my academic success (if you say so) and many rough patches in life 🙂
  • (In Hindi) Saam, Daam, Dand, Bhed.
    The uber-famous quotation by Chanakya, it is really awesum and true even for today.
  • I didn’t have time to learn and I didn’t have much patience with what’s called the humanities, even though in the university there were humanities that you had to take. I tried my best to avoid somehow learning anything and working at it…. I have a limited intelligence and I use it in a particular direction.
    Heard it in a video about Richard P. Feynaman, and found it astonishingly valid for me 🙂
  • There is no avoiding of war, it can only be postponed to the adavntage of your enemy.
    Wish the leader of our country also had this divine insight
  • The only way to get smart is to play against the smarter opponent.
    An excerpt from an excellent movie, Revolver
  • A man can live a good life, be honourable, give to charity, but in the end, the number of people that come to his funeral is generally dependent on the weather.
    Another movie dialogue, if you think about it, it’s really amazing.
  • Whereof one cannot speak of, thereof one should be silent.
    A quote used by my professor, awesome man awesome thought.
  • When the money is gone, it’s time to move on.
  • “Don’t work hard in life for me or your mother, we aren’t going to ask you for anything, I have my reserves. It’ll just be nice for me to know that my son has done something significant in his life. That’s all I care for, that’s all I expect from you.”
    My dad to me ..

My First interview

It sounds very simple but when the first ever (technical) interview of your life is being taken by a Microsoft employee, things really get tensed. I considered myself a calm headed guy, certain friends might contradict, but I felt I could handle any sort of pressure until that interview. I went in the room very confident as I believed I was good at programming. The first question I got was about finding an element in a rotated sorted array. I don’t know why as soon as I saw my interviewer explain me the question, I started getting an intense feeling that “It’s all ruined”. I don’t know where it came from but it was strong and persistent throughout the time when I was trying to obtain a solution. My mind could think of a million reasons why I believed that I would ruin my interview but could not think of a very trivial solution to that problem. Anyhow, I managed an approach and told him half-heartedly. He simply asked to code and not explain the algorithm. I began coding, I had read somewhere that these guys see the way you write your code also, so I quickly wrote the code without any hesitation and showed it to him. He had not even completely read the code and wrote a test case for which it failed. Alas !!! I knew my approach was correct but I had messed up while coding. I was told just before entering the room that, “.. M$ guys love you if you write the code correct in the first attempt..” … imagine the state of my mind as soon as I found that the first code I wrote was wrong. I turned back and in remorse and repenting on my stupendous mistake I reviewed my code and after the first flaw I saw I knew that it was the culprit which caused my drown. I corrected it and then gave it back to the interviewer as if now the interview was just a formality for me. I think of myself at that point and really I could compare myself with a soldier fighting alone against the US army with a 3-NOT-3 rifle. And what follows, he went through my code again and wrote another test case where it broke. I don’t have enough knowledge of english language to express what went through my head when I dry ran that case on my code. But this time I don’t know what came to my mind and I thought to myself, “..abe ab kas to gayi hai hi.. hona to hai nhi.. to saale iske mu par code maaro.. abki galti nikal k dikha saale code main…” .. and that was me. I took the code, went over it, in one go I corrected all the mistakes I could se and in next view I tested it on 2-3 test cases which I had generated in my mind at the speed of light. Then I handed over the paper to him and rolled back on my chair. This time I had done it, he found no mistake in it and just said .. “ye chal jaega”. Now I was charged up because of the thought that had went past my mind and now I was like a free bird ready for anything. He posted another problem about the knight’s tour and before he could complete the problem I had written a recursive code for it and again tested it on my “lighting-speed” generated test cases, he asked to optimize it and I gave him the method which could be used to optimize it. Speechless, as he was, seeing the vibrant change in my attitude. Guys, really, when you have nothing to loose, whatever you do, you only gain. And though I was so distressed that after he relieved me, I came out with 1/10^100th the enthusiasm with which I had entered that room. I was sure that I had lost my chance and was waiting for the HR official to show me the way out. How fast my brain analyzed my interview and drew a zillion reasons of how I had screwed my interview was a thought I can never forget. And still I was there, waiting for the official denial, but a kindle of hope somewhere in the heart with a feeling that “..kya pata apni shakal achhi lagi ho sale ko.. aise nhi to waise hi pass kar de sala ..”, I stood there. And there she came out and called my name ….. and uttered the words “Avi, you have been scheduled for the next round of interview”.

Stay tuned to know what happened in that interview.

I have nothing to do :(

Hey guyz …

As the topic of the blog suggests .. I SERIOUSLY have nothing to do .. infact I am so bored that I have took up solving programming problems as time pass 😦 .. But since my brain is not optimized to solving complex problems all day long so I have decided to write on some random topics every now and then … I don’t know the next time I am going to be so ‘vella’ so I want to remember this moment of my life. So, I have no idea where my ship will head for the next 3-4 months, but yeah wherever it will sail .. if you’re following it .. I am sure you’ll enjoy it 🙂



I will write some day

Hi friends. I am not a very enthusiastic writer and this being my very first write-up on internet please bear with the mistakes (I hail from the A2 batch @ IIIT so errors can be excused ).

Linus Torovalds once said that electronic form of communication is way better than spoken one because when writing you have to take care that the reader is not bored and you convey your thoughts as explicitly and clearly as possible. So you save your time as well as the readers. Unfortunately , as of now I am young so unconventionally I like to stand on a stage  and use my vocal skills to persuade people into my views  rather than write on a web page and let it float around. As of now  I have this mindset, but still giving myself space for future change of thoughts I have made this blog so that if in future I feel inclined towards writing I may have a place ,by my name of course, to express myself in words.

But still I think good bloggers use the blogs to spread their words to the people they cant reach to. But to their neighbours they SPEAK OUT. I feel only a good speaker can be a good blogger and blogs should be used only when you have to reach out to a big group of people , not to spread a word within your friends or batchmates.

Anyways its already 5 in the morning and I have nothing more to say … C ya some day


%d bloggers like this: