Another thing, are tools used to compile still available? I tried to compile my BCS Android+native OpenCV project and failed quickly. Gradle removed some plugin for native code integration, another plugin was no longer maintained, it had internal check for gradle version and it said "I'm designed to work with gradle >= 1.x I'm sure if (would) put more effort into making the build process reproducible, it would work effortlessly, but I didn't care at the point. I wrote it using beta release of OpenCV that's also no longer maintained, because there are better, faster official alternatives available.
Challenge to scientists: does your ten-year-old code still run?
31–40 of 487 posts
Re: Challenge to scientists: does your ten-year-old code still run?
#32Would an abandoned project I wrote 10 years ago still run? The code is probably fine, but getting it to actually run by linking up whatever libraries, sdks and environment correctly could be troublesome. Even a small pipeline a wrote a few weeks ago I had trouble re-running, because I forgot there was a manual step I had to do on the input file. Expecting more rigid software practices of scientists than software engi…
It's interesting that it's often easier to get something 25+ years old running because I need fewer things. Not so hard to find, say "DosBox" and and old version of Turbo Pascal.
The complex house of cards we currently stand on seems fragile by comparison.
Re: Challenge to scientists: does your ten-year-old code still run?
#33Yes. 110% attributed to learning about unit-tests and gems/CPAN in grad school. IMO there is a big fallacy about the "just get it to work" approach. Most serious scientific code, i.e. supporting months-years of research, is used and modified a lot . It's also not really one-off, it's a core part of a dissertation, or research program, if it fails- you do. I'd argue that (and I found that), using unit-tests, a deploym…
Re: Challenge to scientists: does your ten-year-old code still run?
#34Earlier quoted context omitted.
And that scientists also are rarely supported by programmers, or if they are it's an unstable and unappreciated position.
Ive seen job listings for "scientific programmers" where what they're asking for is a scientist who happens to know a little programming.
Or it's an informal thing done by some student as a side-gig. Which can be cool, but is not a stable long-term thing.
I hope there's exceptions.
EDIT: weirdest example I've seen was a lab looking for sysadmins with PhD preferred. I wonder if they had some funding source that only paid for "scientists" or what was going on there...
Re: Challenge to scientists: does your ten-year-old code still run?
#35You often run into code of the "just get it to work" variety, which has the problem that when it was written, maintainability was bottom of the list of priorities. Often the author has a goal that isn't described in terms of software engineering terms: calculate my option model, work out the hedge amounts, etc. And the people who write this kind of code tend not to think about version control, documentation, dependen…
Re: Challenge to scientists: does your ten-year-old code still run?
#36Earlier quoted context omitted.
It's interesting that it's often easier to get something 25+ years old running because I need fewer things. Not so hard to find, say "DosBox" and and old version of Turbo Pascal.
Sounds like simplicity for the win. The complex house of cards we currently stand on seems fragile by comparison.
I doubt there are going to be folks nostalgic for the complex mess we have now.
Re: Challenge to scientists: does your ten-year-old code still run?
#37Re: Challenge to scientists: does your ten-year-old code still run?
#38The two main problems in academia are that a) few researchers have formal training in best practices of software engineering, and that b) time pressure leads to "whatever worked two minutes before submission deadline" becoming what is kept for posteriority. When I started working as a full-time researcher, I had come from working two years in a software shop, only to find people at the research lab having never used…
Re: Challenge to scientists: does your ten-year-old code still run?
#39Would an abandoned project I wrote 10 years ago still run? The code is probably fine, but getting it to actually run by linking up whatever libraries, sdks and environment correctly could be troublesome. Even a small pipeline a wrote a few weeks ago I had trouble re-running, because I forgot there was a manual step I had to do on the input file. Expecting more rigid software practices of scientists than software engi…
It's interesting that it's often easier to get something 25+ years old running because I need fewer things. Not so hard to find, say "DosBox" and and old version of Turbo Pascal.
Re: Challenge to scientists: does your ten-year-old code still run?
#40This article brings up scientific code from 10 years ago, but how about code from .. right now? Scientists really need to publish their code artifacts, and we can no longer just say "Well they're scientists or mathematicians" and allow that as an excuse for terrible code with no testing specs. Take this for example: https://github.com/mrc-ide/covid-sim/blob/e8f7864ad150f40022... This was used by the Imperial College…
If you want to help me (and others who agree with me), please sign this petition: https://publiccode.eu. It demands that all publicly funded code must be public.
P.S. Yes, my 10-year-old code is working.