The Perils of Web Development

by in Feature Articles on

Earlier this year, I wrote a couple of times about my utility closet of infinite WTFs. After a total remodel and HVAC upgrade, I learned the demons had not been exorcised. Indeed, they still haunt the place, and now they're really showing off their sense of humor.

On a recent November morning with frost covering the ground and below-freezing temps, I awoke to find my house a chilly 14.4C / 58F. The gas furnace would try to start up, then fail with the message "Pressure Error - Your system may not be operational. Do not attempt to correct the problem yourself. Contact your dealer as soon as possible."


There's a Chill in the Air

by in Error'd on

There's a bathroom on the right!

"Interesting temperature reading from WU" notes Peter G. "This must be what happens when a bulk liquid nitrogen carrier runs aground in your favourite holiday spot. Either that or you're supposed to take the average of +60 and -40 to get the actual temperature."


A Living Fossil

by in CodeSOD on

Today's anonymous submission is a blast from the past. This comes from an intranet HTML page that has been receiving continuous updates for some time. How long? Well, let's take a peek at how it does its layout.

                                                            <b>Extension:</b> x5555<br />
                                                            <b>Email:</b>: <a href="mailto:[email protected]"></a><br /><br />
                                                        </td>
                                                        <td width=140>
                                                        </td>
                                                    </tr>
                                                    <tr><td>&nbsp;</td></tr>
                                                    <tr><td>&nbsp;</td></tr>
                                                </td>
                                            </table>
                                        </center>
<!-- END DIRECTORY -->
                                        <tr><td><br /></td></tr>
                                    </td>
                                </tr>
                            </table>
<!-- MATERIAL ENDS HERE -->
                            <br />
                            <br />
                        </td>
                    </tr>
                </table>
            </center>
        </td>
    </tr>
    <tr><td width=987 height=4 background="../images/table_bottom_sidebar.jpg"></td></tr>
</table>

Terning White as a (Style)Sheet

by in Representative Line on

Years ago, Stefan's company was short handed, especially on the developer team. But they had a large hell-desk support team. And at some point, someone had the genius idea: "PHP is easy for anyone to learn, and so our helpdesk folks should have no problem. Let's hand them development tasks."

Which meant Stefan inherited lots of lines which look like this:


Building a Line

by in CodeSOD on

There's an unofficial category of posts here that I call "Somebody told us string builders were more efficient, so we always use string builders, regardless of whether or not that actually makes sense," or STUSBWMESWAUSBROWONTAMS, for short. Probably should workshop that name some.

In any case, Adam sends us a new entry for that collection:


Unenumerbrated

by in Feature Articles on

Submitter Valts shares an enumerated mystery:

This happened a few years ago (before COVID). A colleague called me over because he couldn't make sense of the results he was getting from some MySQL queries in MySQL Workbench. I don't remember the queries in particular, but let's say select * from payments where client_id=1234 showed 12 rows, all having the successful field set to 1. But when you selected select count(*) from payments where client_id=1234 and successful=1 you got back 0 rows. And this was reproducible on my machine, too. Yet in code similar queries worked just fine.


The Artist Formerly Known As

by in Error'd on

"You want my what?" The artist formerly known as Toyota has a proposition for Chris. "Toyota wants me to trade in my current car, but the email was missing a few words."

15f726a5a2ff41c0a9f8685d961cf713


Next Month

by in CodeSOD on

One of Sean's colleagues left Initech on good terms. It caused no small amount of surprise that the very next day their billing system started failing. The billing system which the colleauge had worked on.

No one truly suspected foul play, it was just a weird coincidence. Still, billing blowing up was a 5 alarm fire, so everyone was throwing every idea out about what could be the cause.


Archives