Lurker News
I've been using this for about a year now - I parsed 6 months of my messages on slack and found the most common phrases I use and generated keyboard shortcuts for them.

Comments (313) 91 threads

Show all comments

Showing thread 2 of 91

crazygringo16 replies#
This is a very clever idea.

However, I realize that I would never want to use something like this that would change over time. E.g. if I ran it every 6 months and last year "db" produced "debug", while this year it produces "database". Because talk about messing up my muscle memory and habits. And the language I write changes very much over time.
So I'd actually be much more interested in a "universal" version of this -- if you ran it across books and e-mails and text messages from thousands of authors covering diverse backgrounds and contexts, then what would most reliably help everyone?
E.g. expanding "t" to "the" seems like a no-brainer, just like "st" to "something". Is there a minimal set of, say, 200-500 of these that could simply be turned into a "standard keyboard" that everyone could learn?

calvinmorrison#
Congrats you just invented shorthand!
IanCal1 reply#
You could make it append only by default. Only ever add new shortcuts - if db was debug for you before then database would have to take on a new shortcut (e.g. dtb)
munificent1 reply#
That would lead to pointless verbosity over time because the older shortcuts would squat on useful shorter shortcuts for words that are no longer used. It would lead to the "horseless carriage" effect for shortcuts.
IanCal#
Just delete things manually.
kulikalov#
A simple ngram index can address your concern
sosodev2 replies#
Is the universal version of this stenotype?
NateEag3 replies#
More or less, yeah.

There are different stenography systems, each with their own shortcuts and abbreviations, but at core they're all about producing large volumes of text with minimal physical effort at very high speeds.
Those interested should check out http://www.openstenoproject.org/.
A good mechanical keyboard (e.g. the ErgoDox EZ) and Plover mean the only thing standing between you and >200 WPM typing is the time and effort to learn it.

Exuma3 replies#
I hit this invisible wall at about 165 WPM that I can't just get beyond, and it kills me. I wonder how fast I could get with stenography... I see dem 400 WPM videos and they look awesome.
SOLAR_FIELDS4 replies#
Curious what kind of work you are doing where WPM is a limiting factor. I’m in software, like a lot of people here, so being able to type in speed is rarely the limiting factor. Besides stenographers, the only other line of work off the top of my head that needs this kind of speed are people who are paid to write subtitles for TV shows and movies in another language. Which I guess is just another form of stenography, when you unwrap it.

Or is it not for work and it’s just purely to see how fast you can type?

Exuma3 replies#
Typing fast is one of the greatest strengths for programming for me personally, especially when compared with Vim. It's that that it's a limiting factor, but rather I max out typing quite often, and also I have always wanted to hit 200 just for fun, but it currently feels not attainable.

Some people say they spend more time than they do typing, but I definitely don't find that to be the case very often.

SOLAR_FIELDS3 replies#
I am a bit jealous (maybe?) that typing speed is a factor for you. I am the kind of person that will think for minutes at a time before writing a single line of code
wryanzimmerman#
All depends on what you’re doing… sometimes people have to write, like, css.
Exuma3 replies#
It's definitely situation dependent. When writing a lot of frontend code (vue, typescript, css, tailwind, html) I know what I'm typing several mental steps before I actually type it, so speed gains there are most pronounced.

Sitting somewhere in the middle are dynamic languages where there might be certain implementations (say... some random api integration) where it's simply a lot of code I've typed thousands of times before. This still benefits from fast typing, especially when needing to operate surgically with vim, it's one of the moments I love the most (basically getting 20x combos with perfect typing at high speed when moving/modifying/transforming blocks of text etc etc)
What benefits least of the 3 is writing things like Golang where it still definitely helps typing fast, don't get me wrong, but I usually have to think more there. Pace is slower, and symbols can become a pain in the ass.
At the end of the day... you're still typing thousands of lines of code regardless of whether you're thinking or not. I never understood the argument "I spend more time thinking than coding". You are still going to write the same amount of code whether you're thinking or not. My ideal world (why I love typing fast) is that that time of me coding gets brought down by 50-200% over someone who types slow. I use that time for accelerating ahead. Ie... prototyping and deleting tons of code before refining/cementing in a design is painless.

