394
all 28 comments
sorted by: hot top controversial new old
[-] homura1650@lemm.ee 74 points 1 month ago

1 line of code?

Amateur, I changed 1 byte of code in the Linux kernel!

It was random driver with something along the lines of "if (hardware_version > 3) fail()".

One day we got a new shipment of hardware that wasn't working for some reason until I upped that 3 to a 4.

[-] bjoern_tantau@swg-empire.de 54 points 1 month ago

That's 3 bits, from 00110011 to 00110100. Can anyone top that?

[-] Wilzax@lemmy.world 91 points 1 month ago

I've changed 0 bits of the kernel

[-] trashgirlfriend@lemmy.world 37 points 1 month ago

Someone needs to hit us with "I convinced someone to not contribute to the kernel"

[-] cactusupyourbutt@lemmy.world 25 points 1 month ago

Linus does this well enough on his own, he doesnt need help

[-] Kyouki@lemmy.world 6 points 1 month ago

Myself, because I'm stupid with coding.

[-] SaharaMaleikuhm@feddit.org 9 points 1 month ago

If you revert a change that's negative bits. You can do it!

[-] bjoern_tantau@swg-empire.de 63 points 1 month ago

Still asking myself what that four year old girl who contributed to the kernel is doing today. Hopefully she goes into IT somewhere, she'd have a killer résumé.

[-] spread@programming.dev 3 points 1 month ago* (last edited 1 month ago)

14 year old with 10yoe of contributing to the Linux kernel is exactly the current IT market is looking for

[-] ImplyingImplications@lemmy.ca 45 points 1 month ago

Actual code!? Most of us have to settle for fixing a grammatical error in the documentation

[-] 0x4E4F@sh.itjust.works 1 points 1 month ago

Yeah, I also do that sometimes, but it doesn't feel as good to be honest...

[-] Petter1@lemm.ee 24 points 1 month ago* (last edited 1 month ago)

🥳I am mentioned in the kernel git (even if it is only for a found bug in driver about a specific wifi dongle that had wrong MAC address)

It really feels like that ☺️💕

[-] henfredemars@infosec.pub 22 points 1 month ago

I was thinking about trying to contribute, but the code I was fixing is filled with so many workarounds that I’m terrified of breaking one.

[-] TimeSquirrel@kbin.melroy.org 30 points 1 month ago

"What if I just change this a bit..."

segmentation fault

"Nope, nope, let's put that mystery code back..."

[-] rtxn@lemmy.world 13 points 1 month ago

Do not touch The Coconut!

[-] foggy@lemmy.world 17 points 1 month ago

These days id prefer a developer produce negative lines of code without breaking anything.

[-] elvith@feddit.org 18 points 1 month ago

As experience tells me, every program contains at least one bug.

Experience also tells me, that you can remove the buggy line of code and the program will still not work as intended.

From this follows, that every program can be reduced to a single line of code that doesn't work as intended.

[-] Skullgrid@lemmy.world 5 points 1 month ago

I want to roll back my commits, not make more!

[-] h0bbl3s@lemmy.world 2 points 1 month ago

I saw it put really well the other day. Any software has in general a set number of bugs per lines of code. Something like Debian the number of bugs goes down after release as only bugfixes occur, while anything constantly moving like a rolling release, is certain to grow in number of bugs as the less tested newer software (which generally includes more loc) is pushed. There are tradeoffs to both methods, and edge cases of course.

[-] bjoern_tantau@swg-empire.de 2 points 1 month ago

Wasn't there a kernel release a few years back that actually resulted in less code? Or at least at some huge part?

[-] ICastFist@programming.dev 8 points 1 month ago

How I feel like after contributing

this post was submitted on 29 Jul 2024
394 points (99.5% liked)

linuxmemes

20680 readers
916 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS