Hacker News

Latest

Snowball Earth may hide a far stranger climate cycle than anyone expected

2026-04-30 @ 22:18:57Points: 34Comments: 4

Show HN: Pu.sh – a full coding-agent harness in 400 lines of shell

2026-04-30 @ 20:55:12Points: 66Comments: 19

First cut was 6 KB of shell. Great for one-shots, unusable interactively. I was shocked it actually worked.

Started building up -- adding features — but with a self-imposed rule: no new dependencies, and sub 500 LOC. This thing had to be truly portable. Just sh, curl, awk. System primitives only.

Which means I did some genuinely disgusting things in awk, including JSON parsing and the OpenAI Responses tool loop with reasoning items carried across turns.

It's now ~400 lines. In the box: Anthropic + OpenAI, 7 tools (bash, read, write, edit, grep, find, ls), REPL, auto-compaction, checkpoint/resume, pipe mode, 90 no-API tests. Not in the box: TUI, streaming, images, OAuth, Windows, dignity.

Two honest things:

1. I stole/modified the system prompt and the architecture. Pi/Claude/Codex wrote the awk. I cannot read most of this code. This wasn't possible for me a year ago.

2. Heavily inspired by Pi (pi.dev) — same 7-tool surface, same exact-text edit model. Credit where it's due. Pi is awesome -- you should probably use them.

The agent loop itself is tiny. Almost everything else in a "real" agent CLI is DX and hardening. You can probably build your own harness exactly how you like it. Mario Zechner's AI Engineer talk on taking back control of your tools nudged me here.

The name is because it's a .sh file. The other thing it sounds like is, regrettably, also accurate.

SimpleX Channels, SimpleX Network Consortium and Community Crowdfunding

2026-04-30 @ 20:49:21Points: 17Comments: 1

Hackers are actively exploiting a bug in cPanel and WHM

2026-04-30 @ 20:43:57Points: 26Comments: 2

Rivian allows you to disable all internet connectivity

2026-04-30 @ 20:27:22Points: 467Comments: 177

The upsell game – Vercel upselling tactics revealed

2026-04-30 @ 20:02:35Points: 90Comments: 13

LinkedIn scans for 6,278 extensions and encrypts the results into every request

2026-04-30 @ 19:40:20Points: 409Comments: 184

Follow-up to Carrot disclosure: Forgejo

2026-04-30 @ 19:22:55Points: 42Comments: 7

Does Postgres Scale?

2026-04-30 @ 18:45:22Points: 80Comments: 31

Full-Text Search with DuckDB

2026-04-30 @ 18:14:18Points: 87Comments: 19

Recovering files from beyond the grave using PhotoRec

2026-04-30 @ 17:42:11Points: 52Comments: 11

I built a Game Boy emulator in F#

2026-04-30 @ 17:14:21Points: 208Comments: 47

CopyFail was not disclosed to Gentoo developer

2026-04-30 @ 16:43:47Points: 362Comments: 288

Copy Fail - https://news.ycombinator.com/item?id=47952181 - April 2026 (466 comments)

How Mark Klein told the EFF about Room 641A [book excerpt]

2026-04-30 @ 16:41:00Points: 418Comments: 124

Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library

2026-04-30 @ 16:09:26Points: 319Comments: 105

Spain's parliament will act against massive IP blockages by LaLiga

2026-04-30 @ 15:31:40Points: 405Comments: 171

Durable queues, streams, pub/sub, and a cron scheduler – inside your SQLite file

2026-04-30 @ 14:43:02Points: 178Comments: 50

Claude Code refuses requests or charges extra if your commits mention "OpenClaw"

2026-04-30 @ 14:36:58Points: 943Comments: 529

How an oil refinery works

2026-04-30 @ 13:54:20Points: 319Comments: 95

I aggregated 28 US Government auction sites into one search

2026-04-30 @ 12:24:53Points: 240Comments: 72

Belgium stops decommissioning nuclear power plants

2026-04-30 @ 12:17:14Points: 746Comments: 688

Granite 4.1: IBM's 8B Model Matching 32B MoE

2026-04-30 @ 10:31:17Points: 279Comments: 173

Mozilla's opposition to Chrome's Prompt API

2026-04-30 @ 07:43:55Points: 591Comments: 217

Opus 4.7 knows the real Kelsey

2026-04-29 @ 17:09:03Points: 135Comments: 69

Compositing and Blending – Exploring the math and intuition behind blend modes

2026-04-29 @ 11:46:05Points: 14Comments: 1

A Milestone in Formalization: The Sphere Packing Problem in Dimension 8

2026-04-28 @ 23:43:07Points: 12Comments: 0

The Church Rock Uranium Mill Spill

2026-04-28 @ 19:13:26Points: 59Comments: 4

Reverse Engineering SimTower

2026-04-28 @ 17:41:38Points: 112Comments: 17

https://towers.world, a ~perfect, tick-for-tick reproduction of 1993 game SimTower.

I spent weeks reverse-engineering the original EXE and writing up a detailed spec of how the simulation actually works under the hood — population flow, elevator AI, the whole star-rating system. The specs are all on GitHub if you want to read them: https://github.com/phulin/tower-together/tree/main/specs

It's also collaborative. Multiple players can connect to the same tower, the simulation keeps running as long as anyone's connected, and build actions sync across clients in real time.

Because I rebuilt the UI, I could add features like shift-click to build grids of rooms - instead of painstakingly clicking to build rows of offices and hotels, shift-click allows a 10-floor grid to be built all at once.

The game runs on Cloudflare Durable Objects, one of my favorite web primitives.

Everything is open source: https://github.com/phulin/tower-together

New mechanical panoramic film camera from Jeff Bridges

2026-04-28 @ 16:49:12Points: 72Comments: 31

You can beat the binary search

2026-04-27 @ 17:52:12Points: 253Comments: 118

Archives

2026

2025

2024

2023

2022