Re: [math] integer factorization

2012-08-07 Thread matic
> However do you have a concrete use-case for this feature? > What about an implementation with "BigInteger"? I'd guess that would make > the feature more apt to be used in "real" applications (just guessing). Well I have to admit that my current use case is fairly exotic: testing whether an ir

Re: Fwd: svn commit: r1369931 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections: keyvalue/ list/

2012-08-07 Thread Jörg Schaible
Hi Thomas, Thomas Neidhart wrote: > On 08/06/2012 10:00 PM, Jörg Schaible wrote: >> >> === %< == >> >> Betreff: svn commit: r1369931 - in >> /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections: >> keyvalue/ list/ >> Absender: t

Re: Fwd: svn commit: r1369931 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections: keyvalue/ list/

2012-08-07 Thread Thomas Neidhart
On Tue, Aug 7, 2012 at 10:24 AM, Jörg Schaible wrote: > Hi Thomas, > > Thomas Neidhart wrote: > > > On 08/06/2012 10:00 PM, Jörg Schaible wrote: > >> > >> === %< == > >> > >> Betreff: svn commit: r1369931 - in > >> > > /commons/proper/collections/trunk/src/m

Re: Fwd: svn commit: r1369931 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections: keyvalue/ list/

2012-08-07 Thread sebb
On 7 August 2012 09:28, Thomas Neidhart wrote: > On Tue, Aug 7, 2012 at 10:24 AM, Jörg Schaible > wrote: > >> Hi Thomas, >> >> Thomas Neidhart wrote: >> >> > On 08/06/2012 10:00 PM, Jörg Schaible wrote: >> >> >> >> === %< == >> >> >> >> Betreff: svn commit:

Re: [math] integer factorization

2012-08-07 Thread Gilles Sadowski
Hello. > > > However do you have a concrete use-case for this feature? > > > What > about an implementation with "BigInteger"? I'd guess that would make > > the feature more apt to be used in "real" applications (just > guessing). > Well I have to admit that my current use case is fairly > exoti

Re: [math] integer factorization

2012-08-07 Thread matic
> Given the potential for extension, this should definitely not go in > "ArithmeticUtils" but in a package of its own. > Suggestions on how to lay out the structure? > Maybe just a class "org.apache.commons.math3.util.Prime" would do ? We can have one or more package private class beneath to d

Re: svn commit: r1370208 - in /commons/proper/jexl/branches/2.0: RELEASE-NOTES.txt pom.xml src/site/xdoc/changes.xml

2012-08-07 Thread sebb
On 7 August 2012 13:36, wrote: > Author: henrib > Date: Tue Aug 7 12:36:38 2012 > New Revision: 1370208 > > URL: http://svn.apache.org/viewvc?rev=1370208&view=rev > Log: > Reflect last changes in release notes and changes.xml; OK > Added toolchain usage to force 1.5 in pom The Commons Parent

Re: [math] integer factorization

2012-08-07 Thread Ted Dunning
For hash tables, int nextPrimeAfter(int) would be useful. On Tue, Aug 7, 2012 at 8:00 AM, matic wrote: > would contain the following methods: > > public static boolean isPrime(int > n) > public static List primeFactors(int n) > > and a few private > ones. >

Re: svn commit: r1370208 - in /commons/proper/jexl/branches/2.0: RELEASE-NOTES.txt pom.xml src/site/xdoc/changes.xml

2012-08-07 Thread henrib
Just trying to ensure that I will not generate a public jexl2 release compiled against a jdk6. Since most (if not all) JEXL users can't even use published snapshots, the likelihood of anyone attempting to compile jexl2 and not being able to comment the toolchain plugin in the pom seems very low...

Re: svn commit: r1370208 - in /commons/proper/jexl/branches/2.0: RELEASE-NOTES.txt pom.xml src/site/xdoc/changes.xml

2012-08-07 Thread sebb
On 7 August 2012 15:16, henrib wrote: > Just trying to ensure that I will not generate a public jexl2 release > compiled against a jdk6. Did not prevent me using Java 1.6 to compile. Try updating a source file to add a call to "".isEmpty() - a Java 1.6+ method - and see what happens if you compi

Re: svn commit: r1370304 - /commons/proper/jexl/branches/2.0/pom.xml

