Friday, January 21, 2011

Dance pics

Been a long time since i blogged. These days I started dancing :) Totally i think there are three major performances i have done so far in a span of 4 months. The first one was the "One Family Day" event. It was awesome. We managed to reach the finals. The second performance was for Diwali celebrations. We did a Bhangra. And now the third one is on ITS (my team) celebrations held in N Convention. Below is the costume we used for the ITS celebrations' event.


Sunday, January 9, 2011

To print input till output is 42 !

This is a just a problem I found in CodeChef (Thanks a ton to Bittu for introducing this site to me :-)) :-)


Problem :


Your program is to use the brute-force approach in order to find the Answer to Life, the Universe, and Everything. More precisely... rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two digits.


Code I have tried :



using System;


namespace LifeTheUniverse
{
    class ClsCodeChef1
    {
        static void Main()
        {
            int a = 0, i = 0;
            int[] b = new int[1];
            Console.WriteLine("Input:");
            while (a != 42)
            {
                a = Convert.ToInt32(Console.ReadLine());
                b[i] = a;
                i++;
                Array.Resize(ref b, i + 1);
            }
            Console.WriteLine("Output:");
            for (int j = 0; j < i - 1; j++)
                Console.WriteLine(b[j]);
            Console.Read();
        }
    }
}

Wednesday, January 5, 2011

Kavithai Kavithai

மன்னிப்பாயா ?

உன் கல்லறை தான் என் கருவறையா ?

- காகிதம் மரத்திடம்

Tuesday, January 4, 2011

திடீர் கவிஞன்

நிலவு

அப்படி என்ன தான் பூமி மீது வெட்கமோ மாதம் ஒரு முறையே முழு முகத்தை காட்டுகிறாய்

Saturday, December 25, 2010

Mynaa

Awesome movie

A very decent movie with lot of turning points.

As a whole the movie is good. But has lot of flaws with many scenes.

The lead female actor's (Amala) mom addresses the lead actor (Vidharth) as "marumagan" meaning son-in-law from the day he helped her and her daughter. But why is she not willing to get her daughter married to him ? I feel this is the first flaw.

Vidharth was hand cuffed with the sub inspector till the restaurant scene, which I don't think is not practical. The bus accident scene was not appealing. But it was needed to create the bond between Vidharth, ins and sub-ins.

The movie should have had a positive end. Just to have a negative climax, the climax is messed up.

On reaching Peria Kulam, sub-ins should have taken Amala with him and should have ended it positively.

