Y
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
bhl
1878 days ago
Makes me wonder if you could split an ipynb into an in and out file, then add /*.out to .gitignore.
link
dokem
1877 days ago
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.
link
kenward
1877 days ago
I like this idea, but seems a little backwards. Normally you commit the _source_ and omit the _artifacts_ haha.
link
ErikBjare
1877 days ago
That's what they are saying? Doesn't seem backwards to me.
link
kenward
1877 days ago
Oh, you may be right. I interpreted it as having a separate build step to generate the *.out files.
link