Re: [ANN] Clojure 1.10.1-beta1

2019-03-31 Thread Alex Miller
You could put it in user.clj, but it would be reasonable to have a ticket 
for this.

On Sunday, March 31, 2019 at 8:58:30 PM UTC-5, Ben Brinckerhoff wrote:
>
> I see that this handler uses `ex-str`, which is nice because `ex-str` in 
> turn calls `*explain-out*` which is user-configurable. 
>
> Is there a recommended way to configure `s/*explain-out*` such that this 
> configuration will be run before other namespaces are loaded?
>
> For instance, this code would set up Expound, but right now I'm not sure 
> how to reliably run it before other namespaces load:
>
> (require '[expound.alpha :as expound] '[clojure.spec.alpha :as s])
> (alter-var-root #'s/*explain-out* (constantly (expound/custom-printer 
> {:print-specs? false :show-valid-values? true :theme :figwheel-theme})))
>
> Thanks,
> Ben
>
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-31 Thread Ben Brinckerhoff
I see that this handler uses `ex-str`, which is nice because `ex-str` in 
turn calls `*explain-out*` which is user-configurable. 

Is there a recommended way to configure `s/*explain-out*` such that this 
configuration will be run before other namespaces are loaded?

For instance, this code would set up Expound, but right now I'm not sure 
how to reliably run it before other namespaces load:

(require '[expound.alpha :as expound] '[clojure.spec.alpha :as s])
(alter-var-root #'s/*explain-out* (constantly (expound/custom-printer 
{:print-specs? false :show-valid-values? true :theme :figwheel-theme})))

Thanks,
Ben

On Thursday, March 21, 2019 at 10:35:32 PM UTC-6, Alex Miller wrote:
>
> 1.10.1-beta1 is now available. You can try it with clj using:
>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
> "1.10.1-beta1"}}}'
>
> 1.10.1-beta1 includes the following changes since 1.10.0:
>
>- CLJ-2484  - Fix Java 
>performance regression loading user.clj
>- CLJ-2463  - 
>clojure.main uncaught exception handling
>- CLJ-2491  - Fix 
>fragile tests that fail under Java 12
>
> The issue in CLJ-2484 was introduced in Java itself, specifically Java 1.8 
> u202, Java 11.0.2, and Java 12. It primarily affects loading of user.clj 
> and can cause a significant load time difference for anything done in 
> user.clj. CLJ-2463 affects how errors are reported from clojure.main. This 
> includes many Clojure uses under tools like Leiningen, such as compile, 
> test,  etc.  
>
> We would greatly appreciate feedback if you could check out this release 
> in your own project and give it a try!! 
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-31 Thread Rakhim Davletkaliyev
D'oh! Sorry, I messed up. With the correct vector present I'm getting this 
then:

Don't know how to create ISeq from: clojure.lang.Keyword

Seems like you can optionally enable spec so that you'd get:

:all - failed: coll?

which is better, at least pointing in the general direction of the problem.

