News for hackers. Stuff that matters.
Re:“I would like to maintain the floppy driver” by CaptainMarvel on Friday August 02, 2019 @01:59PM (#20595128)
Shouldn’t the floppy driver be incredibly stable code after all these years? It’s surely in maintenance mode rather than feature development, and surely all the bugs have been ironed out by now!
Re:“I would like to maintain the floppy driver” by rosser on Friday August 02, 2019 @02:02PM (#20595147)
Maintaining that kind of code is often less about dealing with lingering bugs, than it is about making sure that it's kept in sync with changes to the rest of the kernel that might be relevant. If some kernel structure that the FDD driver uses changes, it needs to know that.

EDIT: Phrasing

Re:“I would like to maintain the floppy driver” by ergothus on Friday August 02, 2019 @02:31PM (#20595391)
> about making sure that it's kept in sync with changes to the rest

At one of my workplaces we had an application that was without a formal supporter and everyone hated to touch it. After I was assigned to dive in to fix a bug, I did a study of how it got that way. I was very surprised by the results I found. Basically, two things went wrong:

* Firstly, due to some mismanagement, the local team moved away, leaving it unsupported.

* Secondly, outside code underwent some paradigm shifts, meaning that anyone who knew outside code found this code to be foreign. Often, people assigned to fix bugs/add features in this code would try to apply the outside paradigms without understanding or adapting the local conventions, creating ugly code interfaces.

Here was the part that amazed me: The time between this code being not-perfect-but-perfectly-normal and becoming ugh-I-hope-I-don't-have-to-touch-that was _6 months_(!)

We've always known that technical debt becomes a problem, but I had no idea it would compound so quickly. Granted, this was at a "post-startup" company going through rapid change as the scope of work kept increasing, but that's still a startlingly fast decay rate for code that was decently written and tested.

Definitely proved to me the value of an active maintainer.

Re:“I would like to maintain the floppy driver” by rodgerd on Friday August 02, 2019 @03:43PM (#20595983)
As a witter person that I put it, "code ages like milk, not like wine".
Re:“I would like to maintain the floppy driver” by tylerrobinson on Friday August 02, 2019 @03:45PM (#20595999)
It's remarkable how closely this fits with a system at my company. Without close attention, things can spiral out of control faster than you can imagine.
Re:“I would like to maintain the floppy driver” by rosser on Friday August 02, 2019 @02:50PM (#20595544)
Yeah, that kind of "process" probably invites code rot. It's subtle, insidious, and yes, sometimes, shockingly quick to set in.
Re:“I would like to maintain the floppy driver” by dfcmt on Friday August 02, 2019 @08:50PM (#20597900)
That's what happens when you choose not to have a stable API for drivers. Maybe Linux developers should reconsider that ;-)
Re:“I would like to maintain the floppy driver” by dpcan on Friday August 02, 2019 @02:30PM (#20595380)
Software ages by association. Whatever system it's on or associated with dictates its life span.

Like if you put a soda on a block of ice outside. It will last through the winter and stay solid. Wait until spring and things start getting slippery and wet. The ice and soda are showing signs of aging. Summer hits, and your soda crashes to the ground, spills, everything is just sticky, unusable, and bugs are everywhere.

Re:“I would like to maintain the floppy driver” by moosingin3space on Friday August 02, 2019 @02:48PM (#20595524)
This is an excellent analogy and I can't understand why it's being downvoted. Software is only as useful as its surroundings find it useful.
Re:“I would like to maintain the floppy driver” by gpvos on Friday August 02, 2019 @02:14PM (#20595249)
A very recent commit fixed some out-of-bounds and a divide-by-zero error: https://github.com/torvalds/linux/commit/47d6a7607443ea43dbc...
Re:“I would like to maintain the floppy driver” by tachyonbeam on Friday August 02, 2019 @02:02PM (#20595144)
> surely all the bugs have been ironed out by now!

Famous last words.

Re:“I would like to maintain the floppy driver” by sp332 on Friday August 02, 2019 @02:07PM (#20595184)
Yeah, but you never know when something somewhere else in the kernel might break it. And not many people have the hardware (not to mention patience) to run a bunch of regression tests for new releases.
Re:“I would like to maintain the floppy driver” by JustSomeNobody on Friday August 02, 2019 @02:09PM (#20595206)
> Shouldn’t the floppy driver be incredibly stable code after all these years?

Not if it calls or is called by code that changes more frequently.

Re:“I would like to maintain the floppy driver” by scarejunba on Friday August 02, 2019 @02:09PM (#20595208)
Say you modify the HAL interface, then you need to edit this to work as well.
Re:“I would like to maintain the floppy driver” by lostgame on Friday August 02, 2019 @04:20PM (#20596265)
'I'm afraid the floppy kernel can't do that, Dave.'