Skip Navigation

Posts
8
Comments
48
Joined
3 yr. ago

I WANT THE MELTING POT TO GRIND MY ANCESTRAL LINE INTO FRIVOLOUS POWDER 🇲🇩🇲🇩🇲🇩🇲🇩🇲🇩🇲🇦🇲🇦🇲🇦🇲🇦🇲🇦🇲🇦🇲🇦

  • Based in Israel, don't get anything. This is standard as our contacts usually specify that a third of our salary is legally considered compensation for overtime. There's no defined schedule, it's mostly "whoever is available will take care of the incident, and if multiple people are available then they should join too". It will obviously not go smoothly if you're never available. This is terrible, I wonder if there are any other places that behave like this. It should be noted that this isn't weird considered the working hours are quite bad compared to the OECD, not terrible though.

  • Me with every post here

  • I'd be scared to perform POST/PUT with LLM-generated commands. For immutable calls I agree though

  • Terrible choice of name

  • 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

  • > Greentext @lemmy.ml

    Anon is bewildered

  • 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

  • Linux @lemmy.ml

    Thoughts on makedeb, Debian's unofficial makepkg clone that comes with its own version of the AUR as well?

    docs.makedeb.org /using-the-mpr/introduction/
  • Yep, it's more of a reference. I like the argparse tutorial and would love to see more docs of this kind though

  • Nah 30 hours/week for insurance? It's mandatory here starting from 1hr/week 😭 Thanks for the explanation

  • can only get 25 hrs a week because obongocare

    Uh can an American explain this? Obamacare sets a cap for weekly working hours?

  • I feel the same and I've been using Python for years professionally. It's the lack of examples for me; usually functions and classes aren't meant to be used as-is but rather fed as an argument into some other function or class, and this info is seldom portrayed in the func's documentation. E.g. the documentation of BaseHTTPRequestHandler is one that I trip over every single time, I have to resort to reading the source code of SimpleHTTPRequestHandler to remember how handlers are supposed to be defined 🐺

  • I'm with you

  • It's okay we all know the answer

  • 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

  • I think you took the joke a bit too seriously

    Edit: oh wait wtf I didn't notice the post body. I agree with you then lol

  • get-with-the-times-old-man.tar.xz

  • It's working but I suspect it doesn't delete pics or smth. But it's nice to have nontheless

  • 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?

  • Python @programming.dev

    Writing Python like it’s Rust

    kobzol.github.io /rust/python/2023/05/20/writing-python-like-its-rust.html
  • Lemmy Administration @lemmy.ml

    What pics are safe to delete?

  • Selfhosted @lemmy.world

    How do I know which pics on my Lemmy instance are safe to delete

  • Comradeship // Freechat @lemmygrad.ml

    How's your praxis going

  • Selfhosted @lemmy.world

    Self hosting my own Lemmy instance was so much fun