News for hackers. Stuff that matters.
Re:Show HN: Mandala – Automatically save, query and version ... by vrtnis on Thursday July 11, 2024 @08:10PM (#40941725)
Very cool! looking forward to trying it out - the graphs reminded me of a toy project I'd done a while back to better understand deterministic and reproducible execution in python as seen in marimo notebooks https://github.com/vrtnis/python-notebook-simulator
Re:Show HN: Mandala – Automatically save, query and version ... by amakelov on Thursday July 11, 2024 @08:14PM (#40941739)
Ah, yes, the notorious state problem in notebooks. In your project, do you find the dependencies statically or dynamically?
Re:Show HN: Mandala – Automatically save, query and version ... by vrtnis on Thursday July 11, 2024 @09:12PM (#40941976)
Statically - basically just parsing the code into an AST and then walking through the tree to collect information about variable usage and definitions.