Fork me on GitHub
#admin-announcements
<
2015-08-11
>
puppybits00:08:42

Has anyone done asynchronous ClojureScript tests with cljs.test? I’m not figure out how to set it up.

nberger00:08:41

@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

nberger00:08:52

does it help?

voxdolo02:08:36

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 😄

arrdem04:08:55

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

voxdolo04:08:57

@arrdem: hadn't seen Value of Values, thanks! And thanks for the input, it's much appreciated.

bensu08:08:27

the hard part is not to write the test, but to write the runners. doo is meant to do that for you

martinklepsch11:08:23

Writing an API client in Clojure — clj-http? http-kit? others? Please advise simple_smile

maleghast11:08:25

I’d use http-kit @martinklepsch, but I am not up to date with all the “new hotness"

martinklepsch14:08:17

@niwinz: they’re for writing APIs though no?

niwinz14:08:21

It there other approaches based in ring also, but I don't remember its name

niwinz14:08:41

They are web toolkits for writing web services...

martinklepsch14:08:07

yeah, I needed something that just allowed me to make some basic http requests simple_smile

niwinz14:08:23

any web toolkit will allow you do that...

martinklepsch14:08:18

I’m confused — where can I do http get/post etc with catacumba? (as the client)

niwinz14:08:34

I'm also confused

niwinz14:08:06

catacumba is not http client

niwinz14:08:11

is a toolkit for build web services

niwinz14:08:32

Maybe you are searching http client

niwinz14:08:35

in this case

niwinz14:08:22

you have aleph, http-kit, jet, clj-http

martinklepsch14:08:06

yes, was looking for a client simple_smile I wen’t with clj-http for now but only making one call using it still so easy to swap later on

martinklepsch14:08:24

besides all that: nice work on all those funcool libs @niwinz simple_smile

niwinz14:08:00

clj-http is ok if you ok with blocking calls

niwinz14:08:23

if you need asynchronous calls that does not blocks the main thread you should go to something like aleph or jet

martinklepsch14:08:27

I am in this particular case

puppybits17:08:47

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.

avery17:08:56

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?

alandipert17:08:26

@avey_q: a bar-camp format could be neat maybe