News for hackers. Stuff that matters.
Re:How can you program if you're blind? by gaius on Thursday October 28, 2010 @06:59AM (#1842448)
I've sailed the open oceans with a blind man at the helm. Which sounds like a line from PoTC but really: he used an audio compass that played a tone at different points of the compass, higher or lower so he knew how to correct. The rest was done by feeling the way the boat handled through the deck and the wheel.
Re:How can you program if you're blind? by eney on Thursday October 28, 2010 @08:44AM (#1842625)
I'm a blind programmer. I use a 80-character braille display which shows one line of text at a time. My preferred language is Python although some blind programmers dislike it for its syntactic use of indentation. I find that scrolling with the braille display and feeling for the indentations on left gives me a good feel for the shape of a program. I know another programmer who prefers Perl because of its rich use of sigils, although he uses speech synthesis. I prefer to use vim for all types of editing (I hate IDEs although many blind programmers like Eclipse or Visual Studio). Why do you reckon the feedback blind programmers use as non-tangible BTW?
Re:How can you program if you're blind? by random42 on Thursday October 28, 2010 @11:20AM (#1843204)
I was just thinking, before reading your response, that python would suck for the blind, because of its strong preference of "beautification" of the code. So your response actually surprises me.

Do you think having braces over indentation would have helped for accessibility. Any other issues with the language syntax?

Re:How can you program if you're blind? by eney on Thursday October 28, 2010 @03:22PM (#1844490)
Maybe one's preference depends on whether one uses speech or braille. Although I known of some blind programmers who won't learn Python because of the indentation, some like it. Some speech users use a piano scale to show indentation. Some use editor settings that transform the source code on load so that blocks are delimited and reformat on save. The EdSharp, developed by a blind programmer, is one such editor.
Re:How can you program if you're blind? by mathgladiator on Thursday October 28, 2010 @12:08PM (#1843446)
I was thinking that too, but I wagered there would be a way to give representations to white-space which act as a way of dealing with it.

Although, it would seem to me that it would involve a lot of counting of white-space.

Re:How can you program if you're blind? by gaius on Thursday October 28, 2010 @08:56AM (#1842662)
What do you think about languages like J or APL or even Haskell, where you can do an awful lot in very few characters?
Re:How can you program if you're blind? by eney on Thursday October 28, 2010 @09:37AM (#1842785)
I don't know APL and I'm not currently smart enough for Haskell. My current infatuation for learning is with Scala. When I first started programming in the mid-80's, I was hacking on a COBOL stock-control system on VMS; the braille display I was using at the time didn't do terminal emulation, and this software built screens by outputting VT52 escape sequences. Although I learnt to decode them so that I could check my screens for alignment and spacing etc. I discovered that I could log an interactive session using SET HOST/LOG; I wrote a TECO program to translate these sessions back into a 2-dimensional layout that was much easier to read on my braille display. So, yes I generally like dense languages.
Re:How can you program if you're blind? by viraptor on Thursday October 28, 2010 @12:02PM (#1843426)
> "I learnt to decode them so that I could check my screens for alignment and spacing etc."

That's just amazing, but I guess it makes a lot of sense... since your display is not 2d-based in the same way as standard screens are and you can read the code itself (i.e. the display is consistent). I'd upvote you a thousand times just for how cool it is to workaround difficulties in so leet way :)

Of course it also reminds me of... I don't see code, just blondes, brunettes, redheads...

Re:How can you program if you're blind? by SriniK on Thursday October 28, 2010 @02:29PM (#1844204)
I used to work in a braille lab during my masters. Braille lab would generate braille books and reading material depending on blind students' request.

For regular text, we used to do a simple text conversion and print it using a special printer called braille embosser. We used a software called duxbury for the purpose. http://www.duxburysystems.com/dbt.asp

For math(non single line), braille uses something called, nemeth code. So we used code almost all the math functions/equations manually in nemeth code.

For graphics, we used to emboss 2d picture on a special paper. The process involved, scan the picture -> convert it into a grayscale -> remove all the noise -> take a print out -> use a tactile embosser to put it on a swell touch paper (http://www.abledata.com/abledata.cfm?pageid=19327&top=15...) Typically, a chart or graph or waveforms were key in understanding the material.

During the process I interacted with few blind cs engineers who were graduated and were working for Microsoft. At that time(10yrs ago), Microsoft was the best blind friendly company. They used the visual studio for daily hacking.

Re:How can you program if you're blind? by saurabh on Thursday October 28, 2010 @01:44PM (#1843966)
Have you ever tried PostScript, Forth or Factor?
Re:How can you program if you're blind? by binarymax on Thursday October 28, 2010 @07:18AM (#1842478)
The compass tones are ingenius, but aside from that I'm not surprised he was able to do this as sailing is one of those things where feeling plays a much larger role than one would expect. There are many forces at play that have nothing to do with sight. Having helmed in night storms of 20 foot seas where I could basically see nothing, the motion of the vessel and feedback force exerted on the wheel, I quickly got a sense of how the boat was moving. In fact in those situations I probably would have been much better off with your friends compass than the soaked one at the wheel. And dont even get me started on trying to read the windex in such conditions!

Coding blind would be much different. The input is physical but there is nothing tangible coming back. It is more or less all visual. Come to think of it, if I ever lost my vision I would probably become a full time sailor :)

Re:How can you program if you're blind? by masklinn on Thursday October 28, 2010 @08:31AM (#1842598)
> The input is physical but there is nothing tangible coming back. It is more or less all visual.

Not really. At the end of the day it's just data, text, how you encode it is not very important as long as it can be understood.

Because humans very strongly rely on sight, it makes sense that the default serialization format for text output be print/visual, but there are a number of non-visual interfaces to text. And if none fits, build a new paradigm.

I think samlittlewood below makes a good point: even with a fairly slow (e.g. braille) output, it's at worst similar to coding using a line-oriented editor (e.g. ed). Except you're used to it because you see pretty much everything via a line-editor so you're probably proficient at it.

Re:How can you program if you're blind? by Retric on Thursday October 28, 2010 @07:31AM (#1842493)
I went to school with a blind CS student. He had no problem using a computer by himself but the normal classroom setting was vary difficult for him. Based on how he operated meetings would be far more difficult than actually writing code.

PS: Ok, his is not going to be building a GUI but text to speech works well. And a keyboard only interface works fine for both VI and visual studio.

Re:How can you program if you're blind? by pavel_lishin on Thursday October 28, 2010 @11:32AM (#1843268)
Why were meetings more difficult than writing code?
Re:How can you program if you're blind? by Retric on Thursday October 28, 2010 @12:26PM (#1843534)
The tendency of people explaining their ideas to draw diagrams on paper / a white board. Once a diagram was on a computer there are tools to help him understand it, but it took a while. So, the only way for him to keep up with a free flowing discussion is to follow what people said.
Re:How can you program if you're blind? by gcheong on Thursday October 28, 2010 @05:03PM (#1844957)
I remember looking into whiteboard systems that automatically digitize what people write as a way to conveniently record what was written but the implication that this tech could also be used to help a blind person during a meeting is interesting.
Re:How can you program if you're blind? by jkent on Thursday October 28, 2010 @11:01AM (#1843118)
How did he handle other users of the ocean?
Re:How can you program if you're blind? by gaius on Thursday October 28, 2010 @12:05PM (#1843435)
No worse than any other helmsman :-)

Which is to say with the boat heeled over or the jib up, the helm is reliant on the bowman and the rest of the crew keeping watch anyway, you can't see much forward.