TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: We found the grave of hacking legend Mel Kaye

9 pointsby cassiepaperalmost 2 years ago
For 40 years, since "The Story of Mel" was published, the existence of the hacking legend Mel Kaye was in doubt. Until today. We found his final resting place, which unfolds the life and work of the Mel (Melvin) Kaye (Kornitzky), who hacked a blackjack game for the LGP-30 and RPC-4000 some 70 years ago, in Glendale, Los Angeles.

2 comments

cainxinthalmost 2 years ago
GPT explanation of Mel&#x27;s trick:<p>&gt;The author, who was asked to find a bug in Mel&#x27;s code, encountered a peculiar loop (a section of code that repeats itself). This loop didn&#x27;t seem to have a condition that would stop it, which is unusual because without such a condition, a loop would run indefinitely, making the program stuck.<p>&gt;Now, a feature of the RPC-4000 computer they were using was something called an index register. In layman&#x27;s terms, it&#x27;s like a helper that allows you to easily go through a series of data one piece at a time. But Mel never used it. Instead, he had a complicated way of going through the data himself.<p>&gt;The author noticed something strange about how Mel was handling the data: he was putting it near the &quot;top&quot; of the computer&#x27;s memory. When he was done with the last piece of data, he would increment the address, but because it was already at the top, it couldn&#x27;t go higher. This caused something called an overflow, which is a bit like trying to put more water into a full glass, causing it to spill over.<p>&gt;This overflow didn&#x27;t cause an error, though. Instead, it added one to the operation code of the instruction, effectively changing it to a &quot;jump&quot; instruction. A &quot;jump&quot; instruction in programming is like a command to skip to another place in the code. In this case, it made the program skip to the beginning of the code, letting it escape the loop and continue running smoothly.<p>&gt;In short, Mel created a loop that appeared endless, but he ingeniously designed it to escape itself by using a memory overflow. This trick was hidden deep in the machine code, making it hard for others to understand, but effectively doing what Mel wanted.
cassiepaperalmost 2 years ago
Previously on HN: Mel&#x27;s Hack - The Missing Bits: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33392127" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33392127</a>