3 ms·
The Infinite Loop That Wasn't (2020)
- taneq 5y agoNo discussion of infinite loops that aren't would be complete without a mention of The Story of Mel: http://www.catb.org/jargon/html/story-of-mel.html http://www.catb.org/jargon/html/story-of-mel.html
- megiddo 5y agoThank you! I've been hunting for this story for years.
- falcrist 5y agoThe story was featured on the YouTube channel "Computerphile". https://youtu.be/XS3UBuZ7D34 https://youtu.be/XS3UBuZ7D34
- kingofkyiv 5y agoThis is an amazing read. I too was looking for this for a while.
- xxs 5y agoI read it when I was a kid (11/12)... along with Real Programmers Don't Use Pascal. I was chiefly impressed by both, for quite some time I thought both of the them were real and represented real(!) values. To this day I can quote quite a bit of both.
- bear8642 5y ago> both of the them were real … Well, Mel's story is definitely real!
- xxs 5y ago"The manual for the LGP-30 refers to “Mel Kaye of Royal McBee who did the bulk of the programming...” "
- lelandbatey 5y agoIndeed, Mel is (was?) real and we have a photo of him! If we go to Wikipedia for the LGP-30[0], it links to a wiki article on "The Story of Mel"[1] which names the titular "Mel" as "Melvin Kaye" with a citation, linking to a PDF scan[3] of an issue of "The Librazette" where on the first page, the photo on the left, in the very back and named last of all the people in the photo, is [sic]"Royal-McBee Applications Engineer Mel Kaye" standing and smiling in an all-white shirt. [0] - https://en.wikipedia.org/wiki/LGP-30 https://en.wikipedia.org/wiki/LGP-30 [1] - https://en.wikipedia.org/wiki/The_Story_of_Mel https://en.wikipedia.org/wiki/The_Story_of_Mel [2] - https://en.wikipedia.org/wiki/The_Story_of_Mel#cite_note-Librascope-1 https://en.wikipedia.org/wiki/The_Story_of_Mel#cite_note-Lib... [3] - https://www.librascopememories.com/Librascope_Memories/1950_-_1959_files/560800%20Librazette.pdf https://www.librascopememories.com/Librascope_Memories/1950_...
- dzdt 5y agoThe Commodore 64 has a similar "feature". It has a separate 4-bit per address * 1k "nibble" ram chip for the screen color attributes. The processor and data bus are 8 bits wide. When the processor reads from color ram the low 4 bits come from the color ram chip but the hi 4 bits are disconnected. The returned results look a bit random but are actually whatever data was put on the bus the previous clock cycle.
- mananaysiempre 5y agoWell, the OSDev Wiki’s discussion of RAM detection on x86[1] still mentions the issue of bus capacitance in its discussion of memory probing (while exhorting you not to attempt memory probing). The text is likely old, but probably not C64 old. Pentium-era old maybe? [1] https://wiki.osdev.org/Detecting_Memory_(x86)#Practical_obstacles_to_memory_probing https://wiki.osdev.org/Detecting_Memory_(x86)#Practical_obst... and https://wiki.osdev.org/Detecting_Memory_(x86)#Manual_Probing_in_ASM https://wiki.osdev.org/Detecting_Memory_(x86)#Manual_Probing...
- userbinator 5y agotl;dr: DMA + bus float. I'm undecided whether this was a deliberate anti-emulation technique, or a clever trick to sync CPU execution with the DMA position. I remember seeing a similar type of thing in the protection of a very old PC game.
- deleted 5y ago[deleted]
- mijoharas 5y agoHyrum's law[0] seems appropriate here: With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody. Except the API here is the behaviour of the hardware. [0] https://www.hyrumslaw.com/ https://www.hyrumslaw.com/
- throwamon 5y agoRelevant xkcd: https://xkcd.com/1172/ https://xkcd.com/1172/ Googling the xkcd also led me to this: https://github.com/dwmkerr/hacker-laws/ https://github.com/dwmkerr/hacker-laws/
- dang 5y agoDiscussed at the time: The Infinite Loop That Wasn't - https://news.ycombinator.com/item?id=22151036 https://news.ycombinator.com/item?id=22151036 - Jan 2020 (35 comments)