Live data from Hacker News

Using Voice to Code Faster than Keyboard

ergoemacs.org

31–40 of 137 posts

Re: Using Voice to Code Faster than Keyboard

#31

Interesting talk. Naturally it made me think about steps I should take to prevent any kind of RSI. Should I be seriously concerned if I type for about 4-5 hours on average per day? How can I prevent it?

This might be a good place to start. http://matt.might.net/articles/preventing-and-managing-rsi/

Basically review your work environment, keyboard, chair, table and posture.

Re: Using Voice to Code Faster than Keyboard

#32
post #9

Earlier quoted context omitted.

> you must work from home with that kind of setup. Or, you have a private office with a door that closes.

the day the average programmer gets an office, well... I don't even get a cube where I work

it's funny. The place i'm at now, in the valley and a successful post IPO SaaS company, management believes that open space and engineers running around, yelling and waving hands is sign or productivity. I have to escape to the kitchen to get anything requiring the tiniest level of concentration.

Re: Using Voice to Code Faster than Keyboard

#34
post #9

Earlier quoted context omitted.

the day the average programmer gets an office, well... I don't even get a cube where I work

Mentioned this on HN previously but as a nearly 40 year old developer who has been developing professionally for nearly 20 years -- it used to be the norm for programmers to get their own offices, even just the regular joe programmers... Places really tight for space might put two guys in a very spacious shared corner office... A few years into my career the idea of cubicles caught on and quickly became the norm, and…

> A few years into my career the idea of cubicles caught on and quickly became the norm, and now of course we're stuck with these horrible open offices that are, in my experience, just absolutely dreadful for productivity; but since everyone is doing it nobody really notices anymore.

You can largely thank Jim McCarthy of Microsoft fame for that, who in the mid 90s coined the concept, "beware of a guy in a room":

https://www.youtube.com/watch?v=oY6BCHqEbyc

https://blogs.msdn.com/b/david_gristwood/archive/2004/06/24/...

http://www.codinghorror.com/blog/2008/06/dont-go-dark.html

Re: Using Voice to Code Faster than Keyboard

#35

Earlier quoted context omitted.

At that point why not cut out the coding altogether? Just visualize the output and there it is.

Just materialize whatever you want, in perfect working order, by thinking of it.

With 2030-grade brainwave gear and 3D printing, why not?

Re: Using Voice to Code Faster than Keyboard

#36
post #2

My counter-argument to voice-driven coding has been primarily around the input bandwidth and the fact that you must work from home with that kind of setup. I guess the presenter conducted the "faster than the keyboard" test under very controlled circumstances (e.g. only working on his own code, so one doesn't have to deal with non-english-word variables/functions). I don't mean to be a hater, because that was an _ama…

> you must work from home with that kind of setup. Or, you have a private office with a door that closes.

A high-quality headset, maybe even with some noise-canceling features should work okay, too. It wouldn't be that much different from a call center, and those don't usually get their own offices, either.

Sure, not the ideal, distraction-free environment, but neither is a cubicle farm.

Re: Using Voice to Code Faster than Keyboard

#37
post #16

I was trying to work something like this out to try about a month ago but had to put it aside for later. Running my speech recognition inside a virtual machine was a dealbreaker, but not all that uncommon for people doing this sort of thing. I really, really wanted to get Julius[1] running in OS X but after a couple tries I couldn't get it to build (problem on my end– this is a good reminder to get it sorted out). If…

That does work well. I'm happy to pay for Dragon, but I find the Windows version so superior to the OSX software I refuse to run it on OSX...

Re: Using Voice to Code Faster than Keyboard

#38

I guess it depends on the type of software you're working on, but input speed has never been close to being the bottleneck with coding for me... Most of the time I'm trying to figure out what to do or how to implement an algorithm. Rarely do I get those mad-scientist frenzies where I'm typing away frantically trying to get all the words down as they come into my mind in a flash of inspiration.

It usually happens during refactoring, or when you're doing something you've done before, so you already know pretty much exactly what needs to be done and you're just executing. It also helps to stop coding for a minute, think what you want to do, then code until you stop typing for more than 5 seconds, repeat.

When refactoring: Instead of typing fast, use ST multicursors or VI/emacs macros in an intelligent way. And I really really recommend ST if you don't want to debug your editor macros before debugging your build macros before debugging your code macros before debugging your code (yo dawg etcetera).

Re: Using Voice to Code Faster than Keyboard

#40
Tangentially related, but I'll throw it in here, since so many developers aren't taking ergonomics seriously. RSI can happen to you if you are not careful, and it can wreck your career (almost happened to me). Several years ago, I started having aches in my arms. Over half a year it got gradually worse, until it was so bad, I thought I had to give up coding altogether. Fortunately, I managed to get it under control, mostly with the aid of a break program, and an ergonomic keyboard and mouse. I'm now completely over it, but I still need to be careful not to get it back. A lot more details in this post: http://henrikwarne.com/2012/02/18/how-i-beat-rsi/
Post reply on HN