[STATISTICS] Possible imprecision or bias of BinomialDistribution.inverseCumulativeProbability() or NormalDistribution.inverseCumulativeProbability()

2019-02-13 Thread Roman Leventov
I try to approximate inverse CDF of BinomialDistribution with inverse CDF of NormalDistribution. Works pretty well, but there is a noticeable bias, that may be a sign of some imprecision or bias in either BinomialDistribution.inverseCumulativeProbability(), or NormalDistribution.inverseCumulativePr

Re: [VOTE] Release Apache Commons Pool 2.6.1 based on RC2

2019-02-13 Thread Gary Gregory
This VOTE passes with 3 +1 binding votes from: - Bruno P. Kinoshita - Gary Gregory - Rob Tompkins Gary On Tue, Feb 12, 2019 at 10:26 PM Rob Tompkins wrote: > +1 > > > On Feb 12, 2019, at 9:03 AM, Gary Gregory > wrote: > > > > My +1 > > > > Gary > > > >> On Sat, Feb 9, 2019 at 2:10 PM Gary

[RESULT][VOTE] Release Apache Commons Codec 1.12 based on RC3

2019-02-13 Thread Rob Tompkins
This vote passes. Many thanks to all those who voted, namely: Alex Herbert: +1 (non-binding) Bruno Kinoshita: +1 Gary Gregory: +1 Eitan Adler: +1 (non-binding) Rob Tompkins: +1 I will work on performing the release process. I’m going to request a little more time than one would expect here as I

[RNG] Allow exceptions from random generator constructors

