Re: [math] right way to throw IndexOutOfBoundsException?

2011-08-07 Thread Gilles Sadowski
On Sun, Aug 07, 2011 at 10:47:41PM -0700, Phil Steitz wrote: > I was about to do this: > throw MathRuntimeException.createArrayIndexOutOfBoundsException( > LocalizedFormats.OUT_OF_RANGE_SIMPLE, index, 0, > parameters.length); > > but remembered that this is now deprecated. Do

[continuum] BUILD FAILURE: Apache Commons - Commons Lang - Default Maven 2 Build Definition (Java 1.5)

2011-08-07 Thread Continuum@vmbuild
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=11066&projectId=95 Build statistics: State: Failed Previous State: Failed Started at: Mon 8 Aug 2011 06:25:34 + Finished at: Mon 8 Aug 2011 06:26:21 + Total time: 46s Build Trigger: Schedule Build

[math] right way to throw IndexOutOfBoundsException?

2011-08-07 Thread Phil Steitz
I was about to do this: throw MathRuntimeException.createArrayIndexOutOfBoundsException( LocalizedFormats.OUT_OF_RANGE_SIMPLE, index, 0, parameters.length); but remembered that this is now deprecated. Do I need to add a MathArrayIndexOutOfBoundsException extending the JDK exce

[continuum] BUILD FAILURE: Apache Commons - Commons Lang - Default Maven 2 Build Definition (Java 1.5)

2011-08-07 Thread Continuum@vmbuild
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=11063&projectId=95 Build statistics: State: Failed Previous State: Failed Started at: Mon 8 Aug 2011 05:23:35 + Finished at: Mon 8 Aug 2011 05:23:56 + Total time: 21s Build Trigger: Schedule Build

Re: [compress] Need API Feedback/Advice for ZipArchiveOutputStream ans ZIP64

2011-08-07 Thread Phil Steitz
On 8/6/11 9:30 PM, Stefan Bodewig wrote: > On 2011-08-06, Phil Steitz wrote: > >> On 8/5/11 9:40 PM, Stefan Bodewig wrote: >>> This means ZipArchiveOutputStream must decide whether it is going to use >>> the ZIP64 format before it knows whether it would actually need it or >>> not. If it signals i

[continuum] BUILD FAILURE: Apache Commons - Commons Lang - Default Maven 2 Build Definition (Java 1.5)

2011-08-07 Thread Continuum@vmbuild
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=11060&projectId=95 Build statistics: State: Failed Previous State: Failed Started at: Mon 8 Aug 2011 04:20:55 + Finished at: Mon 8 Aug 2011 04:21:49 + Total time: 54s Build Trigger: Schedule Build

Re: [VOTE] Release Commons Lang 3.0.1 [Based on RC2]

2011-08-07 Thread Henri Yandell
On Sun, Aug 7, 2011 at 3:43 PM, sebb wrote: > On 7 August 2011 22:59, Henri Yandell wrote: >> On Sun, Aug 7, 2011 at 12:44 PM, Oliver Heger >> wrote: >>> Maven build works fine on Windows 7 with Java 1.5 and 1.6. I also tested the >>> ant build successfully. Artifacts and site look good. >>> >>>

Re: [Math] linearCombination

2011-08-07 Thread Gilles Sadowski
Hi. > [...] > > > >However, I'm concerned that the "stress" test ("testLinearCombination1") > >taken from your test case for Vector3D might not be stringent enough. [I > >think that while changing my implemementation, the test was still passing > >just before I dicovered that I was using an unitia

Re: [VOTE] Release Commons Lang 3.0.1 [Based on RC2]

2011-08-07 Thread sebb
On 7 August 2011 22:59, Henri Yandell wrote: > On Sun, Aug 7, 2011 at 12:44 PM, Oliver Heger > wrote: >> Maven build works fine on Windows 7 with Java 1.5 and 1.6. I also tested the >> ant build successfully. Artifacts and site look good. >> >> Minor nits: >> - The release notes contain some XML

[continuum] BUILD FAILURE: Apache Commons - Commons Lang - Default Maven 2 Build Definition (Java 1.5)

2011-08-07 Thread Continuum@vmbuild
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=11052&projectId=95 Build statistics: State: Failed Previous State: Failed Started at: Sun 7 Aug 2011 22:26:39 + Finished at: Sun 7 Aug 2011 22:27:23 + Total time: 44s Build Trigger: Schedule Build

Re: [VOTE] Release Commons Lang 3.0.1 [Based on RC2]

2011-08-07 Thread Henri Yandell
On Sun, Aug 7, 2011 at 12:44 PM, Oliver Heger wrote: > Maven build works fine on Windows 7 with Java 1.5 and 1.6. I also tested the > ant build successfully. Artifacts and site look good. > > Minor nits: > - The release notes contain some XML entities (< >) which is a bit > strange because it is a

Re: [VOTE] Release Commons Lang 3.0.1 [Based on RC2]

2011-08-07 Thread Luc Maisonobe
Le 06/08/2011 21:16, Henri Yandell a écrit : Second try for 3.0.1 :) Three changes - fixed version for the archive files, proper fix to LANG-727 and missing javadoc implemented. RC2 is available here: http://people.apache.org/~bayard/commons-lang3-3.0.1-RC2/ SVN: http://svn.apache.org/re

