Bitrot
surfingcomplexity.blog
Bitrot
1–10 of 22 posts
Re: Bitrot
#2I am wary of hastily agreeing that Dijkstra missed something. He may have been talking about specific, general purpose algorithms, which do not change much once conjured. There is another type of software, though, a software that sits atop the immutable spellcraft, a software that attempts to shake the boughs of profit trees at specific points and places in time and space.
Dijkstra says “Famous is the story of the oil company that believed that its PASCAL programs did not last as long as its FORTRAN programs "because PASCAL was not maintained".”
The oil company folk are the kind who prefer tree-trembling to the deep and unchanging sea.
I, too, when cold and hugging uncertainty for warmth, prefer to cut down trees for fire than to spelunk for hard diamonds.
“…we aren’t yet good at thinking about the intended lifetime of a software system when we’re designing it.”
And sometimes the life expectancy is so short that any old (or new) design will do.
Re: Bitrot
#3If I can't find hardware jumper information anywhere, some older cards are simple enough that knowing ISA or PCI bus pinouts, searching Octopart for datasheets, combined with a quality DMM can be used to painstakingly trace and determine functionality.
The other component necessary is the human brain-dump knowledge (wiki perhaps) of "what does what" to make sense of it.
The "let's delete everything old because old doesn't matter" mindset is how we lose past works forever. (If anyone can find "Mouse Commander", an independently-published TSR utility for Welltris to add mouse control, you'd be my BFF.)
PS: Interestingly, Matrox and the acquirer of Adaptec (Microchip) still have many drivers available. NVIDIA is also okay, but sometimes needs IA to get the last supported version of a particular driver.
Re: Bitrot
#4The concept of software rot due to old hardware, dependencies, updates, connectivity, architecture/application changes is something different and has to do with the design of software and (as correctly stated) not with the ageing or fatigue of the software.
[0] https://en.wikipedia.org/wiki/Software_rot [1] https://en.wikipedia.org/wiki/Data_degradation
Re: Bitrot
#51. People modifying a large codebase generally don't have a complete understanding of the codebase (and this becomes more common the larger the codebase is). 2. "Chesterton's fence", i.e. modifying something you don't understand often has downstream effects you are unaware of.
It's the codebase equivalent of the 2nd law of thermodynamics - entropy always increases =).
Re: Bitrot
#6Catabolism is another aspect of thinking about code as an organic entity that I find useful. Anabolic (growth) processes and catabolic (teardown) processes always accompany each other in biological systems. Too often we neglect to continually tear down and remove unused aspects of our systems. Both anabolism and catabolism are always operating, though at different rates depending on the environment and needs of the organism. The funny thing is that catabolic processes will happily tear down important parts of the system, forcing them to be anabolically rebuilt. Things like bone and muscle mass. This seems wasted, but it has an extremely important purpose: uncontrolled anabolism is cancer.
I think the analogy to code is obvious. We've all seen codebases that have gotten out of hand (gotten cancer), and part of the reason they got that way is because the growth pressures had no countervailing teardown pressure. The market provides selective pressure in nasty ways: codebases and systems with cancer slow and die, and are replaced by younger codebases without uncontrolled growth.
How do we break that cycle? By encouraging catabolic activity culturally within our companies and codebases. Cleanup is incredibly valuable. Functionality that isn't being heavily used and is complicating implementation of new work should absolutely be on the chopping block. We don't have to be quite as aggressive as biological systems, but we shouldn't take their example lightly either.
This also provides insight into when cleanup doesn't matter: when the survival horizon of the organism is sufficiently short that cancer frankly doesn't matter. Startups shouldn't worry too much until they have product market fit. Once it's clear they'll be around for years more though, catabolic work will help ensure future health.
Re: Bitrot
#7You're telling me. I'm into vintage / retro PCs and use IA to find drivers, manuals, and so forth. There are some manufacturers who have gone out of business and aren't completely captured by IA. Some of the worst offenders obscured their downloads behind "CGI scripts" (indirect links requiring server-side code) rather than direct downloads. Organized, searchable, and comprehensive museum/archiving of digital artifac…
Re: Bitrot
#8In my experience, a sort of opposite of this sentence tends to be true.
Modern systems have too many dependencies, most of the time needlessly so, but still required. I recently used a Python package that required a specific version of the pandas behemoth to run, but it was only used to parse a date. Absolutely ridiculous.
On the other hand, the 40-year old Fortran code that everybody uses to compute special functions compiles and runs OK in a modern computer, and is completely standalone with 0 dependencies apart from the compiler.
Re: Bitrot
#9Today we've gone well past document-embedded-virus payloads and XSS and infected USB sticks to log4j, rowhammer, and spectre. And we've barely even scratched the surface. Just wait until JSON and XML exploits (i.e. exploiting differences in decoder behavior) become common!
Bitrot is only going to get worse, and we're going to need to design our systems and formats and protocols explicitly with change in their DNA so that they can evolve to meet new threats.
Re: Bitrot
#10You're telling me. I'm into vintage / retro PCs and use IA to find drivers, manuals, and so forth. There are some manufacturers who have gone out of business and aren't completely captured by IA. Some of the worst offenders obscured their downloads behind "CGI scripts" (indirect links requiring server-side code) rather than direct downloads. Organized, searchable, and comprehensive museum/archiving of digital artifac…
What's "IA" ? (For me it's "Intelligence Artificielle", but what you say does not make too much sense. Do you have a super-fancy way to search for drivers?).