• 51 Posts
  • 420 Comments
Joined 10 个月前
cake
Cake day: 2023年12月28日

help-circle
  • Maybe I’m confused, but from what I understand, “declarative” means you tell the computer what you want the final thing to look like, and “imperative” means you tell the computer what steps to take. So Dockerfile would be imperative because it’s a set of commands that are executed in-order to create the image. Meanwhile docker-compose.yml is declarative because you say which containers are used with what options and how they’re interconnected. IDK tho, as far as I understand the definitions aren’t that rigid




  • This (and systemd bugs) is the main reason I moved away from nixos on my homeserver. Nowadays if I want declarative configuration, I just cram everything into docker containers and write a huge docker-compose.yml for everything that I want to run. Would still recommend nixos for things that don’t require a lot of tweaking. Like if I had to set up a simple website for a small business or something. I love how you can set up SSL certificates for nginx with autorenewal just by switching it on in configuration.nix.







  • renzev@lemmy.worldtoScience Memes@mander.xyz50% survival rate
    link
    fedilink
    English
    arrow-up
    82
    ·
    edit-2
    3 天前

    So…

    • normal people are scared because they fall for the gambler’s fallacy,
    • mathematician is feeling fine because a 50% chance is a 50% chance,
    • and the scientist is feeling extra fine because the experimental data shows that the surgery is actually safer than 50%

    Did I get it right?







  • I’m often hearing that 4chan is “unmoderated” or has “the bare minimum of moderation”, which just doesn’t line up with reality. Many boards have strict and specific rules about what content is allowed, what is banned, and how said content should be presented. Just listing some rules off the top of my head: you must have a minimum number of pictures to start a thread of /s/. Normal hentai porn goes into /h/, weird fetish stuff goes into /d/. No western art allowed on either. Content that breaks the rules gets removed within hours, sometimes minutes.

    If you see something that you find disagreeable on a 4chan board, it’s likely there because it’s allowed to be there. They aren’t struggling with moderation. The fact that it’s still online in the clearnet after so much media attention proves that they have enough jannies to take care of the illegal stuff at least.