#clojure logs

2016-04-10

20:19ben_vulpesoho wow cljr-add-project-dependency does in fact seem to behave correctly
20:25justin_smithcool
20:59sdegutishey guys
20:59sdegutisis there any really cool clojure ides written entirely in clojure?
20:59sdegutiscuz that would be something
21:11justin_smithsdegutis: isn't this kind of what nightcode and light-table try to do?
21:19tolstoyThere's also that Smalltalk-like thing I saw on one of the Clojure Conj videos. Really cool.
21:22tolstoyThis one: https://www.youtube.com/watch?v=qQvvgzvPgQI, though I think he wrote it in regular javascript (for the client part).
21:23tolstoyAh, here: https://cloxp.github.io/cloxp-intro.html
21:38sdegutiswhy was that message green
21:39sdegutisjustin_smith: but yeah nightcode sounds familiar, it may be really cool, but if it lacks the ability to alter itself while running, then that was a huge missed opportunity
21:52rhg135cljs, imo, is clojure sans io or runtime introspection
21:52rhg135well, introspection of your code; you can modify js at runtime just fine
21:55rhg135sdegutis: I'm assuming your client formats notices as green
21:56raspasovas far as I know Cursive for IntelliJ is written mostly in Clojure
21:56sdegutisrhg135: ahh yea
22:21cflemingYeah, Cursive is about 70% Clojure
22:22sdegutiscfleming: sweet
22:37sdegutiscfleming: do you alter cursive while its running and refresh to get your changes live?
22:37cflemingsdegutis: I do, most of the time - I can't always do that since IntelliJ isn't designed for it.
22:37cflemingI generally start another IDE instance and debug/REPL into that
22:38sdegutisoh cool
22:39cflemingBut more and more I develop using tests, so I write the functionality then a bunch of tests for it and debug/REPL those if I can.
22:39cflemingLots of UI stuff I can't do that easily for, though.
23:50lewis.(first [])
23:50lewis,(first [])
23:50clojurebotnil
23:50justin_smith,(rest (first []))
23:50clojurebot()
23:57jeaye,(second (rest (first [])))
23:57clojurebotnil
23:57lewisjustin_smith: https://gist.github.com/6ewis/07ec1af12198dbd5105fb45a37831e92
23:58justin_smithlewis: that behaves weird when a list has nil in it, you should check if rest-of-seq is empty
23:58lewis,(sorted-set 5 7 2 7)
23:58clojurebot#{2 5 7}
23:59lewisjustin_smith: it used to be rest-of-seq is empty i changed it because it was skipping the last item
23:59amalloyjustin_smith: that behaves weird when a list is non-empty, you should check if updated-seq is empty
23:59justin_smithamalloy: I imagined also putting a conj on line 5, but yeah
23:59amalloyjustin_smith: that would break for empty seqs