At my first real job we were programming sawmill robots. I said it was just like programming enemies in video games and the old guys burst out laughing because they knew it was true. #FiniteStateMachine

Can I generate a Pfsm from a MIDI file? I need to make a Markov chain from kumbaya.

#SuperCollider #wslib #FiniteStateMachine #Markov

I deow this flowchart for the next DnD session (we have a boss battle).

Can I make a finite-state machine out of this? I will try

#dnd #finitestatemachine #gdr #rant

Modelling Workflows With Finite State Machines in .NET

Build workflows and processes with Finite State Machines to reduce code complexity

Lloyd Atkinson

Does anyone has an opinion on #KStatemachine vs #FlowRedux? In the past we used #FlowRedux for #KotlinMultiPlatform. I actually can't remember, why we did not used KStatemachine. There was a reason. Anyway. Would love to test the situation of #FiniteStateMachine together with maybe #Decompose and #Jetbrains #ComposeMultiplatform.

Especially regarding network requests, need for triggering login again and coming back where you were, some side running services and states in parallel like bluetooth

#python3
#goto
#automaton
#FiniteStateMachine
#HigherOrderFunction
#Zelah

def sieve(v):return v%2==1

gen=range(0,8)

def yesTest(sieve,val,yes,no):
if sieve(val):return yes
else:return no

def yes(val):yield val

def no(val):
if False:yield val

def keep(sieve,gen):
global yesTest,yes,noTest,no
goto,yesTest,yes,noTest,no=(yesTest,yes,yesTest,no),0,1,2,3
p=yesTest
for val in gen:
p=goto[p](sieve,val,yes,no)
for i in goto[p](val):
yield i
p-=1

for i in keep(sieve,gen):print(i)