SOLAR_FIELDS5 replies#
for me philosophically code is a liability. Every line of code I write is a liability for me and future generations. So I try as hard as I can to not write code at all so it takes me quite a long time to decide to write code. I see it like that in the places I work too, I get paid to decide when it makes sense to write code eg introduce liability to the business

Continue this thread — 5 replies

the_af18 replies#
> I never understood the argument "I spend more time thinking than coding". You are still going to write the same amount of code whether you're thinking or not.

The argument is that time spent typing is insignificant compared to time spent thinking, so optimizing for WPM seems like a less relevant endeavor.
So if you spend (say) 1 day thinking about the problem and 1 hour typing, it matters little if you can speed up your typing by 50% or whatever: you still spend the bulk of your day thinking, and optimizing typing speed is not going to change your deadlines.
It sometimes seems people fetishize typing speed because that's easier to get better at (and measure), while there are no shortcuts for thinking "better".

Continue this thread — 18 replies

penteract3 replies#
> I never understood the argument "I spend more time thinking than coding". You are still going to write the same amount of code whether you're thinking or not. My ideal world (why I love typing fast) is that that time of me coding gets brought down by 50-200% over someone who types slow.

My perspective on this (I'm not a fast typist, but don't feel it's a big limitation) is that I can think while typing, so if I can type at least as fast as I can plan the next bit of code, there isn't any benefit to typing faster.
Of course, that isn't the complete picture, and I wouldn't be surprised if typing out less concrete thoughts (which might mean the same as when you say "prototyping and deleting tons of code") might improve my code or speed me up in plenty of situations. It's also possible there are things I avoid more than I should (such as writing short programs to see how some interface behaves) because I'm too slow at typing.

Exuma1 reply#
I don't know how it is working on large teams, but for my daily work working alone I usually write maybe 10-15 emails, I issue a dozen or more commits, I outline specs (a vague word I'm using which could mean writing documentation, writing technical explanations to clients, writing comments, commits, boilerplate, talking about technical things to my peers via chat).

The entire technical burden of all things fall on me, so I suspect I'm editing code a good 6-8 hours of the day, and the other 3-4 hours at the computer are spent communicating of some form. I wish I knew how many words I typed per day but it must be seriously 10's of thousands. Maybe 5000-15,000 depending on the day. Now I imagine doing that.......... 3 times slower. That gives me excrutiating physical pain.
If I sat in a vaccum, with no outside communication, and nothing else dependent on me whatsoever, and I was basically given a single task to produce a 50 line file by the end of the day, and the other 7 hours was spent deep in thought, then i could see typing not being important.

Continue this thread — 1 reply

Exuma2 replies#
If you want my unsolicited 2 cents to help speed up (if you care!)

1. put your fingers on home row keys with pointer fingers feeling the bumps on F and J
2. DONT move your wrists all around, try to keep them still and let your fingers do all the work. try to keep your entire palms as still as possible, they really shouldnt move. I rest mine on my laptop surface.
3. dont look at the keys. use https://www.typing.com to help you if you cant do that
4. relax your hands as much as possible
Typing.com is better IMO if you don't know how to type fast, and monkeytype.com is way more fun when you do (the interface is just way more fun)

Continue this thread — 2 replies

StackOverlord#
I think it matters a great deal too, and not just for typing code but for reading it too, and this goes beyond simply typing fast but also writing short concise code, especially for parts of the code that are closer to defining program architect than implementing the details: it's better to have everything fit in one page of code rather than being dispersed throughout multiple files.

The reason for that is that a codebase will condition the complexity and thus time it takes to add features to it, in a way that is similar to algorithmic complexity and big o notation, except we as human can't even afford polynomial complexity and constant factors matter a lot.
Imagine you're developing an API, both server and client. You can cut your time in half by automatically deriving the client code from the server side specs. Of course you may have to develop that tool yourself and it takes time. The point is that the time invested developing it will be repaid each time you implement a new endpoint in your API, cutting development time in half:
n * (t(s) + t(c)) versus n * (t(s))

mplanchard#
It’s not just writing code though. So much of my time is spent typing, whether in slack, notes, shared documents, or code, that typing speed is a quality of life improvement across the board.

