One time I accidentally overwrote my hard drive with dd while making an installation thumbdrive. While unfortunate, it was only the first 8GB or so. This nuked the partition table, bootloader, and start of the Windows partition, but fortunately my daily-driver, still-running Linux system partition was unaffected. I kept my cool and figured it was recoverable. I ended up recovering the partition table from RAM and wri…
Oh, what fun! Our system administrator decided once to duplicate the boot partition of a server, so we had a spare should the usual one fail. He used dd of course. And the next day, he was off to a USENIX conference. What he had forgotten, though, was that the first partition on the disk actually contained the partition table! (This was on Solaris, or possibly SunOS.) Since the source disk and the target disk had dif…
Ask HN: What's your proudest hack?
361–370 of 414 posts
Re: Ask HN: What's your proudest hack?
#362Motivated to prove myself, I ended up writing a crawler with all kinds of contingencies for the crap UI, which would press the "Download" button that downloaded each record as a JSON file (couple thousand of these). Then my little node app would shoot the JSON files to an S3 bucket for safekeeping, parse them, and save each record in DynamoDB I believe it was.
Doesn't take a genius to come up with the idea to write a crawler, but no one else did, and the business was entering a state of frantic desperation re: this issue, so I felt pretty smart for a bit.
Then a few months later they abandoned the CMS and all it's corresponding data.
Re: Ask HN: What's your proudest hack?
#363Earlier quoted context omitted.
Looks like someone collected the btc bounty?
Damn! Well, great! Whoever you are, well done! (I'd love to know how!)
It looks like the funds were drained within an hour of you loading the bounty. People have made giant lookup tables of brainwallet passwords and monitor the corresponding addresses for transactions. Reddit user u/btcrobinhood is known for doing this and returning the funds.
Re: Ask HN: What's your proudest hack?
#364After reading an inspiring story in the mid 90s about someone that collected rejection letters for jobs they weren't qualified for (CEO of a national rail carrier etc), I turned to a life built on a similar idea. I applied for jobs I thought I could do, using mostly made-up resume information. If I was scheduled for an interview I would study like mad every waking hour until the interview. My career was absurdly succ…
> I retired rich 30 years early. Sounds better than working as a product manager for 25 years.
Re: Ask HN: What's your proudest hack?
#365When I was in highschool I wrote a Tetris game for the TRS-80. My clever hack was that I could make it twice as fast by keeping the state of the falling shapes in video memory instead of a separate object model. In an early version of this, I failed to completely draw the "cup" the objects were falling into, and one fell straight through the bottom into system memory and crashed the machine.
Reminds me of a similar story of someone creating a Tron lightcycle game on an Apple IIgs. They had created a bug so that the lightcycle could travel off-screen and into memory, causing all sorts of undefined behaviour. https://blog.danielwellman.com/2008/10/real-life-tron-on-an-...
Re: Ask HN: What's your proudest hack?
#366If it didn't get a 200, it bounced Apache
Ran every couple minutes for years
Re: Ask HN: What's your proudest hack?
#367Re: Ask HN: What's your proudest hack?
#368Elementary 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.
Ah, reminds me of the good ol' Windows 98 login bypass: https://epiclogon.ytmnd.com/
Re: Ask HN: What's your proudest hack?
#369Earlier quoted context omitted.
Oh, what fun! Our system administrator decided once to duplicate the boot partition of a server, so we had a spare should the usual one fail. He used dd of course. And the next day, he was off to a USENIX conference. What he had forgotten, though, was that the first partition on the disk actually contained the partition table! (This was on Solaris, or possibly SunOS.) Since the source disk and the target disk had dif…
Sounds like another scary reboot. "Scariest reboot ever" might make an interesting Ask HN...
Re: Ask HN: What's your proudest hack?
#370Earlier quoted context omitted.
That's insane, what are some of the jobs that you conned your way into?
Weird that you think I conned my way in. I was always able to skill up and do the job. Theoretical before, then learn the rest on the job.
"write that on your resume along with whatever else you think they want to see."