HN Summaries - 2026-11-22

Top 10 Hacker News posts, summarized


1. Lean verification of the Riemann Hypothesis

HN discussion (777 points, 615 comments)

On November 20, 2026, Levent Alpöge released a Lean formalization of a proof of the Riemann Hypothesis comprising 17 million lines of code. The Lean and Mathlib communities, endorsed by the Lean FRO and Mathlib Initiative, issued a joint statement certifying the proof's correctness after verifying four criteria: the statement matches Mathlib's vetted `RiemannHypothesis` theorem; the library compiles without errors; independent tools (`comparator` and `con-leche –compare`) confirm Alpöge's proved theorem exactly matches Mathlib's statement; and the exported raw proof has been validated by multiple independent checkers (Lean's kernel, `con-leche`, `con-ron`, and third-party checkers implemented in different languages). The `con-leche` and `con-ron` checkers carry formal proofs, relative to set theory, that they cannot accept false proofs, addressing concerns about potential flaws in Lean's logic. The verification ran on an inert proof export, isolating it from any hypothetical malicious code in the source files.

Commenters expressed skepticism about whether formal verification alone constitutes definitive mathematical proof, with some arguing human-readable understanding remains essential for the result to be "useful" or advance the field. Several raised AI safety concerns, speculating about misaligned systems exploiting Lean bugs to produce false proofs, though others deemed this unlikely given the multi-checker verification and human expert involvement. The tool names `con-leche` and `con-ron` (Spanish for "with milk" and a name) drew amusement and requests for explanation. Broader questions emerged about the implications for mathematics: whether massive machine-generated proofs without human comprehension represent progress, what new mathematics might be extracted from the formalization, and whether this approach could tackle other problems like P vs NP. Some dismissed skepticism as goalpost-moving, while others noted the Riemann Hypothesis was already widely assumed true, questioning practical ramifications.

2. Detonating a pile of lead azide

HN discussion (492 points, 323 comments)

Unable to fetch article: HTTP 403

The discussion centers on the planned detonation of roughly 10,000 pounds of degraded lead azide at a former Army ammunition plant in Middletown, Iowa, highlighting the environmental and institutional failures that necessitated it. Commenters detail the chemistry: the material becomes unstable when dry and crystallized, requiring periodic maintenance (stirring/testing) that was apparently neglected due to knowledge loss after staff turnover—a systemic issue compared to the 2014 discovery of forgotten smallpox vials. The explosion will disperse an estimated 3,200–7,100 pounds of elemental lead, raising serious Superfund contamination concerns, especially given the inability to predict wind patterns for plume dispersal. Suggestions for alternatives, such as robotic mitigation, chemical neutralization, or burying-then-detonating to contain lead, are weighed against the consensus that the material is now too unstable for safe handling or transport. A strong thread of criticism targets the military-industrial complex, noting the facility has been contractor-operated since 1998 with billions in funding (over $270M in the latest year alone), yet corner-cutting led to this hazardous abandonment. Commenters argue this exemplifies "waste, fraud, and abuse" in defense spending, where private contractors externalize cleanup costs to the public. There is cynicism regarding environmental justice, with observations that such risks are rarely imposed near wealthy communities, and debate over whether the nearby town of 363 residents should be relocated rather than exposed to fallout. Derek Lowe’s original explainer article is repeatedly credited for clarifying the technical constraints that make controlled detonation the "least bad" option.

3. My monitor was cutting my download speed by 75%

HN discussion (448 points, 219 comments)

The author discovered their 2.5 Gbps symmetrical internet connection was limited to ~600 Mbps download (while upload remained at 2.4 Gbps) when routing traffic through an Apple Studio Display XDR's built-in USB hub. The setup used a UGREEN USB-C to 2.5G Ethernet adapter (Realtek RTL8156B) plugged into the monitor. Direct connection to the MacBook Pro achieved 2.3 Gbps, isolating the monitor's hub as the bottleneck. Installing Realtek's proprietary driver improved speeds to 1.1 Gbps, and enabling flow control on the UniFi router reached ~2 Gbps but introduced latency concerns. The root cause was USB burst transfer limitations: the RTL8156B sends only 4 packets per burst (bMaxBurst=3) before waiting for host acknowledgment. The monitor's hub added ~7.6 µs round-trip latency for each acknowledgment, limiting theoretical throughput to ~2 Gbps and causing buffer overflow, packet drops, and TCP backoff. Replacing the adapter with an RTL8157-based model (bMaxBurst=7, 8 packets per burst, faster link speed) raised the theoretical maximum to 4.5 Gbps, eliminating drops and restoring full 2.5 Gbps throughput without flow control.

Commenters validated the author's findings, reporting similar throughput and latency issues with Thunderbolt docks and monitors on macOS, with one noting the problem disappears when using non-Thunderbolt (pure USB) cables. Several emphasized that the headline misattributes blame to the monitor itself rather than the USB hub's acknowledgment latency and the adapter's small burst size—a known USB architecture constraint. Others shared related debugging experiences: EMI/grounding issues killing Wi-Fi near monitors, USB bandwidth contention downgrading hubs to USB 2.0 speeds, and cable quality causing intermittent failures. An ISP support perspective noted customers frequently blame providers for self-inflicted equipment bottlenecks. Technical discussion included whether BBR congestion control could mitigate the issue, the BOM cost differences across Realtek Ethernet controllers (RTL8153/156/157/159), and appreciation for the deep packet-level analysis versus simply plugging directly into the laptop.

4. Inkling-2-Mini in 5.4 GB Memory

HN discussion (321 points, 87 comments)

LookAtMyQuant is a quantization compiler that uses trellis codes and Fisher information–based row allocation to compress models under a size budget while minimizing output degradation (measured by KL divergence). The method is demonstrated on three models: Qwen3.5‑4B compressed to 1.23 GB (2.3 bpw) solving 330/540 exact‑answer math problems; Qwen3.8‑27B compressed to 7.2 GB (2.1 bpw) matching the original on 401/540 math problems and exceeding same‑size GGUF baselines on HumanEval, MMLU, and GSM8K; and Inkling‑2‑Mini (a 26.4B‑parameter, 3×‑looped MoE with 5.4B active parameters) compressed into four Apple‑Silicon MLX builds ranging from 5.38 GB to 12.76 GB. The 12.76 GB build matches the untouched BF16 teacher on 100 % of pooled benchmarks (GSM8K, HumanEval, vision VQA, multilingual TextMix); the 8.87 GB build retains 99.2–99.3 % and beats Unsloth’s 9.14 GB UD‑Q2_K_XL on KL; the 5.38 GB build achieves 88 % GSM8K and 70.7 % HumanEval. The pipeline includes per‑row bit allocation, 4,000 steps of distillation with re‑quantization, a 4‑bit DSpine drafter for speculative decoding, and unified Metal kernels for prefill, serial, and drafted decode. On an M5 Max the 5.4 GB build reaches 124 tok/s median drafted decode. Code is MIT‑licensed; the compiler, runtime, and model releases are on GitHub and Hugging Face, with a reported $34 GPU cost for the Qwen3.5‑4B recipe.

Commenters raised several technical and credibility concerns. One user asked how the method compares to importance‑matrix‑based allocation; another noted the runtime appears MLX/Apple‑Silicon only. A critical comment pointed out that Inkling‑2‑Mini is already a quantization‑aware trained model (mixed NVFP4/MXFP8), questioning the value of further quantizing it. The same commenter claimed the reported KL numbers for the 5.4 GB build are worse than Unsloth’s UD‑IQ1_S on English/chat/code (0.0895 vs 0.0808) and across 13 languages (0.287 vs 0.124), and that benchmark gains come from post‑training on test‑like samples, with GSM8K/HumanEval differences within noise. Another user reported the model runs at one‑third the speed of Qwen‑27B on an AMD GPU, suggesting kernel or architecture inefficiencies. A broader warning advised caution with “vibecoded” GitHub repos that mix multiple projects and claims in messy READMEs, recommending mainstream quantizers (GGML, Unsloth, bartowski, AesSedai) instead. One commenter observed 50+ comments but no evidence anyone had actually run the model, raising astroturfing suspicions. Finally, a user asked whether running multiple instances on a 3090 could enable boosting for better answers.

5. RCE in Gnupg

HN discussion (223 points, 89 comments)

The GnuPG project has released GPGME version 2.3.1 to address a critical double-free vulnerability (CVE-2026-129975, internal ID T8557) affecting all prior versions. The bug occurs when processing an OpenPGP key with a crafted, very long user ID, causing a buffer reallocation error where a stale pointer to freed memory is retained in the context object. This can be exploited for data exfiltration via signed data, and remote code execution cannot be ruled out. The vulnerability was discovered by Johan Carlsson and reported via GitLab on November 12, 2026; coordinated disclosure was originally planned for November 25 but accelerated to November 20 due to a separate Ruby2Shell issue. All software using GPGME—including Gpg4win, GnuPG Desktop, most mail clients, many XMPP clients, Samba, and Flatpak—is affected. Users must update to GPGME 2.3.1 or apply the provided patch; GPGMEPP and GPGMEQT are unaffected.

Commenters questioned the "RCE" characterization, noting the advisory describes a double-free that *could* lead to RCE rather than a confirmed exploit chain, with some calling the submission title sensationalized (the actual advisory title is "GnuPG Security Advisory for GPGME"). A Red Hat patch from five years ago reportedly addressed a similar issue in their downstream package but was not merged upstream. Users debated practical attack vectors, noting GPGME's widespread use in package verification (though apt/dpkg were confirmed unaffected) and GitLab's exposure via signed commits. Several comments highlighted the broader implication of memory-safety issues in C/C++ codebases, with mentions of Sequoia-PGP as a Rust-based alternative. GitLab's omnibus patch was linked for reference.

6. Show HN: Zero C# – C# without a runtime or GC

HN discussion (119 points, 92 comments)

Zero C# is a fork of the bflat compiler that compiles C# directly to small native executables without a .NET runtime or garbage collector. The project preserves C#'s syntax, type checking, generics (including specialized copies per type and static abstract members), interfaces, records, tuples, lambdas, and parallel threading via a small custom library. Memory is managed through arena allocators that free all memory at once per lifetime, with strings and collections built on top of this model. The compiler enforces C# 15's updated memory safety rules. Hello World binaries are 11 KB on Windows and 40 KB on Linux. The same source targets Linux (x64/arm64), macOS (Apple Silicon), Windows x64, WebAssembly (WASI), and DOS on a 386 via the HX extender. Features removed include the garbage collector, .NET runtime, exception catching (throw terminates the program), reflection, and async/await. The project includes installation guides, a tutorial, and task-specific documentation.

HN commenters expressed significant skepticism about removing the garbage collector, with many arguing GC is a feature that enables focus on business logic rather than a bug, and that manual memory management via arenas risks leaks without customer demand. Several noted that NativeAOT already provides runtime-free deployment with GC, while Span, stackalloc, and unsafe code offer low-level control within standard C#. Comparisons were drawn to the Beef language and Rust/Zig as alternatives for native C#-like development. Critics questioned the fork's necessity versus simply pausing the GC, and highlighted missing ecosystem support (no reflection, limited strings, no GUI libraries). Supporters acknowledged niche value for game development and latency-sensitive domains, but the prevailing view was that the trade-offs—losing reflection, exceptions, async, and the broader .NET ecosystem—outweigh benefits for most use cases.

7. PostgreSQL Extensions in Go

HN discussion (112 points, 19 comments)

gopgext is a tool that enables building PostgreSQL extensions from plain Go code using TinyGo. Developers annotate Go functions with `//gopgext:function` comments, and gopgext generates the necessary C glue code, installation scripts, and control files. The project supports the Go standard library (fmt, regexp, encoding/json, crypto, maps, generics, iterators, defer/recover) and maps Go types to SQL types including strings, numbers, arrays, NULLs, sets, rows, timestamps, UUIDs, and JSON, with support for custom data and composite types. Extensions can execute SQL via SPI, return errors with SQLSTATE codes, log, read settings, and respond to query cancellation. Beyond functions, gopgext supports triggers, aggregates, GiST/GIN/SP-GiST/BRIN operator classes, index access methods, foreign data wrappers, and query hooks. Ports of PostgreSQL contrib modules (pgcrypto, hstore, pg_stat_statements, cube) pass upstream regression tests. Multiple Go extensions can load safely in one backend, with PostgreSQL errors never unwinding through Go frames and results copied into PostgreSQL memory. The tool follows the same architecture as gokm, which builds Linux kernel modules in Go.

Commenters noted the project's similarity to pgrx (a Rust-based PostgreSQL extension framework), with one user preferring pgrx despite acknowledging gopgext's appeal. Another referenced plgo, an existing Go-for-PostgreSQL project. A skeptical comment argued that LLMs eliminate the need to "shoehorn" languages into unsuitable environments, suggesting AI-generated PL/pgSQL is sufficient and that complex logic beyond PL/pgSQL indicates poor design. The same author's gokm project (Linux kernel modules in Go) was highlighted as a related effort. Minor feedback included a dark-mode visibility issue with code brackets and lighthearted commentary on Go's gopher mascot versus Rust's Ferris. One commenter questioned why new databases still carry historical baggage instead of starting fresh.

8. Verification files for the Lean proof of the Riemann Hypothesis

HN discussion (86 points, 33 comments)

Verification files for a Lean 4 proof of the Riemann Hypothesis and Generalized Riemann Hypothesis for Dirichlet L-functions have been published and independently checked. The proof, announced on November 20, 2026 by Andrew Sutherland (MIT), establishes five headline theorems in Lean's mathlib: the Riemann Hypothesis for the Riemann zeta function, and zero-free regions and critical-line results for all Dirichlet L-functions (primitive and non-primitive). The Lean source compiles without errors, depends only on Lean's three standard axioms, and has been replayed through the Lean kernel. Two independently written kernels (nanoda and con-leche) accept the full exported proof, and con-leche's comparator mode confirms all five theorems against the challenge statements. The export is 61.7 GB and requires ~100 GB RAM to verify. As an arithmetic sanity check, the proof was combined with an independent formalization of Robin's and Lagarias's criteria, yielding unconditional theorems about the divisor sum function. Several caveats are noted: the build was unsandboxed, per-file hashes depend on build directory paths, and the export has not been compared against a sandboxed lake build.

The top comment raises a "monoculture" concern: Claude (the AI) was used to commit to the Lean kernel, commit to the con-leche kernel, write the GRH proof, write the verification website, and is instructed on that website to verify its own proof—creating a potential single point of failure if malware were inserted into the kernels. Another commenter links to a parallel Hacker News discussion thread. A third commenter has built a tool (riemann-at-home) enabling distributed verification on home CPUs with a global leaderboard, lowering the barrier for independent replication.

9. Upload2Shell (CVE-2026-125396)

HN discussion (68 points, 25 comments)

A use-after-free vulnerability in Ghostscript's Type 1 font loader (CVE-2026-125396, dubbed "Upload2Shell") allows attackers to escape the `-dSAFER` sandbox and execute arbitrary commands as the rendering process user. Ghostscript underpins numerous file-processing workflows—print (CUPS), image conversion (ImageMagick), document preview, email attachment thumbnailing, and web upload handlers—creating a broad attack surface. Researchers confirmed unauthenticated remote code execution across multiple products: Debian CUPS (as `lp` via IPP print jobs), WordPress/Elementor (as `www-data` via upload fields), Roundcube (as `roundcube_sysuser` via email attachments), MediaWiki, Gradio, and others. The flaw was reported upstream (Artifex Bug 709684) and to downstream vendors. Ghostscript 10.08.0 fixes the root cause; Debian and Ubuntu backported patches (Debian 10.05.1~dfsg-1+deb13u3, Ubuntu USN-8949-1). Applications also mitigated entry points: WordPress patched the Author+ upload path (CVE-2026-65640), Roundcube restricted unsafe attachment types before ImageMagick conversion (CVE-2026-114727). Additional independent Ghostscript issues were found during the audit.

Commenters widely criticized the "Upload2Shell" branding and the article's fragmented timeline presentation, calling both unreadable and clickbait-like. A strong consensus emerged that Ghostscript is fundamentally insecure because PostScript is a full programming language and Ghostscript's `-dSAFER` sandbox has a long history of bypasses. Several noted that ImageMagick's default delegation to Ghostscript silently exposes many applications processing untrusted images. Practical mitigation suggestions included running Ghostscript in tight seccomp/landlock sandboxes with minimal syscall allowlists. While some defended the coordinated disclosure process, most argued the industry should move toward minimal, single-purpose libraries or heavy sandboxing rather than reactive per-CVE patching.

10. Advice for the next 100 Rust GUIs

HN discussion (44 points, 4 comments)

Raph Levien's follow-up to his 2022 post argues that Rust GUI development remains compelling due to persistent performance issues in cross-platform tools like Electron, platform toolkit stagnation, and rising RAM costs on mobile. While adoption has been slow — with Zed's GPUI as a notable exception — AI-assisted coding is reducing Rust's historical productivity penalty, making its safety and performance advantages more attractive. Levien assesses several technical areas: "native" UI is fragmented (Windows lacks a coherent strategy; SwiftUI has performance issues), so a viable mobile path uses native toolkits for UI with Rust business logic (as Shopify and Discord do). Text layout (via Parley) and accessibility (via AccessKit) are now solved infrastructure, though integration quality varies. The system compositor remains unsolved despite progress like the subduction library. Immediate-mode (egui) and retained-mode architectures serve different needs; immediate mode struggles with scaling, accessibility trees, and caching. Levien advocates for clearly defined modules separating design from execution, adapting but not slavishly following web standards, and optimizing via static/dynamic separation and layer compositing. His advice: be bold, build on solid foundations, use well-defined specs, and collaborate effectively with open source.

Commenters reflect divergent strategies for Rust GUI integration. One user reports strong subjective performance from ArtCraft (which uses egui), feeling native Rust UIs are a clear upgrade over JavaScript-based apps. Others advocate hybrid architectures: using C++/Qt for UI with Rust logic (referencing Mitcad), or Flutter for UI with `flutter_rust_bridge` for Rust integration. A dissenting view argues language debates are outdated — AI makes rewrites trivial across languages, so only performance imperatives and user experience matter, not the underlying technology. Together, the comments underscore that while Rust GUI tooling is advancing, many practitioners prefer pragmatic bridges to mature UI ecosystems over full-stack Rust solutions.


Generated with hn-summaries