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

help-circle
  • Yup. For minor issues, first aid is all that is needed; you don’t need to see a doctor for a minor cut, as long as the first aid ensures it’s not infected. But for larger things, secondary aid is what provides more long-term recovery.

    If someone dislocates a shoulder, first aid is putting it in a sling and bracing it against the body, so it doesn’t get worse (for instance, the tendons and ligaments in the shoulder joint can tear) before they can get to a hospital.

    If someone is massively bleeding, first aid is stopping the bleeding to keep them alive until they can get rescued.


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





  • My current tinfoil-hat conspiracy theory is that’s exactly what they’re banking on. They’ll draw the trial out until right before the midterm election… Then Trump will use the resulting riots to declare martial law and cancel the upcoming midterms, so he doesn’t lose control of congress. After he has cancelled the election, he’ll make a final push to clean house, and will start ousting liberal congress members by accusing them of being riot conspirators.

    The Mangione Riots will be Trump’s Reichstag Fire.



  • 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, the issue with free earplugs is that they’re… Well… Cheap. It’s a trade-off where the cheap earplugs are uncomfortable and make everything sound super muffled, so people are less likely to actually use them. Even a mid-range pair of reusable earplugs will be a huge upgrade in comfort and quality.

    To be clear, the free earplugs should absolutely be available regardless. But there should also be a way to get some decent earplugs at a decent price, for those who are less inclined to use the cheap ones.



  • Eh, just provide reusable earplugs to the crowd for a reasonable price. It won’t be as good as a custom molded pair of earplugs, but I’m sure a company like Eargasm would love to partner with a festival to sell from a merch booth. The thump of the beat is a large part of the concert experience, and reducing the volume would erode that.

    I’m an audio technician, and I use earplugs at every concert I work. I get my mix dialed in, pop my earplugs in, and then I just pull them out occasionally to double-check that my mix still sounds alright. But to be clear, the vast majority of my mixing happens with earplugs. The days of rawdogging concerts is far past; even the talent uses in-ear monitors now.

    There’s a reason all of the old rock stars are fucking deaf. Decades of stage monitors and guitar amps dialed up to 11, just to beat out the crowd noise. And the newer musicians have realized that they can get a much more accurate mix and protect their hearing, by essentially combining earplugs with monitors.



  • Just out of curiosity, why bother running 4 instances of qBit for the various *arrs? Why not just use automatic torrent management, and have the different categories download to different folders? My *arrs are all using a single instance of qBit, and each service simply uses a different category with a different download path.

    The benefit is that I can see my total up/down speeds, ratios, etc very easily without needing to change to an entirely different instance. I can filter by category, or see everything at the same time.


  • Yeah, I just wish there was a way to automatically update the port whenever it changes. It doesn’t change often since my server tends to stay on 24/7. But when it does change, it would be nice to have it automatically update.

    Back before my current server, I was just messing around with it in Windows. I discovered that qBit actually stores the forwarded port in the registry, and PIA has a terminal command that can print the currently forwarded port. I tried to write a quick .bat script to automatically run when the PIA network adapter connected. The goal was to grab the port number and update the registry for qBit any time the internet went out or my server was rebooted.

    And it seemed to work fine. It launched when PIA connected, and pushed the new value to the registry. But that forwarded port was also apparently being stored somewhere else as well, because just updating the registry wasn’t enough; When qBit launched it still showed the old port number, even though all of the documentation I found said it was simply a registry value. At that point I just gave up and manually updated it every time I turned my computer on.



  • IIRC, part of the argument is that Switch games are encrypted, and the emulator uses real Switch keys to read the games. So Nintendo claims that by using official Nintendo Switch keys, it is violating Nintendo’s copyright and is subject to DMCA claims.

    The argument is shaky at best. But the problem with DMCA is that combating it actually requires taking the claimant to court. So that’s a prohibitively long and difficult process, just to be able to go “hey Nintendo doesn’t actually have any claim here. Restore my repo.” Especially when Nintendo has a known history of drawing out long legal battles to exhaust defendants’ time+resources.


  • I mean, open source projects can be started or based in the US. But that doesn’t mean it’s an American project; it’s just that the people who started it happened to be American.

    I guess if we had to point to a specific American OSS, maybe Tor would qualify? It was initially developed by the CIA, so that may qualify it as US OSS. But it has since taken on a life of its own and the CIA doesn’t have any hand in active development anymore… So it’s still hard to say that even “being made by the literal US government” qualifies an OSS project as “American”.

    It’s sort of a Ship of Theseus situation. At what point in the development process do we consider it a non-American project?