• @[email protected]
    link
    fedilink
    764 months 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.

  • Björn Tantau
    link
    fedilink
    644 months 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é.

  • @[email protected]
    link
    fedilink
    24
    edit-2
    4 months 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 ☺️💕

  • @[email protected]
    link
    fedilink
    English
    234 months 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
      link
      fedilink
      314 months ago

      “What if I just change this a bit…”

      segmentation fault

      “Nope, nope, let’s put that mystery code back…”

      • @rtxnM
        link
        English
        134 months ago

        Do not touch The Coconut!

  • @foggy
    link
    174 months ago

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

    • ich_iel
      link
      fedilink
      184 months 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
      link
      54 months ago

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

    • Björn Tantau
      link
      fedilink
      24 months ago

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

    • @h0bbl3s
      link
      24 months 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.