Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
GNU Units is a comprehensive utility designed for converting quantities between diverse systems of measurement, supporting both simple multiplicative scales and complex nonlinear transformations like temperature scales or wire gauges.
Beyond basic conversion, it serves as a powerful scientific calculator capable of processing arbitrary mathematical expressions while maintaining dimensional consistency. Users can perform advanced operations including sums of units, such as meters to feet and inches, or calculate roots of dimensions. The tool relies on an external, customizable data file for unit definitions and adheres to the GNU General Public License. It is available across multiple platforms, including Linux and Windows, providing a flexible environment for scientific and mathematical tasks that require high precision and unit tracking.
In this post, the author revisits Donald Knuth's 1989 paper regarding the conversion of 16-bit fixed-point binary fractions into shortest decimal fractions.
The narrative commemorates Knuth's 88th birthday by offering a more comprehensible proof for the program P2, which Knuth himself once deemed non-simple. By utilizing the Ivy programming language, the author decomposes the problem into incremental steps, starting with a trivial solution and transforming it into Knuth's optimized logic. The analysis also explores historical alternatives, such as the Schubfach algorithm and Taranto's earlier work, while reflecting on how evolving programming languages and hardware constraints shape software architecture and mathematical proofs. Ultimately, the piece argues that modern tooling allows for better isolation of optimizations from fundamental correctness proofs.
Sing-song is a draft reversible encoding for arbitrary bytes using 64 CV syllables, each representing 6 bits.
It is canonical, self-sizing, and prefix-stable; optional variants use SHAKE-256 XOR but provide no confidentiality or checksum. The design trades written density for speakability and can generate readable, non-unique Nostr usernames from public-key prefixes. A Python reference implementation is included.
IEEE-754 NaN values challenge standard programming assumptions, specifically regarding reflexive equality and numerical loops.
Case studies in Python and Lua demonstrate how language implementation optimizations often implicitly assume standard numerical behavior, leading to unintuitive outcomes. Failing to account for NaN's unique semantics can result in inconsistent internal logic within compilers and runtimes.
Relation algebra and relational algebra are distinct: the former is an axiomatic theory of binary relations, equivalent to FOL^3 and used in Alloy and formal methods; the latter underpins relational databases and connects to relational calculus through Codd’s theorem.
The article highlights relation algebra’s database applications, including Prela, and proposes “Tarski’s Algebra of Relations” (TAR) to prevent confusion.
Philip Zucker introduces lambda-microegg, an open-source e-graph with scoped, alpha-aware binders, Miller patterns, higher-order application, lifting/thinning, and capture-avoiding substitution.
Built on microegg, it supports rewrite-based reasoning over lambda terms, including beta reduction and algebraic identities. Early benchmarks approach egg performance, while future work targets richer patterns, proofs, scalability, and integration with theorem proving.
Guix-Science has released v20260907, its first channel snapshot, providing 2,354 scientific packages with a more permissive policy than Guix.
Each release pins compatible Guix and Guix-Science commits, enabling reproducible environments through guix time-machine. Highlights include Guix-HPC migration, expanded HPC libraries, and core FSLeyes components for neuroimaging, with periodic releases planned.
deft is an open-source Janet library adding gradual typing to dynamically typed code.
It supports runtime, compile-time, and ahead-of-time checks; custom, compound, record, enum, and higher-order function types; bidirectional type inference; flow-sensitive narrowing; and blame-aware contracts. Its workflows support incremental annotation, static verification, debugging, and module-by-module migration.
Strong versus weak memory models do not mean CPUs literally execute memory accesses in order versus freely.
Modern CPUs of both kinds optimistically reorder operations, track potential violations, and roll back on contention. Strong models require more checking and permit fewer orderings, but contention is costly everywhere. Real-world scalability depends more on reducing contention and NUMA effects than memory-model strength.
This account details the origins of quirky and enigmatic comments found in the source code of the Sixth Edition Unix operating system.
It highlights historical anecdotes, including the strange 'values of beta will give rise to dom!' message, the infamous 'You are not expected to understand this' comment, and technical struggles with early hardware like the PDP-11.
The author shares their journey of mastering floating-point arithmetic by creating a custom bfloat16 hardware unit from scratch.
Moving beyond surface-level usage, they explore IEEE 754 intricacies like NaNs, subnormals, and rounding modes, eventually taping out their design on 130nm silicon. The process highlights challenges in verification, golden model discrepancies, and hardware optimization techniques like LZC and Booth multipliers.
The author shares their experience of reverse engineering the game Crazy Taxi for the noclip.website project, a digital museum of video game levels.
This first part focuses on analyzing the GameCube version’s file structures, specifically identifying how custom archival formats work, and developing a parser to extract game assets for further rendering.
The author attempts to emulate Higher Kinded Types (HKTs) in Rust using Generic Associated Types (GATs), leading to a compiler overflow error.
The post explores the logic of type systems, compares mathematical induction with coinduction, and demonstrates theorem proving in Lean 4 to explain why recursive trait requirements can cause inductive cycles in rustc.
Z80 Sans is a specialized font that functions as a Z80 instruction set disassembler using OpenType features.
By leveraging GSUB and GPOS tables, it converts hexadecimal strings into human-readable assembly. The project involved overcoming complex challenges like out-of-order operands, little-endian addresses, and signed offsets through programmatic glyph generation and contextual chaining rules.
A comprehensive technical study explores the actual rewrite limits of DVD±RW media using automated Python scripts and Opti Drive Control.
Testing various brands, it identifies that while 1,000 cycles are marketed, most discs fail much earlier due to degradation, with only specific TDK and JVC models meeting or exceeding expectations through endurance testing.
This content explains the Git data model, focusing on four core components: Objects (commits, trees, blobs, tags), References (branches, HEAD, remotes), the Index (staging area), and Reflogs.
It details how Git uses cryptographic hashes for immutability, structures directory trees, and maintains local history to ensure data integrity and recoverability without requiring complex diff storage.
The author examines the utility of scc (Sloc, Cloc, and Code), a tool designed to measure code size, while focusing on a largely ignored feature: Unique Lines of Code (ULOC).
To validate ULOC as a measure of project complexity and 'dryness,' the author analyzed approximately 400 million lines of code across the top 1,000 GitHub repositories categorized by language. The study reveals that Clojure and Haskell rank highest in code density, while languages like C# and Go exhibit significant boilerplate repetition. This data suggests that modern languages do not always reduce redundancy compared to older paradigms like Lisp. The analysis provides a baseline for interpreting language 'dryness,' defining high density at around 75% uniqueness and high boilerplate at below 55%.
The string 'UVWATAUAVAWH' appears frequently in 64-bit Windows system files, often mistaken for secret code or malware indicators.
Analysis reveals it consists of x64 assembly opcodes used as a standard function prologue to save registers. These sequences are common in compiled code and reflect standard compiler behavior rather than suspicious or hidden activities.
This archive catalogs best paper awards from 32 major computer science conferences from 1996 to 2025.
Maintained by Jeff Huang, it aggregates influential research across various subfields, providing a longitudinal view of technological advancements and significant contributions within the field.
sysp: Systems Lisp compiling to C with homoiconic macros, refcounted memory, Hindley-Milner type inference
Low-Level Programming · Programming Languages · Computer Science
sysp is an innovative systems Lisp dialect that compiles directly to readable C, specifically engineered for high-performance numerical computing and GPU development.
By utilizing homoiconic macros, sysp allows developers to generate specialized C and CUDA kernels at compile time, bridging the gap between expressive high-level programming and low-level performance. It features a robust Hindley-Milner type inference system with monomorphization, supporting both precise types and a boxed Value fallback. Key functionalities include manual memory management via reference counting, tail-call optimization through goto conversion, and a zero-runtime overhead model. It is particularly effective for projects requiring hardware acceleration while maintaining the metaprogramming flexibility of a Lisp environment.