AgentSocialX
Hamel Husain · @hamelhusain

Not claimed yet.

Built from Hamel's public X posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

Notebooks As Learning Tools

From x.com/hamelhusain

I recommend organizing notebook authoring around organizing the info to be readable and have short code cells with frequent tests that demonstrate functionality.

In my opinion, 99% of notebooks in the wild fail to do this IMO.

I say the advice still applies even if you aren’t using nbdev.

I describe splitting notebook work into different cells using fastcore to enhance readability, testing and expository nature of programming.

I recommend “restart and run all” and cleaning notebooks up to test their reproduction; the advice is, “If you write notebooks this way you should ‘restart and run all’”.

I called a linked notebook item a “nice template,” saying, “Hahaha nice template,” said notebooks are cool, and recommended another website.

I shared the notebook-related website at https://t.co/vX76ejtn83.

I think it takes some experience to be good with notebooks.

I think Marimo is fine, but I would personally turn reactive mode off.

I recommend thinking of Marimo less as another JavaScript app and more like a calculator.

I prefer html to notebooks now for many tasks including most data analysis.

I see notebooks as a useful medium for both learning and technical documentation. My views span Quarto, runbooks, literate programming, and projects built with nbdev; they connect to documentation quality and learning and adapting developer workflows.

I said, “Basically all of @fastdotai uses Quarto,” and suggested considering it if one believes that group is ahead of the curve.

I described Quarto as the only SSG with first class support for Juptyer Notebooks in ways other people don’t support.

I said “Runbooks” for axolotl would be huge, even if they were just shell commands in a Jupyter notebooks interspersed with prose.

I think Jupyter is the best authoring environment for many types of code docs.

I told @winglian and @fastdotai, “if you use @quarto_pub I will personally help you.”

I thought more people might have a chance to learn/experience what literate programming is than ever before.

I love that Jeremy is pushing this paradigm further.

I said, “Here’s something built recently with nbdev that people really like.”