Hi all,
I cache quite a bit of stuff on the server, so when I return or print
out the 'system' I get the unhelpful recursive stack trace of Java
running out of heap.
Is there some protocol I can implement on large data structures such
that whenever they are serialised they just dump some of their
Hey,
not yet another kv-store? I written a blog post to clearify the design
decisions here:
https://whilo.github.io/articles/16/unified-storage-io
>From the README:
A simple document store protocol defined with core.async semantics to
allow Clojuresque collection operations on associative key-v
You may overwrite the default IPrintWriter by doing calling extend-type
after the defrecord.
But CLJS should probably allow the protocol in defrecord itself instead of
forcing the default. Not sure if there is an open issue for it.
On Friday, November 11, 2016 at 9:29:25 PM UTC+1, William la Fo
clojure.core/print-method is a multi method that handles the printing of
objects. You can override or implement the print method by:
(defmethod print-method my.class.Foo
[^my.class.Foo instance ^Writer w]
(.write w ...))
I do that to provide custom printing for deftypes, but you can easil
Thanks Timothy
On Saturday, 12 November 2016, Timothy Baldridge
wrote:
> clojure.core/print-method is a multi method that handles the printing of
> objects. You can override or implement the print method by:
>
> (defmethod print-method my.class.Foo
> [^my.class.Foo instance ^Writer w]
> (.wr
What?
Clojure contrib wrapper for JDBC
https://github.com/clojure/java.jdbc
Release?
0.7.0 Alpha 1 (previous release was 0.6.2 Alpha 3)
[org.clojure/java.jdbc “0.7.0-alpha1”]
** potentially breaking changes **
Summary?
• Minor enhancements but version bum
You could use: https://github.com/technomancy/robert-hooke
Its basically an AOP library for Clojure.
You can use "with-hooks-disabled" in your tests to disable the hooks that
have side effects.
On Friday, 11 November 2016 21:42:59 UTC-8, Shantanu Kumar wrote:
>
> Hi Tianxiang,
>
> In my experie