• Sunday, November 23rd, 2008
Ek IT (computer) field ki ladki gali kya degi ?
Saale! Infinite loop, garbage collector, dharti pe undefined symbol, pedaishi error, Virus ki aulad, bevakufi ki harcopy, voatile admi, bheja blank CD aur khana Gigabyte? Itna maarungi ki dharti se delete hokar, Yamraj se read ho kar, seedhe narak me display ho jayega !!!
• Thursday, November 20th, 2008
I needed to sort results from a MySQL table in the order in which I put them in the in clause. After googling a lot, I found the following
SELECT * FROM PRODUCTS WHERE PRODID IN (3, 6, 1) ORDER BY FIELD(PRODID , 3, 6, 1)
This shows rows with PRODID 3, 6 and 1in same order.
You can sort in the reverse order as well
SELECT * FROM PRODUCTS WHERE PRODID IN (3, 6, 1) ORDER BY FIELD(PRODID , 3, 6, 1) DESC
• Sunday, November 09th, 2008
” Four Wives ”
There was a rich merchant who had 4 wives. He loved the 4th wife the most and adorned her with rich robes and treated her to delicacies. He took great care of her and gave her nothing but the best.
He also loved the 3rd wife very much. He’s very proud of her and always wanted to show off her to his friends. However, the merchant is always in great fear that she might run away with some other men.
He too, loved his 2nd wife. She is a very considerate person, always patient and in fact is the merchant’s confidante. Whenever the merchant faced some problems, he always turned to his 2nd wife and she would always help him out and tide him through difficult times.
Now, the merchant’s 1st wife is a very loyal partner and has made great contributions in maintaining his wealth and business as well as taking care of the household. However, the merchant did not love the first wife and although she loved him deeply, he hardly took notice of her.
One day, the merchant fell ill. Before long, he knew that he was going to die soon. He thought of his luxurious life and told himself, “Now I have 4 wives with me. But when I die, I’ll be alone. How lonely I’ll be!”
Thus, he asked the 4th wife, “I loved you most, endowed you with the finest clothing and showered great care over you. Now that I’m dying, will you follow me and keep me company?” “No way!” replied the 4th wife and she walked away without another word.
The answer cut like a sharp knife right into the merchant’s heart. The sad merchant then asked the 3rd wife, “I have loved you so much for all my life. Now that I’m dying, will you follow me and keep me company?” “No!” replied the 3rd wife. “Life is so good over here! I’m going to remarry when you die!” The merchant’s heart sank and turned cold.
He then asked the 2nd wife, “I always turned to you for help and you’ve always helped me out. Now I need your help again. When I die, will you follow me and keep me company?” “I’m sorry, I can’t help you out this time!” replied the 2nd wife. “At the very most, I can only send you to your grave.” The answer came like a bolt of thunder and the merchant was devastated.
Then a voice called out : “I’ll leave with you. I’ll follow you no matter where you go.” The merchant looked up and there was his first wife. She was so skinny, almost like she suffered from malnutrition. Greatly grieved, the merchant said, “I should have taken much better care of you while I could have !”
Moral :
Actually, we all have 4 wives in our lives
A. The 4th wife is our body. No matter how much time and effort we lavish in making it look good, it’ll leave us when we die.
B. Our 3rd wife ? Our possessions, status and wealth. When we die, they all go to others.
C. The 2nd wife is our family and friends.. No matter how close they had been there for us when we’re alive, the furthest they can stay by us is up to the grave.
D. The 1st wife is in fact our soul, often neglected in our pursuit of material, wealth and sensual pleasure.
Guess what? It is actually the only thing that follows us wherever we go. Perhaps it’s a good idea to cultivate and strengthen it now rather than to wait until we’re on our deathbed to lament.
• Sunday, November 09th, 2008
Email Etiquette of the Day — Email messages should have a subject line which is to the point regarding the message contents. The practice of leaving the subject line blank is especially annoying to those people who receive large quantities of email as they often prioritize according to subject.
Etiquette of the Day — Say please and thank you to waiters, flight attendants, store clerks, cab drivers. The little things go a long way
Joke of the Day
- Totally Bats
Two bats are going for their midnight feed.After an hour or so, one bat gets tired of looking and goes home with no blood.
The other bat comes home with blood dripping from its mouth. The first bat says enviously, “Where did you get all that blood from?”
The second bat replies, “Follow me. I’ll show you.”
After awhile the second bat leads them to a cave. He says, “You see that wall over there?”
The hungry bat excitedly says, “Yes!”
Other bat says, “I didn’t.”
Quotes of the Day
- There are only two kinds of people who are really fascinating: people who know absolutely everything, and people who know absolutely nothing.
- We learn something every day, and lots of times it’s that what we learned the day before was wrong.
- Politics is the skilled use of blunt objects.
| |
|
more…
• Thursday, November 06th, 2008
A young boy enters a barber shop and the barber whispers to his Customer,
“This is the dumbest kid in the world. Watch while I prove it to you.”
The barber puts a five rupee coin in one hand and two one rupee coins(1+1=2) in the other, then calls the boy over and asks,
“Which do you want, son?”
The boy takes the two one rupee coins and leaves.
“What did I tell you?” said the barber. “That kid never learns!”
Later, when the customer leaves, he sees the same young boy coming out of
the ice cream store. “Hey, son! May I ask you a question?
Why did you take two one rupee coins instead of five rupee coin?”
The boy licked his cone and replied,
“Because THE DAY I TAKE THE FIVE RUPEE COIN, THE GAME IS OVER.”
Moral: When you think the other person is dumb, you are making a fool of yourself.
• Wednesday, November 05th, 2008
Husband & Wife - Love To Do
A wife, one evening, drew her husband’s attention to the couple next door and said,
“Do you see that couple? How devoted they are? He kisses her every time they meet. Why don’t you do that?”
“I would love to.” Replied the husband. “But I don’t know her well enough.”
*********
Husband & Wife - Come Home Late
A woman was complaining to the neighbour that her husband always came home late, no matter how she tried to stop him.
“Take my advice,” said the neighbour, “and do what I did. Once my husband came home at three o’clock in the morning, and from my bed I called out: “Is that you, Jim?” And that cured him.
“Cured him !” asked the woman, “but how?” The neighbour said, “You see, his name is Bill.”
• Wednesday, November 05th, 2008
One woman told another : “My neighbour is always speaking ill of her husband, but look at me, my husband is foolish, lazy and a coward; but have I ever said anything bad about him?”
• Wednesday, November 05th, 2008
A husband visited a marriage counselor and said, “When we were first married, I would come home from the office, my wife would bring my slippers and our cute little dog would run around barking.
Now after ten years it’s all different, I come home, the dog brings the slippers and my wife runs around barking.”
“Why complain?” said the counselor. “You’re still getting the same service!”
• Wednesday, November 05th, 2008
Just do it - don’t cheat!!!!!!!!!!!!
Try this ..
This will blow your mind…!
Just do it - don’t cheat!!!!!!! !!!!!
Try this its actually quite good. But don’t cheat! Count the number of F’s in the following text in 15 seconds:
FINISHED FILES ARE THE RESULT OF YEARS OF SCIENTIFIC STUDY COMBINED WITH THE EXPERIENCE OF YEARS
Managed it?
Scroll down only after you have counted them! OK?
How many? Three?
(You r definitely male!!!)
Wrong, there are six - no joke!
Read again!
FINISHED FILES ARE THE RESULT OF YEARS OF SCIENTIFIC STUDY COMBINED WITH THE EXPERIENCE OF YEARS
The reasoning is further down… The MALE brain cannot process the word “OF”. Incredible or what?
Anyone who counts all six F’s on the first go has a brain of a Female You can test this by asking a Guy/Girl near you to work it out.
• Wednesday, November 05th, 2008
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn’t mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
At lunch today someone brought up a meme that I had heard of before, but I began to wonder about its validity. The general idea is that people can read words with jumbled letters as long as the first and last letter are in the correct order. The above paragraph is used as an example.