Incident with Pull Requests, Git Operations and Issues
GitHub experienced an incident affecting pull requests, Git operations, and issues. The provided details do not specify the cause or duration. (githubstatus.com)
A tour of early Unix source code traces how memory allocation evolved in the 1970s, when much of the operating system was already written in C. A compiler utility in Unix V4 used a simple linear allocator: it rounded requests to an even size, handed out successive chunks, and extended the heap with sbrk() when needed. Since the program’s allocations lived until it exited, there was no reason to free them. The account contrasts this with Unix’s kernel malloc() and mfree(), which accepted an explicit resource map and allocation size. Separate maps managed main memory and disk swap space in units suited to each resource; the allocator used first-fit search and merged adjacent free blocks.
The explicit-region interface suggests practical benefits that remain relevant: libraries could be confined to designated memory, their allocations discarded together, and their consumption limited. The discussion also finds linear allocation in the early diff utility, including a rollback-like pattern that reuses memory after processing. It connects these conventions to C++’s new operator, which drew on Simula’s terminology and combined allocation with object initialization, while noting that Unix code also used macros to simplify typed allocation. The central puzzle is why such approaches did not become more common: many programs instead called malloc() directly and repeated sizing and error checks. The historical examples show that arenas, region-based allocation, and convenient allocation syntax were present early, even if their broader advantages were not widely adopted.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
GitHub experienced an incident affecting pull requests, Git operations, and issues. The provided details do not specify the cause or duration. (githubstatus.com)
Osewa is an open-source SSH and Mosh alternative that keeps terminal sessions running on the host and supports roaming across networks. It uses QUIC or WebSocket connections and prioritizes keystrokes, with benchmarks showing faster input response than SSH on poor connections. (osewa.dev)
Milkman is a JavaFX request-and-response workbench designed as a lightweight alternative to Postman. Its plugin system supports HTTP, databases, gRPC, GraphQL, and other technologies. (milkman.dev)
Kitty 0.50 is a release of the GPU-accelerated terminal emulator. The supplied content contains no changelog details about what changed in this version. (sw.kovidgoyal.net)
Affinity is bringing its creative software to Linux, and development is underway. The company has not announced a release date. (twitter.com)
GIMP 3.2.8 introduces numerous refinements and fixes security vulnerabilities identified through AI-assisted reports. The release updates the open-source image editor. (phoronix.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.