44

Not sure if this is the right place to ask the question, but there doesn't seem to be an "askgeeks" or something.

all 27 comments
sorted by: hot top controversial new old
[-] Flynn_Mandrake@lemmy.dbzer0.com 55 points 1 year ago

Make all of them run a bogosort on a list of 10-100 items. Whichever one finishes last gets shot. Repeat until you no longer have idle servers

[-] onlinepersona@programming.dev 3 points 1 year ago

I too like my n x n! algorithms 8)

[-] heeplr@feddit.de 39 points 1 year ago

make them enter powersaving states

[-] onlinepersona@programming.dev 1 points 1 year ago

How do you do that on a VPS?

[-] heeplr@feddit.de 2 points 1 year ago

the hoster will take care usually as low energy costs is a primary goal for them.

[-] onlinepersona@programming.dev 1 points 1 year ago

It's minimally specced machine. They should be able to handle it being at 70% CPU and memory most of the time.

[-] PoisonedPrisonPanda@discuss.tchncs.de 16 points 1 year ago* (last edited 1 year ago)
[-] agressivelyPassive@feddit.de 4 points 1 year ago
[-] thirdBreakfast@lemmy.world 2 points 1 year ago

I boinc in an LXC container with a cron job to run during the period in the day on weekdays when the electricity is pretty much all renewables (and I'm not watching Jellyfin). The intention is to turn sunlight into tiny forward progress towards curing cancer.

Specifically, the Community Grid projects Mapping Cancer Markers and Smash Childhood Cancer.

thats really great.

Im currently saving up on a new roof of an older farm building, and depending on the utilities I can come up I will put solar panels on it.

I am really thinking how to utilize the extra power, this one sounds like a great addition to an business concept for downtimes.

[-] onlinepersona@programming.dev 2 points 1 year ago

Do you have a recipe or script or something? The docker image seems to assume you're running it on your own computer and will be configuring it with some GUI? But I'm not going to install xfce on my server and RDP into it to get boinc running.

[-] thirdBreakfast@lemmy.world 3 points 1 year ago

You don't need the GUI, the client does all the work. I use a Debian container, so just sudo apt-get install boinc-client.

Once that's installed, you go to the project (in my case, World Grid) and setup your account. As part of that, it will give you a URL and account key. Then back on your server, you use the boinccmd to --project_attach the URL and key.

[-] onlinepersona@programming.dev 1 points 1 year ago

that's a better description than their documentation honestly, ty

username checks out.

[-] peter@feddit.uk 3 points 1 year ago

If your electricity costs you nothing

thats in general the culprit with own server.

but in my place electricity itself costs not much, half of the cost is only taxes and other expenses around the energy.

therefore 200 kwh more or less in a year(that would be 25 watts) is not that much.

[-] onlinepersona@programming.dev 1 points 1 year ago
[-] peter@feddit.uk 2 points 1 year ago

My electricity currently costs 65p/kWh...

[-] onlinepersona@programming.dev 1 points 1 year ago

Youch. Are you getting rammed?

[-] peter@feddit.uk 1 points 1 year ago

Very much so

[-] onlinepersona@programming.dev 3 points 1 year ago

I tried finding instructions for running headless on a server, but everything seems to be for desktop users with a GUI. And the code is proprietary for some reason?

[-] FuzzChef@feddit.de 1 points 1 year ago

If you rent a VPS that might get you kicked, so check your terms first.

[-] TehPers@beehaw.org 6 points 1 year ago

Turn them off, or repurpose them into Minecraft servers for friends. I'm using more resources running a modded server I don't play on than I am for actual productive work these days though.

[-] danhab99@programming.dev 3 points 1 year ago

I'm assuming you're talking about some individual VPC that you're paying for and not using. If you don't do anything with it in a week then just shut it down after downloading a disk image.

[-] onlinepersona@programming.dev 1 points 1 year ago

It's a sporadically active server for friends and family. They access it maybe a few times a day and it's the cheapest VPS I could find. So shutting down is not an option atm.

[-] BautAufWasEuchAufbaut 2 points 1 year ago
this post was submitted on 02 Sep 2023
44 points (100.0% liked)

Programming

17364 readers
203 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS