Patch submitted to the Linux kernel by a 4 year old. (mastodon.social)
from ken27238@lemmy.ml to linux@lemmy.ml on 16 Aug 2023 20:48
https://lemmy.ml/post/3434575

#linux

threaded - newest

[deleted] on 16 Aug 2023 20:49 next collapse

.

ReakDuck@lemmy.ml on 16 Aug 2023 21:04 collapse

Welcome to Open Source software where its ok to help once and never again. Thats actually not even a bad thing.

Imagine there is this one project that kicks everyones autism and has many issues. But only a team of 100 people is allowed to change its code. I’d rather want the world to change the code and make it improve for everyones liking. Even if it was just one commit and never again.

themoonisacheese@sh.itjust.works on 16 Aug 2023 21:59 collapse

I “maintain” (I don’t) a thing I made 5 years ago for playing Minecraft. I no longer care about it because I don’t play anymore, but over the years many people have submitted pull requests to improve it to the point there is very few miles of code that are from me.

Fizz@lemmy.nz on 16 Aug 2023 20:54 next collapse

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 on 16 Aug 2023 20:58 next collapse

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.

jet@hackertalks.com on 16 Aug 2023 20:59 collapse

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

ken27238@lemmy.ml on 16 Aug 2023 21:17 next collapse

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

nan@lemmy.blahaj.zone on 16 Aug 2023 21:19 collapse

They’re telling a joke.

ken27238@lemmy.ml on 16 Aug 2023 21:23 next collapse

I didn’t see how it’s funny.

nan@lemmy.blahaj.zone on 16 Aug 2023 21:50 next collapse

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

elbarto777@lemmy.world on 16 Aug 2023 21:59 collapse

Dude is just dense.

elbarto777@lemmy.world on 16 Aug 2023 21:59 next collapse

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

chaorace@lemmy.sdf.org on 16 Aug 2023 23:24 next collapse

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.

giacomo@lemm.ee on 17 Aug 2023 00:12 next collapse

This is obvious

JaxNakamura@programming.dev on 17 Aug 2023 04:48 collapse

If nothing else, the smiley can be taken as a hint that it’s not serious.

flashgnash@lemm.ee on 17 Aug 2023 10:47 collapse

This is truly a Reddit moment

elbarto777@lemmy.world on 16 Aug 2023 21:57 collapse

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

ParsnipWitch@feddit.de on 17 Aug 2023 00:09 collapse

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

redawl@sh.itjust.works on 16 Aug 2023 21:00 next collapse

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.

jsveiga@sh.itjust.works on 16 Aug 2023 21:02 next collapse

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.

lameJake@feddit.de on 16 Aug 2023 21:14 collapse

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

ipsirc@lemmy.ml on 17 Aug 2023 12:40 collapse

<img alt="" src="https://lemmy.ml/pictrs/image/ef970b96-1577-43ac-9382-5561aafc32bf.png">

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?

whodoctor11@lemm.ee on 19 Aug 2023 01:58 collapse

There was a time when there was no minimum age for Gmail registration, as the registration process didn’t ask for your date of birth. Even if there was a limit at that time, no one ever lied about their age in an account registration?

Infamousblt@hexbear.net on 16 Aug 2023 21:25 next collapse

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!

MJBrune@beehaw.org on 16 Aug 2023 21:39 next collapse

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.

fubo@lemmy.world on 16 Aug 2023 20:57 collapse

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.

MossyFeathers@pawb.social on 16 Aug 2023 21:16 next collapse

I want her to do a Ted talk on the morality and ethics of making sure no letter is left behind when underlining text.

BigTechMustBurn@lemmy.ml on 17 Aug 2023 07:16 collapse

You mean the inclusivity TED Talk.

nickwitha_k@lemmy.sdf.org on 16 Aug 2023 21:20 next collapse

That is adorable.

Flarp@kbin.social on 16 Aug 2023 21:29 next collapse

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

elbarto777@lemmy.world on 16 Aug 2023 22:01 next collapse

Her coding style is on point, though.

the_sisko@startrek.website on 17 Aug 2023 00:00 collapse

Sphinx has warnings for these already. They’re just suppressed and ignored :)

