~/talk

Collaborative software with State Machines

Talkat Wey Wey Web 2023 · 2023-11-23..11-24· [reactive-programming, javascript]
slides:none on file

A live demo builds a white noise machine app with concrete statechart logic: power on/off, play/pause, three sounds (white noise, waves, fan), colored lights, and volume with guarded up/down transitions. It uses XState and Stately and invokes an actor model audio player so the audio is modular, exports runnable JavaScript to StackBlitz, simulates states visually, reveals a light-off bug and shows the fix, and runs successfully in the browser.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:05Problems with team collaboration
  3. 2:07State management challenges
  4. 3:31White noise machine demo concept
  5. 4:55What is a finite state machine
  6. 6:40Building the state machine
  7. 7:45State charts features
  8. 9:09Parallel states and actions
  9. 10:15Light state transitions
  10. 11:20Self transitions and guards
  11. 13:06Actor model for modularity
  12. 14:09Invoking actors in state machine
  13. 15:33Simulating the state machine
  14. 16:36State machines in backend workflows
  15. 17:39Benefits of state charts
  16. 19:01Adding context and actions
  17. 20:04Exporting to executable code
  18. 20:48Live demo in StackBlitz
  19. 21:33Testing the white noise app
  20. 22:37Debugging and fixing issues
  21. 23:20When to use state machines
  22. 23:41Summary and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.