News for hackers. Stuff that matters.
Re:Challenge to scientists: does your ten-year-old code stil... by zelphirkalt on Monday August 24, 2020 @02:58PM (#24264109)
The dumb guide is the following:

(1) Use a package manager, which stores hashsums in a lock file. (2) Install your dependencies from a lock file as spec. (3) Do not trust version numbers. Trust hash sums. Do not believe in "But I set the version number!". (4) Do not rely on downloads Again, trust hash sums, not URLs. (5) Hashsums!!! (6) Wherever there is randomness as in random number generators, use a seed. If the interface does not allow to specify the seed, thtow the trash away and use another generator. Careful when concurrency is involved. It might destroy reproducibility. For example this was the case with Tensorflow. Not sure it still is. (7) Use a version control system.

Re:Challenge to scientists: does your ten-year-old code stil... by hobofan on Monday August 24, 2020 @03:19PM (#24264354)
> in about 3-5 years a lot of that knowledge will be outdated

Yup, and most of the points you mentioned will probably not be outdated for quite some while. Every package manager I'm aware of with lock files that are that old can still consume them today.