Re: [csv] accessing primitives and other record values

2013-08-04 Thread Adrian Crum
It might be best to suggest a facade that handles missing converters, null or empty CSV fields, etc. That's why I suggested leaving the type conversion to the applications programmer - we can't know what the developer wants to do in those cases. -Adrian On 8/4/2013 6:53 PM, Gary Gregory wro

[Math] Remove optimizer from constructor of "CurveFitter" sublasses (MATH-1014)

2013-08-04 Thread Gilles
Hi. Please have a look at https://issues.apache.org/jira/browse/MATH-1014 In summary, this is an API change (in line with the fluent API proposed for the optimizers); but usage is simplified: With the current API: GaussianFitter fitter = new GaussianFitter(new LevenbergMarquardtOptimizer(

Re: [csv] accessing primitives and other record values

2013-08-04 Thread Gary Gregory
On Sat, Aug 3, 2013 at 1:31 PM, James Carman wrote: > +1. We need to eat our own dog food when it makes sense. Would this be the proper way to do things with [convert]? import org.apache.commons.convert.ConversionException; import org.apache.commons.convert.Converters; public class CSVRecordC

[continuum] BUILD FAILURE: Apache Commons - Commons Monitoring (Sandbox) - Monitoring requires Java 1.6 for its JDBC module

2013-08-04 Thread Continuum@vmbuild
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=27234&projectId=127 Build statistics: State: Failed Previous State: Failed Started at: Mon 5 Aug 2013 00:24:38 + Finished at: Mon 5 Aug 2013 00:24:44 + Total time: 6s Build Trigger: Schedule Build

Re: [proxy] and impl

2013-08-04 Thread James Carman
Holy cow! Can I borrow your notebook? ;). On Sunday, August 4, 2013, Mark Struberg wrote: > JFTR: in Apache OpenWebBeans we switched to ASM because Javassist caused > too much mem leaks and hassles. > > But we do only use reflection when it's really needed. Means methods which > are neither dele

Re: commons-monitoring?

2013-08-04 Thread Romain Manni-Bucau
Hi guys, here where i am 1) we have a Repository class (more a singleton concept to get access to next objects), it uses a DataStore to create/find/update two kind of measures: counters (value + stat, it manages concurrency info) and gauge (history of values) 2) we have a Configuration class whic

Re: inverseCumAccuracy is probably not necessary

2013-08-04 Thread Phil Steitz
On 8/4/13 7:44 AM, Ajo Fod wrote: > Guys, > > What is the use of inverseCumAccuracy when people want to instantiate an > AbstractRealDistribution with a random generator? > org.apache.commons.math3.distribution.AbstractRealDistribution

Re: [proxy] and impl

2013-08-04 Thread Mark Struberg
JFTR: in Apache OpenWebBeans we switched to ASM because Javassist caused too much mem leaks and hassles. But we do only use reflection when it's really needed. Means methods which are neither delegated nor intercepted will delegated via native java calls. The same happens for 'NormalScoped' pr

Re: [pool] 2.0 factory interfaces WAS: Re: svn commit: r1506685 - in /commons/proper/pool/trunk/src: main/java/org/apache/commons/pool2/ main/java/org/apache/commons/pool2/impl/ test/java/org/apache/

2013-08-04 Thread Phil Steitz
On 8/4/13 7:24 AM, Mark Thomas wrote: > On 03/08/2013 17:15, Phil Steitz wrote: >> On 7/30/13 9:16 AM, Phil Steitz wrote: >>> I have started working on this. Should have something to commit at >>> least for GOP in the next day or two. >> I am stuck on SoftReferenceObectPool. > :( > >> I have been

inverseCumAccuracy is probably not necessary

2013-08-04 Thread Ajo Fod
Guys, What is the use of inverseCumAccuracy when people want to instantiate an AbstractRealDistribution with a random generator? org.apache.commons.math3.distribution.AbstractRealDistribution

Re: [pool] 2.0 factory interfaces WAS: Re: svn commit: r1506685 - in /commons/proper/pool/trunk/src: main/java/org/apache/commons/pool2/ main/java/org/apache/commons/pool2/impl/ test/java/org/apache/

2013-08-04 Thread Mark Thomas
On 03/08/2013 17:15, Phil Steitz wrote: > On 7/30/13 9:16 AM, Phil Steitz wrote: >> I have started working on this. Should have something to commit at >> least for GOP in the next day or two. > > I am stuck on SoftReferenceObectPool. :( > I have been able to handle > everything else collapsing

Re: [csv] accessing primitives and other record values

2013-08-04 Thread James Carman
Oh, a JDBC driver for csv files. Great idea! ;) On Sunday, August 4, 2013, Benedikt Ritter wrote: > The problem I'm seeing is, that this will again delay the 1.0 release of > CSV... > > How about a compromise? > - Add conversion for basic data types to CSVRecord and finish 1.0 > - Build a mo

Re: svn commit: r1509967 - /commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java

2013-08-04 Thread Benedikt Ritter
Thanks 2013/8/3 > Author: sebb > Date: Sat Aug 3 11:59:28 2013 > New Revision: 1509967 > > URL: http://svn.apache.org/r1509967 > Log: > Fix up TODOs > > Modified: > > commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java > > Modified: > commons/proper/csv/trunk/src/te

Re: [csv] accessing primitives and other record values

2013-08-04 Thread Benedikt Ritter
The problem I'm seeing is, that this will again delay the 1.0 release of CSV... How about a compromise? - Add conversion for basic data types to CSVRecord and finish 1.0 - Build a more sophisticated/configurable/pluggable wrapper that makes use of what ever library for 1.x I mean, look were we s