Classic WTF - Yes, The Table is Still There

by Mark Bowytz in CodeSOD on 2014-11-27

Our Discourse forum has received a mixed approval rating. Many folks like it, but others still find it lacking in areas in certain clients. Well, no matter your opinion, I can guarantee that, as it was true when the article first ran, our forum doesn't have the same problem mentioned below.

"Having recently upgraded my forum software," Kinta wrote, "I noticed that my site had been running incredibly slow."

10 Comments - Last Comment @ 2014-11-27

What Kind of Grass Do They Have in Canada?!

by Mark Bowytz in Error'd on 2014-11-26

For those of us in the US, today is our "Friday" in lieu of the Thanksgiving holiday. So, in honor of our nation's most hallowed day of feasting (and deep discount shopping the day after), here's an Error'd two days early. (Don't worry non-USians, we'll have classics running the rest of the week.) Enjoy!

"I was browsing for Grass Trimmers on the Canadian Tire website and...well...I'm not sure these would quite do the job," Brent W. writes.

68 Comments - Last Comment @ 00:03


by Remy Porter in CodeSOD on 2014-11-25

If someone suggested that you write a function which, given a person’s name, tells you what gender they are, you might caution that this is a hard problem. You might suggest a solution like a Bayesian classifier, which could be trained, or you might say, “Maybe we should just let the users tell us.”

There are a few things you almost certainly wouldn’t suggest. You wouldn’t suggest using ColdFusion , because CF is constructed out of sin and unicorn tears. And you certainly wouldn’t suggest trying to use regexes to do this job.

146 Comments - Last Comment @ 00:09

An Interesting Way to Find Even

by Jane Bailey in CodeSOD on 2014-11-24

While combing the server logs for clues as to what might have caused the latest incident in staging, Steve was startled to find that the box he was looking at hadn't logged anything for months.

Was logging disabled? No, it all looked fine. He accessed the box directly and the site came right up, complete with an entry in the access logs. So where were the logs for the past three months?

41 Comments - Last Comment @ 2014-11-27

Turn Off Your Uter

by Mark Bowytz in Error'd on 2014-11-21

"Not quite sure what to do here... should I, or shouln't I turn of my computer... and what about my uter?" wrote Peter P.

93 Comments - Last Comment @ 2014-11-25

WTF from A to Z

by TJ Mott in CodeSOD on 2014-11-19

Alex's customers were having issues with a web project management console developed by a coworker. Upon opening the code to see what was causing all the JavaScript errors, he learned that the original developer was clearly an expert in web development standards. The code file itself was JavaScript. The use of the .css() function definitely proved his mastery of Cascading Style Sheets. Hard-coded tags demonstrated his deep knowledge of HTML. Finally, his variable naming scheme is essential to maintaining the coveted "Now I Know My ABC's" certification.

var i = "DivContainer";
var j = "DEFAULT";
var k = "DEFAULT";
var l = a(document.createElement("select")).css("min-width", "200px").append(a(document.createElement("option")).val(""));
var m = a(document.createElement("select")).css("min-width", "200px").append(a(document.createElement("option")).val(""));
var n = a(document.createElement("select")).css("min-width", "200px").append(a(document.createElement("option")).val(""));
var o = a(document.createElement("input")).attr("name", "group1").attr("id", "RessRadio").attr("type", "radio");
var p = a(document.createElement("input")).css("width", "250px").attr("type", "text");
var q = a(document.createElement("input")).attr("id", "HiddenRessID").attr("type", "hidden");
var r = a(document.createElement("input")).attr("name", "group1").attr("type", "radio");
var s = a(document.createElement("input")).css("width", "250px").attr("type", "text");
var t = a(document.createElement("input")).attr("type", "hidden");
var u = a(document.createElement("a")).addClass("JButton").text("Display");
var v = a(document.createElement("label")).css("color", "Red");
var w = a(document.createElement("label")).text(" Display all employees assigned to a project: ");
var x = a(document.createElement("label")).text(" Display all projects assigned to an employee: ");
var y = a(a(this)[0]);

f = a(document.createElement("div"));
f.css("border-top", "1px solid Gray").css("width", "450px").css("padding", "5px");
f.append(a(document.createElement("table")).append(a(document.createElement("tr")).append(a("").append(a("").text("President:"))).append(a("").append(l))).append(a(document.createElement("tr")).append(a("").append(a("").text("Vice-president:"))).append(a("").append(m))).append(a(document.createElement("tr")).append(a("").append(a("").text("Head office:"))).append(a("").append(n))));

35 Comments - Last Comment @ 2014-11-20

Selling Out Again… with Puppet Labs!

by Alex Papadimoulis in Announcements on 2014-11-18

Several years back, I confessed to selling out. But there was a catch: instead of running those rubbish Google ads, we would run hand-picked ads from relevant tech companies.

This worked out wonderfully and, as many of you commented, you first heard about some really cool tools and services, here on the site. So, to commemorate the site relaunch, we wanted to do something really special and work with a select group of tools/companies in the industry to sponsor some entertaining content for you, our readers. You know, things like Radio WTF's Make It Work, OMGWTF Contest, or even Mandatory Fun Day.

7 Comments - Last Comment @ 2014-11-20
View Article Archives »