This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-17
Channels
- # adventofcode (56)
- # announcements (1)
- # aws (6)
- # beginners (127)
- # bristol-clojurians (1)
- # calva (29)
- # cider (7)
- # clj-kondo (37)
- # cljdoc (20)
- # cljsrn (7)
- # clojure (159)
- # clojure-europe (67)
- # clojure-italy (23)
- # clojure-nl (4)
- # clojure-provo (3)
- # clojure-uk (18)
- # clojurescript (19)
- # code-reviews (59)
- # community-development (105)
- # conjure (6)
- # core-async (16)
- # core-logic (1)
- # cursive (21)
- # datomic (19)
- # defnpodcast (1)
- # emacs (8)
- # events (2)
- # fulcro (71)
- # graalvm (23)
- # jobs-discuss (1)
- # kaocha (5)
- # luminus (5)
- # meander (16)
- # nrepl (32)
- # off-topic (6)
- # pathom (159)
- # pedestal (3)
- # reagent (14)
- # reitit (8)
- # reveal (12)
- # rewrite-clj (9)
- # shadow-cljs (169)
- # spacemacs (16)
- # specter (2)
- # sql (19)
- # tools-deps (36)
- # vim (6)
$ ./reply --attach localhost:63307 <<< '(+ 1 2 3)'
REPL-y 0.4.4, nREPL 0.6.0
Clojure 1.10.0
OpenJDK 64-Bit Server VM 11.0.8+10
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (+ 1 2 3)
6
user=> Bye for now!
@borkdude what is that? where can I get this? it solves like 3 problems for me right now :-)
that is the reply nREPL client compiled to native-image. it's not open source, just something I fiddled with, see #nrepl
1. ad-hoc debugging of a live system, atm we have to pull in a container with lein inside and run it from a box 2. running db migrations - similar case, it requires a bit of a build process on our side, with a light-weight one-off nrepl trigger we could just ship the code and trigger the migrations when ready 3. can't think of it - but I remember that our internal docs have some several processes listed depending on a nrepl connection
@lukaszkorecki for ad-hoc one-shot invocations you can already use bb for this: https://book.babashka.org/#_interacting_with_an_nrepl_server
this example was in the README of bb before. the nREPL integration is done using bencode, so it's more or less "implement your own nREPL client" but the example is showing that it's not hard.
I mean, chicken is cool, but productivity boost stemming from the same language (ish) cannot be dismissed
btw, have you seen this branch of cognited-labs/aws-api? https://github.com/cognitect-labs/aws-api/pull/121 - the title is a bit misleading as it also includes Graal support apparently
I've heard Jeroen mention it. I'm not using AWS myself a lot (yet) so I haven't been actively looking at this
I would experiment with AWS maybe more if I wasn't afraid of blowing my credit card accidentally