Add it to the list :joy: <https://twitter.com/char...
# random
d
n
I use
pwd
all the time, it’s not notebook specific but IPython in general.
d
I meant the saving to a variable!
n
I would add this as a best practice to make notebook reproducible.
Copy code
In [1]: a = 2

In [2]: a +5
Out[2]: 7

In [3]: b = _2

In [4]: b
Out[4]: 7
c
I will publicly predict quarto markdown (or similar) replacing giant JSON blob notebooks in the next 10 years (bonus points for me if in the next 5)
❤️ 1
👍🏼 1
d
I will publicly predict that we keep building duct tape over Jupyter so that its just about usable across IDEs and version control systems 😂
🫠 1
n
quarto
isn’t exactly new, there were few variant of markdown that make python script works like a notebook. (It’s nice and I use it for my blog)
c
yep but it has solid backing (Posit) and increasingly playing in the Python space; plus I think in general so many people are really feeling the pain of Jupyter notebooks that something has to change though I'd also never bet against duct tape...
d
I think in the business space it will be interesting to see if walled gardens of Sagemaker / Databricks notebooks + things like Hex actually break up Jupyter’s dominance
n
Who knows, we live long enough that Python is in Excel now.
d
it will take a lot for Quatro to become the first route that newbies get exposed to on their journeys
👍 1
j
I think the real problem with the ipynb format is that it’s difficult or impossible to have (1) integrity with saved outputs and (2) malleable plain text at the same time. Jupytext tried to marry both but it never really took off… but then what prompted this thread has nothing to do with ipynb, it’s just Jupyter the editor acting weird because it tries to be too easy. you can run commands prefixing them with !, but I guess they said “oh that’s too hard, let’s remove the ! requirement, what can go wrong”…
c
also with
%
and
%%
right, which are...different commands? magics? been doing this for years and never really understood, there is something to be said for not trying to be too clever