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.
The article introduces 'tree mapping' as a persistent, difficult problem: forcing interconnected web-like structures into rigid hierarchical trees.
This challenge appears across file systems, writing, urban planning, and biology. The author argues that because our natural cognitive mapping is hierarchical, we often flatten complex realities at the cost of essential, nuanced, and organic connections.
The author implemented a gzip decompressor in just 250 lines of Rust to demystify how compression works.
By focusing on the core DEFLATE algorithm, Huffman coding, and LZ77 back-references, the project avoids the bloat of standard libraries like zlib, providing a readable, educational, and functional implementation that successfully decompresses gzip files.
The article explores the false dichotomy between Hindley-Milner and bidirectional type systems in language design.
It argues that bidirectional typing is a superset of Hindley-Milner and that the critical decision is whether a language requires generics. While generics necessitate unification, bidirectional systems offer a flexible framework that can be implemented with or without complex unification processes.
florilegium is a LuaLaTeX package that procedurally generates Delft-blue floral page margins without images or external assets.
Lua computes parametric petals, leaves, stems, motifs, and watercolor-like PDF paths while each page is written. It offers hand-authored or adaptive space-filling compositions, seeded reproducibility, text-aware flowers, seasonal aging, decorated initials, visitors, configurable ink colors, and standalone PostScript output. Its growth algorithm fills unused margin space using free-disc selection inspired by 1998 floral-ornament research.
A preprocessing technique evaluates any monic polynomial of degree n using ⌊n/2⌋+1 multiplications, and general polynomials with one additional multiplication—substantially fewer than Horner's method.
An interactive tool accepts a polynomial and field, then generates the preprocessing, supporting function approximation and polynomial evaluation in cryptography, hashing, and coding theory.
Box3D enhances collision detection performance for complex 3D convex hulls by utilizing "wide SIMD" to process multiple edge tests simultaneously.
While standard SAT is quadratically complex, this approach significantly accelerates simulations involving high-edge-count shapes. Benchmarks show SSE2 and AVX2-Lite implementations offer dramatic speedups over scalar execution, proving highly effective for complex geometries.
A JIT bitmap text renderer for RP2350-class microcontrollers generates ARM code per string to render proportionally spaced, kerned glyphs within tight scanline budgets.
In vic-2350, packed glyph bitmaps and metadata minimize SRAM use; generated code fills a 1-bit buffer, then expands it to RGB565 at 1.75 cycles per pixel. The JIT costs 23 cycles per glyph, and the demo consumes about 2.6% of one RP2350 core’s throughput, enabling flexible text without a framebuffer.
Bluesky replaced mutex-protected double-hash Bloom filters with atomic-bloom, cutting deployment time from 90 to about 15 minutes.
It later deployed gloom, a one-hash Bloom filter that divides storage into pairwise-coprime partitions and derives all bit positions from one hash. Cache-line-sized, aligned 64-byte blocks make lookups require at most one cache miss, while ShardedAtomicFilter reduces write contention. The approach serves high-throughput backend and jetstream workloads, although it did not materially outperform atomic access for Bluesky’s original bottleneck.
An interactive JavaScript renderer presents mathematical surfaces in a hand-hatched, mid-century style.
It uses vector strokes, interpolated-normal silhouettes, contour and double-curve chains, GPU hidden-line visibility, haloed occlusion, and curvature-aligned streamline hatching with tone-dependent cross-hatching. Users can rotate, roll, zoom, enter formulas, and explore Boy’s, Morin, Apéry, and torus-knot surfaces.
The article presents practical recipes for eliminating foot sliding in character animation.
It explains a two-bone inverse kinematics leg solver that preserves existing poses, toe targeting, soft extension limits, and ground collision handling. Runtime foot locking combines contact detection with cubic inertialization; an offline position-based dynamics method distributes corrections across clips. It emphasizes preserving toe velocity over rigid physical locking.
The article explains PageRank, the algorithm developed by Sergey Brin and Larry Page that helped Google outperform content-based search engines.
It models page reputation as rank passed through links, adds a damping factor for random jumps, and iteratively updates scores until convergence. A concise Python implementation demonstrates the core computation, while noting dangling-node simplifications.
The author implemented a graph map-reduce system using Apache DataFusion to run PageRank and Weakly Connected Components on billion-scale graphs.
By leveraging disk-based spillover and bulk scans, the system processes massive datasets on a laptop with limited memory, surpassing traditional in-memory libraries like NetworkX and Igraph without needing Apache Spark.
This article explores modifying the Raft consensus protocol by utilizing finite projective planes to define quorum structures.
By adopting mathematical structures like the Fano plane, clusters can achieve quorum with subsets smaller than a traditional majority, though this introduces a trade-off where progress isn't guaranteed with a standard majority in randomized failure scenarios. The text evaluates these trade-offs against established combinatorial theorems.
The performance of gradient descent depends on strong convexity and L-smoothness, which provide a 'quadratic sandwich' bounds for a function.
Strong convexity ensures curvature prevents plateaus, while L-smoothness prevents abrupt gradient changes. Together, measured by the condition number, they determine optimization stability and efficiency.
The author explores Signed Distance Fields (SDFs) for 3D graphics, framing them as a functional alternative to polygons.
They detail a proof of concept in Rust using a recursive divide-and-conquer algorithm to optimize CPU-based raymarching. This approach, combined with cone marching and interpolation, significantly improves rendering performance, making CPU-based SDF games potentially viable.
GLM-4.5-Air now supports MTP through glm4moe graph_mtp, with converter and loader support for combined, trunk-only, and MTP-only GGUF layouts.
Tests show average speedups of 1.19x (Q4) and 1.10x (Q8) on 4x3090, while full GLM-4.5 gains 1.07x. MTP 1 is generally best; higher drafts can reduce performance, with no regressions observed on Solar Open or GLM-4.6V.
Nix leverages lazy evaluation, allowing infinite recursion in attribute sets.
By treating attribute paths as sequences of inputs, one can map button presses in Super Mario Bros. 3 to derivations. Each frame acts as a cached state in the Nix store, enabling efficient, reproducible, and branching game runs by reusing existing store paths as historical states.
A developer created an alternative version of Pac-Man where players control a ghost instead of the titular character.
The game features AI-driven Pac-Man behavior and incorporates the iconic power pellet mechanic, forcing players to evade when Pac-Man turns the tables. It offers a unique perspective on the classic arcade experience.
The Block Game developer built a threaded CPU software occlusion culler for weak hardware, using a low-resolution depth buffer and hierarchical opaque subchunks.
World-space frustum culling, visible-face filtering, optimized transforms, distance-based processing, and mipmap-like levels reduced processing from 150–200 ms to about 4 ms. It typically culls 50–95% of chunks, though effectiveness declines in open areas.
The author explains how Google Maps achieved fast world-scale route recalculation, focusing on differential heuristics—an optimization for A* pathfinding.
After years of failed tutorial attempts, experimentation clarified the concept: heuristic and correct-direction arrows, plus interactive visualizations showing where the optimization helps. The resulting guide is now released, though further improvements remain.