[ANNOUNCE] Apache Commons RNG 1.4 released

2021-09-14 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of
version 1.4 of "Apache Commons RNG".

Apache Commons RNG provides Java implementations of pseudo-random
numbers generators.

Changes in this version include:

New features:
o RNG-156: New "DirichletSampler" class to sample from a Dirichlet
distribution.
o RNG-137: New "StableSampler" class to sample from a stable distribution.
o RNG-138: New "CompositeSamplers" class to sample from a weighted
combination
   of samplers.
o RNG-140: New "LongSampler" interface for sampling a long. New
   "UniformLongSampler" to sample from a range.
o RNG-151: New "ZigguratSampler" implementation of the modified "Ziggurat"
   algorithm for Gaussian and exponential sampling.
o RNG-147: New "LevySampler" to sample from a Levy distribution.
o RNG-145: "ContinuousUniformSampler": Add optional support for an open
   interval: (lower, upper).
o RNG-143: "RandomSource": Add an instance create method. Deprecate the
static
   create method.
o RNG-136: New "ObjectSampler" and "SharedStateObjectSampler"
interfaces.
   These interfaces are implemented by samplers returning an object.
   This changes the functional compatibility of existing samplers
that
   implement SharedStatedSampler: CollectionSampler;
   CombinationSampler; DiscreteProbabilityCollectionSampler;
   PermutationSampler; and UnitSphereSampler.
   The method signature of the SharedStateSampler interface
remains
   'public R withUniformRandomProvider(UniformRandomProvider)'. The
   result can still be assigned to an instance of the same class R;
it
   can no longer be assigned to an instance of
SharedStatedSampler.
   It can now be assigned to SharedStateObjectSampler
   which can be used to generate samples of type .
   Code that assigned to SharedStatedSampler should be updated.
o RNG-135: New "TetrahedronSampler" to sample uniformly from a tetrahedron.
o RNG-134: New "BoxSampler" to sample uniformly from a box (or
hyperrectangle).
o RNG-133: New "LineSampler" to sample uniformly on a line segment.
o RNG-131: New "TriangleSampler" to sample uniformly from a triangle.
o RNG-132: New "o.a.c.rng.sampling.shape" package for sampling coordinates
   from shapes.
o RNG-128: New "UnitBallSampler" to generate coordinates uniformly within an
   n-unit ball.
o RNG-126: "PoissonSamplerCache": Method to return a
SharedStateDiscreteSampler.
o RNG-124: Add fixed increment versions of the PCG generators.

Fixed Bugs:
o RNG-159: "ZigguratSampler.NormalizedGaussian": Corrected biased sampling
   within convex regions at the edge of the ziggurat.
o RNG-146: "GaussianSampler": Prevent infinite mean and standard deviation.
o RNG-144: "AhrensDieterExponentialSampler": Avoid possible infinite loop
   during sampling if the underlying UniformRandomProvider creates a
   zero for the uniform deviate.
o RNG-130: "UnitSphereSampler": Fix 1 dimension sampling to only return
vectors
   containing 1 or -1.

Changes:
o RNG-163: Update test suite to JUnit 5.
o  Simplify assertions with simpler equivalent. Thanks to Arturo
Bernal.
o RNG-162: Update the minimum Java version to 1.8.
o RNG-160: "ZigguratSampler.NormalizedGaussian": Performance improvement by
   extracting ziggurat edge sampling to a separate method.
o RNG-157: "UnitSphereSampler": Deprecate public constructor. Use the
factory
   constructor to create an optimal sampler.
o RNG-155: "ZigguratNormalizedGaussianSampler": Update to a table size of
256.
o RNG-152: Update samplers to use ZigguratSampler.NormalizedGaussian for
   Gaussian deviates.
o RNG-154: Update Gaussian samplers to avoid infinity in the tails of the
   distribution. Applies to: ZigguratNormalisedGaussianSampler;
   BoxMullerNormalizedGaussianSampler; and BoxMullerGaussianSampler.
o RNG-153: "UnitBallSampler": Update to use the ZigguratSampler for an
   exponential deviate for ball point picking.
o RNG-150: Update "LargeMeanPoissonSampler" and "GeometricSampler" to use
the
   ZigguratSampler for exponential deviates.
