The Daily WTF

The Daily WTF - 1172

Latest Articles

Error'd: Press Any Key...EXCEPT THAT ONE!

"I'm guessing this is a case where there are keys and then there are KEYS," writes Guy G. Eric G. wrote, "Based on this Apple News from the Future, I can't tell if George Lucas will live forever, or if he found a way to keep tweaking the Star Wars movies from beyond the grave." ...

CodeSOD: Failure To Process

Karl supplies us with an unusual bit of code. In the vein of a "true confession", it's code Karl wrote. In the vein of a good WTF, it had to be written like this because of bad choices made earlier in the pipeline. But the code itself isn't a WTF. It's not good, but… well… <!...

Process Oriented

Andre was finishing writing documentation before he clocked-out for a much needed, 2-week vacation. He had stocked up his fridge with beer, energy drinks, and cola. He planned on working on raids with his gaming guild. He hadn't been as active as he liked lately, and was really looking for...

CodeSOD: An Utter Mockery

Today's submitter gave us their name as simply ImminentBurnout. IB works at a company that uses Python and has strong opinions about unit testing. They don't have much understanding to go with those opinions, but they definitely have opinions. One opinion is that every object- every object mus...

CodeSOD: List Incomprehension

Loads of languages, like Python, have some sort of "comprehension" as a form of syntactic sugar. Instead of doing something awkward like: my_list = [1, 2, 3, 4] res = [] for x in my_list: res.append(x*x) # res contains: [1, 4, 9, 16] You can instead...

Error&#039;d: Perfunctory Yet Functional

"This system is scheduled for a reboot at 26:00 hours on Monday. Or, as it's more commonly known, 'Tuesday'," Peter G. wrote. "So I guess one person was just THAT torn on who to vote for," writes Joseph D. David G. wrote, "To dash or not to dash, that is the question!...

Classic WTF: Manager of the Data Dump

It's a holiday in the US, where we catalog the things we're thankful for. I'm thankful that developers collectively learned to understand how databases work, and didn't start releasing databases that stored flexible documents with no real schema and could just be used as a data dump. Tha...

CodeSOD: Repeat and Rinse

The challenges of doing a national integration continue to plague Sergio. More specifically, the “solutions” left behind by his predecessors continue to annoy. Sergio has inherited a system which needs to plug in to a national database. As the national integration was something which was added aft...

Newly Singleton

Shery was brought on to help with a project which was “going well”. “Going well” meant that all the little icons on the project management dashboard were green, which is one of the most effective ways to conceal a project which is struggling. Shery’s component was large, and it was complicated,...

CodeSOD: A Very Personal Role

Nohemi has a program which needs to apply role-based security. Due to their organizational needs, the rules for role names are a bit unusual. Some roles have to be a case-insensitive match. But some roles have a more flexible pattern they need to have. This is how her co-worker implemented this:...

CodeSOD: Never Refuse a Fifth

Sometimes, you want your dates to look like this: 3/3/2019. Other times, you want them to look like this: 03/03/2019. There are plenty of wrong ways to do this. There are far fewer right ways to do it, and they mostly boil down to “use your language’s date library.” And then there...

An Excelent Start to a Career

Hal was a wiz kid computer programmer at age 15 in 1976. He could make the toggle switches and LEDs on his Altair 8800 dance at will. In college, he was class valedictorian after earning his computer science degree in 1984. Hal was destined for greatness and the real world was about to get rocked....
Related Articles

FarmVille Photo 2018-06-05 19:42

ATTENTION, Farmers! 📢 FarmVille is turning 9 this June 🤗 and you are invited for a month-long celebration! 🎉🤩 Send us your birthday greetings below, and join the "FarmVille Birthday" Farmstand for exciting rewards! 🎊🎁 Use the hashtag #FarmVilleBirthday #FarmVilleTurns9 NOW! ️👨‍🌾9️⃣👩‍🌾 Thanks for being with us throughout these years! 😊 #TuesdayThoughts #FarmVille #Birthday Official and Complete Walkthrough: https://zynga.my/FVFarmVilleBirthdayFarmstand PLAY NOW! https://zynga.my/FarmVille1