[ANNOUNCEMENT] Apache Commons Configuration Version 2.7 Released.

2020-03-11 Thread Rob Tompkins
The Apache Commons team is pleased to announce the release of Apache Commons Configuration Version 2.7. Release Notes 2020-03-11 INTRODUCTION: = This document contains the release notes for this version of the Commons Configuration component. It describes the changes since the

Re: [VOTE] Release Apache Commons DbUtils 1.8 based on RC2

2020-03-11 Thread Bernd Eckenfels
Hello Carl, > Not sure how this got out of line, but I've updated > my pubkeys in hkps://keys.openpgp.org > with an expiration of 9 July 2020. I'm happy to publish in more places if > needed. The commons source for maintainer keys has an outdated version of that key, i think the Keys File has

Re: [lang] org.apache.commons.lang3.StringUtils.join(Object[], char) backward

2020-03-11 Thread Rob Spoor
Apparently you guys forgot about joinWith: https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#joinWith-java.lang.String-java.lang.Object...- However, even without this method, StringUtils.join can easily be replaced with streams: Stream.of(x,

Re: [math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-11 Thread chentao...@qq.com
Hi,     Code maybe more clear: https://github.com/chentao106/commons-math/commit/0075cd76f540955ec7da3dc4b74f4d67d932ba3b >Hello. > >Le mer. 11 mars 2020 à 07:28, chentao...@qq.com a écrit : >> >> Hi all, >> The "EmptyClusterStrategy" in KMeansPlusPlusClusterer can be reused

Re: [lang] org.apache.commons.lang3.StringUtils.join(Object[], char) backward

2020-03-11 Thread Tomo Suzuki
Gary, That's a good point. I wasn't thinking about StringUtil's applicability to Object array. On Wed, Mar 11, 2020 at 11:18 AM Gary Gregory wrote: > On Wed, Mar 11, 2020 at 10:24 AM Tomo Suzuki > wrote: > > > (I'm not a commons-lang user) > > Java 8 has String.join for the same purpose. > >

Re: [lang] org.apache.commons.lang3.StringUtils.join(Object[], char) backward

2020-03-11 Thread Gary Gregory
On Wed, Mar 11, 2020 at 10:24 AM Tomo Suzuki wrote: > (I'm not a commons-lang user) > Java 8 has String.join for the same purpose. > > https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#join-java.lang.CharSequence-java.lang.CharSequence...- > I would deprecate StringUtils.join in

Re: [lang] org.apache.commons.lang3.StringUtils.join(Object[], char) backward

2020-03-11 Thread Tomo Suzuki
(I'm not a commons-lang user) Java 8 has String.join for the same purpose. https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#join-java.lang.CharSequence-java.lang.CharSequence...- I would deprecate StringUtils.join in favor of String.join. On Wed, Mar 11, 2020 at 10:16 AM Matt

Re: [lang] org.apache.commons.lang3.StringUtils.join(Object[], char) backward

2020-03-11 Thread Matt Benson
Definitely +1 if we didn't already do this, except I would put what I call a "Yoda preposition" in there, e.g. joinBy or joinWith. Matt On Wed, Mar 11, 2020, 9:00 AM Gary Gregory wrote: > HI All: > > Now that Java's had varargs for a while now, using APIs like >

[lang] org.apache.commons.lang3.StringUtils.join(Object[], char) backward

2020-03-11 Thread Gary Gregory
HI All: Now that Java's had varargs for a while now, using APIs like org.apache.commons.lang3.StringUtils.join(Object[], char) feels backward to me. I want to say: StringUtils.join('.', "foo", "bar", "bang"); Not: StringUtils.join(new String[] { "foo", "bar", "bang" }, '.'); Any thoughts on

Re: [math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-11 Thread Gilles Sadowski
Hello. Le mer. 11 mars 2020 à 07:28, chentao...@qq.com a écrit : > > Hi all, > The "EmptyClusterStrategy" in KMeansPlusPlusClusterer can be reused > MiniBatchKMeansClusterer and other cluster altorithm. > So I think the "EmptyClusterStrategy" should move out from >

JEXL: How to use non-map objects

2020-03-11 Thread Jochen Wiedmann
Hi, slightly off-topic for the dev list (sorry!), but still: Any changes, one of you guys (and girls, of course) would be able to help with https://stackoverflow.com/questions/60632217/jexl-how-to-use-non-map-objects Thanks, Jochen -- Look, that's why there's rules, understand? So that you

[math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-11 Thread chentao...@qq.com
Hi all,     The "EmptyClusterStrategy" in KMeansPlusPlusClusterer can be reused MiniBatchKMeansClusterer and other cluster altorithm.     So I think the "EmptyClusterStrategy" should move out from KMeansPlusPlusClusterer(JIRA issue #MATH-1525).     I am not sure if my design is good or not. I