News for hackers. Stuff that matters.
Re:Show HN: Localscope–Limit scope of Python functions for r... by escapecharacter on Monday March 17, 2025 @03:01PM (#43391720)
Since I've started using Jupyter notebooks, I've wanted a feature to "undo" running a cell. This feels so important to for spontaneous exploration. This work feels like an important building block for this!
Re:Show HN: Localscope–Limit scope of Python functions for r... by olejorgenb on Monday March 17, 2025 @04:11PM (#43392300)
A crazy, but cool idea to implement this is using fork: https://github.com/thomasballinger/rlundo
Re:Show HN: Localscope–Limit scope of Python functions for r... by mythrowaway49 on Monday March 17, 2025 @03:56PM (#43392156)
agree! I feel like there must be a good workaround. Currently, I just need to go back and run a bunch of cells again..
Re:Show HN: Localscope–Limit scope of Python functions for r... by Vaslo on Monday March 17, 2025 @06:19PM (#43393313)
Only solved by the ever efficient clear outputs, restart, then run all the code all over again…