AI Summarized Hacker News

Front-page articles summarized hourly.

Every invoice in Brazil's economy runs on SOAP 1.2. We mapped it all

Coleção Postman completa dos webservices da SEFAZ (NF-e, NFC-e, CT-e, MDF-e) com SOAP 1.2 e mTLS com e-CNPJ. Inclui configuração de certificados, URLs de produção/homologação, variáveis {{url}} e instruções para assinatura XMLDSig. Distribuições DFe (CT-e, MDF-e, NF-e) testadas em produção (cStat 137). Diferenças por serviço: CT-e e MDF-e têm particularidades de distribuição; NF-e igual ao CT-e com cUF autor. Geração de inventário com gen_inventario.py e build_collection.py. Mantido pela Stoix; MIT.

HN Comments

Ex-FTC boss Khan: break out the handcuffs for AI CEOs, citing 1934 precedent

Ex-FTC chair Lina Khan argues the federal government can use existing laws to curb AI risk, citing the 1934 FTC v. Keppel precedent that competition can be unfair when firms must adopt dangerous practices to keep up. She says laws on dangerous products and unfair competition can hold AI companies and executives accountable for releasing unvetted or defective models. She notes incidents involving OpenAI, Anthropic, and Hugging Face as examples and warns industry concentration raises risks. With political resistance to new regulation, enforcement may rely on current statutes rather than new regimes.

HN Comments

Show HN: Redis City – Explore how Redis works in an interactive 3D model

Could not summarize article.

HN Comments

4,400-Year-Old Tomb of Egyptian Judge Found at Saqqara with Colors on Walls

At Saqqara, archaeologists uncovered a 4,400-year-old mastaba for senior official Younmin and his father Ity, dating to the late Fifth Dynasty under Djedkare Isesi. The two-chapel tomb preserves vividly colored reliefs: Younmin’s northern chapel with agricultural scenes and processions, and Ity’s southern chapel with offerings and a false door. The burial highlights the Old Kingdom administration—Younmin as judge, court director, and head of scribes; Ity managed land and offerings—linking state machinery to funerary practice. The site, in the Mariette Cemetery, has benefited from renewed Spanish‑Egyptian and Czech work since 2022–23, with modern documentation and pigment stabilization.

HN Comments

People who can't picture anything are rewriting the science of imagination

Could not summarize article.

HN Comments

Dropping eBPF CPU Cost by About 90% with Memoization (Not AI Gen)

Authors optimized their eBPF security agent by memoizing the policy decision per inode. Previously each file open walked the full path up dentries, repeating work. They added an inode-based LRU cache (mntns_id, mount_id, inode) storing an access_index and state. On a cache hit, enforcement uses the cached policy; on a miss, the slow path runs and the result is cached. In benchmarks (200k opens) kernel cycles dropped from 28B to 3.03B. They skip caching for inodes with nlink != 1 (hardlinks). The repo is open source at bomfather/agent.

HN Comments

Show HN: Macros with a Behringer FCB1010 MIDI Pedalboard in macOS

fcbnerd is a macOS command-line tool to use a Behringer FCB1010 MIDI pedalboard. It connects to CoreMIDI sources, and can either print one JSON object per event or stream events to another program. Bind actions to MIDI messages with patterns like channel:controller:value or pc:channel:program using --bind; commands run in /bin/sh -c and can access MIDI_* environment vars. It supports simulation, listing sources, and streaming to other tools; no extra permissions are required. Install via Homebrew tap JamesRyanATX/tap/fcbnerd or build from source. MIT license.

HN Comments

Charts built for Chat

dbt Labs open-sources dbt Charts, a YAML-based language that declares full interactive dashboards in code and can be authored via chat with an agent. It unbundles charts from traditional BI tools, using SQL for data and YAML/Markdown/Jinja for layout and logic. The language integrates deeply with dbt, placing charts next to models for single-branch CI, and supports extensive config, 16 chart types, and board inheritance. The CLI renders boards to SVG/HTML/PNG/PDF/terminal. They also launched dbtCharts.com, a hosted platform with conversational analytics and access control. The language is open source under Apache 2.0 and evolving.

HN Comments

Compressing a Flag to 11 Bits

Explores a compact flag encoding using Huffman trees and a layered model (aspect ratio, color palette, stripes, shapes, regions) to represent national flags in bits. Criteria: recognizable designs, no state/coats-of-arms flags, no Nepal; excludes non-rectangular shapes. Encoding uses per-element Huffman trees and long-tail placeholders; layers define stripes, shapes, bands, regions. Example: Indonesia 2:3, two-color palette, one horizontal-stripe layer; bits 0 10 00 01 0 0 0 0; base64 "QgA="; average 76 bits, median 55; Qatar 420 bits longest. Implementation: encoder/decoder and SVG renderer; 470-line TS; 5.29 kB; 128 flags encoded, 67 not encodable; see miniflags project.

HN Comments

Backprop Alternative: Augmented Lagrangian Predictive Coding

Augmented Lagrangian Predictive Coding (PC-ALM) replaces backprop with layer-local dynamics by adding per-layer Lagrange multipliers to predictive coding. Each layer maintains a primal variable h and a dual variable λ; inference minimizes the augmented Lagrangian via local updates, and weights W are learned from shifted prediction errors. PC-ALM enables training of deep networks (up to 1000 layers) with near-backprop performance using only local communication. In linear nets the duals recover exact gradients; in nonlinear nets it narrows the BP gap, outperforming standard PC, with ballistic credit propagation and damped oscillations. Potential for neuromorphic hardware and brain-inspired credit assignment.

