[GUMP@vmgump]: Project commons-collections4 (in module apache-commons) failed

2011-01-19 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-collections4 has an issue affecting its community integration. Thi

issues with org.apache.commons.pool2.performance. PerformanceTest

2011-01-19 Thread zoly farkas
the use volatiles : waiting,complete,totalBorrowTime, totalReturnTime, nrSamples is not correct. for ex the following totalBorrowTime += borrowTime is not atomic resulting in a race condition. one way to fix this is using the java.util.concurent Atomic variants or even better, make these var

Re: svn commit: r1060917 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java

2011-01-19 Thread Mikkel Meyer Andersen
Never mind - didn't see the commit. Den 20/01/2011 02.34 skrev "Mikkel Meyer Andersen" : > Okay, cheers. Shouldn't the javadoc reflect the +/-0 or is that implicit? > Den 20/01/2011 02.21 skrev "sebb" : >> On 20 January 2011 01:16, Mikkel Meyer Andersen wrote: >>> Hi, >>> >>> Just a quick question

Re: svn commit: r1060917 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java

2011-01-19 Thread Mikkel Meyer Andersen
Okay, cheers. Shouldn't the javadoc reflect the +/-0 or is that implicit? Den 20/01/2011 02.21 skrev "sebb" : > On 20 January 2011 01:16, Mikkel Meyer Andersen wrote: >> Hi, >> >> Just a quick question: when a == 0.0f or NA, then a is returned. Why not >> just put a special isNA() in the beginning

Re: svn commit: r1060917 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java

2011-01-19 Thread sebb
On 20 January 2011 01:16, Mikkel Meyer Andersen wrote: > Hi, > > Just a quick question: when a == 0.0f or NA, then a is returned. Why not > just put a special isNA() in the beginning and 0.0f in the existing code? Because we want to return -0.0 if a == -0.0 and +0.0 if a == +0.0 > Wouldn't it sa

Re: svn commit: r1060917 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java

2011-01-19 Thread Mikkel Meyer Andersen
Hi, Just a quick question: when a == 0.0f or NA, then a is returned. Why not just put a special isNA() in the beginning and 0.0f in the existing code? Wouldn't it save a tiny bit not loading a? Cheers, Mikkel. Den 19/01/2011 20.26 skrev : > Author: sebb > Date: Wed Jan 19 19:26:19 2011 > New Revi

RE: [commons-parent] Using maven-site-plugin 2.x with Maven 2.x and maven-site-plugin 3.x with Maven 3.x

2011-01-19 Thread Gary Gregory
> -Original Message- > From: Dennis Lundberg [mailto:denn...@apache.org] > Sent: Wednesday, January 19, 2011 16:27 > To: Commons Developers List > Subject: Re: [commons-parent] Using maven-site-plugin 2.x with Maven 2.x > and maven-site-plugin 3.x with Maven 3.x > > On 2011-01-19 16:06, Ga

Re: [commons-parent] Using maven-site-plugin 2.x with Maven 2.x and maven-site-plugin 3.x with Maven 3.x

2011-01-19 Thread Dennis Lundberg
On 2011-01-19 16:06, Gary Gregory wrote: > Hi All: > > I'd like to get Maven 3 working with various projects and [codec] today. > > To get Maven 3 to work, I'd like to add the following profile to the > commons-parent POM. > > See http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/mav

Re: [commons-parent] Using maven-site-plugin 2.x with Maven 2.x and maven-site-plugin 3.x with Maven 3.x

2011-01-19 Thread Simone Tripodi
+1 for me Gary, you've full support from my side on this. All the best, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, Jan 19, 2011 at 4:06 PM, Gary Gregory wrote: > Hi All: > > I'd like to get Maven 3 working with various projects and [codec] today. > > To get Ma

Re: [MATH] generating -0.0 rather than 0.0 when incrementing a negative number

2011-01-19 Thread sebb
On 19 January 2011 18:28, Ted Dunning wrote: > No.  Indeed not.  And if it calls floor then it isn't likely to give the > desired -0 result. > > How important is it to return -0 instead of +0 anyway? It can mess up comparisons of Doubles: public static void main(String z[]){ Double n

Re: [MATH] generating -0.0 rather than 0.0 when incrementing a negative number

2011-01-19 Thread Ted Dunning
No. Indeed not. And if it calls floor then it isn't likely to give the desired -0 result. How important is it to return -0 instead of +0 anyway? On Wed, Jan 19, 2011 at 10:17 AM, sebb wrote: > On 19 January 2011 16:25, Ted Dunning wrote: > > Slightly slower, > > Unfortunately, I suspect it i

Re: [MATH] generating -0.0 rather than 0.0 when incrementing a negative number

2011-01-19 Thread sebb
On 19 January 2011 16:25, Ted Dunning wrote: > Slightly slower, Unfortunately, I suspect it is about twice as slow for this case, because FastMath.ceil() actually calls FastMath.floor(). Not ideal for FastMath ! > >    double y = floor(x): >    double d = x - y; >    if (d > 0.5) { >         re

Re: [MATH] generating -0.0 rather than 0.0 when incrementing a negative number

2011-01-19 Thread Ted Dunning
Slightly slower, double y = floor(x): double d = x - y; if (d > 0.5) { return ceil(x); } else { return y; } but it gives your desired result with little (visible) special casing. On Wed, Jan 19, 2011 at 8:04 AM, sebb wrote: > FastMath.rint(x) has the follo

[MATH] generating -0.0 rather than 0.0 when incrementing a negative number

2011-01-19 Thread sebb
FastMath.rint(x) has the following code: double y = floor(x); double d = x - y; if (d > 0.5) { return y+1.0; // round up } ... For -0.5 < x < 0 the rounding up generates +0.0 - rather than -0.0, as expected by the sign of the input parameter. Is the

Re: release commons validator 1.4

2011-01-19 Thread Niall Pemberton
On Wed, Jan 19, 2011 at 3:09 PM, Jacob Zwiers wrote: > I'll echo that. > > I had put a query to the user's list a last week asking a similar question. > > I understand that the committers are working on JSR-303 and validator2 > releases. > > However, I suspect we're not the only ones looking to g

RE: release commons validator 1.4

2011-01-19 Thread Jacob Zwiers
I'll echo that. I had put a query to the user's list a last week asking a similar question. I understand that the committers are working on JSR-303 and validator2 releases. However, I suspect we're not the only ones looking to get get off Jakarta-ORO sooner than later. Is there an interest amo

[commons-parent] Using maven-site-plugin 2.x with Maven 2.x and maven-site-plugin 3.x with Maven 3.x

2011-01-19 Thread Gary Gregory
Hi All: I'd like to get Maven 3 working with various projects and [codec] today. To get Maven 3 to work, I'd like to add the following profile to the commons-parent POM. See http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html Any objections or thoughts? Thank you, Gary

release commons validator 1.4

2011-01-19 Thread David Karlsen
Hi. We'd be very interested in http://commons.apache.org/validator/apidocs/org/apache/commons/validator/routines/checkdigit/LuhnCheckDigit.html- could 1.4 be released? It's been quite a while since the last 1.3.1 relase -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

[GUMP@vmgump]: Project commons-proxy-test (in module apache-commons) failed

2011-01-19 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-proxy-test has an issue affecting its community integration. This

[GUMP@vmgump]: Project commons-jelly-tags-quartz (in module commons-jelly) failed

2011-01-19 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-jelly-tags-quartz has an issue affecting its community integratio

[GUMP@vmgump]: Project commons-scxml-test (in module apache-commons) failed

2011-01-19 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-scxml-test has an issue affecting its community integration. This