This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-03
Channels
- # bangalore-clj (2)
- # beginners (29)
- # boot (52)
- # cider (4)
- # clara (3)
- # cljs-dev (34)
- # cljsjs (7)
- # cljsrn (3)
- # clojure (71)
- # clojure-austin (1)
- # clojure-dev (5)
- # clojure-france (20)
- # clojure-russia (51)
- # clojure-spec (9)
- # clojure-uk (20)
- # clojurescript (131)
- # core-async (56)
- # core-logic (6)
- # cursive (50)
- # datascript (19)
- # datomic (16)
- # dirac (118)
- # emacs (100)
- # events (4)
- # hoplon (14)
- # incanter (1)
- # jobs (7)
- # jobs-discuss (96)
- # jobs-rus (21)
- # lein-figwheel (5)
- # leiningen (21)
- # off-topic (11)
- # om (45)
- # onyx (42)
- # pamela (1)
- # pedestal (22)
- # portland-or (3)
- # re-frame (8)
- # reagent (5)
- # ring (9)
- # robots (1)
- # spacemacs (14)
- # specter (28)
- # sql (2)
- # untangled (165)
What’s the status of that slow SSL artifact downloading issue? I seem to recall it was “fixed” a while back but I don’t recall whether a new release appeared or is imminent to address it?
How can I require a namespace from within a task so that I can comp other tasks?
@flyboarder doesn't (require ....)
work? Maybe I don't understand the issue very well
@richiardiandrea I found the issue, thanks for the response tho!
Huh, finally found the problem I've been having with Boot-cljs 2.0.0-SNAPSHOT: https://github.com/boot-clj/boot-cljs/commit/a37a38fa54efad02805f82d4cd8b080ff3c1f7e4 warning extra data might contain unprintable data
Just trying to pr-str
or str
the extra
will hang
and eventually java will run out of memory
:fn-deprecated
warning contains the analyze result of the function: https://github.com/clojure/clojurescript/blob/a3a242236e7757a179fd16dd9b86767a73a8cb5d/src/main/clojure/cljs/analyzer.cljc#L2823
Running this on a new computer, I didn't get the output I expected:
$ BOOT_CLOJURE_VERSION=1.9.0-alpha14 boot repl
Downloading ...
Running for the first time, BOOT_VERSION not set: updating to latest.
Retrieving boot-2.7.1.jar from
Retrieving clojure-1.9.0-alpha14.jar from
#
#Fri Mar 03 11:56:31 CET 2017
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.7.1
BOOT_CLOJURE_VERSION=1.9.0-alpha14
it looks like instead of opening the repl, it just printed out boot.properties
you mean the 2.5.2?
when I re-run the same command, it does work
but I didn't expect having to run the command twice
I ask this because ;I have a "boot repl" running on REMOTE_BEEFY machine, and I want to conenct to it via "boot repl -c" from local-mbp-emacs-inferior-lisp-buffer
@qqq check boot repl —help
— it has host and port options
@martinklepsch : so it should be
boot repl -c -H 192.168.0.113 -p 8230
where the IP is 192.168.0.113, and the remote-machine/.nrepl-port shows 8230 right?
[not 100% sure as this gives me an exception and I need to figure out if (1) I have the right cmd, but something else is brokne or (2) I get exception because my cmd is broken]
@qqq what does the exception say? you could try without the explicit -c but it looks like reasonable otherwise
ConnectException connection refused (Connection refused) ... stack frames involving http://java.net
hi folks, I’m trying to use boot-reload and I’m getting the follow exception when I edit a file:
[worker-2] ERROR - handle websocket frame org.httpkit.server.Frame$TextFrame@76fccd2b
java.lang.IllegalArgumentException: No method in multimethod 'handle-message' for dispatch value: null
but the reload seems to be going through anyway. can anybody explain what’s happening? thx.
hmm, so opening nrepls on host 0.0.0.0insteadof localhost is generally a BAD idea unless you want to given everyone on local network access right?
@pesterhazy it exits after downloading a new version of boot to simplify the process
otherwise it would need to do some fancy footwork to patch in a different version of boot
That kind of makes sense heh 🙂
after a bit of a wild goose chase, I found out that boot-cljsjs doesn’t seem to work without an explicit dep on clj-http
now, I imagine the pods should be taking care of that as seen here: https://github.com/cljsjs/boot-cljsjs/blob/master/src/cljsjs/boot_cljsjs/packaging.clj#L72
But I’m getting the most peculiar
clojure.lang.ExceptionInfo: Call to clojure.core/defn- did not conform to spec:
In: [0] val: clj-tuple/conj-tuple fails spec: :clojure.core.specs/defn-args
if I attempt to use download/checksum/deps-cljs
without listing clj-http as a dep, (even though I want to use http-kit instead internally)@lwhorton I ran into something similar to this last week - I think some libraries aren't yet updated to work with the latest clojure 1.9 alphas. I was in a hurry, so I didn't investigate fully, and I'm afraid I don't have a satisfying answer for you. I ended up... <small>using lein</small>
@micha perhaps i’m misusuing it, but what I’m doing is a task that downloads a lib (not available on cljsjs) for both minified and non-min, sifting them into cljsjs/{prod,dev}/my-lib.{min}inc.js, then using deps-cljs to :name “libs.my-lib”
so I can consume it from my app
this is a pet project on which I wanted to spend a weekend, and the hassle that comes from making a proper externs.js file is pretty prohibitive
also re: externs there's http://www.dotnetwise.com/Code/Externs/ - good for a first pass usually
(just remembered: wasn't cljs getting externs inference as well? need to see the status of that)
oh thanks @bhagany for the reconfirmation, btw… i figured it’s something to do with 1.9a but who knows
@pandeiro it’s still in alpha, but here it is https://gist.github.com/swannodette/4fc9ccc13f62c66456daf19c47692799
which, tbh, I would almost rather just write an externs file than litter the code with oddities like meta-tags, but that’s personal preference I suppose
@micha, thanks for the explanation