This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-19
Channels
- # announcements (3)
- # aws (1)
- # beginners (25)
- # calva (6)
- # cider (55)
- # clara (13)
- # cljs-dev (3)
- # clojure (79)
- # clojure-europe (1)
- # clojure-nl (6)
- # clojure-spec (59)
- # clojure-uk (6)
- # clojurescript (97)
- # clojureverse-ops (2)
- # cursive (7)
- # data-science (4)
- # datomic (12)
- # emacs (8)
- # figwheel-main (19)
- # fulcro (67)
- # graalvm (3)
- # graphql (12)
- # jobs (4)
- # jobs-discuss (11)
- # lein-figwheel (5)
- # off-topic (50)
- # om (1)
- # other-languages (1)
- # planck (3)
- # quil (2)
- # re-frame (4)
- # reitit (5)
- # remote-jobs (5)
- # ring-swagger (2)
- # shadow-cljs (34)
- # spacemacs (8)
- # xtdb (1)
- # yada (4)
I'm looking for spring boot starter project, but honestly java for controllers and such, but ability to have clojure package to add functionality.
@nxtk I believe spec is closer to being a contracts system (as it borrowed ideas from Racket Contracts). I'm getting that from the author of Practical TLA+. Differentiating between tests, contracts, and types: https://hillelwayne.com/post/why-dont-people-use-formal-methods/ (see the Getting the Spec section) Here he mentions that clojure.spec is a contracts system: https://hillelwayne.com/post/contracts/
Hi there, all. Previously I had everything working in a Mac environment with Intellij, but I updated my Mac and I think that broke stuff. I am now getting this error message:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further details.
Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused), compiling:(core.clj:72:3)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3657)
[...]
at clojure.main.main(main.java:37)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
The [...]
is all of my included modules.
Does anyone have experience with this sort of foobar? š©
Answering my own questionā¦ I think itās a classpath problem after I updated Java. https://stackoverflow.com/questions/5028286/adding-jar-to-classpath-in-mac-os
Hi, I was trying out schema, and I have a use case I am not sure schema is suited for, or what I should be using in this case. I need to run different functions at runtime depending if they satisfy a schema or not. I was trying to find a valid?
function for boolean validation, not exception one. Is there anything, or what other approach could I use in this case? I donāt want to use a :type
property because I can have merged maps that satisfy more than one schemas and run all functions if they satisfy more than one, and things like that.
Was looking for an equivalent of valid? in spec, as I donāt want to use spec yet in this project (although the select part would fit very well in my use case)
Hi all! Iāve got a series of functions that I want to pass a map through. Iād like each function to be able to e.g. append something to a nested key. Hereās one example:
(defn enrich-with-parenthetical-definitions [document]
(merge document
{:structure {:definitions
(map str ((re-seq re-paren-phrase (:text document))))}}))
How can I āreach inā to document
and append to document.structure.definitions without overwriting the previous value? Merge seems to overwrite.perfect! thank you!
BTW, #beginners, parinfer is an excellent excellent excellent tool (https://github.com/shaunlebron/parinfer). takes a bit of getting used to, but pays dividends.
hey y'all seeking some feedback on https://github.com/andharris/pipeline, particularly there are some questions in the Thoughts
section of the README that I'd appreciate input on
Love me some parinfer and paredit. I've been using Atom with it all, and I notice some weird proto-repl bugs.
Has the proto repl helped you be more productive? It is on my list of things to try.
Proto-REPL is amazing, I canāt imagine going back to LightTable even if there were to ever be an update. But yes, I have noticed two annoying things: (1) The font for the output does not change color when you change the Atom theme. I change from light to dark repeatedly depending on where I am, so I always have to edit the stylesheet each time. (2) Often I accidentally run things that trip an infinite loop and I have to do a hard shutdown of Atom (or it crashes). When it reopens, there is a āConsoleā pane where the Proto-REPL pane was, and when I start the REPL, it opens another pane. Then when I close the āConsoleā pane, it stops the REPL :man-facepalming::skin-tone-2:
I have found #2, but never #1. I do have some struggles between it and a hard-core command line terminal on a code I'm looking at. I end up having to run proto-repl with a nrepl to the cmd one.