Canadian software engineer living in Europe.

  • 0 Posts
  • 28 Comments
Joined 2 years ago
cake
Cake day: June 7th, 2023

help-circle


  • I don’t think there’s an official “way”, but here’s mine (which I love):

    On start-up I open all the apps I usually use, one per designated workspace:

    1. Slack/Teams/Mattermost, whatever my work requires.
    2. Thunderbird
    3. Kitty
    4. PyCharm/RustRover, whatever the job requires
    5. Firefox

    Workspaces 6-9 are left empty, ready for whatever app I need in the moment, but only ever one app per workspace.

    With this setup, I’ve mapped Ctrl+Fx to each workspace, so Ctrl+F4 takes me to PyCharm where I write the code, and Ctrl+F5 followed by another F5 takes me to Firefox and reloads the page. Ctrl+F3 is always the terminal, etc., so you quickly start building these shortcuts to mean Fwhatever is $APP_NAME.

    I almost never use the mouse, unless what I’m doing is necessarily mouse-driven: browsing or drawing charts etc. Everything else is keyboard-driven.





  • Daniel Quinn@lemmy.catoCanada@lemmy.caCanadian Games Sale
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 days ago

    It’s pretty good, but my problem is that if a game doesn’t run I assume it’s because I screwed something up. For example, Synergy, has a platinum rating and it installs just fine, but once started is just do slow for even drawing the starting menu while my CPU goes crazy. Clearly there’s a problem with it not using my GPU, but fucked if I know what package I didn’t install/configure properly.


  • Daniel Quinn@lemmy.catoCanada@lemmy.caCanadian Games Sale
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 days ago

    Me too! I’ve been using Steam on Linux for a while, but thanks to American fuckery, I’ve had to experiment with leveraging Proton in Heroic to play GOG games. It’s pretty smooth though. I installed Disco Elysium this morning and it Just Worked™. I then went ahead and bought a bunch of indie games: Dorfromantik, Frostpunk, and Terraformers in GOG’s own Sumner sale. Not Canadian games mind you, but also not American ;-)


  • Daniel Quinn@lemmy.catoCanada@lemmy.caCanadian Games Sale
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 days ago

    I’ve found that GOG generally has around 40% of the games I like on Steam, so I use lists like this to find interesting ones and then check GOG if it’s there so I can avoid paying Americans anything.

    It doesn’t always work. Steam’s library is huge, but I’m doing my part for the whole #ElbowsUp thing, and for me, that means sending as little money their way as possible.

    …and honestly, targeted sales like this make me think the boycott is properly hurting them.






  • Yes, I would have millions of Canadians suffer to maintain our right to set our own fiscal policy. The alternative is annexation. Have you seen what the US does to its own citizens? Can you imagine what they would do to Canada as a vassal state?

    There’s no need to cut trade entirely, simply mirroring their tariffs would be sufficient. If they want lower tariffs, they know what they need to do.

    Would I start a war? Obviously not, but I’m not going to fool myself into thinking I’m avoiding one by giving them everything they demand. It has, after all, never worked with any dictator ever in the history of the world. If war is coming, it’s because the Americans want it, and we should all be ready. That means building trade and military alliances with actual friends. I think re-tooling the nation’s economy on a war-footing would be a good idea too, but before we go that far, I think I’d adopt Doctorow’s advice and kill the legislation on digital locks. If the Americans want to treat us like enemies, they should see just what that means. We should “turn off the taps” for oil, gas, and electricity and start encouraging high-skilled Americans to resettle in Canada.

    This could be a great opportunity for us: reverse the brain drain and get out from under the US thumb. They’ve demonstrated that there’s no way to deal with them fairly, so now the alternative, albeit the more difficult route, is the only viable option.





  • “To balance or to pay for these types of additional spending there would need to be severe cuts to the public service, significant cuts,” Giroux said.

    This is a lie.

    It’s worse than a lie really. Behind this claim are two decisions that the Liberals have made in advance so that they can present this with the frame that cuts are “necessary”:

    1. The spending is required, despite not having it in the budget.
    2. The budget may not be increased through taxing the rich.

    In other words, Carney wants a pony and rather than make his rich friends pay for it, he’s going to screw everyone else.

    So yeah, conservatives.



  • I have a few interesting ones.

    Download a video:

    alias yt="yt-dlp -o '%(title)s-%(id)s.%(ext)s' "
    

    Execute the previous command as root:

    alias please='sudo $(fc -n -l -1)'
    

    Delete all the Docker things. I do this surprisingly often:

    alias docker-nuke="docker system prune --all --volumes --force"
    

    This is a handy one for detecting a hard link

    function is-hardlink {
      count=$(stat -c %h -- "${1}")
      if [ "${count}" -gt 1 ]; then
        echo "Yes.  There are ${count} links to this file."
      else
        echo "Nope.  This file is unique."
      fi
    }
    

    I run this one pretty much every day. Regardless of the distro I’m using, it Updates All The Things:

    function up {
      if [[ $(command -v yay) ]]; then
        yay -Syu --noconfirm
        yay -Yc --noconfirm
      elif [[ $(command -v apt) ]]; then
        sudo apt update
        sudo apt upgrade -y
        sudo apt autoremove -y
      fi
      flatpak update --assumeyes
      flatpak remove --unused --assumeyes
    }
    

    I maintain an aliases file in GitLab with all the stuff I have in my environment if anyone is curious.