MoofTCP – A modern replacement for MacTCP on 68k Macs
MoofTCP is a drop-in replacement for Apple’s MacTCP networking software on System 6 and 68000-based Macs. The open-source project is hosted on GitHub under the MIT license. (github.com)
A software-archaeology study examines 43 descendants of DOOM’s 1997 source release, including faithful copies, modernized engines, and translations into languages such as Go, Scheme, Fortran, and COBOL. It asks whether a program’s structure can reveal its ancestry even when names, comments, and readable code are removed. First, direct source comparisons show that function names alone are misleading: Chocolate Doom preserves 87% of DOOM’s function names but only 35% of the code inside them, while other forks retain many labels despite extensively rewriting their contents. A structural fingerprint instead measures function size, branching, inputs, and calls. Its matches are credible: 93% of detected look-alike functions are genuine copies, though the method finds only about two-thirds of all copied functions.
Structural signals also distinguish related code from unrelated C programs and reveal patterns that survive translation. With names hidden, the engine assigns functions in a Go port to the correct game subsystem 60% of the time, versus 20% by chance; scrambling the program’s call connections weakens the result. Scheme and Go retain DOOM’s inter-part wiring about as well as a straightforward C copy, while Java, Kotlin, and C# show little surviving structure. The study also finds sideways borrowing between descendants, including shared functions in display-text libraries. Its family links rely on projects’ stated histories, not inferred ancestry. The method measures code shape, not behavior, and comparisons across languages are limited: heavy reorganization or very short functions can erase detectable signals even when design influences may remain.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
MoofTCP is a drop-in replacement for Apple’s MacTCP networking software on System 6 and 68000-based Macs. The open-source project is hosted on GitHub under the MIT license. (github.com)
Declarative Dragging lets developers define which application states a draggable element can reach, then automatically generates drop zones and animations. The Dragology library implements this model-driven, composable approach for SVG web interfaces, reducing the effort needed to build rich drag-and-drop interactions. (declarative-dragging.github.io)
A gym member reverse-engineered the gym’s Flutter app to isolate its changing check-in QR code from an unwanted social feed. They found the app could generate valid codes offline and used code-inspection tools and AI assistants to investigate how it worked. (shayon.work)
Window Sweaters is a macOS menu-bar app that adds knitted borders to desktop windows. The open-source project is built for desktop customization and window management. (github.com)
FastBCP 1.6 exports SQL Server tables directly from .bak backups to Parquet without restoring them or running SQL Server. On a 320 GB backup, it exported a 175-million-row table in 29.6 seconds using 24 threads. (blog.arpe.io)
A smarter output buffer can display complete lines promptly while batching writes for much better performance than traditional line buffering. This avoids slow per-line output in tools such as archive extractors without hiding their progress. (nullprogram.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.