Re: svn commit: r1165701 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java

2011-09-07 Thread Henri Yandell
On Tue, Sep 6, 2011 at 8:16 AM, wrote: > Author: sebb > Date: Tue Sep  6 15:16:47 2011 > New Revision: 1165701 > > URL: http://svn.apache.org/viewvc?rev=1165701&view=rev > Log: > LANG-744 StringUtils throws java.security.AccessControlException on Google > App Engine > Change static code to catch

Re: [lang] Better Validate.isInstance messages

2011-09-07 Thread Henri Yandell
+1 :) On Wed, Sep 7, 2011 at 12:54 PM, Gary Gregory wrote: > On Wed, Sep 7, 2011 at 2:42 PM, sebb wrote: > >> On 7 September 2011 19:26, Gary Gregory wrote: >> > Hi All: >> > >> > The message for the exception thrown by Validate.isInstance does not >> mention >> > the actual type, only the expe

[math] use the more general super-type RealMatrix in place of Array2DRowRealMatrix in package ode?

2011-09-07 Thread Sébastien Brisard
Hi, this question was raised while working on MATH-659, which I quote {quote} In rev1166533, I removed the call to this method in AdamsNordsieckTransformer.initializeHighOrderDerivatives(double, double[], double[][], double[][]). This raises one important question. All across the package o.a.c.m.od

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Ted Dunning
LU is theoretically lower if you have a faster matrix multiply. Otherwise it is about 2n^3/3 + n^2 + n/3, I think. On Wed, Sep 7, 2011 at 9:26 PM, Greg Sterijevski wrote: > I thought that QR is of O(n^3) complexity, while LU is probably in the > vicinity of O(n^2.5). While this is not a barn bur

Re: [math] EmpiricalDistribution

2011-09-07 Thread Phil Steitz
On 9/7/11 11:20 AM, Mikkel Meyer Andersen wrote: > 2011/9/7 Phil Steitz : >> On 9/6/11 8:58 AM, Mikkel Meyer Andersen wrote: >>> 2011/9/6 Phil Steitz : On 9/6/11 12:00 AM, Mikkel Meyer Andersen wrote: > 2011/9/5 Phil Steitz : >> I have a couple of proposals for this class: >> >

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Greg Sterijevski
I thought that QR is of O(n^3) complexity, while LU is probably in the vicinity of O(n^2.5). While this is not a barn burning improvement, it is an improvement. Consider that if you are using the covariance of the parameters in deciding how to make the next step (some kind of inverse hessian rule),

Re: [all] Deploying a component site

2011-09-07 Thread Ralph Goers
vfs has a distribution management definition if you want to look at it. I'm not sure how it would know where to publish to without it. Ralph On Sep 7, 2011, at 1:12 PM, Oliver Heger wrote: > This may be a dump question, but I have trouble with deploying the site for > configuration. > > Acco

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Ted Dunning
It shouldn't be all that different from QR (at most about 2x different). On Wed, Sep 7, 2011 at 1:16 PM, Greg Sterijevski wrote: > It is also my recollection that LU is very quick to calculate. Would it be > possible to allow users to choose? > > On Wed, Sep 7, 2011 at 3:07 PM, Ted Dunning wrote

Re: [all] Deploying a component site

2011-09-07 Thread Simone Tripodi
Hi Oliver! AFAIK mvn site:deploy has effect only once ran site:site, so the right way to publish a site is mvn site:site site:deploy I used to run the shortcut mvn site-deploy At least is how it worked for sites I deployed. HTH, alles gute! Simo http://people.apache.org/~simonetripodi/

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Greg Sterijevski
It is also my recollection that LU is very quick to calculate. Would it be possible to allow users to choose? On Wed, Sep 7, 2011 at 3:07 PM, Ted Dunning wrote: > Does the LUDecomposition not use pivots? LU should always do so since it > is > numerically unstable otherwise. I would be surprise

[all] Deploying a component site

2011-09-07 Thread Oliver Heger
This may be a dump question, but I have trouble with deploying the site for configuration. According to [1] a mvn site:deploy should be sufficient to do the job. However, maven complains that there are no site information in the distribution management element. Well, this is true for the pom

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Ted Dunning
Does the LUDecomposition not use pivots? LU should always do so since it is numerically unstable otherwise. I would be surprised if it doesn't given the normal level of quality in commons math. QR is, of course, almost always preferable to LU as you note. But I would be surprised at radically d