After Amala suicided (she should not have done this ! I don't understand why she suicided), Vidharth also ended his life. After this, the ins kills his wife and her brothers, father (What the heck !!! The scene well shows  how anger can turn down any person).

The ins's wife should be rational. Atleast for being a police personnel's wife, she should have understood him atleast a little. The inspector character is very good. He showed the right emotions. The sub ins, as the experience speaks, really showed maturity for his experience in the field.

Overall the movie is worth watching.

A good job from Prabhu Soloman.

Thursday, December 23, 2010

Growing Good Corn

Another nice article from an office mail :



There was a Nebraska farmer who grew award-winning corn. Each year he entered his corn in the state fair where it won a blue ribbonhttp://kona.kontera.com/javascript/lib/imgs/grey_loader.gif
...
One year a newspaper reporter interviewed him and learned something interesting about how he grew it. The reporter discovered that the farmer shared his seed corn with his neighbors. "How can you afford to share your best seed corn with your neighbors when they are entering corn in competition with yours each year?" the reporter asked.

"Why sir," said the farmer, "didn't you know? The wind picks up pollen from the ripening corn and swirls it from field to field. If my neighbors grow inferior corn, cross-pollination will steadily degrade the quality of my corn. If I am to grow good corn, I must help my neighbors grow good corn."

He is very much aware of the connectedness of life. His corn cannot improve unless his neighbor's corn also improves.


So it is in other dimensions. Those who choose to be at peace must help their neighbors to be at peace. Those who choose to live well must help others to live well, for the value of a life is measured by the lives it touches. And those who choose to be happy must help others to find happiness for the welfare of each is bound up with the welfare of all.

If we are to grow good corn, we must help our neighbors grow good corn.

Wednesday, December 22, 2010

Love and Time

Another wonderful article got in an office mail :


Once upon a time, there was an island where all the feelings lived: Happiness, Sadness, Knowledge, and all of the others, including Love. One day it was announced to the feelings that the island would sink, so all constructed boats and left. Except for Love. Love was the only one who stayed. Love wanted to hold out until the last possible moment. When the island had almost sunk, Love decided to ask for help.
Richness was passing by Love in a grand boat. Love said, “Richness, can you take me with you?”Richness answered, “No, I can’t. There is a lot of gold and silver in my boat. There is no place here for you.”Love decided to ask Vanity who was also passing by in a beautiful vessel. “Vanity, please help me!”
“I can’t help you, Love. You are all wet and might damage my boat,” Vanity answered. Sadness was close by so Love asked, “Sadness, let me go with you.”
“Oh . . . Love, I am so sad that I need to be by myself!”


Happiness passed by Love, too, but she was so happy that she did not even hear when Love called her. 


Suddenly, there was a voice, “Come, Love, I will take you.” It was an elder. So blessed and overjoyed, Love even forgot to ask the elder where they were going. When they arrived at dry land, the elder went her own way. Realizing how much was owed the elder, Love asked Knowledge, another elder, “Who Helped me?”
“It was Time,” Knowledge answered.
“Time?” asked Love. “But why did Time help me?”
Knowledge smiled with deep wisdom and answered, “Because only Time is capable of understanding how valuable Love is.”

Tuesday, December 21, 2010

Bad Temper

This is a nice article I came across in a mail at office :


There once was a little boy who had a bad temper. His father gave him a bag of nails and told him that every time he lost his temper, he must hammer a nail into the back of the fence. The first day, the boy had driven 37 nails into the fence. Over the next few weeks, as he learned to control his anger, the number of nails hammered daily gradually dwindled down. He discovered it was easier to hold his temper than to drive those nails into the fence.





Finally the day came when the boy didn’t lose his temper at all. He told his father about it and the father suggested that the boy now pull out one nail for each day that he was able to hold his temper. The days passed and the boy was finally able to tell his father that all the nails were gone. The father took his son by the hand and led him to the fence. He said, “You have done well, my son, but look at the holes in the fence. The fence will never be the same. “


When you say things in anger, they leave a scar just like this one. You can put a knife in a man and draw it out. It won’t matter how many times you say I’m sorry the wound is still there. A verbal wound is as bad as a physical one.”

Monday, December 20, 2010

Lecturers at college

It is been quite a while to write a blog.

Well, it is 12.30 am 20th Dec, Monday. Just reading "five point someone". While reading just thought of writing a blog listing all the lecturers I could recollect now.

1. My HOD. Aww, what is the name ? I forgot. Friends : if you can give the name I would post it here :-)
2. My Tutor. Christie mam. I indeed respect her a lot. She always cared a lot for me personally about my health. I still remember those meetings where she stressed on health.
3. Manoharan sir :-) One of the lecturers I respect for his attitude rather than anything else. The first subject he handled for us is Electro Magnetic Fields. A lovely subject it should be. I never mastered it. But I love the concept of electro magnetics.
4. Radhika madam. She handled Mathematics in first semester. She is one of those I would want to meet when I go college anytime if possible.
5. Lalithambigai mam. She handled C Programming in first semester. She indeed had a lot of info on C language. She taught well. But I got only 7-C. My worst rating ever, meaning I scored only 60 to 69. Hmmm. I am yet to master C :-)
6. Communications skill mam : Again I forgot the name. Friends : Your help needed again :-)
7. Kesavamurthy sir : He did not handle any subject I think. But still he is one of those I cannot forget.
8. Ramanathan sir : A very hard working sir. I love the way he handles and controls his class.
9. Sivaraj sir. Another hard working lecturer.
10. Rajalakshmi mam. She handled VLSI in third sem i think.
11. Engineering graphics sir. I forgot his name. He really was a geek in that subject. I scored 10 S (90 to 100) in this subject. I love this sub.
12. Krishnaveni mam. She handled "Signals and Systems" and "DSP".
13. Faculties from Mathematics department. I could not recollect even one of the names.

I am not getting anymore name. I do remember the subjects rather.

If anyone is going through this blog, help me in recollecting all our lecture names :-)

Sunday, July 11, 2010

DREAM INDIA

India - a symbol of corruption ? a symbol of bribery ? a symbol of illiteracy? a symbol of in-justice to the poor ? a symbol of "Rich get richer, poor get poorer" ? a country filled with beggars ? a nation rich of hospitals ?

