Thrilled to discover nbdev from & . It's an attempt to solve a big problem with computational notebooks like Jupyter: you explore problems with a notebook, but usually need to "switch" to a more powerful tool for "real" impls:
Conversation
nbdev tries to solve this problem by giving you
- automatically turning notebooks into publishable Python modules
- bidirectional sync with plaintext .py for IDE usage
- fixes for other "real" project needs: tests, continuous integration, documentation export, conflict resolution
1
2
19
While nbdev seems focused on helping individual developers avoid the "switch" when implementing their own projects, I think layers like this could help solve a big problem with "executable books": the huge barrier for *readers* to build on embedded code to do anything real.
1
9
The fast.ai docs get at something pretty exciting, then. Like many notebooks, it contains narrative content which explains computational material and lets readers explore. But the executable book is *also* the implementation of a published production-level library
1
14
The narrative in those docs is a bit limited: it's more documentation than prose. "Deep Learning for Coders" is the expository text from the same authors, but it isn't made available in an executable context AFAICT. I think that could be really powerful!
1
4
(For more on these themes and on dreams of executable books, see numinous.productions/ttft/#executab)
2
3
22
My wishlist for exec. books:
– author did their "real thinking" in the authoring computational environment
– reading environment invites + supports meaningful experimentation/exploration
– book elements transparently and usefully reusable by author and readers in derivative works
Replying to
Update: I was wrong; "Deep Learning for Coders" is in fact available in notebook format! Most excellent!
Quote Tweet
Replying to @andy_matuschak
The book is in fact available in executable format, for free! :D
github.com/fastai/fastbook
2
25
Replying to
I liked how pluto.jl fixes some of the biggest problems with notebooks: github.com/fonsp/Pluto.jl
2
Replying to
Imagine if creating a derivative work was as easy as importing one notebook from another, or even importing it into normal non-notebook code... ;)
1
I didn't realize the latter was supported from RunKit—very cool! Are you aware of any serious "executable books" published using RunKit?
1
Show replies
Replying to
I believe used to figure out a few of the examples as he was authoring his print book
1




