Skip to main content

Two small stories


A sales rep, an administration clerk, and the manager are walking to lunch when they find an antique oil lamp. They rub it and a Genie comes out. The Genie says, I will give each of you just one wish. Me first! Me first! says the admin clerk. I want to be in the Bahamas, driving a speedboat, without a care in the world. Poof! She is gone. Me next! Me next! says the sales rep. I want to be in Hawaii,relaxing on the beach with my personal masseuse, an endless supply of Pina Coladas and the love of my life. Poof! He is gone. OK, you are up, the Genie says to the manager. The manager says: I want those two back in the office after lunch.

Moral of the story: Always let your boss have the first say.

A little bird was flying south for the winter. It was so cold the bird froze and fell to the ground into a large field. While he was lying there, a cow came by and dropped some dung on him. As the frozen bird lay there in the pile of cow dung, he began to realize how warm he was. The dung was actually thawing him out! He lay there all warm and happy, and soon began to sing for joy. A passing cat heard the bird singing and came to investigate. Following the sound, the cat discovered the bird under the pile of cow dung, and promptly dug him out and ate him.

Moral of the story:
1. Not everyone who shits on you is your enemy
2. Not everyone who gets you out of shit is your friend
3. And when you’re in deep shit, it’s best to keep your mouth shut

Comments

Popular posts from this blog

Software way of milking cow: ( I got this through mail... Intersting ) Softwarism:(Ultimate....) If Client has 2 cows and u need to milk them 1 .. First prepare a document when to milk them (Project kick off) 2 .. Prepare a document how long you have to milk them (Project plan) 3 .. Then prepare how to milk them (Design) 4 .. Then prepare what other accessories are needed to milk them (Framework) 5 .. Then prepare a 2 dummy cows (sort of toy cows) and show to client the way in which u will milk them (UI Mockups & POC) 6 .. If client is not satisfied then redo from step 2 7 .. You actually start milking them and find that there are few problem with accessories. (Change framework) 8 .. Redo step 4 9 .. At last milk them and send it to onsite. (Coding over) 10. Make sure that cow milks properly ( Testing) 11. Onsite reports that it is not milking there. 12. You break your head and find that onsite is trying to milk from bulls 13. At last onsite milk them and send to client (Testing) 1...

How to deselect all the selection in a select ( combo ) box?

In a HTML page sometimes we may have to deslect all the selection in a select control of html. but as a user we can't do anything. But using Javascript programatically we can achieve this. Here is the sample code in Javascript. function clearSelect( selectObj ){ for (var i = 0; i selectObj .options[i].selected = false; } } note: we need to pass the select object as a parameter to this function. the alternative to this code is function clearSelect( selectObj ){ selectObj.selectedIndex = -1; }