What is the root cause of all these ? Improper governance. Poor administrators. Corrupt administrators. Irresponsible citizens. Fraudulent, dishonest, selfish, incapable, untruthful politicians. Unfair policies.

WHY WHY WHY ???

Can't this country be ideal. Most of saints have originated in this land. None can boast of their culture as ours. Though, why are we a developing nation still from independence ? If you stay honest, then you are called a clown in this country. I promise if I stay honest with the present situation, I cannot survive. Who has driven this country to such a pathetic situation ?

I want my country to be free of corrupt, free of in-justice. Why do people hoard money for their upcoming 10 generations. Why does a person need 5 cars lined up in his home when there are thousands of people who sleep on platform. Why does a person need to have his food in five star hotels when there are tens of thousands who cannot afford a hygienic food twice a day.

I want to change everything. I want justice for everyone. Only if communist countries can be like this, why can't we follow communist ? I am ready to sacrifice my pleasures for the needy. But are others like that? What can a single person do in this country. I will end in vain increasing the beggar list of the country by one.

I want a political party who is working selflessly and only for the improvement of the country. I don't want this to go this off as a dream. A journey of thousand miles starts with a single step. I am ready to take that single. I need people to come along with me.

I am not writing this particular blog for time pass. This is from my heart. I just want justice to everyone and that is possible only through sacrifice, selflessness, We have seen lot of movies depicting what will happen if you fall into politics. Either you will corrupted or you will die for nothing. I don’t want to become a victim of either of these types. Can anyone tell me one honest politician ? If so is he still in India !!!

Closing this blog with dissatisfaction of Indian administration !!!

Friday, June 4, 2010

எதிர்பார்ப்பதை விட்டு விடுங்கள்


எதிர்பார்ப்பதை விட்டு விட்டால் ஏமாற்றமே இருக்காது. மகிழ்ச்சி இன்மைக்கும், முகம் சுழிப்பதற்கும் என்ன காரணம் என்றால் எதிபார்த்தலில் உண்டான ஏமாற்றம் தான். அது எப்படி வருகிறது எனில், கற்பனையாக எப்பொழுதுமே ஏதாவது ஒன்றை எதிர்பார்க்கிறோம். எனக்கு இப்படி வர வேண்டும், அப்படி வர வேண்டும் என்ற கற்பனையான எதிர்பார்ப்புகள் இல்லாமல், எப்பொழுதுமே நமக்குக் கிடைக்கிறது எல்லாம் நாம் செய்ததினுடைய செயல் விளைவாகத் தான் கிடைக்கிறது.

- வேதாத்திரி மகரிஷி

Monday, May 31, 2010

Nice mail forward - worth reading

Once there was an old man who lived in a tiny village. Although poor, he was envied by all, for he owned a beautiful white horse. Even the king coveted his treasure. A horse like this had never been seen before-such was its splendor, its majesty, its strength.

People offered fabulous prices for the steed, but the old man always refused. "This horse is not a horse to me," he would tell them. "It is a person. How could you sell a person? He is a friend, not a possession. How could you sell a friend?" The man was poor and the temptation was great. But he never sold the horse.

One morning he found that the horse was not in the stable. All the village came to see him. "You old fool," they scoffed, "we told you that someone would steal your horse. We warned you that you would be robbed. You are so poor. How could you ever hope to protect such a valuable animal? It would have been better to have sold him. You could have gotten whatever price you wanted. No amount would have been too high. Now the horse is gone, and you've been cursed with misfortune." The old man responded, "Don't speak too quickly. Say only that the horse is not in the stable. That is all we know; the rest is judgment. If I've been cursed or not, how can you know? How can you judge?" The people contested, "Don't make us out to be fools! We may not be philosophers, but great philosophy is not needed. The simple fact that your horse is gone is a curse."

The old man spoke again. "All I know is that the stable is empty, and the horse is gone. The rest I don't know. Whether it be a curse or a blessing, I can't say. All we can see is a fragment. Who can say what will come next?"

The people of the village laughed. They thought that the man was crazy. They had always thought he was a fool; if he wasn't, he would have sold the horse and lived off the money. But instead, he was a poor woodcutter, an old man still cutting firewood and dragging it out of the forest and selling it. He lived hand to mouth in the misery of poverty. Now he had proven that he was, indeed, a fool.

