by Yhippa · 8y ago · 0 comments
I wish we spent as much time on HCI in our field. I get a lot more value out of seeing how people I develop software for do their tasks and then thinking about how that could be improved. An implication of that is that I'm not building a fancy UI for my resume's sake; that I'm actually improving their day-to-day workflows. That takes some cost and time but in my projects nobody wants to pay for that.
I do that too! In fact, I do that so often that on Windows, I have the following workflow in my muscle memory:
CTRL+C ;; copy
Win+R ;; open "Run"
CTRL+V ;; paste
CTRL+A ;; select what I just pasted
CTRL+X ;; cut it out (disappearing text serves
;; as a visual proof of operation completion)
ESC ;; close the "Run" box, restoring focus
;; to original application
CTRL+V ;; paste cleaned-up text
I do that without thinking in under 2 seconds.On Linux, I usually abuse the address bar of the browser.
Then I discovered this handy little utility, PureText:
https://stevemiller.net/puretext/
Now all you gotta do is press Win-V to paste the pure text representation of your clipboard. It's a 43k download and unobtrusive. Great program.
CMD+A,C,T,V,A,X,W,V
I don't even release the CMD key between presses and it's all done with one hand extremely quickly. I've often wondered if Chrome collects usage statistics on this and what it looks like from their perspective. "This user opens a lot of tabs, pastes stuff in the address bar, then gives up before the new tab page is even done loading."
This is one reason why old-school, keyboard-shortcut-driven UI can feel so good to use (and why animations that block interaction are so frustrating).
No, seriously. I try to port all my workflow to Emacs, because with all the power and consistency of that keyboard-driven platform, I can finally put my muscle memory to use.
Beyond that, I finally developed a habit of automating annoyances away. Today, if I do something frequently and find it annoying, I fix it with a script. Be it elisp (Emacs), CL (Linux - I use StumpWM as my WM), or AutoHotkey (Windows).
--
Actually, some random recent examples:
- I frequently deal with Lisp code that outputs large structured or semistructured blobs of text; at some point I decided I need a quick way to pipe such output to a separate Emacs buffer: https://gist.github.com/TeMPOraL/8715c9dd9837e0b601d1cdce059....
- At my previous workplace, I found myself pasting some strings to various communications channels quickly. Since I already used AutoHotkey to remap Caps Lock to CTRL, this is what I came with (and later expanded): https://gist.github.com/TeMPOraL/d330edccf8ba9a2b13d01b4e7f1....
- Speaking of whipping up ad-hoc UIs on the fly, the Hydra package (https://github.com/abo-abo/hydra) is perfect for that in Emacs. My config becomes increasingly full of ad-hoc popup menus like these: https://gist.github.com/TeMPOraL/d3a0b3065c43d41526bcb3fe2c9....
- StumpWM - https://github.com/TeMPOraL/conffiles/blob/master/stumpwm/.s... - unlike my Emacs config, most of this was written by me, on the fly, to fix some annoyances.
The point of giving those examples, beyond obviously showing off :), is that this is what IMO good software enables. Improving your life on the fly, one simple binding or one simple script at a time. Scripting isn't only for shell commands. It's definitely useful for UI experience as well. I regret it took me that long to figure this out.
This is also why I try to port as much of my workflow as I can to Emacs. It's because Emacs makes such modifications seem trivial. If you need something to interoperate more, you can glue it with together with a little bit of Elisp. If you need something new, you can probably add it with a little bit of Elisp in no time. Emacs, being a runtime-modifiable, introspectable and tremendously well documented system with a decent REPL, makes this quick and relatively painless.
Same here. I used to disable “search suggestions” so I wouldn’t be sending all of that stuff to Google but at the same time search suggestions can actually be useful sometimes so now I have it enabled anyway, meaning that I send a lot of random stuff to Google.
However mostly it’s no big deal. The primary reason that I disabled search suggestions was that I used to type out the passwords for new accounts in the address bar first and copy them and then paste them twice into the password and confirm password fields respectively. Since then I’ve written a pass-phrase generator command line program that I named pgen [1] which I use instead, so because I no longer use the address bar for passwords there is rarely anything sensitive that I am typing.
If a website has password requirements that are incompatible with the passwords generated by pgen I have the terminal I just ran pgen in open already anyways so I paste back into it and modify the password to suit the requirements.
But keep almost all formatting (except font size) if pasted into a new empty paragraph.
But under no circumstances have the formatting under the cursor after the operation changed.
I know that breaks all convention and would probably cause more problems, but boy would I be happy.
That's the place I use to "unformat" copied text. Would save you pressing R and ESC...
What the video doesn't show, you can also make the taskbar higher and place the address bar underneath the icons.
[1]https://autohotkey.com/board/topic/10412-paste-plain-text-an...
function() hs.eventtap.keyStrokes(hs.pasteboard.getContents()) end
My Firefox doesn't show such option under right-click menu. But even if it's common in other browsers now, it wasn't when I needed it first, so I found an alternative and put the problem out of my mind. Thanks for pointing out that there is a solution in (some) browsers, though. Maybe it's time to abandon the alternative habits.
Setting up a shortcut to "paste as plain text" is a handy secondary capability. Being able to see/select your last n copied items is very helpful indeed. (Ctrl-Alt-H is my shortcut, and whenever I'm on a system that doesn't have it installed I become sad when that shortcut doesn't work...)
CTRL+A, CTRL+C, Alt + Tab, CTRL+T (new tab), CTRL + V, CTRL + A, CTRL + C, CTRL + W (close tab)
Or, CTRL + TVACW in that order does it <1 sec.
An obscure keyboard shortcut (vs 4-5 common ones), finding your option, and switching to the mouse doesn't seem like a better solution. Plus it's not universal.
Ctrl+V, Ctrl, T
To paste then remove formatting.
Personally I still use notepad or the address bar.
gcb | scb
or, if you like using your mechanical keyboard .. Get-Clipboard | Set-ClipboardHN strips formatting, but many forums don't.
So did I, but IME, time and effort spent on minor UX improvements are rarely justifiable to upper management, especially in the case of business software it won't generate more revenue, often because the people using the software are not the ones buying it.
I've had the fortune of working in a couple of places where the most hardcore users of our product were our own employees. So I often silently wandered into others desks and observed their workflows, it's amazing to see the little hacks they come up with because of their routine. Sometimes it's things we can easily fix but it's not prioritized. Quite often I've spent a couple hours of my free time hacking together some minor features to help these internal users and they are always amazingly grateful.
I’m part of a team searching for an appropriate tool and the pickings are slim. Thankfully the people buying the software that may be in use for the next five years to a decade are taking it very seriously and working closely with a number of experts around the company and editorial teams. They’re also very familiar with the regular workflows, so they don’t fall prey to salesmanship.
My schedule’s kept fairly open lately to give me “free time” to develop something to help with a specific aspect of it (as upper leadership isn’t openly keen on any in house development). It’s been very interesting working closely with the people who will be using it just 3 floors away on a daily basis.
I’ve done similar projects in the past and some people were ...more grateful than others...
But the current situation is a little different, and the art and editorial teams this time through have been fantastic. I think it’s because they know exactly what they want to make their days and weeks easier, and they’re so grateful to even get close. And I’m happy to try and deliver as much relief as possible.
But I don't think GP is going to achieve their goal with this. On the contrary, I bet their managers already read that book, and that's why the UX sucks in the first place. The managers want to follow Steve Jobs' footsteps, and treat UX as a sales driver, instead of something that should be designed to make the end user productive and happy.
Also, on most Google apps including Docs and Gmail, Ctrl-\ (backslash) will reset the formatting of selected text.
Yes! I do exactly that. I use the window frame to act as a ruler so I don't lose my position when reading left to right.
I also do the copy to Notepad, but since moving to Mac, Notes keeps the formatting by default, so I'm conditioned now to use Ctrl+Shift+V - on the second attempt.
Other things are in Word or Google Docs to automatically backspace auto corrections, such as automatic links in the document. I do the same with auto complete on my iPhone to remove the trailing space.
On Mac you just need to:
pbpaste | pbcopy
Boom, plaintext. pbpaste | jq . | pbcopyIf you open it up in Automator, it'll let you see the steps, and prompt you to install it [which really just moves the file into ~/Services]. This makes it show up in every app's Services menu.
Once installed, you can head to System Preferences > Keyboard > Shortcuts > Services, to set a keyboard shortcut for it.
You may enjoy reading about The Humane Interface and Archy. It's how the original Macintosh would have worked, had its designer got his way.
That reminds me of the Spritz interface for reading text which came out a few years ago: http://spritzinc.com
I'm a little surprised it isn't super ubiquitous by now, especially since everyone has their own small but personal screen nowadays.
Maybe it's too encumbered with licensing or didn't have enough marketing follow-through?
EDIT: minor edits