- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Snoofle, it took me a while to figure out you meant "3 billion or more". Maybe you can write out the word "billion" instead of "3+B"? Otherwise, good to see you sharing those sidebar gems of yours with the rest of the crowd! (captcha: similis... eeeeew)
Ed: Fixed.
Admin
I bet after dealing with all that snoofle needs a sleep.
Admin
Sleep() is the greatest invention in programming, you can use it to slow down programs and also speed them up.
Admin
Admin
Admin
I'm sleepy now
Admin
Admin
The fact that you used "MM" to designate "million" suggests finance industry, where many gems like these come from. Thank you Wall Street for the endless supply of daily WTFs.
Admin
Admin
In some asset types, suffix K for thousand, M for million, B for billion. In other asset types, M for thousand, MM for million, MMM or B for billion, etc.
So 3+B said to me "three or more billion", which admittedly isn't quite the same thing as "three billion or more" - I'd write that "3B+".
The best, though, was the day when a large Chinese bank had its IPO, and market information systems around the globe broke. The shares were priced at a per-share level that allowed the markets to trade around 14 billion of them in that one day, a bit more than fits in 32-bit integers...
And the occasional fumble-fingered traders were a source of fun.
One trader in Taipei shifted the local stock exchange index by a percent or so with a single basket order - normally very difficult - because she added a couple of extra zeros to the quantities ordered. She lost her job.
An unfortunate dude in Japan swapped "selling price" and "quantity ordered". The result: he offered to sell 646 000 shares at one yen each, instead of one share at 646 000 yen. This caused some embarrassment to his firm, and some to the exchange, because there were only about 42 000 shares of that company in existence. (This wouldn't have been possible on some markets because they don't accept orders with prices that far away from the correct price. Tokyo wasn't at that time among them.)
Admin
Management: Let us sleep on that, we'll get back to you...
Admin
QFT. You, and 90% of the rest of the software industry.
Admin
Didn't anyone suggest just pressing the turbo buttons on the servers to slow them down? That always worked for those DOS games written in MS BASIC.
Admin
Admin
Admin
The best bit of that, of course, is knowing how high paid most finance devs are.
Grrrr.
Admin
To sleep, perchance to dream...
...of getting a better job.
Admin
Admin
You could have tried telling the DBAs that the "M" in "512MB" was a typo and it should have read "512GB"...
Admin
Now the trouble is over, everybody got paid Everybody is happy, they are glad that they came Then you go to the place where you've finally found You can look at yourself, sleep the clock around
"Sleep the Clock Around" by Belle & Sebastian
Admin
http://dilbert.com/strips/comic/2005-11-18/
CAPTCHA: dignissim; indeed, this comment is dignissim to be published!
Admin
The first thing that leaped into my fertile mind when I read this was: Negative sleep intervals!
Presto: A program that ends before it begins! What a concept!
Admin
I remember reading all of these on the sidebar. It is great to see all the sleep incidents compiled into a single article. Sad thing is this is they have done worse.
Admin
This is just sad.
Admin
FTFY. TRWTF is not using the "fast" version of Dilbert.
Admin
It's the bitchy backseat driver antipattern!
Admin
Editorial: "Sleep to cool the cpu's" should be "Sleep to cool the CPUs".
Admin
ears -> close(); brain -> off();
Admin
Obviously the root problem is that Snoofle keeps speeding things up faster than the rest of the company can absorb his goodness and brilliance. Therefore his manager should instruct him to sleep() 60% of every day.
Admin
No, you cats are looking at this all wrong...
Your code is GREENER! Let the MBAs know that you've saved thousands of dollars in operating costs by reducing electricity and cooling costs while the sales guys start serving up the new marketing materials on unbleached, 100% recycled paper.
Admin
Hmmm: " sqrt(-1)" " less than three" "three plus B"
Anyway, "3+B" is NewSpeak for "very very very bad"
Admin
Indeed. That's one of the reasons why I left my last job. PHB was demanding a project with no specs, and was wondering why it was taking so long. Hired a contractor that was so clueless that he actually impeded progress.
Actually, it should be "Sleep to cool the processors", I assume.
Admin
I have to admit I'm rather enjoying snoofle tuesday.
Admin
You just made my head hurt.
Admin
Platters? Like "disk" platters? Come on, even cheap interns know how to solve that, just buy $3MM of SSDs!
captcha: consequat, conesquat? yeah, I'm going with the cone thing.
Admin
Admin
They use sleep's to align with asynchronous processes? Wow. So you just put in an arbitrary sleep and hope that the other process is done by then? This sounds like mysterious bugs just waiting to happen. The program could work today and fail tomorrow.
Admin
Admin
Easy - move to where the finance jobs are and apply.
If (like most people) you can't afford to move all the way into a city then prepare to travel 100 miles a day on expensive and overcrowded trains.
Admin
I've been a long time lurker of Side Bar WTF, and the stories from SnoofleCorp are so unlikely to be created by a fertile mind that they must be true. So glad to see you sharing the front page, but snoofle should consider be a consultant for Dilbert...
Admin
Do they fire you for that just like that? (And is this really bad?)
Admin
Admin
HA-HA. I so glad that you are having problems with your application! HA-HA...
Admin
I once wrote a webapp that amongst other things, had to redeem vouchers.
Marketing looked at the result and told me that the code was too quick. I had to insert a sleep call in the processing code because, they reasoned that people wouldn't believe it worked if they got an instant response.
As bonkers as it sounds, they were probably right: a couple of seconds of extra waiting did make it look much more serious and official.
Admin
I guess I barely dodged a snoofle when I "optimized" a former colleague's poorly-written voucher-redemption code that pulled and processed hundreds of times as many records from the database than it had to, resulting in delays of over a second in the production app. Marketing didn't ask me to change the behavior back to original. On the contrary--the inefficiency was orders of magnitude greater in test environments, and they were very pleased that they no longer had to wait up to 15 seconds per click to test voucher code configurations. (Users--marketing no less--testing their changes: TRWTF, I know.)
Admin
Admin
Admin
"We don't need more people, we need better people" is so true. It's like grabbing candidates from "Worst cooks in America" thinking ten of them can do better than one professional chef. Also a related demotivator I love:
http://demotivators.despair.com/demotivational/incompetencedemotivator.jpg
Admin
Good question but no, we weren't that subtle. There weren't going to be enough active vouchers for that to be a problem any anyway, if you waited 3 minutes already, you won't even notice the extra 2 seconds :)
Admin
As for SSDs, currently there are SLC, MLC and TLC drives (see: bad, worse, trash). Get yourself a bunch of SLC drives, and you'll see better performance and reliability than with any of those platter clunkers. As a bonus you get non-desctructive failure modes like just going into read-only (aka: RAID friendly) instead of dying entirely.