This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-24
Channels
- # architecture (4)
- # aws (1)
- # beginners (76)
- # boot (172)
- # cider (17)
- # cljs-dev (10)
- # cljs-experience (24)
- # cljsrn (45)
- # clojure (129)
- # clojure-berlin (1)
- # clojure-finland (1)
- # clojure-italy (8)
- # clojure-seattle-old (1)
- # clojure-sg (1)
- # clojure-spec (31)
- # clojure-uk (28)
- # clojurescript (88)
- # cursive (11)
- # data-science (1)
- # datomic (44)
- # fulcro (48)
- # hoplon (5)
- # jobs (3)
- # jobs-discuss (1)
- # leiningen (6)
- # luminus (42)
- # lumo (17)
- # off-topic (9)
- # om (29)
- # onyx (15)
- # pedestal (7)
- # protorepl (20)
- # re-frame (24)
- # reagent (46)
- # ring-swagger (2)
- # specter (2)
- # sql (3)
- # uncomplicate (58)
- # unrepl (29)
- # yada (5)
connect to a repl server, upgrade to unrepl, copy the form under the :unrepl.jvm/start-side-loader
key to another (plain) repl. Now in the unrepl repl, type foo.bar.Baz
and you’ll see the second conection asking for the class. Type nil
or a Base64 string
Or try to require a ns:
in unrepl I entered (require 'some.new.ns)
and the side-loader transcript:
[:resource “some/new/ns__init.class”]
nil
[:resource “some/new/ns.clj”]
nil
[:resource “some/new/ns.cljc”]
nil
[:class “some.new.ns__init”]
nil
so the client would need to send the implementation of this new class/namespace right?
(instead of typing nil
I mean)
I know it is a silly question, but when I send a clj
file that is requiring something I guess it is evaluated?
and unrepl
sends the other [:resource ...]
requests?
if so, pretty cool 😄
where is the mind-blown emoji
cool stuff, really
ok, now that mux and sideloading are out of the way, I think we were discussing extensions 🙂
I guess now the fun begins
tangential question: assuming that we use zeroconf/bonjour etc. How do you deal with auth?
locally a secret could be written under ~/.unrepl/secret
so that same user processes would connect without explicit auth
I like the .ssh
approach, we should delegate to that and it should not be difficult in java, I can look into that
@cgrand potentially stupid question (I don't know 0conf or bonjour): 1) What can they offer 2) How stable are they?
Wondering if they include feature discovery or anything like that potentially. Or any other additional features beyond repl discovery.
Not panicking. Getting excited, but also have an alarm going off because I think bounjour is infamous.