Twitter Updates

Wednesday, January 04, 2012

Happy New Year 2012.

A very Happy and Prosperous New Year'2012 to All !

This new year has a lot of events to unfold. I didn't want to be negative in start but The 1st question strikes in my mind is whether this will be last year for all of us..Answer is Don't know. Not sure how the prediction of end of world will be true.
I also think there will be some big battles between nations, sad but i think so, this downturn in economy needs some thing very big. Where world economy will be on track? Whether China will take over USA as work power center.. Whether US Dollar will be replaced by Chinese currency (Yuan).

With +ve note, will our neighbor countries understand that we need and we can live with peace.

Will our country get something to cheer about. A strong law to fight corruption. A positive political environment in which our economy pick the growth.

I hope apart from bad thing there should be more good things in our lives in this very new year'2012.
Happy New Year.

Thursday, October 21, 2010

Honesty

There was a farmer who sold a pound of butter to the baker. One day the baker decided to weigh the butter to see if he was getting a pound and he found that he was not. This angered him and he took the farmer to court.

The judge asked the farmer if he was using any measure. The farmer replied, "Your Honor, I am primitive. I don't have a proper measure, but I do have a scale."

The judge asked, "Then how do you weigh the butter" The farmer replied "Your Honor, long before the baker started buying butter from me, I have been buying a pound loaf of bread from him. Every day when the baker brings the bread, I put it on the scale and give him the same weight in butter. If anyone is to be blamed, it is the baker."

What is the moral of the story? We get back in life what we give to others.

Honesty and dishonesty become a habit. Some people practice dishonesty and can lie with a straight face. Others lie so much that they don't even know what the truth is anymore. But who are they deceiving? Themselves – more than anyone else.

Thursday, June 17, 2010

LEADERSHIP & CRITICS

One of the challenges for anyone dedicated to expressing their leadership best is dealing with the chattering voices of naysaying critics. As a matter of fact, the more brightly you shine in your work and the more quickly you innovate and the more excellent you become, the more foulmouthed critics you will attract. It's just part of the game. Emerson said it brilliantly: "Great people are always misunderstood."

Here some key insights to help you fly in your career (and within your life), in the face of criticism:

#1: To lead is to often be unpopular.
Leadership isn't a popularity contest. Leadership is about having the bravery to do what's right versus what's easy. That attracts criticism. Why? Because people don't like change. And they don't want to change. To truly lead is to disrupt the way things were-and are (in an effort to make things better). And rather than having the openness and courage to embrace the change, most people would rather shoot the messenger, in an effort to preserve the status quo.

#2: Critics Can Serve You. Sometimes, there is some truth to what your critics are saying. Smart leaders have the intelligence to discern the difference between the misguided ramblings of those seeking to knock them down and negative feedback that has truth beneath it. Each of us can get to a whole new level of excellence by improving our weaknesses.

#3: You Can Create More Value Amid Your Critics than With Your Fans.
Yes, moving your closely cherished vision/mission/ideals/goals forward in the face of people throwing stones (or even simply laughing) at you is hard work. But, ultimately, doing what you believe to be right/good/important surrounded by critics is more valuable than doing all that alongside your supporters. Why? Because the critics are resisting what you are trying to change. And if you can positively influence them (even a few of them), then you've advanced your mission much more significantly that preaching to the converted.