On Sunday, 31 March 2019 18:50:52 UTC+3, Orestis Markou wrote:
>
> I think the issue you are seeing is because you need to wrap the require 
> form in a vector:
>
> (:require [trybeta.foo :refer :all])
>
> Thanks,
> Orestis
>
> 31 Μαρ 2019, 4:19 μμ, ο χρήστης «Rakhim Davletkaliyev  >» έγραψε:
>
> Hi Alex,
>
> With this beta + ClojureScript (v. 1.10.238), when trying to "refer all", 
> like so:
>
> (:require trybeta.something :refer :all)
>
> I get the following error:
>
> clojure.lang.ExceptionInfo: Only [lib.ns & options] and lib.ns specs 
> supported in :require / :require-macros; offending spec: :refer at line 1 
>  {:file "", :line 1, :column 1, :root-source-info 
> {:source-type :fragment, :source-form (ns trybeta.core (:require 
> trybeta.something :refer :all))}, :tag :cljs/analysis-error}
>
> This is much better than "Don't know how to create ISeq from: 
> clojure.lang.Keyword" error present in previous versions!
>
> While I completely agree that "require all" is bad style and should not be 
> used, I think the error message could be a bit more specific still, 
> considering "refer all" is quite widespread in tutorials/examples, and 
> beginners like myself tend to try to use it when transitioning from Clojure 
> to ClojureScript.
>
> Maybe, isolate and display the offending part?
>
> I apologize if this suggestion is irrelevant, as I am out of my depth when 
> it comes to core Clojure and spec.
>
> Thank you!
>
> On Friday, 22 March 2019 06:35:32 UTC+2, Alex Miller wrote:
>>
>> 1.10.1-beta1 is now available. You can try it with clj using:
>>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
>> "1.10.1-beta1"}}}'
>>
>> 1.10.1-beta1 includes the following changes since 1.10.0:
>>
>>- CLJ-2484  - Fix Java 
>>performance regression loading user.clj
>>- CLJ-2463  - 
>>clojure.main uncaught exception handling
>>- CLJ-2491  - Fix 
>>fragile tests that fail under Java 12
>>
>> The issue in CLJ-2484 was introduced in Java itself, specifically Java 
>> 1.8 u202, Java 11.0.2, and Java 12. It primarily affects loading of 
>> user.clj and can cause a significant load time difference for anything done 
>> in user.clj. CLJ-2463 affects how errors are reported from clojure.main. 
>> This includes many Clojure uses under tools like Leiningen, such as 
>> compile, test,  etc.  
>>
>> We would greatly appreciate feedback if you could check out this release 
>> in your own project and give it a try!! 
>>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com 
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clo...@googlegroups.com 
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clo...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-31 Thread Orestis Markou
I think the issue you are seeing is because you need to wrap the require form 
in a vector:

(:require [trybeta.foo :refer :all])

Thanks,
Orestis

31 Μαρ 2019, 4:19 μμ, ο χρήστης «Rakhim Davletkaliyev » 
έγραψε:

> Hi Alex,
> 
> With this beta + ClojureScript (v. 1.10.238), when trying to "refer all", 
> like so:
> 
> (:require trybeta.something :refer :all)
> 
> I get the following error:
> 
> clojure.lang.ExceptionInfo: Only [lib.ns & options] and lib.ns specs 
> supported in :require / :require-macros; offending spec: :refer at line 1 
>  {:file "", :line 1, :column 1, :root-source-info 
> {:source-type :fragment, :source-form (ns trybeta.core (:require 
> trybeta.something :refer :all))}, :tag :cljs/analysis-error}
> 
> This is much better than "Don't know how to create ISeq from: 
> clojure.lang.Keyword" error present in previous versions!
> 
> While I completely agree that "require all" is bad style and should not be 
> used, I think the error message could be a bit more specific still, 
> considering "refer all" is quite widespread in tutorials/examples, and 
> beginners like myself tend to try to use it when transitioning from Clojure 
> to ClojureScript.
> 
> Maybe, isolate and display the offending part?
> 
> I apologize if this suggestion is irrelevant, as I am out of my depth when it 
> comes to core Clojure and spec.
> 
> Thank you!
> 
>> On Friday, 22 March 2019 06:35:32 UTC+2, Alex Miller wrote:
>> 1.10.1-beta1 is now available. You can try it with clj using:
>> 
>>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
>> "1.10.1-beta1"}}}'
>> 
>> 
>> 1.10.1-beta1 includes the following changes since 1.10.0:
>> 
>> CLJ-2484 - Fix Java performance regression loading user.clj
>> CLJ-2463 - clojure.main uncaught exception handling
>> CLJ-2491 - Fix fragile tests that fail under Java 12
>> The issue in CLJ-2484 was introduced in Java itself, specifically Java 1.8 
>> u202, Java 11.0.2, and Java 12. It primarily affects loading of user.clj and 
>> can cause a significant load time difference for anything done in user.clj. 
>> CLJ-2463 affects how errors are reported from clojure.main. This includes 
>> many Clojure uses under tools like Leiningen, such as compile, test,  etc.  
>> 
>> We would greatly appreciate feedback if you could check out this release in 
>> your own project and give it a try!! 
> 
> -- 
> 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
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-31 Thread Rakhim Davletkaliyev
Hi Alex,

