Patch submitted to the Linux kernel by a 4 year old.

Ken27238@lemmy.ml to Linux@lemmy.ml – 788 points –
nixCraft 🐧 (@nixCraft@mastodon.social)
mastodon.social
72

You are viewing a single comment

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

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.

And then the older pair programmer goes to social media and calls out their partners age for clout. Ageism is real in tech. :)

Wow we really can’t just appreciate a wholesome/cute moment?

They’re telling a joke.

I didn’t see how it’s funny.

Because it’s an absurd statement, as in completely obviously not an example of ageism in tech.

Inevitably, there will be times in one's life when another's attempt at humor fails to amuse. When striken by such terrible tragedy, take heart, for you have the knowledge that it's just your opinion, bro.

I would have said "you could be a Linux maintainer," but given this post, clearly Linux maintainers are less dense than you.

Wow, people didn't get your joke. What the hell...

I wonder how many 4 year olds are using Lemmy... Ah sorry, there's the ageism again :<

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.

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.

No no the uncle submitted the patch. The girl did. He helped her though.

So, is it her gmail account, while the minimum age for registration is 13 years? And why does she write about herself in the singular 3rd person?

1 more...
1 more...
1 more...

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!

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.

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.

1 more...