News for hackers. Stuff that matters.
Re:Dilbert: "I Found A Clever Way To Write My Application Co... by edw519 on Thursday October 18, 2007 @11:56AM (#69729)
I once had a user complaining how long a batch job took. After much research, I found a "SLEEP 10" command (sleep for 10 seconds) inside a loop. I commented it out and the run time went from 2 hours down to 6 minutes.

At the next meeting, my PHB asked why Joe User was gushing with so many compliments about me. I explained what I did.

"Idiot!" he said, "You should have changed it to SLEEP 5 so the next time he complains we have something else to give him."

Re:Dilbert: "I Found A Clever Way To Write My Application Co... by reitzensteinm on Thursday October 18, 2007 @07:27PM (#70002)
Reminds me of the Daily WTF one where a customer complained about the length of time a batch data processing operation was taking, so they optimised the hell out of the routine and did the same job in 1/100th the time, and charged them $x.

The customer decided that, obviously, something must be wrong since something that is doing so little work can't be accurate, how can they trust it? etc. So they added a delay 5, charged them an extra $x/4, and everybody was happy.

I'd try to find the link, but pretty much every Daily WTF article contains the same search terms...