o RNG-129: "UnitSphereSampler": Improve performance with specialisations
for low
   order dimensions. Added a factory constructor to create the
sampler.


Historical list of changes:
  https://commons.apache.org/proper/commons-rng/changes-report.html

For complete information on Apache Commons RNG, including instructions on
how
to submit bug reports, patches, or suggestions for improvement, see the
Apache Commons RNG website:
  https://commons.apache.org/proper/commons-rng/

Distribution packages can be downloaded from
  https://commons.apache.org/proper/commons-rng/download_rng.cgi

When downloading, please verify signatures using the KEYS file
available at
  https://www.apache.org/dist/commons/KEYS

Maven artifacts are also available in the centr

[ANNOUNCE] Apache Commons RNG 1.4 released

2021-09-14 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of
version 1.4 of "Apache Commons RNG".

Apache Commons RNG provides Java implementations of pseudo-random
numbers generators.

Changes in this version include:

New features:
o RNG-156: New "DirichletSampler" class to sample from a Dirichlet distribution.
o RNG-137: New "StableSampler" class to sample from a stable distribution.
o RNG-138: New "CompositeSamplers" class to sample from a weighted combination
   of samplers.
o RNG-140: New "LongSampler" interface for sampling a long. New
   "UniformLongSampler" to sample from a range.
o RNG-151: New "ZigguratSampler" implementation of the modified "Ziggurat"
   algorithm for Gaussian and exponential sampling.
o RNG-147: New "LevySampler" to sample from a Levy distribution.
o RNG-145: "ContinuousUniformSampler": Add optional support for an open
   interval: (lower, upper).
o RNG-143: "RandomSource": Add an instance create method. Deprecate the static
   create method.
o RNG-136: New "ObjectSampler" and "SharedStateObjectSampler" interfaces.
   These interfaces are implemented by samplers returning an object.
   This changes the functional compatibility of existing samplers that
   implement SharedStatedSampler: CollectionSampler;
   CombinationSampler; DiscreteProbabilityCollectionSampler;
   PermutationSampler; and UnitSphereSampler.
   The method signature of the SharedStateSampler interface remains
   'public R withUniformRandomProvider(UniformRandomProvider)'. The
   result can still be assigned to an instance of the same class R; it
   can no longer be assigned to an instance of SharedStatedSampler.
   It can now be assigned to SharedStateObjectSampler
   which can be used to generate samples of type .
   Code that assigned to SharedStatedSampler should be updated.
o RNG-135: New "TetrahedronSampler" to sample uniformly from a tetrahedron.
o RNG-134: New "BoxSampler" to sample uniformly from a box (or hyperrectangle).
o RNG-133: New "LineSampler" to sample uniformly on a line segment.
o RNG-131: New "TriangleSampler" to sample uniformly from a triangle.
o RNG-132: New "o.a.c.rng.sampling.shape" package for sampling coordinates
   from shapes.
o RNG-128: New "UnitBallSampler" to generate coordinates uniformly within an
   n-unit ball.
o RNG-126: "PoissonSamplerCache": Method to return a SharedStateDiscreteSampler.
o RNG-124: Add fixed increment versions of the PCG generators.

Fixed Bugs:
o RNG-159: "ZigguratSampler.NormalizedGaussian": Corrected biased sampling
   within convex regions at the edge of the ziggurat.
o RNG-146: "GaussianSampler": Prevent infinite mean and standard deviation.
o RNG-144: "AhrensDieterExponentialSampler": Avoid possible infinite loop
   during sampling if the underlying UniformRandomProvider creates a
   zero for the uniform deviate.
o RNG-130: "UnitSphereSampler": Fix 1 dimension sampling to only return vectors
   containing 1 or -1.

Changes:
o RNG-163: Update test suite to JUnit 5.
o  Simplify assertions with simpler equivalent. Thanks to Arturo Bernal.
o RNG-162: Update the minimum Java version to 1.8.
o RNG-160: "ZigguratSampler.NormalizedGaussian": Performance improvement by
   extracting ziggurat edge sampling to a separate method.
