Ask HN: What's your proudest hack?
121–130 of 414 posts
Re: Ask HN: What's your proudest hack?
#122- in ObjC, with no prior knowledge of it or any lower level language than PHP or JS
- by dynamically switching the OS keyboard layout to a custom reverse-QWERTY one I somehow figured out how to hobble together
- and a daemon to restart it when it crashed because I presumably had horrific memory management issues I didn’t know how to debug at the time
- with one hand, because my left hand was unusable for a couple months after a serious bike accident
… all so I could keep working at a normalish pace, because at the time I couldn’t afford to take time off to recover, much less fairly expensive (to me at the time) and patent encumbered half-QWERTY keyboard hardware.
There are other use cases [not just those ;) but also those], but that little pile of hacks legitimately prevented my injury from being a life destroying catastrophe.
I’d share the pile of hacks but I probably need to run it by lawyers first.
Re: Ask HN: What's your proudest hack?
#123Re: Ask HN: What's your proudest hack?
#124Vendors wouldn't share code so I broke it, looked at the error logs and wrote my own version of a indexed vector that reordered the operations using a knapsack algorithm and in a way that allowed us to run 50-100 parallel threads. Maybe 500 lines of code.
Knocked some heads together to get downstream systems to start importing data as soon as the first files arrived rather than wait until the end.
CTO (I'd never heard of him, it was a $30B company) didn't believe management about the months of time we'd saved, needed it all explained, was very happy.
Re: Ask HN: What's your proudest hack?
#125An early Samsung phone had a small bug. When you tried to dial an invalid emergency number, the home screen was briefly visible. I discoveted that, with a lot of tapping at exactly the right time, I could launch the marketplace. With a lot of tapping at the right time I could trigger a voice search. I then told it to install an app which disabled the lock screen. With, again, a lot of tapping at just the right time a…
Re: Ask HN: What's your proudest hack?
#126I look for hostname@ in the streaming stdout of my ssh process and if I see one, in addition to other heuristics, I notify that a command completed over ssh.
Re: Ask HN: What's your proudest hack?
#127Elementary school, Windows 3.x era. School district thought they blocked access to the built-in OS games. Nope, from any program (Wordpad, etc) you could FILE -> OPEN to find/launch/play Minesweeper. Nothing makes an 8-year-old feel more like a "hacker" than subverting school controls to play video games, while also gaining cred with your friends. The good ol' days.
Re: Ask HN: What's your proudest hack?
#128I was located in Sydney Australia, trying to fix a literally showstopper bug in the signal processing of the bank of Land Mobile Radio base stations that were being used to coordinate the stage management for the Opening Ceremony of the London Olympics. Less than 24 hours to go before the final dress rehearsal, and the production company was preparing to spend megabucks to pull all the radios out and replace them wit…
Re: Ask HN: What's your proudest hack?
#129I have a theory that some companies have a rage meter on customers on hold. I find that if I yell expletives at the hold music before getting connected to a rep initially, I get connected faster. Usually there’s a brief ring before getting connected to compose yourself :)
Re: Ask HN: What's your proudest hack?
#130I mix [heavy cream powder] and powdered milk in equal portions to make half-and-half that I can keep at my desk without refrigeration. I keep it in [baby formula dispenser]s so I can shake it up for homogeneity and dispense it without digging in with a spoon. [heavy cream powder]: https://www.amazon.com/Anthonys-Fillers-Preservatives-Friend... [baby formula dispenser]: https://www.amazon.com/Philips-AVENT-Powder-Form…