My docker mastodon instance is using a ton of storage and most of it is media stuff not cleared by tootctl.
The total size of media and the database is 44GB and it has gone up by a few GB in the past few days.
I think I might just move back to another instance or try to see if a good lightweight alternative has popped up over the last two years.
If not, it could be a good project for fun to try making a small federated server in Common Lisp or Clojure since I've been wanting to learn a LISP.
Weather forecast: It's going to be rainy all week with temperatures dropping below freezing every night.
Me: Huh, so it's probably not a good idea to start road work right n-
Road crew: Ok guys, we have just one day to setup road blocks and dig up the road in a dozen locations all around town. If we do this right, the holes will fill up with water and freeze. Then, we won't have to do anything in the month it takes for them all to thaw and dry out fully.
I’ve been wanting to try out #pico8, but didn’t want to spend any more money. Apparently it came with the humble bundle: voxatron that I bought eight years ago so that’s a nice surprise.
Switching from a generated mesh per chunk to instanced rendering for each of the 6 faces per chunk worked to reduce memory usage on my minecraft clone!
The quick math of 9.3GB down to 300MB I did before starting was actually a little conservative.
It turned out to actually go down to ~240MB for 16*20*20 chunks.
Also, now that the data for each face is just a u32 the amount of uncovered faces doesn't affect the memory usage by a crazy amount (235MB in best case, 297MB in worst case).
This tool is amazing.
I just cross compiled my Minecraft clone on 64bit Linux for windows and arm7 Linux with no issues.
I ran the exe in windows and it ran even better than the native Linux version (probably due to better gpu drivers).
Software engineer/db admin by day, serial project starter by night.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!