Hacker News new | ask | show | jobs
by dokem 1878 days ago
You can configure so they don't save their output, then the ipynb diffs will be readable.
1 comments

Makes me wonder if you could split an ipynb into an in and out file, then add /*.out to .gitignore.
I believe I achieved the no-saving-output affect by adding a python snippet/plugin to Jupyter Lab. So you could program it to do whatever you want. That's what I love about Jupyter Lab, you can turn it into whatever kind of environment you want.
I like this idea, but seems a little backwards. Normally you commit the _source_ and omit the _artifacts_ haha.
That's what they are saying? Doesn't seem backwards to me.
Oh, you may be right. I interpreted it as having a separate build step to generate the *.out files.