reveal

chromalchemy 2021-10-28T15:00:49.033300Z

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?

chromalchemy 2021-10-28T15:03:20.033700Z

chromalchemy 2021-11-10T05:11:38.046700Z

Yes, it did have many keys. Thanks, makes sense

chromalchemy 2021-11-10T05:13:40.046900Z

Might be ok to scroll /zoom around, left/right, in/out, to get a sense of a larger table?

vlaaad 2021-10-28T15:57:30.039100Z

There is a cap on 16 unique keys for colls of maps, do you have more?

vlaaad 2021-10-28T16:12:05.039500Z

The intention behind cap was that is you have too many columns, it's hard to get a grasp of data as a table

vlaaad 2021-10-28T16:12:27.039700Z

How many keys does your data have?

chromalchemy 2021-10-28T15:37:38.036200Z

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..)?

vlaaad 2021-10-28T16:14:05.039900Z

Ah, that’s embarassing. You can’t use fonts with spaces in them 😞

vlaaad 2021-10-28T16:14:36.040100Z

I plan to add support for specifying an edn file with prefs to workaround this limitation

vlaaad 2021-10-28T16:17:45.040300Z

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

vlaaad 2021-10-28T16:18:16.040500Z

I think lein uses the exact same syntax for specifying extra jvm opts in profiles

imre 2021-10-28T16:33:31.041300Z

: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)

chromalchemy 2021-10-28T15:42:17.038900Z

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...

chromalchemy 2021-11-10T05:23:13.047200Z

vlaaad 2021-10-28T16:19:18.040700Z

reveal does not use complete library

vlaaad 2021-10-28T16:19:50.040900Z

this looks like something from nrepl

vlaaad 2021-10-28T16:20:00.041100Z

can you share your run configuration for reveal repl?