#statemachines — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #statemachines, aggregated by home.social.
-
Modeling State Transitions in Postgres
https://thoughtbot.com/blog/modeling-state-transitions-in-postgres
-
🔗 Building an order fulfilment workflow in Laravel
https://www.juststeveking.com/articles/building-an-order-fulfilment-workflow/
#php #laravel #workflow #statemachines #business -
Statecharts: hierarchical state machines
#HackerNews #statecharts #stateMachines #programming #hierarchy #softwareDevelopment
-
Release: fsm-toolkit v0.9.5
fsm-toolkit is a Go toolkit for designing and analysing finite state machines. It provides a CLI tool (fsm) and a full TUI editor (fsmedit) supporting DFA, NFA, Mealy, and Moore machines — with multi-machine bundles, cross-machine linking, and a component system backed by reusable class libraries.
Repo:
https://github.com/ha1tch/fsm-toolkit#readme
This is the biggest release since the project's inception bringing a component-oriented workflow to FSM design. You can now drag 74xx-series digital logic parts from a library drawer, assign typed properties to states, link machines into bundles, and manage it all from the TUI. Builds and releases for 12 platforms are now fully automated.
New: Editor Manual
https://github.com/ha1tch/fsm-toolkit/blob/main/cmd/fsmedit/MANUAL.md
New: Workflow Guide
https://github.com/ha1tch/fsm-toolkit/blob/main/WORKFLOWS.md
Highlights
% Multi-document bundles with import and cross-machine navigation
% Class and property system with 7 typed fields
% Component drawer with drag-and-drop instantiation
% 74xx-series class libraries (49 components across 7 families)
% Machine manager with rename/delete and link propagation
% Settings screen with vocabulary customisation and library loading
% Improved TUI layout engine with cell-grid metrics
% CI/CD pipeline targeting 12 platforms (Linux, macOS, Windows, FreeBSD, OpenBSD, NetBSD)
% Separate CLI and editor manuals
% 261+ tests passingChangelog:
https://github.com/ha1tch/fsm-toolkit/blob/main/CHANGELOG.md
#golang #foss #programming #compsci #fsm #digitallogic #tui #statemachines #electronics
-
NES Games & State Machines
A couple of years ago gamedev channel NesHacker did a video on how everything in your typical NES game is really a pile of state machines, concurrent ones, nested ones, bunches and bunches of them. If you have any interest in NES coding at all, it's worth a look. (8½ minutes)https://www.youtube.com/watch?v=8lZ53Sx5oc0
The chief differen
https://setsideb.com/nes-games-state-machines/
#development #retro #development #nes #NESHacker #retro #StateMachines -
Little ants, once more.
-
A turmites variation of Langton's ants.
-
Friendly reminder: The micromachine gem is still awesome.
https://github.com/soveran/micromachine #ruby #statemachines
-
Rabina Scott Finite Automat and Their Decision Problems
https://www.yodaiken.com/2025/01/30/rabina-scott-finite-automat-and-their-decision-problems/
#academics #theory #AutomataTheory #FiniteAutomate #Rabin #Scott #StateMachines -
continuing my graph-based-tool journey
-
🆕 Don’t put off migrating from XState v4 to v5 any longer!
Kevin has created a detailed step-by-step guide to walk you through migrating your machines from beginning to end:
https://stately.ai/blog/2024-02-02-migrating-machines-to-xstate-v5
-
TIC-80 State Machine tutorial: https://youtu.be/_kzTnHNEWH4
#tic80 #youtube #youtuber #youtubechannel #statemachines #statemachine #menu #game #gamedev #tutorial #tutorials #programming #programmer #programminglanguages #lua #2d #2dgame #coding #code #creativecoding #creativity #creative #scripting #lua #pixel #pixelart #nerd #geek #Computer #ComputerScience #howto
-
- What did we tell you?
- To not build "state machines by hand"...
- And what did you do?
- I build a state machine by hand ...
- And what is the outcome?
- Pain and frustration in trying to hunt down hard to debug edge cases...
- So what do you do next time?
- If it's really really small can I ...
- No! No! Nooooo! -
🙋 Do you use XState + React?
Make yourself known in the State of React 2023 survey! XState is under State Management 😊
https://survey.devographics.com/en-US/survey/state-of-react/2023 #XState #stately #stateMachines #statecharts #react #stateOfReact2023
-
Cramming chars in #altair emu(4k basic(graph)). 640x264 (at a footprint of 8.2x4.9 and 5.6x3.4 pixels and and kinda visible in the 480x192 at 6.1x3.7 and 4.2x2.5 #pixels, code is tiny,#font fns are 6k (for everything*all sizes) of text and tiny #statemachines for scribbling chars any size on demand into a buffer. This means retro/tiny disp on arduinos or other can use. Srce out bitbucket org timcdoc antibrowser c-native clientfnt fontfns.c top&ca line 258 is the good stuff
-
@marcosh I'm watching your state machine talk @ https://www.youtube.com/watch?v=UBnHpnss8Fg
Really cool stuff :-) #statemachines #eventsourcing #fp
-
Really good video from @noboilerplate
I haven't seen many people talk about state machines outside the game dev world
#stateMachines #rust #rustEnums #diesel #sql #oop #relational
-
last one #stateMachines #birdsite
Steve is the author Tldraw and David wrote Xstate <3
-
Wow, this is the 20th anniversary edition of the book. 👴
It's great that he put it online where anyone can read it. TBH, I thought there would be a more visible effect of this work by now.
The fact that it hasn't is evidence of how compartmentalized & isolated the specialized fields of knowledge have become. Each prefers their own jargon & narrative, and is built on the shoulders of *their* giants, blurring the distinction between communities of religion & science. Newcomers are outsiders, and often ostracized from the in-group.
-
You’ll see how easy it is to use #RxJS primitives to create a declarative solution that is both readable and generic...
https://softwaremill.com/implement-onclick-ondoubleclick-and-onhold-streams-with-rxjs/
-
#Statemachines, #Recursive Functions, validating #Paxos, hints at validating discrete real-time #PIDcontrollers, #monoids (not monads) - what more could you want?
https://www.yodaiken.com/current-draft-of-the-recursive-functions-and-state-machine-paper-paxos-edition/ -
I wrote a blog post about #statecharts #statemachines and #xstate https://tritarget.org/#How%20I%20understand%20state%20machines
-
Random 3am thoughts while burping a baby…
With a finite state machine, you can persist the state or the transitions. In simple, non cyclical, unidirectional machines, sequence and not time based, storing state is fantastic - you can know all of the events that have happened previously.
But… how often are we that lucky?
-
Fourteen-Legged Cell Carries Nature’s Tiny Computer - Computers are, after all, frighteningly complex state machines. Quite of bit of th... - https://hackaday.com/2022/10/16/fourteen-legged-cell-carries-natures-tiny-computer/ #statemachines #science #biology