frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

TLA+ helped us fix and10 issues in our OSS project

https://github.com/desplega-ai/agent-swarm/pulls
1•tarasyarema•49m ago

Comments

tarasyarema•49m ago
Hi there!

A few weeks ago, Boris posted how formal verification helped fix issues in their codebase (https://x.com/bcherny/status/2102543349102338309) and I definitely wanted to try it out in the swarm codebase.

The idea was simple:

1. Go over the codebase and fine most critical parts that could be modelled 2. Pick the first few and try to model them based on main code 3. Find counterexamples 4. Generate failing tests for them (single tests file diff pr) 5. Go over each of them and fix them + add the counterexamples in the repo for reference

I think this pattern is super nice tbh, and it helps a lot on reasoning around the code and implementation, specially when AI was involved.

The main issue: we had to add a daily wf to check for any updates to the spec, so that we keep it in sync (price you pay when the language can not be expressive enough, e.g. js).

Another win was that for the heartbeat system, which I wanted to refactor for a while, it managed to propose a simplification from 1.3M states to only ~4k (lol).

I believe it can be used for complex systems refactoring, while keeping the same functionalities.

Blog post about it (beware AI generated, but it contains some of the prompts we used during the session, just point your agent to the link and let it cook) -> https://www.agent-swarm.dev/blog/tla-plus-races-agent-swarm

I've been wanting to use tla+ for years, but always struggled w the syntax when working on something non-trivial. AI generating the specs and explaining the reasoning behind them helped a lot!

If you curious about the specs -> https://github.com/desplega-ai/agent-swarm/blob/main/specs/t...

Cheers,

Lindsay Owens's "Gouged"

https://pluralistic.net/2026/09/29/algorithmic-wage-theft/
1•hn_acker•20s ago•0 comments

The World Outside the Classroom Changed, the Class Didn't

https://steveblank.com/2026/09/28/the-world-outside-the-classroom-changed-the-class-didnt/
1•Brajeshwar•41s ago•0 comments

Snail Shells Could Be Used to Map Prehistoric Cyclones

https://nautil.us/how-snail-shells-could-be-used-to-map-prehistoric-cyclones-1285369
1•Brajeshwar•45s ago•0 comments

Priceful

https://pluralistic.net/2026/09/28/cost-of-everything/
1•hn_acker•54s ago•0 comments

Developers, it's time to Rethink Everything

https://rethink.avi.nyc/
2•aviflombaum•1m ago•0 comments

The Linux kernel from a PostgreSQL point of view

https://lwn.net/SubscriberLink/1096827/497c985112f11386/
2•chmaynard•1m ago•0 comments

Dead Money

https://www.wheresyoured.at/dead-money/
2•crescit_eundo•1m ago•0 comments

Cognitive Complexity – a new way of measuring understandability (2023) [pdf]

https://www.sonarsource.com/docs/CognitiveComplexity.pdf
2•rzk•2m ago•0 comments

EFF to SFPD: Drones Are Powerful Surveillance Tools That Require a Robust Policy

https://www.eff.org/deeplinks/2026/09/eff-san-francisco-police-drones-are-powerful-surveillance-t...
2•hn_acker•2m ago•1 comments

Postgres {On,Vs,with} Linux [pdf]

https://anarazel.de/talks/2026-09-23-kernel-recipes-postgres-linux/linux-postgres.pdf
2•Tomte•2m ago•0 comments

Who Owns Customer Identity in Your Organization?

https://fusionauth.io/blog/who-owns-customer-identity
2•mooreds•3m ago•0 comments

Vintage Russian CallerID phones, 1-bit DSP and polyphony on 8052 [eng sub] [video]

https://www.youtube.com/watch?v=DvfgnR6mVDI
2•ValdikSS•3m ago•0 comments

Dutch Government Ditches Windows for NixOS, Following France's Lead

https://linuxstans.com/dutch-government-ditches-windows-for-nixos-following-frances-lead/
3•taubek•3m ago•0 comments

America.gov

https://twitter.com/RapidResponse47/status/2104939402359107616
1•tosh•5m ago•0 comments

Tech Workers Made ChatGPT Drive a Toyota Corolla

https://www.404media.co/these-tech-workers-made-chatgpt-drive-a-toyota-corolla/
1•YeGoblynQueenne•5m ago•0 comments

MongoDB Launches MongoDB 9.0 and Atlas Infinite for AI-Scale Demand

https://www.mongodb.com/company/newsroom/press-releases/mongodb-launches-mongodb-9-0-the-best-ver...
1•plorkyeran•6m ago•1 comments

Every British PM's Nightmare

https://www.yanisvaroufakis.eu/2026/06/22/every-british-pms-nightmare-project-syndicate-op-ed/
1•upboundspiral•8m ago•0 comments

Reverse Engineering Novalogic's Comanche Terrain Maps

https://pikuma.com/blog/comanche-maps-reverse-engineering
1•atan2•9m ago•0 comments

Selling Private study chat and on-demand AI for students. Full-stack MVP

https://www.sideprojectors.com/project/97176/studlark
1•bharathgamer•9m ago•0 comments

The Facebook Fake-Out

https://www.anildash.com/2026/09/29/facebook-fake-out/
2•Tomte•9m ago•0 comments

Bill Gates's Blunt Warning on A.I

https://www.nytimes.com/2026/09/29/opinion/ezra-klein-podcast-bill-gates.html
3•rafaelc•10m ago•0 comments

Show HN: Free browser games designed for 80-year-old eyes and hands

https://freegamesforseniors.com/
1•xmasdong•12m ago•0 comments

New PlayStation 5 Console Jailbreak Released

https://github.com/ntfargo/Relapse-Exploit
2•therepanic•13m ago•0 comments

Spirula-studio: 3D Gaussian Splatting trainer video to splat to mesh

https://github.com/harry7557558/spirula-studio
2•xnx•14m ago•0 comments

AI will transform capitalism – but how?

https://www.theguardian.com/technology/2026/sep/13/ai-will-transform-capitalism-but-how
1•edward•14m ago•0 comments

Show HN: A terminal UI for GitHub Actions across all repos and orgs

https://github.com/shamilatesoglu/actui
2•shamilatesoglu•15m ago•0 comments

Firefox's chief on why he hopes a redesign will help win users from Chrome

https://arstechnica.com/gadgets/2026/09/mozillas-head-of-firefox-talks-product-priorities-ai-skep...
1•WithinReason•17m ago•1 comments

AI Is Being Used to Automate Both Sides of the Same Institutional Dispute

https://civicpivot.blogspot.com/2026/09/healthcares-ai-arms-race-can-agentic-ai.html
1•civicpivot•17m ago•0 comments

PlayBook: A Programmable Paper Notebook [video]

https://www.youtube.com/watch?v=GurWDZ8ENpA
1•surprisetalk•18m ago•0 comments

Why the Future Doesn't Need Us (2000)

https://www.wired.com/2000/04/joy-2/
1•cubefox•18m ago•0 comments