Fork me on GitHub
#clojure
<
2015-12-19
>
timvisher01:12:18

anyone aware of a tool like this for clojure? https://github.com/github/scientist

d-t-w01:12:11

I'll have a squizz @zcaudate, hope you're well!

zcaudate04:12:58

@d-t-w: thanks mate. I’m good 😃 how is melbourne?

rcanepa15:12:24

For those who use prismatic schema, do you activate the parameter and return type validation for function? Right now, I am using it for documenting purposes only, should I enable validation too? Are there some guidelines about this?

borkdude15:12:49

@rcanepa: I would enable during test/dev, disable during prod, except when you're validating data from outside

rcanepa15:12:37

For performance concerns?

gfredericks16:12:40

rcanepa: that's what I do as well

gfredericks16:12:53

you can always turn on individual functions if you have special concerns for any reason

rcanepa17:12:25

Great… Thanks for your input!

gfredericks21:12:53

tmtwd: list-of-values looks like you could just use map probably?

Tim21:12:10

yeah, probably

gfredericks21:12:11

(map #(my-eval % env) exps)

Tim21:12:43

list-of-values should more appropriately be valled eval-sub-expressions or something

Tim21:12:55

cool though

Tim21:12:00

I will try to implement that

gfredericks21:12:13

loop/recur is usually not what you want

Tim21:12:21

yeah, thats the more functional approach

Tim21:12:27

*map, that is

Tim21:12:21

oh cool, your code worked verbatim

rcanepa22:12:49

Has anyone configured lein autoexpect (plugin for the expectations library) to work with environ?. When I execute lein test, my test are executed using my test database, however, when I run lein autoexpect, the dev database is used. I haven’t found any documentation of how to accomplish this, does anyone knows how to do it?

jakemcc22:12:25

@rcanepa Probably has something to do with what leiningen profiles are being activated. Is your test database configured in a :test profile? Try a lein with-profiles +test autoexpect (author of autoexpect here).

rcanepa22:12:42

@jakemcc: Hey, nice to meet you simple_smile … I do have a test database configured inside of my test profile.

rcanepa22:12:01

Your solution worked perfectly! Thanks @jakemcc !