This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-02
Channels
- # admin-announcements (9)
- # alda (21)
- # announcements (1)
- # beginners (68)
- # boot (241)
- # braid-chat (18)
- # cider (32)
- # cljs-dev (4)
- # cljsrn (11)
- # clojure (60)
- # clojure-dusseldorf (1)
- # clojure-germany (1)
- # clojure-poland (212)
- # clojure-russia (64)
- # clojure-sg (10)
- # clojurescript (212)
- # core-async (1)
- # css (14)
- # datomic (1)
- # emacs (9)
- # funcool (2)
- # hoplon (18)
- # jobs (1)
- # ldnclj (1)
- # lein-figwheel (5)
- # leiningen (3)
- # om (190)
- # onyx (46)
- # parinfer (13)
- # proton (3)
- # re-frame (7)
- # reagent (10)
- # ring-swagger (2)
- # slack-help (3)
- # specter (1)
- # yada (31)
I want to start using sente. The 'Sente reference example' seems like the way to go. The web page comes up. Is something supposed to happen when you press the buttons? I can't see evidence of anything going on in the lein terminal, the browser console or the web page itself. Perhaps there's a better example application??
I've done lein clean
, lein deps
, lein run
. Nothing obvious wrong. Just expected to be able to play with it a somehow.
mvn deploy
throws ReasonPhrase: Forbidden.
even though I'm providing the credentials in ~/.m2/settings.xml
For future reference: I forgot to change the groupId
, which was org.apache.commons
to something that I own, like org.clojars.bensu
out of curiousity, why publish a java project on clojars?
@cjmurphy: I havn't tried it, but https://github.com/danielsz/system has a sente library
I’m running my ring app with lein ring server
, is there a way to still use the repl?
thanks much!
@cjmurphy There's also an example on how to use sente with system on sente's website
@shanekilkelly: because I don't have the time to learn how to do it on Maven Central and already know how to do it on clojars
@bensu as good a reason as any
anyone have experience with boot-test?
I’ve got a project where adding (require '[adzerk.boot-test :refer :all]) to build.boot throws
clojure.lang.ExceptionInfo: target does not exist data: {:file "adzerk/boot_test.clj", :line 1} java.lang.IllegalAccessError: target does not exist
when starting the repl or trying “boot test"
no idea what’s going on
@joost-diepenmaat: try (:require '[adzerk.boot-test :as bt])
and then something like:
(deftask test []
(set-env! :source-paths #(conj % "test/this" "test/that")) ;; (!) :source-paths must not overlap.
(bt/test))
$ boot test
@joost-diepenmaat: btw, the #C053K90BR channel is very active and helpful
Anyone ever came across or knows about a good Clojure or Java implementation of a thread safe reference counted data structure? (set,list)
@joost-diepenmaat: what's your boot version? Run boot --version
. You should have at least 2.5.0
which is when the target
task was introduced
ahaha @nberger that was it! thanks
I just found a bug (?) when using multimethods
in emacs CIDER, if I change defmulti
, it won't get recompiled with a simple C-c C-k
, I need to C-c C-x
and then C-c C-k
to recompile it. Without the refresh first, it keeps operating the defmulti
from it's first compiled version. Any reason why this should be the case?
@josh.freckleton: could your issue be related to this? https://clojuredocs.org/clojure.core/defmulti#example-55d9e498e4b0831e02cddf1b
@akjetma: Ah, this looks like exactly what I'm dealing with, thank you!
I haven't, but I don't think that'll work for me. This is really more of a ClojureScript problem, I suppose: I need to turn the namespace name into a string before it gets munged by the Closure compiler
@peeja: there are special variables in a macro &env
being one of them. Not sure if the calling ns is provided there but may be worth checking
I haven't actually looked yet, but I believe &env
just has locals, not vars like *ns*
. I'll take a look though, thanks.
And I have a specific question about configuring lein deploy for Artifactory. Is there a better channel for this?
otherwise: anyone know how to have http-kit.client send multiple values with the same query parameter name, f.e.
?
:query-params {:a [1 2 3]}
can’t be coerced to string, and it seems to only want a map for that value
@mattly: Does this not work?
:query-params {:param "value" :param2 ["value1" "value2"]}
Self-service: http://clojurians.net
hey guys what are the character requirements for a def
-able symbol? I would like to polish up a string of mine and use it for (def my-symbol ...)