[-] DecentM@lemmy.ml 14 points 1 month ago

Ngl this looks like astroturfing to me too

9
submitted 3 months ago* (last edited 3 months ago) by DecentM@lemmy.ml to c/citiesskylines@lemmy.ml

Think it's trying to park

[-] DecentM@lemmy.ml 5 points 3 months ago

There's a lot more to an application than its configuration. It may require certain specific system libraries, need a certain way of starting up, or a whole host of other special things. With a container, the app dev can precreate a perfect environment for their program and save you LOADS of hassle trying to set it up.

The benefit of all this is that you can know exactly where application state is stored, know that you're running the app in it's right environment, and it becomes turbo easy to install updates, or roll back if needed.

Totally spin up a VM, install docker on it, and deploy 2-3 web apps. You'll notice that you use the same way of configuring them, starting and stopping them, and you might not want to look back ;)

[-] DecentM@lemmy.ml 10 points 3 months ago

The most popular way of configuring containers are by using environment variables that live outside the container. But for apps that use files to store configuration, you can designate directories on your host that will be available inside the container (called "volumes" in Docker land). It's also possible to link multiple containers together, so you can have a database container running alongside the app.

12
submitted 9 months ago by DecentM@lemmy.ml to c/chess@lemmy.ml

I've been working on this idea for two months and it's playable now. In short, pieces can switch sides if they're challenged twice, but then at that point they can return in just one move. I thought it'd be a cool hobby project to do (it was) but I'm mediocre at chess and I'd like to know what high level players think of the mechanics.

It was very interesting and soul breaking at the same time to work on the bot part of the engine because it kept blundering major pieces after searching through all the move options. I think I managed to get it to behave properly-ish now, but it's very slow in return. I found the chess programming wiki quite late on, so I didn't implement the optimisations it talks about but that's what I plan on continuing with after a much needed break.

[-] DecentM@lemmy.ml 4 points 9 months ago

Just until they kill it as well

[-] DecentM@lemmy.ml 3 points 9 months ago
[-] DecentM@lemmy.ml 116 points 10 months ago

Obviously it means that it you want to open a restaurant, you have to own a bike first

[-] DecentM@lemmy.ml 6 points 10 months ago

I cannot unsee this like he has a dummy

[-] DecentM@lemmy.ml 38 points 10 months ago

I generally feel fine if I can preview the payload and it doesn't contain too identifiable stuff. Even better if you can redact fields. NewPipe has a simple implementation of this where it just opens up your email client with a pre-filled body.

[-] DecentM@lemmy.ml 10 points 10 months ago

Not if they don't track you. As far as I understand the fabled cookie law, you only need to have that notice if you're using cookies in a way that's not strictly necessary for the site's functionality.

[-] DecentM@lemmy.ml 9 points 1 year ago

My coworker had this issue recently, and he had to screw around with different cables, docks, and profile settings on the monitor itself for half an hour before the better refresh rates showed up

[-] DecentM@lemmy.ml 8 points 1 year ago

Set your default browser to another one, then it should be clickable again

view more: next ›

DecentM

joined 1 year ago