2012-08-07 Thread sebb
On 7 August 2012 16:08, wrote: > Author: henrib > Date: Tue Aug 7 15:08:06 2012 > New Revision: 1370304 > > URL: http://svn.apache.org/viewvc?rev=1370304&view=rev > Log: > Corrected and commented out toolchain usage Rather than comment it out, why not make it an optional profile? > Modified: >

Re: svn commit: r1370208 - in /commons/proper/jexl/branches/2.0: RELEASE-NOTES.txt pom.xml src/site/xdoc/changes.xml

2012-08-07 Thread henrib
I corrected the toolchain configuration (thanks for pointing it out the error) and commented out its usage from the pom. Jexl 2.1.2 is all yours now. -- View this message in context: http://apache-commons.680414.n4.nabble.com/Re-svn-commit-r1370208-in-commons-proper-jexl-branches-2-0-RELEASE-N

Re: [MATH] Test failure in Continuum

2012-08-07 Thread Phil Steitz
On 8/6/12 11:16 PM, Dennis Hendriks wrote: > See below. > > On 08/06/2012 05:29 PM, Phil Steitz wrote: >> >> >> >> >> On Aug 6, 2012, at 6:06 AM, Dennis Hendriks >> wrote: >> >>> See below. >>> >>> Dennis >>> >>> >>> On 08/06/2012 02:48 PM, Phil Steitz wrote: On Aug 5, 201

Re: [math] spinning BOBYQAOptimizerTest

2012-08-07 Thread Luc Maisonobe
Le 07/08/2012 00:21, Phil Steitz a écrit : > On 8/6/12 2:53 PM, Gilles Sadowski wrote: >> On Sun, Aug 05, 2012 at 03:13:33PM -0700, Phil Steitz wrote: >>> The site build just hung on me due to >>> BOBYQAOptimizerTest.testConstrainedRosenWithMoreInterpolationPoints >>> spinning. A sample thread dum

Re: [math] spinning BOBYQAOptimizerTest

2012-08-07 Thread Phil Steitz
On 8/7/12 11:29 AM, Luc Maisonobe wrote: > Le 07/08/2012 00:21, Phil Steitz a écrit : >> On 8/6/12 2:53 PM, Gilles Sadowski wrote: >>> On Sun, Aug 05, 2012 at 03:13:33PM -0700, Phil Steitz wrote: The site build just hung on me due to BOBYQAOptimizerTest.testConstrainedRosenWithMoreInterpo

Re: svn commit: r1363623 - /commons/proper/logging/trunk/pom.xml

2012-08-07 Thread Dennis Lundberg
On 2012-07-24 23:06, sebb wrote: > On 23 July 2012 17:20, Dennis Lundberg wrote: >> On 2012-07-20 23:26, sebb wrote: >>> On 20 July 2012 22:02, Dennis Lundberg wrote: If this is an integration test, the proper way to exclude it is to change its name so that it ends with "ITCase.java", s

Re: [MATH] Clirr failure

2012-08-07 Thread sebb
On 4 August 2012 17:23, Gilles Sadowski wrote: > Hello. > > I cannot figure why "Clirr" now fails to generate its report and entails the > fail of the build on my machine: The Eclipse compiler can generate code that Clirr does not like; make sure you compile everything using the Sun compiler (and

Proposal Commons-JNDI

2012-08-07 Thread Jochen Wiedmann
Hi, I'd like to propose a new component Commons JNDI for the sandbox. The aim would be to have a very lightweight JNDI implementation (no server, or something like that) that's not necessarily suitable for production, but ideally suited for use in test suites, and the like. For example, commons d

[all] NSWC and Apache license

2012-08-07 Thread Sébastien Brisard
Hello, I'm currently working on MATH-738, and am considering porting part of the FORTRAN "NSWC Library of Mathematics Subroutines" [1] (Naval Surface Warfare Center). The website states "This software is made available, without cost, to the general scientific community. The 1993 edition is an

Re: Proposal Commons-JNDI

2012-08-07 Thread Simone Tripodi
+1 long time ago I was looking for something similar and didn't find anything useful, full support from my side! best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Wed, Aug 8, 2012 at 8:02 AM, Jo