News for hackers. Stuff that matters.
Re:Royal Society cautions against censorship of scientific m... by judge2020 on Sunday January 30, 2022 @07:51PM (#30143044)
Exactly, it'd be like omitting the "methodology" section of the paper. There's no way to verify or prove wrong a paper if you don't know how they reached their conclusions.
Re:Royal Society cautions against censorship of scientific m... by nextos on Sunday January 30, 2022 @10:54PM (#30144271)
Even more than sharing code, I think the key is to share raw data, postprocessed data and describe methods as exceptionally clear equations and pseudocode.

Some well intentioned papers share code which is hard to run years afterwards. It's sometimes much simpler to reimplement things that to get the code to run if they are described accurately.

Besides, some articles hide ugly things, nasty tricks and lies in the code, which make their results a lot less believable and valid. Being super upfront about models in terms of equations and pseudocode is important.

Of course, we should also have standards to make code reproducible. Perhaps depositing a VM with everything ready to run.

Re:Royal Society cautions against censorship of scientific m... by zrm on Monday January 31, 2022 @02:37AM (#30145493)
> Perhaps depositing a VM with everything ready to run.

The danger then is that the VM has so much undocumented complexity that if anything goes wrong, or goes "well" when it shouldn't, no one can explain why. Which also reintroduces a vector to hide nasty tricks.

Re:Royal Society cautions against censorship of scientific m... by hirako2000 on Monday January 31, 2022 @05:42AM (#30146618)
this. the point of sharing reproducible steps and not the experiment itself is that it can be fully reproduced independently. not just independently verify that the result show what the paper claims.
Re:Royal Society cautions against censorship of scientific m... by ungamedplayer on Monday January 31, 2022 @03:59AM (#30145982)
But you can at least figure that out. If U don't have it all results are suspect.
Re:Royal Society cautions against censorship of scientific m... by kergonath on Monday January 31, 2022 @07:48AM (#30147347)
Results that haven't been independently replicated are suspect. There are just too many factors that can lead an experiment to give some results that are not transferrable or not relevant.

The worst aspect of this is the lack of will or funding to replicate, replicate, and replicate again all significant results that get published. Post-processed data can be altered, but a TB of raw data is meaningless as well if it hasn't been produced properly, has been obfuscated, or is weirdly formatted.

Data availability is a red herring for the vast majority of the science being made right now (almost everything that does not depend on a multi-millions dollars experiment). If data availability is an end in itself, we would just have moved the goalposts and have a data quality problem instead of a reproducibility problem.

Re:Royal Society cautions against censorship of scientific m... by mrandish on Monday January 31, 2022 @12:18AM (#30144802)
> Perhaps depositing a VM with everything ready to run.

Yes, this is hugely important. We need clearer requirements for what constitutes properly 'published' data, code and methods. It should include all raw data (both used and discarded) as well as complete snapshots of each preliminary and intermediate processing step in a time-stamped chronology.

This is an area where the expertise and best practices of software development, documentation and source control could help inform standards and tooling which would dramatically improve the quality of scientific publishing and replication.

Re:Royal Society cautions against censorship of scientific m... by 3pt14159 on Monday January 31, 2022 @12:28AM (#30144857)
> Some well intentioned papers share code which is hard to run years afterwards.

Umm, not really? How many years are we talking about here? Because even Cobol is runnable. Sure some OS related quirks may need changing but getting the raw source is much more likely to expose a subtle flaw in the researcher's method than just the equations. For example, an incorrect negative check (to string vs < 0) or an off by one error.

Re:Royal Society cautions against censorship of scientific m... by wizzwizz4 on Monday January 31, 2022 @01:06AM (#30145113)
Don't think COBOL; think Python 2.1 (not 2.2) with this specific version of PIL, and some of the code implemented as a CPython module (for speed) in C that only compiles properly with one specific EGCS fork that adds support for IA-64. Parts of the code are written in slightly-buggy inline IA-64 assembly, but it's okay because after a system call, that particular operating system makes sure those registers are zeroed each loop iteration, if Python's line-buffering its `print`s so that the system call gets consistently run.

Also, the Python script crashes on loading the data files unless there are two (but not more than two) spaces in its full file path. This is not documented anywhere.

Re:Royal Society cautions against censorship of scientific m... by kergonath on Monday January 31, 2022 @07:56AM (#30147390)
Yeah. I can easily run FORTRAN code from my PhD supervisor's PhD supervisor, written way back in the 1980s, but I cannot run some of the Python scripts written by a post-doc 10 years ago. It's a mess of abandoned libraries and things that work only with some specific versions of some libraries, and compiled modules that rely on the dodgy behaviour of an old compiler. Perl seems to be better, if only because people used to rely much less on external libraries.

But properly running code is not the solution either. I can count on the fingers of one had the downloads of some of the codes we've published (easily compilable modern Fortran), and AFAIK nobody ever published anything using them. Having a multitude of codes available does not mean much if nobody runs them, assuming they can be compiled. And I would guarantee that none of the scientists who download these codes would be able to understand what they do in any detail.

Re:Royal Society cautions against censorship of scientific m... by mach1ne on Monday January 31, 2022 @02:35AM (#30145488)
This comment could well have come from Chief O'Brien's mouth.
Re:Royal Society cautions against censorship of scientific m... by rini17 on Monday January 31, 2022 @03:27AM (#30145775)
So? Nothing a CS grad couldn't manage, that sounds like real problems they grapple with. Still a notch better than no code.
Re:Royal Society cautions against censorship of scientific m... by lodovic on Monday January 31, 2022 @04:05AM (#30146031)
Indeed, that's not proper science, too many moving parts. If it cannot be easily replicated by anyone at any time, it is just an experiment which would need more refinement to get published. No experiment should be accepted if it requires a Rube-Goldberg machine.
Re:Royal Society cautions against censorship of scientific m... by swayvil on Sunday January 30, 2022 @09:25PM (#30143781)
Remove description of methodology and science becomes mere dogma.
Re:Royal Society cautions against censorship of scientific m... by 6510 on Monday January 31, 2022 @08:18AM (#30147564)
and dogma science!