Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Flip Fluid on Flip Dots (mitxela.com)
    12comments
  2. OpenAI Feared "Optics" of what might appear on Hacker News (authorsguild.org)
    328comments
  3. "As a Language Model": Chat Template Switches LLM Self-Referential Voice (arxiv.org)
    65comments
  4. Does Georgism work? Five years later (astralcodexten.com)
    297comments
  5. Go Concurrency Distilled (antonz.org)
    113comments
  6. PipePipe: NewPipe hard fork implementing SponsorBlock (github.com/infinityloop1308)
    240comments
  7. Fakecloud: Local AWS cloud emulator for integration tests (fakecloud.dev)
    3comments
  8. DeepSeek Elastic Compute (DSec) (arxiv.org)
    92comments
  9. Finally, A True Blue Rose Exists (sciencenews.org)
    11comments
  10. Show HN: Reladraw – A diagram language where you decide where to place things (github.com/reladraw)
    90comments
  11. The internet discovers TLA+. Now what? (reasonable.io)
    26comments
  12. ASML says it sold 'absolutely nothing' in Europe in 2026 (tomshardware.com)
    725comments
  13. Biology might not be quantum, but its math is quantumlike (quantamagazine.org)
    33comments
  14. A searchable library of forgotten public-domain film clips from 1915 onward (movingimagearchive.com)
    26comments
  15. Exploding variance of means of exponentials: least-squares to the rescue (francisbach.com)
    —discuss
  16. Fifteen years later, the Apple Cards origin story (lexontech.org)
    105comments
  17. Evolving programming languages in the AI era (dashbit.co)
    75comments
  18. An agent used DNS to reach an external chatbot (alignment.openai.com)
    119comments
  19. Meta Blocks President Lula's Facebook Page, Campaign Ads 2 Weeks from Election (reddit.com)
    205comments
  20. How I changed teaching after AI managed to do all my homework assignments (thelastsoftwareengineer.substack.com)
    213comments
  21. Teaching a World Model to Play Pokemon (nostalgia.dev)
    17comments
  22. Accelerated Out of Core Shuffling (quasiben.github.io)
    —discuss
  23. Drawgent: Coding agent on a live Excalidraw canvas (tangled.org/yanndegat.tngl.sh)
    43comments
  24. How to keep enjoying programming in a world of LLMs (haskell.org)
    297comments
  25. Promising discoveries about the potential for life on one of Saturn’s icy moons (fu-berlin.de)
    40comments
  26. Turning GLM-5.3-Flash into a Jev-like decision model (privatemode.ai)
    45comments
  27. Reverse-engineering the Intel 8087's tangent algorithm: more than CORDIC (righto.com)
    11comments
  28. What is the size of Yemen? (2024) (theborys.substack.com)
    71comments
  29. Generate fonts where every LLM token is the same width (mesh.host)
    15comments
  30. Modern Object Pascal Introduction for Programmers (castle-engine.io)
    80comments

The internet discovers TLA+. Now what?

50 pointsby 8h agoreasonable.io
26 comments
4h agoHN ↗

Time to discover communicating sequential processes instead :P

4h agoHN ↗

That stuff gets rediscovered all the time, the latest example probably being golang

4h agoHN ↗

wait this is new to me so is this like a different kind of tla?

3h agoHN ↗

I've always thought CSP as a robust design pattern where you have no shared state between components and they must communicate with each other using message passing. It also requires synchronous communication (rendezvous-style). If you follow those rules you can have a pretty robust system. Aside from these abstract rules, CSP has more formal research (algebra) but I'm not sure if there are any decent tools available.

TLA gives you a full toolbox and in theory can model whatever you can express. That's very different from a design pattern.

4h agoHN ↗

I am learning TLA+ but I do not know CSP, is CSP better?

3h agoHN ↗

Take a writing class. This was painful to read.

2h agoHN ↗

Hahaha this is so funny... people here get slammed all the time of using AI for writing and here be, just someone writing his way through Internet history and gets slammed for it just the same... you can't hardly win with an audience like this... haha

2h agoHN ↗

You can be bad at writing with or without AI.

12m agoHN ↗

If the author threw this into Claude to add some load-bearing similes to their unedited monologue, it would only make it more insufferable to anyone complaining about it now.

3h agoHN ↗

Real world applications of TLA+: https://foundation.tlapl.us/industry/index.html.

The Intel paper shows how TLA+ was applied as a step prior to writing the hardware description. I'm not sure if it caught on, it seems like other tools are used nowdays, does anyone here in the VLSI industry know?

2h agoHN ↗

Took 10 minutes to find this: TLA+ is a formal specification language developed to design, model, document, and verify reactive systems.

2h agoHN ↗

TLA+ is what unit testing looks like when a mathematician designs it.

19m agoHN ↗

It takes about 5 seconds to open Wikipedia and type "TLA+".

2h agoHN ↗

I indirectly use TLA+ through https://github.com/quint-co/quint. I added instructions that "before you implement any feature, please use Quint to model it and make sure no counterexample for the system as a whole, reiterate the design with Quint as well and make sure your documents and implementation follows the formal model and docs".

The result, while takes much longer, is quite magical. A lot of transaction and atomic bugs were found and fixed just by having such simple instruction alone.

However, sometimes it is not all magical especially around external resources. Cloudflare, unfortunately, sometimes have hiccups on D1 and KV with timeout, which is more or less a force majeure.

Fortunately, that means I will have to model the action as a binary event, that the transaction may not complete as we would have thought guaranteed, and by add extra guard around it, so that the state would have to be retried.

I was able to workaround it like that so far. Keep in mind the more conditions and constraints, the beefier your CPU might need since it is on the scale of NP

1h agoHN ↗

17 mentions of “TLA+” before defining the acronym.

26m agoHN ↗

Which is ironic and funny given the other common use of those letters.

46m agoHN ↗

the jump from reading examples to writing a useful invariant is still the hard part

31m agoHN ↗

I did a lot of distsys work With tla+. I still think it’s the best use. It’s really hard to make sure your code matches what you prove.

26m agoHN ↗

I can’t understand any of this. It’s saying everything and nothing at the same time. Whatever TLA+ is this article makes it sound like the most tedious and academic thing ever.

24m agoHN ↗

the secret's out, but I think I'm still in a minority which has alloy models in addition to TLA+ ones

4m agoHN ↗

If the article's author's writing is this bad, imagine how they write software... shudder.