Skip to main content

Posts

Showing posts from January, 2026

New best story on Hacker News: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps) 448 by huntergemmer | 139 comments on Hacker News. Creator here. I built ChartGPU because I kept hitting the same wall: charting libraries that claim to be "fast" but choke past 100K data points. The core insight: Canvas2D is fundamentally CPU-bound. Even WebGL chart libraries still do most computation on the CPU. So I moved everything to the GPU via WebGPU: - LTTB downsampling runs as a compute shader - Hit-testing for tooltips/hover is GPU-accelerated - Rendering uses instanced draws (one draw call per series) The result: 1M points at 60fps with smooth zoom/pan. Live demo: https://chartgpu.github.io/ChartGPU/examples/million-points/ Currently supports line, area, bar, scatter, pie, and candlestick charts. MIT licensed, available on npm: `npm install chartgpu` Happy to answer questions about WebGPU internals or architecture decisions.

New best story on Hacker News: Show HN: I used Claude Code to discover connections between 100 books

Show HN: I used Claude Code to discover connections between 100 books 428 by pmaze | 131 comments on Hacker News. I think LLMs are overused to summarise and underused to help us read deeper. I built a system for Claude Code to browse 100 non-fiction books and find interesting connections between them. I started out with a pipeline in stages, chaining together LLM calls to build up a context of the library. I was mainly getting back the insight that I was baking into the prompts, and the results weren't particularly surprising. On a whim, I gave CC access to my debug CLI tools and found that it wiped the floor with that approach. It gave actually interesting results and required very little orchestration in comparison. One of my favourite trail of excerpts goes from Jobs’ reality distortion field to Theranos’ fake demos, to Thiel on startup cults, to Hoffer on mass movement charlatans ( https://ift.tt/Kk06zVv ). A fun tendency is that Claude kept getting distracted by topics of s...

New best story on Hacker News: Show HN: Use Claude Code to Query 600 GB Indexes over Hacker News, ArXiv, etc.

Show HN: Use Claude Code to Query 600 GB Indexes over Hacker News, ArXiv, etc. 360 by Xyra | 126 comments on Hacker News. Paste in my prompt to Claude Code with an embedded API key for accessing my public readonly SQL+vector database, and you have a state-of-the-art research tool over Hacker News, arXiv, LessWrong, and dozens of other high-quality public commons sites. Claude whips up the monster SQL queries that safely run on my machine, to answer your most nuanced questions. There's also an Alerts functionality, where you can just ask Claude to submit a SQL query as an alert, and you'll be emailed when the ultra nuanced criteria is met (and the output changes). Like I want to know when somebody posts about "estrogen" in a psychoactive context, or enough biology metaphors when talking about building infrastructure. Currently have embedded: posts: 1.4M / 4.6M comments: 15.6M / 38M That's with Voyage-3.5-lite. And you can do amazing compositional vector search, ...