News for hackers. Stuff that matters.
Re:HN Mining or: How I Learned that there are some among us ... by Tomte on Sunday October 30, 2022 @12:06AM (#33390959)
They aren't smart or soft, they are typographically correct.

On PC I have AutoHotKey bindings for German and English quotes, single and double, and I'm usually using them.

Re:HN Mining or: How I Learned that there are some among us ... by cortesoft on Sunday October 30, 2022 @12:34AM (#33391121)
They might be typographically correct, but they are incorrect for code, and cause so many issues. I'd rather have typographically incorrect quotes that work everywhere.
Re:HN Mining or: How I Learned that there are some among us ... by Tomte on Sunday October 30, 2022 @12:38AM (#33391137)
Why would you type them for code? I'm not arguing for the mobile phone automatisms. I insist on separate keys for different quotes.
Re:HN Mining or: How I Learned that there are some among us ... by elcapitan on Sunday October 30, 2022 @05:00AM (#33392571)
It's true that people wouldn't use them on their own, but there are a lot of cases (especially blog software, automatic ebook formatting etc), where code examples get messed up subtly by software changing code quotes to standard quotes, often invisibly. The same for minus signs vs dashes.
Re:HN Mining or: How I Learned that there are some among us ... by smcameron on Sunday October 30, 2022 @12:23AM (#33391051)
> they are typographically correct.

According to an ancient convention.

Conventions can be changed. It is not intrinsically, objectively superior to have two separate glyphs for a starting and ending quotation mark. I'd argue the opposite. It is needless complexity. Let us jettison it and embrace the simpler single glyph.

Re:HN Mining or: How I Learned that there are some among us ... by Tomte on Sunday October 30, 2022 @12:26AM (#33391072)
Convention doesn't mean bad. But sure, feel free to use ( for opening and closing parentheses.
Re:HN Mining or: How I Learned that there are some among us ... by smcameron on Sunday October 30, 2022 @12:30AM (#33391094)
Disingenuous argument is disingenuous. To make that argument properly, you must also argue for putting both quotation marks on the keyboard as first class keys. And you must retro-actively revise ASCII to include them as first class characters.
Re:HN Mining or: How I Learned that there are some among us ... by Tomte on Sunday October 30, 2022 @12:33AM (#33391115)
You're one AHK script away from that.
Re:HN Mining or: How I Learned that there are some among us ... by flobosg on Sunday October 30, 2022 @12:20AM (#33391033)
On Linux I use Fcitx and Ctrl+Shift+Alt+U to open the Unicode character picker, while on Windows I have my fork of a character picker discovered a while ago (https://github.com/flobosg/character-picker) bound to the same shortcut.
Re:HN Mining or: How I Learned that there are some among us ... by somat on Sunday October 30, 2022 @04:27AM (#33392391)
read up on the compose key it may change your life for the better. or it may be difficult to replicate on windows/wayland leading to additional stress in your life. or perhaps you enjoy your current setup, which does not sound half bad, although not as good as the compose key.

Most linux desktops are different and more complicated but here is how I set mine up on openbsd.

pick a key that is handy but you don't use much, for me this was the context menu key, on many european keyboards there is an altgr key set aside for this exact use case.

in ~/.xsession add a line like "xmodmap -e 'keysym Menu = Multi_key'"

create a file ~/.XCompose to setup your own compose sequences. mine looks like

    #load system compose files
    include "%L"
    <Multi_key> <w> <e> <b> : "\xf0\x9f\x95\xb8" # spiderweb
read /usr/X11R6/share/X11/locale/en_US.UTF-8/Compose to get a feel for the existing compose sequences.
Re:HN Mining or: How I Learned that there are some among us ... by anjbe on Sunday October 30, 2022 @06:26AM (#33393103)
I do the same, except instead of xmodmap I use “setxkbmap -option compose:ralt” (plus a few other options) as described in the xkeyboard-config(7) manpage. It has some useful features: https://man.openbsd.org/xkeyboard-config.7
Re:HN Mining or: How I Learned that there are some among us ... by flobosg on Sunday October 30, 2022 @09:34AM (#33394381)
I am aware of the Compose key, but have yet to find a good key to map to it (I use AltGr for third and fourth level characters already). I’ll keep that in mind in case my setup breaks down in the future.
Re:HN Mining or: How I Learned that there are some among us ... by notpushkin on Sunday October 30, 2022 @01:00AM (#33391246)
You might want to give Ilya Birman's Typography Layout a try: https://ilyabirman.net/typography-layout/