• 1 Post
  • 249 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle
  • The funny thing is the whole commercialization process started with one of the future partners messaging the project lead out of the blue on LinkedIn. I don’t know about you, but taking ideas from a random LinkedIn user doesn’t strike me as good business sense.

    Then again, getting something out of your years of unpaid volunteer work must be incredibly tempting, given how many open source projects have sold out over the years. At least it was to form an actual legitimate company this time, unlike when SuperSU (the Android root solution before Magisk came along) sold themselves to a scummy foreign ad company. That one still ranks as the all time top WTF sale.





  • 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.

    (You may need to delete your old yt-dlp binaries before it’ll let you install the new one - use type -a yt-dlp to find them.)



  • 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).








  • I think this is showing how much faith people have in regular commercial pet food. Normal pet food isnt great for your pets, look into what the ingredients actually are and their quality.

    Not stepping into the vegan drama here, just wanted to chime in here about cat food. Two of my three family cats growing up had terrible kidney issues in their elder years. It turns out that - even setting aside the grains and fillers added to kibble - dry food is bad for cats unless they drink a ton of water with it.

    Domestic cats are descended from desert wildcats that obtained most of their water content from their prey, and they inherited a low natural thirst drive because of this. Kidney issues are common if cats don’t get enough moisture in their diet, and since they instinctively hide symptoms of illness, you might not notice anything is wrong until it’s too late.

    Kibble became the norm because a) most people are used to dogs and b) it’s cheaper and way more convenient than canned food (which is a messy bacterial magnet that can’t be safely left out for more than an hour). If anyone reading this feeds their cat exclusively dry food, consider switching to at least a partially wet food diet or buying a cat fountain (the sound of flowing water entices some cats to drink more often). Watching your beloved family members suffer from kidney failure is a hell I wouldn’t wish on anyone.


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