Zamboniman@lemmy.ca on 16 Aug 2023 21:30 next collapse

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

Bizarroland@kbin.social on 16 Aug 2023 21:33 next collapse

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

gamey@feddit.rocks on 16 Aug 2023 22:27 collapse

Dose mental age count?

SpaceNoodle@lemmy.world on 16 Aug 2023 21:51 next collapse

The Internet didn’t even exist when I was four, let alone Linux, so I don’t feel so bad.

gamey@feddit.rocks on 16 Aug 2023 22:26 next collapse

Lucky bastard!

samus12345@lemmy.world on 16 Aug 2023 22:51 collapse

Well, you shoulda been working on ARPANET then, slacker!

kilgore_trout@feddit.it on 17 Aug 2023 11:20 next collapse

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.

shaulliv@lemmy.world on 17 Aug 2023 11:39 collapse

she’s going to one of those mythical 20 yo with 15 years of experience 😉

SootyChimney@hexbear.net on 16 Aug 2023 21:30 next collapse

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.

[deleted] on 16 Aug 2023 22:10 collapse

.

platysalty@kbin.social on 17 Aug 2023 00:27 collapse

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

Blizzard@lemmy.zip on 16 Aug 2023 21:35 next collapse

Breaking News at msn.com: “Linux uses child labour!”

SomethingBurger@jlai.lu on 16 Aug 2023 22:14 collapse

Unpaid child labour!

ZeroXHunter@lemmy.world on 17 Aug 2023 03:47 next collapse

Don’t threaten the far-right with a good time

rustyricotta@lemmy.ml on 17 Aug 2023 06:55 collapse

Oh god, maybe they’ll start calling actual child labor “open source”

db2@sopuli.xyz on 16 Aug 2023 22:11 next collapse

This better get backported with high priority.

TrustingZebra@lemmy.one on 17 Aug 2023 08:53 collapse

I just noticed it’s from 2014.

untemperedsteel@mastodon.ie on 16 Aug 2023 22:32 next collapse

@ken27238 Actually great, it is good to see young people trying to help with a project.

DarkThoughts@kbin.social on 16 Aug 2023 22:36 next collapse

I frankly have to very much agree with her.

demlet@lemmy.world on 16 Aug 2023 22:58 next collapse

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.

SIGSEGV@sh.itjust.works on 17 Aug 2023 00:26 next collapse

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 on 17 Aug 2023 00:38 collapse

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 on 17 Aug 2023 00:44 collapse

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 :-)

MNByChoice@midwest.social on 17 Aug 2023 00:49 next collapse

Some problems just need a fresh pair of eyes. Sometimes literally.

LastYearsPumpkin@feddit.ch on 17 Aug 2023 01:25 collapse

(งツ)ว

alcamtar@lemmy.world on 17 Aug 2023 01:24 next collapse

Can a 4-yr old legally consent to the copyright assignment?

RegalPotoo@lemmy.world on 17 Aug 2023 01:35 next collapse

Why wouldn’t they be?

MellowSnow@lemmy.world on 17 Aug 2023 02:15 collapse

Lol because they’re 4

Da_Boom@iusearchlinux.fyi on 17 Aug 2023 09:09 next collapse

No but the parents can on her behalf

Atemu@lemmy.ml on 17 Aug 2023 15:35 collapse

Which copyright assignment?

A bunch of = aren’t copyrightable but even if they were, the child would retain the copyright.

dino@discuss.tchncs.de on 17 Aug 2023 07:29 next collapse

I don’t know, this feels cringe on some levels…(parents)

FumpyAer@hexbear.net on 21 Aug 2023 02:23 collapse

Nope, I was smiling like a maniac the whole time I was reading. Reject cynicism 😀

delnac@lemmy.one on 17 Aug 2023 10:23 next collapse

This is just adorable. Poor s!

Happy_Harry@lemmy.happyharry.org on 17 Aug 2023 11:39 collapse

Somewhere, somehow, this is going to break something lol

SpaceCadet@feddit.nl on 17 Aug 2023 12:03 collapse

It’s almost 9 years ago, I think we’re good.

sunbeam60@lemmy.one on 17 Aug 2023 13:14 collapse

I reckon we can still mine it for karma for another couple of years…