Re: [math] optimization refactoring

2009-02-22 Thread Luc Maisonobe
Phil Steitz a écrit : Luc Maisonobe wrote: Hello, Since release of 1.2, several people have asked for advices on using the estimation and optimization packages imported from mantissa. This showed these packages were poorly designed (you can blame me for that). After one of the discussions

Re: [math] optimization refactoring

2009-02-22 Thread chengas123
Luc Maisonobe wrote: 1) let Brent minimization in the analysis.minimization package where it is now Why not include this in optimization.general below? Gilles proposed to put it in analysis a few weeks ago, on the assumption it is strongly related to roots finding. Of course, it is

Re: [math] optimization refactoring

2009-02-22 Thread Dimitri Pourbaix
Hi, The existing code is : - package o.a.c.math.estimation: Levenberg-Marquardt method for weighted least square minimization of a vector of residuals Either one considers the full weighting matrix (including potential correlation between observations) or one does not account for any

Re: svn commit: r746804 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolableConnectionFactory.java

2009-02-22 Thread Phil Steitz
We should note this change of behavior in the changelog. I am OK with it, but I think we discussed it a while back and decided not to do it due to concerns that removing the synch could result in hammering the db engine with concurrent bursts of createConnection requests when load spikes

Re: svn commit: r746804 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolableConnectionFactory.java

2009-02-22 Thread Mark Thomas
Phil Steitz wrote: We should note this change of behavior in the changelog. Will do. I'll finish off my work on DBCP-212 first. I don't think there is anything else we can do for DBCP-212 save add some notes to docs. I have patches for this I am about to commit. Mark

Re: svn commit: r746804 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolableConnectionFactory.java

2009-02-22 Thread Phil Steitz
Mark Thomas wrote: Phil Steitz wrote: We should note this change of behavior in the changelog. Will do. I'll finish off my work on DBCP-212 first. I don't think there is anything else we can do for DBCP-212 save add some notes to docs. I have patches for this I am about to commit.

Re: [math] optimization refactoring

2009-02-22 Thread Ted Dunning
I think that Dmitri overstates his case a bit. This multiplication in observation space works for some algorithms, not for others. Ordinary least squares regression is somewhat of an exception here. Logistic regression is a simple counter-example. It is still useful to have a vector weight and

Re: svn commit: r746849 - in /commons/proper/dbcp/trunk: src/java/org/apache/commons/dbcp/ src/java/org/apache/commons/jocl/ src/test/ src/test/org/apache/commons/dbcp/ src/test/org/apache/commons/j

2009-02-22 Thread sebb
On 22/02/2009, pste...@apache.org pste...@apache.org wrote: Author: psteitz Date: Sun Feb 22 23:43:52 2009 New Revision: 746849 URL: http://svn.apache.org/viewvc?rev=746849view=rev Log: Added a connectionInitSqls configuration parameter to BasicDataSource allowing the user to

Re: svn commit: r746849 - in /commons/proper/dbcp/trunk: src/java/org/apache/commons/dbcp/ src/java/org/apache/commons/jocl/ src/test/ src/test/org/apache/commons/dbcp/ src/test/org/apache/commons/j

2009-02-22 Thread Phil Steitz
sebb wrote: On 22/02/2009, pste...@apache.org pste...@apache.org wrote: Author: psteitz Date: Sun Feb 22 23:43:52 2009 New Revision: 746849 URL: http://svn.apache.org/viewvc?rev=746849view=rev Log: Added a connectionInitSqls configuration parameter to BasicDataSource allowing the user

Re: [dbutils] bugfixing/java5 branches ready for merge

2009-02-22 Thread Henri Yandell
Looking at the revisions on the bugfixes branch: 742870 - ?? - Lacking Unit Tests, not liking the catch Exception. RuntimeException throwing needs String arg. Generally not trusting the Java API here to work beautifully and wanting to have covered a bunch of use cases. 743293 - +1 - rename

[VFS]HttpConnectionManager

2009-02-22 Thread Ralph Goers
I've been working on getting Commons Configuration to be able to use VFS as its underlying file system and have everything working. However, in the course of this effort I ran into a problem. https://issues.apache.org/jira/browse/VFS-164 states that there were problems under load and so

RE: [VFS]HttpConnectionManager

2009-02-22 Thread Mario Ivankovits
Hi! -Original Message- From: Ralph Goers [mailto:ralph.go...@dslextreme.com] Sent: Monday, February 23, 2009 7:28 AM What I'd like to know is, was there more to VFS-164 than is stated in the issue and is this change sufficient? Or do I need to create yet another

Re: [VFS]HttpConnectionManager

2009-02-22 Thread Ralph Goers
Thanks Mario. VFS-164 wasn't really clear. Was the problem the limit to 2 connections per host that MultiThreadedHttpConnectionManager has by default? I changed VFS to have it default to 5 and the unit tests pass - including ContentTests.testConcurrentRead() which would hang with only 2