3 ms·
I like the overall idea, but Wolfram wants to own everything you do in Mathematica (the "Wolfram Language" largely written by people he hired and then renamed a
by kragen 7y ago
I like the overall idea, but Wolfram wants to own everything you do in Mathematica (the "Wolfram Language" largely written by people he hired and then renamed after himself), and he has a litigious history: http://bactra.org/reviews/wolfram/ http://bactra.org/reviews/wolfram/
As usual, in this blog post he claims credit for things invented by others; in this case, I think the people who deserve the most credit include Alan Kay, Dan Bricklin, Bob Frankston, Fernando Perez, Bret Victor, Mike Bostock, Nicky Case, and Amit Patel.
Kay has been touting the benefits of computational simulations as a medium of expression since the 1970s.
Bricklin and Frankston were the ones who made it an everyday reality in the form of the spreadsheet, also in the 1970s.
Fernando Perez wrote IPython, now known as Jupyter, which is the most practical tool for sharing such a mix of expository text with executable code; http://nbviewer.jupyter.org/url/norvig.com/ipython/Advent%20of%20Code.ipynb http://nbviewer.jupyter.org/url/norvig.com/ipython/Advent%20... is an example notebook. To give credit where credit is due, though, IPython definitely did not originate the "notebook" concept, and in fact didn't even support it at first; Wolfram might be right that Mathematica in 1988 is the origin of the UI paradigm. Jupyter is where it's at, though — you can use Sympy for symbolic computations, Numpy and Scipy for numerical computation (including stuff big enough you have to farm it out to a cluster), TensorFlow for artificial neural networks, and LaTeX for equations in your expository text, thanks to the amazing MathJax. You can use non-Python languages in Jupyter, either in particular cells — some of my notebooks have %%bash cells for things that are most easily done in bash — or for the whole notebook, R being a particularly appealing language for this. (SageMath also supports a notebook interface, I think, but I haven't tried it.)
Bret Victor's work in the 2000s has explored a lot of different ways to create and share such simulations; his talk "Inventing on Principle" is a mind-opening collection of demos on the subject.
Mike Bostock wrote d3, one of the best tools for building such "explorable explanations", and put together https://bl.ocks.org/ https://bl.ocks.org/ as a way of sharing them.
Nicky Case came up with the term "explorable explanations" and has written a lot of the best examples of the genre; https://explorabl.es/ https://explorabl.es/ is their site for this.
Amit Patel has also written a number of really excellent explorable explanations (using the term "interactive illustrations"), largely about writing games, at https://redblobgames.com/ https://redblobgames.com/.
A really enormous problem with the whole field is reproducibility, dependencies, and archival; if you do an SVD in Numpy, for example, you're invoking the SVD code in LAPACK, so the results you get depend on the particular Fortran compiler you compiled Numpy with. Someone attempting to reproduce your results in 2030, 2050, or 2119 is likely to get different results. This is fine for presenting finished results, but it is a huge problem for extending them further. Kay, again, has done some of the key work in this area with his paper with Nguyen on archival virtual machines (a much better followup to Lorie's flawed UVC work; the bootstrappable crowd (mescc, stage0, and the like) are making major progress on making the bottom layer of the stack reproducible; and Nix and Guix are solving the problem of reproducible software configurations.
- TeMPOraL 7y agoI'd add that Mike Bostock teamed up with Tom MacWright and Jeremy Ashkenas to create Observable (observablehq.com), which is kind of like Jupyter notebooks, except as SaaS, in JavaScript, and both editable and executable in the browser. Observable documents are a bit less convenient to author than Jupyter notebooks because you have to write in the browser, but they're much more convenient to share around, and it's easier to make highly interactive notebooks and "explorable explanations" with them.
- kragen 7y agoI've been meaning to try Observable! However, I have the impression that, in its current form, it exacerbates the archival problem enormously, because the explorability of your explanation is conditional on the continued viability of the Observable web site. I can reproduce and generalize the mathematical proof in Plato's Meno today, 2500 years later; I probably won't be able to reproduce and generalize the computation in your Observable notebooks in 2029, 10 years later.