[-] renzev@lemmy.world 1 points 2 days ago

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

[-] renzev@lemmy.world 2 points 2 days ago
[-] renzev@lemmy.world 2 points 2 days ago

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.world 2 points 2 days ago* (last edited 2 days ago)

Ususally just turning off javascript using ublock makes these notices go away. And if turning off javascript breaks the website... well then I guess whatever I was trying to read wasn't really worth my time anyway.

[-] renzev@lemmy.world 6 points 2 days ago

Void on laptop, alpine on homeserver. Yep, checks out.

Love how the indian guy sitting meme perfectly sums up how I feel about alpine, nixos, and freebsd, even though those are completely different projects with different directions and goals. "It's boring and it just works".

[-] renzev@lemmy.world 17 points 3 days ago

Tangentially related, but I love how http://ai is an actual website that you can visit. We're so used to thinking of websites as <something>.<tld> that it's really weird to see a website hosted directly on a top level domain with no subdomain.

[-] renzev@lemmy.world 6 points 3 days ago

John Oliver did a nice explanation

Basically they pretend to have the wrong number, but then start chatting with you, gain your trust over a period of months, and then ask you for money or similar.

[-] renzev@lemmy.world 104 points 3 days ago* (last edited 3 days ago)

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?

[-] renzev@lemmy.world 3 points 4 days ago

Okay, then that means I misunderstood your comment. Seems like we're on the same page.

[-] renzev@lemmy.world 5 points 4 days ago* (last edited 4 days ago)

Funny you say that lol. I study electrical engineering, and my friends from uni ABSOLUTELY talk about linux, self hosting, and privacy. Still looking for someone to fill out the "bad thing that amazon did today" conversation niche.

366
I'm going insane (lemmy.world)
808
896
767
submitted 2 weeks ago* (last edited 2 weeks ago) by renzev@lemmy.world to c/linuxmemes@lemmy.world
397
submitted 3 weeks ago by renzev@lemmy.world to c/memes@lemmy.world
1490

It's impressive how duckduckgo manages to be so much better than bing despite being a frontend for bing

160
AI's take on XML (lemmy.world)
1233
AI's take on XML (lemmy.world)
462

I heard some people say theyre the same thing, but others are adamant that they have different meanings. Which is it?

1252
352
Many such cases (lemmy.world)
-4
view more: next ›

renzev

joined 9 months ago