> marimo makes it seamless to go from prototype to production. No, it doesn’t. In fact, no tool; not retool, not any of no-code solutions, free or paid, lets you take a hacked up prototype and seamlessly put in into production. In fact, even claiming that it does makes me question the other (superficially quite laudable) things it claims to do; eg. plain python files. Why do people go down these rabbit holes? You can…
Lessons learned reinventing the Python notebook
21–30 of 44 posts
Re: Lessons learned reinventing the Python notebook
#22as a daily jupyter user, i like this .py DAG approach a lot - more so for visualizing complex workflows than addressing a potentially corrupt hidden state. there isn't much *data science functionality* integrated into jupyter core apart from displaying static dataframes (nor is their internal desire to add it), and jupyter *extensions/widgets* should really be built with dash/streamlit, so i'd encourage you to make a…
Re: Lessons learned reinventing the Python notebook
#23Relevant to my 2020 article: What’s wrong with computational notebooks?
Re: Lessons learned reinventing the Python notebook
#24I find it so weird to see Jupyter being the "traditional" option in this discussion. Kudos for the shout out to excel being the main "notebook" most people have experience with. I question the choice of Python as the format. Agreed that Json is terrible. But Python will have similar problems. And a notebook is a marked up document. Using a markup language is a natural choice. Delimit areas of particular syntax and yo…
Python is nice because it enables composition and reuse as vanilla scripts. But there are definitely tradeoffs.
Re: Lessons learned reinventing the Python notebook
#25A lot of improvements! Relevant to my 2020 article: What’s wrong with computational notebooks? https://austinhenley.com/blog/notebookpainpoints.html
Other things we looked at closely: Joel Grus' (in)famous talk on notebooks, and obviously Pluto.jl.
Re: Lessons learned reinventing the Python notebook
#26Also see the previous discussion here: https://news.ycombinator.com/item?id=38971966
Re: Lessons learned reinventing the Python notebook
#27> marimo makes it seamless to go from prototype to production. No, it doesn’t. In fact, no tool; not retool, not any of no-code solutions, free or paid, lets you take a hacked up prototype and seamlessly put in into production. In fact, even claiming that it does makes me question the other (superficially quite laudable) things it claims to do; eg. plain python files. Why do people go down these rabbit holes? You can…
If you are making things public, you likely care about more than just a password, which you'll want to push into an auth gateway with oauth support, authZ, rate-limiting, etc.
Re: Lessons learned reinventing the Python notebook
#28> marimo makes it seamless to go from prototype to production. No, it doesn’t. In fact, no tool; not retool, not any of no-code solutions, free or paid, lets you take a hacked up prototype and seamlessly put in into production. In fact, even claiming that it does makes me question the other (superficially quite laudable) things it claims to do; eg. plain python files. Why do people go down these rabbit holes? You can…
There are benefits of running notebooks in production rather than reimplementing things in another environment.
1. The prototype is tested and verified. And I don't mean tested as in 50 unit tests and integration tests. But tested in the way that a human actually looked at the result and was satisfied. Reimplementing means that you will start from scratch.
2. That the production env is the same as the analysis env means that it is trivial to go back and debug issues.
3. Sometimes maybe what you need is a fast solution. Not sending stuff into the scrum loop of a separate engineering team and pray it makes it into a sprint not so far away.
TL;DR get shit done.
Re: Lessons learned reinventing the Python notebook
#29Earlier quoted context omitted.
no, it's a failed concept. frequently you'll find effectively shell scripts that couple workflows to some graphical environment for spurious reasons -- except they're baked with bad assumptions about state in that environment as outlined in the article. if you want knuth's literate programming, just comment liberally per that guidance. or carry forward with them and print your retractions later. vOv
I’m not sure what your definition of “failed” is, but notebooks of various kinds have been bringing value and accessibility to various different programming languages for a while now. If it was a “failed concept” I don’t think we’d see as much adoption, let alone new iterations and advancements in the space. Just because you don’t use something doesn’t mean it’s not worth something to someone else (or in this case, a…
people shouldn't use measuring cups either; since scales are more accurate, faster, and involve less cleanup. and yet.
Re: Lessons learned reinventing the Python notebook
#30> marimo makes it seamless to go from prototype to production. No, it doesn’t. In fact, no tool; not retool, not any of no-code solutions, free or paid, lets you take a hacked up prototype and seamlessly put in into production. In fact, even claiming that it does makes me question the other (superficially quite laudable) things it claims to do; eg. plain python files. Why do people go down these rabbit holes? You can…