This worked for me:
(with-bindings {clojure.lang.Compiler/LOADER dcl} ...)
(from:
http://stackoverflow.com/questions/10941330/class-forname-in-clojure-not-respecting-contextclassloader
)
On Wednesday, February 27, 2013 9:45:32 AM UTC-8, dgrnbrg wrote:
>
> I am trying to include some Groovy co
That was it. I didn't think that calling the method directly on the
record would use reflection.
(dotimes [_ 10] (time (dotimes [_ 1] (m1 my-simple-P "hello"
"Elapsed time: 14.765 msecs"
"Elapsed time: 5.347 msecs"
"Elapsed time: 21.427 msecs"
"Elapsed time: 7.267 msecs"
"Elapsed time: 2.
Hi all,
I am writing a network protocol handler based on events (to wrap
netty, if you're curious). I created a protocol that defines the
functions needed to handle every possible (channel) event:
(defprotocol channel-handler-strategy
(message-received [this ctx evt])
(exception-caught [this
Hi David,
Out of curiosity, how are these tests connecting to the database,
especially in the cases of MongoDB and CouchDB? In the case of CouchDB
you're clearly using HTTP in a way that it creates one connection per
request, I believe. In the case of MongoDB, the driver provides a
connection pool
Thanks for bringing back the joy of programming to my life. I
contributed and I hope to be able to give more as a business endeavor
in the near future (crossing fingers)
Good luck with the drive! It *must* pan out.
Toni
http://disclojure.org
On Dec 14, 6:33 am, Rich Hickey wrote:
> Funding Cloj