I recognize an element of absurdity to this question, but thought it couldn't hurt to ask. My third child will be born any time now, and I envision walking him (her?) to sleep late at night.

In the past, I've tried to listen to things or read a book while holding a baby. This time, having a project I am hacking on for fun, I'd like to be able to do some coding. The whole idea may be a write-off, as loving the child is more important than any such project. In my experience, a baby falls asleep well if you walk around with them. Sitting down, or even standing still near your computer's keyboard, rather hinders the process : )

I was thinking I that, despite the recent Ask Slashdot question which suggests that open source speech recognition is still in its infancy, that surely a recognizer for, well, an vocal keyboard, would work.

I was thrilled to find instructions on using the built-in speech recognition software under OS X (I can use XP or Linux, but would prefer to use OS X) to allow you to command it using a phonetic alphabet. (This PDF shows the symbols they are using -- alpha, bravo, charlie for letters, one, two, three for numbers, pipe, dot/decimal/period, comma, and so forth, for punctuation.) Unfortunately, in my tests using the built-in mic, even without a lot of background noise, the recognition is fairly poor, and I can find no way to train the OS X speech recognizer.

There is a nascent voice keyboard project for Linux. I glanced at the source and it looks like a pain to make it work under OS X.

I really think that a vocal keyboard would be a lot simpler than full-on speech recognition, and the latter, being tweaked for natural language, wouldn't work well for coding; it surprises me that I haven't been able to find much out there. Yes, I have started reading through the documentation for CMU Sphinx, but that rather goes beyond the scope of what I was trying to do -- find something that'll work fairly well out of the box.

Given that the baby is likely to be crying, speech recognition may be out entirely. I know someone mentioned Dasher -- I don't suppose I could run it on my iPod Touch (or Blackberry or Sharp Zaurus!) and control the keyboard on my computer?

Any thoughts?

link|improve this question

56% accept rate
6  
+1 for the best question I've heard all week, though unfortunately my experiences mimic yours with speech recognition - it just doesn't work, yet. – Phoshi Jul 23 '10 at 13:49
4  
You are being delusional .. if the baby is of the sort that requires being walked to sleep, s/he will never be faked out by some gimmick to allow you to be more productive. Plus, do you really want to be distracted while walking around the house or the block holding your newborn? Give the baby your undivided attention; you won't regret it. It will be a teenager soon enough, and then won't like you anymore anyway. – tomjedrz Jul 23 '10 at 14:53
2  
If rocking the baby in a crib would work, you could rig up a little auto-rocking gadget :) – RCIX Jul 26 '10 at 2:34
A dab of Nyquil goes a long way for a hungry angry baby :) – typoknig Jul 26 '10 at 10:57
2  
The baby was born on Sunday, and is actually sleeping surprisingly well. It is much harder to code when you just want to be asleep than I'd hoped. And boy, am I surprised to get so many upvotes so fast on my question! – Clinton Blackmore Aug 1 '10 at 0:13
show 2 more comments
feedback

11 Answers

Wear the baby in a sling such as this one to keep your hands free, and then use a tablet PC or whatever you can use while walking about.

Speech recognition just won't work, given the environment.

link|improve this answer
Not a bad idea at all. – Clinton Blackmore Jul 23 '10 at 14:43
+1 - Worked great w/my first and am planning on doing it again w/my second...of course, it only worked for a narrow window of time, after which I had to adapt :) – bedwyr Jul 26 '10 at 3:48
I haven't been able to properly try this, as a tablet PC isn't in the budget, and VNC with an iPod touch just doesn't cut it. Still, it sounds like a good idea. – Clinton Blackmore Sep 1 '10 at 21:37
feedback

Use a bluetooth keyboard, hook your laptop up to a projector on a wall in the room, invert colors to avoid making too much light. You can see the screen, use the keyboard every time you pass, plenty of time to plan your algorithm. :-D

Congrats on your third, btw. Good for you.

link|improve this answer
i like this one...+1! :) – studiohack Jul 26 '10 at 2:58
feedback

Speech recognition is not the way to go indeed. And probably because of the sound he or she will make before falling asleep. I think the best way to continue coding while you take care (hum hum) of your newborn baby is to add a DDR dancing mate to your computer. Then you can be coding with your feet. Literally only, I hope.

link|improve this answer
What an awesome idea. – Clinton Blackmore Jul 23 '10 at 14:45
feedback

Dasher is actually a great idea — there is an iPhone/iPod touch version [iTunes link], and at the very least, you could get some coding done there and copy it (via email, or Pastebot, or whatever) to your computer.

And I think combining this with A N Other's solution would make this really easy; that way you'd have a hand or two free to use the app.

link|improve this answer
I am going to give that a try. Thanks. – Clinton Blackmore Jul 23 '10 at 14:47
feedback

Don't "train" the baby to need walking to sleep!!! I've 3 boys and never HAD to walk for them to sleep! (to be honest, the problem is now... with them at 16, 13 and 10... because THEY are using the computer!) Most of the time at night I was handling them in one arm and using the computer with the other without problem (mouse does a great job here!). You can also place him on your desk in a baby-something and he will be happy there if you speak to him sometimes... maybe you'll need a head-phone for the the first days but don't take hime for a walk or you're dead ;)

Anyways, if you walk him, concentrate on the walking and on him, he will sleep faster because he will feel happy and you'll go to the computer faster and I bet you'll do more code... as coding spelling will be very slow and not very good as you'll have to concentrate on the baby, the floor, the cars if any, (maybe the thieves), the spelling, the formating, and... last... the code itself and all this without seeing much the screen...

An option could be a fitness walking machine and you put your notebook on it... :)

link|improve this answer
I hadn't realized that being walked to sleep was a matter of training, but looking into it, it appears to be the case -- thank you for the tip! Walking the kids when they are fussing is so ingrained it might be hard not to. You are right about the coding being tough when you can't focus on it. When I do get the lad to sleep in the night, though, I intend to go to sleep myself! – Clinton Blackmore Aug 1 '10 at 0:18
feedback

Although coding is probably not going to easy whilst walking around, you may want to have a voice recorder for taking notes - I find I have some of my best ideas whilst away from the keyboard (usually when on my bicycle or in the shower) - so having something to hand to record those moment of genius would be useful.

link|improve this answer
That's a great idea. – Clinton Blackmore Jul 23 '10 at 16:30
feedback

My kiddo enjoyed falling asleep in her bouncy seat (not this one specifically, but similar). I would type on my laptop while bouncing it w/my foot. Worked beautifully until I realized my sleep-addled coding was producing more garbage than usual :^)

link|improve this answer
feedback

Make yourself a Wii-controlled smartboard and code using a projector and onscreen keyboard.

EDIT:
If you do find speech recognition software that'll do what you want, you'd probably need to wireless-headset-mic yourself for it to be usable.

link|improve this answer
feedback

If you have one hand free, you might try a one-handed keyboard layout. I use a heavily modified Mirrorboard layout for coding. That may not work under OS X though. Maybe look into one-handed Dvorak?

Mirror-QWERTY (MirrorBoard for Mac OS X)

link|improve this answer
The idea appeals to me, but I think I'd rather need a wireless, one-handed, chorded keyboard. – Clinton Blackmore Jul 23 '10 at 15:21
feedback

lego powered hammock swinger ? fire off a cron job. job done.

link|improve this answer
That's funny -- I do build LEGO Mindstorms robots. : ) – Clinton Blackmore Jul 23 '10 at 14:42
feedback

If rocking the baby (in a crib) would work instead of walking, you could rig up a crib with some sort of auto-rock gadget in a spot near your computer.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.