• 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: August 8th, 2023

help-circle
  • From a theory perspective alone, ignorant of Lemmy specifics: a database query can be made to list all cached images including a unique identifier for each image. Use this list to find each cached image.

    Look at your cached image list and decide how you want to prune it. The most likely pattern for this system is FIFO, so prune the oldest cached data until you drop below the target disk usage.

    In practice, you'll likely use somebody else's solution. Be sure to read the contents of their solution carefully to ensure it doesn't move sensitive data to an externally accessible location or exfiltrate data directly.



  • Oooo thank you for the links, that’s the part I had a difficult time with. I don’t think I’m subscribed to enough things, or I don’t check frequently enough, to get the information updates.

    I’ll see what I’m qualified to do. I don’t know Rust in particular so this is likely to turn into a rabbit hole that produces nothing but a greater knowledgebase in my brain for the next time I get fiesty about something.


  • I’ve been spending some time considering the future technology stack of Beehaw. I’d love to work on some kind of moderation tools, especially because I know that they could be inserted alongside the existing codebase - even if in an exceedingly hacky way. Heck, even client side site scraping with content matching is an option if for some horrible reason we had to.

    The fun part is not being able to ask those who run the server about specifics for what’s needed.








  • Your difficulties are real, valid, and not relative to any other person’s. It’s okay to have them and discuss them.

    Keep watching your own brain when you can; you cannot be successful every time but you improve your brain hygiene a little bit each time you do. Sometimes you’ll have to let it happen for bit of time while you regain enough energy to stop catastrophising and that’s okay too. The exhaustion you get from stopping it just means you’re doing good work.