This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-11
Channels
- # aws (6)
- # beginners (105)
- # boot (6)
- # cider (50)
- # cljsrn (10)
- # clojure (41)
- # clojure-brasil (6)
- # clojure-italy (25)
- # clojure-nl (17)
- # clojure-russia (4)
- # clojure-serbia (1)
- # clojure-spec (8)
- # clojure-uk (242)
- # clojurescript (27)
- # core-async (10)
- # cursive (5)
- # data-science (9)
- # datomic (43)
- # emacs (6)
- # fulcro (6)
- # graphql (1)
- # javascript (3)
- # juxt (4)
- # lein-figwheel (1)
- # mount (1)
- # onyx (19)
- # parinfer (2)
- # portkey (15)
- # protorepl (1)
- # re-frame (30)
- # reagent (3)
- # ring-swagger (1)
- # shadow-cljs (22)
- # sql (6)
- # tools-deps (23)
- # vim (13)
I've been screwing my emacs config all day so I can't tell if it's me or cider, I'm on the most recent melpa unstable 0.18.0-snapshot. And the error stacktrace doesn't have the underline link to the source files in the trace. And when I click on the line I get
Debugger entered--Lisp error: (error "No input at point")
signal(error ("No input at point"))
error("No input at point")
cider-repl--send-input(t)
cider-repl-return(nil)
funcall-interactively(cider-repl-return nil)
call-interactively(cider-repl-return nil nil)
command-execute(cider-repl-return)
maybe a config issue on my side (I have cider-nrepl 0.18.0-snapshot)?I solved that issue, seemed that I can only install Cider from http://stable.melpa.org
@theeternalpulse by installing spinner manually and seeing what the issue is?
yeah, from http://melpa.org I couldn't install spinner manually
> And the error stacktrace doesnāt have the underline link to the source files in the trace. And when I click on the line I get
First practical question about nREPL - how do we name the deployment artefact for version 0.3. It canāt retain its old name. I was thinking of cider/nrepl
for consistency with the other projects, but that would result in namespace conflicts down the road with cider/cider-nrepl
unless we change the name of cider-nrepl
to something like orchard-nrepl
(which Iām perfectly fine with). Iāve been thinking lately that itās probably time to decouple cider-nrepl
from the release cycles of CIDER itself.
I'd like to see cider-nrepl be less coupled to cider anyway, see my recent comments about the pretty print middleware.
For nREPL 0.3 the namespaces will be the same, only the artefact id will be different, to simplify the rollout.
idle thought - it'd be really cool if cider could natively tee execution output and results to a log file.
Iāve always been wondering if we donāt need an execution log on the server side.
I've totally used cider for days-long evaluations and then had to write out a huge repl buffer at the end of it.
Servers could probably persist a log of commands too, I'm interested in more durably capturing out, err and the eval result.
For now it seems that the first step would be replacing maven with lein and cutting 0.3. Havenāt used maven in so many years, and I donāt really want to change this.
Plus I noticed another Java 9 incompatibility:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by clojure.tools.nrepl.middleware.interruptible_eval$set_line_BANG_ to field
WARNING: Please consider reporting this to the maintainers of clojure.tools.nrepl.middleware.interruptible_eval$set_line_BANG_
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
@bozhidar if you don't change the namespaces, it's not going to work for most, due to class path collisions. I would strongly recommend against doing that.
But this was Chasās original plan - to keep the namespace the same for the first version.
I fear that adding [cider/nrepl "0.3.0"]
to a project wouldn't do anything, due to the already-present copy of the same files from leiningen.
This is really the maven relocation problem, and I don't think it can be solved without org.clojure/tools.nrepl "delegating" to us.
Shouldn't orchard be completely nRepl agnostic so that it can run on socket as well? Maybe I misunderstood the plan š
Or are there gonna be two: orchard
and orchard-nrepl
?
The only tricky thing right now is how to make something like orchard work with the old and the new nrepl namespace. I really donāt want to have conditional checks for everything.
Likely Iāll cut a small CIDER release that just has the orchard-nrepl change, and the next CIDER release is likely going to stop using lein repl
and boot repl
and will instead have a couple of basic tasks that spin an nREPL server using the new nREPL.
That won't work for boot users, as there's a special repl task for starting with clojurescript loaded
Fun times ahead! If someone wants to help out with these transformations - thereās plenty of work to go around. š
@bozhidar as you know my goal is to port stuff to cljs and self-host, the cljs-tooling
PR is WIP but almost there, then will try to see if I can integrate (and how) into lumo, then socket cider/`orchard` porting, dunno...I guess I will test the waters when I get there
also don't want to commit to much because I am becoming busy again at work and summer is coming š
I guess this applies to all of us, but itās important weāre all trying to make things better.
OK, Iām wrapping the work on Clojure tooling for now. If someone wants to help out with some easy tasks Iād appreciate this:
* tackle the eastwood warnings
* add some āmodernā main to nREPL so we can start it and pass it middleware (as opposed to doing this from cider-nrepl
as we currently do)
* create a lein and boot tasks that start the new nREPL and can be passed a list of extra middleware