AI Summarized Hacker News

Front-page articles summarized hourly.

Mortality associated with non-optimal ambient temperatures from 2000 to 2019

The study quantifies global, regional, and national mortality burdens attributable to non-optimal ambient temperatures from 2000 to 2019, using a three-stage modelling framework.

HN Comments

Show HN: QR code renderer in a TrueType font

Jim's TrueType QR Code Font turns bracketed text into QR codes during shaping, with no separate image step. Type [hello], apply the font, and the QR code renders as text that can be copied, pasted, saved as plain text, or mixed with regular text. Text outside brackets remains readable. Browsers may wrap QR blocks; to render reliably, wrap the block in a no-wrap container or inline-block. Font variants: 1-L up to 17 chars, 2-L up to 32, 3-L up to 53. ASCII in brackets; page offers downloads and source.

HN Comments

A complete ClickHouse OLAP engine, compiled to WebAssembly

Overview of the chDB SQL Shell, highlighting new import examples and an input area to enter SQL queries.

HN Comments

ZCode: Claude Code from the Makers of GLM

ZCode 3.0 深度适配 GLM-5.2,将 AI Agents 与现有工具链整合,覆盖规划、编码、评审与上线。以 gomoku-ai 为例,展示可离线运行的浏览器五子棋:15×15 棋盘、四向连线判定、启发式 AI 下棋、局面高亮与回合追踪,并提供 AI 关注区域。还涉及零起点实现、发布流程、跨平台下载、定价套餐,以及 GLM-5.2 的深度集成与产品能力。

HN Comments

Show HN: LIBR tracing with source ledger rows and byte-exact PDF verification

LIBR State Machine Engineering Note presents a deterministic ledger model that replays ordered transactions to compute a traceable balance after dips, using rules such as traceable_after = min(traceable_before, account_balance_after) and non-replenishment after dips. It covers stateful replay, boundary conditions, invariants, and same-day ordering modes (ledger, best_case, worst_case) to resolve intraday ambiguity. The public artifact includes a synthetic ledger, Python calculator, and regression tests; the product extends this primitive with private workflows, attestations, and audit-ready workpapers. Educational, not legal advice.

HN Comments

Show HN: Pglayers – PostgreSQL extensions as stackable Docker layers

pglayers provides ready-to-use PostgreSQL Docker images with extensions (e.g., pgvector, PostGIS, pg_cron) pre-installed as minimal layers on the official Postgres image, or a modular approach to build your own image by stacking per-extension layers via COPY --from. No compilation. Available for PG 17–19 (PG19 best-effort). Profiles include full and azure; custom profiles via profiles directory. Images are multi-arch (linux/amd64, arm64). Configuration notes include shared_preload_libraries and CREATE EXTENSION in each database. Licensing uses permissive OSS; some extensions (PostGIS, pgRouting) GPL-2.0. Detailed build/test automation and contribution guidance are provided.

HN Comments

My OSCP Pentesting Cheatsheet

An OSCP pentesting cheatsheet by HackerAsk with practical commands used during OSCP prep and the exam. It advocates per-target organization with .env files (TARGET_IP, TARGET_DOMAIN, myip) and copy aliases, plus tmux. It covers broad enumeration (network/port scans, banner grabbing, web apps, LDAP/SMB/RPC, DNS/IMAP), service workflows (FTP/SSH/Telnet/SMTP/HTTP/WordPress), and Windows post-exploitation (Mimikatz, Kerberoasting, LAPS). It includes reverse-shell payload generation, Ligolo, file transfer, and common credential techniques. CC BY 4.0.

HN Comments

Hanami 3.0: In Full Bloom

Hanami 3.0 adds first-class mailers, built-in i18n, and Minitest support, with faster performance via memoized components and fewer allocations. Logs are clearer and asset watching improved. Body parsing moves into Hanami Action; views become undecorated by default. Cleaner foundation with hanami-action (replacing hanami-controller) and tighter integration with dry-validation, plus Ruby 3.3+ compatibility. New generators, upgrade notes from 2.3, improved redirects, and composite settings. Upgrade guide available; community sponsorship encouraged.

HN Comments

Building Gin: Simple over Easy

Manu recounts Gin’s design as a response to Martini and net/http: keep APIs simple, explicit, and fast by hiding work behind one Context, avoiding on-path reflection, and using a radix-tree router for O(length of URL) lookups. It balances minimal magic with practical helpers and is designed for zero-breaking changes and ecosystem compatibility. Growth came via Go users and Hacker News, and Gin matured under maintainers (Bo-Yi Wu, Javier Provecho) into a widely adopted project with many dependent projects.

HN Comments

What to Learn to Be a Graphics Programmer

Becoming a real-time graphics programmer splits into two tracks: CPU-side (learning explicit APIs like DirectX 12, Vulkan, Metal and engine support) and GPU-side (the math of lighting/shading, rendering techniques, shadows, AO, post-processing, and GPU performance). If you focus on GPU work, start with simpler CPU back-ends (OpenGL/WebGL, DirectX 11); for CPU, get a triangle then a mesh. Core path includes path tracing and Physically Based Rendering (PBR). Key resources: Ray Tracing in One Weekend; LearnOpenGL PBR; Filament; PBRT. Math: linear algebra, basic trig, some calculus; data structures; C++ is dominant; shaders: HLSL/GLSL; WebGPU trends.

