AI Summarized Hacker News

Front-page articles summarized hourly.

Newly created Polymarket accounts win big on well-timed Iran ceasefire bets

New Polymarket accounts made targeted yes bets on a US–Iran ceasefire before it was announced, earning hundreds of thousands. Blockchain data via Dune shows at least 50 new wallets placed substantial bets on Tuesday; examples include a wallet created near 10am ET placing about $72,000 at 8.8¢, later cashing out for ~$200,000 profit, plus others winning $125,500 and about $48,500. Some bets labeled “disputed” by Polymarket due to ongoing tensions; payouts may be delayed. The pattern mirrors past profitable, well-timed bets and has spurred calls for broader insider-trading rules for prediction markets.

HN Comments

The Importance of Being Idle

Could not summarize article.

HN Comments

Building a JavaScript runtime in one month

Could not summarize article.

HN Comments

I built a tool to let you export your X bookmarks and categorize them

A page titled "X Bookmark Archive"—an archive of X bookmarks.

HN Comments

Six (and a half) intuitions for KL divergence

KL divergence D_KL(P||Q) measures how far the model Q is from the true distribution P. It’s non-symmetric and can blow up when p(x)>0 but q(x)≈0. The post outlines six intuitions: (1) Expected surprise, (2) Hypothesis testing, (3) MLEs, (4) Suboptimal coding, (5A/5B) Gambling the house and lottery, (6) Bregman divergence. Final takeaway: large D_KL(P||Q) means Q is a poor model of P—it quantifies how much P and Q differ in the world where P is true.

HN Comments

Little Snitch for Linux – Because Nothing Else Came Close

Christian describes building Little Snitch for Linux to reduce dependence on vendor-controlled updates. Using eBPF for kernel-level traffic interception, Rust for core logic, and a web UI, it lets you monitor and block connections from Linux or a remote server. It’s privacy-focused, not a security tool. In tests on Ubuntu, only a few system processes connected over a week (about 9) versus macOS over 100; Firefox still contacted trackers, while LibreOffice made no network connections. Backend is proprietary; kernel component and UI are open source (GPLv2). Works on 6.12+; tested on Ubuntu 25.10/6.17; contributions welcome; free to use.

HN Comments

Automatic registration for US Military draft to begin in December

Could not summarize article.

HN Comments

What Does It Mean to "Write Like You Talk"?

Exploring what “write like you talk” means, the piece contrasts spoken and written English. It surveys views from Paul Graham, Orwell, and others on how writing can be more complex and distant, yet readers need metadiscourse to stay oriented. It reviews studies comparing speech and writing, noting that speech can have more subordination while writing is lexically denser with implicit relations via noun phrases. The takeaway: avoid pretentious jargon and endless digressions; aim for clear, conversational tone without sacrificing precision.

HN Comments

LittleSnitch for Linux

