• Zamboniman
    link
    fedilink
    26111 months ago

    …Kernel patch at age 4. Sigh… What have I done with my life?

    • Bizarroland
      link
      fedilink
      13411 months ago

      You done fucked up from the moment you turned 5. That’s where you went wrong. You should have just stopped getting older

    • Kilgore Trout
      link
      fedilink
      English
      1011 months ago

      You can start now!


      I am no developer, but I’ve submitted my first patch a few months ago.

      It simply added my laptop to a list of quirks, in order to make the microphone work.

  • @Fizz@lemmy.nz
    link
    fedilink
    10911 months ago

    No matter how many times I read this I have no idea what’s going on. Can someone explain this like I’m 3

    • @Prismey@sh.itjust.works
      link
      fedilink
      18011 months ago

      A girl read documentation and see that all the titles are underlined with -, but one of the letter isn’t underlined like the others (that’s the lonely s). Then she asks the person doing the commit to fix it and they fix it together.

    • @MJBrune@beehaw.org
      link
      fedilink
      6611 months ago

      So in the documentation they had

      1.9 Ext4 file system parameters
      ------------------------------
      

      As you can see the ‘s’ doesn’t get a ‘-’ under it. So they changed the documentation to:

      1.9 Ext4 file system parameters
      -------------------------------
      

      so the ‘s’ in parameters gets a dash under it.

      this seems to be the standard as everywhere else the dashes go for the same length of characters as the above line. Example:

      2.0 /proc/consoles
      ------------------
      

      The little girl said the ‘s’ in parameters is sad because it didn’t get the dash under it and it was all alone. So they added the dash.

    • jsveiga
      link
      fedilink
      20
      edit-2
      11 months ago

      See the first red box in the documentation text? The underline dashes don’t go up to the last letter (s).

      4 year old girl said the “s” was sad because of that, uncle submitted a patch to fix that, and it was accepted.

    • Infamousblt [any]
      link
      fedilink
      English
      17
      edit-2
      11 months ago

      The line of code (well, documentation in the code) used to look like something like this (I’m not sure if this formatting will work on mobile, sorry):

      The code ends with an s

      ----------------------

      And after her changes it looks like this:

      The code ends with an s

      ------------------------

      See how I added an extra - in that second line? That makes the S happier because now it also has a - below it like all the other letters. This also just generally makes that line more consistent with other spots in the code. So it’s not a bad change. It doesn’t do anything really but making your code format nice, easy to read, and consistent is usually important in programming so although it doesn’t do anything tangible it’s still a valuable change!

    • @fubo@lemmy.world
      link
      fedilink
      711 months ago

      She spotted that there was a missing - in the underline for a heading in a piece of documentation, and her parent helped her submit a fix.

    • @redawl@sh.itjust.works
      link
      fedilink
      611 months ago

      The first red box shows that the dotted line underneith the text doesn’t go all the way to the s in the text above. In the other red box, the dotted line goes all the way.

      The neice submitted a patch to add the missing line.

  • Flarp
    link
    fedilink
    5711 months ago

    lazy to not submit a unit test to check for this throughout the repo. That girl isn’t going anywhere with that kind of work ethic

  • SootyChimney [any]
    link
    fedilink
    English
    4011 months ago

    Though slightly cliche, this just feels right. That niece has learned a great lesson about how collaborating to improve things is always possible, and that open-source relies on everyone doing their bit.

      • platysalty
        link
        fedilink
        711 months ago

        You just know she unlocked a core memory that day. No way this experience doesn’t shape her in some way.

  • @SIGSEGV@sh.itjust.works
    link
    fedilink
    English
    23
    edit-2
    11 months ago

    Ah, yes, totally not written by one of her parents. I hate this kind of crap. She noticed that it wasn’t underlined, and they did the rest. Why is this news? No 4-yo. spells “tragedy”.

    “Look how special my kid is, everyone!!”

    • @charles@lemmy.ca
      cake
      link
      fedilink
      5411 months ago

      I would normally be inclined to agree but this isn’t one of those “omg I just had the most intelligent conversation with my 4-yo today”.

      It’s clearly someone sharing their hobby/job with their niece, and what better way to do that than by including them in a practical aspect. It also literally says they “helped her as she’s 4 years old”.

      You commenting is only bringing more attention to the post by increasing the comment count so maybe reevaluate your approach in the future if you’re so against wholesome content.

      • @SIGSEGV@sh.itjust.works
        link
        fedilink
        English
        22
        edit-2
        11 months ago

        Agreed. Sorry. I often hear this kind of stuff IRL from my relatives, so I might be prejudiced.

        People bragging about their kids is irritating. However, I hope the girl ends up being a Linux guru :-)

  • @demlet@lemmy.world
    link
    fedilink
    2111 months ago

    I would like to request a patch to the patch request. The submitter describes the dashes as equal signs and it’s really bugging me.