This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-07
Channels
- # announcements (4)
- # babashka (59)
- # beginners (26)
- # calva (34)
- # clj-kondo (3)
- # cljs-dev (1)
- # clojure (77)
- # clojure-austin (4)
- # clojure-europe (20)
- # clojure-nl (2)
- # clojure-norway (11)
- # clojure-spec (3)
- # clojure-uk (4)
- # clojurescript (103)
- # community-development (2)
- # cursive (15)
- # datalevin (12)
- # datascript (38)
- # datomic (1)
- # deps-new (2)
- # events (3)
- # figwheel-main (6)
- # fulcro (9)
- # honeysql (12)
- # jobs (4)
- # juxt (18)
- # kaocha (19)
- # lsp (42)
- # missionary (2)
- # pathom (14)
- # polylith (6)
- # portal (6)
- # reagent (8)
- # reitit (4)
- # releases (2)
- # shadow-cljs (17)
- # testing (1)
- # tools-deps (50)
- # vim (46)
- # xtdb (12)
Recently released version https://github.com/djblue/portal/releases/tag/0.30.0. It has the new notebook renderer for vscode and support for {:launcher <editor>}
in node 💯
Will updating to that automatically enable new functionality in the Calva notebook stuff or does that extension also need updating?
Uh didn’t even notice the update since I had the beta running. Looks great!
This is brilliant, @U1G869VNV @U02EMBDU2JU. As discussed with Lukas, I hope to use it in the coming https://clojureverse.org/t/nlp-study-session-1/ tomorrow.
Played with it a bit.
I use Emacs+Portal most of the time, with some Emacs functions to hide the need for calling submit
or tap>
:
(defun send-to-portal (code)
(cider-interactive-notify-and-eval
(concat "(do (portal.api/clear) (portal.api/submit " code "))")))
(defun send-defun-at-point-to-portal ()
(interactive)
(send-to-portal (thing-at-point 'defun)))
Then, I can just switch to Calva Notebooks and see it working (without any code change, since we didn't write submit
or tap>
).
Of course, the same could be done with Calva instead of Emacs.
Also played with writing some adapters for tech.ml.dataset, etc. (which are called in the JVM side before passing to the Notebook tool).
Looks very promising (though Lukas explains to me we still have the problem of how to cause that JVM transformation seamlessly from the Notebook tool itself).
In that study session today, I will probably use Clay eventually, just because the it will satisfy the current needs more fully and seamlessly.
But it looks like eventually we can have that desired copy-paste-friendliness across tools. Looking forward to play more. 🙏