home.social

#statemachines — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #statemachines, aggregated by home.social.

fetched live
  1. 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:

    github.com/ha1tch/fsm-toolkit#

    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

    github.com/ha1tch/fsm-toolkit/

    New: Workflow Guide

    github.com/ha1tch/fsm-toolkit/

    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 passing

    Changelog:

    github.com/ha1tch/fsm-toolkit/

    #golang #foss #programming #compsci #fsm #digitallogic #tui #statemachines #electronics

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

    youtube.com/watch?v=8lZ53Sx5oc0

    The chief differen
    setsideb.com/nes-games-state-m
    #development #retro #development #nes #NESHacker #retro #StateMachines

  3. 🆕 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:

    stately.ai/blog/2024-02-02-mig

    #XState #XStateV4 #XStateV5 #JavaScript #stateMachines

  4. - 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!

    #xstate #stateMachines #sourceCode #devsLife

  5. 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

  6. last one

    Steve is the author Tldraw and David wrote Xstate <3

  7. @jan

    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.

    #Wolfram #NKS #Complexity #Science #Automata #StateMachines

  8. 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?

    #eventsourcing #cqrs #statemachines #DDDesign

  9. Fourteen-Legged Cell Carries Nature’s Tiny Computer - Computers are, after all, frighteningly complex state machines. Quite of bit of th... - hackaday.com/2022/10/16/fourte #statemachines #science #biology