• @[email protected]
    link
    fedilink
    742 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
    632 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
    2 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
    222 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
      302 months ago

      “What if I just change this a bit…”

      segmentation fault

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

      • @rtxn
        link
        English
        132 months ago

        Do not touch The Coconut!

  • @foggy
    link
    172 months ago

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

    • @[email protected]
      link
      fedilink
      182 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
      52 months ago

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

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

    • Björn Tantau
      link
      fedilink
      22 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?