News for hackers. Stuff that matters.
Re:What’s New in Python 3.8 by robocat on Monday October 14, 2019 @08:49PM (#21254490)
That's like visual puns, and is limited to whatever symbols seemed important to the developer at the time.

How do you discover how to type ß, °, «, ‡ etc?

Android's gboard uses phonetics (long press [s] key for ß), symbolic similarity (long press [*] key for ‡) and visual similarity (long press [<] key for «) which is guessable for some symbols, but isn't discoverable for others (you can search for emoji by name, but not symbols).

Re:What’s New in Python 3.8 by macintux on Monday October 14, 2019 @10:38PM (#21255111)
The Mac has had, as a standard feature for decades, an on-screen keyboard to allow you to explore the results of different key combinations. It’s a great tool.
Re:What’s New in Python 3.8 by macintux on Monday October 14, 2019 @10:41PM (#21255125)
I should note that, alongside it, is a useful search tool that allows you to find the character you’re looking for if you’d rather just search and don’t care to learn the key combination (if there is one).
Re:What’s New in Python 3.8 by cpach on Tuesday October 15, 2019 @04:12AM (#21256478)
Cool! Where do I find it?
Re:What’s New in Python 3.8 by macintux on Tuesday October 15, 2019 @09:22AM (#21258049)
In Mojave, and it’s pretty similar across versions IIRC: open keyboard preferences in system settings and check the “Show keyboard and emoji viewers in menu bar” box.

That will replace the language flag icon in your top bar with an odd icon with the command key embedded.

The second option in that menu is the keyboard viewer. You can show that and drag on a corner to make it as large as you want. Dynamically changes the keyboard as you hold down modifier keys.

Re:What’s New in Python 3.8 by kps on Monday October 14, 2019 @10:02PM (#21254926)
It's easy on the Mac to have a custom or purpose-built keyboard layout that makes sense for the user or context. It's a little harder with X (mostly due to uncoöperative DEs) but still doable.
Re:What’s New in Python 3.8 by kps on Tuesday October 15, 2019 @11:14AM (#21259287)
Self-reply for Kwpolska: Adding layouts to /usr/share/X11/xkb/symbols/ is straightforward (but is necessarily system-wide, and requires root), and I do that. However, for the popular desktop environments, it's like pulling teeth to have that layout treated as first-class with respect to switching and settings.

(On MacOS, putting a .layout file in ~/Library/Keyboard\ Layouts is enough.)

Re:What’s New in Python 3.8 by Kwpolska on Tuesday October 15, 2019 @02:28AM (#21256024)
I've hacked /usr/share/X11/xkb/symbols/xx files to have custom keyboard layouts, DEs are not able to mess with it.