[-] [email protected] 14 points 1 month ago* (last edited 1 month ago)

Glass cups work unfailingly for me. As far as I know they don't see very well, so once, I tried slowly lowering one over them, and have been doing it since. Nothing else needed, just wait for it to land near you on a hard and even surface. They so far have not noticed it until the cup was fully down. After catching one, I slide a thin paper/something under the cup, and take the whole thing outside to release it.

[-] [email protected] 9 points 1 month ago

They're talking about the comment you replied to originally, not some other thread

[-] [email protected] 19 points 1 month ago

Well he did just say designing, so lucky there. I'll send over some wireframes, sure

9
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]

Think it's trying to park

[-] [email protected] 5 points 6 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 ;)

[-] [email protected] 10 points 6 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.

11
submitted 11 months ago by [email protected] to c/[email protected]

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.

[-] [email protected] 116 points 1 year ago

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

[-] [email protected] 7 points 1 year ago

I cannot unsee this like he has a dummy

[-] [email protected] 38 points 1 year 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.

[-] [email protected] 7 points 1 year ago

Following the system theme is good, but so many times, apps start in light mode by default before loading these settings. This results in an awful white flash before the app is able to query the system what theme it should use. The shell for apps for before they load should definitely be dark imo

[-] [email protected] 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

[-] [email protected] 18 points 1 year ago

Thanks, this title screams clickbait and of course it was that after all

view more: next ›

DecentM

joined 1 year ago