This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (40)
- # aws (15)
- # babashka (76)
- # beginners (39)
- # calva (6)
- # cider (3)
- # clj-kondo (3)
- # clojure (89)
- # clojure-austin (1)
- # clojure-australia (4)
- # clojure-europe (42)
- # clojure-italy (9)
- # clojure-nl (27)
- # clojure-spec (8)
- # clojure-uk (17)
- # clojurescript (9)
- # conjure (1)
- # data-science (1)
- # datomic (19)
- # deps-new (4)
- # docker (9)
- # emacs (5)
- # events (1)
- # fulcro (36)
- # kaocha (31)
- # lambdaisland (5)
- # leiningen (3)
- # membrane (3)
- # nrepl (10)
- # off-topic (31)
- # pedestal (7)
- # reveal (47)
- # shadow-cljs (35)
- # sql (9)
- # test-check (1)
- # tools-deps (24)
- # uncomplicate (12)
- # xtdb (5)
From this day on, Reveal is part of my standard development flow. AWESOME!!!! 🎉 Thanks so much @vlaaad!
I’m glad you like it! Very curious to know how you use Reveal — do you use it mostly as a repl output with tap> and occasional eval-on-selection? Or maybe you also use built-in visualisations and tools to build ad-hoc UI? Or what?
It’s too early to tell at this point, but I very much like the ease of exploring my data. Just see what’s there. Since a few months, I’m working on a large years-old codebase, so the exploration is great. And definitely also
tap> support. I’m not sure yet if I will be using the eval capabilities a lot.
Having multiple ways of visualizing data is definitely very cool; I don’t have an active need as such, but I suspect I have a passive need if you know what I mean 😉
how do I actually run reveal from cider?
I mean if I use the alias with
main-opts and jack-in it just runs the reveal UI but I don't get a repl
maybe I need to avoid the
main-opts and then fire up reveal manually when I get the repl?
but I thoguht so but I tried to connect and it didn't manage
ah ok got it
you should have reveal on the classpath, add middleware and launch cider/nrepl as usual
one thing I noticed is that the reveal interface relies a lot on the mouse to move around and scroll
I guess there isn't a way to make it more keyboard based?
@andrea.crotti Everything you can do in Reveal you can do with keyboard
Hmm, I guess navigating charts does require mouse after all... Where do you reach for mouse?
ah right I just didn't know how to use it then 😄
yeah I guess the annoying is that when I don't have a proper tiling window manager available I have to keep the reveal window handy somwhere
but well not much can do about that unless it runs inside Emacs 😄
which I guess it's not possible sadly
There is a readme section about navigation: https://vlaaad.github.io/reveal/#ui-concepts-and-navigation
Re emacs, I'm planning to add a remote control capabilities to Reveal so you'll be able to use it without leaving emacs. Design is TBD, but it's an agenda item for me
What os do you use @andrea.crotti?
arch on my personal
another Linux for work
the problem is the work box where it's more complicated
and I can't really use a nice tiling WM
and yeah remote control would be awesome I guess
not having to switch windows
Anyone using Shadow CLJS + Reveal + Cursive successfully? I've tried to set it up a few times, but the integration ends up being terrible. It could be issues with the other projects, but I figured I'd see if anyone has a working setup before I go bug them 🙂
Haven’t tried myself, but it seems you need to have
:prepl specified in your shadow cljs config (see https://github.com/thheller/shadow-cljs/issues/508#issuecomment-535866881)
Then you’ll need to use remote-prepl (described here: https://vlaaad.github.io/reveal/#remote-prepl) to connect reveal to shadow-cljs project
Cursive setup is a local repl as described in https://vlaaad.github.io/reveal/#cursive
But in Parameters, instead of
-m vlaaad.reveal repl you’ll need something like
-m vlaaad.reveal remote-prepl :port your-prepl-port-number
Yup. I have it working (mostly), but the integration seems off. Particularly cursive prepl seems really weird. Not a reveal issue, but this is where I expected to see the most people who may have had similar issues.
Cursive won’t do any of the REPL tooling, e.g. when sending a form to the REPL the statement should be evaluated in the context of the namespace of the file.
It’s more likely than not Cursive’s issue. I just figured I’d find more people who have tried this setup in here than in the cursive channel.
> Cursive won’t do any of the REPL tooling, e.g. when sending a form to the REPL the statement should be evaluated in the context of the namespace of the file. There is “Switch REPL NS to Current File” command