LLMs may have helped my RSI
vaughanhilts.me
vaughanhilts.me
The one thing that has always given me relief: changing my keyboard every 6 months or so.
For this reason I have a stack of different keyboards and whenever I start to feel the tugging pain gnawing in my hands muscles and tendons, I switch out the ol’ keyboard and get back to work.
Within a day, relief.
Seriously, it’s that simple. Just don’t get fixated on a single keyboard and you’ll be fine. Get yourself a small collection, swap them around.
It both gives time for the soles to recover, lessening the permanent compaction over time, and helps reduce motion repetitiveness, which all your joints will be thankful for.
IMO LLMs are the best thing to happen to coding in my ~15 years of being in the game.
I wager they have probably added on another 5-10 years to my engineering career as I was contemplating getting out before they showed up.
Have also been convincing some friends that have "gone woods" over the years to put the woodworking tools down for a day or two and give them a go. So far so good, a few folks have found the spark again and it's been awesome to see them make digital things again too.
am I missing something here..?
Companies that pay people to hit enter instead of using auto-approve/bypass are going to lose to companies that pay people to think and produce results, regardless of how much time they spend in front of the screen or how many prompts they input.
I eventually learned to code and would often find it to be my favorite part of the job--the looking out the window and planning the attack phase.
The tappy-tappy is necessary(-ish) but isn’t the thing I care about.
I know you didn't say that, and you softened your language, but many people with disabilities or chronic conditions have to deal with everyone they share their problems with telling them their "cure". Its exhausting.
I am sure the OP was just trying to help. I, too, when I started having such problems chalked it up to "surely some adjustments will help". And they did! But it never quite ceased.
> but to dismiss their problems as being "solved" comes across as basically calling them stupid for not helping themselves.
Yep, I did kind of say that now that I re-read it. It does come from a point of aggravation (again, in The Before Times) of people expressing, with pride, how little they know of their tools (editor and VCS mainly). And for sure, they probably made/are making a lot more money than I am, so I guess they win?
I must take exception, though, with you bringing up disabilities. This article never mentioned them, so I didn't either. This is a whole other can of worms, but I will say that after working with a couple of people who have pretty extreme disabilities, there are some extremely good (non-"AI"... although of course we know they have some sort of "pre-AI"-AI in them) tools out there are extremely good, and they rocked the f^ck out of them (yes, I intentionally used "extreme" three times there).
So ya, I guess I was being a bit snooty as I was always annoyed how few people learned their tools. Not even just their tools, but their programming language of choice as well! It's all a spectrum, of course. But, as I must admit, it turns out they were right so... ¯\_(ツ)_/¯
Also, as far as exhausting goes, I've never been more exhausted than trying to follow what these awful f^cking companies are doing.
I have experienced exactly what you describe here. I am battling RSI for more than a decade, it has nearly cost me my career. Like you and many others, I have tried all sorts of things. I got the most improvement from:
- An ergonomic split keyboard, with a custom layout - An ergonomic chair and desk setup - Relearning to type from the home row - Using dozens of custom shortcuts to reduce awkward hand movements - Yoga and stretching - Building a more active lifestyle with total body movement as a focus - Improving diet to reduce inflammation
Despite all those interventions I still suffered debilitating hand and wrist pain, which eventually crept into my shoulder blades and back muscles. Doctors and physios were useless or clueless. One doctor refused to acknowledge that RSI exists. No amount of physiotherapy helped.
Using LLMs to do (almost) all of my coding tasks has reduced my RSI pain and stress by half or more. I feel so much better and healthier. I still have pain, and I still have to work hard to manage it, but I will never go back to writing everything by hand.
Thank you for sharing, and for reading. Wishing you good health.
In the past, I’d twist my left thumb for a single handed ctrl-c or the right fingers for shift-; (to type a colon in vim). Similar for ctrl-a and ctrl-b.
I switched to a single F12 key for tmux, semicolon for vim, and either use specialized macro keys for cut/paste or got in the habit of using two hands for them.
It made an enormous difference for me.
This also relates to my most controversial opinion: The caps lock key is good, actually.
Avoiding surgery involved months of finger stretches, forearm massage, 2 keyboards and 2 mice at different elevations, typing with my hands hanging slack like a zombie. It worked. But, even typing this out 20 years later I can still feel the RSI hiding in the shadows. Since then I've avoided RSI by spending 10x more time thinking about code than typing it.
All that is setup for: There have been many times recently where I've thought "I know exactly what I want this code to look like. But, damn. That's going to be a lot of keypresses..." The effort is nothing. Risking nerve damage is the concern.
In those cases I have been thrilled be able to tell AI exactly what to make, how to refactor it, how to clean it up, clean it up more, yet more, still not done. All in less than 10% of the keypresses that would have been required to type it by hand.
Like you, there was always this specter of "don't overdo it".
I haven't read it yet but folks might benefit from this recent book, Body Electric: The Hidden Health Costs of the Digital Age and New Science to Reclaim Your Well-Being.
Also my english pronunciation sounding like bucket full of rusty nails being dragged on motorway, makes the freeform so frusturating. Naming things is such paain at that point.
But oh, how much do I wish I could get it working.
- Using mouse less
- Ergonomic keyboard
- Learning to type better (I still suck, but speed is fast enough, and I don't get a soar neck or fingers from my previous glance at KB then back to monitor and smash keys)
- Positioning top of monitor to eye level
- Gradually transitioning from programming through rapid trial and error, to building and exploring logical models of programs in my head, then type out some code that usually works.
All my experiments and usage of AI if anything lead to more typing rather than less.
Number two is more complicated to explain, but it is a mighty powerful keyboard skill that can sometimes go a long way to reducing the "awkward reach" keystrokes. Specifically, copy and paste! Read on:
(TLDR: learn Ctrl-Ins, Shift-Ins, and Shift-Del, maybe. Instead of Ctrl-C, Ctrl-V, and Ctrl-X):
In the past I often found myself doing long sessions of paging up and down documents and source files, and doing complex copy and paste actions, for reasons. Ctrl-C and Ctrl-V were not so awkward on the original IBM-PC keyboard, because Control was right where it should have stayed, ha (where your CapsLock key is now.) When they moved it to the lower left and lower right spots, it made it a tough reach with just your left hand. You could learn to do RightControl + LeftC for copy, but I never did. Instead, when I need to do a lot of copy and paste with paging up and down also, I get my right hand at the home position on the (full sized) numeric keypad (in arrow mode not number mode), and I get my left thumb and forefinger on left shift and control. Then PgUp, PgDn, Home, End, Ctrl-Home, Ctrl-End are all lightning fast. But most importantly, and the point of this rant, LeftCtrl + NumericKeypad-Ins is COPY, LeftShift + NumericKeypad-Ins is INSERT, and LeftShift + NumericKeypad-Del is CUT. I have never met anybody that could do cut, copy, and paste faster than I, in a long career, if I must say so. Try it for a moment, your fingers barely move when you learn the technique. But I never could talk more than one or two people into learning the skill, much to my disappointment. And now I'll probably never do any long sessions like that again (because AI mostly like you said), oh well.
I've tweaked my keyboard layout so that caps lock is left ctrl (with KDE this is just one click away in the settings). I never need caps lock anyway. That helps a lot with different keyboard shortcuts. The default ctrl position is awful.
This is funny, because it was the opposite for me: retraining from Ctrl/Shift+Ins/Del to Ctrl+C/V/X helped reduce the pain in my right hand, which is already overloaded by the navigation keys.
But cording with two hands is a good point, I’m doing that as well.
I’m also using a curved ergonomic keyboard where the Ctrl keys are wider and less badly placed due to the curve.
I don't have RSI, but I do this whenever my arms get tired to make sure I don't end up with it.
I have considered dedicating time to stenography but it likely won’t happen (95% confidence).
I have tried to set up foot pedals but the crap that I bought wasn’t really that helpful.
I have had some success with an auxiliary little keyboard for special functions. I really like having auxiliaries. Because then I don’t need crazy key combos. I can even have visuals for those auxiliaries.
Going beyond that. I have not RSI issues with my hands which can make typing annoying. So I would definitely be interested in other things to make me type less. Like voice dictation. But truly bless the obiquity of the Open Office, the facilitator of so much collaboration and I don’t know what.
> This was even more common when I was a junior. This would normally involve trying to type special characters all over the keyboard. Hitting angled brackets, hitting various FN keys, striking home, end, tons of modifier keys, contorting my wrist in all sorts of ways that I really should not be. This was part of the motivation to learn to type “the right way”: to reduce these types of problems. Probably something that made it worse is that my hands are much smaller than average as a male. My finger span could barely reach an octave if I tried and much more than this is tough:
Setting up this keyboard software and having learned touch typing 20 years ago[1], avoiding wrist contortion was essential. For example: for single-modifier keys I never strain, I just press the key. And then the other hand presses whatever key is to be modified. I do have multiple-modifier setups. But for those I never have to strain. For example: the equivalent of “Shift AltGr” might be two keys right next to each other that can be pressed by the index and the middle finger. It doesn’t get more comfortable than that for me.
Linux Xkb has the accessibility feature “sticky keys”. Of course, like any “accessibility” there’s nothing that says that people who do not strictly need it cannot have use for it too. I use it all the time. Being able to Shift and then hit A-Z keys is very nice.
[1] A separate topic. But touch typing might not be good ergonomically. Maybe some people who do not touch type have less issues. Ergonomics is really about adjusting a primate body from Africa to fit into an office space. So who knows what the correct objective answer is.
> I have my own set of complicated feelings of LLMs (gone are the bouts of satisfaction I would get hammering out code in an afternoon and watching it work at the end of the day). However, it seems increasingly more likely that from a health perspective perhaps they have been a boon to me. Or perhaps I am just senior enough now that it’s no longer a problem. At any rate, if the machines ultimately let me live a healthier life, then so be it. Without your health, you are nothing after all.
Really? You’re going to use the health truism to wave away any concerns? The “complicated feelings”? There are in fact ways to type more comfortably, and less.
This is all fine if the LLM use is incidental to the typing. We all have to either appease investors as businesses or increase shareholer value as laborers. But as an end in itself, using LLMs to type less is the most banal use case.
Been doing this for years as well, "in software" being a custom layout in xkb in my case. Though for me the concern was limited to making it easy and quick to type []{}|<>. The only downside I've ran into more frequently than you would expect is that I feel more than a little lost without the xkb config.
Still suffer from RSI but I have to assume that it would be a lot worse with the Swedish/Finnish layout I'd be using otherwise. The placement of AltGr practically ensures that typing say [ is torturous, and RSI etc. aside, for sure this has to have had at least some sort of economical impact over the years across Europe.