orksliver
I also created a schema.org compatible protocol for the file format for each generated tack
Thanks for checking out my blog - yes it's heavily written by claude, and contains AI slop ;-)
I'm a lover of petri-nets this was my most interesting experiment so far.
I do have another version of this post that shows a a vis each instrument as a petri-net.
https://blog.stackdump.com/posts/beats-launch-jambox - the 'stage' view shows a better viz.
NOTE: As you all have mentioned - this doesn't work well on phones - I would try this again with another non-browser framework, but the browser is a fun place to iterate w/ claude: Open to suggestions here
also : this project is open source https://github.com/stackdump/beats-bitwrap-io
I can answer any questions - this is almost 100% vibe coded app using claude code, and I do make use of a separate render farm using a headless chrome if I want reproducible builds.
This book argues they deserve wider use. Not because they're elegant (they are) but because they solve practical problems. A Petri net is a state machine that handles concurrency. It's a workflow engine with formal guarantees. It's a simulation model that converts to differential equations. It's a specification that can be verified, compiled to code, and proven in zero knowledge.
Petri Nets as a Universal Abstraction
You define a Petri net, simulate it with ODEs, and the structure becomes a scaffold for LLM-generated code. The net is the spec that both humans and LLMs can reason about.
I use Claude Code with a skill file that enforces: sketch topology → validate with simulation → extend monotonically → never delete, only grow. The discipline works with how LLMs operate.
Why Petri nets? Visual (humans can reason about them), mathematical (ODEs, invariants), executable, and compositional. LLMs can manipulate the structure without losing semantic meaning.
Using Petri nets as a formal language for LLM-assisted development
By combining game logic with mathematical rigor, we unlock new ways to analyze strategies and dynamics.
Revisiting the Algebra of Play with Petri.jl
https://github.com/FactomProject/ptnet-zkp/blob/master/examp...
It seems like this approach using a Linear Algebra Solver offers guaranteed privacy and security, but more results are needed to offer proof of this claim.
Using Petri-Nets to Construct Zero Knowledge Proofs
Petri-Nets as Mental Model for Domain Driven Design
Constructing Domain Specific Languages with Petri-Nets
I thought you were referring to my live demo: https://bitwrap.github.io/#octothorpe
I believe "Dining Philosophers" is the usual problem used to introduce the need and concept of Petri-Nets - googled for some examples I found:
http://www.cs.cmu.edu/afs/cs/academic/class/15671-f97/www/le...
Also here's the link to the PNML source used for tic-tac-toe: https://github.com/bitwrap/bitwrap-io/blob/master/bitwrap_io...
Assuming you mean it...
Here's a youtube video about the benefits and attributes of event-sourcing. https://www.youtube.com/watch?v=8JKjvY4etTY
Though the demo project is presented in the browser, I'm trying to demonstrate that I can model the game of Tic-Tac-Toe using a much smaller and comprehensible (I hope) graph.
Additionally - because these are mathematical graphs I'm speaking of - it means the 'program' that the graph represents - can be expressed as pure math ( which is nifty to say the least )
A classic DFA would have to represent all the permutations of the board like so: https://upload.wikimedia.org/wikipedia/commons/1/1f/Tic-tac-...
Just a few comments in response:
> event-based calculator in VBScript
It's mostly coffeescript
> My problem with this is the calculator program is very poorly written.
It's a demo - also the coffeescript is only there to show how the python server works. ( I'll update the docs to explain this better )
> One could probably get rid of most of the bugs by using a "single source of truth" state object that includes all state data necessary for all events to act correctly.
This is in fact what exists -- the "single source of truth" in his case is the python event store - My pooly written UI is only there to forward events server-side.
> But this is largely a solved problem. The React folks developed Flux[0] to get away from these kinds of situations.
Front end UI isn't my focus - building a quality event store is.
I'd love to find other state machine implementations that have similar properties.
Thanks for your post - I know everything is poorly documented - I'll take your criticism as a guide to fixing that.