This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-02
Channels
- # aleph (6)
- # beginners (37)
- # boot (415)
- # cider (17)
- # cljs-dev (79)
- # cljsjs (3)
- # cljsrn (18)
- # clojars (3)
- # clojure (34)
- # clojure-france (6)
- # clojure-italy (1)
- # clojure-korea (1)
- # clojure-russia (22)
- # clojure-spec (64)
- # clojure-uk (47)
- # clojurebridge (6)
- # clojurescript (61)
- # clojurex (1)
- # cloverage (11)
- # component (6)
- # cursive (73)
- # data-science (6)
- # datascript (4)
- # datomic (38)
- # editors (1)
- # emacs (4)
- # events (16)
- # funcool (5)
- # garden (3)
- # hoplon (17)
- # jobs (2)
- # klipse (74)
- # off-topic (3)
- # om (81)
- # onyx (35)
- # parinfer (4)
- # pedestal (1)
- # perun (20)
- # planck (9)
- # proton (1)
- # re-frame (17)
- # reagent (3)
- # ring-swagger (1)
- # rum (7)
- # untangled (63)
- # vim (8)
Hi, #clojure! came to ask: what's the difference between clojure.spec/map-of and clojure.spec/every-kv?
if I’m starting an uberjar with the clojure repl from the command line, how do I specify the :host options to allow connections on a foreign hostname/address? trying something like this, but it doesn’t seem to allow foreign connections.
java -Dconfig=config.edn -Dclojure.server.repl="{:port 7888 :accept clojure.core.server/repl :host \"0.0.0.0\"}" -jar testproj-0.1.0-SNAPSHOT-standalone.jar
if I’m starting a repl with leiningen, this works:
lein repl :headless :host 0.0.0.0 :port 7888
@vandr0iy #clojure-spec is a place 🙂
Is there a way to execute lein clean
within clojure or any way such that lein test
always starts by cleaning before continueing?
that's a solution, now getting Wrong number of arguments to clean task.
but there's something minor missing here.
@hlolli woops, nice catch. Maybe hooks can help if you really want to force this behavior.
yes, would like more info about hooks, find the hooks always doing more than I ask them for. So I never use them, but boot solves these kind of stuff beautifully.
I’m having trouble finding where in the Clojure source code the user.clj file is loaded if present in the root of the classpath.
@wei It doesn’t look like anyone answered your REPL question? The clojure.server.repl
is a Socket REPL server so you can connect to it via telnet
but you can’t connect to it via nREPL clients (i.e., CIDER / Leiningen / Boot). I suspect you were trying one of those as your “foreign connection”?
(although you could start an nrepl server via the clojure socket server support if you liked)
@seancorfield the problem is I’m trying to connect to it through a docker container, and the IP is different
basically running into this problem http://stackoverflow.com/questions/22422820/connecting-to-a-headless-nrepl-running-in-a-docker-container-from-another-contai except I’m running the app from uberjar instead of with leiningen
and no, I’m not using an nREPL client, just telnet for testing the connection. I’ve been using inf-clojure, a nice lightweight emacs repl which supports this type of connection
can you use docker exec [OPTIONS] CONTAINER COMMAND [ARG...] to connect to your docker container to run nrepl
Anybody got a good guide or trusted solution for using protocol buffers?
flatland/clojure-protobuf is giving null pointer exceptions
there's also some tools to convert html to hiccup https://github.com/weavejester/hiccup/wiki/Converting-html-to-hiccup