Tuesday, April 9, 2013

STORY OF NEWTONS LAWS

Once a Goat was walking Newton stopped it...
it stopped
He found his first law
"AN OBJECT CONTINUES TO MOVE UNLESS IT STOPPED"
then he gave a force "F" by kicking the Goat
Goat gave a sound "ma"
he formulated the second law
"F=ma"
after some time the Goat kicked Newton
then he formulated the third law
"EVERY ACTION HAS AN EQUAL AND OPPOSITE REACTION"

Monday, March 11, 2013

The Top 20 replies by programmers when their programs do not work


The Top 20 replies by programmers when their programs do not work:

 20. "That's weird..."19. "It's never done that before."
18. "It worked yesterday."
17. "How is that possible?"
16. "It must be a hardware problem."
15. "What did you type in wrong to get it to crash?"
14. "There is something funky in your data."
13. "I haven't touched that module in weeks!"
12. "You must have the wrong version."
11. "It's just some unlucky coincidence."
10. "I can't test everything!"
9. "THIS can't be the source of THAT."
8. "It works, but it hasn't been tested."
7. "Somebody must have changed my code."
6. "Did you check for a virus on your system?"
5. "Even though it doesn't work, how does it feel?
4. "You can't use that version on your system."
3. "Why do you want to do it that way?"
2. "Where were you when the program blew up?"

And the Number One reply by programmers when their programs don't work:

1. "It works on my machine.

Thursday, May 13, 2010

My Lessons in life - by Azim Premji

Worth reading at least once!


'My Lessons in Life'

by Azim Premji


I am very happy to be here with you. It is always wonderful to be with young people. As my hair turned from black, to salt and pepper and finally salt without the pepper, I have begun to realize the importance of youth. At the same time, I have begun to truly appreciate some of the lessons I have learnt along the way. I hope you will find them useful when you plan your own career and life.

First
The first thing I have learnt is that we must always begin with our strengths. There is an imaginary story of a rabbit. The rabbit was enrolled in a rabbit school. Like all rabbits, it could hop very well but could not swim. At the end of the year, the rabbit got high marks in hopping but failed in swimming. The parents were concerned. They said, 'Forget about hopping. You are, anyway good at it. Concentrate on swimming.' They sent the rabbit for tuitions in swimming. And guess what happened? The rabbit forgot how to hop! As for swimming, have you ever seen a rabbit swim? While it is important for us to know what we are not good at, we must also cherish what is good in us. That is because it is only our strengths that can give us the energy to correct our weaknesses.

Second
The second lesson I have learnt is that a rupee earned is of far more value than five found. My friend was sharing with me, the story of his eight year-old niece. She would always complain about the breakfast. The cook tried everything possible, but the child remained unhappy. Finally, my friend took the child to a supermarket and brought one of those ready-to-cook cereal packets. The child had to cut the packet and pour water in the dish. The child found the food to be absolutely delicious? The difference was that she had cooked it! In my own life, I have found that nothing gives as much satisfaction as earning our own rewards. In fact, what is gifted or inherited follows the old rule of 'come easy, go easy'. I guess we only know the value of what we have, if we have struggled to earn it.

Third
The third lesson I have learnt is, in Cricket, no one bats a hundred every time. Life has many challenges. You win some and lose some. You must enjoy winning. But do not let it go to the head. The moment it does, you are already on your way to failure. And if you do encounter failure along the way, treat it as an equally natural phenomenon. Don't beat yourself for it or anyone else for that matter! Accept it, look at your own share in the problem, learn from it and move on. The important thing is, when you lose, do not 'lose the lesson'.

Fourth
The fourth lesson I have learnt, is the importance of humility. Sometimes, when you get so much in life, you really start wondering, whether you deserve all of it. We have so much to be grateful for. Our parents, our teachers and our seniors, have done so much for us, that we can never repay them. Many people focus on the shortcomings, because obviously, no one can be perfect. But it is important to first acknowledge, what we have received. Nothing in life is permanent, but when a relationship ends, rather than becoming bitter, we must learn to savor the memory, of the good things, while they lasted.

Fifth
The fifth lesson I learnt is, that we must always strive for excellence. One way of achieving excellence, is by looking at those better than ourselves. Keep learning what they do differently. But excellence cannot be imposed from the outside. We must also feel the need from within. It must involve not only our mind, but also our heart and soul. Excellence is not an act, but a habit. I remember the inspiring lines of a poem, which says that your reach must always exceed your grasp. That is heaven on earth. Ultimately, your only competition is yourself.

Sixth
The sixth lesson I have learnt is, never give up in the face of adversity. It comes on you, suddenly without warning.. Always keep in mind, that it is only the test of fire, that makes fine steel. A friend of mine shared this incident with me. His eight-year old daughter was struggling away at a jigsaw puzzle. She kept at it for hours but could not succeed. Finally, it went beyond her bedtime. My friend told her, "Look, why don't you just give up? I don't think you will complete it tonight. Look at it another day." The daughter looked with a strange look in her eyes, "But, dad, why should I give up? All the pieces are there! I have just got to put them together!" If we persevere long enough, we can put any problem into its perspective.

Seventh
The seventh lesson I have learnt is, that while you must be open to change, do not compromise on your values. Mahatma Gandhiji often said, "You must open the windows of your mind, but you must not be swept off your feet by the breeze." Values like honesty, integrity, consideration and humility have survived for generations. At the end of the day, it is values that define a person more than the achievements. Do not be tempted by short cuts. The short cut can make you lose your way and end up becoming the longest way to the destination.


