clerk

2024-02-06T09:17:43.280429Z

Is there a way to use a more up to date version of vega-lite than currently in clerk? I've got some issues with a chart that works fine when I load it into the vega editor, but doesn't have all the bells and whistles when running inside the clerk notebook.

2024-02-07T08:51:53.599339Z

updated chrome and still broken for me (on nix). It works fine on Firefox tho. so 🀷

2024-02-07T08:52:52.034669Z

@andrea712 thx for having a look. I'll figure out what is broken on my side

πŸ‘ 1
Andrea 2024-02-06T09:49:55.970929Z

hi @otfrom, could you paste the spec you’re trying to render? Clerk is currently using vega-embed v6.11.1, while the latest is v6.24.0 and we can bump that I guess https://github.com/nextjournal/clerk/blob/c741fcd021c333d6d3fb2ba000cc04bb5d3e8251/src/nextjournal/clerk/render.cljs#L895-L913

2024-02-06T10:02:06.103879Z

here is the clj and the json https://gist.github.com/otfrom/6543853674a52cbf41e7dc13c4804af8

πŸ™ 1
2024-02-06T10:02:56.006989Z

I don't get the rule or the circles on mouseover in the clerk notebook but they turn up fine in the vega editor

Andrea 2024-02-06T10:11:37.241849Z

hmm, it must be something else than the version, I see the ruler and the circles (with version 6.11.1 of vega embed)

2024-02-06T10:11:42.185199Z

there is a bug in that w/the number being shown in the tooltip, but I can wrestle that one down

2024-02-06T10:12:03.323059Z

which browser?

Andrea 2024-02-06T10:12:09.256599Z

Chrome

2024-02-06T10:12:24.547329Z

bbiab

2024-02-06T10:12:26.363519Z

thx!

2024-02-06T17:02:31.351559Z

Some nice recent Clerk projects spotted in the wild! A Clojure introduction by @anthony-galea: https://github.clerk.garden/anthonygalea/notes-on-clojure/commit/1f7a15e4de6b61c363185691b340c74c95412f04/ An exploration of image embeddings by @smith.adriane: https://phronmophobic.github.io/clip.clj/semantic-image-search-with-clojure/

πŸ‘ 2
❀️ 4
phronmophobic 2024-02-06T18:46:48.055799Z

I work on a lot of graphical libraries, so clerk is a great fit for documentation πŸ™ gratitude β€’ https://phronmophobic.github.io/clj-graphviz/ β€’ https://phronmophobic.github.io/membrane/styled-text/index.html β€’ https://phronmophobic.github.io/llama.clj/notebooks/intro.html β€’ https://phronmophobic.github.io/clj-media/

πŸ–€ 2
❀️ 2
anthony-galea 2024-02-07T06:46:18.531149Z

it was a pleasure to write using clerk πŸ™

πŸ–€ 1
❀️ 1