With this beta + ClojureScript (v. 1.10.238), when trying to "refer all", 
like so:

(:require trybeta.something :refer :all)

I get the following error:

clojure.lang.ExceptionInfo: Only [lib.ns & options] and lib.ns specs 
supported in :require / :require-macros; offending spec: :refer at line 1 
 {:file "", :line 1, :column 1, :root-source-info 
{:source-type :fragment, :source-form (ns trybeta.core (:require 
trybeta.something :refer :all))}, :tag :cljs/analysis-error}

This is much better than "Don't know how to create ISeq from: 
clojure.lang.Keyword" error present in previous versions!

While I completely agree that "require all" is bad style and should not be 
used, I think the error message could be a bit more specific still, 
considering "refer all" is quite widespread in tutorials/examples, and 
beginners like myself tend to try to use it when transitioning from Clojure 
to ClojureScript.

Maybe, isolate and display the offending part?

I apologize if this suggestion is irrelevant, as I am out of my depth when 
it comes to core Clojure and spec.

Thank you!

On Friday, 22 March 2019 06:35:32 UTC+2, Alex Miller wrote:
>
> 1.10.1-beta1 is now available. You can try it with clj using:
>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
> "1.10.1-beta1"}}}'
>
> 1.10.1-beta1 includes the following changes since 1.10.0:
>
>- CLJ-2484  - Fix Java 
>performance regression loading user.clj
>- CLJ-2463  - 
>clojure.main uncaught exception handling
>- CLJ-2491  - Fix 
>fragile tests that fail under Java 12
>
> The issue in CLJ-2484 was introduced in Java itself, specifically Java 1.8 
> u202, Java 11.0.2, and Java 12. It primarily affects loading of user.clj 
> and can cause a significant load time difference for anything done in 
> user.clj. CLJ-2463 affects how errors are reported from clojure.main. This 
> includes many Clojure uses under tools like Leiningen, such as compile, 
> test,  etc.  
>
> We would greatly appreciate feedback if you could check out this release 
> in your own project and give it a try!! 
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-26 Thread Alan Thompson
Working fine for the Tupelo library:  https://github.com/cloojure/tupelo

-
   Clojure 1.10.1-beta1Java 12
-
Ran 312 tests containing 2874 assertions.
0 failures, 0 errors.
lein test :all   61.60s user  1.22s system  299% cpu  20.996 total


Also for ClojureScript:

;; ==
;; Testing with Phantom:

doorunner - beginning
doorunner - end

Testing tst._bootstrap

   ClojureScript 1.10.439

Ran 145 tests containing 1698 assertions.
0 failures, 0 errors.
lein doo phantom test once  63.31s user 1.40s system 280% cpu 23.069 total





On Tue, Mar 26, 2019 at 10:53 AM Sean Corfield  wrote:

> Everything seems to be running fine on 1.10.1-beta1 here at World Singles
> Networks. We were not experiencing the user.clj loading problem so I can't
> speak to how it addresses that, nor are we looking at Java 12 yet :)
>
> The only piece of feedback I'll offer here -- and Alex already knows
> because I raised it on Zulip but want a broader audience as a sanity check:
>
> The new clojure.main error handling definitely works well but on macOS the
> temporary folder path -- where the EDN report of the stack trace etc gets
> written -- is very long so the "Full report at:" line wraps, making it a
> bit fiddle to copy'n'paste the file path. It would be easier if the file
> path was on a separate line, by adding a newline after "at:", so selection
> of the file path is easier.
>
> That might also make it easier for tooling that invokes Clojure apps via
> the command-line (instead of having to parse the file path out of a line
> that has other text in it).
>
> On Thursday, March 21, 2019 at 9:35:32 PM UTC-7, Alex Miller wrote:
>>
>> 1.10.1-beta1 is now available. You can try it with clj using:
>>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version
>> "1.10.1-beta1"}}}'
>>
>> 1.10.1-beta1 includes the following changes since 1.10.0:
>>
>>- CLJ-2484  - Fix Java
>>performance regression loading user.clj
>>- CLJ-2463  -
>>clojure.main uncaught exception handling
>>- CLJ-2491  - Fix
>>fragile tests that fail under Java 12
>>
>> The issue in CLJ-2484 was introduced in Java itself, specifically Java
>> 1.8 u202, Java 11.0.2, and Java 12. It primarily affects loading of
>> user.clj and can cause a significant load time difference for anything done
>> in user.clj. CLJ-2463 affects how errors are reported from clojure.main.
>> This includes many Clojure uses under tools like Leiningen, such as
>> compile, test,  etc.
>>
>> We would greatly appreciate feedback if you could check out this release
>> in your own project and give it a try!!
>>
> --
> 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
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-26 Thread Sean Corfield
Everything seems to be running fine on 1.10.1-beta1 here at World Singles 
Networks. We were not experiencing the user.clj loading problem so I can't 
speak to how it addresses that, nor are we looking at Java 12 yet :) 

