This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-14
Channels
- # adventofcode (14)
- # announcements (3)
- # babashka (18)
- # beginners (32)
- # calva (1)
- # clj-kondo (65)
- # cljs-dev (5)
- # cljsrn (3)
- # clojure (22)
- # clojure-spec (13)
- # clojure-uk (53)
- # clojured (3)
- # clojuredesign-podcast (50)
- # clojurescript (8)
- # core-async (32)
- # cursive (15)
- # data-science (1)
- # datomic (17)
- # fulcro (48)
- # hyperfiddle (1)
- # off-topic (5)
- # shadow-cljs (2)
- # testing (2)
Does anyone know if there is another library like spyscope that (ab)uses data readers for debugging?
interesting stuff.
I guess you've seen https://github.com/jsofra/data-scope ?
I need to be using this
so handy to be able to bust out charts from data I have on hand in the repl
Zippers: how do I check I'm back at root? (nil? (path loc))? Or (= (root loc) loc)? Thank you!!!
Thank you!
Is there a way I can set things such as *warn-on-reflection*
in a deps.edn
file? Like leiningen does with the :global-vars
key?
You can use :jvm-opts [“-Dclojure.compile.warn-on-reflection=true”]
in an alias, but can’t currently do that always
I confused myself, how to intertop thhis part about try (...) {...}
try (Scope scope = tracer.spanBuilder("main").startScopedSpan()) {
System.out.println("About to do some busy work...");
for (int i = 0; i < 10; i++) {
doWork(i);
}
}
?this the reason why I need it
// 4. Create a scoped span, a scoped span will automatically end when closed.
// It implements AutoClosable, so it'll be closed when the try block ends.
with-open
just assumes it can call .close
on the object. It doesn't care about the types, per se.
Well, it may not work with with-open, because Java added a new interface when they introduced try with resources, and with-open still uses Closeable not AutoCloseable
But anyway I can’t make stackdriver trace to work in Clojure. It is my first time when I use it. No errors, but also no traces in stackdriver. Any idea why?
with-open
just assumes it can call .close
on the object. It doesn't care about the types, per se.