This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-03
Channels
- # aleph (7)
- # announcements (6)
- # babashka (34)
- # beginners (5)
- # calva (1)
- # cider (3)
- # clerk (11)
- # clj-http (1)
- # clj-kondo (35)
- # clojars (6)
- # clojure (114)
- # clojure-australia (1)
- # clojure-brasil (2)
- # clojure-europe (73)
- # clojure-hamburg (3)
- # clojure-nl (1)
- # clojure-norway (27)
- # clojure-uk (4)
- # events (3)
- # graalvm (13)
- # gratitude (4)
- # helix (17)
- # hoplon (1)
- # hyperfiddle (65)
- # instaparse (4)
- # jobs-discuss (6)
- # lsp (2)
- # meander (2)
- # rdf (4)
- # re-frame (51)
- # reitit (28)
- # releases (1)
- # sci (20)
- # shadow-cljs (9)
- # tools-deps (4)
- # xtdb (44)
is there any way to just disable all caching? i find that i end up fighting the cache a lot for some reason (it doesn't always refresh has made debugging a huge pain a couple times). A common pattern for me is loading in a bunch of stuff from disk/network/elsewhere that i do want to cache (which i could use a defonce
for) and then a ton of processing/rendering code that is ~fast enough to rerun on every save
(i would report the specific cases of not refreshing if i could repro with a smaller example than my whole app)
yep, you can disable caching globally by setting the clerk.disable_cache
system prop https://github.com/nextjournal/clerk/blob/096befc116483250a45c3604d083d5a9d6a3b4b4/src/nextjournal/clerk/config.clj#LL11C40-L11C59
Had to repost this here as it’s the most advanced Clerk usage yet: “Emmy: Moldable Physics and Lispy Microworlds” by Sam Ritchie from Clojure/conj 2023 https://www.youtube.com/watch?v=MNiqDZz-lp4
Here are I think all of the demos from the talk… they are VERY LIGHT on exposition, but they’re fun to play with 🙂 I’m still working through how to write viewers like this composably. - particle in a quartic potential well, with live energy monitors: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/quartic_well.html - Phase Portrait of the Pendulum: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/phase_portrait.html - Colin’s page on the geodesics of the torus: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/toroid.html - My fork with an animating bead: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/toroid_sim.html - Taylor Series visualizations https://sritchie.github.io/clojure-conj-2023/notebooks/conj/taylor_series.html - (p, q) torus knot: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/pq_knot.html - Dual Number Visualization: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/talk.html
there was some Clerk + MathBox in Thomas Clark’s “real atoms” physics talk!
Emmy too for LaTeX
Cool! It’s on my watchlist. I should really get to bed now. 1 AM local time. But I can’t decide between 🛏️ , or emmy (:emmy:?). Tough problem!
Here are I think all of the demos from the talk… they are VERY LIGHT on exposition, but they’re fun to play with 🙂 I’m still working through how to write viewers like this composably. - particle in a quartic potential well, with live energy monitors: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/quartic_well.html - Phase Portrait of the Pendulum: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/phase_portrait.html - Colin’s page on the geodesics of the torus: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/toroid.html - My fork with an animating bead: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/toroid_sim.html - Taylor Series visualizations https://sritchie.github.io/clojure-conj-2023/notebooks/conj/taylor_series.html - (p, q) torus knot: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/pq_knot.html - Dual Number Visualization: https://sritchie.github.io/clojure-conj-2023/notebooks/conj/talk.html