Fork me on GitHub
#babashka
<
2021-07-16
>
Cora (she/her)06:07:19

is there an executable notebook technology that babashka works with?

borkdude06:07:03

You can use babashka on NextJournal. @mkvlr might be able to tell you more.

borkdude06:07:58

I don’t know if their new local notebook open source lib is bb compatible but I think it should be possible.

Cora (she/her)06:07:28

oh that's it! I couldn't remember the name of that service

borkdude06:07:37

Also you can use bb with org-mode if you’re using emacs. See the show and tell forum.

Cora (she/her)06:07:57

I did see something about literate programming with that

Cora (she/her)06:07:01

I guess my goal is to be able to write executable blog posts, so I can know when they break so I can update them

mkvlr07:07:35

@U04V15CAJ the cm6=1 feature flag is now obsolete btw

borkdude07:07:12

I got this from a link I copy pasted from Google on my phone

borkdude08:07:07

Is it possible to update babashka in the nextjournal notebook yourself?

borkdude08:07:08

or do we need nextjournal to do this from time to time?

mkvlr09:07:12

it’s possible to update it in userland, too

mkvlr09:07:37

guess the best way would be some integration in your release process via an api

borkdude09:07:00

this one isn't really a babashka REPL env right? https://nextjournal.com/nextjournal/babashka-environment

borkdude09:07:10

I mean, this is just a bash env?

mkvlr09:07:37

it is, or what do you mean?

mkvlr09:07:59

I mean, babashka has a REPL env built-in, right?

borkdude10:07:31

the https://nextjournal.com/nextjournal/babashka one depends on babashka-environment?

mkvlr10:07:56

yes, one builds and saves a docker image and the other one uses it

👍 2
Cora (she/her)06:07:06

ooooh very nice

borkdude06:07:10

@adam.james was even working on a babashka + scittle tool: his org mode with bb generated html which then executed the Clojure snippets with scittle. Not sure how far he got with it

adam-james14:07:34

Still in the 'hacking' phase on this one. Life's a tad hectic for me at the moment, so progress is... non-linear haha. I intend to finish this concept up soon and post that on the show and tell as well. @U8QBZBHGD does seem to have a similar use-case to what I'm trying to achieve as well. Progress so far is on this github project: https://github.com/adam-james-v/bb-draw/blob/main/bb-export.org

👍 6
borkdude09:07:18

Anyone using HugSQL? There might be a way to re-use HugSQL sql files from bb. Feel free to add to the discussion here. https://github.com/babashka/babashka/discussions/945

✔️ 2
borkdude10:07:39

Selmer << macro in action at NextJournal: https://nextjournal.com/borkdude/babashka-selmer

🚀 5
3
👍 4
👏 2