This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-05
Channels
- # aleph (4)
- # announcements (2)
- # aws (37)
- # babashka (20)
- # beginners (105)
- # calva (30)
- # cider (6)
- # clerk (8)
- # cljs-dev (2)
- # clojars (8)
- # clojure (18)
- # clojure-brasil (1)
- # clojure-europe (25)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-sweden (7)
- # clojure-uk (5)
- # clr (2)
- # cursive (37)
- # datalevin (2)
- # emacs (6)
- # events (2)
- # graalvm (35)
- # graphql (1)
- # hyperfiddle (3)
- # lsp (4)
- # malli (1)
- # off-topic (7)
- # pedestal (7)
- # practicalli (8)
- # reitit (5)
- # releases (4)
- # remote-jobs (1)
- # shadow-cljs (15)
- # xtdb (19)
@sritchie09 In your work getting cljs working with clerk (thanks for that template link btw), did you ever manage to figure out how to expose a fill to cljs at runtime? I want to load a sprite in my cljs quil sketch that's embedded in a clerk notebook. I can't seem to figure out how to get the file available to cljs without hosting it externally and accessing it as a url.
I think you figured it out… you’ve got to host it or get it into the viewer somehow as a value , which the base64 solution accomplishes
Yea that works for what I need for now.. but I was hoping you had a slick trick to include it in resources/public/
(or somewhere) and have it picked up by whatever does the http serving for clerk
ah! yeah something like that SHOULD work too
@U5H74UNSF not sure if there is a way to add extra static resources for clerk/build to grab?
I managed to workaround that limitation by now by base64 encoding the image and parsing it as a data uri 😕