Emacs Turns 50
Emacs debuted at MIT in 1976, bringing programmers a full-screen text editor that remains widely used today. Its roots in TECO and a culture of sharing helped shape the free software movement and GNU/Linux. (technologyreview.com)
A reverse-engineering project examines how the 2001 business simulator Fast Food Tycoon 2 creates its detailed isometric city and manages its inhabitants. The investigator decompiled more than 4,000 functions, indexed the code in a searchable database, and used Windows tools to inspect the running game’s memory and control it through its own interface. This made it possible to connect visible behavior - such as camera movement and changing cash - to the code behind it. The city renderer redraws only areas that have changed, restores the painted background, and draws objects in multiple passes along diagonal map cells to handle overlapping buildings and characters. Hidden parts of people and their thought icons receive special outlines. Color and lighting are stored separately, then combined with a repeating dither pattern for display.
The investigation also reveals how the game’s day-night cycle, animation, indoor scenes, and simulated routines work. Hourly brightness values govern daylight and lamp glow; building masks keep windows and signs bright after dark. Characters follow pre-drawn animation sequences along map paths, with frame-by-frame movement speeds, while restaurant scenes use layered artwork to place seated customers correctly. Citizens retain daily schedules, including routines assigned by character type. Finally, pizza ratings depend on topping distribution across 24 regions, symmetry, ingredient pairings, and customer preferences. A hidden plagiarism test penalizes recipes copied from rivals, showing how much depth the game concealed despite offering little in-game explanation.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
Emacs debuted at MIT in 1976, bringing programmers a full-screen text editor that remains widely used today. Its roots in TECO and a culture of sharing helped shape the free software movement and GNU/Linux. (technologyreview.com)
C++ lookup tables can be optimized for extremely high query throughput, with the title claiming a billion queries per second. The topic is techniques for building fast lookup tables. (lemire.me)
Moxnox 1.0 is an NT-like, POSIX-compatible operating system that runs atop Btrfs. Its source code is available on GitHub. (github.com)
china-policy-data provides a free daily JSON feed of Shanghai government grant and subsidy notices. The feed is designed for researchers and AI agents. (github.com)
Slughorn is a C++20 library for rendering vector graphics on the GPU, with a canvas API for creating shapes, gradients, and composites. It imports SVG and other graphics formats and supports OpenGL, Vulkan, WebGPU, DirectX, and Python bindings. (slughorn.io)
Linux 7.4 adds opt-in DMA-BUF read and write support through io_uring, enabling hardware memory buffers to move through the I/O path without CPU copies. The initial implementation supports NVMe block devices, with buffers up to 4 GB. (phoronix.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.