This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-28
Channels
- # aleph (4)
- # announcements (5)
- # babashka (28)
- # babashka-sci-dev (13)
- # beginners (63)
- # calva (76)
- # cider (113)
- # clara (7)
- # clj-kondo (42)
- # cljdoc (1)
- # clojure (170)
- # clojure-europe (20)
- # clojure-nl (17)
- # clojure-norway (3)
- # clojure-spec (12)
- # clojure-sweden (1)
- # clojure-uk (6)
- # clojurescript (55)
- # clojureverse-ops (1)
- # consulting (1)
- # core-async (9)
- # cursive (16)
- # data-science (1)
- # datascript (8)
- # datomic (27)
- # emacs (14)
- # events (1)
- # fulcro (10)
- # graphql (9)
- # gratitude (1)
- # jobs (6)
- # jobs-discuss (5)
- # leiningen (10)
- # lsp (35)
- # missionary (4)
- # nextjournal (9)
- # off-topic (46)
- # pathom (15)
- # pedestal (5)
- # polylith (37)
- # portal (15)
- # re-frame (22)
- # reagent (4)
- # reitit (5)
- # reveal (18)
- # shadow-cljs (20)
- # tools-deps (7)
- # xtdb (10)
If I evaluate a small vector of maps
[{:a 1 :b 2}
{:a 3 :b 4}]
and view as a table, I see rows and colums as expected.
But when I evaluate a larger vector of larger maps, I get all the maps in 1 column, like pictured below.
Any idea how I can the rows in this second data set?The intention behind cap was that is you have too many columns, it's hard to get a grasp of data as a table
Yes, it did have many keys. Thanks, makes sense
Might be ok to scroll /zoom around, left/right, in/out, to get a sense of a larger table?
I am trying to change the font in the JVM prefs. I must use commas instead of spaces, or the argument will break.
-Dfile.encoding=UTF-8 -Dvlaaad.reveal.prefs={:theme,:light,:font-family,"JetBrains,Mono"}
But this gives me an error,
Failed to read reveal prefs
Execution error - invalid arguments to vlaaad.reveal.prefs/fn at (prefs.clj:38).
"JetBrains,Mono" - failed: valid-url? at: [:font-family :url-string] spec: :vlaaad.reveal.prefs/font-family
"JetBrains,Mono" - failed: system-font? at: [:font-family :system-font] spec: :vlaaad.reveal.prefs/font-family
How can I specify a font family string with spaces in it (in cursive repl options jmv args reveal prefs..)?I plan to add support for specifying an edn file with prefs to workaround this limitation
I use deps.edn instead of lein, but lein setup in this regard should be similar… What I do is add :jvm-opts ["-Dvlaaad.reveal.prefs={:font-family,\"Comic Code Ligatures\",:theme,:light :font-size 12}"]
to reveal alias
:jvm-opts ["-Dvlaaad.reveal.prefs={:theme,:light,:font-family,\"JetBrains Mono\",:font-size,14}"]
works for me as well (also using clojure cli as opposed to lein)
Once I added nrepl to project.clj Reveal profile deps, Reveal started working.
But I am still getting this error.
Error loading complete.core: Could not locate complete/core__init.class, complete/core.clj or complete/core.cljc on classpath.
I am not sure I have config right.
I am still not sure where to put these commands...
https://github.com/vlaaad/reveal/issues/20#issuecomment-760208637
Does my config look ok?
:profiles
{:reveal
{:dependencies [[dev.vlaaad/reveal-pro "1.3.265"]
[nrepl "0.9.0-beta3"]]
;[clj-kondo "2021.10.19"]]
:repl-options {:nrepl-middleware [vlaaad.reveal.nrepl/middleware]}}}
;["cider.nrepl/cider-middleware"]]}
;:plugins [[cider/cider-nrepl,"0.27.2"]]}}
The commented out stuff was trying to match the linked issue, but then it started not working...