[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
I just ported an app with significant CLJX usage (55 files) to reader conditionals and it works perfectly! It looks like there is a small issue related to map literal containing comments but I am not sure if it has been reported yet. Julien Le jeudi 21 mai 2015 13:31:16 UTC-3, Alex Miller a écrit : Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
No, please report if so. On Tuesday, May 26, 2015 at 8:39:32 PM UTC-5, Julien wrote: I just ported an app with significant CLJX usage (55 files) to reader conditionals and it works perfectly! It looks like there is a small issue related to map literal containing comments but I am not sure if it has been reported yet. Julien -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
In what way is it broken? Both before and after wrapped a mutable iterator into a caching seq. The new one is different in that it chunks so reads 32 at a time instead of 1. However combining either with other chunking sequence operations would have the same effect which is to say that using that mutable iterator with anything else, or having expectations about its rate of consumption was as dubious before as it is now. Unless of course I misunderstand your intent, which possible because I am on a phone without easy access to look further at the commit and am going by memory. On May 26, 2015, at 2:17 PM, Marshall Bockrath-Vandegrift llas...@gmail.com wrote: Some of my code is broken by commit c47e1bbcfa227723df28d1c9e0a6df2bcb0fecc1, which landed in 1.7.0-alpha6 (I lasted tested with -alpha5 and have been unfortunately busy since). The culprit is the switch to producing seqs over iterators as chunked iterators. This would appear to break seq-based traversal of any iterator implementing the not-uncommon Java pattern of mutating and re-yielding the same object on each `next()` invocation. I'm unable to find an existing ticket for this apparent-regression. Should I create one, or did I miss the existing ticket, or is there some mitigating issue which makes this a non-problem? Thanks. -Marshall On Thu, May 21, 2015 at 12:31 PM Alex Miller a...@puredanger.com wrote: Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- You received this message because you are subscribed to the Google Groups Clojure Dev group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev+unsubscr...@googlegroups.com. To post to this group, send email to clojure-...@googlegroups.com. Visit this group at http://groups.google.com/group/clojure-dev. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Clojure Dev group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev+unsubscr...@googlegroups.com. To post to this group, send email to clojure-...@googlegroups.com. Visit this group at http://groups.google.com/group/clojure-dev. For more options, visit https://groups.google.com/d/optout. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
I've started porting a library to use Reader Conditionals - I haven't seen any issues with it yet but my troubles are more related to the library and re-organizing the code than to RC specifically. I'll report back when I'm done... Alan On Friday, May 22, 2015 at 2:09:28 PM UTC-7, Daniel Compton wrote: One of the most significant features of 1.7 are Reader Conditionals. I'm pretty confident after all the discussion that has gone on that we have a good design. However I haven't seen many or any libraries which have gone through the porting process to use Reader Conditionals. I've worked on porting a few libraries and everything has gone mostly smoothly. However I'd feel more confident that we've got the right design if we had more people trying to port their libraries/projects to cljc and reporting their experiences. Is this a reasonable concern, or am I missing something and this isn't necessary? On Fri, 22 May 2015 at 7:35 pm Jason Wolfe ja...@w01fe.com javascript: wrote: We haven't shipped it to production yet, but I just verified that our full test suite at Prismatic passes on RC1 after fixing a few tests that were erroneously depending on hash ordering. Thanks everyone for all the hard work on this release! On Thursday, May 21, 2015 at 9:31:08 AM UTC-7, Alex Miller wrote: Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- You received this message because you are subscribed to the Google Groups Clojure Dev group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev...@googlegroups.com javascript:. To post to this group, send email to cloju...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/clojure-dev. For more options, visit https://groups.google.com/d/optout. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
We haven't shipped it to production yet, but I just verified that our full test suite at Prismatic passes on RC1 after fixing a few tests that were erroneously depending on hash ordering. Thanks everyone for all the hard work on this release! On Thursday, May 21, 2015 at 9:31:08 AM UTC-7, Alex Miller wrote: Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
One of the most significant features of 1.7 are Reader Conditionals. I'm pretty confident after all the discussion that has gone on that we have a good design. However I haven't seen many or any libraries which have gone through the porting process to use Reader Conditionals. I've worked on porting a few libraries and everything has gone mostly smoothly. However I'd feel more confident that we've got the right design if we had more people trying to port their libraries/projects to cljc and reporting their experiences. Is this a reasonable concern, or am I missing something and this isn't necessary? On Fri, 22 May 2015 at 7:35 pm Jason Wolfe ja...@w01fe.com wrote: We haven't shipped it to production yet, but I just verified that our full test suite at Prismatic passes on RC1 after fixing a few tests that were erroneously depending on hash ordering. Thanks everyone for all the hard work on this release! On Thursday, May 21, 2015 at 9:31:08 AM UTC-7, Alex Miller wrote: Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- You received this message because you are subscribed to the Google Groups Clojure Dev group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev+unsubscr...@googlegroups.com. To post to this group, send email to clojure-...@googlegroups.com. Visit this group at http://groups.google.com/group/clojure-dev. For more options, visit https://groups.google.com/d/optout. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
Just deployed to our staging environment and ran into an unexpected stack overflow error. Here's a reduced test case: user (- (range 1) (mapcat (fn [_] (java.util.ArrayList. (range 10 (reduce (constantly nil))) java.lang.StackOverflowError: RT.java:509 clojure.lang.RT.seq core.clj:135 clojure.core/seq core.clj:698 clojure.core/concat[fn] LazySeq.java:40 clojure.lang.LazySeq.sval LazySeq.java:49 clojure.lang.LazySeq.seq ChunkedCons.java:59 clojure.lang.ChunkedCons.chunkedNext core.clj:671 clojure.core/chunk-next protocols.clj:119 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] On Thursday, May 21, 2015 at 9:31:08 AM UTC-7, Alex Miller wrote: Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
Thanks for the context. It looks like this is actually the same as CLJ-1237, the scope of the issue is just broader now with that commit. I left a comment there rather than creating a new ticket. On Friday, May 22, 2015 at 3:02:02 PM UTC-7, Ghadi Shayban wrote: This commit [1] for CLJ-1589 changed dispatch for InternalReduce, causing a bug similar to CLJ-1237 [2]. [1] https://github.com/clojure/clojure/commit/1242c4878f3d4ef30535a22f6c74144637504fbe [2] http://dev.clojure.org/jira/browse/CLJ-1237 On Friday, May 22, 2015 at 5:01:25 PM UTC-4, Jason Wolfe wrote: Just deployed to our staging environment and ran into an unexpected stack overflow error. Here's a reduced test case: user (- (range 1) (mapcat (fn [_] (java.util.ArrayList. (range 10 (reduce (constantly nil))) java.lang.StackOverflowError: RT.java:509 clojure.lang.RT.seq core.clj:135 clojure.core/seq core.clj:698 clojure.core/concat[fn] LazySeq.java:40 clojure.lang.LazySeq.sval LazySeq.java:49 clojure.lang.LazySeq.seq ChunkedCons.java:59 clojure.lang.ChunkedCons.chunkedNext core.clj:671 clojure.core/chunk-next protocols.clj:119 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] On Thursday, May 21, 2015 at 9:31:08 AM UTC-7, Alex Miller wrote: Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: [ANN] Clojure 1.7.0-RC1 now available
This commit [1] for CLJ-1589 changed dispatch for InternalReduce, causing a bug similar to CLJ-1237 [2]. [1] https://github.com/clojure/clojure/commit/1242c4878f3d4ef30535a22f6c74144637504fbe [2] http://dev.clojure.org/jira/browse/CLJ-1237 On Friday, May 22, 2015 at 5:01:25 PM UTC-4, Jason Wolfe wrote: Just deployed to our staging environment and ran into an unexpected stack overflow error. Here's a reduced test case: user (- (range 1) (mapcat (fn [_] (java.util.ArrayList. (range 10 (reduce (constantly nil))) java.lang.StackOverflowError: RT.java:509 clojure.lang.RT.seq core.clj:135 clojure.core/seq core.clj:698 clojure.core/concat[fn] LazySeq.java:40 clojure.lang.LazySeq.sval LazySeq.java:49 clojure.lang.LazySeq.seq ChunkedCons.java:59 clojure.lang.ChunkedCons.chunkedNext core.clj:671 clojure.core/chunk-next protocols.clj:119 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:152 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] protocols.clj:31 clojure.core.protocols/seq-reduce protocols.clj:75 clojure.core.protocols/fn protocols.clj:13 clojure.core.protocols/fn[fn] protocols.clj:122 clojure.core.protocols/fn protocols.clj:19 clojure.core.protocols/fn[fn] On Thursday, May 21, 2015 at 9:31:08 AM UTC-7, Alex Miller wrote: Clojure 1.7.0-RC1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC1/ - Leiningen: [org.clojure/clojure 1.7.0-RC1] The only change since 1.7.0-beta3 is CLJ-1706, which makes reader conditional splicing an error at the top level (previously it would silently drop all but the first spliced element). For a full list of changes since 1.6.0, see: https://github.com/clojure/clojure/blob/master/changes.md Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final! - Alex -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.