• FlatFootFox@lemmy.world
    link
    fedilink
    arrow-up
    296
    arrow-down
    1
    ·
    10 months ago

    The two hardest problems in computer science are cache invalidation, naming things, and off by one errors.

  • monk@lemmy.unboiled.info
    link
    fedilink
    arrow-up
    95
    arrow-down
    1
    ·
    10 months ago

    And before Pidgin was named Pidgin, it was named GAIM, which was short for GTK AIM, which was short for GIMP toolkit AOL IM, which was short for GNU Image Manipulation Program toolkit America Online Instant Messenger, which was short for GNU’s Not Unix Image Manipulation Program toolkit America Online Instant Messenger and it never ends.

  • waigl@lemmy.world
    link
    fedilink
    English
    arrow-up
    83
    ·
    10 months ago

    Also, almost all of that is written in C, which is a successor to B, which is a simplified version of the Basic Combined Programming Language. There was never an A.

      • Rinox@feddit.it
        link
        fedilink
        arrow-up
        25
        ·
        10 months ago

        Yes, but I’m not sure if we want to open the “programming language can of worms”.

        There’s B, C, C++, C#, Objective-C, D, E, F, F#, F* and so many more. Also, they may or may not have anything to do with each other

          • Rinox@feddit.it
            link
            fedilink
            arrow-up
            9
            ·
            10 months ago

            The number of job applications using Java as a shorthand for Javascript…

          • jollyrogue@lemmy.ml
            link
            fedilink
            arrow-up
            3
            ·
            10 months ago

            I once had a C# dev tell me they couldn’t run JavaScript because they didn’t have Java installed.

        • jyte@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          10 months ago

          Also I’ve read that C# is C++++ (like put those + on 2x2 table, which in turns ressemble a #)

          • dan@upvote.au
            link
            fedilink
            arrow-up
            5
            ·
            10 months ago

            Hahaha I’ve never heard that before. Seems legit.

            C# was originally “Java: The Good Parts” but but these days it’s a much more advanced language and runtime compared to Java.

            • Zangoose@lemmy.one
              link
              fedilink
              arrow-up
              1
              ·
              10 months ago

              As a dev who works on both Java and C# code, modern Java (17+) and C# feel almost exactly the same (not sure if Java has extension methods though).

              Bonus points for using Kotlin instead tho. I dislike both Java and C# just because they both allow any object to be null and that’s usually a headache whenever a null exception shows up.

              The only thing I like better about C# is the Fixture library for testing. I haven’t found any mature libraries like it for Java yet.

  • Kerb@discuss.tchncs.de
    link
    fedilink
    arrow-up
    75
    arrow-down
    1
    ·
    10 months ago

    im almost sad that its linux that became the dominating open source kernel instead of “GNU’s Not Unix! Hird of Unix-Replacing Daemons”
    (hird stands for “Hurd of Interfaces Representing Depth”)

  • nothacking@discuss.tchncs.de
    link
    fedilink
    arrow-up
    73
    arrow-down
    1
    ·
    10 months ago

    GNU is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX is not UNIX[Maximum call stack size exceeded]

        • _dev_null@lemmy.zxcvn.xyz
          link
          fedilink
          arrow-up
          5
          ·
          10 months ago

          Yeah some kind of fucky configuration.

          The root is:

          http://archive.ubuntu.com

          Which, if the ubuntu link is clicked, then drops you into the the real archive root… but the link is “appended” to the new path, but the same link is reproduced in the “new” folder. Click it again, and another segment added to your current path even though you’re in the same root archive, ad nauseam.

          I couldn’t find this misconfiguration on stackoverflow, which leads me to believe someone at ubuntu is doing something especially special here.

          • dgkf@lemmy.ml
            link
            fedilink
            arrow-up
            10
            ·
            edit-2
            10 months ago

            I’d bet that they symlinked /ubuntu to the server’s home root - probably for continuity with some previous file structure. It sure looks silly, but I’m sure the reasons for doing it were pretty reasonable.

    • Klear@lemmy.world
      link
      fedilink
      arrow-up
      22
      arrow-down
      1
      ·
      10 months ago

      GNU is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System is not UNiplexed Information Computing System

    • A tail-recursive version written in OCaml that should not reach stack limits easily. (Not an expert in OCaml, so this might be stupid. But I tried it with 10000 iterations, and it worked without any issues.)

      let gnu =
          let rec aux s = function
          | 0 -> s
          | n -> aux (s^" is Not Unix") (n-1)
      in aux "GNU";;
      
      • barsoap@lemm.ee
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        10 months ago

        Not an OCaml expert either but that looks tail recursive, you’re never going to blow the stack.

        You can tell by how after the recursive call within aux, its result does not get used within the function. That means that the compiler doesn’t need to push a return address to the stack as the only code that would be at that address is instructions to pop another address and return there, we can short-circuit all that and jump from the base case (0) directly to where aux(10000) is supposed to return to instead of taking 10000 dumb steps (like practically all procedural languages do because they don’t have tail call optimisation).

        This would’ve been different if you had concatenated the string not as an argument to aux.

        • sacredfire@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          10 months ago

          I thought Tail recursion just gets turned into an iterative loop by the compiler? Hence why you won’t get a stack overflow. And since in procedural languages you can just use a loop in place of a tail recursive function you would never run into this problem, right? At least this is how it was taught to me when I was learning about it in lisp.

          • barsoap@lemm.ee
            link
            fedilink
            arrow-up
            3
            ·
            10 months ago

            Yes you still need the loop part I skipped over that one, only focussing on the “why no return address on the stack” part. It’s what you need to focus on to see whether a recursive call is in a tail position and if it is the compiler does the rest no need to worry about that part.

        • ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          10 months ago

          That was the idea. But I’m not a functional programmer (not a programmer by profession at all lol), so I might’ve done something stupid. Hence the disclaimer. Thanks for confirming.

          • barsoap@lemm.ee
            link
            fedilink
            arrow-up
            5
            ·
            10 months ago

            OCaml certainly isn’t a bad language to learn for a non-professional. It’s almost painfully sensible and well-engineered, you’re far away from hype train nonsense and startup production jank but also not out in the “the purpose of this language is to be beautiful and earn me a PhD” territory, OCaml definitely is a production language.

  • Dizzy Devil Ducky@lemm.ee
    link
    fedilink
    English
    arrow-up
    64
    ·
    10 months ago

    Not gonna lie, took me a moment of thinking and waiting for a search engine to load before I realized Kool Desktop Environment is just KDE…

      • Dizzy Devil Ducky@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        ·
        10 months ago

        While looking it up, I’m pretty sure I read that Kool Desktop Environment was changed to K Desktop Environment. Either way, it’s absolutely Konfusing regardless of how you slice it.

      • ReCursing@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        It does now and has for years, but at first they didn’t realise how stupid Kool Desktop Environment sounded

          • Dizzy Devil Ducky@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months ago

            Not sure if this is directly aimed at us but, I don’t know much about different desktop environments (with this being the maybe 2nd or 3rd one I’ve used), but I l just like plasma because it looks good without much tweaking. I’m still learning Linux, so I just want something that looks good out of the box.

            • firefly@neon.nightbulb.net
              link
              fedilink
              arrow-up
              1
              ·
              10 months ago

              @[email protected]

              I don’t care much for looks. I want something that works good. Every time I’ve tried KDE in the past decade there have been major bugs that crashed things. I use mostly XFCE and OpenBox (both ugly) and the bugs are so infrequent that I can’t even remember the last one encountered. I’m so busy getting things done I don’t notice how ugly the desktop environment looks.

    • tal@lemmy.today
      link
      fedilink
      arrow-up
      32
      ·
      edit-2
      10 months ago

      Web browsers: elinks, based on links, which I’m pretty sure was a play on words on lynx, which is a play on words on “links” on a web page.

      Then there’s email. There’s mahogany and balsa and mulberry, which are in-jokes referring to pine, which was a joke referring to elm, which stood for ELectronic Mail. Pine has been forked to alpine, in an entirely different play on words.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        Pine has been forked to Alpine

        Wonder if it runs on Alpine the Linux distro.

        In other news, I never knew pine’s genetic code still lives on; but I miss elm more. Can we do uw-imap too? Dovecot annoys me.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      7
      ·
      10 months ago

      Naming things is hard, and everyone remembers these names, so they must have done something right.

    • KrapKake@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      10 months ago

      Yea no kidding. Gnome is pronounced Guhnome, Mate DE is pronounced Matay, Open Suse is susuh not soos, and Qt is to be pronounced as “cute” instead of just… Q-T. Many such cases.

      • cmbabul@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        Wait for real? I don’t think I’ve heard many say those terms out loud, i pronounce them in my head Nome, Mate, Soos, and q-t

  • okamiueru@lemmy.world
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    edit-2
    10 months ago

    With just little bit of formatting, it would communicate the information infinitely better. Why don’t people make the minimal effort, once, when not doing leads to each and everyone having to figure out what the fuck it’s actually trying to say.

    Apologies. I’m grumpy after a three hour meeting.

    • nexussapphire@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      ·
      10 months ago

      the real problem is this sentence contains no formatting no punctuation and no capitalization it must be a failure of our public education system in america that kid dont get the proper education they need in this day and age to use proper gramer and formatting where needed i bet most of you cant tell me the proper time to use a semicolon vs using a colon and thats ok because i dont either i do try my best to put it in the right place sometimes looking it up and failing to understand comas are also frequently used to much by people im sure your not alone in this assumption it could also be that english is hard and schools spend more time teaching us to consume and parse english rather than a balance of both reading comprehension and writing skills

      • nexussapphire@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 months ago

        Typing this thing was admittedly hard on the phone. Without selecting any suggestions, it still manages to get the capitalization and punctuation right.

  • z500@startrek.website
    link
    fedilink
    arrow-up
    18
    ·
    10 months ago

    I can’t wait to hear about the GNU Is Not UNIX Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of Hurd of Hird of

    • KᑌᔕᕼIᗩ@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      10 months ago

      Don’t worry, at the rate it’s going it probably will never see the light of day in any usable sense for the average person.