After fifteen days, the horse returned. He hadn't been stolen; he had run away into the forest. Not only had he returned, he had brought a dozen wild horses with him. Once again the village people gathered around the woodcutter and spoke. "Old man, you were right and we were wrong. What we thought was a curse was a blessing. Please forgive us."The man responded, "Once again, you go too far. Say only that the horse is back. State only that a dozen horses returned with him, but don't judge. How do you know if this is a blessing or not? You see only a fragment. Unless you know the whole story, how can you judge? 

You read only one page of a book. Can you judge the whole book? You read only one word of a phrase. Can you understand the entire phrase? "Life is so vast, yet you judge all of life with one page or one word. All you have is a fragment! Don't say that this is a blessing. No one knows. I am content with what I know. I am not perturbed by what I don't."

"Maybe the old man is right," they said to one another. So they said little. But down deep, they knew he was wrong. They knew it was a blessing. Twelve wild horses had returned with one horse. With a little bit of work, the animals could be broken and trained and sold for much money.

The old man had a son, an only son. The young man began to break the wild horses. After a few days, he fell from one of the horses and broke both legs. Once again the villagers gathered around the old man and cast their judgments.

"You were right," they said. "You proved you were right. The dozen horses were not a blessing. They were a curse. Your only son has broken his legs, and now in your old age you have no one to help you. Now you are poorer than ever."

The old man spoke again. "You people are obsessed with judging. Don't go so far. Say only that my son broke his legs. Who knows if it is a blessing or a curse? No one knows. We only have a fragment. Life comes in fragments."

It so happened that a few weeks later the country engaged in war against a neighboring country. All the young men of the village were required to join the army. Only the son of the old man was excluded, because he was injured. Once again the people gathered around the old man, crying and screaming because their sons had been taken. There was little chance that they would return. The enemy was strong, and the war would be a losing struggle. They would never see their sons again.

"You were right, old man," they wept. "God knows you were right. This proves it. Your son's accident was a blessing. His legs may be broken, but at least he is with you. Our sons are gone forever."

The old man spoke again. "It is impossible to talk with you. You always draw conclusions. No one knows. Say only this: Your sons had to go to war, and mine did not. No one knows if it is a blessing or a curse. No one is wise enough to know. Only God knows."

The old man was right. We only have a fragment. Life's mishaps and horrors are only a page out of a grand book. We must be slow about drawing conclusions. We must reserve judgment on life's storms until we know the whole story.

"Do not worry about tomorrow, for tomorrow will worry about itself."

அறிவறியும் தவம்

இரு விழிகள் மூக்கு முனை குறிப்பாய்நிற்க,
எண்ணத்தைப் புருவங்களிடை நிறுத்தி,
ஒருமையுடன் குருநெறியில் பழகும் போது,
உள்ளொளியே பூரித்து மூலமான
கருவுக்கு மேனோக்கு வேக மூட்டும்;
கருத்துக்கு இந்நிகழ்ச்சி உணர்வாய்த் தோன்றும்;
அருவ நிலையாம் ஆதி உருவாய் வந்த
அத்துவித ரகசியமும் விளக்கமாகும்.

-தத்துவஞானி வேதாத்திரி மகரிஷி

Sunday, May 2, 2010

My guru's poems

எப்பொருளை எச்செயலை எக்குணத்தை

      எவ்வுயிரை ஒருவர் அடிக்கடி நினைந்தால்

அப்பொருளின் தன்மையாய் நினைப்போர் ஆற்றல்

      அறிவினிலும் உடலினிலும் மாற்றங்காணும்;

இப்பெருமை இயல்பூக்க நியதியாகும்

      எவரொருவர் குருவை மதித்து ஒழுகினாலும்

தப்பாது குருவுயர்வு மதிப்போர் தம்மைத்

      தரத்தில் உயர்த்திப் பிறவிப்பயனை நல்கும்.



- தத்துவஞானி வேதாத்திரி மகரிஷி

Wednesday, April 28, 2010

I love all my friends because of whom all I still live happily :-)

Dedicate this blog to all friends I have ever met in my life.

Tuesday, April 20, 2010

Why should the wedding ring be worn on the fourth finger?

I got this in a mail !!!

There is a beautiful and convincing explanation given by someone …



Thumb represents your Parents


Second (Index) finger represents your Siblings


