A "User Experience Manifesto" - for a small comman...
# linking-together
k
A "User Experience Manifesto" - for a small command-line utility! https://github.com/Slackadays/Clipboard/wiki/User-Experience-Manifesto Makes me wonder if the command line could become more mainstream if more tools were trying to be user-friendly.
k
I don't understand the "no X11 dependency". I look in the source and immediately see:
Copy code
#if defined(X11_AVAILABLE)
#include <X11/Xlib.h>
#endif
j
Now we just need meta-discoverability—how do tool authors know what things to do to be discoverable and good citizens? (Not sarcastic).
k
@Kartik Agaram My understanding is that “no X11 dependency” means “works without X11” and “can be used by someone who doesn’t know what X11 is”.
k
I'm not sure how, though. Unless it's X11 or Wayland, I'm not sure how you'd access the clipboard on any Unix system.
k
That ‘clipboard’ tool implements its own clipboard in the file system. If you have X11, data is copied to the X11 clipboard as well.
k
Oh! So it can only interop with itself?!
k
If you don't have X11, yes. There's nothing else it could interop with!
k
Oh sorry, I missed half of your previous comment.
g
[moved] The secret here is what I currently call 0D (Zero Dependency - AKA Parallelism: The Good Part). A command line uses FIFOs, not LIFOs, to string commands together. Nested function calls are not the same as pipelines. Functions use The Stack (LIFO), pipelines use Queues (FIFO).