The only piece of feedback I'll offer here -- and Alex already knows 
because I raised it on Zulip but want a broader audience as a sanity check:

The new clojure.main error handling definitely works well but on macOS the 
temporary folder path -- where the EDN report of the stack trace etc gets 
written -- is very long so the "Full report at:" line wraps, making it a 
bit fiddle to copy'n'paste the file path. It would be easier if the file 
path was on a separate line, by adding a newline after "at:", so selection 
of the file path is easier.

That might also make it easier for tooling that invokes Clojure apps via 
the command-line (instead of having to parse the file path out of a line 
that has other text in it).

On Thursday, March 21, 2019 at 9:35:32 PM UTC-7, Alex Miller wrote:
>
> 1.10.1-beta1 is now available. You can try it with clj using:
>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
> "1.10.1-beta1"}}}'
>
> 1.10.1-beta1 includes the following changes since 1.10.0:
>
>- CLJ-2484  - Fix Java 
>performance regression loading user.clj
>- CLJ-2463  - 
>clojure.main uncaught exception handling
>- CLJ-2491  - Fix 
>fragile tests that fail under Java 12
>
> The issue in CLJ-2484 was introduced in Java itself, specifically Java 1.8 
> u202, Java 11.0.2, and Java 12. It primarily affects loading of user.clj 
> and can cause a significant load time difference for anything done in 
> user.clj. CLJ-2463 affects how errors are reported from clojure.main. This 
> includes many Clojure uses under tools like Leiningen, such as compile, 
> test,  etc.  
>
> We would greatly appreciate feedback if you could check out this release 
> in your own project and give it a try!! 
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-26 Thread Rick Moynihan
Hi Alex,

A small data point but I've tried clojure 1.10.1-beta1 with a 13kloc
clojure app we have with a lot of clj dependencies and I haven't seen any
issues with it.  I also tried it against a few smaller library deps and
didn't see any issues.

R.

On Sat, 23 Mar 2019 at 23:26, Alex Miller  wrote:

> That sounds like a different problem, don’t think Clojure 1.10.1-beta1
> would affect anything there.
>
> On Mar 23, 2019, at 5:57 PM, David Neu  wrote:
>
> Hi Alex,
>
> I had been getting
>
> Error: Could not find or load main class clojure.main
> Caused by: java.lang.ClassNotFoundException: clojure.main
>
> when starting a socket repl with a custom repl function, e.g.
>
>  :aliases
>  {:socket {:jvm-opts
> ["-Dclojure.server.repl={:port,,:accept,somelib.repl/socket-repl}"]}}
>
> This RC eliminates that issue.   Many, many thanks!
>
> Cheers,
> Dave
>
>
> On Friday, March 22, 2019 at 12:35:32 AM UTC-4, Alex Miller wrote:
>>
>> 1.10.1-beta1 is now available. You can try it with clj using:
>>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version
>> "1.10.1-beta1"}}}'
>>
>> 1.10.1-beta1 includes the following changes since 1.10.0:
>>
>>- CLJ-2484  - Fix Java
>>performance regression loading user.clj
>>- CLJ-2463  -
>>clojure.main uncaught exception handling
>>- CLJ-2491  - Fix
>>fragile tests that fail under Java 12
>>
>> The issue in CLJ-2484 was introduced in Java itself, specifically Java
>> 1.8 u202, Java 11.0.2, and Java 12. It primarily affects loading of
>> user.clj and can cause a significant load time difference for anything done
>> in user.clj. CLJ-2463 affects how errors are reported from clojure.main.
>> This includes many Clojure uses under tools like Leiningen, such as
>> compile, test,  etc.
>>
>> We would greatly appreciate feedback if you could check out this release
>> in your own project and give it a try!!
>>
> --
> 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
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/0YFGUdzCZ5U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-23 Thread Alex Miller
That sounds like a different problem, don’t think Clojure 1.10.1-beta1 would 
affect anything there.

