I’d be scared to perform POST/PUT with LLM-generated commands. For immutable calls I agree though
I WANT THE MELTING POT TO GRIND MY ANCESTRAL LINE INTO FRIVOLOUS POWDER 🇲🇩🇲🇩🇲🇩🇲🇩🇲🇩🇲🇦🇲🇦🇲🇦🇲🇦🇲🇦🇲🇦🇲🇦
I’d be scared to perform POST/PUT with LLM-generated commands. For immutable calls I agree though
I guess they were referring to formatting other than tabs, like place of brackets and line length, which sounds like a neat idea
He’s literally me that’s why I posted. Commenters won’t get it
Well put, thank you for taking the time to write this. You’re incredibly eloquent
I’m using both of them:) zoxide comes with a zi
command which lets you search through your recent directories
Nah I thought the same but then I manually checked it. In most of the image posts I see, the image URL starts with lemmy.org.il, which made me wonder whether they’re actually downloaded or it’s some kind of whacky proxy. So I downloaded some of these pics and looked for files of identical size and hash digest, and indeed they were on my disk!
It’s not a bad decision to cache pics, because it does make the experience really smooth, and I’m not complaining about it. Mastodon does this as well
Yeah, pretty big storage requirement due to the way pictrs works. Pictrs is the piece of software Lemmy relies upon to manage image storage, uploads, and most importantly: caches pictures from other instances. This takes up a HUGE amount of storage space, and there’s no official way to clear this up, see these posts I recently made: first one, second one. The solution I resorted to is renting a 1TB storage box from Hetzner for 3 euros per month, pretty sweet deal but I was kinda annoying by it. So the cheapest deal I could find costs me 6 euros per month: 3 for an Alma Linux ARM VPS from Hetzner, and 3 for that storage box. If you’re in for the fun in tinkering (I sure as hell am in), then get ready for a good time. Other than that, if your main line of reasoning is to take burden off of lemmy.world, then I think just go ahead and join another instance. Better yet: join croud funding of another instnace:)
Okay, you may not gonna like it but I rented a 1TB storage box from Hetzner for 3 euros a month, just to get that foot off my neck. It’s omega cheap and mountable via CIFS so life is good for now. I’m still interested in what I described in the OP, and I even started scribbling some Python, but I’m too scared of fucking anything up as of now.
The annoying part in writing that script was discovering that the filenames on disk don’t match the filenames in the URLs. E.g., given this URL:
https://lemmy.org.il/pictrs/image/e6a0682b-d530-4ce8-9f9e-afa8e1b5f201.png.
You’d expect that somewhere inside volumes/pictrs
you’d find e6a0682b-d530-4ce8-9f9e-afa8e1b5f201.png
, right…? So that’s not how it works, the filenames are of the exact same format but they don’t match.
So my plan was to find non-local posts from the post
table, check whether the thumbnail_url
column starts with lemmy.org.il
(assuming that means my instance cached it), then finding the file by downloading it via the URL and scanning the pictrs
directory for files that match the exact size in bytes of the downloaded files. Once found, compare their checksums to be sure it’s the same one, then delete it and delete its post entry in the database.
When get close to 1TB I’ll get back here for this idea… :P
get-with-the-times-old-man.tar.xz
Haha I’m literally on it right now. My instance crashed a couple of hours ago because of it, so I emptied ~/.rustup
to get some time, but idk how to go about it from here. LPP didn’t do anything. That seems really curious, does literally everyone use S3?
Liberals downvoting a 100% based comment
Thanks a lot, I was looking for this exact kind of community. Posted there <3
I should’ve mentioned it in the post, but I already tried deleting pics modified more than X days ago. The catch is that I don’t wanna delete pics uploaded to my server, I just want to delete pocs cached from other instances :(
Cringe reactionaries being cringe reactionaries
Well done, I’m glad to hear things are going well and sounds like you do huge things. Proud of you, stranger
Yep, I manage my servers and local machine with Ansible so I abstracted it with a role. This is indeed not that bad of a con because it’s still plaintext so automation is easy, but it’s still a minor issue ;)
Most organizations have no set way for new members to get familiar
This is such a pain point. How come my current employer, which has 0 positive (and negative) impact on the world, has enough resources to have a proper onboarding process while my other orgs don’t? Guys I think something is rotten with the current economical structure
Praxis for me now is just talking to friends who are left leaning, and continuing to educate myself. I just have little energy to do anything else, and it is frustrating.
You know, I think talking shit online is nothing to scoff at. We have a whole org here called Mahazkim which is dedicated to spamming social media with pro-palestinian stances (ignore words like “progressive” and “liberal” on their site; they carry a different meaning here). If it sounds interesting to you, I can try finding something similar for you in your area. I have a friend that works in this org so I can launch a message and she’ll prolly figure something out.
I feel you, couldn’t complete my degree because I hate it to the bone and it was too draining. Whatcha learning?
Me with every post here