News for hackers. Stuff that matters.

maxjustus

Show HN: chwire – Native-Format ClickHouse JavaScript Client over HTTP/TCP

https://github.com/maxjustus/chwire

chwire is a ClickHouse client for JS that speaks the Native (columnar binary) format over HTTP and TCP. For 1M-row payloads, encoding is mostly 2–6x faster than JSONEachRow and decoding 2–8x faster. Once you add compression Native almost always wins, since the smaller payload is cheaper to compress.I’ve been working on this project for the last year for use at https://www.hockeystack.com/. It...

( Read More... | no comments | on HN )
Re:How did we make DeepSeek outperform Opus on Tuesday July 07, 2026 @06:47PM (#48825058)
here's a lil pi extension I made yesterday based on it https://gist.github.com/maxjustus/3dd4c83865b1c439e26fdd925b...
Re:Tw-fade: pure CSS scroll-driven edge masking on Thursday June 25, 2026 @01:15PM (#48676488)
I also love the pure CSS parallax effect of the "tw-fade" title shadow using multiple spans with different styles that fade in and out based on scroll position. Very clever!
Nothing stopping an OSS user from pointing inserts at one or more write focused replicas and user facing queries at read focused replicas!
Re:6 Weeks of Claude Code on Saturday August 02, 2025 @10:03PM (#44773491)
One thing I’ve started doing is using Gemini cli as a sidecar for Claude Code to load in a huge amount of context around a set of changes to get a second opinion - it’s been pretty handy for that particular use case due to its context size advantage
I used this general approach to port the ClickHouse specific version of cityHash64 to JS from an existing Golang implementation https://github.com/maxjustus/node-ch-city/blob/main/ch64.js. I think it works particularly well when porting pure functions.
This looks amazing! One small thing I noticed: I was watching the demo video on the landing page and at 1:07 your voice inexplicably pans almost completely to the left speaker - not a big deal but figured I'd apprise you of it.
Re:Show HN: Compare Cloud and Bare Metal Servers on Wednesday April 02, 2025 @09:56PM (#43563867)
Nice! Looks like you’re missing https://www.datapacket.com/ - they’ve got top tier hardware and customer support