Re: [lang] Better Validate.isInstance messages

2011-09-07 Thread Gary Gregory
On Wed, Sep 7, 2011 at 2:42 PM, sebb wrote: > On 7 September 2011 19:26, Gary Gregory wrote: > > Hi All: > > > > The message for the exception thrown by Validate.isInstance does not > mention > > the actual type, only the expected type. > > > > Is there any objection to changing this? > > > > tr

Re: [lang] Better Validate.isInstance messages

2011-09-07 Thread sebb
On 7 September 2011 19:26, Gary Gregory wrote: > Hi All: > > The message for the exception thrown by Validate.isInstance does not mention > the actual type, only the expected type. > > Is there any objection to changing this? > > trunk: "The validated object is not an instance of %s" > > Proposal

[lang] Better Validate.isInstance messages

2011-09-07 Thread Gary Gregory
Hi All: The message for the exception thrown by Validate.isInstance does not mention the actual type, only the expected type. Is there any objection to changing this? trunk: "The validated object is not an instance of %s" Proposal (1): "The validated object is expected to be an instance of %s,

Re: [math] EmpiricalDistribution

2011-09-07 Thread Mikkel Meyer Andersen
2011/9/7 Phil Steitz : > On 9/6/11 8:58 AM, Mikkel Meyer Andersen wrote: >> 2011/9/6 Phil Steitz : >>> On 9/6/11 12:00 AM, Mikkel Meyer Andersen wrote: 2011/9/5 Phil Steitz : > I have a couple of proposals for this class: > > 0) Merge the interface and impl.   This is consistent wi

[RESULT] Release Commons Configuration 1.7 based on RC3

2011-09-07 Thread Oliver Heger
This vote has passed with binding +1 votes by the following people: Simone Tripodi Gary Gregory Phil Steitz (and my implicit +1 vote. There were no other votes.) Thanks to all who voted and gave feedback. I will start with the release procedure soon. Oliver Am 04.09.2011 21:40, schrieb Oliv

Re: [math] EmpiricalDistribution

2011-09-07 Thread Phil Steitz
On 9/6/11 8:58 AM, Mikkel Meyer Andersen wrote: > 2011/9/6 Phil Steitz : >> On 9/6/11 12:00 AM, Mikkel Meyer Andersen wrote: >>> 2011/9/5 Phil Steitz : I have a couple of proposals for this class: 0) Merge the interface and impl. This is consistent with what we are doing in so

Re: svn commit: r1166221 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java

2011-09-07 Thread Gary Gregory
On Wed, Sep 7, 2011 at 11:28 AM, sebb wrote: > On 7 September 2011 16:18, wrote: > > Author: ggregory > > Date: Wed Sep 7 15:18:43 2011 > > New Revision: 1166221 > > > > URL: http://svn.apache.org/viewvc?rev=1166221&view=rev > > Log: > > Convert to JUnit 4 from 3. > > > > Modified: > > > > c

Re: svn commit: r1166233 - in /commons/proper/lang/trunk/src: main/java/org/apache/commons/lang3/reflect/MethodUtils.java site/changes/changes.xml test/java/org/apache/commons/lang3/reflect/MethodUtil

2011-09-07 Thread Gary Gregory
You are absolutely correct. My bad. Reverting... On Wed, Sep 7, 2011 at 12:03 PM, Jörg Schaible wrote: > Greg, > > can you revert this? These wrapper methods are completely superfluous, it > is > already done by the compiler! > > - Jörg > > --- Weitergeleitete Nachricht (Anfang) > > B

Fwd: svn commit: r1166233 - in /commons/proper/lang/trunk/src: main/java/org/apache/commons/lang3/reflect/MethodUtils.java site/changes/changes.xml test/java/org/apache/commons/lang3/reflect/MethodUti

2011-09-07 Thread Jörg Schaible
Greg, can you revert this? These wrapper methods are completely superfluous, it is already done by the compiler! - Jörg --- Weitergeleitete Nachricht (Anfang) Betreff: svn commit: r1166233 - in /commons/proper/lang/trunk/src: main/java/org/apache/commons/lang3/reflect/MethodUtils.

