Re: reducers and sets/PersistentSet

2015-11-10 Thread Alex Miller
Get cracking! :) On Tuesday, November 10, 2015 at 10:44:33 AM UTC-6, retnuH wrote: > > That's what I was thinking... > > I may try to put together a patch. > > But it may have to wait until after Clojure/Conj! Still don't have > presentation finished... > > H > > On Tuesday, 10 November 2015

reducers and sets/PersistentSet

2015-11-10 Thread retnuH
Hi there, I was playing with reducers recently, and was wondering why PersistentSets aren't foldable (i.e. don't take advantage of the Fork/Join stuff? Is there some fundamental reason why it wouldn't work (or is especially difficult), or just a case that no one has gotten around to

Re: [ANN] Let's make clojure.org better!

2015-11-10 Thread Hildeberto Mendonça
That's a great initiative! Thanks! But I'm just sad to see JBake instead of Cryogen (https://github.com/cryogen-project/cryogen-core) which is written in Clojure :-( Can we send a pull request replacing JBake by Cryogen or is JBake a final decision? On Tue, Nov 10, 2015 at 4:14 PM, Alex Miller

Re: [ANN] Let's make clojure.org better!

2015-11-10 Thread Hildeberto Mendonça
Thanks for clarifying that Alex. On Tue, Nov 10, 2015 at 4:57 PM, Alex Miller wrote: > Hi Hildeberto, > > I built spikes of the site in a number of technologies like Cryogen, > Stasis, Sphinx, Asciidoctor, and some of the other Ruby-based static > generators as well. In the

Re: reducers and sets/PersistentSet

2015-11-10 Thread Alex Miller
Persistent sets are really persistent maps under the hood, so in principle doesn't seem like there's any reason that shouldn't work. On Tuesday, November 10, 2015 at 10:23:19 AM UTC-6, retnuH wrote: > > Hi there, I was playing with reducers recently, and was wondering why > PersistentSets

Re: [ANN] Let's make clojure.org better!

2015-11-10 Thread 'Alan Forrester' via Clojure
On 10 Nov 2015, at 15:14, Alex Miller wrote: > The Clojure community is full of talented writers and valuable experience, > and together we can create great documentation for the language and the > ecosystem. With that in mind, we are happy to announce a new initiative to

Re: [ANN] Let's make clojure.org better!

2015-11-10 Thread Alex Miller
Link was bad - sorry! https://github.com/clojure/clojure-site/blob/master/content/community/contributing_site.adoc On Tuesday, November 10, 2015 at 10:45:59 AM UTC-6, Alan Forrester wrote: > > The site contribution page does not seem to be up. > > > Alan > -- You received this message because

[ANN] Let's make clojure.org better!

2015-11-10 Thread Alex Miller
The Clojure community is full of talented writers and valuable experience, and together we can create great documentation for the language and the ecosystem. With that in mind, we are happy to announce a new initiative to replace the existing http://clojure.org site. The new site will contain

Re: [ANN] Let's make clojure.org better!

2015-11-10 Thread Hildeberto Mendonça
A better link about Cryogen: http://cryogenweb.org On Tue, Nov 10, 2015 at 4:41 PM, Hildeberto Mendonça wrote: > That's a great initiative! Thanks! But I'm just sad to see JBake instead > of Cryogen (https://github.com/cryogen-project/cryogen-core) which is > written in

Re: [ANN] Let's make clojure.org better!

2015-11-10 Thread Alex Miller
Hi Hildeberto, I built spikes of the site in a number of technologies like Cryogen, Stasis, Sphinx, Asciidoctor, and some of the other Ruby-based static generators as well. In the end, I found that JBake was the best match for our goals at this time. The site build architecture has been

Re: reducers and sets/PersistentSet

2015-11-10 Thread retnuH
That's what I was thinking... I may try to put together a patch. But it may have to wait until after Clojure/Conj! Still don't have presentation finished... H On Tuesday, 10 November 2015 16:26:58 UTC, Alex Miller wrote: > > Persistent sets are really persistent maps under the hood, so in

Re: Transient map question

2015-11-10 Thread Ritchie Cai
Ahh, for some reason, I had the impression that it can be used as mutable object. Just reread the "transient data structure" page, realize that I've been knowing it wrong all this time. Thanks On Tuesday, November 10, 2015 at 1:11:56 PM UTC-6, Alex Miller wrote: > > That is, you should use

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Alan Thompson
Runs fine in my tests. One small question: would it be feasible to keep everything lowercase in the future (i.e. org.clojure:clojure:jar:1.8.0-rc1)? Keep up the great work, Alan On Tue, Nov 10, 2015 at 9:30 AM, Alex Miller wrote: > Clojure 1.8.0-RC1 is now available.

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Alan Thompson
Just keeps it simpler when typing, and most other things seem to be all lowercase. Not a big deal. Alan On Tue, Nov 10, 2015 at 9:55 AM, Alex Miller wrote: > Any reason why? > > On Tuesday, November 10, 2015 at 11:51:40 AM UTC-6, Alan Thompson wrote: >> >> Runs fine in my

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Ghadi Shayban
Never mind the first point. I've been pointed to the fact that Tuple/create returns a PV [1] [1] https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Tuple.java#L22 On Tuesday, November 10, 2015 at 1:15:44 PM UTC-5, Ghadi Shayban wrote: > > Two points of feedback: > > > 1) One

Re: Transient map question

2015-11-10 Thread Ritchie Cai
btw, I'm using Java 1.8.0_60-b27, Clojure 1.7.0 On Tuesday, November 10, 2015 at 12:59:54 PM UTC-6, Ritchie Cai wrote: > > Hi, > > I'm wondering if anyone can help me understand why transient map in my > code stops adding entries. > Here is my implementation of huffman code generation given a

Re: Transient map question

2015-11-10 Thread Alex Miller
That is, you should use the exact same modification pattern that you use with persistent collections. On Tuesday, November 10, 2015 at 1:05:38 PM UTC-6, Laurens Van Houtven wrote: > > Hi Ritchie > > > You appear to be using the transient as a mutable object, which is not > correct in the

[ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Alex Miller
Clojure 1.8.0-RC1 is now available. *This build is a "release candidate"!* We would appreciate any and all testing you can do on your own libraries or internal projects to find problems. If no problems are found, we expect to make this the 1.8.0 final release! Try it via - Download:

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Ghadi Shayban
Two points of feedback: 1) One of the reason tuples were disabled was that they polluted dispatch paths. Shouldn't we make sure that they are completely inactive? Map entries (everywhere: c.l.Persistent*, records, gvec, bean) still use them. 2) I get the rationale behind direct linking,

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Michael Drogalis
Upgrading Clojure to 1.8.0-RC1 passed Onyx's full test suite. Thumbs up on our end. On Tuesday, November 10, 2015 at 9:30:47 AM UTC-8, Alex Miller wrote: > > Clojure 1.8.0-RC1 is now available. *This build is a "release candidate"!* > We would appreciate any and all testing you can do on your

[ANN] Kekkonen 0.1.0, a remoting (CQRS) api library for Clojure

2015-11-10 Thread Tommi Reiman
*tl;dr* code: http://kekkonen.io demo: https://kekkonen.herokuapp.com start: lein new kekkonen kakkonen *Kekkonen is alive!* We just released first non-snapshot version of Kekkonen, a data-driven remote (CQRS) api library for Clojure. On the server side, apis as modelled as plain

Transient map question

2015-11-10 Thread Ritchie Cai
Hi, I'm wondering if anyone can help me understand why transient map in my code stops adding entries. Here is my implementation of huffman code generation given a string: https://gist.github.com/malloc82/efeec1053b9af195e351#file-huffman-clj-L53-L55 Line 53-55 is where it adds a huffman code

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Alex Miller
Any reason why? On Tuesday, November 10, 2015 at 11:51:40 AM UTC-6, Alan Thompson wrote: > > Runs fine in my tests. > > One small question: would it be feasible to keep everything lowercase in > the future (i.e. org.clojure:clojure:jar:1.8.0-rc1)? > > Keep up the great work, > Alan > > -- You

Re: Transient map question

2015-11-10 Thread Laurens Van Houtven
Hi Ritchie You appear to be using the transient as a mutable object, which is not correct in the general case. You should only use the return value of assoc!/dissoc!/et cetera. lvh > On Nov 10, 2015, at 1:03 PM, Ritchie Cai wrote: > > btw, I'm using Java

Re: Procedurally generated animation in Clojure

2015-11-10 Thread Mars0i
Cool. Thanks. I experimented with the quil wrapper around Processing at one point. I'm glad quil exists, but the underlying non-functional-programming model of Processing can sometimes make it awkward. -- You received this message

Re: Procedurally generated animation in Clojure

2015-11-10 Thread Alex Miller
These are SO COOL. On Sunday, November 8, 2015 at 6:22:53 PM UTC-6, Mikera wrote: > > Hi all, > > I created a set of tools this weekend to produce procedurally generated > animations in Clojure. May be of interest to those who like computer > graphics and the more creative usages of Clojure! >

Pareto's Clojure

2015-11-10 Thread Sayth Renshaw
Morning Currently driving through Clojure country reading Clojure for the brave abs typing examples out of the clojure cookbook. Following Paretos principle 80/20 rule the 20% usually drives the 80% of outcomes. if I did a deep dive into the most important 20% of clojure what would I dive

Re: org-mode Clojure babel

2015-11-10 Thread Johannes
I am quite impressed about lentic. I think I will use it. Thank you, Phil. Nevertheless I am looking for a working configuration for Emacs org-mode with Clojure babel. Johannes Am Freitag, 6. November 2015 18:10:58 UTC+1 schrieb Phillip Lord: > > > If you are willing to entertain a slightly

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Mike Rodriguez
I second Ghadi's question (2). Is there any further information to read that discusses the benefits found from direct linking? I understand the motivation. I was just hoping to here some performance boost success stories. -- You received this message because you are subscribed to the Google

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Alex Miller
I would love for people to try building their apps with and without direct linking to see if there is a difference! Has anyone done so? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Mike Rodriguez
I did a trial run of some of my production applications (big data space) and I did see an overall improvement in execution time that seemed consistent. It was not too significant of a difference though, but it was still good to see. I am not positive my use case would have necessarily been in

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Shantanu Kumar
One of my libraries (https://github.com/kumarshantanu/asphalt) is failing to compile with 1.8 (works fine with 1.6, 1.7); the stack trace is below: $ lein do clean, with-profile dev,c18 test Exception in thread "main" java.lang.VerifyError: (class: asphalt/core$invoke_with_transaction, method:

Re: [ANN] Let's make clojure.org better!

2015-11-10 Thread Dmitri
Just a note that the author of Cryogen is very responsive regarding discussions on improvements and pull requests for additional functionality. If there's a particular feature that's missing it might be worth creating an issue or opening a pr for it. On Tuesday, November 10, 2015 at 10:57:45

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-10 Thread Robin Heggelund Hansen
I got an exception when compiling with this RC (exception below). Seems it have trouble compiling aleph, so I've added an issue there. I assume you will be contacted if the bug is found to be an error in Clojure itself, and not Aleph. #error { :cause IllegalName: