#clojure logs

2013-06-10

22:43akurilin2Is the idea behing the new clojure jdbc composable query / korma approach to building sql statements that it's simply easier to compose the statement that way rather than by trying to massage a bunch of strings?
22:46callenakurilin2: manual undisciplined string mangling is a bad idea. Use korma.
22:52akurilin2callen, cool! thanks.
22:53RaynesSegFaultAX: Because I thought it was a good show.
22:53RaynesSegFaultAX: Turns out that some people like things other people don't. Mind blowing, ain't it?
22:54RaynesThis revelation changed my life.
22:55callenRaynes: I didn't like it at first, but developed an appreciation for the characters.
22:55callenthe first episode is really superficial.
22:55RaynesSegFaultAX: There may or may not have been too much snark in there. If so, know I'm only half serious and trying to be funny and not mean.
22:56callenRaynes: it's okay, we know you're a bad person.
22:56RaynesJust making sure.
23:17tomjackbbloom: I found a paper by "B Bloom" about CCS/CSP, got excited for a minute
23:17tomjackhttp://www.brown.edu/Research/Istrail_Lab/papers/p232-bloom.pdf
23:18callenI'd be more amazed if I saw Eich on a whitepaper.
23:27Raynescallen: I really like Bill Skarsgård's character.
23:27Raynescallen: Shiiiiiiiiiiiiiiit
23:27Raynes:D
23:28muhoowhere is -?> hiding? i forgot.
23:28RaynesIn a place where it can never be found and for good reason.
23:28RaynesDamned symbol names.
23:28muhoo(second question is, why is it not in clojure.core)
23:28muhooyeah, you try grepping for that :-)
23:28RaynesBecause clojure.core already has too many arrows.
23:29muhoofuck it, i'll just do (if-let instead, it'll be ugly and verbose
23:29muhoowhy, i could even nest if-lets all through the pipeline
23:29RaynesThat's the spirit
23:30muhooor throw a try/catch around it and be all java-like
23:30Raynesmuhoo: Now you're going too far.
23:30RaynesSimmer down, kid.
23:30tomjackmuhoo: -?> is called some-> now
23:31tomjackor at least they're close relatives I think
23:31tomjackand it is in core
23:31tomjackas of 1.5
23:32tomjack$fact new threading macros is https://github.com/clojure/clojure/blob/master/changes.md#24-new-threading-macros
23:33tomjacklazybot: got it?
23:33tomjackdid -?> stop on false?
23:34muhoooh, cool
23:34muhoothank you!
23:36tomjack$whatis new threading macros
23:36lazybotnew does not exist in my database.
23:36tomjackoic
23:37muhooand, incubator was the answer i thought i was looking for. some-> is a better answer.
23:39tomjackwonder why it's not called keep->
23:40SegFaultAXtomjack: Why would it be?
23:41tomjacksome looks for logical falsity, some-> looks for nil, as does keep
23:42tomjackkeep and some seem otherwise identical
23:42tomjackerr, no
23:49amalloytomjack: lazybot's factoid plugin is truly abysmal. teach things to clojurebot
23:50tomjackclojurebot: new threading macros is https://github.com/clojure/clojure/blob/master/changes.md#24-new-threading-macros
23:50clojurebotAlles klar
23:50tomjackthanks
23:57bbloomtomjack: heh, sadly not me
23:59futileYou know,
23:59futileNow that I think about it, Common Lisp is actually more of a toy language than Clojure.