News for hackers. Stuff that matters.
Re:Bret Victor – Inventing on Principle (2012) [video] by shalabhc on Tuesday February 06, 2018 @05:20PM (#16320483)
Do you think it might be possible to integrate non-FRP style programs (basically stateful, imperative style) by running them in a VM which can isolate the effects and snapshot/restore the entire system state? In theory at least, it seems something like a web browser could rewind the state of a web app and replay with different input.
Re:Bret Victor – Inventing on Principle (2012) [video] by lomnakkus on Tuesday February 06, 2018 @05:31PM (#16320559)
Snapshots/diffs are not enough to be able to "project into the future".

In the web browser this is mostly achievable if the whole app is programmed in a very strict React/Redux style where everything the React portion is handled through props. (Focus being an exception that seems just untamed, so far. I may very well have missed developments here.)

Re:Bret Victor – Inventing on Principle (2012) [video] by beaconstudios on Wednesday February 07, 2018 @03:41AM (#16323083)
I can confirm that dealing with focus in react hasn't really advanced. There's useful libraries for working around this like react-hotkeys but that's about it.