This reminded me something. A short while ago I visited Dima Kuchin and his new baby in Holon. We had a talk about software and IT industries, and he told me about his friends, who also had a baby.
The little guy didn't sleep too well, so his parents bought an electric swinging device. The killer feature: an audio trigger. Whenever it detects cries above some volume treshold, the swing motor turns on for five minutes. And then there was evening and there was morning, and also a bug and a workaround. Yes, they were software engineers. Can you guess the end of this story?
The baby was too quiet for the automatic craddle, and all his tears would all be in vain. The parents sleep in other other room... Now, every time they hear their baby crying, they scream aloud. That keeps the young guy happy, without ever having to get up from the bed.
"услышав лай караульной собаки, часовой дублирует его голосом"
More on the subject of children: do yours have GUIDs?