• 0 Posts
  • 45 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle
  • I just updated to the newest Ubuntu LTS, which puts pip into system managed mode so you can’t easily install packages outside of a virtual environment anymore.

    If you (or anyone who stumbles upon this comment in the future) run into this problem, the new recommended way to install yt-dlp through pip and keep it in your path and up to date is via pipx (sudo apt install pipx). The syntax is a bit gnarly for pre-releases, so I figured I’d post an update:

    To install the nightly: pipx install --pip-args '\--pre' yt-dlp

    To update the nightly: pipx upgrade --pip-args '\--pre' yt-dlp

    I alias the update command and run it before every download session.



  • The main problem with Java (or garbage collected languages in general) as a first language is needing to unlearn the bad habits it ingrains when you move to a systems programming language with manual memory management. Other than that it’s a pretty good first language, though I’d suggest learning a bit of C at the same time just to get a basic grip on things like pointers and stack vs heap.

    Edit: it occurs to me that C# would be the perfect learning language. It’s very similar to Java and an easy first language, but you’d also learn about stack allocation through structs, and can teach pointers using unsafe (though I think unsafe code is still GCed, so this wouldn’t help with the memory management side of things. Haven’t touched C# in fifteen years so I’m not sure how it works anymore).









  • Quetzalcutlass@lemmy.worldtoAsklemmy@lemmy.mlFavourite sandwich?
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    26 days ago

    The best sandwich I ever had was a panini I randomly threw together for a snack at three in the morning. The next day I went to make it again since it was so delicious, but realized I’d forgotten some of the ingredients I used. I was in the middle of a sandwich-making phase at the time so I had like a dozen types of bread, meat, and cheese to pick from.

    This was a decade ago and I’ve never been able to recreate that perfect sandwich despite several attempts. It’s my culinary white whale. The only ingredients I am sure of are the spread (light mayo in one side, applewood-smoked bacon mustard on the other) and the meat (honey-smoked turkey), and that it was only a simple meat-and-cheese. The bread and cheese continue to elude me.




  • Quetzalcutlass@lemmy.worldto196@lemmy.blahaj.zoneExploitation rule
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    26 days ago

    Hear, hear! You can burn out at anything, even your most beloved hobbies.

    I was a video game modder for most of my life, but burnt out on the hobby completely after several years of maintaining a dozen or so mods for an early access game.

    Making new features was great, and hunting down reported bugs in my own code was enjoyable. Constantly fixing compatibility issues due to updates (and having to rewrite perfectly valid code due to shifting or deprecated APIs) wasn’t.

    I love modding, but even things you enjoy get old after a while, and the feeling of obligation to continue (even if only not to disappoint your fans) wears at you.







  • Day one patches exist because the devs continued to work on the game after the physical editions went gold, so the data on disc versions will be behind. They’ll stick around even if the industry goes entirely digital due to online stores offering encrypted preloads that won’t have the patches either.

    Day one DLC usually (fuck Capcom) exists for a similar reason - the art and asset pipelines finished their work months before launch, so rather than lay them off or pay them to do nothing, the studios have them work on DLC for the last few months before release.

    No arguments about P2W. That and the death of persistent lobbies in favor of matchmaking destroyed my enjoyment of multiplayer games.