Re: svn commit: r1488914 - in /commons/proper/math/trunk: ./ src/changes/ src/main/java/org/apache/commons/math3/analysis/integration/ src/test/java/org/apache/commons/math3/analysis/integration/

2013-06-03 Thread Gilles
Hello. On Mon, 03 Jun 2013 09:04:40 -, l...@apache.org wrote: Author: luc Date: Mon Jun 3 09:04:40 2013 New Revision: 1488914 URL: http://svn.apache.org/r1488914 Log: Added midpoint integration method. Patch contributed by Oleksandr Kornieiev. JIRA: MATH-967 [...] +private

Re: [math] NewtonRaphsonSolver

2013-06-03 Thread Thomas Neidhart
Any feedback on this? I am really curious if there is a misunderstanding from my side or if there is a bug. Thomas On Tue, May 21, 2013 at 5:01 PM, Thomas Neidhart thomas.neidh...@gmail.comwrote: Hi, based on the question on the user-ml, I did an experiment with the NewtonRaphson solver,

[math] Stochastic Process

2013-06-03 Thread Thomas Neidhart
Hi, to start working on the Monte Carlo engine (see MATH-463) I would like to break this thing up in multiple pieces. One thing that could be added independently is the concept of a stochastic process (e.g. Wiener, BrownianMotion, ...). The code in the contribution is already a pretty good

General API question: returning Iterator, Iterable or even Collection?

2013-06-03 Thread Stefan Bodewig
Hi, in compress I've added a method to ZipFile that provides access to a subset of the entries. It already contained a method returning an Enumeration of all entries - Enumeration as it mimics java.util.ZipFile which was invented in Java 1.0. For this new method I've chosen to return an

Re: svn commit: r1488914 - in /commons/proper/math/trunk: ./ src/changes/ src/main/java/org/apache/commons/math3/analysis/integration/ src/test/java/org/apache/commons/math3/analysis/integration/

2013-06-03 Thread Luc Maisonobe
Le 03/06/2013 12:19, Gilles a écrit : Hello. Hi Gilles, On Mon, 03 Jun 2013 09:04:40 -, l...@apache.org wrote: Author: luc Date: Mon Jun 3 09:04:40 2013 New Revision: 1488914 URL: http://svn.apache.org/r1488914 Log: Added midpoint integration method. Patch contributed by

Re: [math] NewtonRaphsonSolver

2013-06-03 Thread Luc Maisonobe
Le 03/06/2013 13:13, Thomas Neidhart a écrit : Any feedback on this? I am really curious if there is a misunderstanding from my side or if there is a bug. Thomas On Tue, May 21, 2013 at 5:01 PM, Thomas Neidhart thomas.neidh...@gmail.comwrote: Hi, based on the question on the

Re: General API question: returning Iterator, Iterable or even Collection?

2013-06-03 Thread Gary Gregory
Why not have the class implement Iterable? Gary On Jun 3, 2013, at 7:45, Stefan Bodewig bode...@apache.org wrote: Iterable - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail:

Re: General API question: returning Iterator, Iterable or even Collection?

2013-06-03 Thread Stefan Bodewig
On 2013-06-03, Gary Gregory wrote: Why not have the class implement Iterable? Oh, I'm returning just a subset, so making the whole class iterable doesn't make sense. I'm talking about public IteratorZipArchiveEntry getEntries(String name) Stefan PS: For the general case of all entries

Re: General API question: returning Iterator, Iterable or even Collection?

2013-06-03 Thread Emmanuel Bourg
Le 03/06/2013 13:44, Stefan Bodewig a écrit : My personal preference would be Iterable as well as the consumer may iterate over the return value multiple times without copying stuff around, but I may be missing something. I like Iterable for the ease of use in a foreach loop. But there is a

Re: [math] Stochastic Process

2013-06-03 Thread Adekoya Adekunle
I am interested in helping with the development and /or documentation of some of apache commons components. I have a subversion client on my machine , what svn command ( especially the URL that can be accessed anonymosuly from my svn client ) do I need to checkout the components on the commons

Re: [math] Stochastic Process

