News for hackers. Stuff that matters.
Re:Jupyterlab Desktop by linsomniac on Sunday February 12, 2023 @05:15AM (#34761646)
Is there a Jupyter-like environment for shell? For example, you could tell it to start from a Docker image, then give it shell commands to run in each block, and could show output. Maybe even could "script" to record interactive sessions (though no way of replaying those sessions on reloads, you'd have to detect file changes and diff and apply patches).
Re:Jupyterlab Desktop by mjburgess on Sunday February 12, 2023 @05:37AM (#34761765)
Just start each cell in a notebook with %%bash

Jupyter is a generic platform these days, so spans pretty much all langs. I learnt powershell on a mac by writing notes in a jupyter notebook and executing powershell cells.

Re:Jupyterlab Desktop by flor1s on Sunday February 12, 2023 @05:21AM (#34761681)
tmux + tmuxinator seems like a solution?

Though my workflow right now is mostly SSH + tmux + jupyterlab

Re:Jupyterlab Desktop by weberer on Sunday February 12, 2023 @07:17AM (#34762283)
Yes, try running ipython from the shell. It should already be installed if you installed Jupyter.
Re:Jupyterlab Desktop by aidos on Sunday February 12, 2023 @04:15PM (#34767055)
If you’re talking python then you just use ipython. There’s an auto reload feature that live updates code in situ so you don’t even have to reload data in between.

I recorded a video with terrible quality audio years ago that shows how effective it is. https://youtu.be/k-mAuNY9szI