This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-30
Channels
- # aleph (33)
- # announcements (2)
- # architecture (1)
- # babashka (4)
- # beginners (26)
- # calva (43)
- # cider (2)
- # clerk (24)
- # clj-kondo (10)
- # clojure (75)
- # clojure-austin (1)
- # clojure-dev (4)
- # clojure-europe (31)
- # clojure-hungary (1)
- # clojure-norway (44)
- # clojurescript (4)
- # cursive (192)
- # datomic (23)
- # dev-tooling (4)
- # emacs (2)
- # fulcro (12)
- # hyperfiddle (3)
- # java (18)
- # jobs (1)
- # kaocha (3)
- # lsp (51)
- # malli (10)
- # off-topic (9)
- # pedestal (3)
- # polylith (14)
- # remote-jobs (1)
- # shadow-cljs (63)
- # vim (6)
how does one display code from another namespace ?
you can use the code viewer to show a string or form as code (`nextjournal.clerk/code`). If that code happens to be in another file or namespace, use whatever clojure you want to get it, e.g. slurp
or clojure.repl/source-fn
thank you yes repl/source-fn
is what I ended up using
I am running build!
on a single file and I get this output
; (out) đˇđź Clerk is building 1 notebooksâŚ
; (out) đ§ Parsing⌠Done in 3.602ms. â
; (out) đŹ Analyzing⌠Done in 22.625ms. â
; (out) đ¨ Building "src/notebooks/target_achievement.clj"⌠Done in 13072.962ms. â
; (out) đ¨ Compiling CSSâŚ
; (err) Execution error (IOException) at java.lang.ProcessImpl/forkAndExec (ProcessImpl.java:-2).
; (err) error=2, No such file or directory
not sure how to debug thisyouâre probably running into https://github.com/nextjournal/clerk/issues/507
I get the error message now đ removing css option make the compile work which is good. I tried to install tailwind but for some reason it is not working. I think I need to alias npx tailwindcss to tailwindcss
oh whoops, weâre currently calling the https://tailwindcss.com/blog/standalone-cli
I made a video playing around with Clerkâs live-editing mode and some live-updating physics if anyone wants to check it out: https://www.loom.com/share/a458fac5af034bdeb03e971130f8f2c1 and hereâs the notebook for anyone who wants to try this out themselves: https://emmy-viewers.mentat.org/dev/examples/simulation/ellipsoid/edit
@U5H74UNSF and thatâs after ditching a few performance enhancements I thought I neededâŚ
@U5H74UNSF one blocker I encountered was that I wasnât able to require namespace A from namespace B in the editor if A wasnât already in the SCI context. It would be nice if the SCI loader could attempt to pull in a namespace from github, or from some other way of accessing the source
Iâm going to get this latest batch merged, cut a release and then write up some thoughts on whatâs next
I think loading from GitHub should work using the primitives (js/fetch, read-string, eval &c)?
okay, new physics components are merged, I think I will do a release soon