Re: Hierarchical logs

2012-02-12 Thread Alan Malloy
I toyed with some simple ways of doing this, but I don't think any of them will actually work out. I think the advice you got in #clojure to use zippers is probably correct. Here's a sketch I bashed out that seems to do roughly what you want: https://gist.github.com/1807340 (I took the liberty of w

Re: Persistent collections and garbage collection

2012-02-12 Thread pron
Alright, let me explain. I'm not talking about memory leaks or whether or not objects become eligible for collection when they should. The JVM garbage collector is a generational collector, which means there's a * humongous* difference in GC work between objects that become unreachable (eligible

[ANN] Modelcouch 0.1.0

2012-02-12 Thread Karsten Schmidt
Modelcouch is an extensible CRUD function generator macro for a given document model spec and CouchDB (clutch) connection URL. The following functions (incl. documentation) are created in the calling namespace: make-modelname, get-modelname, put-modelname, delete-modelname, valid-modelname?, model

Re: Persistent collections and garbage collection

2012-02-12 Thread Rob Lally
I suspect that the clojure is actually slightly better here than standard java collections. With standard java collections, you'll tend to associate a collection with some attribute or property of an object and then modify it over time. The chances of this object living to a later generation ar

Re: clojure-opennlp

2012-02-12 Thread Nicolas Buduroi
Just for the record, it seems this issue has been fixed today: https://github.com/dakrone/clojure-opennlp/commit/887add29a1fbc3b4aac7d12f5cbc52c43c6a7dcd Try out the the new 0.1.8 version. On Feb 11, 9:20 am, "Jim foo.bar" wrote: > HI everyone, > > I was just wondering whether anyone has used

Re: No show?

2012-02-12 Thread John Szakmeister
On Sat, Feb 11, 2012 at 10:15 PM, Sean Corfield wrote: > On Sat, Feb 11, 2012 at 6:30 PM, Michał Marczyk > wrote: >> print-table expects a sequence of maps, e.g. >> >> (print-table (:members (reflect Math))) > > Wow! I had no idea how useful that could be... Learn something new > every day! (and,

How to convert string into sequence with replacing matched text.

2012-02-12 Thread Takahiro Hozumi
Hi, I want to make a sequence from string as follows. input: "hello >>1 world >>2" output: ("hello " [">>1"] " world " [">>2"]) What is efficient way to achieve this in ClojureScript? Thanks. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post t

Re: Persistent collections and garbage collection

2012-02-12 Thread Sean Corfield
On Sun, Feb 12, 2012 at 5:44 AM, pron wrote: > So my question is, what is the > "behavior profile" for persistent collection nodes in Clojure applications, > and what is their measured effect on GC. I think that's going to depend on what your code does and how it behaves - which is the same answe

Re: Calling all Melbourne, Australia, Clojure users

2012-02-12 Thread Andreas Kostler
Hi all, We have a similar group here in Adelaide "Forum for functional programming practioners, from beginner to advanced. All languages, all welcome." @ http://www.meetup.com/acsafp/ It's nice to see groups like this are getting traction in Australia. Cheers Andreas On 9 February 2012 22:29, J

Clojure/West - regular rates end Friday Feb 17th

2012-02-12 Thread Alex Miller
Hi all, The regular registration rates for Clojure/West will end Friday Feb. 17th. The current rate is $450 unless you know someone already going. If so, you can then register for the "Friend of Attendee" rate for $425 and they get a $25 refund! After Friday, prices go up, so register now! - Regi

Re: How to convert string into sequence with replacing matched text.

2012-02-12 Thread Tassilo Horn
Takahiro Hozumi writes: Hi! > I want to make a sequence from string as follows. > input: "hello >>1 world >>2" > output: ("hello " [">>1"] " world " [">>2"]) > > What is efficient way to achieve this in ClojureScript? This is a JVM Clojure solution. I'm not sure if ClojureScript has clojure.st