This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-18
Channels
- # admin-announcements (7)
- # arachne (24)
- # beginners (40)
- # boot (24)
- # braid-chat (22)
- # cider (8)
- # cljsrn (35)
- # clojure (32)
- # clojure-austin (1)
- # clojure-belgium (52)
- # clojure-russia (16)
- # clojure-sanfrancisco (1)
- # clojure-taiwan (2)
- # clojure-uk (25)
- # clojurescript (112)
- # core-async (3)
- # cursive (18)
- # data-science (1)
- # datascript (7)
- # datomic (30)
- # devcards (2)
- # dirac (12)
- # emacs (4)
- # flambo (1)
- # funcool (5)
- # hoplon (146)
- # jobs (9)
- # jvm (5)
- # off-topic (4)
- # om (141)
- # onyx (22)
- # re-frame (89)
- # reagent (86)
- # ring-swagger (31)
- # rum (3)
- # spacemacs (1)
- # specter (10)
- # untangled (112)
- # yada (3)
For any users of compojure-api, are :query-params
required or are the allowed to be absent?
@tom to make single query-parameter optional, you need to provide a default using the fnk-syntax :query-params [{q :- s/Int 1}]
Hi guys
how can i submit a form in clojure for scrapping task?
@danielwoelfel: Sure. You could write your own coercer.
Does anyone have any suggestions on running regexs over large files? I was hoping to be able to do something like (re-seq #"..." (lazy-slurp "path/file.txt")) but I haven't found a good way to get there. (i.e. I'm not sure of the best way to get from a java.io.BufferedReader to a java.lang.CharSequence.)
hi, maybe someone know what i`m doing wrong: when i do "lain uberjar" for my project , i reseive these error: java.lang.ClassNotFoundException: org.eclipse.jetty.server.nio.SelectChannelConnector, compiling:(jetty.clj:1:1)
i`m use [info.sunng/ring-jetty9-adapter "0.9.3"] for ability use latest 9.3.8 jetty server
check lein deps
my guess is you are using a plugin or whatever that is overriding the jetty9 dep from that library
So maybe you need an explicit dependency on org.eclipse.jetty/jetty-server
?
you would think you would notice a jetty requirement in your project.clj, but if a plugin is adding it
@agi_underground: also post lein deps :tree
, that's the best way to see if some dependencies are interfering
yes, ring include jetty-adapter with another version: [ring-server "0.4.0"] [ring-refresh "0.1.2"] [watchtower "0.1.1"] [ring "1.3.2"] [ring/ring-jetty-adapter "1.3.2"] and, can i do something with it?
This is such a common problem. I wonder if lein or boot could make resolving these kinds of issues easier.
this means i can not resolve this problem simple way, only delete from deps one of the packages?
@roberto: if i wont exclude [ring/ring-jetty-adapter "1.3.2"] from [ring-server "0.4.0"] i need to write like this: [ring-server "0.4.0" :exclusions [ring/ring-jetty-adapter "1.3.2"]] right?
There's no shorthand for (fn [& args] x)
, is there? I keep reaching for (just x)
or similar.
can`t exclude adapter: errors. yes this is a problem with deps