[Math] Add RMS computation in DescriptiveStatistics

2015-01-14 Thread Gilles
Hi. Any objection to my adding a getQuadraticMean() method in DescriptiveStatistics (in package o.a.c.m.stat)? Regards, Gilles - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail:

Re: [Math] Java version

2015-01-14 Thread Hank Grabowski
Java 8 has only been out for less than a year. There is still a sizable percentage of groups that have not converted up to Java 8 for myriad reasons. While I was surprised that we are requiring backwards compatibility with the ten year old Java 5 I think jumping all the way to requiring Java 8

[Math] Refactoring DescriptiveStatistics

2015-01-14 Thread Gilles
Hi. This class seems a good candidate for using the fluent API which we agreed to use more widely in CM. Having the various stat implementations final would allow to get rid of the synchronized keywords. I also wonder if some caching mechanism wouldn't be necessary to improve efficiency (the

Re: [Math] Java version

2015-01-14 Thread Ole Ersoy
Converting an example from the user guide using Lambdas (Not an expert so bear with me - And note that the inputArray inputStream): BEFORE: // Get a DescriptiveStatistics instance DescriptiveStatistics stats = new DescriptiveStatistics(); // Add the data from the array for( int i = 0; i

Re: [Math] Add RMS computation in DescriptiveStatistics

2015-01-14 Thread Phil Steitz
On 1/14/15 12:09 PM, Gilles wrote: Hi. Any objection to my adding a getQuadraticMean() method in DescriptiveStatistics (in package o.a.c.m.stat)? +1 and can also be added to SummaryStatistics and as an individual moment stat. Phil

[Math] 3.4 not yet released according to JIRA

2015-01-14 Thread Gilles
Hi. How does one update the status of 3.4 in the current version of JIRA? Regards, Gilles - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [Math] Add RMS computation in DescriptiveStatistics

2015-01-14 Thread Gilles
On Wed, 14 Jan 2015 12:36:08 -0700, Phil Steitz wrote: On 1/14/15 12:09 PM, Gilles wrote: Hi. Any objection to my adding a getQuadraticMean() method in DescriptiveStatistics (in package o.a.c.m.stat)? +1 and can also be added to SummaryStatistics JIRA issue created. and as an individual

Re: [Math] 3.4 not yet released according to JIRA

2015-01-14 Thread Thomas Neidhart
On 01/14/2015 11:18 PM, Gilles wrote: Hi. How does one update the status of 3.4 in the current version of JIRA? done. You have to switch to the Administration view in JIRA and then navigate to Versions. Thomas - To

Re: [Math] Java version

2015-01-14 Thread Silviu Burcea
I think Rebel Labs or Plumbr have some metrics about JDK usage. On Wed, Jan 14, 2015 at 10:21 PM, Hank Grabowski h...@applieddefense.com wrote: Java 8 has only been out for less than a year. There is still a sizable percentage of groups that have not converted up to Java 8 for myriad

Jenkins build became unstable: Commons Math #32

2015-01-14 Thread Apache Jenkins Server
See https://builds.apache.org/job/Commons%20Math/32/ - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [Math] Creating reports to be included in the user guide

2015-01-14 Thread Phil Steitz
On 1/14/15 7:03 AM, Gilles wrote: On Tue, 13 Jan 2015 20:25:53 -0700, Phil Steitz wrote: On 1/13/15 6:24 PM, Gilles wrote: Hello. Now that we can run the code located in the src/userguide directory, I'd propose that some examples be written that produce various reports for inclusion in the

Re: [Math] Java version

2015-01-14 Thread Phil Steitz
On 1/14/15 4:38 AM, sebb wrote: On 14 January 2015 at 08:18, Martin Grotle Soukup martin.grotle.sou...@gmail.com wrote: Hi, My two cents in favour of java 8: IIUC the next major release will break backwards compatibility and aims to clean up the API. Taking a look at the release frequency

Re: [ALL] Commons Parent - include Animal Sniffer?

2015-01-14 Thread sebb
On 14 January 2015 at 12:16, Thomas Neidhart thomas.neidh...@gmail.com wrote: I think it would be good to add it by default with the option to disable it on a component level. According to http://mojo.codehaus.org/animal-sniffer-maven-plugin/plugin-info.html, the minimum requirements are JDK

Re: Updated Commons-RDF

