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

help-circle
  • PM_Your_Nudes_Please@lemmy.worldtoSelfhosted@lemmy.worldWhat is Docker?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    2 months ago

    It can be, yes. One of the largest complaints with Docker is that you often end up running the same dependencies a dozen times, because each of your dozen containers uses them. But the trade-off is that you can run a dozen different versions of those dependencies, because each image shipped with the specific version they needed.

    Of course, the big issue with running a dozen different versions of dependencies is that it makes security a nightmare. You’re not just tracking exploits for the most recent version of what you have installed. Many images end up shipping with out-of-date dependencies, which can absolutely be a security risk under certain circumstances. In most cases the risk is mitigated by the fact that the services are isolated and don’t really interact with the rest of the computer. But it’s at least something to keep in mind.




  • Proton isn’t an emulator; It’s a compatibility layer. All it’s doing is taking the Linux<>Windows stuff and converting back and forth. There’s very little efficiency loss, (and some games even run better because Linux tends to be a lighter OS.)

    The big issue with Linux is anticheat. Some of the largest anticheat companies have chosen not to support Linux, or the game devs have disabled Linux support on their end. But to be clear, that’s not a choice Linux has made; It’s a choice the game devs made to exclude Linux players, because they want kernel-level control which Linux won’t allow.

    Gaming on Linux used to be a big hassle, as it basically required devs to write a native Linux version of the game. But nowadays Proton does that translation for them, and is so lightweight that it’s negligible. If you have any doubts, check out protondb, which is a published list of game compatibility ratings. Gold will play just fine in 90% of cases. Platinum is going to be seamless. Native means there’s a specific Linux version. And Steam Deck Verified simply means the devs have set specific controller/aspect ratio/frame rate/etc settings for when the game is booted on a Steam Deck. Even if it’s not SD Verified, the rating will tell you whether or not the game will boot and run.



  • Nvidia GPUs are absolutely still a problem on Linux. It’s a problem that can be worked around, but it will require working around.

    It’s honestly one of the biggest issues with Linux imo. If we want to encourage widespread adoption, it becomes really difficult to persuade people when they find out their GPU is essentially incompatible without major massaging. Especially since Nvidia is the most popular GPU seller on the market.

    And the “it’s so easy, people just don’t want to learn” messaging doesn’t actually encourage long term use; If someone has been told that changing is easy but immediately encounters issues, then you’ve just made yourself an untrustworthy source of information in their eyes. They’re more likely to go “welp I guess it’s not for me” and just stop trying. If they’re at least presented with a realistic use-case and some of the most common pitfalls, they’ll be much better equipped to actually soldier on and learn. Just like teaching someone to ride a bike, going “it’s so easy, just keep peddling” does nothing to help when the person is laying in the grass with a scraped knee.


  • Do yourself a favor and soak them in some vinegar water after you get them home. About a 1:4 mixture of white vinegar to water. The acidity will kill the mold spores that cause the berries to go bad, and it won’t be strong enough to affect the taste after you rinse them.

    I usually just dump about a cup of vinegar into a mixing bowl and top it off with water when I’m getting groceries in. First thing I do is drop the berries in to soak. Then I put away all of my groceries, which gives the berries a few minutes to soak. Finally, I dump the bowl and give the berries a quick rinse with the sink sprayer.

    I haven’t had strawberries go moldy since I started doing it. If I forget about them in the fridge for a week or two, they’ll simply dry out instead.


  • It will only take two years if people actually fucking vote in the midterms. But midterm turnout is historically… Well… Complete dogshit. And republicans are statistically more likely to vote in midterms.

    That’s why Trump is moving so fast to try and secure things; He doesn’t truly have four years to cement himself as god-emperor. He only has two before he potentially loses his majority in congress. So he has to be crowned before then.

    But even with that being said, I don’t have high hopes. As I said before, republicans are more likely to vote in midterms. Maybe Trump’s antics will be enough to get some blue voters off of their asses. But at this point, I’m not holding my breath.




  • Yeah, there’s also the “debugging is just as hard as writing elegant code” side of things. Vibe coding is largely just putting yourself in a permanent debugging role.

    The big issue I see with vibe coding is that you need to know best practices to build secure code. Even if you don’t adhere to them all the time, best practices exist for a reason. And a programmer who doesn’t even know them is a dangerous thing, because they won’t even be able to see what is insecure (until it’s far too late).

    Studies have found that vibe coders tend to produce less secure code, but have higher confidence in their code being secure; It’s essentially Dunning-Kruger in practice. I’d have no issue with someone using AI to get the broad strokes down. But then they need to be able to back it up with actual debugging. Not just “I didn’t even bother looking at it. If it compiles, push it to prod.”


  • If you already have a Plex instance running, Prologue is an app that turns it into an audiobook host as well. Plex doesn’t natively support audiobook metadata like chapters, but Prologue simply uses Plex’s remote access to reach the files.

    All you do is throw the .m4b audiobook files into a music library on Plex, sign into your Plex account on Prologue, and Prologue handles all of the metadata for the audiobooks instead of using Plex’s built-in music player.

    I mention this because I had massive issues trying to get ABS to work on my setup. It simply refused to read or write any data from my NAS. After a day or two of throwing myself at it to no avail, I found Prologue and haven’t looked back. I already had Plex running for some friends and family, so setting up the music library was as easy as dropping the audiobooks into a folder.


  • For anyone looking for a wonderful example of this, check out the RuneScape wiki. It’s hosted by a company that is partnered with the game maker, and is fully maintained by the community. It is the single most expansive and in-depth wiki I have ever seen. It is truly the gold standard for what a wiki should aspire to be.

    It has everything you could need to play the game, all the way down to automatic calculators (with built in character lookup functionality, using the game’s high score leaderboard system) to tell you things like how many of [x] resource you’ll need to get [y] experience, or what your estimated return on investment will be for turning [x] resource into [y] product.

    The game has over 250 quests, (and not just basic fetch or kill quests like most MMO’s have) and the wiki has in-depth walkthroughs (including in-game screenshots) for every single one.

    You can even open the wiki directly from the game. There’s a “Wiki” button on the chat box, so you can search the wiki directly via chat, and it opens in your desktop browser.






  • Yeah, people complain about roombas not giving a super deep clean… But they’re really not intended to do so. They’re meant to be a daily maintenance clean. They may not be great for when you dump an entire can of coffee grounds in your carpet… But they’re wonderful when you have a big dog with lots of fur that needs to be vacuumed every single day.