Software Lets Programmers Code Hands-free
Yetihehe writes "New Scientist is reporting about a new speech recognition tool that promises to let programmers write clean code without ever having to lay a finger on their keyboard. 'The tool, called VoiceCode, has been developed to help programmers with repetitive strain injury (RSI). This is a common affliction for people who spend a lot of time using a keyboard or mouse and causes pain in muscles, tendons and nerves in a sufferer's arms and back. Some estimates suggest 22% of all US computer programmers, or 100,000 people, suffer from the condition.'"
If a programer has to say if-then as many times as he types, no doubt his mouth is going to get RSI.
Many people thought obesity is caused by junk food, but in reality is caused by having too much junk food.
So the best way to prevent RSI is to work out a reasonable and healthy work schedule that prevents such excessive usage.
Please stop entering code 2,2,7,6,6,4
*Computer, Close Browser*
Nothing to see here, please move along.
Proof by very large bribes. QED.
Pound include less than -- unf -- io -- unf -- stream greater than character return new line feed -- unf -- pound include -- AW SHIT ALL OVER THE KEYBOA--NO MOM, I DIDN'T SAY ANYTHING!
"'The tool, called VoiceCode, has been developed to help programmers with repetitive strain injury (RSI). This is a common affliction for people who spend a lot of time using a keyboard or mouse and causes pain in muscles, tendons and nerves in a sufferer's arms and back."
And now vocal cords. Now imagine this sytem in say a team environment. Everyone talking at once.
My workplace is constantly bombarded by the sound of several Indian guys arguing about mundane stuff such as coding conventions and color schemes. I really don't need my computer thinking that's me talking.
"It typically takes the better part of a day to get all the pieces installed and working properly," he says. "For someone who has trouble typing, that may seem insurmountable."
I would like it if you did not use the term "has trouble typing," sir--and make such faulty assumptions about us. I prefer "typographically-challenged," thank you very much.
void calculate_offsets(Node *foo) {
int dummy;
double buffer[ Hey, Smith, what, are; you doing there;
damn(it)->im.busy_coding.here;
}
E443 2:12 syntax error after [
...finally being able to safely program whilst driving! Woot!
Would finally mean that people learn the difference between brackets, braces, and parenthesis\
The revolution will not be televised... but it will have a page on Wikipedia
"For x equals two two to"
FOR X = 2 to 2
"Erase word, erase word, erase word"
FOR X =
"Twentytwo to"
FOR X = 222
"Erase word"
FOR X =
"Open parenthesis eleven times two close parenthesis"
FOR X = ((((((((((())
"Son of a.."
https://www.eff.org/https-everywhere
Next thing you know, software development will be hazardous to your tongue and mouth in general.
:)
Seriously though, I noticed that when I type, I express my thoughts in a more clear fashion than when I talk. I think this is because I am not distracted by the sound of my own voice. I can think faster than I type but not necessarily faster than I talk
You can't handle the truth.
I don't know about anyone else but my code never really gets translated in my head to English or any spoken form and doing so would seriously effect my coding. When I'm in groove, I'm thinking machine not human.
I've actually played around with this idea. What you really need is voice, combined with keyboard and mouse and you really could improve speed of coding. With the lookahead that most IDE editors support these days, it's pretty easy to do symbol lookups which could be adapted to voice.
The real trick is with symbol names; variable names, method names, class names, etc. The problem is that these are not necessarily words that will be easily adapted to spoken voice, which is made significantly worse with hungarian notation.
But if you dump hungarian notation and use descriptive variable, method and class names (which is probably a good programming practice anyway), then you can probably get by pretty well.
And the programmers of this software didnt get RSI why? Its easy to avoid RSI. It seems like voice recognition software to help sufferers of RSI get back to work is tantamount to putting an ambulance at the bottom of a cliff instead of a big sign at the top that says, "DONT WALK OFF THE CLIFF"
"Old man yells at systemd"
Imagine you not only have a really good speech recognition system with a good language parser but an actual AI to talk to when you are writing your code. How well would this work? You can find out by getting a human friend to play Oz by 'hiding behind a curtain' and typing what you say in natural language. Try it. Then decide if a system like this will ever be useful.
Does it work for Perl? If so, we can say it is done.
Rethinking email
Am I the only code monkey that advocates writing out at least most of your code with pen{pencil/marker} and paper? It doesn't seem to cause as many repetative injuries, but perhaps I am incorrect in that assumption.
:)
On a personal note: I've made my boss howl with laughter by informing him that I was on version 7 of the code related to one small project, but before I touched the keyboard I'd written out most of the changes on paper. It was even better when I showed him the scrap paper I'd been snagging from the recycling bins to do my design work on. I thought coffee was going to shoot out his nose; never had trouble getting a pay raise or vacation time from him since
When I mentored a couple of young co-op programmers they, at first, thought this practice was very crazy, but after they saw the benefits of having to thinking your code through while writing it out they started to follow this practice though not as drastically as I do.
Try saying $|++; $@?@^W--:!s/$#_/$_/g while <>; for 3000 lines !
My throat will never recover!
Some of you may know that RMS (Richard Stallman, GNU hero) suffers from bad RSI. He has to hire people to type the code he dictates. This could be really useful for him. Maybe he'll be a bit less angry when he can code again.
Computer, go to red alert. Wonder if we'll be seeing issues like this?
The above is most likely humour. Slashdot foot icon goes here.
now we can all sound like trekkin' holideckkers...
***Computer! Run program "Picard1"***
ooo what about REGEX??!!
Tha's gonna hurt!
The revolution will not be televised... but it will have a page on Wikipedia
Many programmers aren't classed as people, at least not whole one's.
The revolution will not be televised... but it will have a page on Wikipedia
I'm not sure I'd trust a system like this for a language like C, C++ or Java with its icky grammar full of parentheses, braces, commas and other types of pointless noise. But it might be nice with languages from the ML family such as Haskell where the main bit of syntactic 'glue' is simply white space. Haskell code is pretty compact too, in the sense that there's less to type per 'concept' that you want to express, so it's ideal for coding when your input rate is less than optimal.
Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
Share and Enjoy: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
VoiceCode will discriminate non-english speackers...due to accent..etc.Unless it can understand and process all languages. Can you imagine an Idian coder using it and the resulting code? Outsourcing Killer! But with all seriousness BrainCode will be much better...I code in my sleep. Infact I have re-writen google search engine five times.
Finally!
Something to drown out the IM glissandos.
Yeah. . . and of course we ALL hold our wrists slightly elevated the entire time, and we ALL drive with our hands in the 10 and 2 positions and do hand over hand steering. Wait. . . . what do I shift with. . . . no matter how much I'd like to think so, I'm not *that* talented! I personally benefit from ergo devices. Keyboard, chair (probably a bit excessive for most, but don't use folding chairs for computer chairs), and mouse. As far as wrist braces, I found I never have to wear them during the day if I sleep with it at night when I have any tiny indication of trouble. I'll wear it at night for a couple of weeks and then not wear it for months. The brace completely immobilizes my wrist (it's actually a nice splint from when I broke my wrist a few years ago). I found myself to curl that particular wrist in my sleep when pain started, therefore sleeping on it that way and aggravating it even worse. This has been the best cure I've ever found in the past 6 years or so that I've dealt with problems, and I've never worn a day brace since I started this procedure.
And I bet it works, too. Now back to my code...
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
The following link describes a method of enabling your own vocabulary creation.
c /msg/117d0698cecc0f46
http://groups.google.com/group/comp.sys.amiga.mis