o RNG-157: "UnitSphereSampler": Deprecate public constructor. Use the factory
   constructor to create an optimal sampler.
o RNG-155: "ZigguratNormalizedGaussianSampler": Update to a table size of 256.
o RNG-152: Update samplers to use ZigguratSampler.NormalizedGaussian for
   Gaussian deviates.
o RNG-154: Update Gaussian samplers to avoid infinity in the tails of the
   distribution. Applies to: ZigguratNormalisedGaussianSampler;
   BoxMullerNormalizedGaussianSampler; and BoxMullerGaussianSampler.
o RNG-153: "UnitBallSampler": Update to use the ZigguratSampler for an
   exponential deviate for ball point picking.
o RNG-150: Update "LargeMeanPoissonSampler" and "GeometricSampler" to use the
   ZigguratSampler for exponential deviates.
o RNG-129: "UnitSphereSampler": Improve performance with specialisations for low
   order dimensions. Added a factory constructor to create the sampler.


Historical list of changes:
  https://commons.apache.org/proper/commons-rng/changes-report.html

For complete information on Apache Commons RNG, including instructions on how
to submit bug reports, patches, or suggestions for improvement, see the
Apache Commons RNG website:
  https://commons.apache.org/proper/commons-rng/

Distribution packages can be downloaded from
  https://commons.apache.org/proper/commons-rng/download_rng.cgi

When downloading, please verify signatures using the KEYS file
available at
  https://www.apache.org/dist/commons/KEYS

Maven artifacts are also available in the centr

Re: [commons-math] branch master updated: Upgrade dependency.

2021-09-14 Thread Alex Herbert
Hi,

You have beaten me to this. I have updated the entire distribution
code and will push an update when I have rebased from this change.

Alex

On Tue, 14 Sept 2021 at 12:35,  wrote:
>
> This is an automated email from the ASF dual-hosted git repository.
>
> erans pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/commons-math.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
>  new acfc270  Upgrade dependency.
> acfc270 is described below
>
> commit acfc27083412f57a71a497e500070a08a956300d
> Author: Gilles Sadowski 
> AuthorDate: Tue Sep 14 13:34:44 2021 +0200
>
> Upgrade dependency.
> ---
>  pom.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pom.xml b/pom.xml
> index 96c5848..a80f258 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -63,7 +63,7 @@
>  8.29
>  2.7.2
>  1.0
> -1.4-SNAPSHOT
> +1.4
>  1.0
>  
> 1.0-SNAPSHOT
>  3.6.1

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [commons-math] branch master updated: Upgrade dependency.

2021-09-14 Thread Gilles Sadowski
Hello.

Le mar. 14 sept. 2021 à 14:09, Alex Herbert  a écrit :
>
> Hi,
>
> You have beaten me to this. I have updated the entire distribution
> code and will push an update when I have rebased from this change.

Sorry; I hadn't imagined that there were so many pending changes.

What do you think of an official release of [Statistics]?

Regards,
Gilles

>
> Alex
>
> On Tue, 14 Sept 2021 at 12:35,  wrote:
> >
> > This is an automated email from the ASF dual-hosted git repository.
> >
> > erans pushed a commit to branch master
> > in repository https://gitbox.apache.org/repos/asf/commons-math.git
> >
> >
> > The following commit(s) were added to refs/heads/master by this push:
> >  new acfc270  Upgrade dependency.
> > acfc270 is described below
> >
> > commit acfc27083412f57a71a497e500070a08a956300d
> > Author: Gilles Sadowski 
> > AuthorDate: Tue Sep 14 13:34:44 2021 +0200
> >
> > Upgrade dependency.
> > ---
> >  pom.xml | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/pom.xml b/pom.xml
> > index 96c5848..a80f258 100644
> > --- a/pom.xml
> > +++ b/pom.xml
> > @@ -63,7 +63,7 @@
> >  8.29
> >  2.7.2
> >  1.0
> > -1.4-SNAPSHOT
> > +1.4
> >  1.0
> >  
> > 1.0-SNAPSHOT
> >  3.6.1
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [commons-math] branch master updated: Upgrade dependency.

2021-09-14 Thread Alex Herbert
On Tue, 14 Sept 2021 at 15:17, Gilles Sadowski  wrote:
> What do you think of an official release of [Statistics]?

