• Marcin (unregistered)

    i do understand, what page am I on, but c'mon! If the list of the categories was so important, why wasn't it "frozen"? Why a lowly #924 was even able to edit that list? It's a feature! Someone needed to implement this!

    (and: frist)

  • (nodebb)

    I wonder how that "three weeks" thing is going.

  • Wizofaus (unregistered)

    I do understand why programmers hate hard coding things like that into software - but if you know if it will be true at least until the next version of the software is released, there's arguably less harm in it than trying to control all behavior via configurable settings or values in databases. Provided you have a mechanism for adjusting such code as needed and deploying new versions quickly it's rarely as much of an issue as it might seem to be. And it surely beats including SQL statements in a database...

  • Naomi (unregistered)

    Yo dawg, we put SQL in your SQL so you can execute SQL while you execute SQL?

    I've always felt like the selfish management is TRWTF of this piece. They've got some thousand-odd locations, it looks like, but your fucking meeting is somehow more important? If there are three people on shift at each store, they just created a blocker for ~3000 people! What gives them the right?

  • Ondřej Vágner (google) in reply to Watson

    Any day now, they'll have it down to five weeks until it's done.

  • What A Gas (unregistered)

    Did they ever fix this :)

    Plenty of discussion in the original thread but really, if this isn't hugely embellished, "the entire business critical system is down" is a valid excuse to miss any kind of meeting, and TRWTF is Miranda not telling the people calling it 'mandatory' so. "This is not an excuse, it's a reason".

  • (nodebb) in reply to Naomi

    What gives them the right?

    More to the point, what makes them think that a teambuilding thing (spit) has priority over, well, quite frankly, anything? (My own opinion is that anything, including e.g. breathing and metabolising glucose(0), has priority over a mandatory so-called "teambuilding" event.)(1)

    (0) Yes, I'm well aware that both those things are governed by automatic systems, and that they happen whether we want them to or not. That's more or less the point.

    (1) Hint: making such a thing mandatory is, as shown, unlikely to make it successful as a means of building anything except contempt.

  • (nodebb) in reply to Wizofaus

    Because it's never until the next version. 9 times out of 10 it'll stay around because everyone is afraid to remove it because "it might break". Sometimes I think programmers must be like the Techpriests in Warhammer 40,000: I don't know what this does so I'm just going to pray over it and touch it a few times and hope that fixes it, because we can't figure out what it does and trying to modify it is heresy. Praise the Omnissiah!

  • I dunno LOL ¯\(°_o)/¯ (unregistered)

    How many of you found the UNICORNS! (I wouldn't have found it, but my comments reveal script replaces them with a horse emoji.)

  • (nodebb) in reply to I dunno LOL ¯\(°_o)/¯

    Yeah, those are a Remy P tradition.

  • I dunno LOL ¯\(°_o)/¯ (unregistered) in reply to Steve_The_Cynic

    Yes, I know? Because I have that in my script? It's been so long since the last time he unicorned that it took me a moment to remember what that little horse meant.

  • adhdeveloper (unregistered)

    The real question is how painful were the team building meetings? I mean if it is so painful the only way you can get everyone to attend is by making it a mandatory no excuses maybe that should breed some introspection on the part of the manager calling the meeting, or at least a swift blow to the back of the head with a blunt object.

  • (nodebb)

    I dunno. This is real-world stuff. He got it fixed. The real world is messier than we think, even when we think it's really messy.

    If there's a WTF here, it's the absence of an extensive comment right before the fix explaining WTF. Or a link to this article would do. But something, for the next poor schmo.

  • (nodebb) in reply to I dunno LOL ¯\(°_o)/¯

    At one point cornify was blocked at work for hosting dodgy stuff. and chrome and firefox warned about it. maybe they've fixed whatever dodginess had got on there?

  • Perri Nelson (unregistered)

    And... the state probably repealed the blue laws and now store 924 is selling alcohol too, and had to create another category like alcohol to get around the fix that prevented problems with alcohol. And took it all down again.

  • Perri Nelson (unregistered) in reply to Perri Nelson

    OK. Forgot this used markdown. those were underscores in front of and in back of the first "alcohol" there.

  • pro grammer (unregistered)

    Pro Tip: It's never too late to start drinking at work.

  • (nodebb) in reply to pro grammer

    Pro Tip: It's never too late to start drinking at work.

    I think you mean "It's never too soon to start drinking at work."

  • WTFGuy (unregistered)

    Hey I dunno LOL ¯(°_o)/¯ and Steve_The_Cynic

    Care to enlighten us unwashed masses in on whatever you're talking about? I see no visible unicorns on either page. I also tried the quicky select everything to see white-on-white characters trick but that was also unrevealing.

    Enquiring minds want to know.

  • Klimax (unregistered) in reply to WTFGuy

    Click word "faith".

  • (nodebb) in reply to WTFGuy

    Click on "faith".

  • Your Mammas name (unregistered)

    All the people talking about blowing off a mandatory meeting - I want to work where you do.

  • Your Mammas name (unregistered)

    "Stuart patched the program with the worst fix he ever came up with" - I take it he left the industry straight after then. In the real world you put in whatever gets it running now, you don't have the luxury of the best solution.

  • (nodebb)

    one beautifully named method, RunIt, that contained nearly 2,000 lines of code.

    That's outrageous. Everyone knows the correct name is DoStuff.

  • Barf4Eva (unregistered)

    The article is definitely about a WTF. But OP's solution is nothing new and nothing to be personally ashamed of. Just working around garbage with unrealistic time constraints, no resources, and the "get-it-done" mentality, you can be expected to hardcode some silly work-arounds to the work-arounds.

  • Sole Purpose Of Visit (unregistered) in reply to Steve_The_Cynic

    You're mistaking "Team Building" exercises for something that is intended to build teams. Generally speaking, these things are mandated by middle management as an opportunity to prove to upper management that they are introducing new, exciting ways to "provide value" and "increase productivity" and "follow best industry practice."

    An honourable manager would say "Piss off, I've got a problem to fix."

    And indeed there are honourable managers out there. But they tend to get fired for insubordination.

  • (nodebb)

    I think I understand. The teambuilding thing is probably an unpopular waste of time so people were coming up with reasons to get out of it. Thus some self-important manager decreed attendance was mandatory, not realizing that there are actual emergencies, not merely contrived reasons.

    Sorry, in the real world people will come up with ways to break the system in ways you never envisioned. My worst--I had a Y2038 bug that lurked for years until someone fat-fingered a job into the 2060s and the production schedule wouldn't load. Of course I was on the other side of the world when this blew up--e-mail only, no phone, this was before things like TeamViewer existed.

  • WTFGuy (unregistered)

    @Klimax& emurphy: Thanks for the vector. Now how anyone would find that without using a DOM-scraping script is beyond me. Paraphrasing Dr. Strangelove: "But the whole point of the unicorns are lost if you keep them a secret!"

  • (nodebb) in reply to Perri Nelson

    PRODUCED_BY_FERMENTATION

  • I dunno LOL ¯\(°_o)/¯ (unregistered) in reply to WTFGuy

    Because anyone who has been here long enough has a bookmarklet or something to display Remy's HTML comments, and it wasn't much more work for me to add one more search and replace to insert an emoji horse character in front of a (then well known) cornify link.

    Then something happened to cornify and he stopped using it. Remy probably didn't notice it when he reposted this article.

  • (nodebb) in reply to Sole Purpose Of Visit

    You're mistaking "Team Building" exercises for something that is intended to build teams.

    No, I'm not. I'm well aware of the difference, and I'm addressing the former rather than the latter.

  • (nodebb) in reply to I dunno LOL ¯\(°_o)/¯

    Because anyone who has been here long enough has a bookmarklet or something to display Remy's HTML comments

    The "View Source" window works well enough for me.

  • SyntaxError (unregistered) in reply to Naomi

    You jest about the sql, but I’ve seen this sql in a table thing all too often (I wish I didn’t).

  • (nodebb)

    Perfect patch for this code, if you ask me.

Leave a comment on “Classic WTF: A Gassed Pump”

Log In or post as a guest

Replying to comment #:

« Return to Article