News for hackers. Stuff that matters.
Re:Lab Notebooks (2020) by j0k3r_85 on Tuesday December 26, 2023 @12:03PM (#38773510)
Have you tried quarto markdown? It’s similar to rmarkdown but language agnostic and allows me to think in code in a way that can easily be added to notebooks. To work with them in notebook fashion I can work through one file a day and save the rendered pages in a folder.
Re:Lab Notebooks (2020) by crispyambulance on Tuesday December 26, 2023 @01:34PM (#38774498)
Quarto, I think, is definitely a step in the right direction. It allows for publication quality rendering into pdf, and various html flavors including Confluence. You can write fluently in it, mix-in actual running code, and you've got options for sophisticated graphics, tables and mathematics.

I do hope the Quarto project makes it and survives. It's a cut above the other notebook solutions like jupyter.

Re:Lab Notebooks (2020) by ac50hz on Tuesday December 26, 2023 @05:53PM (#38776974)
I’ve been heading in this direction, and Quarto continues to be the end point, on the road from pandoc.
Re:Lab Notebooks (2020) by eternauta3k on Wednesday December 27, 2023 @01:43PM (#38785063)
What's the advantage of Quarto over Jupyter? I looked at Quarto and rejected it because I couldn't find a way for a single cell to programatically generate interleaved markdown and plots (I can do this with Jupyter).
Re:Lab Notebooks (2020) by crispyambulance on Wednesday December 27, 2023 @03:04PM (#38785999)
Not sure what you mean as there is no notion of "cell" in Quarto.

Instead, everything is markdown and you can interleave codeblocks (or inline code statements) anywhere you like to generate plots/tables, etc.

I haven't had a need to generate markdown programmatically, though I imagine there's probably at least a "hard way" to do that. FWIW, quarto is still in its early stages. The quarto devs on github are very nice and responsive to questions if you ever look into again.

Re:Lab Notebooks (2020) by chaxor on Tuesday December 26, 2023 @02:46PM (#38775324)
Quarto is fantastic for making presentations as well!

If you're a developer and want to have your presentations amenable to being tracked in git, with all of the figures made from code and so on, Quarto is the absolute best you can do.

It's phenomenal and every developer should be using it.

Re:Lab Notebooks (2020) by analog31 on Wednesday December 27, 2023 @04:47PM (#38787172)
I finally gave it a look, and it seems attractive. A feature, in my mind, is that it doesn't replace Jupyter, so I can still use the more basic tool when I'm up to my elbows in lab stuff. I actually use Jupyter to automate experiments, not just theory and data analysis.

But... the first thing I'll do is try quarto for my passive web page, which I presently generate using nbconvert.