frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Rise of Spec Driven Development

https://www.dbreunig.com/2026/02/06/the-rise-of-spec-driven-development.html
1•Brajeshwar•2m ago•0 comments

The first good Raspberry Pi Laptop

https://www.jeffgeerling.com/blog/2026/the-first-good-raspberry-pi-laptop/
2•Brajeshwar•2m ago•0 comments

Seas to Rise Around the World – But Not in Greenland

https://e360.yale.edu/digest/greenland-sea-levels-fall
1•Brajeshwar•2m ago•0 comments

Will Future Generations Think We're Gross?

https://chillphysicsenjoyer.substack.com/p/will-future-generations-think-were
1•crescit_eundo•6m ago•0 comments

State Department will delete Xitter posts from before Trump returned to office

https://www.npr.org/2026/02/07/nx-s1-5704785/state-department-trump-posts-x
1•righthand•9m ago•0 comments

Show HN: Verifiable server roundtrip demo for a decision interruption system

https://github.com/veeduzyl-hue/decision-assistant-roundtrip-demo
1•veeduzyl•10m ago•0 comments

Impl Rust – Avro IDL Tool in Rust via Antlr

https://www.youtube.com/watch?v=vmKvw73V394
1•todsacerdoti•10m ago•0 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
2•vinhnx•11m ago•0 comments

minikeyvalue

https://github.com/commaai/minikeyvalue/tree/prod
3•tosh•15m ago•0 comments

Neomacs: GPU-accelerated Emacs with inline video, WebKit, and terminal via wgpu

https://github.com/eval-exec/neomacs
1•evalexec•20m ago•0 comments

Show HN: Moli P2P – An ephemeral, serverless image gallery (Rust and WebRTC)

https://moli-green.is/
2•ShinyaKoyano•24m ago•1 comments

How I grow my X presence?

https://www.reddit.com/r/GrowthHacking/s/UEc8pAl61b
2•m00dy•26m ago•0 comments

What's the cost of the most expensive Super Bowl ad slot?

https://ballparkguess.com/?id=5b98b1d3-5887-47b9-8a92-43be2ced674b
1•bkls•26m ago•0 comments

What if you just did a startup instead?

https://alexaraki.substack.com/p/what-if-you-just-did-a-startup
4•okaywriting•33m ago•0 comments

Hacking up your own shell completion (2020)

https://www.feltrac.co/environment/2020/01/18/build-your-own-shell-completion.html
2•todsacerdoti•36m ago•0 comments

Show HN: Gorse 0.5 – Open-source recommender system with visual workflow editor

https://github.com/gorse-io/gorse
1•zhenghaoz•36m ago•0 comments

GLM-OCR: Accurate × Fast × Comprehensive

https://github.com/zai-org/GLM-OCR
1•ms7892•37m ago•0 comments

Local Agent Bench: Test 11 small LLMs on tool-calling judgment, on CPU, no GPU

https://github.com/MikeVeerman/tool-calling-benchmark
1•MikeVeerman•38m ago•0 comments

Show HN: AboutMyProject – A public log for developer proof-of-work

https://aboutmyproject.com/
1•Raiplus•39m ago•0 comments

Expertise, AI and Work of Future [video]

https://www.youtube.com/watch?v=wsxWl9iT1XU
1•indiantinker•39m ago•0 comments

So Long to Cheap Books You Could Fit in Your Pocket

https://www.nytimes.com/2026/02/06/books/mass-market-paperback-books.html
3•pseudolus•39m ago•1 comments

PID Controller

https://en.wikipedia.org/wiki/Proportional%E2%80%93integral%E2%80%93derivative_controller
1•tosh•44m ago•0 comments

SpaceX Rocket Generates 100GW of Power, or 20% of US Electricity

https://twitter.com/AlecStapp/status/2019932764515234159
2•bkls•44m ago•0 comments

Kubernetes MCP Server

https://github.com/yindia/rootcause
1•yindia•45m ago•0 comments

I Built a Movie Recommendation Agent to Solve Movie Nights with My Wife

https://rokn.io/posts/building-movie-recommendation-agent
4•roknovosel•45m ago•0 comments

What were the first animals? The fierce sponge–jelly battle that just won't end

https://www.nature.com/articles/d41586-026-00238-z
2•beardyw•53m ago•0 comments

Sidestepping Evaluation Awareness and Anticipating Misalignment

https://alignment.openai.com/prod-evals/
1•taubek•54m ago•0 comments

OldMapsOnline