When coding, I prefer to spend my thinking time thinking and my typing time typing, so typing fast gives me more time for thinking, makes playing around with little ideas feel easier, and again provides what I feel like is a significant quality of life improvement.

spindle1 reply#
> It's that that

Made me laugh, given the topic!

Continue this thread — 1 reply

dotancohen1 reply#
What keyboard are you using? If you have a good, ergonomic desk (required prerequisite), then try the Matias Ergo Pro. It is the most comfortable keyboard I've ever typed on, and I've owned literally dozens of mechanical, ergonomic, split, and specialty keyboards. Just be aware that the build quality is terrible. I had two Matias keyboards, neither lasted a year... And I type lightly, preferring 35 gram keys. At $250 each it is quite the investment. But, honestly, they are worth the price. They are _that_ comfortable.

Yes, I am a heavy VIM and bash user. I'm sure that some days I do not touch the mouse at all.

Continue this thread — 1 reply

Swizec3 replies#
> I’m in software, like a lot of people here, so being able to type in speed is rarely the limiting factor

I think of typing speed in coding the same way I think of cardio in boxing – it won’t win you the round, but the lack of it can easily lose you the round.
You want topping to feel seamless and reliable. Whatever you think should come out on the keyboard reliably and without friction. Any time you have to stop and think about typing or go back to check for typos, is time you’re losing focus and flow.
Take an extreme example – search-and-peck typing where every character takes 2 seconds. Can you really hold a complex programming context sharp in your mind while it takes a minute to type a few instructions? I sure couldn’t.
But you probably also can’t think fast enough to fill a 200wpm typing buffer.
Somewhere in between those extremes lies the sweet spot where your typing speed and your thinking speed match.

Continue this thread — 3 replies

j45#
It might not be a limiting factor as much as an enabling factor.

Sometimes being able to type fast can also mean thinking broad or deep quickly.
Coding at WPM is very different than communicating at WPM. The latter might be valuable.
If you can type faster you can help teammates a bit more easily.
WPM isn’t a high score for me, but there’s probably a floor.
Virtual assistants for example is one area where the average of 3 typeracers can be interesting.
In fairness to your comment, the ability to speak to text accurately can be faster than typing too, and maybe it’s a combination of clarity meeting WPM.

kqr#
People conflate two things when discussing speed. Throughput is rarely the limiting factor, but latency can get in the way.

Being able to type out a line of code or comment very quickly and then move on to thinking about the next one without breaking flow is useful.

Vicinity96351 reply#
One thing I would check out is short key travel distance.

I love my Bloody B975, but I know I type faster on both my Apple keyboard and especially the Magic Keyboard Folio just because of the super short travel. I can hit 80-90sh on the gaming keyboard, but I'm probably at least tickling 120 the iPad.

Continue this thread — 1 reply

SKWR-PLS#
tldr: plover turns your keyboard into emacs