Middle finger represents your-Self


Fourth (Ring) finger represents your Life Partner


& the Last (Little) finger represents your children


Firstly, open your palms (face to face), bend the middle fingers and hold them together – back to back


Secondly, open and hold the remaining three fingers and the thumb – tip to tip

(As shown in the figure below):



Now, try to separate your thumbs (representing the parents)…, they will open, because your parents are not destined to live with you lifelong, and have to leave you sooner or later.


Please join your thumbs as before and separate your Index fingers (representing siblings)…., they will also open, because your brothers and sisters will have their own families and will have to lead their own separate lives.


Now join the Index fingers and separate your Little fingers (representing your children)…., they will open too, because the children also will get married and settle down on their own some day.


Finally, join your Little fingers, and try to separate your Ring fingers (representing your spouse).


You will be surprised to see that you just CANNOT….., because Husband & Wife have to remain together all their lives – through thick and thin!!


Please try this out………….


ISN’T THIS A LOVELY THEORY?

Wednesday, April 14, 2010

The possibilities are numerous once we decide to act and not react

1. When you face a setback, think of it as a defining moment that will lead to a future accomplishment.



2. When you encounter adversity, remember, the best don’t just face adversity; they embrace it, knowing it’s not a dead end but a detour to something greater and better.


3. When you face negative people, know that the key to life is to stay positive in the face of negativity, not in the absence of it. After all, everyone will have to overcome negativity to define themselves and create their success.


4. When you face the naysayer’s, remember the people who believed in you and spoke positive words to you.


5. When you face critics, remember to tune them out and focus only on being the best you can be.


6. When you wake up in the morning, take a morning walk of gratitude and prayer. It will create a fertile mind ready for success.


7. When you fear, trust. Let your faith be greater than your doubt.


8. When you fail, find the lesson in it, and then recall a time when you have succeeded.


9. When you head into battle, visualize success.


10. When you are thinking about the past or worrying about the future, instead focus your energy on the present moment. The now is where your power is the greatest.


11. When you want to complain, instead identify a solution.


12. When your own self-doubt crowds your mind, weed it and replace it with positive thoughts and positive self-talk.


13. When you feel distracted, focus on your breathing, observe your surroundings, clear your mind, and get into The Zone. The Zone is not a random event. It can be created.


14. When you feel all is impossible, know that with God all things are possible.


15. When you feel alone, think of all the people who have helped you along the way and who love and support you now.


16. When you feel lost, pray for guidance.


17. When you are tired and drained, remember to never, never, never give up. Finish Strong in everything you do.


18. When you feel like you can’t do it, know that you can do all things through Him who gives you strength.


19. When you feel like your situation is beyond your control, pray and surrender. Focus on what you can control and let go of what you can’t.


20. When you’re in a high-pressure situation and the game is on the line, and everyone is watching you, remember to smile, have fun, and enjoy it. Life is short; you only live once. You have nothing to lose. Seize the moment.

This is a mail I got in Deloitte which is simply stating the best ways to follow. I love it.
In Deloitte on goal setting we are told that the goals should be SMART !

S     Short
M    Measurable
   Achievable
    Realistic
    Time bound

Hope the goals I set are SMART :-)
Life is all in our hands. It's the attitude and the mindset which is riding our day to day life. If you think you can manage a situation then you will manage the situation somehow. Thats the power of thinking. To maintain any relationship three things are very important.They are

tolerance

adjustment

sacrifice
 
I wrote these sometime back somewhere and now I wonder "Did I write these" ? One thing which is confirmed now is mind is not constant. As you all know mind is nothing but bundle of thoughts. So at the time when I was writing these I must have been in a great mood ! Anyhow on reading these I get more confidence :-)

Tuesday, March 30, 2010

Movies I have watched so far in my stay in Hyderabad !!!

The following is the list of movies I have watched so far during my stay in Hyderabad.


1. Oye (Telugu movie) - not bad (Baby shalini has become aunty shalini :-) )


2. Harry Potter and the Half-blood Prince.


3. Inglorious basterds.


4. A Christmas Carol.


5. Vettaikaran (Tamil - worst of all).


6. Blue (Hindi movie)


7. Kaminey (Hindi)


8. Avatar (Once in Talkie town and the second time in i-nox )


9. 3 idiots




Thats all coming to my mind as of now. Will update if any in the fore coming blogs.