RE: [VFS] Support for File System Roots?

2013-08-27 Thread Roger L. Whitcomb
So, it seems like putting the method in the FileProvider interface is the right place for it?! ~Roger -Original Message- From: Bernd Eckenfels [mailto:e...@zusammenkunft.net] Sent: Tuesday, August 27, 2013 3:53 PM To: Commons Developers List Subject: Re: [VFS] Support for File System Ro

Re: [VFS] Support for File System Roots?

2013-08-27 Thread Bernd Eckenfels
Am 28.08.2013, 00:36 Uhr, schrieb Roger L. Whitcomb : The reason I think this is necessary is that, in order to do browsing of all the files in a system, you need to be able to get to all the relevant top-level locations. And for Samba (for a non-obvious example), there typically will be multip

RE: [VFS] Support for File System Roots?

2013-08-27 Thread Roger L. Whitcomb
I'm still interested in this. I can see the idea of multiple roots being useful in an SMB file system, or local (Windows) file systems. Of course, for others there would only be a single "root" (namely "/"). I'm writing a custom provider which could be pointing to either Linux or Windows. Would

Re: [collections] Feedback 4.0-alpha1

2013-08-27 Thread Matt Benson
A friend of mine at $work has used one class with no problems, FWIW. Thanks, Matt On Tue, Aug 27, 2013 at 3:35 PM, Thomas Neidhart wrote: > Hi, > > its now quite a while since we released 4.0-alpha1 but unfortunately we > did not receive any feedback so far (neither have been any issues > repor

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

2013-08-27 Thread Continuum@vmbuild
Default Maven 2 Build Definition (1.5) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Continuum-Build-Host: vmbuild X-Continuum-Project-Id: 286 X-Continuum-Project-Name: Commons JCS Online report : http://vmbuild.apache.org/continuum/build

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

2013-08-27 Thread Continuum@vmbuild
Default Maven 2 Build Definition (1.5) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Continuum-Build-Host: vmbuild X-Continuum-Project-Id: 286 X-Continuum-Project-Name: Commons JCS Online report : http://vmbuild.apache.org/continuum/build

Re: [MATH] What is the derivative of 0^x

2013-08-27 Thread Luc Maisonobe
Hi Ajo, Le 27/08/2013 16:44, Ajo Fod a écrit : > Thanks for the constant structure. > > No. The limit value when x->0+ is 1, not O. > > I agree with this. I was just going for the derivatives = 0. > > >> The nth derivative of a^x can be computed analytically as ln(a)^n a^x, >> so the initial s

[collections] Feedback 4.0-alpha1

2013-08-27 Thread Thomas Neidhart
Hi, its now quite a while since we released 4.0-alpha1 but unfortunately we did not receive any feedback so far (neither have been any issues reported). So, if somebody already used it (successful or not), please share your impressions / experiences. Thanks, Thomas

Re: svn commit: r1517307 - /commons/proper/jcs/trunk/pom.xml

2013-08-27 Thread sebb
On 25 August 2013 16:22, wrote: > Author: tv > Date: Sun Aug 25 15:22:17 2013 > New Revision: 1517307 > > URL: http://svn.apache.org/r1517307 > Log: > Update commons-parent POM to version 30 Why not update to CP32? > Modified: > commons/proper/jcs/trunk/pom.xml > > Modified: commons/proper/

Re: [DISCUSS] Math TLP...

2013-08-27 Thread Oliver Heger
Am 27.08.2013 15:57, schrieb Phil Steitz: > On 8/27/13 6:31 AM, James Carman wrote: >> It was mentioned the other day, so I thought I would propose a formal >> discussion. Is it time to let [math] "leave the nest"? I would doubt >> there are very many of us qualified to work on such a library her

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/27/2013 12:35 PM, Konstantin Berlin wrote: > Sorry, I think there was a misunderstanding. I was suggesting, like > you are pointing out, that you make a newton step function explicit > inside the optimizer. I think it is a good idea that this function is > explicit in all optimizers, so it c

Re: [MATH] Re: commons-math pull request: Two implementations of least squares in separeat...

2013-08-27 Thread Evan Ward
Using https://github.com/apache/commons-math/pull/2.diff and `patch -p1 < 2.diff` worked for me. (On top of svn r1517789) I've also attached the modified files to https://issues.apache.org/jira/browse/MATH-1026 Regards, Evan On Tue 27 Aug 2013 12:35:48 PM EDT, Gilles wrote: > On Tue, 27 Aug 20

Re: [MATH] Re: commons-math pull request: Two implementations of least squares in separeat...

2013-08-27 Thread Gilles
On Tue, 27 Aug 2013 08:40:25 -0700, Ted Dunning wrote: On Tue, Aug 27, 2013 at 7:41 AM, Gilles wrote: The patch does not apply cleanly (special options needed to handle output from git?). Try different prefix levels. The -p0 option is commonly helpful. I did that too. It didn't work. Gi

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Konstantin Berlin
Sorry, I think there was a misunderstanding. I was suggesting, like you are pointing out, that you make a newton step function explicit inside the optimizer. I think it is a good idea that this function is explicit in all optimizers, so it can later be overwritten.At the least, it should be propaga

[MATH] Re: commons-math pull request: Two implementations of least squares in separeat...

2013-08-27 Thread Ted Dunning
On Tue, Aug 27, 2013 at 7:41 AM, Gilles wrote: > The patch does not apply cleanly (special options needed to handle > output from git?). > Try different prefix levels. The -p0 option is commonly helpful.

Re: [MATH] What is the derivative of 0^x

2013-08-27 Thread Ajo Fod
Thanks for the constant structure. No. The limit value when x->0+ is 1, not O. I agree with this. I was just going for the derivatives = 0. > The nth derivative of a^x can be computed analytically as ln(a)^n a^x, > so the initial slope at x=0 is simply ln(a), positive for a > 1, zero > for a =

Re: commons-math pull request: Two implementations of least squares in separeat...

2013-08-27 Thread Gilles
On Tue, 27 Aug 2013 14:19:58 + (UTC), wardev wrote: GitHub user wardev opened a pull request: https://github.com/apache/commons-math/pull/2 Two implementations of least squares in separeate packages. You can merge this pull request into a Git repository by running: $ git pul

commons-math pull request: Two implementations of least squares in separeat...

2013-08-27 Thread wardev
GitHub user wardev opened a pull request: https://github.com/apache/commons-math/pull/2 Two implementations of least squares in separeate packages. You can merge this pull request into a Git repository by running: $ git pull https://github.com/wardev/commons-math merged Alter

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/27/2013 08:44 AM, Evan Ward wrote: > On 08/27/2013 07:27 AM, Gilles wrote: >> Hi. >> >> Sorry but the _main_ question of my previous post was... >> >> On Mon, 26 Aug 2013 16:35:51 -0400, Evan Ward wrote: >>> On 08/26/2013 03:33 PM, Gilles wrote: On Mon, 26 Aug 2013 13:59:32 -0400, Evan

Re: [DISCUSS] Math TLP...

2013-08-27 Thread Phil Steitz
On 8/27/13 6:31 AM, James Carman wrote: > It was mentioned the other day, so I thought I would propose a formal > discussion. Is it time to let [math] "leave the nest"? I would doubt > there are very many of us qualified to work on such a library here in > Commons. I have a degree in Mathematics

Re: [DISCUSS] Math TLP...

2013-08-27 Thread Gary Gregory
Hi All: I'm only a casual [math] user (we use [math] at work for some *very* simple things), but I hope that we, the wider [commons] community, has been beneficial in sharing expertise in Java, design, and other non-mathematics but programming related issues. That whole thread about exceptions a w

[DISCUSS] Math TLP...

2013-08-27 Thread James Carman
It was mentioned the other day, so I thought I would propose a formal discussion. Is it time to let [math] "leave the nest"? I would doubt there are very many of us qualified to work on such a library here in Commons. I have a degree in Mathematics, but I haven't used the advanced math in such a

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/26/2013 03:11 PM, Konstantin Berlin wrote: > I looked only at the GuassNewton class as a general guide to how > things work. I like it a lot! I only wish all of the optimizations > were rewritten in this way. > > Several comments > > 1) I believe this code can now be simplified > > // build

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/27/2013 07:27 AM, Gilles wrote: > Hi. > > Sorry but the _main_ question of my previous post was... > > On Mon, 26 Aug 2013 16:35:51 -0400, Evan Ward wrote: >> On 08/26/2013 03:33 PM, Gilles wrote: >>> On Mon, 26 Aug 2013 13:59:32 -0400, Evan Ward wrote: Hi again, I rearranged

