News for hackers. Stuff that matters.
Re:Ask HN: Weirdest hack that you ever saw in production? by krylon on Sunday March 25, 2018 @01:30PM (#16673264)
An SAP consultant once told me that his preferred technique of averting long-winded and pointless discussions about irrelevant details was to insert random delays into his code. That way, instead of discussing irrelevant details, people would get upset about the performance. He would then sigh, dramatically, and say he would see what he could do, remove a few lines, spend the rest of the day reading the news, and - importantly - billing the customer.
Re:Ask HN: Weirdest hack that you ever saw in production? by jhanschoo on Monday March 26, 2018 @05:37AM (#16677711)
I'm pretty sure I've seen this before, is it one of the BOFH stories?
Re:Ask HN: Weirdest hack that you ever saw in production? by codfrantic on Monday March 26, 2018 @11:00AM (#16679380)
Re:Ask HN: Weirdest hack that you ever saw in production? by shoo on Tuesday March 27, 2018 @04:44AM (#16686500)
there's also the memory-optimization variant of this, from the land of game dev. see "the programming anti-hero": https://www.gamasutra.com/view/feature/132500/dirty_coding_t...

most of the other game dev dirty trick on gamasutra are good value -- the "(s)elf-exploitation" one from Jonathan Garrett, Insomniac Games is particularly awfully clever:

https://www.gamasutra.com/view/feature/194772/dirty_game_dev...

Re:Ask HN: Weirdest hack that you ever saw in production? by krylon on Monday March 26, 2018 @10:40AM (#16679215)
I am too lazy to check right now. ;-)

Honestly, this story was told to me by an SAP consultant. I do not think he was an avid reader of BOFH. I might be wrong though.

Either way, I think this approach to avoiding bikeshedding has been invented independently numerous times. ;-)