Little Snitch for Linux helps you see and control outbound network connections. It shows which Linux apps talk to which servers, lets you block uninvited connections, and tracks data usage over time. It uses eBPF to observe the kernel, feeding a daemon and a web UI (accessible at http://localhost:3031/). Requires Linux kernel 6.12+ with BTF. You can manage blocklists (domain/host/CIDR formats; exclude regex), write per-rule controls, and secure the UI with authentication and TLS. Note: not a security tool; eBPF limits may affect attribution; parts are GPLv2; the daemon is proprietary but free to use.

HN Comments

Show HN: Tired of logic in useEffect, I built a class-based React state manager

I built Snapstate to move business logic out of React components into plain TypeScript classes. React renders, but app logic lives in stores. Hooks often become application services tied to React, making testing and reuse harder. Snapstate uses class-based stores with explicit updates; React is an adapter. Example: AuthStore handles login/logout; DashboardStore derives userId, loads data, mutates; UI becomes dumb view. Testing is easier: test stores without render harness. Consequences included scoped stores, form stores, and URL synchronization. Open source on GitHub, alpha, npm install @thalesfp/snapstate.

HN Comments

Who is Satoshi Nakamoto? My quest to unmask Bitcoin's creator

Could not summarize article.

HN Comments

John Deere to pay $99M in right-to-repair settlement

John Deere will pay $99 million into a fund for farmers and others who paid authorized dealers for large equipment repairs since Jan 2018, in a landmark right-to-repair settlement. The deal grants third parties access to digital diagnostic, maintenance, and repair tools for 10 years, addressing past issues where farmers hacked software. Plaintiffs may recover roughly 26%-53% of overcharge damages. A judge must approve. Deere also faces an FTC lawsuit over alleged repair-lockdown practices. The settlement could influence other industries and reflects a growing right-to-repair trend.

HN Comments

What does ⍋⍋ even mean? (2023)

Rigorous Nonsense argues that ⍋ (Grade Up) and ⍒ (Grade Down) are not merely slow permutations but the Rank and ReverseRank functions on array items. An item is a first-axis subarray; rank(y) is its position when Y is sorted ascendingly (TAO order). The i-th output of ⍋Y is the item with rank i, so ⍋Y implements the Rank permutation; ⍒ yields ReverseRank. The four combinations ⍋⍋, ⍋⍒, ⍒⍋, ⍒⍒ correspond to ascending/descending with Rank/ReverseRank. Rank+ReverseRank is constant (except for equal items). Connects to Mansour's AverageRank.

HN Comments

Show HN: Is Hormuz Open Yet?

Could not summarize article.

HN Comments

Pgit: I Imported the Linux Kernel into PostgreSQL

Imported the Linux kernel history into pgit (PostgreSQL-based Git history) with 1,428,882 commits, 24,384,844 file versions, 20 years, and 171,525 paths. Import took 2h 0m 48s on a 24-core server; on-disk footprint ~6.6 GB; actual data ~2.7 GB (1.95 GB after git gc --aggressive). pgit’s xpatch delta compression reduced text from 123 GB to 1.1 GB (≈114x). Data is SQL-queryable in seconds, revealing author/committer stats, merge activity, file coupling, weekend work, and more. Top committers: Linus Torvalds, David S. Miller, Greg Kroah-Hartman.

HN Comments

The AI Great Leap Forward

The article argues that today’s AI adoption push mirrors the Great Leap Forward: top‑down mandates to close the AI gap, focusing on dashboards, agents, and speed over solid ML practice. It warns flashy tools produce demoware—clean interfaces and working endpoints without proper evaluation, data infrastructure, or monitoring. It draws parallels: middle managers (the sparrows) are eliminated, risking loss of context when locusts come; a Hundred Flowers‑like push to codify expertise as agent skills can harden into self‑replacement. Real value lags; metrics mislead; a famine may follow.

HN Comments

Expanding Swift's IDE Support

Swift expands IDE support beyond Xcode and VS Code to include Cursor, VSCodium, AWS Kiro, and Google’s Antigravity. Using the Open VSX Registry, the official Swift extension provides code completion, debugging, a test explorer, DocC support, and Swift Package Manager integration across macOS, Linux, and Windows. This lets agentic IDEs automatically install Swift with no manual download. To get started, install the Swift extension from the Open VSX marketplace in any compatible editor; Cursor users can follow a dedicated setup guide.

HN Comments

Science confirms torpedo [baseball] bat works as well as regular bat

WSU-led lab tests show torpedo bats perform as well as standard maple bats in hitting power. Two standard and two torpedo bats with equal swing weight were tested using an air cannon and sensors to measure the ball-bat coefficient of restitution. Result: nearly identical power, with the torpedo bat’s sweet spot about a half-inch farther from the tip. Ball exit speed at the torpedo sweet spot was slightly slower, but the wider barrel could increase contact frequency and raise batting average for some players. Findings by Lloyd Smith, Alan Nathan, Daniel Russell; to be presented at the ISEA conference in June.

HN Comments

Show HN: Skrun – Deploy any agent skill as an API

skrun turns any Agent Skill (SKILL.md) into a callable API via POST /run. Open-source, multi-model, stateful, with a RuntimeAdapter architecture. The CLI (skrun) supports init, dev, test, build, push, deploy, and registry workflows. Skills are defined by SKILL.md and agent.yaml; runtime config includes model, inputs/outputs, permissions, and state. Each agent is a typed API; tool-calling via CLI tools or MCP servers. Demos show POST to /run with a bearer token. Providers include Anthropic, OpenAI, Google, Mistral, Groq with automatic fallback. Cloud deployment is on the roadmap.

HN Comments

USB for Software Developers: An introduction to writing userspace USB drivers

USB for Software Developers explains how to driver USB devices from user space using libusb, using an Android phone in fastboot as an example. It covers enumerating devices (VID:PID, lsusb), device classes, and how the host obtains descriptors via GET_DESCRIPTOR on the control endpoint (0x00). It explains endpoints, including Control, Bulk, Interrupt, and Isochronous transfers, and IN/OUT direction. It shows how to talk to a device with libusb (hotplug, open, claim interface, control and bulk transfers) and demonstrates a simple Fastboot protocol: host sends text commands, device replies with a 4-char status and data (e.g., getvar:version -> OKAY0.4).

HN Comments

Made by Johno Whitaker using FastHTML