News for hackers. Stuff that matters.
Re:Ask HN: I’m falling out of love with coding by ghostbrainalpha on Monday February 06, 2023 @03:12PM (#34683616)
How much does it cost to have a single environment running overnight?

Not shutting down my machine saves me 2-5 minutes probably. Which seems like it might be worth a few pennies, but I hate the waste and environmental costs of wasted energy.

What we really need is a program that shuts off a devs environment, but then can boot it back up 5 minutes before they start working and somehow open all the applications that were running back to the exact state they were in before shutting down..

Re:Ask HN: I’m falling out of love with coding by hacb on Tuesday February 07, 2023 @05:18AM (#34690913)
Initially, we were using kube-downscaler to do this. It stops a namespace at a given time and restart it in the morning. However, a lot of namespaces (= dev env in out case) were restarted for nothing, so we created our own tool that stops them at 8PM, and restart them when the dev runs a command with our internal CLI.