• glibg10b@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    You seem to like the lines-of-code metric. There are many lines of GNU code in a typical Linux distribution. You seem to suggest that (more LOC) == (more important). However, I submit to you that raw LOC numbers do not directly correlate with importance. I would suggest that clock cycles spent on code is a better metric. For example, if my system spends 90% of its time executing XFree86 code, XFree86 is probably the single most important collection of code on my system. Even if I loaded ten times as many lines of useless bloatware on my system and I never excuted that bloatware, it certainly isn’t more important code than XFree86. Obviously, this metric isn’t perfect either, but LOC really, really sucks. Please refrain from using it ever again in supporting any argument.

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Can confirm it’s a shitty metric. I once saved the company I was working at few millions by changing one line of code. And it took 3 days to find it. And it was only 3 characters changed.

      • AggressivelyPassive@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        That’s the curse and blessing of our profession: efficiency of work is almost impossible to measure once you go beyond very simple code.

        You can feel like a hero for changing three characters and finally fixing that nasty, or you can feel like an absolute disgrace for needing days to find such a simple fix. Your manager employs the same duality of judgement

        • Rikudou_Sage@lemmings.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I feel like a hero in this particular case, it was a bug in a code that was written when I was still too young to even read. And no one knew how to run it. We didn’t have access to the pipelines so no one knew how to build it and how to run it. It was a very obscure hybrid of C and PHP. I basically had to be the compiler, I went line by line through the whole codebase, searching for the code path that caused the error. Sounds easy enough, right? Just CTRL+click in your IDE. Wouldn’t it be a shame if someone decided that function names should be constructed as a string using at least 20 levels of nesting where each layer adda something to the function name and then it’s finally called. TL;DR it was a very shitty code.

      • stylist_trend@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        What you refer to as Linux, is actually called Forkbomb/Linux, or as I’ve recently taken to calli-[Process Killed]

  • style99@kbin.social
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Ubuntu: “Linux”
    Fedora: “Linux”
    Arch: “Linux”
    Gentoo: “Linux”
    Slackware: “Linux”
    Debian: “Free Operating System”

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    So, how’s Hurd doing these days? If they want their own operating system, maybe they should release version 1.0 of their kernel.

    • ShustOne@lemmy.one
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I used Linux for many years, I still run it for my personal projects. I’m sure it’s not everyone but damn the community is toxic as hell to newbies. If something doesn’t work it’s your fault. Don’t know what flatpak is? You’re an idiot. How do I use X? Don’t use X it sucks but also I won’t provide alternatives. Linux just works now open up terminal and type these flags to mount your external drive correctly so other programs can see it.

      I love the power and customization but it’s a confusing world at times with unhelpful people.