2019-02-13 Thread Alex Herbert
I am adding a new family of random generators in commons-rng. The algorithms do not work when the seed state is all zeros [1]. What would be best solution for an API. Here are some options: 1. Throw an exception. 2. Fall-back to a known default seed that works. 3. Allow it and users beware (t

[GitHub] britter opened a new pull request #73: Fix broken test

2019-02-13 Thread GitBox
britter opened a new pull request #73: Fix broken test URL: https://github.com/apache/commons-io/pull/73 The test started to fail after the changes made in b5990be. This is because after changing the type of writer from Appendable to NullWriter the wrong overload of copy would be used:

Re: [commons-rng] 02/02: The commons-math distributions can use a null random generator

2019-02-13 Thread Gilles Sadowski
Hello. Le mer. 13 févr. 2019 à 17:20, a écrit : > > This is an automated email from the ASF dual-hosted git repository. > > aherbert pushed a commit to branch master > in repository https://gitbox.apache.org/repos/asf/commons-rng.git > > commit 367f022a88dedf2b79778f18ad1ed3ec655fffe8 > Author: a

Re: [commons-rng] 02/02: The commons-math distributions can use a null random generator

2019-02-13 Thread Alex Herbert
On 13/02/2019 17:35, Gilles Sadowski wrote: Hello. Le mer. 13 févr. 2019 à 17:20, a écrit : This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git commit 367f022a88dedf2b7

Re: [commons-rng] 02/02: The commons-math distributions can use a null random generator

2019-02-13 Thread Gilles Sadowski
Le mer. 13 févr. 2019 à 18:47, Alex Herbert a écrit : > > On 13/02/2019 17:35, Gilles Sadowski wrote: > > Hello. > > > > Le mer. 13 févr. 2019 à 17:20, a écrit : > >> This is an automated email from the ASF dual-hosted git repository. > >> > >> aherbert pushed a commit to branch master > >> in re

Re: [RNG] Allow exceptions from random generator constructors

2019-02-13 Thread Gilles Sadowski
Hello. Le mer. 13 févr. 2019 à 15:23, Alex Herbert a écrit : > > I am adding a new family of random generators in commons-rng. The > algorithms do not work when the seed state is all zeros [1]. What would > be best solution for an API. Here are some options: > > 1. Throw an exception. -1 The cor

Re: [STATISTICS] Possible imprecision or bias of BinomialDistribution.inverseCumulativeProbability() or NormalDistribution.inverseCumulativeProbability()

2019-02-13 Thread Gilles Sadowski
Hi. Le mer. 13 févr. 2019 à 13:12, Roman Leventov a écrit : > > I try to approximate inverse CDF of BinomialDistribution with inverse CDF > of NormalDistribution. Works pretty well, but there is a noticeable bias, > that may be a sign of some imprecision or bias in either > BinomialDistribution.i

Re: [SCXML] Ways to spawn multiple logical "threads"?

2019-02-13 Thread Woonsan Ko
On Mon, Feb 11, 2019 at 3:17 AM Christofer Dutz wrote: > > Hi all, > > my PLC4X driver using a combination of Apache Commons SCXML (2.0) and Apache > Daffodil is doing even better than I imagined, when starting the whole thing. > > Right now I’m improving the thing to be more on-par with the exis

Re: [STATISTICS] Possible imprecision or bias of BinomialDistribution.inverseCumulativeProbability() or NormalDistribution.inverseCumulativeProbability()

2019-02-13 Thread Eric Barnhill
I have read the Stack Overflow thread and will give a look at you rminimal working example. On Wed, Feb 13, 2019 at 10:45 AM Gilles Sadowski wrote: > Hi. > > Le mer. 13 févr. 2019 à 13:12, Roman Leventov a > écrit : > > > > I try to approximate inverse CDF of BinomialDistribution with inverse C

Re: [commons-rng] 02/02: The commons-math distributions can use a null random generator

2019-02-13 Thread Alex Herbert
> On 13 Feb 2019, at 17:52, Gilles Sadowski wrote: > >> Le mer. 13 févr. 2019 à 18:47, Alex Herbert a >> écrit : >> >>> On 13/02/2019 17:35, Gilles Sadowski wrote: >>> Hello. >>> Le mer. 13 févr. 2019 à 17:20, a écrit : This is an automated email from the ASF dual-hosted git repo

Re: [commons-rng] 02/02: The commons-math distributions can use a null random generator

2019-02-13 Thread Gilles Sadowski
Hi. Le mer. 13 févr. 2019 à 21:21, Alex Herbert a écrit : > > > > > On 13 Feb 2019, at 17:52, Gilles Sadowski wrote: > > > >> Le mer. 13 févr. 2019 à 18:47, Alex Herbert a > >> écrit : > >> > >>> On 13/02/2019 17:35, Gilles Sadowski wrote: > >>> Hello. > >>> > Le mer. 13 févr. 2019 à 17:2

[GitHub] coveralls edited a comment on issue #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
coveralls edited a comment on issue #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#issuecomment-449676652 [![Coverage Status](https://coveralls.io/builds/21633666/badge)](https://coveralls.io/buil

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r256665626 ## File path: .gitignore ## @@ -1,37 +0,0 @@ -*~ Review comment:

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r256665667 ## File path: .travis.yml ## @@ -24,7 +24,6 @@ matrix: - "c

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r256665872 ## File path: Makefile ## @@ -18,7 +18,7 @@ include Makefile.common

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r256665925 ## File path: src/main/java/org/apache/commons/crypto/jna/OpenSslJnaCryptoRan

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r25064 ## File path: src/main/native/org/apache/commons/crypto/OpenSslInfoNative.c #

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r25213 ## File path: src/main/native/org/apache/commons/crypto/cipher/OpenSslNative.c

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r25232 ## File path: src/main/native/org/apache/commons/crypto/cipher/OpenSslNative.c

[GitHub] aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r25254 ## File path: src/main/native/org/apache/commons/crypto/random/OpenSslCryptoR

[GitHub] aremily commented on issue #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1

2019-02-13 Thread GitBox
aremily commented on issue #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#issuecomment-463455606 Please review this latest commit for incorporation into the master branch. Thanks. --