Publish the export, of course! But what a great chance to push the computational essay idea with a notebook export too.
Publish the export, of course! But what a great chance to push the computational essay idea with a notebook export too.
I have often thought that it would be nice to just write the articles fully in the notebooks, but it's not ideal. One thing is that articles often build up ideas where providing code is often better to just show the complete pieces. Having everything in one notebook muddles these two things. Also, converting notebooks to markdown ot HTML/CSS/JavaScript is not all that straightforward when your notebook includes LaTeX and Mermaid diagrams.
So for now, I'm sticking with articles in markdown supplemented with notebooks. The downside is that the notebooks are not standalone.
Org mode + babel allows exactly for this sort of literate programming notebooks.
For example, in a Polyglot Notebook in VS Code, I can freely mix markdown, F#, C#, JavaScript, HTML, Python, LaTeX, Mermaid diagrams, images, and more.
I can only assume Emacs provides nothing close to this.
I can even annotate my code blocks to execute on remote machines, or to "tangle" my code blocks together to deploy standalone files my local or remote machines.
The meta language in tangle let's me reuse code snippets for machine specific configurations. I can almost replace my DevOps workflows with Emacs Org-mode.
It takes practice to use, and the documentation isn't very good though. Too terse for my preferences, but ChatGPT is really good at helping me understand.
…basically, “yes” is the most likely answer to “can eMacs…?”
(Though I am not sure about the current state of web browsing.)
There might be a way to have plots inside org mode (e.g. org-plot) but you don't have "arbitrary html/js" plots (except as links to other in a browser, and I doubt you get even close to the same level of interactivity.
And even what you get regarding plotting is not turn-key that way VSCode Jupiter and Polyglot are.
* Install F# or Elixir
* Install the Polyglot Notebook extension in VS Code (for F#) or install Livebook (for Elixir)
* Run notebook
The idea of what Emacs provides is irrelevant to my problems of how to efficiently write blog posts either in or support by notebooks. I gave up the path of Emacs long ago for the exact reasons of this chain. Yes, you can do anything or a collection of things, given enough time. For VS Code and these notebook technologies that I use, I do not spend time fussing about with the notebook technology.
That being said, I feel like this kind of the entire point of emacs. Everything is pieced together, and very little is "out of the box".
At least, It's THE main reason I started learning Emacs, I was tired of the lack of interoperability of my different tools and I wanted an ecosystem that lets me piece things together as needed, like the Unix philosophy but with a tighter interactivity loop.
It's a double edged sword, in that it takes much more effort to build and maintain, but there's nothing really like it.
I still use VSCode and Jetbrains IDEs, but they don't drive my workflow like Emacs.
That means it probably is not worth switching tools when the existing tool is good enough for something else that might be good enough.
But not-right-for-OP is not the same as eMacs-can’t.
I doubt it. Care to post a GIF/video of a session with interactive html/js and plotting in org.mode?
If you want a better idea of why some people live in Emacs, maybe check out Literate Devops:
Video: https://howardism.org/Technical/Emacs/literate-devops.html
Text: https://howardism.org/Technical/Emacs/literate-devops.html
These are more convenient both for the code creation and for the final written exposition than Mathematica notebooks. Among other convenient features, code can be split across notebooks, and cells can be arbitrarily re-ordered on the page without any inherent linear dependency.
Caveats: you need to write your code in Javascript, and your notebook is hosted on a commercial platform (though it’s not inordinately difficult to copy it out from there.)
• https://colab.research.google.com/drive/1kEmqjgjudlmPwDReTH9...
• https://colab.research.google.com/drive/1wbktvb8XWISitThnpRA...
• https://colab.research.google.com/drive/1vsEE7XooIF1jHZKWZbE...
Pros: Can just type Markdown and LaTeX math; don't need a separate step to convert to HTML/CSS/JavaScript.
Cons: URL is ugly, code can only be Python (I think?), the UI is janky, can list lots more. But the friction was low enough that it got me to write at all (and move on without endlessly fiddling and never posting), and that's the most important thing for me.
I imagine if I were more comfortable doing everything in Javascript I could use Observable notebooks, as suggested in a sibling comment.
> "Given the complete pattern of who wants to go where, we can dispatch specific vehicles to drive in whatever complicated arrangement is needed to optimally deliver people to their destinations. It won’t be like the trains, with their regular times. Instead, it’ll be something that looks more complex, and computationally irreducible."
and a notebook that actually does something both computationally irreducible yet useful.
(as far as I'm concerned, two naturals suffice for a turing tape — and the second is probably sugar)