HN Comments

Optimizing a Spin-Lock

Optimizing a Spin-Lock demonstrates a stepwise refinement of a spin-lock. V1 uses a naive atomic_bool exchange; under contention it slows and wastes energy. V2 adds memory_order_acquire/release, reducing misses and power. V3 introduces a read-only spin with _mm_pause and relaxed loads, further lowering latency and energy. V4 adds exponential backoff to desynchronize waiters, delivering the best results (e.g., 4 threads around 43 ns and ~12 J). The takeaway: use std::mutex by default; spin-locks help only on pinned threads after careful measurement, or use seqlock for many readers.

HN Comments

Amazon vs. Perplexity – U.S. Court of Appeals for the Ninth Circuit

Could not summarize article.

HN Comments

Dario, Please

An opinion-rich critique of Dario Amodei’s blog 'We Must Pace the Frontier' that labels his warnings as fear‑mongering and self‑serving; arguing frontier labs seek regulation, antitrust waivers, and tighter gating while claiming to defend democracy. The author alleges OpenAI/Anthropic misconduct, exposes a string of incidents, and mocks ‘RSI’ and ‘AGI top’ hype. It questions the use of external evaluators like METR and defends open testing, warns against censorship and distillation bans, and condemns China‑focused policy as exploitative, framing AI governance as akin to arms control rather than corporate protectionism.

HN Comments

Oracle's Cold 6AM Layoff Emails Hit Staff Amid New Wave of Cuts

Oracle launched another round of layoffs in 2026, notifying staff via 6 a.m. termination emails as part of a broad restructuring. The company hasn’t disclosed how many were affected in this round, but fiscal 2026 cuts reduced about 21,000 jobs (≈13%), with ~141,000 employees before the latest layoffs. The restructuring cost rose by about $700 million to roughly $2.8 billion. Severance will be provided per the plan. Access to systems was cut early, and social-media posts documented abrupt terminations. Oracle has not said whether AI initiatives absorbed the roles.

HN Comments

A Beginning for Mathematics

AI will soon be superhuman at much of mathematics, but human understanding remains vital. Litt proposes radical reform of mathematical practice: redefine goals beyond proving theorems to producing and conveying high-quality mathematics and mathematicians; adapt PhDs to a defense-based, topic-expert model (AI allowed, provenance irrelevant); reward understanding, question-asking, and ability to build research programs; emphasize seminars, public mathematical thinking, and deliberative admissions. Leave room for both AI-enabled and traditional work, while updating incentives and institutions to maintain human expertise.

HN Comments

GPT-5.6 Luna vs. GPT-6 Astra: Is a $1.20 Model Good Enough for Code Review?

On 50 public PRs, GPT-5.6 Luna cost about $0.20 per run vs GPT-6 Astra at $5.66. Luna found 69 verified bugs; Astra 92. Luna’s precision was 74% vs 96% for Astra; mean review time 23s vs 36s. Luna produced more output tokens but far cheaper per verified bug ($0.0030 vs $0.061). Luna missed more security/authentication issues but found 25 bugs Astra missed. Overall, Luna captured about three-quarters of Astra’s verified bugs at under 4% of the cost; running both yields more coverage but more noise.

HN Comments

Neo Emacs – Emacs from the Future

A discussion of NEO Emacs, a futuristic take on the Emacs editor.

HN Comments

Show HN: Apollo Lunar Module landing simulation

An interactive Apollo Lunar Module descent simulator recreating braking (P63), approach (P64), and final descent (P66, with manual throttle in COMMANDER mode via P67). It uses a DSKY-style Display and Keyboard, LPD target readouts, and a ground view tied to real LROC terrain data around Apollo 11’s touchdown. Players read terrain, control attitude and thrust, null drift, and time engine cut for a soft landing. Keyboard-only, not mobile; built with three.js.

HN Comments

Things That Annoy Me About Cars

A 2026 rant about EV design flaws in Australia: panoramic glass roofs causing heat, lack of physical controls, reliance on smartphones/NFC for entry, awkward door handles, poorly calibrated ADAS, and few one-pedal driving options. After searching models under $65k with 400km+ range and seat memory, only the 2026 Skoda Elroq Select 60 MY27 with Signature Pack fits most criteria (about $56k, 406km): normal door handles, no glass roof, 360° camera, and full one-pedal driving, though climate control remains touchscreen-dependent.

HN Comments

Transitions.dev: UI transitions for AI agents

Transitions.dev is a repository of essential UI transitions for web apps, offering ready-to-use CSS/React demos for common UI animations—cards, numbers, modals, panels, toasts, skeleton loaders, text reveals, icon swaps, dropdowns, tabs, draggable interactions, and more. The site provides a 'Skill Refine' tool and a Pro version, highlights practical advice on animation performance (e.g., avoiding mask-position repaint costs; leave the paint path for expensive effects). It also features articles, sponsorship info, and credits to creators Jakub Antalik and Emil Kowalski.

HN Comments

Made by Johno Whitaker using FastHTML