2015-01-14 Thread Reto Gmür
There has been an indirect reply here: https://github.com/commons-rdf/commons-rdf/issues/43, as the issue point to this thread I though to add a back-link but I would prefer to have a discussion here and to discuss about concrete code proposals According to Sergio the proposal is a wrapper

Re: [ALL] Commons Parent - include Animal Sniffer?

2015-01-14 Thread Emmanuel Bourg
Le 14/01/2015 00:57, sebb a écrit : WDYT? That sounds like a good idea. Is it possible to bind the plugin to the package or deploy phase to avoid slowing the build in compile/test operations? Emmanuel Bourg - To unsubscribe,

Re: [Math] Java version

2015-01-14 Thread Martin Grotle Soukup
Hi, My two cents in favour of java 8: IIUC the next major release will break backwards compatibility and aims to clean up the API. Taking a look at the release frequency of commons math [1], it shows releases every 9-12 months (give or take). Given that the next big release is a major one (4.0),

Re: [Math] Creating reports to be included in the user guide

2015-01-14 Thread Gilles
On Tue, 13 Jan 2015 20:25:53 -0700, Phil Steitz wrote: On 1/13/15 6:24 PM, Gilles wrote: Hello. Now that we can run the code located in the src/userguide directory, I'd propose that some examples be written that produce various reports for inclusion in the user guide. A good starting point

Re: [ALL] Commons Parent - include Animal Sniffer?

2015-01-14 Thread sebb
On 14 January 2015 at 01:42, Gary Gregory garydgreg...@gmail.com wrote: On Tue, Jan 13, 2015 at 6:57 PM, sebb seb...@gmail.com wrote: I've been experimenting with Animal Sniffer in NET as a basic check that the code does not try to use method etc which are not present in the target Java

Re: [ALL] Commons Parent - include Animal Sniffer?

2015-01-14 Thread Benedikt Ritter
2015-01-14 0:57 GMT+01:00 sebb seb...@gmail.com: I've been experimenting with Animal Sniffer in NET as a basic check that the code does not try to use method etc which are not present in the target Java version. [For example, java.net.IDN requires Java 1.6+] Although the plugin is not

Re: [Math] Java version

2015-01-14 Thread sebb
On 14 January 2015 at 08:18, Martin Grotle Soukup martin.grotle.sou...@gmail.com wrote: Hi, My two cents in favour of java 8: IIUC the next major release will break backwards compatibility and aims to clean up the API. Taking a look at the release frequency of commons math [1], it shows

[ANNOUNCEMENT] Apache Commons Validator 1.4.1 released!

2015-01-14 Thread Benedikt Ritter
The Apache Commons Team is pleased to announce the release of Apache Commons Validator 1.4.1. Apache Commons Validator provides the building blocks for both client side validation and server side data validation. It may be used standalone or with a framework like Struts. 1.4.1 is fully binary

Re: [MATH] results on H11 using 1.5/6/7

2015-01-14 Thread sebb
On 14 January 2015 at 00:36, Phil Steitz phil.ste...@gmail.com wrote: Why only sometimes? I'm not sure. Is a test run completely deterministic, or can the order of tests vary? i.e. could the JIT see different conditions in different runs and sometimes decide not to optimise away the code? Or

Re: [continuum] BUILD FAILURE: Apache Commons Validator - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2015-01-14 Thread sebb
On 14 January 2015 at 07:48, Benedikt Ritter brit...@apache.org wrote: 2015-01-13 23:11 GMT+01:00 sebb seb...@gmail.com: On 13 January 2015 at 22:02, sebb seb...@gmail.com wrote: Rats! Looks like a bug here: final String authorityASCII = DomainValidator.unicodeToASCII(authority); This

Re: [MATH] results on H11 using 1.5/6/7

2015-01-14 Thread Thomas Neidhart
This may be a good explanation. When I did run the tests, the result was dependent on the number of tests executed. E.g. when only running ComplexTests, no failures were reported. Only when the FastMathTests were also executed. As the FastMathTests do a lot of computations, it is safe to assume

Re: [ALL] Commons Parent - include Animal Sniffer?

2015-01-14 Thread Thomas Neidhart
I think it would be good to add it by default with the option to disable it on a component level. According to http://mojo.codehaus.org/animal-sniffer-maven-plugin/plugin-info.html, the minimum requirements are JDK 1.5 and maven 2.0, but I wonder if anybody would use an older jdk to build a