Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Hacker News
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 2 weeks ago

TLA+ Modeling Tips

http://muratbuffalo.blogspot.com/2025/12/tla-modeling-tips.html

#HackerNews #TLA+ #Modeling #Tips #TLA+ #Modeling #Software #Formal #Methods #Software #Engineering #System #Design

TLA+ modeling tips

Model minimalistically Start from a tiny core, and always keep a working model as you extend. Your default should be omission. Add a compone...
  • Copy link
  • Flag this post
  • Block
Delta Chat
Delta Chat
@delta@chaos.social  ·  activity timestamp 10 months ago

Decentralizers, attention! 😊

Last #deltachat releases introduced stable #p2p group membership not found in any other messenger. Members can add/remove peers also while being offline, and when everything comes online again, everyone has the same consistent membership view. We formalized and ran a simulation model using #TLA+ (invented by Leslie Lamport of vector clock fame):

https://github.com/chatmail/models/tree/main/group-membership

and a complementary #pytest model with more corner cases tested here:

https://github.com/chatmail/models/blob/main/gmc/test_gmc.py

GitHub

models/gmc/test_gmc.py at main · chatmail/models

Formal specifications for chatmail. Contribute to chatmail/models development by creating an account on GitHub.
GitHub

models/group-membership at main · chatmail/models

Formal specifications for chatmail. Contribute to chatmail/models development by creating an account on GitHub.
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct