I hosted a server, in my bedroom back in the late 90s. By server, I mean a desktop running Slack, connected to the internet and allowing me to SSH into it. It could recover just fine from a power outage, but unfortunately due to a RAM issue it would just randomly die - and RAM just wasn't something the local computer store was ready to bring in. Enter my Lego Mindstorm. I effectively built a box, on wheels with a big…
For the confused: Slack isn't just the modern messaging platform.
Ask HN: What's your proudest hack?
331–340 of 414 posts
Re: Ask HN: What's your proudest hack?
#332I was color calibrating a prototype holographic printer with a 30Hz pulsed laser spatially modulated by a 60Hz LCOS, phase locked of course. I was chasing down a funny issue where the response curve of the LCOS seemed to change every time we power cycled the machine - specifically, it would randomly flip between one of two modes. I had a suspicion that the LCOS was flickering (they're known to do that) and that there…
Re: Ask HN: What's your proudest hack?
#333Turns out this particular game company (Falcom) had a habit of implementing their own compression on their assets. So I had to painstakingly read the disassembly. It got to the point that I had notebooks of hand written disassembly so I could read and think about the code when not at a computer. Eventually I figured out how to both decompress images and text and then save the decompressed assets in a way that bypass the compression. I wrote the hack and patch and was super happy. Of course it blew up the size of the game assets for translated materials, but it worked.
Re: Ask HN: What's your proudest hack?
#334Re: Ask HN: What's your proudest hack?
#335I was 16 or 17 and had a guest account on the local universities Ultrix server. I discovered that all of /dev/tty* was world-readable UNTIL someone had successfully signed in. So a “cat /dev/tty* > passwords.txt” and waiting an hour collected the credentials of everyone logging in to the server. At some point, I had logged into the account of one of the sysadmins who msgd me and let me know he’d changed his password…
Fun times!
Re: Ask HN: What's your proudest hack?
#336I spilled water on my favorite keyboard and broke it, then let it dry and fixed it by using a pencil to trace over the damaged circuits. It worked fine again after that! (Graphite in pencil lead is a weak conductor, enough to make the keyboard circuit work)
Re: Ask HN: What's your proudest hack?
#337Re: Ask HN: What's your proudest hack?
#338Re: Ask HN: What's your proudest hack?
#339There were other dirty tricks, for example the table of (one-letter) commands was at the end of the ROM, and was terminated by a letter with the 8th bit set, which we got by reading the address after the ROM. As a aside effect, you could extend the commands by installing a second ROM in the proper place.
That time I knew the instruction set for the 1802 by heart. I even dreamed directly in hex.
Re: Ask HN: What's your proudest hack?
#340Earlier quoted context omitted.
Cool. Kind of unrelated, but is there anything stopping someone from just generating a sawtooth DPCM sample at runtime and using the channel as normal without having to use crazy timing stuff?
Yes, it comes down to how the DPCM channel encodes sound data. A sawtooth gets most it's energy and harmonics from the sudden jump at one end. This impulse is impossible to encode in 1-bit delta encoding, the closest you can get is a slightly steeper slope. The audible effect is similar to a low pass, with the strength dependent on the intended amplitude, so instead of a nice sharp saw, you get a muddy not quite tria…