Re: svn commit: r1166221 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java

2011-09-07 Thread sebb
On 7 September 2011 16:18, wrote: > Author: ggregory > Date: Wed Sep  7 15:18:43 2011 > New Revision: 1166221 > > URL: http://svn.apache.org/viewvc?rev=1166221&view=rev > Log: > Convert to JUnit 4 from 3. > > Modified: >     > commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/refle

Re: [CHAIN][VOTE] accept the 2.0-work brach as proper codebase in /trunk

2011-09-07 Thread Matt Benson
On Mon, Sep 5, 2011 at 10:13 AM, Simone Tripodi wrote: > Hi all guys, > thanks to a user, Elijah Zupancic, that recently submitted CHAIN-53, a > group of Commons committers started working on that component in a > branch 2.0[1] to experiment updates and study improvements in order to > push a next

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Gilles Sadowski
Hi. > >>> > >>>In class "AbstractLeastSquaresOptimizer" (in > >>>"o.a.c.m.optimization.general"), > >>>the method "getCovariances()" uses "LUDecompositionImpl" to compute the > >>>inverse of a matrix. > >>>In my application, this leads to a "SingularMatrixException". If I change > >>>"LUDecomposi

Re: [io] LockableFileWriter.close() ignores exceptional return value of java.io.File.delete()

