Hacker News

Top stories

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

The internet discovers TLA+. Now what?

29 pointsby 6h agoreasonable.io
15 comments
3h agoHN ↗

Time to discover communicating sequential processes instead :P

2h agoHN ↗

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

2h agoHN ↗

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

2h 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.

2h agoHN ↗

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

1h agoHN ↗

Take a writing class. This was painful to read.

1h 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

40m agoHN ↗

You can be bad at writing with or without AI.

1h 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?

1h agoHN ↗

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

33m agoHN ↗

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

46m 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