Author Archive

Author: ravi
• Saturday, March 21st, 2009

Kabhi kabhi in ankho main nami se hoti hai

Kabhi kabhi in honto pe hansi si hoti hai

Ae dost woh tumhi ho jisse meri zindgi, zindgi si hoti hai

 

………………………………..

 

 

Mann me apke har baat rahegi,

Basti chhoti hai magar aabaad rahegi,

Chahe hum bhulade zamane ko,

Magar aapki ye pyari si dosti hamesha yaad rahegi…

 

………………………………..

 

D- DASTAK BHI NA DE.

O- OR APNA BANA LE.

S- SARI JINDEGI JO SATH DE.

T- TAKDIR JO SAWAAR DE.

I- ISI RISTYE KO DOSTI KEHTE HAI.

 

………………………………..

 

Many people will walk in and out of your life.

But only true friends will leave footprints in your heart.

Category: Jokes  | Tags: ,  | Leave a Comment
Author: ravi
• Saturday, March 21st, 2009

    *  UNIX is simple. But It just needs a genius to understand its simplicity.  – Dennis Ritchie

 

    * Before software can be reusable, it first has to be usable. — Ralph Johnson

 

    * Good judgment comes from experience, and experience comes from bad judgment.. — Fred Brooks

 

    * Theory is when you know something, but it doesn’t work. Practice is when something works, but you don’t know why it works. Programmers combine theory and practice: Nothing works and they don’t know why. It’s hard enough to find an error in your code when you’re looking for it; it’s even harder when you’ve assumed your code is error-free.  – Steve McConnell

 

    * If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. — Gerald Weinberg

 

    * The Six Phases of a Project: Enthusiasm, Disillusionment, Panic, Search for the Guilty, Punishment of the Innocent, Praise for non-participants — Anonymous

 

    * Good code is its own best documentation. As you’re about to add a comment, ask  yourself, ‘How can I improve the code so that this comment isn’t needed?’ Improve the code and then document it to make it even clearer.  – Steve McConnell Code Complete

 

    * The trouble with the world is that the stupid are dead sure and the intelligent are doubtful. — Bertrand Russell (The most thoughtful one…)

 

    * No matter how slick (efficient) the demo is in rehearsal, when you do it in front of  a live audience the probability of a flawless presentation is inversely proportional to the number of people watching, raised to the power of the amount of money involved. — Anonymous

 

    * One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. –Robert Firth

 

    * Fifty years of programming language research and we end up with C++?  – Richard A. O’Keefe

 

    * C programmers never die. They are just cast into void. — Anonymous

    * If debugging is the process of removing bugs, then programming must be the process of putting them in. — Edsger Dijkstra

 

    * You can either have software quality or you can have pointer arithmetic; you cannot have both at the same time.  –(Bertrand Meyer)

 

(Thoughtful Ones…)

 

    * There are two ways to write error-free programs; only the third works.. — Alan J. Perlis

 

    * Measuring programming progress by lines of code is like measuring aircraft building progress by weight. — Bill Gates

 

    * The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time. –Tom Cargill

 

    * Programmers are in a race with the Universe to create bigger and better idiot-proof programs. The Universe is trying to create bigger and better idiots… So far the Universe is winning. — Anon

Category: Jokes, Tech  | Tags: ,  | Leave a Comment
Author: ravi
• Monday, January 19th, 2009

To remove all options from a dropdown select box with JavaScript, simply set the length property of the dropdown box to 0. For instance, if a dropdown select box is defined as follows:
<select name=’dropdown’ id=’id_dropdown’>
<option value=’1′>1</option>
<option value=’2′>2</option>
</select>
Use this JavaScript to remove all the options in the dropdown select box.
document.getElementById(’id_dropdown’).length = 0;

Category: Tech  | Tags: , ,  | Leave a Comment
Author: ravi
• 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 !!!

Category: Jokes, Tech  | Leave a Comment
Author: ravi
• 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

Category: Tech  | Tags: ,  | Leave a Comment
Author: ravi
• 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.

Author: ravi
• 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.”

Author: ravi
• 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?”

Author: ravi
• 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!”

Author: ravi
• 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.

Category: Jokes  | Leave a Comment