• 0 Posts
  • 130 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.







  • Quetzalcutlass@lemmy.worldtoAsklemmy@lemmy.mlFavourite sandwich?
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    23 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.









  • We could also have “karma” on Lemmy, but while technically tracked the environment is better off without it being public in my opinion. I view voting records similarly.

    It’s strange that they removed total account karma visibility a while back but are now thinking about making votes public.

    I think a good compromise (since Lemmy already tracks that data) would have been to show the upvote/downvote ratio a user receives on their profile page, without showing their total karma. That’d help you spot toxic users without incentivising karma whoring.

    Similarly, a display of how often a user upvotes versus downvotes others would help spot bots and trolls without completely obliterating privacy like their suggestion would.

    (But ultimately none of this solves the problem of privacy on the Fediverse being one federated bad actor away from nonexistence)


  • Godot has one of the better explanations of vectors and their uses in games in their documentation, if you haven’t checked that out yet. It focuses on their practical use rather than going deep into the mathematics (though there is quite a bit of that too).

    And if you don’t understand the math, the documentation explains when and how to use specific methods, so you can still use it as a cheat sheet when working on your project even if you don’t fully understand vectors. (And you’ll probably have an “ah-ha!” moment when working with them yourself. Like a lot of math, they are much easier to understand with practical, non-abstract examples.)




  • It’s the lack of flow.

    When I’m good at something, I can switch my brain off (even for mental tasks like programming; it’s weird how ADHD works) and happily do it for hours.

    When I’m working on something I’m not good at or am new to, I need to stop every few minutes to think or research and that gives my ADHD brain an opportunity to attack.

    When I’m medicated, I can maintain that flow state with nearly any task - just with zero control over which task gets priority.