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_af2 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".

Exuma8 replies#
I spend over 10+ hours a day typing at the computer, across slack, writing specs, writing code, etc. So really I suppose in my mind I don't live in a vaccuum.

I don't fetishize it at all, in my mind it is a simple objective fact that I actually experience myself. Fast typing is up there with Vim as one of the literal most productive things I have ever done, with the 3rd being memorizing hundreds if not thousands of OS/app hotkeys.

Continue this thread — 8 replies

baq1 reply#
Typing is bursty. You don’t type much usually, but sometimes there’s a lot of it. Effortless typing minimizes interruptions and allows to stay in the zone for longer. It isn’t just about the time spent typing, it’s about typing at the speed of thought so you don’t switch contexts from thinking to typing.
the_af1 reply#
Typing is bursty, agreed. I'm not saying someone who is an extremely slow hunt-and-pecker is ideal.

What I'm saying is that, past an average typing speed, obsessing over WPM gets you diminishing returns, because that's not where the bottleneck is. You should rather spend time improving other aspects of your process, but of course, "thinking better/smarter" is harder to improve.
For the record, I never measured WPM but I'm mostly a fast 2-fingers typist. All keys are typed with my index fingers, and the spacebar with the thumb and some of the special (shift, CTRL, etc) keys with some other finger.
I will lose every competition with a WPM-focused typist, but I can guarantee you my effective tasks -- the actual job we're meant to complete -- will not take me longer, unless said job is transcribing a document (which is never my job).

Exuma1 reply#
If you are a 2 finger typist and also think people are "obsessing over WPM" because they're wanting to utilize their own tools to the fullest advantage, that sounds like some mental block kind of thing.

If you can type at least 80 consistently then thats probably would I imagine the dividing line is between "flow/concentration not breaking" and "breaks constantly"
Try a 50 word monkeytype https://monkeytype.com/

the_af1 reply#
> If you are a 2 finger typist and also think people are "obsessing over WPM" because they're wanting to utilize their own tools to the fullest advantage, that sounds like some mental block kind of thing.

I get frustrated by this kind of replies on HN.
Please don't try to "fix" me. I'm telling you my WPM are not limiting, because -- like almost ALL coders and engineers -- I spend most of my time elsewhere, and that 2-fingers is fast enough. I will not solve a Data Engineering problem by typing fast.
I probably type faster with 2 fingers than you. Maybe not, but I've seen me "win" over people who type with all fingers, and that's good enough for me.
So thanks, but no thanks?

Exuma1 reply#
I'm not trying to fix it, just engaging in a dialog, and I said it "sounds like", because your first thought when reading about people using their tools effectively is that they're "obsessing" about it. A lot of people care greatly about efficiency (me), and having someone who can't actually type fast or seem to care about efficiency then tells you you're obsessing about it seems like the hallmark "I cant do X thing so I will criticize it instead"

Are you at least over 60 WPM? I think I said in another comment that I think 60 WPM is probably the lowest I can imagine not constantly breaking your focus while trying to hold ideas in your mind, especially if you do data engineering and youre going multiple layers deep.

the_af1 reply#
I can guarantee you it's not a case of "I can't do this, so I'll criticize it". I'm actually a decent 2-finger typist, and this has never limited me when troubleshooting a problem or designing a solution. Engineering problems are seldom solved by typing really fast.

I'm fine with you improving your WPM, I just don't think it's a worthwhile endeavor -- it's not making you more efficient where it matters. Likewise, I could improve my WPM, this is not rocket science and anyone can do it with training. It's not even hard training.
But why? I could also train to run faster, but would it help me do my job better?
edit: out of curiosity, and this proves nothing either way, I tried your monkeytype link and got 90 WPM with 97% ACC.

Exuma1 reply#
Are you sure about that? I trust you if you are truly, TRULY sure...

Imagine you had a tool similar to those ChatGPT IDE auto-complete plugins, except instead of doing chat GPT it typed what was in your mind.
Imagine you start work in the morning, and there is a 0ms response time from what you think, and huge blocks of code would appear instantly.
Is your work such that you TRULY only type 300 words per day? Or, do you also... write tests, write boilerplate, write for loops you've written thousands of times, write and read files, call/build APIs, write command line tools.
If you can imagine some kind of "instant feedback" typing thing quite literally not improving your quality of life whatsoever, then I guess you are just in a rare boat. I can't visualize any circumstance where 80WPM typing would not benefit them, but I suppose there might be a world of developers out there who truly live in a vaccuum like one of my other comments said... they just come in to work, dont communicate with anyone, dont write anything other than a 50 line file with a few hundred words in it, and leave after 8 hours)

the_af1 reply#
> Are you sure about that? I trust you if you are truly, TRULY sure...

Yes, I'm sure. Isn't this what I'm saying?
Are you sure running faster wouldn't improve your engineering job?
> Imagine you had a tool similar to those ChatGPT IDE auto-complete plugins, except instead of doing chat GPT it typed what was in your mind.
I use ChatGPT on occasion. I spend way more time trying to frame the question and understanding whether what ChatGPT spewed out makes sense than actually typing the question.
> Is your work such that you TRULY only type 300 words per day? Or, do you also... write tests, write boilerplate, write for loops you've written thousands of times, write and read files, call/build APIs, write command line tools.
I've spent more time typing words in this thread with you than I'll write the rest of the day for my job.
(If you find yourself writing lots of boilerplate, may I suggest that may be a real place to focus on improving, rather than on how fast you can type boilerplate?)
The only other place where I'll spend time typing is in chat. Let me assure you my typing speed is more than enough there too, and I really don't want stream of consciousness typing in my job chat -- that would get me fired fast. And for social typing, how much speed do you truly need to type "hey, what's for lunch?" or "hey, did you read this news? ".

Continue this thread — 1 reply

penteract6 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.

Continue this thread — 6 replies

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