Welcome to MSDN Blogs Sign in | Join | Help

My baby, the finite state machine.

My 19-month old daughter was quite the finite state machine today.

She's recently become mobile and ended up getting her finger caught in a door for the first time. It gave her a little blood blister and the new experience inspired her to cry for a very very long time. My wife tried everything to get her to stop crying. She eventually put her in her crib. When she took her out of the crib, our daughter stopped crying.

Here's how I see it: Our daughter normally cries when first placed her in crib, and stops crying when taken out. So that action triggers the state transition ("crying because I'm in the crib" --> "not crying"). By placing our daughter in the crib, my wife got her from an unknown state ("crying because I just hurt myself in a new way") to a known state ("crying because I'm in the crib"). Once in a known state, she could follow the known state transitions to get her to a more desirable state ("not crying").

That's not what they teach you in the parenting classes, but since it worked, I can't argue with success!

(This reminds me of what my dog taught me about race conditions.)

Published Wednesday, September 13, 2006 1:22 AM by jmstall
Filed under: ,

Comments

# re: My baby, the finite state machine.

Wednesday, September 13, 2006 2:03 AM by me
Brilliant! I love it.

# re: My baby, the finite state machine.

Wednesday, September 13, 2006 4:38 AM by tankaiha
very interesting title. and ur daughter must be very very cute! btw, how old is she?

# re: My baby, the finite state machine.

Wednesday, September 13, 2006 1:27 PM by DW
Did the action of thinking about this triggered your state transition ("dad" --> "geek")?

# Babies as finite state machine

Thursday, September 14, 2006 2:27 AM by One more cup of coffee
This is awesome: My baby, the finite state machine....

# re: My baby, the finite state machine.

Thursday, September 14, 2006 5:59 PM by Ciaran
Thanks for the chuckle, I've noticed the same phenomenon myself.

# Out of office

Thursday, June 07, 2007 6:36 PM by Mike Stall's .NET Debugging Blog

My wife + I recently had daughter #2. I'm taking time off, and so my participation on the forums and

# My daughter, the QA tester

Saturday, October 13, 2007 1:17 AM by Mike Stall's .NET Debugging Blog

I was on a plane with my 2.75 yr old daughter (yeah, the state-machine one). She noticed the air-jet

# My daughter, the QA tester

Saturday, October 13, 2007 1:29 AM by Noticias externas

I was on a plane with my 2.75 yr old daughter (yeah, the state-machine one). She noticed the air-jet

New Comments to this post are disabled
 
Page view tracker