• partial_accumen@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    24 days ago

    If it helps, I’m from the other side of networking and infra. You could swap the labels and make the meme accurate for me.

    In the mid 1980s I learn the BASIC programming command GOTO and fell in love for a lifetime. If you look any anything I used to write in Ruby script or today in Python you’ll see my love affair with “if” “elfi” and “else” continues. My universe is nested “if” statements all the way down.

          • partial_accumen@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            24 days ago

            I remember one of the hardest transitions for me from scripting in Ruby to Python was the whitespace indent was larger by default in Python. With Python, I ran out of monitor width and would have to be constantly scrolling right and left when visually parsing the code because the nested loops were so deep.

    • Zos_Kia@jlai.lu
      link
      fedilink
      arrow-up
      3
      ·
      24 days ago

      It was fashionable at a time to avoid ifs and other imperative structures, but I tend to like them. Functional is nice and all but I like my code to be smart in the way it works, not in the way it’s written. Nested ifs are readable, collapsible, and easy to make sense of at a glance, there’s often nothing wrong with using them.

    • otacon239@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      24 days ago

      Same here! I can put together a half-descent network in just a few hours, but even programming simple stuff on microcontrollers is a major endeavor. And the documentation is usually terrible or nonexistent. And the tutorials are usually barely able to cover basic questions. At least in the space of networking, there’s enough context clues in the UI that I can piece together the solution I need.

  • rockSlayer@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    24 days ago

    I’ve been trying to remotely connect to a relational database of medical data. I’ve been smashing my head against a keyboard for days trying to get my fucking code to work. I can’t even connect to their db on their Jupyter Spark cluster

      • rockSlayer@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        24 days ago

        It absolutely is. I’m dealing with genetic data, so I’m on their high security tier. Right now, the signs point to some poorly documented environment variables that aren’t sourced on startup for some reason

  • OwOarchist@pawb.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    24 days ago

    I’ve enabled all the relevant permissions. I’ve disabled firewall protection. I’ve enabled file sharing on both sides. I’ve checked for connectivity to the other machine from the command line…

    Why is my shared folder still not accessible!??!