I always see wpm come up for steno stuff and while it can be faster, that's more of a professional thing. There are three cool things about plover for me. One you get to type pressing more than one or two keys at a time. Two the inputs are sent on key up or release, so can take your time pressing all the letters down, and then release them. Three, you have almost no hand movement at all, so its really, really, really comfortable to type on.
once you get that, you have the steno theories to expand all the words. plover comes with a stened dictionary, but thats just for the words. you can also do phrases, symbols, emoji, macros, and more. once you start adding dictionaries, using a computer becomes a lot more fun. plover is like really crazy layers.
Now for the other dictionaries, you can do things like: https://steno.sammdot.ca/plover-basics.png https://steno.sammdot.ca/ted-navigation.png https://steno.sammdot.ca/emily-symbols.png
for these, where it says starter, you just press all those keys down, and then on the other side you press the keys listed for what you want. so for example, I can enter like ~104 symbols without moving my hands. the average sybmol layer has like 20. the crossplatform movement dict lets me move around much easier in any text field. (note that you don't really even need to know what the key names you are pressing are as its all a pattern) I currently have six other dictionaries that I use some of the time. you can see more here: https://www.openstenoproject.org/stenodict/.
any cli program would be very easy to add most of the commands to a dictionary if you wanted. for example, a basic git dictionary: https://github.com/didoesdigital/steno-dictionaries/blob/mas...
plover has made using a computer much more fun. its a bit of a hard sell for a lot of people, but I recommend trying out some of the other dictionaries to see what you can do besides type words fast. its seriously really crazy that we are only pressing one key at a time using a keyboard.

yterdy#
It would be nice to be able to find a keyboard that was comfortable to learn how to steno type with that didn't cost $100-$300. $50 would be a sweet spot. It doesn't need to be a premium kit with expensive switches and LEDs and whatnot. It just needs to be the right form factor. It feels like the people selling kits are taking advantage of its niche nature. (Though, it really shouldn't be niche; being able to type at the speed of speech/thought is more of a "bicycle for the mind" than any AI.)
James_Henry#
Doesn't stenotype also have chording though?
capableweb1 reply#
> However, I realize that I would never want to use something like this that would change over time. E.g. if I ran it every 6 months and last year "db" produced "debug", while this year it produces "database". Because talk about messing up my muscle memory and habits. And the language I write changes very much over time.

> However, I realize that I would never want to use something like this that would change over time.
> And the language I write changes very much over time.
Sounds like exactly you want something that evolves after time, since how you write changes over time.
An universal version would maximize the amount of helpfulness on an average for everyone, but a tool that learns from your individual actions, can be much better improvement for you. And by making the tool available to everyone, more people could get bigger benefits from it, rather than just "average" benefits.

crazygringo1 reply#
> Sounds like exactly you want something that evolves after time, since how you write changes over time.

No, because I don't want the shortcuts to be changing on me. That would drive me nuts. The whole point for me would be to establish new habits and then keep them. To turn into muscle memory, not something to be thinking about.
It's like toolbars that "learn" which actions you're currently using the most, but the buttons are constantly moving around and are never where they were last week. It's an exercise in frustration.

esquivalience#
I think it's built and fixed until you decide to extend or modify it.
eschluntz1 reply#
Yup, it doesn't run automatically for exactly this reason. It outputs "suggested_shortcuts.yaml" and I can copy and paste from that into "shortcuts.yaml" so I have manual control over which shortcuts are live :)
Sparkyte1 reply#
This is good I can imagine all of the embarrassing auto typing. It is the reason I hate Android phones. I will be typing and it will try to predict what I am writing. Some of it not sure what data it is built on came out hilarious or down right inappropriate. Not like swears or vulgar just the punch of the expressions.
James_Henry#
You can turn that feature off on Android phones.
munificent#
Even then, universal doesn't mean time-independent.

A universal set of shortcuts trained on a giant corpus in 2018 wouldn't have a shortcut for "covid" or "pandemic" but in 2020, it would be really handy.

leobabauta#
I think the phrase "changes over time" should be one of your shortcuts.
throwaway7383931 reply#
> E.g. expanding "t" to "the" seems like a no-brainer, just like "st" to "something". Is there a minimal set of, say, 200-500 of these that could simply be turned into a "standard keyboard" that everyone could learn?

Take a look at Evans Basic English Code, a shorthand system based off of Phillips Code (for telegraphs). It's a little dated, but the most common words are quite useful for writing or typing.
https://archive.org/details/evansbasicenglis00evan
(use the pdf, the txt file is a bad OCR and practically useless)
Also useful:
https://en.m.wikipedia.org/wiki/Most_common_words_in_English

zserge#
I appreciate the fact that it contains shortcuts for such words as "endeavour" (EDV), "ecclesiastic" (EC), "notwithstanding" (NWG) or "vehemence" (VMC) being a dictionary of the "basic and most frequently used words". Also, the suggested abbreviation for "sex" is "SEX".
nojs3 replies#
> expanding "t" to "the" seems like a no-brainer, just like "st" to "something"

I have jk mapped to escape in vim, and for a key combo that seems like it should never occur naturally, I’m often surprised how often it misfires when I actually need to type “jk”.
Globally remapping hundreds of things like “t” and “st” would actually be quite frustrating I think.
Like imagine you’re emailing your friend about a trip to st petersburg, or about some code containing the variable t, etc.

theptrk#
You gotta try “fd”

Continue this thread — 2 more replies

Continue this thread — 5 more replies