Live data from Hacker News

Ask HN: Weirdest hack that you ever saw in production?

news.ycombinator.com

11–20 of 289 posts

Re: Ask HN: Weirdest hack that you ever saw in production?

#11

my dad put a rubberband on an ibm mainframe printer in 75 to make it work while ibm showed up to fix it. They came in and didn't get it to work. So my dad as he needed to print millions of water bills on time put the rubberband back in and ran his job.

This reminds me of a car hack I once had to do:

https://www.reddit.com/r/Cartalk/comments/10cwhb/til_how_to_...

Re: Ask HN: Weirdest hack that you ever saw in production?

#12
Not sure if this is still the case, but back when I was at Apple the program that triggered when you pressed a button on an Apple remote pointed at a Macintosh was just a giant AppleScript file that, at the top level, was a giant `if...else if...` statement to try and determine which application had the foreground so that the appropriate action (e.g. next track for iTunes, next slide for Keynote, next chapter marker for QuickTime, etc.) could be triggered.

Re: Ask HN: Weirdest hack that you ever saw in production?

#13
running a 3rd party program called PTFB (press the fckn button) as a background process on a farm of 20 Prod web servers to automatically press "OK" on a dialog window that would pop up as a result of unhanded exception in one of our hacky conversion processes that the company didn't allow us to fix.

Re: Ask HN: Weirdest hack that you ever saw in production?

#14
post #4

The entire billing system at my first job was written as a console exe by a (brilliant) guy in during one-day session, working almost completely from live debugging breakpoints (against the production database). The result was less than beautiful, but there were rarely any problems with it. Needless to say anytime a billing inquiry came up it was his problem (which he was okay with since he owned the place).

Haha, literally writing a multicurrency accounting system from scratch at the moment. Same deal: my company, my rules. Trying to be a bit forward-looking though[0], and already tonnes of features you can't buy. Live third party market platform scraping, machine translation, github integration, beginnings of live mainland Chinese bank API integration, etc.

[0] https://github.com/globalcitizen/ifex-protocol/

Re: Ask HN: Weirdest hack that you ever saw in production?

#15
post #2

Finance needed to do end-of-year stuff a couple of days past end-of-year. The system couldn't handle this, bad things would happen and data would change once end-of-year passes. Solution? A bash script that does: while true: set date to 4pm end-of-year sleep 1

I know this isn't reddit, but this needs a reaction gif when you're in the meeting and someone is explaining the solution... https://thumbs.gfycat.com/MisguidedNimbleAtlanticspadefish-s...

Re: Ask HN: Weirdest hack that you ever saw in production?

#17
Using a Remote Access Object to proxy calls between 32-bit and 64-bit code. Instead of rewriting any of the original ASP code, the lead architect made a DLL that would provide .NET 2.0 functionality to the ASP code. This was in 2014. The DLL was 32-bit and predictably ran out of memory every 30 hours. We created a scheduled task to restart the service every 24 hours, what a band-aid.

Re: Ask HN: Weirdest hack that you ever saw in production?

#19
In my startup days, we were working on a proof of concept with a really big bank. Because of their security rules, we couldn't have direct access to their systems - so if we wanted to do something remotely, we would have to start a webex, they would join and share their screen, and give us remote control.

This worked great, except if we wanted to work over the weekend, since if we left the screen alone for more than a few minutes, the screen lock would kick in and we'd lose the session.

Our solution? We purchased a small fan with an oscillation mode, and tied a mouse to it. We then had the fan drag the mouse ever so slightly back and forth whenever we wanted to step away from the remote session. Kept it going for weeks.

Re: Ask HN: Weirdest hack that you ever saw in production?

#20
post #8

I worked at a place that had a large, distributed terminal network running on something like OSF or DEC Unix. It was 2001 and the thing was on life support while PCs were being rolled out. I was helping to rack my new database servers, which was next to this big lab table/shelf combo with like 16 terminals on it. When pulling a cable I banged my head on the table, then this big book fell on my hand. About 10 minutes…

u win
Post reply on HN