https://www.oldmapsonline.org/en
2•surprisetalk•56m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
2•surprisetalk•56m ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
2•surprisetalk•56m ago•0 comments
Open in hackernews

Show HN: One Billion Checkboxes

https://checkboxes.andersmurphy.com/
11•andersmurphy•9mo ago
One Billion Checkboxes

Change log:

- 100000% more checkboxes

- Cross platform universal check boxes (look good on any device)

- Client side feedback animation (no optimistic updates)

- Tab state

- SQLITE storage (If your checkbox is checked it's been persisted to disk)

No idea how well this will scale (if at all). Server is a shared VPS in germany and it's basically a billion rows in a sqlite database.

Comments

trizoza•9mo ago
Great implementation! I played it on mobile and I scrolled so far and deep that (hopefully) no one will ever overwrite my pixels! Muhahaaaa
andersmurphy•9mo ago
Thanks! There's definitely a discoverability problem. Most people just work along the edges. A billion is a long way to scroll! Honestly, I can't even find the stuff I've drawn in the middle.

At some point I should probably add some sort of minimap or something. Will be interesting to see the secret art people hide.

trizoza•8mo ago
Definitely, minimap would be a great addition to the UX.
andriusbartulis•9mo ago
Awesome demo! I want a minimap though.
andersmurphy•9mo ago
Noted! It's on my list. But, it's probably more work than the whole project so far.
blancotech•9mo ago
[x] did it just for fun

[x] instantly usable

[x] no sales pitch

These are the posts that keep us on HN

sudodevnull•8mo ago
USES DATASTAR, SMASH THAT LIKE AND SUBSCRIBE!!!!! Better?
andersmurphy•8mo ago
Datastar definitely makes CQRS/pushed based hypermedia simple.

But, SQLITE and JVM virtual threads are doing some heavy lifting. Clojure made it fun to write.

andersmurphy•8mo ago
Shame it's probably flagged. I imagine because I used the same url as my one million checkbox demo.

:(

nz3000•9mo ago
Those are some really nice looking checkboxes!
devnull3•8mo ago
If I have to guess the tuning and optimizations:

SQLITE:

1. Smaller page size (to be specific: max(disk_sector_size, 512))

2. Integer primary keys

3. WAL mode

4. Increase page cache size. This is assuming that most people will click in the top-left 100x100 checkboxes.

Other optimzation:

1. In mem cache of bitmap of 1B bits, which is about 120MB, which is a shared state for all incoming connections.

sudodevnull•8mo ago
But it's more than a checkbox, it has color and can be any element, not just checkboxes
andersmurphy•8mo ago
So it's less smart than that. The smaller page size sounds like a sensible probably a sensible call (that I didn't make).

2, 3 and 4 are spot on.

Theres's two connection pools one for reads one for write. Writes are batched every in a single transaction every 100ms and renders are pushed out to each connected user if there's a change max every 100ms (with back pressure). Reads are read only, and writes are transaction mode immediate.

Here's the schema:

CREATE TABLE IF NOT EXISTS cell(chunk_id INTEGER, cell_id INTEGER, state INTEGER, PRIMARY KEY (chunk_id, cell_id)) WITHOUT ROWID

And the options:

:cache_size 15625 :page_size 4096 :journal_mode "WAL" :synchronous "NORMAL" :temp_store "memory" :foreign_keys false

It's a pretty naive approach (1 billion rows).

Each user render is querying 2000 rows that then get converted to html elements, compressed and sent down on every change (including scroll). But, because renders are at most every 100ms changes effectively get batched.

On the whole this is relying on the brute force of SQLITE rather than anything too clever (eg: Hilbert curves or encoded chunks).

The point is that there could be any number of states. I wanted this to be quite general as for me this is more of a CRUD app demo.

devnull3•8mo ago
Amazing! This nicely demonstrates capabilities of datastar.

I suggest to put a comment on the page to open dev tools and see the SSE event in action. I think people will appreciate D* even more.

andersmurphy•8mo ago
That's a good idea. I should probably mention it's hypermedia too.

At some point I'll write up a blog post. Virtual scroll was surprisingly simple in the end and mostly leverages CSS grid.

The funny part, is it't not really about Datastar (I use a fraction of its features). It does make pushed based hypermedia simple which opens up a lot of options.

Clojure/JVM and SQLITE is where the interesting stuff is happening for me at least. I guess that's the nice thing, Datastar gets you back to programming in your favourite backend language of choice and then gets out of the way.