This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-03
Channels
- # adventofcode (151)
- # asami (34)
- # babashka (43)
- # beginners (111)
- # cider (2)
- # clj-kondo (6)
- # cljdoc (12)
- # clojure (140)
- # clojure-australia (10)
- # clojure-europe (14)
- # clojure-france (5)
- # clojure-gamedev (5)
- # clojure-nl (4)
- # clojure-uk (10)
- # clojurescript (20)
- # community-development (9)
- # conjure (1)
- # core-async (4)
- # cryogen (3)
- # cursive (2)
- # datomic (17)
- # emacs (9)
- # events (1)
- # fulcro (27)
- # juxt (8)
- # kaocha (2)
- # lambdaisland (14)
- # off-topic (23)
- # pathom (37)
- # pedestal (2)
- # re-frame (8)
- # reagent (8)
- # reclojure (9)
- # reitit (5)
- # reveal (34)
- # shadow-cljs (27)
- # spacemacs (10)
- # tools-deps (123)
- # vim (28)
- # xtdb (17)
@didibus I'm having a hard time making your code work via my dev.clj
script. If I run it manually in a REPL, it works. If I try to run it via code that uses requiring-resolve
on the Rebel Readline symbols, it throws:
Execution error (AssertionError) at rebel-readline.clojure.line-reader/create* (line_reader.clj:1039).
Assert failed: (instance? org.jline.terminal.Terminal terminal)
Pushing through the debugging a bit further, it's because you can't use requiring-resolve
with macros because they need to expand at read time not runtime π doh!
OK, figured it all out. @didibus I've integrated your combined Rebel + Reveal into my dot-clojure stuff now π
Can reveal detect middle mouse button clicks? It would be nice if I could click the middle mouse (or hold down a key) that would enable me to "pan" the window about, especially if the output is huuuuuge
that's great - could be middle/right mouse, or left mouse with space-bar held down, whatever π User configurable would be neat π
I think what I wanted to convey that the light grey (to me) looked like when a line is highlighted, not that each part of the line is clickable.
This is already reworked, just isnβt released since there are more UI improvements I want to do
you can try with git coords to see how it looks today:
clj \
-Sdeps '{:deps {vlaaad/reveal {:git/url "" :sha "847d60776dab781f4f66e0161e7b2c1dce2ff37e"}}}' \
-m vlaaad.reveal repl
hello everyone, I have a question on environment setup, I use IntelliJ, and by reveal docs I have to use the clojure.main
process to enable it. is there a way to enable reveal using nrepl?
another question, is there a way to increase the size of the list to plot the charts? I have a sequence with 14k+ data points, but I see that over 1024 items reveal stops giving the option to plot
Oh, I made a requirement for data points to be at most 1024 so we don't spend too much time checking very long sequences for validity. I probably should just check the first 1024 items and assume the rest are valid too for this action to be available.
You can use line chart views explicitly:
(require '[vlaaad.reveal.ext :as rx])
{:fx/type rx/line-chart-view
:data {:xs (range 14000)}}
how do I use this?
I tried
(tap> {:fx/type rx/line-chart-view
:data {:xs (range 14000)}})
but just got the data structure