• 1 Post
  • 85 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle




  • Hilarious to have to look this low for it, but who want to stand up and declare themselves mainstream.

    Polished, reliable, and solid, and snaps are not a big deal or an insidious evil, and neither is Canonical. They make missteps for sure. But with containers etc stability is more important than immediate updates and it’s excellent about kernel updates for new hardware. It’s slick Debian, and if the fuckery ever gets real switching to Debian is easy.


  • I’m still on i3 as it’s been convenient, but this:

    this has all become very specialized over the past decade

    resonates. I keep incrementally adding personal tweaks and hotkeys to my setup, and I have all my dotfiles in a repo so it’s persistent across installations.

    One example was I made my headphone button pause/play videos with i3’s config:

    bindsym XF86AudioPlay exec playerctl play-pause
    

    But then I adopted a script to toggle mic mute on work Zoom meetings, so I combined it with the above - if I’m in a meeting it toggles mute, otherwise it play-pauses any current video. The script, for now:

    #!/bin/bash
    #
    # Handler script for hitting mute on the headphone.
    #
    
    CURRENT=$(xdotool getwindowfocus)
    ZOOM=$(xdotool search --limit 1 --name "Zoom Meeting")
    
    if [[ -n "$ZOOM" ]]; then
        # if zoom is active, toggle mic mute
        xdotool windowactivate --sync ${ZOOM}
        xdotool key --clearmodifiers "alt+a"
        xdotool windowactivate --sync ${CURRENT}
    else
        # otherwise do play/pause
        playerctl play-pause # will fail if no player found
    fi
    

    and of course I altered the i3 config to launch that script rather than playerctl directly.




  • sping@lemmy.sdf.orgtoGNU+Linux Humor@lemmy.mlDurga, goddess of Emacs
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days ago

    I’m not surprised Emacs users would be seeking them out

    They aren’t. Someone did it, probably more than one person, but if you look hard enough you can find people who do all sorts of weird stuff. It’s not an “Emacs thing” at all.

    This and the joke itself really make me wonder about bizarre Emacs (and Emacs users) that exists in people’s heads.

    I see you use capital letters in your post, so you presumably used a modifier key (shift) - unless you do modal caps with CapsLock all the time. I don’t know why people find that normal and easy, but as soon as it’s Ctrl or Alt they get in a tizzy and start talking about RSI.

    Funny how over the decades I’ve known many Emacs users, and many RSI sufferers, but the overlap in my Venn diagram of that is exactly one person.










  • I naively thought it I may as well take a job using Go, as learning a new language is broadening, and some people like it, so lets find out first hand… I knew it was a questionable choice, looking at how Go adoption tailed off a while ago.

    Turns out I hate Go. Sure it’s better than C but that’s a very low bar, and C was never a good alternative choice for the use cases I’m encountering. I’m probably suffering from a codebase of bad Go, but holy shit it’s painful. So much silent propagation of errors up the stack so you never know where the origin of the error was. So very much boilerplate to expand simple activities into long unreadable functions. Various Go problems I’ve hit can be ameliorated if you “don’t do it like that”, but in the real world people “do it like that” all the time.

    I’m really starting to feel like there are a lot of people in the company I’ve joined who like to keep their world obtuse and convoluted for job security.