Final
And the final lesson I learnt is, that we must have faith in our own ideas even if everyone tells us that we are wrong. There was once a newspaper vendor who had a rude customer. Every morning, the Customer would walk by, refuse to return the greeting, grab the paper off the shelf and throw the money at the vendor. The vendor would pick up the money, smile politely and say, 'Thank you, Sir.' One day, the vendor's assistant asked him, "Why are you always so polite with him when he is so rude to you? Why don't you throw the newspaper at him when he comes back tomorrow?" The vendor smiled and replied, "He can't help being rude and I can't help being polite. Why should I let his rude behavior dictate my politeness?"


"God always gives the very best to those who leave the choice to Him"

Wednesday, May 12, 2010

احادیث کےمطابق دعاؤں کی قبولیت کےاوقات

احادیث کےمطابق دعاؤں کی قبولیت کےاوقات

1: فرض نمازکےبعد

2: اذان اوراقامت کےدرمیان

3: تحجد کے وقت

4: بارش برستےوقت

5: سفرمیں

اس حدیث کو آگے بھیجو کیونکہ آپ صلی الللہ علیہ وسلم نے ایک اور جگہ فرمایا

سرسبزوشاداب رہے وه شخص جو میری حدیث کو سن کر دوسروں تک پہنچاۓ

Thursday, August 6, 2009

Some Rules that NEWTON forgot to mention!

Some Rules that NEWTON forgot to mention...

Law of queue: If you change queues, the one you have left will start to move faster than the one you are in now.

Law of the Telephone: When you dial a wrong number, you never get an engaged tone.

Law of Mechanical Repair: After your hands become coated with grease, your nose will begin to itch.

Law of the Workshop: Any tool, when dropped, will roll to the least accessible corner.

Law of the Alibi: If u tell the boss you were late for work because you had a flat tire, the next morning you will have a flat tire.

Bath Theorem : When the body is immersed in water, the telephone rings.

Law of Encounters : The probability of meeting someone you know increases when you are with someone you don't want to be seen with.

LAW of the Result: When u try to prove to someone that a machine won't work, it will!

Law of Coffee : As soon as u sit down 4 a cup of hot coffee, your boss will ask you to do something which will last until the coffee is cold.

Saturday, May 9, 2009

I’ve Learned That

I’ve Learned…
That the best classroom in the world is at the feet of an elderly person.

I’ve Learned…
That when you’re in love, it shows.

I’ve Learned…
That just one person saying to me, “You’ve made my day!” makes my day.

I’ve Learned…
That having a child fall asleep in your arms is one of the most peaceful feelings in the world.

I’ve Learned…
That being kind is more important than being right.

I’ve Learned…
That you should never say no to a gift from a child.

I’ve Learned…
That I can always pray for someone when I don’t have the strength to help him in some other way.

I’ve Learned…
That no matter how serious your life requires you to be, everyone needs a friend to act goofy with.

I’ve Learned…
That sometimes all a person needs is a hand to hold and a heart to understand.

I’ve Learned…
That simple walks with my father around the block on summer nights when I was a child did wonders for me as an adult.

I’ve Learned…
That life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.

I’ve Learned…
That we should be glad God doesn’t give us everything we ask for.

I’ve Learned…
That money doesn’t buy class.

I’ve Learned…
That it’s those small daily happenings that make life so spectacular.

I’ve Learned…
That under everyone’s hard shell is someone who wants to be appreciated and loved.

I’ve Learned…
That the Lord didn’t do it all in one day. What makes me think I can?

I’ve Learned…
That to ignore the facts does not change the facts.

I’ve Learned…
That when you plan to get even with someone, you are only letting that person continue to hurt you.

I’ve Learned…
That love, not time, heals all wounds.

I’ve Learned…
That the easiest way for me to grow as a person is to surround myself with people smarter than I am.

I’ve Learned…
That everyone you meet deserves to be greeted with a smile.

I’ve Learned…
That there’s nothing sweeter than sleeping with your babies and feeling their breath on your cheeks.

I’ve Learned…
That no one is perfect until you fall in love with them.

I’ve Learned…
That life is tough, but I’m tougher.

I’ve Learned…
That opportunities are never lost; someone will take the ones you miss.

I’ve Learned…
That when you harbor bitterness, happiness will dock elsewhere.

I’ve Learned…
That I wish I could have told my Mom that I love her, one more time, before she passed away.

I’ve Learned…
That one should keep his words both soft and tender, because tomorrow he may have to eat them.

I’ve Learned…
That a smile is an inexpensive way to improve your looks.

I’ve Learned…
That I can’t choose how I feel, but I can choose what I do about it.

I’ve Learned…
That when your newly born grandchild holds your little finger in his little fist, that you’re hooked for life.

I’ve Learned…
That everyone wants to live on top of the mountain, but all the happiness and growth occurs while you’re climbing it.

I’ve Learned…
That it is best to give advice in only two circumstances; when it is requested and when it is a life-threatening situation.

I’ve Learned…
That the less time I have to work with, the more things I get done.

Words by Andy Rooney

Steve Jobs says about luck, life & death

Death is very likely the single best invention of Life. Only a guy like Jobs could say this.

http://www.youtube.com/watch?v=UF8uR6Z6KLc