3 ms·
I 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 questi
by ssivark 9y ago
I 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 9y agoPerhaps a snapshotting filesystem could help too.