News for hackers. Stuff that matters.
Re:How a Blind Person Programs by zersiax on Thursday January 29, 2015 @09:20AM (#8966219)
Technically I can already sort of do that in any language. Do keep in mind that all I need to interact with a computer is a keyboard and some way to hear audio ...so I can in fact lay back on the couch with a keyboard on my lap and code away. In fact ... I do that all the time ;) I can't check my work using braille that way though, which is kind of essential with very complex code
Re:How a Blind Person Programs by yaddayadda on Thursday January 29, 2015 @12:36PM (#8967609)
@zersiax

- Thank you so much for sharing!

- You mention,

>Premier tools that coders use every day, like the IntelliJ editor, as well as all its offshoots (PHPStorm, WebStorm, PyCharm), are completely inaccessible, due simply to the fact that the developers of these programs have not adhered to the accessibility guidelines. They've failed to give screen readers textual labels or accessibility descriptions to work with. The same goes for applications like SourceTree, which is slowly getting better, but is still a pain to use.

Have you tried VIM, eMacs, Sublime or Brackets; if so, how would you rate them?

What is your experience with HN's interface? I know I frequently wish there were more visual indicators of new/unread responses, but I can at least scan the beginning of messages and skip ones that I've previously read; do you have a corresponding way to skip responses?

Re:How a Blind Person Programs by zersiax on Thursday January 29, 2015 @06:51PM (#8969659)
No, I have to read through all the comments over and over and quickly arrow along when I notice its a comment I've already seen. As for your editor questions: Brackets is sort of usable, but too much of a pain to actually be useful. Vim ...I really have no idea how to use it, and I think thats not a 'being blind' thing :P I should look into it more Sublime is, like the IntelliJ, completely inaccessible Emacs works well regarding you can get your braille display hooked up to Linux, which is a little tricky for me in my current configuration. Also, there's Emacspeak which I am having a hard time getting to run because I don't speak Lisp :)
Re:How a Blind Person Programs by jcr on Friday January 30, 2015 @04:20AM (#8971179)
Do you have trouble with voting up either comments or stories on HN?

If you check out the HN page source you'll notice the HTML anchors for voting are essentially empty save for an empty HTML DIV element with it's background image set to the arrow icon. Needless to say, the way it's designed is dead wrong and highly problematic for systems like terminal text browsers.

Re:How a Blind Person Programs by zersiax on Friday January 30, 2015 @04:38AM (#8971221)
Oddly enough no, I can read the vote up buttons just fine and should in fact use them more :) maybe some JS behind the scenes that is taking care of it
Re:How a Blind Person Programs by tyrylu on Thursday January 29, 2015 @01:06PM (#8967818)
I'm not the original author, but a blind coder nonetheless, so i think it's worth responding anyway. Sublime is an accessibility disaster, unfortunately, Emacs can be used, but it's much more productive with EmacsSpeak or Speechd-el. Vim would likely need something similar, because the advanced cursor movement commands have no screen reader feedback by default. The HN ui is quite okay, but some semantic comment nesting (like disqus comments, perhaps?) would help. Might be some filtering for new comments since last visit.
Re:How a Blind Person Programs by murbard2 on Thursday January 29, 2015 @09:45AM (#8966355)
Thanks for writing this article. I've often wondered if I could still program if I lost my eyesight; this is reassuring.

When I consider at expressions with infix notations, I visually scan then from left to right and right to left. Visually matching parenthesis is also important.

I get the impression that if one were to listen to an expression in one pass, reverse polish notation would be the most intelligible. What's your experience like here? Does it make a difference?

Re:How a Blind Person Programs by zersiax on Thursday January 29, 2015 @06:49PM (#8969648)
I am afraid I didn't understand most of the sentence. I am not familiar with the notation you are referring to, not the type of expression you mean :(
Re:How a Blind Person Programs by murbard2 on Friday January 30, 2015 @09:37AM (#8972171)
Infix notation is when the operators goes in the middle. For instance, the expression: x * (y-z) uses infix notation. When I look at it, I can see at a glance that x is multiplied by the difference between y and z. However, were I to listen to it, I wouldn't know when to expect the parenthesis to close. I would have to remember that I am within a parenthesis.

Postfix notation, or reverse polish notation places operators after the operands. So that same expression would read " x y z - * ". The idea is that you push x on a stack, then y, then z. Then comes the minus sign, you pop the top two elements, y and z, and push their difference on the stack. Finally you pop the two elements, x and y-z, and replace them with their product.

In reverse polish notation, you still need to remember something, the state of the stack, but there are no parenthesis. I get the impression it would easier to parse if listening to the expression, but I may be wrong.

So which parses most easily for you? x * (y-z), or x y z - * ?

Re:How a Blind Person Programs by am391 on Thursday January 29, 2015 @10:49AM (#8966762)
Thanks for writing this post. I'm visually impaired (but not blind) and can get by making minor adjustments to my work environment (font size, contrast, etc), but reading this was truly inspiring. Thank you.
Re:How a Blind Person Programs by grego on Thursday January 29, 2015 @01:10PM (#8967834)
Btw. what braille do you use for reading code? 8-dot us-computer braille, or something else?

(I'm the author of MBraille, now working on Vietnamese braille table for liblouis, so braille is in my mind...)

Re:How a Blind Person Programs by zersiax on Thursday January 29, 2015 @06:53PM (#8969664)
I tend to use 8-dots US braille, simply because I am used to it. Working with other tables would work just as well though if that's what you are used to, there's no 7 and 8 dot features that set it apart