What's the most ridiculous hacks you've seen in production?
Bonus for real snippets and examples.
Sleep(5000)
Actually, this one guy caught an exception and made an elaborate path which essentially deleted the troublesome file when windows restarted.
I came in and fixed the actual issue which was that the filestream wasn't closed. One line of code vs hundreds.
>>61701495
>>61701495
Isn't this literally the reason they skipped windows 9?
>>61701495
>department head says we can't use inputs in Java because it's a security hazard
>writes up parser to check if people are assigning inputs to any pre-production code
>coworkers just use pointers
>appends an integer and float exception
>coworkers just use strings and temporarily convert them to int/float only when being referenced
>everything is a string
Richard
fbfounderNative
>working at pajeet tier webdev shithole
>gave two weeks one week ago
>see pic related
>in one week i'll never need to clean up shit like this again
>>61701951
This hurts
>>61701951
>in one week i'll never need to clean up shit like this again
You'll also be unemployed.
Most ridiculous one I've ever done:
>be me
>be writing a XUL application
>need to suppress auth requester dialog and pass 401s back to app for """friendliness"""
>get handle to runtime nsIObserverService
>add http-on-examine-response observer to delete WWW-Authenticate header
>>61701951
What are you going to do next?