2 ms·
Years ago when I was into keyboard layouts, text expansion, that kind of thing ("efficiency!"), I realized what's the point of typing the same letters faster, i
by andai 4y ago
Years ago when I was into keyboard layouts, text expansion, that kind of thing ("efficiency!"), I realized what's the point of typing the same letters faster, if most of what I'm typing is redundant, ie. pure overhead?
How many letters could be removed from a word and still uniquely identify it? eg. typing -> typg, uniquely -> unqy.
So I thought of applying this process of iterative letter removal to the entire English language: keep removing letters until you conflict with an existing (shortened) word. You'd start with the most commonly used words, so they would be assigned the shortest words.
(Though perhaps a better measure would be typing effort, ie. how much of a pain it is to reach for each key...)
Of course you wouldn't actually communicate in this language, you'd use a text expander software to replace them on the fly with the full words (this exists and works great).
I never ended up doing this, and forgot about it until now. (It would probably only take half an hour though, might do it this afternoon :)
Other fun ideas: make a crappy speech synthesizer, made up of tiny samples of your voice, and a codec that compresses audio of your speech by converting it to a sequence of those samples. (Also works for eg. music, see also: MOD files, which are like MIDI but with custom drum and instrument audio embedded!)
---
Edit: Here's a first draft https://gist.github.com/avelican/fa34a425770c3a8f914c96d75e243e57 https://gist.github.com/avelican/fa34a425770c3a8f914c96d75e2...
Used a naive approach, just start with the first letter and see if that's taken, then the first two letters and so on. The output is not optimal and be compressed further (but my lunch break's almost over ;)
Also this one is based on a word frequency list based on Wikipedia, which results in a weird word list and unusual words (that Wikipedia really likes) being near the top of the list. I'll have to collect some of my own conversations and run it on those.
Here's the code if anyone's interested... less than 20 lines of Python (what a great language)
https://gist.github.com/avelican/58f1468df04c3ff542e03288bfd1e1c0 https://gist.github.com/avelican/58f1468df04c3ff542e03288bfd...
- anttiharju 4y agoYou're describing stenography, see for example https://blog.zsa.io/2107-steno-tutorial/ https://blog.zsa.io/2107-steno-tutorial/
- andai 4y agoI'm describing more efficient input methods, of which stenography is one. The amount of work involved in hardware, setup, and retraining muscle memory isn't really worth it for me. (Or it might be, but I'm too lazy to get over that activation-energy hill.) Whereas what I'm looking at is a way to put in less effort immediately, ie. just stop typing words (very) early because I have already given my computer enough information to complete them for me.
- andai 4y agoHere's my comment parsed through my experimental browser extension https://i.imgur.com/CNtaK3u.png https://i.imgur.com/CNtaK3u.png
- andai 4y agoUpdate: working on a browser extension :) https://i.imgur.com/0LwWzum.png https://i.imgur.com/0LwWzum.png