HN Comments

Solid and Clean Code never felt solid or clean to me

Daniel argues that SOLID and Clean Code don’t feel solid or clean, viewing much guidance as dogmatic and marketing-driven rather than universally sound. From his broad reading to a bewildering interview, he criticizes Uncle Bob’s talks as filler-heavy and manipulative, and lampoons overreliance on acronyms (SOLID, DRY, CAP, EBITDA) as distractions from substance. He contends software engineering culture is subjective and context-dependent, and favors practical, readable code over branded ideals.

HN Comments

Show HN: PMB – local memory for coding agents that shows if it is used

PMB provides local-first memory for AI coding agents. All memory lives on disk in a single SQLite file (vectors in LanceDB), offline with no telemetry or API keys. It wires into MCP-aware agents (Claude Code, Cursor, Codex, Zed) with one command, injecting memory before thinking and journaling after. Read ~35 ms; writes <1 ms; recall uses hybrid BM25 + dense + graph, with auto-pruning of unhelpful lessons. Apache-2.0, open source, free forever. Quickstart: pip install pmb-ai; pmb connect; pmb dashboard.

HN Comments

Fixing a kubelet memory leak in Kubernetes 1.36

On a small Kubernetes 1.36 node, kubelet memory grew due to a Go context leak in startPodSync. A 1.36 change started using WithCancel(parentCtx), overwriting the previous cancel and leaving child contexts alive across pod reconciliations. Heap profiling showed nearly a million leaked contexts as the main culprit. The fix reverted the change for now, with broader cleanup planned; patch merged into master and backported to 1.36. Lessons: heap profiling is powerful; monitor context lifetimes and long-running goroutines in production.

HN Comments

Apple 'Hide My Email' Vulnerability Reveals Peoples' Real Email Addresses

EasyOptOuts reports vulnerabilities in Apple's Hide My Email that could reveal a real address behind a generated one. They notified Apple starting June 2025; Apple claimed fixes were in place, but later testing showed the flaws persisted. By June 30, 2026, verification again found no fix. The researchers warn Hide My Email may not fully protect users and suggest measures like pausing new address creation and tighter disclosure, urging Apple to resolve the issue promptly.

HN Comments

Show HN: GolemUI – The new paradigm for JavaScript forms

GolemUI is a declarative, schema-driven form engine that renders forms across React, Angular, Lit, Vue from a single JSON schema. It supports JSON DSL serialization, accessibility (WCAG/ARIA), i18n, validation (including Zod-based), and theming. Forms are portable JSON definitions that can be stored in CMS or databases, versioned, and even generated by LLMs. It provides 28 widgets, a gui.* builder for reusable blocks, and "bring your own" options for frameworks, component sets, validators, and i18n adapters. The docs showcase the same form across frameworks.

HN Comments

Ray Tracer in SQL

RayTracer is a ClickHouse SQL-based ray tracer that renders scenes entirely in SQL and outputs PNGs, with no UDFs. Each pixel is a row; a single query computes all pixels and samples via per-pixel ray marching plus CSG primitives (cylinders, tori, spheres) and a terrain from noise, with shading, shadows, and fog. Scenes include a ClickBulb and Pixar homage; text rendered from a bitmap font. The project generates queries with Python and runs via clickhouse local, parameterized by width, height, and SAMPLES. Inspired by Andrew Kensler and Paul Heckbert.

HN Comments

Meta loses bid to dismiss US states' claims that FB, Instagram addict children

Could not summarize article.

HN Comments

1-Bit Pixel Art Emojis

After his first son arrived in 2018, James Weiner pivoted from the Mount Fuji pixel-art project to quick 1-bit emoji art, drawn for the constraint and retro icon feel. In Summer 2019 he recreated 42 Apple-style emojis in 1-bit before tiring. The works are licensed CC BY-NC-ND 4.0; credit and a link are requested if reused. Made on a Macintosh; ©2017–26 James Weiner.

HN Comments

The C to Rust migration book

Mainmatter's The C to Rust Migration Book presents a self-paced course for migrating C code to Rust without risking existing systems. It covers FFI fundamentals (C ABI, extern blocks), moving primitives and data across boundaries with bindings tools (bindgen, cheadergen), safer FFI types (NonNull, Option, newtypes, enum discriminants), input validation at the boundary, error handling and API design, and production-quality FFI with documentation and invariants. It aims to help maintain a safe mixed C-Rust codebase and incremental migrations. Authored by Jonas Kruckenberg; offered by Mainmatter, which provides Rust migration training and services.

HN Comments

How We Made IPFS Content Publishing 10x Faster

ProbeLab's Optimistic Provide speeds IPFS publishing by changing the DHT provide operation. Traditional approach waits for three of 20 closest peers in a DHT Walk before pushing records, causing 13–20s latency. The method estimates network size from routing-table refresh, uses predictive termination to stop the walk when 90% confident the discovered peers include the 20 closest, and returns control after a subset (e.g., 15) of 20 confirmations; the rest proceeds in background (Reprovide Sweep). Results: sub-second PUTs (~0.7s), >40% overhead reduction, maintained availability. Limitations: estimate accuracy, undialable peers, cold start. Suggestions: filter private IPs, persist size. Encourages adoption.

HN Comments

Made by Johno Whitaker using FastHTML