This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-21
Channels
- # beginners (65)
- # boot (24)
- # cider (2)
- # clara (13)
- # cljs-dev (45)
- # clojure (48)
- # clojure-dusseldorf (2)
- # clojure-italy (69)
- # clojure-norway (1)
- # clojure-russia (5)
- # clojure-sanfrancisco (1)
- # clojure-spec (51)
- # clojure-uk (34)
- # clojurescript (312)
- # cursive (5)
- # datavis (1)
- # datomic (9)
- # duct (13)
- # editors (3)
- # emacs (2)
- # fulcro (11)
- # graphql (19)
- # hoplon (1)
- # immutant (2)
- # jobs (7)
- # jobs-discuss (38)
- # lein-figwheel (1)
- # luminus (6)
- # off-topic (2)
- # parinfer (10)
- # pedestal (1)
- # re-frame (9)
- # reagent (28)
- # reitit (1)
- # remote-jobs (12)
- # ring-swagger (26)
- # shadow-cljs (232)
- # slack-help (8)
- # tools-deps (29)
- # unrepl (29)
- # vim (10)
- # yada (31)
In terms of debugging cljs, I've always used chrome over firefox. However, I'm not sure if there is an advantage or if it's just a personal preference. Is either browser 'blessed' by cljs ?
Erlang has something called ETS (erlang term storage). What is the closest thing Clojure has? spit/slurp of edn ?
sorry, I meant http://erlang.org/doc/man/dets.html
user=> (defn bar_QMARK_ [])
#'user/bar_QMARK_
user=> bar?
CompilerException java.lang.RuntimeException: Unable to resolve symbol: bar? in this context, compiling:(NO_SOURCE_PATH:0:0)
user=> bar_QMARK_
#object[user$bar_QMARK_ 0x8692d67 "user$bar_QMARK_@8692d67"]
user=> (defn bar? [])
#'user/bar?
user=> bar?
#object[user$bar_QMARK_ 0x4983159f "user$bar_QMARK_@4983159f"]
user=> bar_QMARK_
#object[user$bar_QMARK_ 0x8692d67 "user$bar_QMARK_@8692d67"]
user=>
I'm a bit confused here, how are these distinguished? Would they not be were I to aot compile?I thought maybe that QMARK would be expanded itself into something else, escaping the escape codes.
Any news on the ClojureSync conference videos? I am curious to watch the talk by Gerald Jay Sussman.
https://github.com/fusesource/rocksdbjni vs https://mvnrepository.com/artifact/org.rocksdb/rocksdbjni/3.5.1 <-- anyone know which works better for clojure <-> rocksdb ?
any clojure veterans got any insights what could cause java.lang.NoClassDefFoundError: Could not initialize class shadow.cljs.devtools.server.reload_classpath$process_update$fn__65735
?
its a normal clojure ns which doesn't do any weird trickery https://github.com/thheller/shadow-cljs/blob/master/src/main/shadow/cljs/devtools/server/reload_classpath.clj
@thheller I tend to have this sort of error after I uberjar my project while my code is running. I think this changes the class files in some way to messes up the REPL.
I have a project, wherein I want to include a single jar and push it with my lib. Is there a way to include that in my project.clj without doing a local mvn install? And if its a local, does it get pushed in the jar going to clojars?
@laujensen you can do a lein install to install a jar just to your local repo.
Has anyone here used pact
for testing in clojure?
Hi all; for those using Logstash, I've created an EDN filter plugin and published it to rubygems https://rubygems.org/gems/logstash-filter-edn
You can use this in much the same way you'd use logstash-filter-json
. I'm using it to parse EDN embedded inside log messages.
How was using the edn gem?
Quite lovely! This wouldn't have been possible without your, and your co-author's, efforts, so thank you 😄
Actually Clinton did most of the work. I was wondering because I haven't really touched it in a couple of years.
Bu thanks for the kind words.
I've never programmed in ruby before, and the logstash docs are kind of sparse, so it was really nice to have a piece of the puzzle that just worked. I'm glad it's held up over the years.
According to http://blog.cognitect.com/blog/2017/1/31/clojure-2018-results "Uptake of Java 1.9, released last year, has been a bit slower with only 29% adopting Java 1.9 so far and 88% of developers using Java 1.8. Only 6% of developers are using Java 1.7 and less than 1% are still using Java 1.6."
I’ve done a bit with Clojure and Java 10 btw and haven’t seen any issues yet
there is one fragile test case that was broken by serialversion uuids changing in java 10 and that prevents Clojure’s own test suite from passing, but this is a flaw in the test, not an issue in Clojure
Can anyone explain these new features for clojure 1.10? What’s the plan for prepl? And what are taps for?
https://github.com/clojure/clojure/commit/86a158d0e0718f5c93f9f2bb71e26bc794e7d58e
there will be more info in the future, we haven’t officially released any of that yet
prepl is a programmatic stream-oriented remoteable repl, primarily useful for tooling
taps are a debugging aid to allow you to “log” a message at any point in your app and listen elsewhere. prepl supports remoting the debug tap over the wire as a side-channel
No, other than applying any function you like when reading the tap
interesting…
prepl sounds similar to @cgrand’s unrepl