State machines in our world
Reactive vs. interactive state machines
Reactive state machines
- Egg timer – set time, start, stop, reset
- Arcade game – attract / play / reward
- Advanced arcade games that change their offer for cost of a game
Interactive state machines
- content predictors on Amazon/Netflix/eBay, “if you like…”
- advertising predictors, “if you like xxx we want you to buy yyy”
- Traffic signal preemption — product demonstration from a vendor
- Half-Life: https://www.youtube.com/watch?v=JyF0oyarz4U
Student examples in class (post a comment if I forgot your example):
- Murphy bed attached to lights for getting up in the morning
- microwave that can adjust cooking time based on humidity
- automatic systems that open blinds when sun is out to save money on lighting
Discuss how and why of state changes
What if state machines were smart(er)? What are predictive state machines?
- auto-aiming / target tracking — not military, self-driving cars and obstacle avoidance
- catch a Frisbee — dogs know calculus!
- When you order pizza you usually order beerand could make predictions?
- You’re running low on gas, stop to refuel/recharge before you go to the grocery store
When you go from home to studio your default playlists are changed
- Visual changes in state
- Doppler shift in nature
- lives / health in a video game
- traffic slowdowns in Waze
- intensity of light => time of day
Mini-assignment for Thursday
– Install IFTTT, look at existing apps
– Post some interesting state machines to Looking Outward