Re: [Math] Improving combinationIterator?

2013-08-27 Thread James Carman
I can imagine it in CollectionUtils if it's generified. On Tue, Aug 27, 2013 at 2:12 AM, Phil Steitz wrote: > On 8/26/13 4:37 AM, Gilles wrote: >> On Sun, 25 Aug 2013 17:14:37 -0700, Phil Steitz wrote: >>> On 8/25/13 9:59 AM, Gilles wrote: On Sun, 25 Aug 2013 09:19:41 -0700, Phil Steitz wrot

Re: [MATH] What is the derivative of 0^x

2013-08-27 Thread Luc Maisonobe
Le 26/08/2013 22:37, Ajo Fod a écrit : > On a side note. Given a derivative structure ds. Wouldn't it be nice to > generate a constant derivative structure with something like: > > ds.getConstant(dobule value); > Currently I"m doing something like: > new DerivativeStructure(length, order, value);

Re: [MATH] What is the derivative of 0^x

2013-08-27 Thread Luc Maisonobe
Le 26/08/2013 17:23, Ajo Fod a écrit : > With regards to what is happening in DsCompiler.pow(): > IMHO, when a==0 and x>=0 the function is well behaved because log|a| -> Inf > slower than a^x -> 0. I got to this by simulation. > One could probably get to something more conclusive using L'Hopital ru

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Gilles
Hi. Sorry but the _main_ question of my previous post was... On Mon, 26 Aug 2013 16:35:51 -0400, Evan Ward wrote: On 08/26/2013 03:33 PM, Gilles wrote: On Mon, 26 Aug 2013 13:59:32 -0400, Evan Ward wrote: Hi again, I rearranged the least squares package and I've posted the results.[1] I've

Re: [ALL] Design question: static utility classes

2013-08-27 Thread Oliver Heger
Am 27.08.2013 07:06, schrieb Phil Steitz: > On 8/26/13 11:28 AM, Oliver Heger wrote: >> Am 26.08.2013 16:18, schrieb Phil Steitz: >>> >>> On Aug 26, 2013, at 7:38 PM, Oliver Heger >>> wrote: >>> Am 25.08.2013 18:45, schrieb Adrian Crum: > +1 > > -Adrian > > On 8/25/2013 9