This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-18
Channels
- # beginners (25)
- # boot (30)
- # cljs-dev (22)
- # cljsjs (2)
- # cljsrn (1)
- # clojars (4)
- # clojure (223)
- # clojure-boston (1)
- # clojure-dusseldorf (1)
- # clojure-gamedev (8)
- # clojure-italy (5)
- # clojure-russia (122)
- # clojure-sg (3)
- # clojure-spec (26)
- # clojure-uk (42)
- # clojurescript (69)
- # clojuresque (10)
- # core-async (25)
- # cursive (10)
- # datascript (5)
- # datomic (12)
- # emacs (18)
- # garden (1)
- # interop (1)
- # jobs (1)
- # jobs-discuss (10)
- # leiningen (2)
- # liberator (1)
- # lumo (21)
- # nyc (2)
- # off-topic (210)
- # om (11)
- # om-next (3)
- # onyx (1)
- # pedestal (6)
- # re-frame (10)
- # rum (9)
- # specter (38)
- # uncomplicate (1)
- # vim (23)
- # yada (22)
hi i'm wondering what's the difference between function "filter" and "take-while", the book "clojure for brave and true" says that take-while won't process every record , but I am not sure how this function could do it without peeking the record or sort it first.......
I have question on join tables. “SELECT DISTINCT v.,count() as cnt FROM pm_videos v JOIN pm_tags vt ON vt.uniq_id = v.uniq_id JOIN pm_tags vt2 ON vt2.safe_tag = vt.safe_tag AND vt2.uniq_id = ‘$uniq_id’ AND vt2.uniq_id != vt.uniq_id GROUP BY v.uniq_id ORDER BY COUNT(*) DESC LIMIT ”
that is something strange: when I load
6 :dependencies [[org.clojure/clojure "1.8.0"]
7 [org.clojure/data.json "0.2.6"]
8 [com.microsoft.azure/azure "1.0.0-beta5"]
9 [com.microsoft.azure/azure-management "0.8.0"]
10 [com.fasterxml.jackson.core/jackson-databind "2.8.6"]
11 [com.taoensso/timbre "4.10.0"]
12 [clj-http "3.5.0"]]
then it gives me a CompilerException java.lang.ClassNotFoundException: org.apache.http.conn.ssl.DefaultHostnameVerifier, compiling:(clj_http/conn_mgr.clj:1:1)
on (require '[clj-http.client :as client])
but when I do load clj-http in first place it works fine. Why is that?Run lein deps :tree
in both configurations and compare what org.apache.http you get (which is closer to the root) in each case.
whoa! @not-raspberry that's messy how am I supposed to solve this messy dependencies? always take the latest or just watch out for errors?
the problem seems to me like dependencies authors not specifying the right versions of their dependencies (correct me if i'm wrong)
I’d say it’s more that different projects ask for different versions - sometimes you can say it’s because one of them is asking for objectively a wrong version, but that isn’t always the case
you exclude dependencies, like: [io.weft/gregor "0.5.1" :exclusions [log4j/log4j org.slf4j/slf4j-log4j12]]
(that's an entry in the :dependencies vector)
Hi guys, have someone already used clojure with thrift? * I have a service in clojure with datomic and I need communicate between this service with other services
@timok that means you have code like #foobar
and nobody has defined what foobar
means as a tag.
(defn get-tenant [subscription]
(let [response (client/get (str " " subscription "?api-version=2015-01-01") {:accept :json :throw-exceptions false :as :json :coerce :always})]
@timok the headers keyword contains a map of headers, where both the key and the value are strings