By : Robin Sharma (http://www.robinsharma.com/)

Tuesday, May 11, 2010

Sending a POST Request Using a URL

Very useful source code to make any http post call. Some of you will find it trivial..
See also Sending a POST Request Using a Socket.

try {
// Construct data
String data = URLEncoder.encode(
"key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
data += "&" + URLEncoder.encode(
"key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");

// Send data

URL url = new URL(
"http://hostname:80/cgi");
URLConnection conn = url.openConnection();

conn.setDoOutput(true);

OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream()
);
wr.write(data);

wr.flush();

// Get the response

BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;

while ((line = rd.readLine()) != null)

{

// Process line...

}

wr.close();

rd.close();

} catch (Exception e) { }


Source: http://www.exampledepot.com/egs/java.net/Post.html

Thursday, July 23, 2009

10 Principles for Peace of Mind.


1. Do Not Interfere In Others' Business Unless Asked:

Most of us create our own problems by interfering too often in others' affairs. We do so because somehow we have convinced ourselves that our way is the best way, our logic is the perfect logic and those who do not conform to our thinking must be criticized and steered to the right direction, our direction. This thinking denies the existence of individuality and consequently the existence of
God.. God has created each one of us in a unique way.

No two human beings can think or act in exactly the same way. All men or women act the way they do because God within them prompts them that way. Mind your own business and you will keep your peace.


2. Forgive And Forget:

This is the most powerful aid to peace of mind. We often develop ill feelings inside our heart for the person who insults us or harms us. We nurture grievances. This in turn results in loss of sleep, development of stomach ulcers, and high blood pressure. This insult or injury was done once, but nourishing of grievance goes on forever by constantly remembering it. Get over this bad habit. Life is too short to waste in such trifles. Forgive,20Forget, and march on. Love flourishes in giving and forgiving.


3. Do Not Crave For Recognition:

This world is full of selfish people. They seldom praise anybody without selfish motives. They may praise you today because you are in power, but no sooner than you are powerless, they will forget your achievement and will start finding faults in you. Why do you wish to kill yourself in striving for their recognition? Their recognition is not worth the aggravation. Do your duties ethically and sincerely.


4. Do Not Be Jealous:

We all have experienced how jealousy can disturb our peace of mind. You know that you work harder than your colleagues in the office, but sometimes they get promotions; you do not. You started a business several years ago, but you are not as successful as your neighbor whose business is only one year old. There are several examples like these in everyday life. Should you be jealous? No.

Remember everybody's life is shaped by his/her destiny, which has now become his/her reality. If you are destined to be rich, nothing in the world can stop you. If you are not so destined, no one can help you either. Nothing will be gained by blaming others for your misfortune. Jealousy will not get you anywhere; it will only take away your peace of mind.


5. Change Yourself According To The Environment:

If you try to change the environment single-handedly, the chances are you will fail. Instead, change yourself to suit your environment. As you do this, even the environment, which has been unfriendly to you, will mysteriously change and seem congenial and harmonious.


6. Endure What Cannot Be Cured:

This is the best way to turn a disadvantage into an advantage. Every day we face numerous inconveniences, ailments, irritations, and accidents that are beyond our control. If we cannot control them or change them, we must learn to put up with these things. We must learn to endure them cheerfully. Believe in yourself and you will gain in terms of patience, inner strength and will power.


7. Do Not Bite Off More Than You Can Chew:

This maxim needs to be remembered constantly. We often tend to take more responsibilities than we are capable of carrying out. This is done to satisfy our ego. Know your limitations. . Why take on additional loads that may create more worries? You cannot gain peace of mind by expanding your external activities. Reduce your material engagements and spend time in prayer, introspection and
meditation. This will reduce those thoughts in your mind that make you restless. Uncluttered mind will produce greater peace of mind.


8. Meditate Regularly:

Meditation calms the mind and gets rid of disturbing thoughts. This is the highest state of peace of mind. Try and experience it yourself. If you meditate earnestly for half an hour everyday, your mind will tend to become peaceful during the remaining twenty-three and half-hours. Your mind will not be easily disturbed as it was before.

You would benefit by gradually increasing the period of daily meditation. You may think that this will interfere with your daily work. On the contrary, this will increase your efficiency and you will be able to produce better results in less time.


9. Never Leave The Mind Vacant:

An empty mind is the devil's workshop. All evil actions start in the vacant mind. Keep your mind occupied in something positive, something worthwhile. Actively follow a hobby. Do something that holds your interest. You must decide what you value more: money or peace of mind. Your hobby, like social work or religious work, may not always earn you more money, but you will have a sense of fulfillment and achievement. Even when you are resting physically, occupy yourself in healthy reading or mental chanting of God's name.


10. Do Not Procrastinate And Never Regret:

Do not waste time in protracted wondering " Should I or shouldn't I?" Days, weeks, months, and years may be wasted in that futile mental debating. You can never plan enough because you can never anticipate all future happenings. Value your time and do the things that need to be done.

It does not matter if you fail the first time. You can learn from your mistakes and succeed the next time. Sitting back and worrying will lead to nothing. Learn from your mistakes, but do not brood over the past. DO NOT REGRET. Whatever happened was destined to happen only that way. Why cry over spilt milk?.

Wednesday, May 06, 2009

A missed call for your hot cup..

This is story of a "Mobile Tea Shop"

Manjunath Tea Stall in Chikpet takes 2000 orders for tea and coffee each day. Guess how the orders are placed ... Manjunath has more than 1,000 contact numbers on his cell phone. A little unusual perhaps for someone who owns a small unpretentious shop in Chikpet, but certainly nothing remarkable. But what he does with those contacts is indeed something that should figure among the 10 Most Innovative Business Models.
Manjunath at work, taking orders on his mobile On an average, Manjunath sells about 2,000 cups of tea and coffee every day. Like in most business districts and shopping complexes, the beverages are delivered to the offices and shops, except that in his case the orders are placed in a unique way. Anyone who wants a tea or coffee delivered to his office gives a missed call to Manjunath and soon enough, one his boys comes in with a large flask apiece of tea and coffee and a stack of styrofoam cups to pour in the required number.
Manjunath used to run an electrical shop on the third floor in DK Lane in Chikpet. To order a cup of tea, he used to send his office boy to the ground floor, and more often than not, three times before the tea arrived. One fine day, he decided to get rid of this problem by setting up his own tea shop. He then purchased four mobile phones and started asking prospective clients their phone numbers. His USP was "give a missed call and get tea or coffee at your desk".

He found legions of takers for the idea. He stored their numbers and started his business after winding up his electrical shop. Within three months, his initiative became a huge success story and people started calling his shop Mobile Tea Shop instead of Manjunath Tea Shop. When the profits started coming in, he gave mobile phones to some of his delivery boys to speed up his service. He now employs 12 boys to prepare and serve tea and coffee. "Earlier, people used to orally place orders, sometimes even clap or whistle at the tea supplier. But with this tea 'revolution', everybody does it Manjunath's way," said Padam Jain, who owns a business close by.

NO SHORTAGE OF CLIENTS

In case Manjunath is running short of tea he switches off his mobile From Juma Masjid area to Iyengar Road, he caters to most of the establishments. He has a chain of mobile phones strung
around his neck. As soon as he receives a phone call, he gives directions to his delivery boys. The uniqueness here is that the cost of calling him is free. He gets a call and doesn't pick up the phone, thus saving his customer's money. If he is busy or is running short of tea, he switches off the phone for a while. "They are doing wonders in the tea business. I just give a missed call and get a cup of tea at Rs 4.50. Just like every normal business, his business also shoots up on Saturdays. It's because more customers come to buy things on Saturday and Sunday. When there are more customers, he will get more missed calls. In summer, he also supplies butter milk and lemon juice in the afternoon," said another customer M Nirmal. In a way, Manjunath's business is also recession-proof. "One drinks tea irrespective of moods or of financial fluctuations," Manjunath said. Of course, that's irrefutable logic.