Re: [VOTE] Release Commons Lang 3.0.1 [Based on RC2]

2011-08-07 Thread Oliver Heger
Maven build works fine on Windows 7 with Java 1.5 and 1.6. I also tested the ant build successfully. Artifacts and site look good. Minor nits: - The release notes contain some XML entities (< >) which is a bit strange because it is a plain text file. - When I generate the site locally I get a d

Re: [logging] logging vs slf4j

2011-08-07 Thread Mark Struberg
Hi Mark! Exactly the classloader problem is what we try to solve in log4j-2.0. Tomcat is by far not the only project which suffers a lot from this shortcoming. OpenWebBeans, MyFaces, OpenJPA, etc - all projects which are usually in a shared classpath have the problem that they cannot cleanly us

Re: [math] serialVersionUID

2011-08-07 Thread Dave Brosius
On 08/07/2011 12:17 PM, Luc Maisonobe wrote: I use eclipse for this. I like Jörg suggestion too but have one question: is there a problem if two different classes have the same id ? They will differ by fully qualified class name, of course, but is it sufficient ? nothing wrong with two clas

Re: [math] Pivoting in QR decomposition

2011-08-07 Thread Greg Sterijevski
Your selection methodology might be more complicated than pairwise comparison. So I think you would have to pass the entire set of remaining columns. That is an implementation detail, however. On the interface, yes the public face should not expose the constructor which takes the PivotStrategyComp

Re: [math] Pivoting in QR decomposition

2011-08-07 Thread Chris Nix
To avoid having the strategy method being overriden in the constructor, we could instead implement a constructor that takes a column Comparator that determines if two columns should be exchanged at each stage. In the interest of maintaining a clean interface, I don't know if this constructor shoul

Re: [math] serialVersionUID

2011-08-07 Thread Luc Maisonobe
Le 06/08/2011 19:00, Phil Steitz a écrit : On 8/6/11 5:21 AM, Jörg Schaible wrote: Sébastien Brisard wrote: Hi, I've just realized that many classes I've submitted do not define serialVersionUID, which raises a warning. I have to say that it's something I've never done myself, but I'd like to

Re: [Math] linearCombination

2011-08-07 Thread Luc Maisonobe
Le 06/08/2011 13:15, Gilles Sadowski a écrit : Hi. [...] I've allowed myself to adapt your code to an array version of the accurate "linearCombination" (committed in revision 1154416). Thanks Gilles, I wanted to add this too and simply forgot :-( Here is a micro-benchmark (for an array

Re: [math] Pivoting in QR decomposition

2011-08-07 Thread Greg Sterijevski
Chris, In regard to the pivoting, do you think that it would be useful to allow subclasses to pivot using other strategies? The pivoting I have looks for the next column with the largest norm. For most garden variety problems this will be okay. However, you can (I am not sure how effective this wi

Re: [logging] logging vs slf4j

2011-08-07 Thread Konstantin Kolinko
2011/8/7 Mark Thomas : > On 07/08/2011 09:31, Jochen Wiedmann wrote: >> On Wed, Aug 3, 2011 at 3:02 PM, Gary Gregory wrote: >> >>> Or maybe Log4j 2 could replace [logging]. >> >> If we really have to reconsider this stuff, then I'd propose to >> >> a) Use java.util.logging, because it doesn't requ

Re: [LANG] Proposing 3.0.1

2011-08-07 Thread Jörg Schaible
sebb wrote: > On 6 August 2011 19:37, sebb wrote: >> On 5 August 2011 07:28, Jörg Schaible >> wrote: >>> Hi, >>> >>> Gary Gregory wrote: >>> On Wed, Aug 3, 2011 at 10:02 AM, Jörg Schaible wrote: > Hi Hen, > > Henri Yandell wrote: > >> I'd like to release 3.0.1 of L

Re: [math] Pivoting in QR decomposition

2011-08-07 Thread Chris Nix
Oooops, the * below should read MATH-630. Chris On 7 August 2011 13:28, Chris Nix wrote: > Thanks, Greg, for looking more at this. Apologies I've not been able to > focus on this too much recently. > > Yes, the approach above works, however the solvers also require a change so > that t

Re: [math] Pivoting in QR decomposition

2011-08-07 Thread Chris Nix
Thanks, Greg, for looking more at this. Apologies I've not been able to focus on this too much recently. Yes, the approach above works, however the solvers also require a change so that they don't unexpectedly solve for a permuted matrix. Additionally, a getRank() method can now be implemented m

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

2011-08-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: [logging] logging vs slf4j

2011-08-07 Thread Mark Thomas
On 07/08/2011 09:31, Jochen Wiedmann wrote: > On Wed, Aug 3, 2011 at 3:02 PM, Gary Gregory wrote: > >> Or maybe Log4j 2 could replace [logging]. > > If we really have to reconsider this stuff, then I'd propose to > > a) Use java.util.logging, because it doesn't require any additional > dependen

Re: [logging] logging vs slf4j

2011-08-07 Thread Jochen Wiedmann
On Wed, Aug 3, 2011 at 3:02 PM, Gary Gregory wrote: > Or maybe Log4j 2 could replace [logging]. If we really have to reconsider this stuff, then I'd propose to a) Use java.util.logging, because it doesn't require any additional dependencies and is guaranteed to work anywhere. b) Carefully docum