DecentM

joined 1 year ago
[–] [email protected] 2 points 1 month ago

I typed :q and it just says :q on the bottom, all this advice and I'm still stuck in vim. My electricity bill has been high since 2022 because of this heavy editor with no x button

[–] [email protected] 1 points 2 months ago

You mean I can okay modded Cities Skylines and be mayor at more than 29 fps? Sign me up!

[–] [email protected] 1 points 3 months ago

No way to know if you meant to typo type or typo

[–] [email protected] 16 points 3 months ago* (last edited 3 months ago) (3 children)

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 3 months ago (5 children)

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

[–] [email protected] 19 points 3 months ago

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

[–] [email protected] 1 points 4 months ago

I can only imagine this happening if the chart receives data out of order, but renders them by timestamp without sorting, and connects the points by the order they're sent

[–] [email protected] 14 points 6 months ago (2 children)

Ngl this looks like astroturfing to me too

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

Think it's trying to park

[–] [email protected] 5 points 8 months ago (1 children)

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 8 months ago (3 children)

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.

 

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.

view more: next ›