2013-06-03 Thread Phil Steitz
On 6/3/13 6:45 AM, Adekoya Adekunle wrote: I am interested in helping with the development and /or documentation of some of apache commons components. I have a subversion client on my machine , what svn command ( especially the URL that can be accessed anonymosuly from my svn client ) do I

Re: [math] Stochastic Process

2013-06-03 Thread Phil Steitz
On 6/3/13 4:18 AM, Thomas Neidhart wrote: Hi, to start working on the Monte Carlo engine (see MATH-463) I would like to break this thing up in multiple pieces. One thing that could be added independently is the concept of a stochastic process (e.g. Wiener, BrownianMotion, ...). +1 The

[math] next release version

2013-06-03 Thread Phil Steitz
I am working on MATH-437, which entails deprecating a class and creating a new one to replace it. It would be good to deprecate in a 3.x and remove in 4.0. I see we have no 3.x defined. As of now, clirr is not showing any compat errors. Should we plan on a 3.3?

Re: General API question: returning Iterator, Iterable or even Collection?

2013-06-03 Thread Jörg Schaible
Emmanuel Bourg wrote: Le 03/06/2013 13:44, Stefan Bodewig a écrit : My personal preference would be Iterable as well as the consumer may iterate over the return value multiple times without copying stuff around, but I may be missing something. I like Iterable for the ease of use in a

Re: [math] next release version

2013-06-03 Thread Luc Maisonobe
Hi Phil, Le 03/06/2013 16:12, Phil Steitz a écrit : I am working on MATH-437, which entails deprecating a class and creating a new one to replace it. It would be good to deprecate in a 3.x and remove in 4.0. I see we have no 3.x defined. As of now, clirr is not showing any compat errors.

Re: General API question: returning Iterator, Iterable or even Collection?

2013-06-03 Thread Matt Benson
On Mon, Jun 3, 2013 at 9:15 AM, Jörg Schaible joerg.schai...@scalaris.comwrote: Emmanuel Bourg wrote: Le 03/06/2013 13:44, Stefan Bodewig a écrit : My personal preference would be Iterable as well as the consumer may iterate over the return value multiple times without copying stuff

Re: [math] Stochastic Process

2013-06-03 Thread Adekoya Adekunle
I successfully downloaded the maths components under ' http://svn.apache.org/repos/asf/commons/proper/math/trunk/' . I use my subversion client for the download. I got all the folders ( and files in each folder) inside the trunk. If i need to write say a very simple java code that would call say

Re: [dbcp] update DBCP2 to require JDBC 4.1 (Java 7) WAS svn commit: r1431496 - in /commons/proper/dbcp/trunk: ./ src/java/org/apache/commons/dbcp2/ src/java/org/apache/commons/dbcp2/cpdsadapter/ src/

2013-06-03 Thread Phil Steitz
On 5/30/13 4:06 AM, Emmanuel Bourg wrote: Le 30/05/2013 11:40, Phil Steitz a écrit : Sorry for stupidity above. I was not thinking through the consequences of the gump-esque build process. I guess if we really want to support everything building from source with no binary incompatible

Re: General API question: returning Iterator, Iterable or even Collection?

2013-06-03 Thread Stefan Bodewig
On 2013-06-03, Matt Benson wrote: On Mon, Jun 3, 2013 at 9:15 AM, Jörg Schaible joerg.schai...@scalaris.comwrote: Emmanuel Bourg wrote: Le 03/06/2013 13:44, Stefan Bodewig a écrit : My personal preference would be Iterable as well as the consumer may iterate over the return value

Re: [math] next release version

2013-06-03 Thread Thomas Neidhart
On 06/03/2013 04:12 PM, Phil Steitz wrote: I am working on MATH-437, which entails deprecating a class and creating a new one to replace it. It would be good to deprecate in a 3.x and remove in 4.0. I see we have no 3.x defined. As of now, clirr is not showing any compat errors. Should we

[CLI] Issues maintenance

