News for hackers. Stuff that matters.
Re:I decided not to commercialize nbdev by hoosieree on Wednesday May 31, 2023 @10:00PM (#36146790)
Cool, I also wanted to say that I think nbdev looks great, and while I think it and org-mode get similar results, the user experience is surely quite different compared to emacs.

My org-mode workflows start with doom-emacs[1] because otherwise Emacs customization is too much of a time sink. I've written a couple peer-reviewed papers in org-mode (exporting to pdf), my blog is written org-mode (exported to html), and I've done the "literate" thing witih code+docs+tests in one file.

For me, org-mode is better as a file format because it's plain text. I don't mind making quick edits in GitHub or vim if I'm away from Emacs for some reason. But it's definitely best to work with org-mode from within Emacs.

Notebooks are more enjoyable to look at while you're editing them, whereas org-mode generally needs a separate "export" step to be pretty.

Here's a representative example from a blog post: https://gitlab.com/hoosieree/hoosieree.gitlab.io/-/blob/mast... (result is here: https://alexshroyer.com/posts/2023-05-21-Stack-VM-Language.h...)

The svg images (which gitlab renders) are actually generated by a code block in the org-mode file:

    #+CAPTION: N times M compilers
    #+headers: :file ../images/n_times_m.svg :cmdline -Tsvg
    #+begin_src dot :exports results
    digraph {
     node [fontname="Comic Sans MS" shape=record];
     L1[label="Language1"];
     L2[label="Language2"];
     node [shape=oval];
     A1[label="Arch1"];
     A2[label="Arch2"];
     A3[label="Arch3"];
     L1->A1;
     L1->A2;
     L1->A3;
     L2->A1;
     L2->A2;
     L2->A3;
    }
    #+end_src

I put my cursor in there and hit Enter, and it generates the svg.
Re:I decided not to commercialize nbdev by mloncode on Wednesday May 31, 2023 @10:14PM (#36146875)
This is cool, thanks for sharing. I’ll definitely check this out