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

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



  • It really depends on how drunk you actually were at the time, and that’s what makes cases like this so difficult. Generally speaking, simply being drunk isn’t enough.

    Hell, even being blackout drunk isn’t enough. Because you can be blacked out without being passed out; Blackout drunk simply means your brain isn’t recording things to your memory, so you won’t remember it after you sober up. Contrary to popular belief, alcohol doesn’t make you forget existing memories. It just makes it so you don’t ever commit things to memory in the first place. That’s what happens when you’re blackout drunk.

    In order to be incapable of consenting, you need to be so drunk that you can’t comprehend what is happening. Because informed consent requires two things: Information anbout what is happening, and enthusiasm. You can have both, even while blackout drunk. Because you forgetting your enthusiasm the next morning doesn’t automatically make it rape. After all, you were informed and enthusiastic when it was happening, so you consented. If you were capable of understanding what was happening and were enthusiastic, it’s not legally considered rape.

    And that’s a surprisingly high threshold to beat. You usually need to prove to the courts that you were basically passed out (and therefore unable to be informed about what was happening) before they’ll consider it rape.

    Even if people would colloquially consider drunk sex rape, that’s not typically how the courts view it. And that’s a large part of why so many accused rapists get off without a guilty verdict; The victim basically has to prove that they were missing either information or enthusiasm to overcome the accused’s “they consented to it” defense. And if the victim was blacked out and doesn’t even remember the evening, that becomes extremely difficult to do without outside witnesses corroborating that the victim was passed out and/or combative.

    And hell, in cases like the Brock Turner one, even when the victim proves that she was passed out, the rapist can still get away with just a slap on the wrist.



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


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


  • Yeah, the best way to learn a new game is by doing it. Video games have stopped burying tutorials in booklets, because they realized players didn’t actually read anything. Instead, they use the game itself to teach you how to play, by presenting the relevant information as it becomes relevant.

    You don’t need to read rules about a mechanic that starts 3/4 of the way through the game until you’re at the 3/4 mark. In video games, that usually manifests as a “congrats, you got a new ability. Here’s a quick three or four sentences on how it works” pop up. If that info is presented up front (like in a board game rulebook) then you’ll have forgotten how it works by the time it is relevant.




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



  • if we get larger we will definately need more niche things.

    I can’t even count how many times I watched niche subreddits get ruined by the tyranny of the masses. As a niche thing becomes more popular, you get more casual lurkers. And those casual lurkers don’t typically have a strong knowledge on the subject. So they’ll start to upvote things that sound plausible and are eloquently written to make the reader feel smart for understanding it. But that doesn’t mean the info is accurate or correct; It just means the info appealed to the masses.

    I work in a niche field of professional audio. The audiophile world has a lot of snake oil. Lots of people paying $2000 for solid gold cables when a wire coat hanger would sound exactly the same. I have seen “help, I have a buzz in my speaker and can’t figure out where it’s coming from” posts, where the top comment is suggesting a $7000 complete system rebuild… When all the OP needs is a 50¢ ferrite bead wrapped around one of their cables. But the “rebuild your system” comment was well written and sounded plausible to someone who only has surface-level knowledge, while the “ferrite bead” answer requires more in-depth knowledge on how interference is picked up in the first place. So the “rebuild your system” comment got pushed to the top.

    Basically, nobody likes feeling dumb. And if a niche community gets popular, the laypeople begin to outnumber the experts. If a question has an answer that requires more than surface-level layperson knowledge, it will often get buried in downvotes from the laypeople. Not because it was incorrect, but because it made casual readers feel dumb. Even if the experts know better, they’re simply outnumbered.




  • I’m in Texas, so there is a lot of Mexican cultural exchange. Spanish was practically a second language in my public schools, and most people speak at least a little bit of spanglish.

    When a Mexican calls an American a gringo, they’re not being nice. “Gringo” is typically used as a pejorative, to refer to a specific type of “mayo is too spicy and I’m afraid of people who have melatonin” white people.


  • You may want to look up the study “Speaker sex and perceived apportionment of talk” for a potential explanation of why this could be happening.

    Basically, psychologists did a study where they asked participants to rate excerpts from a play. They started by attempting to control for male and female “role” bias from the script itself; They had university students read the scripts (with “A” and “B” listed as the speakers’ names, gendered pronouns swapped for neutral pronouns, etc) and try to intuit the sex of the characters in the play. So this gave them a baseline on the socially perceived gender of the roles in the script. So if one role was filling a more traditionally feminine or masculine role, had more fem/masc speech patterns, etc, this part of the study was designed to check for that.

    Next, they had actors perform the script, and took some recorded excerpts to play for participants. The excerpts had a male and female actor, and the participants needed to rate how long they believed the excerpt was, and how much they believed each actor spoke, from 0-100% of the conversation. So for instance, if they believed the female actor spoke 40% of the time, they would list 40 for her and 60 for the male actor.

    Virtually every single participant (both male and female) over-estimated the female actor’s participation to some degree. Female participants were closer to reality, but male participants were pretty far off. Some of the male participants began saying the woman was an equal contributor when she was only speaking 25-30% of the time. Interestingly, these numbers were closer to reality (not totally accurate, but closer) when they flipped the script (literally) and had the actors play the opposite roles. So the female actor was now playing the “male” (determined by the earlier script reads) part of the script. So societal role expectation does play some part in the determination… But it’s not the entire reason.

    It could be a large part of why so many terminally online men pipe up about “feminism is ruining my hobbies” whenever more than a token woman is added to media. Because many men genuinely feel like women are an equal contributor when they’re only a small fraction. Does it excuse the behavior? Absolutely not. But it could at least begin to explain it.