2013-06-03 Thread Ricardo Espírito Santo
Hi guys, There seems to be a bit of work regarding JIRAs maintenance to do... Like: Major Bug (https://issues.apache.org/jira/browse/CLI-232) that seems to be fixed and should / could probably be moved to testing or resolved... I'm happy to do the work If I can ... =) Any ideas on what the

Re: [Math] Accepting contributions (Was: svn commit: r1486982 - ...)

2013-06-03 Thread Thomas Neidhart
On 05/28/2013 08:20 PM, Gilles wrote: On Tue, 28 May 2013 16:04:32 -, t...@apache.org wrote: Author: tn Date: Tue May 28 16:04:32 2013 New Revision: 1486982 URL: http://svn.apache.org/r1486982 Log: [MATH-851] Added method MathArrays.convolve, thanks to Clemens Novak for the patch.

Re: [math] Stochastic Process

2013-06-03 Thread Thomas Neidhart
On 06/03/2013 04:10 PM, Phil Steitz wrote: On 6/3/13 4:18 AM, Thomas Neidhart wrote: Hi, to start working on the Monte Carlo engine (see MATH-463) I would like to break this thing up in multiple pieces. One thing that could be added independently is the concept of a stochastic process (e.g.

[IO] FileUtils.doCopyFile - should behaviour be changed?

2013-06-03 Thread sebb
The private method FileUtils.doCopyFile is used by many of the public FileUtils methods to do the actual file copying. At present this caches the input file size at the start, and only copies that many bytes to the output file. If the input file is a log file, and is growing, it will only copy

Re: [IO] FileUtils.doCopyFile - should behaviour be changed?

2013-06-03 Thread Gary Gregory
I'm not crazy about this one. I like the idea that the file copy is bound by /something/, in this case the file size when the operation starts. Then there is the infinite loop issue I saw mentioned. What you describe feels more like a StreamUtils facitlity. I think there is room for this

Re: [IO] FileUtils.doCopyFile - should behaviour be changed?

2013-06-03 Thread sebb
On 3 June 2013 21:05, Gary Gregory garydgreg...@gmail.com wrote: I'm not crazy about this one. I like the idea that the file copy is bound by /something/, in this case the file size when the operation starts. In which case if the input file has grown in the meantime, the method will fail,

[NET] revert to Java 1.5 [was: (NET-494) FTPClient.CSL.cleanUp() fails to restore timeout value on exception]

2013-06-03 Thread sebb
Note that users are still using Java 1.5. AFAICT the only reason NET currently needs Java 1.6 is because it uses getBytes(Charset) instead of getBytes(String). That is not a good enough reason to require Java 1.6. I am not prepared to create another 3.2.x release as well as work on 3.3 which I

Re: [IO] FileUtils.doCopyFile - should behaviour be changed?

2013-06-03 Thread Gary Gregory
On Mon, Jun 3, 2013 at 4:29 PM, sebb seb...@gmail.com wrote: On 3 June 2013 21:05, Gary Gregory garydgreg...@gmail.com wrote: I'm not crazy about this one. I like the idea that the file copy is bound by /something/, in this case the file size when the operation starts. In which case if the

[io] pause and release

2013-06-03 Thread Gary Gregory
Hi All, Can we take a pause and release? It seems like it's been a long time. Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Editionhttp://www.manning.com/bauer3/ JUnit in Action, Second Edition http://www.manning.com/tahchiev/ Spring Batch

Re: [NET] revert to Java 1.5 [was: (NET-494) FTPClient.CSL.cleanUp() fails to restore timeout value on exception]

2013-06-03 Thread Jess Holle
On 6/3/2013 5:45 PM, sebb wrote: Note that users are still using Java 1.5. Using as in running existing software with Java 1.5? Sure -- but that's not really relevant. Using as in seriously interested in consuming new releases of NET in environments using Java 1.5? Really? If you're

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

2013-06-03 Thread Continuum@vmbuild
Build using Java 1.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Continuum-Build-Host: vmbuild X-Continuum-Project-Id: 74 X-Continuum-Project-Name: Commons DbUtils Online report :

[VOTE] Release commons-dbutils 1.6 based on RC1

2013-06-03 Thread William Speirs
I would like to release commons-dbutils 1.6 commons-dbutils 1.6 RC1 is available for review here: http://people.apache.org/~wspeirs/commons-dbutils-1.6-RC1/ (svn revision r1489259) Details of changes since 1.5 are in the release notes: