Re: [continuum] BUILD FAILURE: Commons - Commons DbUtils -

2009-11-02 Thread Julien Aymé
Hi, I think that the maven compiler plugin should be changed to use 1.5 source/target in the pom.xml: org.apache.maven.plugins maven-compiler-plugin 1.4 1.4 This is what makes the CONTINUUM build fail (I think). Regards, Julien 2009/11/3 contin...@vmbuild.apache.org : > Online report : >

[continuum] BUILD FAILURE: Commons - Commons DbUtils -

2009-11-02 Thread contin...@vmbuild.apache.org
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=248699&projectId=162 Build statistics: State: Failed Previous State: Ok Started at: Mon 2 Nov 2009 18:45:20 -0800 Finished at: Mon 2 Nov 2009 18:45:43 -0800 Total time: 22s Build Trigger: Schedule Build N

[dbutils] Java5 branch landed to trunk; release tomorrow?

2009-11-02 Thread Dan Fabulich
In r832220 I merged the sandbox/dbutils/java5 branch to proper/dbutils/trunk. The build works and has no compiler warnings. I've also fixed bug DBUTILS-58, which provides a workaround for bug DBUTILS-56. https://issues.apache.org/jira/browse/DBUTILS-56 https://issues.apache.org/jira/brows

Re: [JEXL] Next steps towards release?

2009-11-02 Thread Rahul Akolkar
On Mon, Nov 2, 2009 at 6:24 PM, Henrib wrote: > > Getting closer to produce an RC1, Thanks. > I've got a few questions. > > 1/ It seems the (new) template for the site does not include the various > reports (Cobertura, PMD, etc)? Am I doing something wrong ? (tried with > commons-exec which ha

[io]New Functionality Submittal

2009-11-02 Thread David Armstrong
Commons IO Developers, I submitted a proposal for new functionality here: https://issues.apache.org/jira/browse/IO-222 Please review it when you get a chance and weigh in on whether or not you think it would be a good addition to Commons IO. Best Regards, David Armstrong

Re: [JEXL] Next steps towards release?

2009-11-02 Thread Henrib
Getting closer to produce an RC1, I've got a few questions. 1/ It seems the (new) template for the site does not include the various reports (Cobertura, PMD, etc)? Am I doing something wrong ? (tried with commons-exec which has the same behavior btw). Is this tied to commons-parent:12 ? 2/ Readi

Re: [JEXL] Next steps towards release?

2009-11-02 Thread Henrib
Getting closer to produce an RC1, I've got a few questions. 1/ It seems the (new) template for the site does not include the various reports (Cobertura, PMD, etc)? Am I doing something wrong ? (tried with commons-exec which has the same behavior btw). Is this tied to commons-parent:12 ? 2/ Readi

Re: [validator] Direction of validator implementation based on JSR 303

2009-11-02 Thread Mohammad Nour El-Din
Seems not :(, wdyt should we go the way Niall started ? On Tue, Nov 3, 2009 at 12:51 AM, Donald Woods wrote: > > > Niall Pemberton wrote: >> >> On Tue, Oct 27, 2009 at 1:50 PM, Donald Woods wrote: >>> >>> Niall Pemberton wrote: On Mon, Oct 26, 2009 at 2:06 PM, Donald Woods wrote: >>>

Re: [validator] Direction of validator implementation based on JSR 303

2009-11-02 Thread Donald Woods
Niall Pemberton wrote: On Tue, Oct 27, 2009 at 1:50 PM, Donald Woods wrote: Niall Pemberton wrote: On Mon, Oct 26, 2009 at 2:06 PM, Donald Woods wrote: Hi Nail. I'm the one who created that copy of 1.4, so it's fine if we repurpose it, see VALIDATOR-279. As far as the API, we already ha

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Ted Dunning
Oops. Right. Not paying full attention this morning. Sorry. On Mon, Nov 2, 2009 at 2:11 PM, Jake Mannix wrote: > Er, there already is, right? -- Ted Dunning, CTO DeepDyve

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Jake Mannix
Er, there already is, right? RealVector#isNaN() and RealVector#isInfinite() - they're just not used anywhere except for as verification purposes in the unit tests. No actual internal use as of yet. -jake On Mon, Nov 2, 2009 at 1:58 PM, Ted Dunning wrote: > This makes me think that we need t

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Ted Dunning
This makes me think that we need to have containsNan and containsInfinite methods on vectors and matrices so that it is easy to check. On Mon, Nov 2, 2009 at 1:46 PM, Jake Mannix wrote: > ... Yeah, in my own libraries, I tend to say that either don't force checks > ever and at most throw unchec

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Jake Mannix
On Mon, Nov 2, 2009 at 1:29 PM, Luc Maisonobe wrote: > Jake Mannix a écrit : > > On Mon, Nov 2, 2009 at 9:05 AM, Jake Mannix > wrote: > > > >>> Also, why the special case for > ArithmeticExcption here, for the zero norm case? Why not just let > java just > try to divide, and if i

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Luc Maisonobe
Jake Mannix a écrit : > On Mon, Nov 2, 2009 at 9:05 AM, Jake Mannix wrote: > >>> Also, why the special case for ArithmeticExcption here, for the zero norm case? Why not just let java just try to divide, and if it divides by zero, well, it'll throw an ArithmeticException itsel

Re: [ApacheCon] Anyone around?

2009-11-02 Thread Rahul Akolkar
On Mon, Nov 2, 2009 at 2:55 PM, Mark Thomas wrote: > Rahul Akolkar wrote: >> I'm not attending, but happen to be in Santa Clara this week so >> thinking of driving up one of these evenings. >> >> Wondering if anyone else is around and when, so I can decide whether >> to show up Tues. or Wed. eveni

Re: [math] Generate random data using the Inverse CDF Method?

2009-11-02 Thread Ted Dunning
I think that it would be good to have samplers in the random package. One reasonable one would be InverseCumulativeSampler. Another would be something like RecursiveLookupTableDiscreteSampler The generic nextSample routine could call the most generic sampler we have. I would guess that would sta

Re: [math] Generate random data using the Inverse CDF Method?

2009-11-02 Thread Mikkel Meyer Andersen
I agree, Ted. It seems like reasonable arguments. Another way of implementing the functionality is to call some nextSample(Abstract{Continuous, Discrete}Distribution) in the Random package from the Distribution-classes (and nextSample(ExponentialDistribution) equivalent to nextExponential for an o

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Jake Mannix
On Mon, Nov 2, 2009 at 9:05 AM, Jake Mannix wrote: > > Also, why the special case for >> > ArithmeticExcption here, for the zero norm case? Why not just let >> > java just >> > try to divide, and if it divides by zero, well, it'll throw an >> > ArithmeticException itself... seems like the whole

Re: [math] Generate random data using the Inverse CDF Method?

2009-11-02 Thread Mikkel Meyer Andersen
2009/11/3 Luc Maisonobe : > There are at least one other regular commiter and three other committers > that have been active on the list last year. Phil is clearly one of the > most involved maintainers and he has been here since the beginning. Okay, thanks for the info. I know how much Phil means

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Jake Mannix
On Mon, Nov 2, 2009 at 12:43 PM, Luc Maisonobe wrote: > > There are several cases. If you do: > > RealVector v = new ArrayRealVector(...); > > and later use v, a static analysis would be sufficient to know v is > really an ArrayRealVector instance. > Ok, I was familiar with this, yes, and in thi

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Luc Maisonobe
Jake Mannix a écrit : > On Mon, Nov 2, 2009 at 7:41 AM, wrote: > >> This is the reason why the boolean is there. >> > > Yeah, I know, my point is that in the current method implementation, > the boolean is not used properly - it's currently: return new > ArrayRealVector(v) > which forces a copy.

Re: [ApacheCon] Anyone around?

2009-11-02 Thread Mark Thomas
Rahul Akolkar wrote: > I'm not attending, but happen to be in Santa Clara this week so > thinking of driving up one of these evenings. > > Wondering if anyone else is around and when, so I can decide whether > to show up Tues. or Wed. evening :-) I'm here all week. Mark ---

Re: [math] Generate random data using the Inverse CDF Method?

2009-11-02 Thread Luc Maisonobe
Phil Steitz a écrit : > Mikkel Meyer Andersen wrote: >> Phil, >> I understand your opinion, but I don't agree with you (but I accept >> that you have a different meaning about things just as I expect you to >> accept mine). I'm sure this is quite common in projects like this, and >> are interesting

[ApacheCon] Anyone around?

2009-11-02 Thread Rahul Akolkar
I'm not attending, but happen to be in Santa Clara this week so thinking of driving up one of these evenings. Wondering if anyone else is around and when, so I can decide whether to show up Tues. or Wed. evening :-) -Rahul - To

Re: [math] Generate random data using the Inverse CDF Method?

2009-11-02 Thread Ted Dunning
We should probably say which parts of the problem are important to us. It begins to sound like we each care about slightly different aspects of the problem. The only points that I really care about are: - the user should have available some obvious way to sample from a distribution as a method o

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Jake Mannix
On Mon, Nov 2, 2009 at 7:41 AM, wrote: > > This is the reason why the boolean is there. > Yeah, I know, my point is that in the current method implementation, the boolean is not used properly - it's currently: return new ArrayRealVector(v) which forces a copy. return new ArrayRealVector(v, fals

[g...@vmgump]: Project commons-jelly-tags-fmt-test (in module commons-jelly) failed

2009-11-02 Thread commons-jelly-tags-fmt development
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-fmt-test has an issue affecting its community integrat

[g...@vmgump]: Project commons-jelly-tags-jaxme (in module commons-jelly) success, but with warnings.

2009-11-02 Thread commons-jelly-tags-jaxme development
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-jaxme contains errors. The current state of this projec

[g...@vmgump]: Project commons-jelly-tags-xmlunit (in module commons-jelly) success, but with warnings.

2009-11-02 Thread commons-jelly-tags-xmlunit development
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-xmlunit contains errors. The current state of this proj

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread luc . maisonobe
- "Jake Mannix" a écrit : > Hey all, > > In digging through ArrayRealVector and OpenMapRealVector, while > trying to > draw up patches for MATH-312 and MATH-314, I found a number of > performance ( > and other) issues: > > 1) in add(double[]), subtract(double[]), and mapXXX methods, the

[g...@vmgump]: Project commons-configuration-test (in module apache-commons) failed

2009-11-02 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-configuration-test has an issue affecting its community integrati

Re: [math] Generate random data using the Inverse CDF Method?

2009-11-02 Thread Phil Steitz
Mikkel Meyer Andersen wrote: > Phil, > I understand your opinion, but I don't agree with you (but I accept > that you have a different meaning about things just as I expect you to > accept mine). I'm sure this is quite common in projects like this, and > are interesting in hearing how matters like

Re: [math] Performance optimization in the vector classes

2009-11-02 Thread Jake Mannix
Hey all, In digging through ArrayRealVector and OpenMapRealVector, while trying to draw up patches for MATH-312 and MATH-314, I found a number of performance ( and other) issues: 1) in add(double[]), subtract(double[]), and mapXXX methods, the idiom is: double[] v = new double[data.length];