This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-10
Channels
- # announcements (2)
- # beginners (37)
- # boot (1)
- # cider (76)
- # clara (14)
- # cljs-dev (132)
- # cljsjs (1)
- # cljsrn (2)
- # clojure (18)
- # clojure-colombia (5)
- # clojure-finland (1)
- # clojure-hamburg (1)
- # clojure-italy (2)
- # clojure-nl (8)
- # clojure-russia (1)
- # clojure-spec (28)
- # clojure-uk (85)
- # clojurescript (84)
- # code-reviews (25)
- # cursive (10)
- # data-science (3)
- # datomic (30)
- # editors (1)
- # emacs (3)
- # fulcro (106)
- # graphql (4)
- # hyperfiddle (26)
- # jobs (2)
- # jobs-discuss (124)
- # keechma (3)
- # leiningen (1)
- # lumo (6)
- # off-topic (5)
- # other-lisps (5)
- # reagent (5)
- # ring-swagger (4)
- # shadow-cljs (140)
- # spacemacs (22)
- # specter (2)
- # sql (48)
- # tools-deps (78)
- # vim (7)
Came to mind while thinking about how tap>
might be used. Perhaps it could be a mechanism to build richer debugging features (common lisp like?). If defn
and let
used tap>
to announce var bindings and stack push/pop events you'd be able to track that stuff... which led to wondering how to patch defn/let... (No doubt I'm missing a lot of prior art in this. )
Because Clojure itself is aot direct linked there are limits to what you can patch in core
I remember reading a project which took the core ideas of clojure, and build a new set of standard libraries around it. I can't remember the name of the project though, since it seemed to have died off in popularity
Should assertions be enabled by default when running app as a jar?
We use leiningen to build an uberjar and then java -jar ...
to run it and I've just found out that *assert*
is true. I couldn't find what default value should this dynamic variable hold but I though it would be false.
This lead to a nasty issue in combination with future
where a "precondition assertion" error was silently ignored and we didn't know what happened (because we caught only Exception
not Throwable
)
@benzap I'm aware of two such projects. Dunaj (http://www.dunaj.org/) and Jaunt (https://github.com/jaunt-lang/jaunt). Of those, Jaunt is declared dead on its github and Dunaj has seen little activity since roughly Clojure 1.7.0 was released.
The other I would add to that would be Pixie, which isn't exactly a Clojure, but it does certain things in a way that are arguably cleaner or better.
Yeah, the guy who was working on pixie hung out in the IRC, the dynamic nature of clojure was hard to replicate
@tbaldridge would be the pixie guy :)
Hi there, I’m using ring as a dependency [ring "1.6.3"]
to my project and i’m getting:
java.io.FileNotFoundException: Could not locate ring/core/protocols__init.class or ring/core/protocols.clj on classpath.
Whenever I try to run it locally ( on my mac ). Any idea why that is?
I’m using boot if that matters.Also, how are you running it locally? @esanmiguelc
I figured it out, sorta? I am also using pandeiro/boot-http
which depends on an older version of ring, 1.4.0
. Once I changed the jar contents to depend on a newer version everything worked correctly. Basically running on a forked version of that project now.