2011-09-07 Thread sebb
On 7 September 2011 14:24, Gary Gregory wrote: > On Wed, Sep 7, 2011 at 8:45 AM, sebb wrote: > >> On 7 September 2011 13:26, Gary Gregory wrote: >> > Should LockableFileWriter.close() be changed from: >> > >> >    public void close() throws IOException { >> >        try { >> >            out.clo

Re: [io] LockableFileWriter.close() ignores exceptional return value of java.io.File.delete()

2011-09-07 Thread Gary Gregory
On Wed, Sep 7, 2011 at 8:45 AM, sebb wrote: > On 7 September 2011 13:26, Gary Gregory wrote: > > Should LockableFileWriter.close() be changed from: > > > >public void close() throws IOException { > >try { > >out.close(); > >} finally { > >lockFile.dele

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Luc Maisonobe
Hi Gilles, Le 07/09/2011 15:05, Gilles Sadowski a écrit : On Wed, Sep 07, 2011 at 02:46:59PM +0200, Luc Maisonobe wrote: Le 07/09/2011 12:45, Gilles Sadowski a écrit : Hello. In class "AbstractLeastSquaresOptimizer" (in "o.a.c.m.optimization.general"), the method "getCovariances()" uses "LUDe

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Gilles Sadowski
On Wed, Sep 07, 2011 at 02:46:59PM +0200, Luc Maisonobe wrote: > Le 07/09/2011 12:45, Gilles Sadowski a écrit : > >Hello. > > > >In class "AbstractLeastSquaresOptimizer" (in "o.a.c.m.optimization.general"), > >the method "getCovariances()" uses "LUDecompositionImpl" to compute the > >inverse of a m

Re: svn commit: r1166099 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java

2011-09-07 Thread Luc Maisonobe
Le 07/09/2011 14:46, Gilles Sadowski a écrit : On Wed, Sep 07, 2011 at 01:16:03PM +0100, Mark Thomas wrote: On 07/09/2011 12:49, Gilles Sadowski wrote: On Wed, Sep 07, 2011 at 11:39:37AM +0100, Mark Thomas wrote: On 07/09/2011 11:34, er...@apache.org wrote: Author: erans Date: Wed Sep 7 10:3

Re: svn commit: r1166099 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java

2011-09-07 Thread sebb
On 7 September 2011 13:46, Gilles Sadowski wrote: > On Wed, Sep 07, 2011 at 01:16:03PM +0100, Mark Thomas wrote: >> On 07/09/2011 12:49, Gilles Sadowski wrote: >> > On Wed, Sep 07, 2011 at 11:39:37AM +0100, Mark Thomas wrote: >> >> On 07/09/2011 11:34, er...@apache.org wrote: >> >>> Author: erans

Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Luc Maisonobe
Le 07/09/2011 12:45, Gilles Sadowski a écrit : Hello. In class "AbstractLeastSquaresOptimizer" (in "o.a.c.m.optimization.general"), the method "getCovariances()" uses "LUDecompositionImpl" to compute the inverse of a matrix. In my application, this leads to a "SingularMatrixException". If I chan

Re: svn commit: r1166099 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java

2011-09-07 Thread Gilles Sadowski
On Wed, Sep 07, 2011 at 01:16:03PM +0100, Mark Thomas wrote: > On 07/09/2011 12:49, Gilles Sadowski wrote: > > On Wed, Sep 07, 2011 at 11:39:37AM +0100, Mark Thomas wrote: > >> On 07/09/2011 11:34, er...@apache.org wrote: > >>> Author: erans > >>> Date: Wed Sep 7 10:34:49 2011 > >>> New Revision:

Re: [io] LockableFileWriter.close() ignores exceptional return value of java.io.File.delete()

2011-09-07 Thread sebb
On 7 September 2011 13:26, Gary Gregory wrote: > Should LockableFileWriter.close() be changed from: > >    public void close() throws IOException { >        try { >            out.close(); >        } finally { >            lockFile.delete(); >        } > > to: > >    public boolean close() throws

[io] LockableFileWriter.close() ignores exceptional return value of java.io.File.delete()

2011-09-07 Thread Gary Gregory
Should LockableFileWriter.close() be changed from: public void close() throws IOException { try { out.close(); } finally { lockFile.delete(); } to: public boolean close() throws IOException { try { out.close(); }

Re: [parent] time to vote on 22?

2011-09-07 Thread Simone Tripodi
+1 on putting Clirr in the parent +0 on dropping idea plugin Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, Sep 7, 2011 at 12:38 PM, sebb wrote: > On 7 September 2011 11:07, sebb wrote: >> On 7 September 2011 06:10, Gary Gregory wrote: >>> On Wed, Sep 7, 2011 at

Re: svn commit: r1166099 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java

2011-09-07 Thread Mark Thomas
On 07/09/2011 12:49, Gilles Sadowski wrote: > On Wed, Sep 07, 2011 at 11:39:37AM +0100, Mark Thomas wrote: >> On 07/09/2011 11:34, er...@apache.org wrote: >>> Author: erans >>> Date: Wed Sep 7 10:34:49 2011 >>> New Revision: 1166099 >>> >>> URL: http://svn.apache.org/viewvc?rev=1166099&view=rev >>

Re: svn commit: r1166099 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java

2011-09-07 Thread Gilles Sadowski
On Wed, Sep 07, 2011 at 11:39:37AM +0100, Mark Thomas wrote: > On 07/09/2011 11:34, er...@apache.org wrote: > > Author: erans > > Date: Wed Sep 7 10:34:49 2011 > > New Revision: 1166099 > > > > URL: http://svn.apache.org/viewvc?rev=1166099&view=rev > > Log: > > Added "final". > > Moved declaratio

Re: svn commit: r1165846 [2/2] - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java

2011-09-07 Thread sebb
On 7 September 2011 12:07, Gilles Sadowski wrote: > On Wed, Sep 07, 2011 at 11:22:24AM +0100, sebb wrote: >> On 7 September 2011 10:46, Gilles Sadowski >> wrote: >> > On Wed, Sep 07, 2011 at 12:42:06AM +0100, sebb wrote: >> >> On 7 September 2011 00:04, Gilles Sadowski >> >> wrote: >> >> > Hel

Re: svn commit: r1165846 [2/2] - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java

2011-09-07 Thread Gilles Sadowski
On Wed, Sep 07, 2011 at 11:22:24AM +0100, sebb wrote: > On 7 September 2011 10:46, Gilles Sadowski > wrote: > > On Wed, Sep 07, 2011 at 12:42:06AM +0100, sebb wrote: > >> On 7 September 2011 00:04, Gilles Sadowski > >> wrote: > >> > Hello. > >> > > >> >> Modified: > >> >> commons/proper/math/t

[Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer"

2011-09-07 Thread Gilles Sadowski
Hello. In class "AbstractLeastSquaresOptimizer" (in "o.a.c.m.optimization.general"), the method "getCovariances()" uses "LUDecompositionImpl" to compute the inverse of a matrix. In my application, this leads to a "SingularMatrixException". If I change "LUDecompositionImpl" to "QRDecompositionImpl"

Re: svn commit: r1166099 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java

2011-09-07 Thread Mark Thomas
On 07/09/2011 11:34, er...@apache.org wrote: > Author: erans > Date: Wed Sep 7 10:34:49 2011 > New Revision: 1166099 > > URL: http://svn.apache.org/viewvc?rev=1166099&view=rev > Log: > Added "final". > Moved declaration of "sum" where it is used. You might want to re-consider that. I suspect sum

Re: [parent] time to vote on 22?

2011-09-07 Thread sebb
On 7 September 2011 11:07, sebb wrote: > On 7 September 2011 06:10, Gary Gregory wrote: >> On Wed, Sep 7, 2011 at 12:22 AM, Ralph Goers >> wrote: >> >>> Why is the idea plugin defined?  IntelliJ hasn't needed it in a long time. >>> >> >> Good question. >> >> Should we get rid of it? >> > > OK by

Re: [CHAIN][VOTE] accept the 2.0-work brach as proper codebase in /trunk

2011-09-07 Thread James Carman
+1 Sent from tablet device. Please excuse typos and brevity. On Sep 7, 2011 4:27 AM, "Simone Tripodi" wrote: > Hi all, > just to remind that vote closes on Thu 8 Sept on 3:13 PM GMT, please > cast your votes! :) > Many thanks in advance, all the best! > Simo > > http://people.apache.org/~simonet

Re: svn commit: r1165846 [2/2] - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java

2011-09-07 Thread sebb
On 7 September 2011 10:46, Gilles Sadowski wrote: > On Wed, Sep 07, 2011 at 12:42:06AM +0100, sebb wrote: >> On 7 September 2011 00:04, Gilles Sadowski >> wrote: >> > Hello. >> > >> >> Modified: >> >> commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java >> >> URL:

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

2011-09-07 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

Re: [parent] time to vote on 22?

2011-09-07 Thread sebb
On 7 September 2011 06:10, Gary Gregory wrote: > On Wed, Sep 7, 2011 at 12:22 AM, Ralph Goers > wrote: > >> Why is the idea plugin defined?  IntelliJ hasn't needed it in a long time. >> > > Good question. > > Should we get rid of it? > OK by me; never used it. > The warning at the start of all

Re: svn commit: r1165846 [2/2] - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java

2011-09-07 Thread Gilles Sadowski
On Wed, Sep 07, 2011 at 12:42:06AM +0100, sebb wrote: > On 7 September 2011 00:04, Gilles Sadowski > wrote: > > Hello. > > > >> Modified: > >> commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java > >> URL: > >> http://svn.apache.org/viewvc/commons/proper/math/trunk

Re: [math] RealVector.toArray() vs. RealVector.getData()

2011-09-07 Thread Arne Ploese
I would introduce getArrayRef(), which makes clear what exactly happen. It is after all the same like spares/dense discussion ... Arne Am Mittwoch, den 07.09.2011, 08:11 +0200 schrieb Sébastien Brisard: > In fact, getArrayRef does not belong to the RealVector class. It is > only defined in Array

Re: [CHAIN][VOTE] accept the 2.0-work brach as proper codebase in /trunk

2011-09-07 Thread Simone Tripodi
Hi all, just to remind that vote closes on Thu 8 Sept on 3:13 PM GMT, please cast your votes! :) Many thanks in advance, all the best! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Mon, Sep 5, 2011 at 6:15 PM, Simone Tripodi wrote: > Hi Jochen! > we still haven't beca

Re: [math] RealVector.toArray() vs. RealVector.getData()

2011-09-07 Thread Luc Maisonobe
Le 07/09/2011 08:27, Sébastien Brisard a écrit : True enough. Maybe the use of one those two could be strongly discouraged. I personally was puzzled the first time I saw those two methods. I was even wondering wether one of them would not return a shallow copy (when possible), while the other wou

Re: [MATH-653] Closing MATH-653?

2011-09-07 Thread Luc Maisonobe
Le 07/09/2011 04:16, Sébastien Brisard a écrit : I don't think MATH-653 has been marked as resolved... You can do so, you should have proper karma. Luc 2011/9/6 Gilles Sadowski: [...] Also, when opening a new ticket, should it be assigned to someone, if this person agrees to take care o