4 ms·
> As an extreme example, my former officemate Cristian Cadar used to archive his experiments by removing the hard drive from his computer after submitting an im
by amelius 10y ago
> As an extreme example, my former officemate Cristian Cadar used to archive his experiments by removing the hard drive from his computer after submitting an important paper to ensure that he can re-insert the hard drive months later and reproduce his original results.
Perhaps it would be an idea to use a virtual machine such as VirtualBox instead?
- caminante 10y agoFTA bio link: Cadar's a Stanford CS PhD who runs a software reliability research group, of all things. I doubt he's overlooked VHD backups. FTA: It's tedious to keep an environment consistent over a long period. You omitted that context.
- ssivark 10y agoI have recently started to think about designing a good workflow for this kind of thing, based on tools like Docker, Nix, Camlistore, etc. The following questions will need to be addressed: 1. Setting up the requisite environment inside a container. Making all "hidden state" explicit -- by specifying the state of every object in the dependency tree (including specifying things like the seed for a random number generator, or a particular noise source). 2. Should the experimentation/improvements happen inside the container, or should it happen on a desktop, with a snapshot of the project (when committed) generating a container version? One could update a Docker image depending on git tags, with project diffs corresponding to container layers. - It would be great if one could use a script to specify the "state" in a project to be able to move it into a container, at any point in the process. 3. Could one store the output files using some form of content-addressable-memory, so that each output file remembers the "context" in which it was generated?
- amelius 10y agoPerhaps a snapshotting filesystem could help too.