This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-08
Channels
- # announcements (20)
- # aws (16)
- # babashka (63)
- # beginners (75)
- # calva (35)
- # cider (2)
- # clj-commons (5)
- # clj-kondo (2)
- # cljs-dev (1)
- # clojure (90)
- # clojure-australia (3)
- # clojure-europe (16)
- # clojure-france (1)
- # clojure-nl (4)
- # clojure-uk (5)
- # clojurescript (7)
- # data-science (2)
- # datahike (1)
- # datomic (39)
- # emacs (31)
- # events (2)
- # figwheel-main (1)
- # fulcro (15)
- # gratitude (8)
- # helix (17)
- # holy-lambda (1)
- # introduce-yourself (1)
- # jobs (3)
- # kaocha (2)
- # liquid (1)
- # malli (1)
- # nrepl (2)
- # other-languages (1)
- # portal (76)
- # react (19)
- # reagent (9)
- # remote-jobs (1)
- # rewrite-clj (9)
- # shadow-cljs (31)
- # tools-deps (5)
- # xtdb (11)
🚀 Just released a very first preview version of Clerk, a local-first notebook built on top of regular Clojure namespaces:
• io.github.nextjournal/clerk {:mvn/version "0.1.164"}
.
• Quickest way to play with it is cloning https://github.com/nextjournal/clerk-demo.
• More info can be found in the https://nextjournal.com/mk/clerk-preview
• My favorite notebook is https://storage.googleapis.com/nextjournal-cas-eu/data/8VwPbq6xWQadigCghK7KH5Q3WhUdCNU1d3LCgBnDNUJPyNH1Qw1JfDGFcBmCodHTY8rQDZDTS6UobY3dTLw4suxpGK#/notebooks%2Frule_30.clj 🕹️
Would really appreciate if folks took it for a spin and give feedback in #nextjournal on what can still needs to be improved before its open source release. 🙏:skin-tone-2:

looks great and I managed to get it working; but the onboarding from the clerk-demo repo could be a little more straightforward.
It could for example include an alias or user.clj that set it up to work.
Also it looks like some of the notebook files don’t work out of the box; e.g. one of the examples includes jdbc, but it’s not in the deps.edn
etc.
Similarly some bits of the getting started snippet aren’t in the demo project; e.g. there’s no src
directory. So you could perhaps integrate the getting started guide into the clerk demo repo??
hey, there’s a user.clj here https://github.com/nextjournal/clerk-demo/tree/main/dev
ah cool — I missed it 🙂
https://github.com/nextjournal/clerk-demo/commit/c5358a6a372df6f9e93f97e7274ce2d06f81b754
Looks great! How does this compare to https://github.com/scicloj/notespace? I haven't used much of either but their goals look very similar.
Yeah, I would like to know that too.
I would appreciate it if https://nextjournal.com/mk/clerk-preview had a short section about the "syntax", i.e. what the comments rendered by Clerk look like, and a link to the API docs (with fns such as show! and the vl
one).
I am very happy to see this, thanks for open-sourcing!
Clerk does static analysis to build a dependency graph for each form and caches results between subsequent evaluations so it only recomputes things that changed. This allows it to eliminate hidden state issues and a fast feedback loop with file save events as the interface. I believe notespace takes a different approach here receiving commands via the repl on what to evaluate but maybe @U066L8B18 can say more?
besides there seems to be some differences regarding the format (markdown line comments in Clerk vs vectors of strings in Notespace) and the viewer api differs, compare https://github.com/scicloj/notespace/blob/master/test/notespace/v3_experiment1_test.clj with https://github.com/nextjournal/clerk-demo/blob/main/notebooks/viewer_api.clj
Thank you!
(there’s currently html
, vl
, plotly
, tex
, table
, md
, code
, with-viewer
and with-viewers
. https://github.com/nextjournal/clerk-demo/blob/main/notebooks/viewer_api.clj is the best reference until then
Just released our new c4k-jira module. A k8s setup for small jira installations on a cheap single app cluster. We use this installation in production. Provider independent backup is included - there is no lock in 🙂 https://gitlab.com/domaindrivenarchitecture/c4k-jira #k8s #devops #jira
babashka 0.6.2
https://github.com/babashka/babashka/blob/master/CHANGELOG.md#062
Various bugfixes and a few new features!

Cool. I have already stumbled upon the cider hanging bug.