News for hackers. Stuff that matters.
Re:Ask HN: I'm a software engineer going blind, how should I... by 1337shadow on Monday April 20, 2020 @05:21AM (#22922350)
I speak 3 languages on Dvorak-alt-intl layout which I have optimized for coding: https://blog.yourlabs.org/posts/2017-12-22-dvorak-intl-code-...

Dvorak fixed my RSI problems, it is not possible that Qwerty have the same physical impact than Dvorak because physically a Qwerty typer has to "walk" a lot more distance with their fingers to type the same thing than a Dvorak typer that has all voyels on the home row.

You can spot a Dvorak user by just watching them type: their fingers walk a lot less distance than other users. It's a trick that I learned from other Dvorak users who had spotted me.

I can still touch type with Qwerty, but my hands hurt after 5 minutes.

I type around 145 wpm, including in the 3 languages I speak (all ASCII based though) and languages or frameworks that I know by hearth.

To make it easy for colleges and friends, I just have 2 aliases:

alias aoeu="setxkbmap fr"

alias qsdf="setxkbmap -I ~/.xkb code -print | xkbcomp -I$HOME/.xkb - $DISPLAY"

As you can see, the four letters of the how row, in dvorak switches to french, in french switches to dvorak. Of course it could be more complicated with more layouts if I had to support them but then I guess a systray icon would work.

Anyway, also using Kinesis Advantage 2 LF, absolutely love it, and plenty of other "non-standard" stuff like the OP says, such as a tiling window manager.

Highly recommend learning or making a better layout than Qwerty because the drawbacks are largely country balanced by the benefits IMHO.

It's not about whatever someone thinks is "standard" it's about how you want to touch the machine for the rest of your life.

Re:Ask HN: I'm a software engineer going blind, how should I... by bad_user on Monday April 20, 2020 @06:10AM (#22922574)
> "I can still touch type with Qwerty, but my hands hurt after 5 minutes."

That's not a good metric. In your case, you might be right, but for the general public it's like when picking up any new exercise or sport, like running or biking or anything really, when untrained you end up for the first few days with sore ligaments, joints and muscles. You get used to it.

My hands never hurt, even though I love writing long texts, long emails, long code comments, etc. I can also do 120 wpm but I don't feel the need to do it because it's stressful, not necessarily on the hands, but on my thought process. Speed isn't an issue.

If Dvorak solved your RSI, that's awesome, I can understand why you switched, however I don't think this is a causality issue, meaning that I don't think it was Qwerty that caused RSI in the first place. If Dvorak is a good strategy for you to manage the pain, then great, but it's pain management, not a cure.

I also used to configure my machines a lot, going into a yak shaving rabbit hole every time it wasn't functioning properly. I was on Linux back then, but I gave it up and nowadays I'm much happier. The only yak shaving sink I still have is Emacs and I'll get rid of it as soon as I find something better.

Re:Ask HN: I'm a software engineer going blind, how should I... by 1337shadow on Monday April 20, 2020 @07:08AM (#22922826)
Indeed it's just my personal experience, but there's a fact that you seem to have missed: the distance that fingers must walk to type the same text is higher in qwerty than in dvorak, that's the whole point of dvorak and others such as bepo. So, typing in Qwerty is more physical work than typing Dvorak. There are ways to calculate that pretty accurately.

I don't have proof that less finger distance means less hand work means less pain, so maybe you're right, maybe it's just a coincidence.

Or maybe less finger distance means less work which means less tension accumulated in the muscles and then indeed less pain.

Nonetheless, I changed "fixed my RSI" by "fixed my RSI problems" thanks to your feedback, which should clear out the misunderstanding.

Re:Ask HN: I'm a software engineer going blind, how should I... by kqr on Monday April 20, 2020 @10:40AM (#22924172)
It's also worth mentioning that some of the Qwerty pain can be psychosomatic in origin. Even for me, who hasn't suffered RSI, it was pretty clear that I didn't feel the exertion of Qwerty until I had gotten used to something better (Colemak, in my case.) Once I knew how nice it can feel to type on a keyboard, anything less nice starts mentally hurting – and I'm sure, for some people, also physically.
Re:Ask HN: I'm a software engineer going blind, how should I... by hermitdev on Monday April 20, 2020 @11:56AM (#22925030)
> The only yak shaving sink I still have is Emacs and I'll get rid of it as soon as I find something better.

I'm a long time Vim user, myself (and no, not looking to spark a holy war here). One observation I have about my own habits is that I subconsciously slap the ESC key every time I'm done with something, even if I'm in a non-modal editor like Notepad or SQL Management studio. It's just become so ingrained in me that I can't stop doing it. Mostly because there's no negative feedback loop associated with doing it.

Re:Ask HN: I'm a software engineer going blind, how should I... by hultner on Tuesday April 21, 2020 @06:30PM (#22940033)
Same here, it's a pain when working with spreadsheets where this clears the cell, drives me nuts. Also I always turn on caps lock when using someone else's computer since I rebind esc to caps.
Re:Ask HN: I'm a software engineer going blind, how should I... by yoloClin on Monday April 20, 2020 @07:53AM (#22923040)
I fee like UI/UX needs to be completely redesigned and dvorak isn't even half (or any) of the battle. Single-key copy/paste, undo/redo, keyboard driven UIs, etc etc. I say this as I type on dvorak and while I love it, I also regret it due to interoperability issues and breaking of common keyboard shortcuts (I miss Ctrl+CVX).

But I just aliased `us` and `dv` to setxkbmap shortcuts, so thanks for that!

Re:Ask HN: I'm a software engineer going blind, how should I... by james_s_tayler on Monday April 20, 2020 @08:05AM (#22923108)
That's what Colemak is for. IMO no one should consider learning Dvorak these days.
Re:Ask HN: I'm a software engineer going blind, how should I... by kqr on Monday April 20, 2020 @10:42AM (#22924193)
Dvorak still has the alternating hands rhythm that Colemak lacks, being more built on one-handed finger rolls than Dvorak. Most people I speak to prefer the finger rolls of Colemak, but some people (like me) prefer the alternating hands rhythm of Dvorak.

(That said, I still use Colemak because it happens to work better for my native tongue. If I only wrote English, I would have been a Dvorak user.)

Re:Ask HN: I'm a software engineer going blind, how should I... by yoloClin on Monday April 20, 2020 @07:45PM (#22930220)
What I'm talking about is a UI/UX problem that cannot be solved by key layout, I even experimented with a Ergodox and ended up in keybind hell really quickly because supporting one application others very quickly.