I'll start a thread to discuss...

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Release Announcement: General Availability of Java 17 / JDK 17

2021-09-14 Thread Rory O'Donnell

Hi Benedikt,

*Release Announcement: General Availability of Java 17 / JDK 17 *

**

 * JDK 17, the reference implementation of Java 17, is now Generally
   Available. [1]
 * GPL-licensed OpenJDK builds from Oracle are available here:
   https://jdk.java.net/17/ 
 * JDK 17 Release notes
   
 * Inside Java: The Arrival of Java 17!
   

*JDK 17 includes the following features [2]:*

 * JEP 306: Restore Always-Strict Floating-Point Semantics
   
 * JEP 356: Enhanced Pseudo-Random Number Generators
   
 * JEP 382: New macOS Rendering Pipeline
   
 * JEP 391: macOS/AArch64 Port 
 * JEP 398: Deprecate the Applet API for Removal
   
 * JEP 403: Strongly Encapsulate JDK Internals
   
 * JEP 406: Pattern Matching for switch (Preview)
   
 * JEP 407: Remove RMI Activation 
 * JEP 409: Sealed Classes 
 * JEP 410: Remove the Experimental AOT and JIT Compiler
   
 * JEP 411: Deprecate the Security Manager for Removal
   
 * JEP 412: Foreign Function & Memory API (Incubator)
   
 * JEP 414: Vector API (Second Incubator)
   
 * JEP 415: Context-Specific Deserialization Filters
   

*JDK 17 will be a long-term-support (LTS) release* from most 
vendors,including Oracle. If you’re upgrading from the previous LTS 
release,JDK 11, then you have many more JEPs to look forward to, 
summarized here:


https://openjdk.java.net/jdk/17/jeps-since-jdk-11 




Thanks to everyone who contributed to JDK 17, whether by creating 
features or enhancements, logging bugs, or


downloading and testing the early-access builds.


*OpenJDK 18 Early Access build 14 is now available at 
https://jdk.java.net/18/ 

*

 * These early access, open source builds are provided under the GNU
   General Public License, version 2, with the Classpath Exception
   .
 * JEPs targeted to JDK 18, so far:
 o JEP 400: UTF-8 by Default 
 o JEP 413: Code Snippets in Java API Documentation
   

 * Release Notes are available at https://jdk.java.net/18/release-notes
   

 * Significant changes since the last availability email:
 o JDK-8271745: Fix Issues With the KW and KWP Modes of SunJCE Provider
 o JDK-8262186: Call X509KeyManager.chooseClientAlias once for all
   key types
 o JDK-8225083: Remove Google certificate that is expiring in
   December 2021
 o JDK-8251329: Zip File System Provider Throws ZipException when
   entry name element contains "." or ".."
 o JDK-8225082: Remove IdenTrust certificate that is expiring in
   September 2021
 o

*Project Loom Early-Access Builds*

 * Build 18-loom+2-74 (2021/8/7) based on jdk-18+9
    is
   available - https://jdk.java.net/loom/ 
 * These early access, open source builds are provided under the GNU
   General Public License, version 2, with the Classpath Exception
   .
 * Please send feedback via e-mail to loom-...@openjdk.java.net
   . To send e-mail to this address
   you must first subscribe to the mailing list
   .

Rgds,Rory


[1] 
https://mail.openjdk.java.net/pipermail/jdk-dev/2021-September/006037.html


[2] https://openjdk.java.net/projects/jdk/17/ 





[statistics] Release 1.0

2021-09-14 Thread Alex Herbert
The statistics component is a candidate for a release.

The statistics distributions module contains mature functionality
ported from CM. The dependency on [numbers] is now satisfied as that
has had an official release. There is nothing outstanding in the
project Jira. Thus a first release of this component can be performed.

Items before a release:

- Remaining Jira tickets should be checked and resolved
- Should a release go out as an alpha, beta or simply a 1.0?

Alex

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Java 17 is fully baked

2021-09-14 Thread Gary Gregory
I expect to be switching GitHub Action builds from 16 to 17 and replacing
17-ea with 18-ea.

Gary