• 0 Posts
  • 7 Comments
Joined 9 days ago
cake
Cake day: July 2nd, 2025

help-circle

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




  • wheezy@lemmy.mltoSelfhosted@lemmy.worldgoodbye plex
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 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
    ·
    7 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.