Recent Articles

24 Apr 2015

The Answer to this Question is WTF?!

by Mark Bowytz in Error'd on 2015-04-24

"For a site that is used to view pay stubs, you'd think that they'd come up with better security questions," Carter K. wrote.

0 Comments - Last Comment @ -none-
23 Apr 2015

Open And Shut

by Ellis Morning in CodeSOD on 2015-04-23

Our anonymous friend writes: I was tasked with figuring out why invalid XML was being output by a homegrown XML parser.  As I looked into the code, I found the way this code handles writing out XML files…

Yes, it really does open and close the file handle for every xwrite call.  This means that it opens and closes it 3 times PER TAG when writing out the XML.

0 Comments - Last Comment @ -none-
22 Apr 2015
21 Apr 2015

Once You Eliminate the Impossible…

by Dan J. in CodeSOD on 2015-04-21

…Whatever remains, no matter how improbable, must be XML.

William Hogarth - Absurd perspectives.png

0 Comments - Last Comment @ -none-
20 Apr 2015
17 Apr 2015

Nothing Refreshes like Lorem Ipsum

by Mark Bowytz in Error'd on 2015-04-17

"How new is this beer? They didn't even finish the packaging!" wrote Jérôme.

52 Comments - Last Comment @ 2015-04-21
16 Apr 2015
15 Apr 2015

Tri-State Boolean

by Jane Bailey in CodeSOD on 2015-04-15

Five-leaf Clover, Megan McCarty128


0 Comments - Last Comment @ -none-
14 Apr 2015
13 Apr 2015

Descriptive Overload

by Maciej Stachowski in CodeSOD on 2015-04-13

Information Overload

Unquestionably, a good method name should be descriptive. With today's code completion and code analysis features, almost all developers expect the names to give them at least an idea of what a method should do. When you write a library, or work on a shared codebase, it's a must- and even if one doesn't expect anybody else to use their code, it's still good not to have to remember what stuff doStuff() does.

0 Comments - Last Comment @ 03:04
10 Apr 2015

Laser Targeted Advertising

by Mark Bowytz in Error'd on 2015-04-10

"I know that whenever I sit down to watch the adventures of brutal 14th century Mongolian warlords and Italian explorers, I want to dress the finest from my Ralph Lauren collection. And you should too!" writes Mike S.

22 Comments - Last Comment @ 2015-04-14
09 Apr 2015
08 Apr 2015

Delete if Not Exists

by snoofle in CodeSOD on 2015-04-08

Early in life, we learn to grab the food and then put in in our mouths. Later, it's grab the ball and then roll it. In general, you must have something before you can attempt to do something with it.

...Or so you'd think.

42 Comments - Last Comment @ 2015-04-15
07 Apr 2015
06 Apr 2015

The Daily WTF: LIVE! - This Friday

by Remy Porter in Announcements on 2015-04-06

This is your reminder: TDWTF's live show is happening this Friday, from 8–10PM at the Maker Theater in Pittsburgh. Tickets are available now.

We still have room for a few more storytellers, so if you're in the Pittsburgh area, pitch us your "real life" IT story. It need not be a WTF, just a story. Send a brief (1–2 paragraph) pitch for your story to, and Remy will be in touch to discuss. We'll work with you to build up a great 8-10 minute piece you can perform.

0 Comments - Last Comment @ -none-
06 Apr 2015
03 Apr 2015


by Mark Bowytz in Error'd on 2015-04-03

"We don't know what it is, but it must be bad, so we'll wake you up in the middle of the night to let you know about it!," writes David L.

0 Comments - Last Comment @ 03:04
02 Apr 2015

Scheduling Buttumptions

by Jane Bailey in CodeSOD on 2015-04-02

Steph had been at this job long enough to be fairly good at it, but not quite long enough to have peeked in all the dark corners yet. As such, when she heard that there was an issue with scheduled jobs, her first thought was to poke through cron to see if she could pick out what schedule was misbehaving. Apparently, all of them- cron was empty.


Confused, she went to her team lead Greg, asking about where she might find the scheduling setup. And that was when she heard about Travie the Whiz Kid. A junior developer with no degree, he'd been hired solely based on his ability to talk a big game about how he single-handedly saved several companies by providing them with innovative websites during the dot-com bubble... when he was twelve. The Whiz Kid was a Special Snowflake; he preferred to reinvent the wheel rather than implement stable but "boring" code. Upper management was convinced he was an unparalleled genius, and had exempted him from the usual QA standards. Unfortunately, he'd grown utterly bored with Business Intelligence and transferred to the Web team, leaving his inventions behind for Steph to maintain.

59 Comments - Last Comment @ 2015-04-09
01 Apr 2015