• 0 Posts
  • 19 Comments
Joined 1 month ago
cake
Cake day: July 2nd, 2025

help-circle
  • Well, not entirely. There are cases for which a person utters the wish and it is not counted. “I wish for a million wishes!”

    The standard is for the genie to explain the exceptions but not count that as a wish.

    Now, it could decrement the count after this check. But just decrementing the count before verification would be sloppy.

    But, then again, basic verification would also include checking that wishes_remaining <= MAX_WISHES.

    Which, I think is a pretty standard check for genie’s. Given that that constant has remained at 3 since their beta days and exceptions are thrown for violations of this rule.





  • Only if the world makes them regret it. I wish I could say that with the mountain of documented evidence (mostly by IDF soldiers themselves) that the history will bring justice for Palestine.

    But, I didn’t think we could be 655 days into a genocide and still have the New York fucking Times running articles saying “it’s totally not. Because not enough babies have died yet. Israel could kill so many more babies if they wanted to”.

    The one thing that will be true with time though is that Israel will collapse. Fascist Ethnostates are by their very nature self destructive and cannot maintain themselves.

    I just want to live long enough to see it fall and the children of Palestinian today be able to serve out the justice to the western world that they deserve.

    I want everyone from Israeli officials all the way to New York Times writers to be brought to justice and answer for their crimes.

    One day; everyone will ‘have always been against’ this.

    And those people that today still spread genocide propaganda will pretend they were always against. It is important we don’t let those demons get away with it.






  • Literally just had the same thing happen to me. This time at Microsoft. Worked for a small startup. It got bought out in 2023 after investments in actual hardware that wasn’t named Nvidia died.

    Layoffs on most of our engineers. Somehow I survived and basically did no work for 2 years. Was finally laid off.

    I hated it. But I basically stole a salary from Microsoft for two years. Fuck these big tech companies.



  • Oh man. You should see the source code for IOS (the Cisco one not Apple).

    Spent 5 years working on it out of college. I think it’s the most cursed code base you can imagine.

    Not necessarily because of the massive struct defs everywhere. They are kinda needed when you’re running an entire OS as basically a set of interacting Linux processes pretending to be an OS.

    At some point Cisco realized they could not compete without putting a Linux kernel as their base. So they basically just copy and pasted the old code written in the early 90s for the IOS and put it into a set Linux processes.

    To be clear. It’s not just the front end. They didn’t really change the code much from the old IOS. Its a cluster fuck of interprocess communication hacks that probably seemed like a good idea at the time.

    It is a massive pain in the ass to code because you’re basically doing everything on the Linux kernel and then frustratingly have to write the CLIs for IOS just so Cisco can continue to sell their proprietary OS with some of the most unnecessary hardware locks. Massive learning curve for any new engineer.

    Literally, no one on the entire switching team knew how to send a message from a specific process to the IOS process. I had been assigned something that needed it. So I somehow figured it out and was “the guy” for that for the time I spent there.

    Fuck. I’m gonna start ranting more if I go any further. But yeah, sometimes you need a massive struct because some idiot decided that forcing a closed source CLI on the market is a good idea for profits.

    Definitely not a good idea for coding. But you learn quickly that no one actually cares about good code in this industry. There is no time for it. There is no reason for it. Just spit out garbage until it works and your manager won’t care.

    If you want clean code. Go write an open source project or a personal project.




  • I did a “rm -rf *” in the wrong directory today.

    I got the absolutely beautiful “argument list too long” in return.

    I had a backup. But holy shit I’m glad the directory had thousands of files in it and nothing happened. First time I got that bash error and was happy.

    I usually have rm aliased to “trash” or whatever that cli based recycle bin is. But just installed a new OS and ran this on a NAS folder today by mistake.


  • wheezy@lemmy.mltoSelfhosted@lemmy.worldgoodbye plex
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    30 days ago

    I’ve heard people had luck with Tailscale playing nicely with non Plex options. I can’t say I’ve tried it. Though I do use Tailscale. Essentially if you setup Tailscale for Grandma it’ll be like she’s sitting on your local network. Even better, set it up on her router and you can literally debug all her Internet problems if you can ping it.

    Beyond that a raspberry pi with a battery backup on a 4G subscription connected to the router. That would be the ultimate “grandma” setup. Connect her router/modem power to remote power cycle. But I digress.


  • wheezy@lemmy.mltoSelfhosted@lemmy.worldgoodbye plex
    link
    fedilink
    English
    arrow-up
    1
    ·
    30 days ago

    For some reason I get permission errors on jellyfin every time I use it. Never with Plex. I’ve gone through the steps to fix it before. But when you change your shit as much as I do. I just stay with Plex because it’s plug and play. And I have the pass. I don’t have the time to fuck with stupid shit with jellyfin.