This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-11
Channels
- # admin-announcements (36)
- # beginners (1)
- # boot (267)
- # cider (19)
- # cljs-dev (12)
- # clojure (149)
- # clojure-austin (4)
- # clojure-canada (1)
- # clojure-czech (3)
- # clojure-dev (31)
- # clojure-japan (2)
- # clojure-uk (22)
- # clojurebridge (3)
- # clojurescript (314)
- # clojutre (18)
- # core-async (8)
- # cursive (4)
- # datascript (1)
- # datomic (27)
- # editors (2)
- # events (80)
- # hoplon (13)
- # javascript (2)
- # jobs (5)
- # ldnclj (12)
- # ldnproclodo (1)
- # off-topic (4)
- # re-frame (21)
- # reagent (87)
- # testing (13)
Has anyone done asynchronous ClojureScript tests with cljs.test? I’m not figure out how to set it up.
@puppybits: you could ask in #C03S1L9DN or even #C08LK2DH7. Anyways, take a look to the small example in https://github.com/bensu/lein-cljs/blob/master/test/lein_cljs/core_test.cljs
Also, did you take a look to https://github.com/clojure/clojurescript/wiki/Testing#async-testing and https://github.com/clojure/clojurescript/wiki/Testing#detecting-test-completion--success ?
Anyone got any good links to resources that do a good job of selling Clojure to the masses? Our startup is getting profiled for a print article and they found our choice of technology stack interesting and want to know more about why we chose it... I'm having trouble phrasing the benefits of Immutability and the JVM for civilians 😄
voxdolo: I think Rich's Value of Values was linked here recently, and it's the right idea. I think the short sell is that immutability buys you much much stronger decoupling because you're worrying about a value not a thing with a state and THAT buys you reuse because you no longer have to write N things with slightly different time variant behavior. Instead you write simple operations that are very reusable and compose those. (Rich gets there at about 14:53) - The Value of Values https://www.youtube.com/watch?v=-6BsiVyC1kM - Simple made Easy https://www.youtube.com/watch?v=rI8tNMsozo0
@arrdem: hadn't seen Value of Values, thanks! And thanks for the input, it's much appreciated.
@puppybits: look at the example folder under https://github.com/bensu/doo/tree/master/example
the hard part is not to write the test, but to write the runners. doo
is meant to do that for you
Writing an API client in Clojure — clj-http? http-kit? others? Please advise
I’d use http-kit @martinklepsch, but I am not up to date with all the “new hotness"
@martinklepsch: You have yada and catacumba (https://github.com/funcool/catacumba)
@niwinz: they’re for writing APIs though no?
yeah, I needed something that just allowed me to make some basic http requests
I’m confused — where can I do http get/post etc with catacumba? (as the client)
yes, was looking for a client I wen’t with clj-http for now but only making one call using it still so easy to swap later on
besides all that: nice work on all those funcool libs @niwinz
if you need asynchronous calls that does not blocks the main thread you should go to something like aleph or jet
I am in this particular case
@martinklepsch: thanks!
Thanks for the links @bensu. These are much more helpful than what Google has been finding. Doo looks very useful as well. I’ll see about getting it all running.
Would anyone here be interested in a remote Clojure conference? What time of year would you prefer it? Any special requests or differences from regularly scheduled conferences you’d like to see?
@avey_q: a bar-camp format could be neat maybe