> On Mar 23, 2019, at 5:57 PM, David Neu  wrote:
> 
> Hi Alex,
> 
> I had been getting 
> 
> Error: Could not find or load main class clojure.main
> Caused by: java.lang.ClassNotFoundException: clojure.main
> 
> when starting a socket repl with a custom repl function, e.g.
> 
>  :aliases
>  {:socket {:jvm-opts 
> ["-Dclojure.server.repl={:port,,:accept,somelib.repl/socket-repl}"]}}
> 
> This RC eliminates that issue.   Many, many thanks!
> 
> Cheers,
> Dave
> 
> 
>> On Friday, March 22, 2019 at 12:35:32 AM UTC-4, Alex Miller wrote:
>> 1.10.1-beta1 is now available. You can try it with clj using:
>> 
>>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
>> "1.10.1-beta1"}}}'
>> 
>> 
>> 1.10.1-beta1 includes the following changes since 1.10.0:
>> 
>> CLJ-2484 - Fix Java performance regression loading user.clj
>> CLJ-2463 - clojure.main uncaught exception handling
>> CLJ-2491 - Fix fragile tests that fail under Java 12
>> The issue in CLJ-2484 was introduced in Java itself, specifically Java 1.8 
>> u202, Java 11.0.2, and Java 12. It primarily affects loading of user.clj and 
>> can cause a significant load time difference for anything done in user.clj. 
>> CLJ-2463 affects how errors are reported from clojure.main. This includes 
>> many Clojure uses under tools like Leiningen, such as compile, test,  etc.  
>> 
>> We would greatly appreciate feedback if you could check out this release in 
>> your own project and give it a try!! 
> 
> -- 
> 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
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Clojure" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/clojure/0YFGUdzCZ5U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Clojure 1.10.1-beta1

2019-03-23 Thread David Neu
Hi Alex,

I had been getting 

Error: Could not find or load main class clojure.main
Caused by: java.lang.ClassNotFoundException: clojure.main

when starting a socket repl with a custom repl function, e.g.

 :aliases
 {:socket {:jvm-opts 
["-Dclojure.server.repl={:port,,:accept,somelib.repl/socket-repl}"]}}

This RC eliminates that issue.   Many, many thanks!

Cheers,
Dave


On Friday, March 22, 2019 at 12:35:32 AM UTC-4, Alex Miller wrote:
>
> 1.10.1-beta1 is now available. You can try it with clj using:
>   clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
> "1.10.1-beta1"}}}'
>
> 1.10.1-beta1 includes the following changes since 1.10.0:
>
>- CLJ-2484  - Fix Java 
>performance regression loading user.clj
>- CLJ-2463  - 
>clojure.main uncaught exception handling
>- CLJ-2491  - Fix 
>fragile tests that fail under Java 12
>
> The issue in CLJ-2484 was introduced in Java itself, specifically Java 1.8 
> u202, Java 11.0.2, and Java 12. It primarily affects loading of user.clj 
> and can cause a significant load time difference for anything done in 
> user.clj. CLJ-2463 affects how errors are reported from clojure.main. This 
> includes many Clojure uses under tools like Leiningen, such as compile, 
> test,  etc.  
>
> We would greatly appreciate feedback if you could check out this release 
> in your own project and give it a try!! 
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.