~/talk

A Machine State of Mind

Talkat Ruby on Ales 2016 · 2016-03-31..04-01· [ruby]
slides:none on file

Argues that mutable state becomes manageable when modeled as explicit states and events, illustrated with an e‑commerce order lifecycle: unplaced → submitted → processing → shipped and surprises like dynamically defined query and event methods that replace many fragile booleans and migrations. Shows common Ruby state‑machine gems and patterns: guards and callbacks that run only on successful transitions, and using events to encapsulate logic so transitions fire side effects safely, proving the approach reduces scattered instance methods and conditional logic.

AI-written summary · about

  1. 0:00Intro
  2. 0:15a machine state of mind
  3. 2:20tough problems
  4. 2:36things are never what they seem
  5. 3:00endless learning
  6. 3:57daunting
  7. 7:42they're everywhere
  8. 8:14control how things happen
  9. 10:04state status
  10. 10:26instance methods boolean values
  11. 10:46timestamps with a NULL value
  12. 10:56records valid by a period of time
  13. 13:10user successfully submitting the form, updating the database
  14. 13:37an order in the processing state includes fulfilling, packaging, shipping functionality
  15. 14:01checking if an order's products are in_stock? before an event transitions from unsubmitted to processing state
  16. 20:48tips and tricks
  17. 23:35intimidating
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.