Remote Control?
@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 π
So you don't have to leave your emacs to navigate around Reveal :)
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
Hi! Good idea, Iβll add it to a todo list
that's great - could be middle/right mouse, or left mouse with space-bar held down, whatever π User configurable would be neat π
Is this a good place for suggestions, or do you prefer github?
either is fine, I keep everything in a local md file in the end π
cool, well just playing around, I noticed that...
are actually tabs! It took me a while to discover that
I thought it was a highlighed line
as the light grey stretched all across the window
Perhaps a light 1px border around the tab bar?
A bit like this (excuse the horrendous colours...)
<shrug>
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.
or perhaps make the 1px black separator a bit bigger, with white as the colour?
π
This is already reworked, just isnβt released since there are more UI improvements I want to do
fantastic! π
π
you can try with git coords to see how it looks today:
clj \
-Sdeps '{:deps {vlaaad/reveal {:git/url "<https://github.com/vlaaad/reveal>" :sha "847d60776dab781f4f66e0161e7b2c1dce2ff37e"}}}' \
-m vlaaad.reveal repl
will try! thank you.
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)}}
it gets slow though, because JavaFX creates a new display node for every data point..
how do I use this?
I tried
(tap> {:fx/type rx/line-chart-view
:data {:xs (range 14000)}})
but just got the data structureEval the code above and select "view" action on a map