Thanks! First version was clunky, and hot-linked all cover images. Right now its plain JS and static JSON files, hosted on Cloudflare. First load pulls a ~30kb index of the top books, the full 16k list loads in the background, and everything has hashed filenames so it's cached forever. Covers are on R2. The data pipeline is python + duckdb over the HN dump.
And fair on the post, I had claude draft it and only edited it a couple of times. Should have just written it myself.
i'm on a performance grind rn so also looked into it. claudeslop disclaimer below:
Hacker Books painted in 0.48 seconds on a fresh mobile visit. The first book cards were in the DOM by 0.79 seconds, and the largest visible image painted at 1.52 seconds. On a repeat visit, that image painted in 0.21 seconds.
Homepage median Fresh browser cache Repeat visit
First byte 112 ms 86 ms
First contentful paint 480 ms 168 ms
First book cards inserted 793 ms 188 ms
Largest contentful paint 1,520 ms 212 ms
Three runs per condition in Chrome at 390 × 844, with 1.6 Mbps download, 120 ms emulated latency and 4× CPU slowdown. These are navigation-start lab timings from one location. All three fresh visits beat your 1.5-second FCP target. Hacker Books
What makes it feel fast
- The first screen needs very little code. The HTML is about 3 KB, its single blocking stylesheet 5 KB, and its vanilla JavaScript module 26 KB, all gzip-compressed. The HTML contains the header, search box and navigation, so those can paint before the catalog arrives. There’s no React runtime to download or hydrate.
- They publish a small answer to the first query. The homepage preloads a 33 KB index of the top 600 books alongside the app code. The full 692 KB index of 15,362 books loads in the background. Once it arrives, browsing and search can reuse it locally. Covers are 320 px WebPs, and additional cards render in batches as you scroll.
- A book click can show the title immediately. The app changes the URL hash, renders the book information already in memory, then fills in comments and related material from a per-book JSON file. Hovering or focusing a card for 80 ms starts that fetch early. Repeat visits reuse the result. This is targeted data prefetching; it costs much less than prerendering an entire destination.
- Cloudflare helps on both visits. My HTML request was a cache HIT at Cloudflare’s San Jose edge. The versioned CSS, JS and index files advertise a one-year immutable browser cache. Chrome recorded zero transfer bytes for those files on all three repeat visits. HTTP/3 was real, too: two fresh visits negotiated H3 and one negotiated H2. All three painted within 468–500 ms, so the site was fast on either protocol in this sample.
- Open Graph handles sharing. The title, description and URL tags describe the site to link-preview crawlers. They don’t accelerate rendering. The page also includes Cloudflare Web Analytics.
Related: Aaron Swartz (RSS, Creative Commons, Reddit, Markdown) was charged with unauthorized computer access and pirating copyrighted academic articles.
They threw the book at him. He was charged and faced a maximum of 50 years in prison.
OpenAI committed very similar crimes on a much larger scale, yet the most they will see is civil litigation.
Insiders have called it the largest theft of labor ever in history[1].
In the USA, corporations enjoy constitutional protections, the right to free speech etc, yet they are rarely if ever charged with crimes. For examples, see how the courts handle:
* large scale systematic wage theft by corporations vs petty theft by an individual,
* negligence infecting a 10k Americans with HIV by selling known-to-be-contaminated blood products (Bayer)
>They threw the book at him. He was charged and faced a maximum of 50 years in prison.
But they offered him 4 months in a plea deal? You could argue they "threw the book at him" when he tried to take this to trial, but it's misleading to claim they did so initially.
What was done to Swartz was terrible. That said there are some really clear differences. Swartz acted like he understood that he was breaking the law. OpenAI acted like it was a mistake from the first second.
It's very important to think about embodied energy and water in the construction project. Operating the datacenter will definitely use more water if the datacenter uses open loop evaporative cooling.
And so this "leak" could be a way of diverting attention from the issue now. And later when the datacenter comes online no one cares because it's already been "revealed".
Imagining a mode where the agent is very transparent about its direction and process, and I can passively interject at any time to steer the outcome, without having to wait my turn or hard-interrupt.
It is not.