News for hackers. Stuff that matters.
Re:Show HN: A Spatial Environment for Python by rsfern on Monday May 09, 2022 @08:10PM (#31321620)
> By default, cells rerun whenever its code changes or an input reruns, like a spreadsheet!

This is transformational — I’ve been using Pluto.jl a lot lately for prototyping library code and doing data analysis. Now when I work in python I find myself really missing that reactivity. The closest thing I’ve found is streamlit, which is cool but not quite as liberating IMO

Can’t wait to try it!

Re:Show HN: A Spatial Environment for Python by bmitc on Monday May 09, 2022 @11:55PM (#31323268)
>> By default, cells rerun whenever its code changes or an input reruns, like a spreadsheet!

> This is transformational

Just a note, but this has been around for forever in tools and languages like TouchDesigner, vvvv, Max, Pure Data, LabVIEW, with various permutations on the idea.

Re:Show HN: A Spatial Environment for Python by guyomes on Tuesday May 10, 2022 @01:22AM (#31323748)
The excellent Live Coding in Python plugin [0] also comes to mind. The space tracer [1] in particular is handy for debugging.

[0]: http://donkirkby.github.io/live-py-plugin/

[1]: http://donkirkby.github.io/live-py-plugin/starting_space_tra...

Re:Show HN: A Spatial Environment for Python by rsfern on Tuesday May 10, 2022 @08:59AM (#31326552)
Cool, thanks for the references! LabVIEW is the only one I’d heard of

I didn’t mean to imply that there’s no prior art (observable also comes to mind), but I’ve just gotten so frustrated lately with how easy it is to make an unsustainable mess in jupyter. Factoring code into modules and auto loading those helps, but it’s still easy to get in trouble with implicit state

Re:Show HN: A Spatial Environment for Python by flor1s on Tuesday May 10, 2022 @10:08AM (#31327313)
RxPy and "Functional Reactive Programming" (Flow Based Programming) also seem related, albeit they are not visual tools.
Re:Show HN: A Spatial Environment for Python by snthpy on Tuesday May 10, 2022 @01:15AM (#31323694)
I've never heard of any of those.