Showing 423 to 426

Why cash?

People are always more willing to trust a machine over their brain. I went into a national sandwich chain (some years ago). Ordered my usual sandwich, and the amount rung up wasn't the usual amount. Looked up at the board, it didn't indicate a price change. Pointed out to the counter person that the machine was overcharging me.

"oh yea, there was a price increase" - I pointed at the price board (unchanged). "But thats not the price". I reminded them that they have to honor the posted price, unless they wanted to be charged with fraud.

What made it particularly amusing: The manager didn't have an override so he could charge me the correct amount. (apparently they couldn't just say "misc taxable $4.73", they could only push the specific item buttons). He had a bit of a clue, and gave me the thing free.

I am sure lots of people didn't notice, and overpaid. The only reason I noticed, was that it took the total from under $5 to over $5. I happened to hand over a $5, and thus expected a few cents change, not a request for another quarter. (had they updated the sign, and not just the computer, I would have handed over the extra without comment)

Created (3 years ago)

When to remap keys at the Emacs level vs. the system level?

My approach: start from Emacs unless it's impossible.

  • It's necessary to go up to the system level to relocate some keys, namely the modifiers (Shift, Ctrl, Alt, Super) and Caps Lock.
  • It's necessary to go up to the system level when you're making a seamless blend between Emacs and a window manager.

What links here

  • Keyboard design
Created (3 years ago)

Never learn Bash

I expect the future's hacker will never need to learn the following mainstays of Unix, if they start from childhood on a workflow centred on Emacs' Dired and Eshell.

Some "deprecated" commands:

  • cd
  • ls
  • tee
  • echo
  • sort
  • cut
  • ln
  • uniq
  • pwd
  • tr
  • awk / sed
  • cp / mv
  • rm / unlink
  • less / more
  • cat / tac
  • visudo / sudoedit
  • sudo / doas
  • head / tail
  • touch
  • time
  • chmod (though we're missing -R equivalent in dired)
  • chown (though we're missing -R equivalent in dired)

The deprecated categories seem to have to do with:

  • text munging
  • filesystem navigation
  • filesystem editing (i.e. renaming, moving, making directories, changing permissions…)
  • (re-)directing inputs and outputs
  • ?

Examples of commands we wouldn't deprecate (although you'll note many are amenable to a transient.el frontend which improves on them… in fact, it seems to me like you could partly automate the production of such frontends! And with that, I really question the immortality of shells.)

  • rsync
  • find / locate (though we'd use affe, helm and such frontends)
  • grep / ripgrep (though we'd use affe, helm and such frontends)
  • docker
  • guix
  • ip
  • nft
  • sysctl

What links here

Created (3 years ago)
Showing 423 to 426