[vfs] Current status?

2014-08-01 Thread Rob Walker
Commons VFS seems to be useful to help with a number of aspects I'm 
looking at, but I'm concered about it's current development state.


It seems a little dormant in terms of recent development activity and 
fixing, and the web pages have a number of broken links.


Is this still an active and viable project to consider using?

-- Rob


Ascert - Taking systems to the edge
www.ascert.com


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [vfs] Current status?

2014-08-01 Thread Bernd Eckenfels
Hello,

It hasnt seen much activity but we still are working slowly towards a 2.1 
Version. It is a bit unclear how it fits into newer Java offered FileSystem 
abstractions, but it has still quite a few Providers no other solutions offer.

-- 
http://bernd.eckenfels.net

- Ursprüngliche Nachricht -
Von: Rob Walker r...@ascert.com
Gesendet: ‎01.‎08.‎2014 08:33
An: user@commons.apache.org user@commons.apache.org
Betreff: [vfs] Current status?

Commons VFS seems to be useful to help with a number of aspects I'm 
looking at, but I'm concered about it's current development state.

It seems a little dormant in terms of recent development activity and 
fixing, and the web pages have a number of broken links.

Is this still an active and viable project to consider using?

-- Rob


Ascert - Taking systems to the edge
www.ascert.com


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [vfs] Current status?

2014-08-01 Thread Rob Walker

Ok, cool, thanks for the feedback Bernd
- Rob

On 01/08/2014 09:03, Bernd Eckenfels wrote:

Hello,

It hasnt seen much activity but we still are working slowly towards a 2.1 
Version. It is a bit unclear how it fits into newer Java offered FileSystem 
abstractions, but it has still quite a few Providers no other solutions offer.



--


Ascert - Taking systems to the edge
r...@ascert.com
SA +27 21 300 2028
UK +44 20 7488 3470 ext 5119
www.ascert.com


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



[vfs] webdav access throws ClassCastException: ArrayList cannot be cast Node

2014-08-01 Thread Jörg Wille
@Gary: I am using 2.1-SNAPSHOT Rev.:1609711
@Martin: I can understand - to an extent - what you write about the
difference between XMLConfiguration and PropertyConfiguration.
But can you explain why is this topic special to webdav in general or maybe
only in combination with Alfresco?
And most importantly, how can I get WebDav to work? From reading on the
projects's web-site, I was in the believe that WebDav is a supported
filesystem.
Am I doing something wrong in my code? Are there any examples I can have a
look at?


[vfs] Next newbie Q - local cacheing of remote files (e.g. HTTP)

2014-08-01 Thread Rob Walker
From what I've read, I think that if I use say HTTP for file access, 
there's cacheing of files locally in a temp dir to avoid retrieving them 
on every reference?


That's pretty much exactly what I need. Just want to check I'm not 
misunderstanding this, and if there are any gotchas to be aware of


I'd assume that things like Last-Modified would be checked at some 
period, and new copies pulled down if changed?


-- Rob Walker


--


Ascert - Taking systems to the edge
www.ascert.com


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [vfs] Next newbie Q - local cacheing of remote files (e.g. HTTP)

2014-08-01 Thread Schalk W . Cronjé
There is a caching mechanism, which you can override if you instantiate your 
own  FileSystemManager.

AFAIR from reading the code, each provider has some control over deciding which 
files should be cached.

For your initial voyage, the defaults should work fine.

--
Schalk W. Cronjé
Maintainer of Groovy-VFS
[Sent from mobile phone]

div Original message /divdivFrom: Rob Walker 
r...@ascert.com /divdivDate:01/08/2014  12:35  (GMT+02:00) /divdivTo: 
Commons Users List user@commons.apache.org /divdivSubject: [vfs] Next 
newbie Q - local cacheing of remote files (e.g. HTTP) /divdiv
/divFrom what I've read, I think that if I use say HTTP for file access, 
there's cacheing of files locally in a temp dir to avoid retrieving them 
on every reference?

That's pretty much exactly what I need. Just want to check I'm not 
misunderstanding this, and if there are any gotchas to be aware of

I'd assume that things like Last-Modified would be checked at some 
period, and new copies pulled down if changed?

-- Rob Walker


-- 


Ascert - Taking systems to the edge
www.ascert.com


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [vfs] Next newbie Q - local cacheing of remote files (e.g. HTTP)

2014-08-01 Thread Rob Walker

Cool, thanks Schalk, sounds to be what I need
- Rob

On 01/08/2014 14:28, Schalk W. Cronjé wrote:

There is a caching mechanism, which you can override if you instantiate your 
own  FileSystemManager.

AFAIR from reading the code, each provider has some control over deciding which 
files should be cached.

For your initial voyage, the defaults should work fine.

--
Schalk W. Cronjé
Maintainer of Groovy-VFS
[Sent from mobile phone]

div Original message /divdivFrom: Rob Walker r...@ascert.com /divdivDate:01/08/2014  12:35  
(GMT+02:00) /divdivTo: Commons Users List user@commons.apache.org /divdivSubject: [vfs] Next newbie Q - local 
cacheing of remote files (e.g. HTTP) /divdiv
/divFrom what I've read, I think that if I use say HTTP for file access,
there's cacheing of files locally in a temp dir to avoid retrieving them
on every reference?

That's pretty much exactly what I need. Just want to check I'm not
misunderstanding this, and if there are any gotchas to be aware of

I'd assume that things like Last-Modified would be checked at some
period, and new copies pulled down if changed?

-- Rob Walker




--


Ascert - Taking systems to the edge
r...@ascert.com
SA +27 21 300 2028
UK +44 20 7488 3470 ext 5119
www.ascert.com


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



[math3.fitting.leastsquares]

2014-08-01 Thread Benjamin Eltzner
Dear mailing list,

I would like to do a Levenberg-Marquardt least mean square fit (i. e.
min( |f(x)|^2 ) for f: R^d - R^n, d in [2,8], n in [~50, ~1]) using
org.apache.commons.math3.fitting.leastsquares.LevenbergMarquardtOptimizer and
I am somewhat confused by the relevant API.

tl/dr: Is there a way to do this in a simple way, providing only a
function f, its derivative function df and an initial guess for x?

Long form: it seems that I have to create a LeastSquaresProblem which
requires a lot of input

* MultivariateVectorFunction model: done
* MultivariateMatrixFunction jacobian: done
* double[] observed: [0,...,0] in my case, since i want least mean
squares, right?
* double[] start: done
* RealMatrix weight: should this be a new DiagonalMatrix([1,...,1]) of
the dimension of observed?
* ConvergenceCheckerLeastSquaresProblem.Evaluation checker: no clue
* int maxEvaluations: no clue
* int maxIterations: no clue

Is there a way to get reasonable defaults for the three or four last
arguments? Or put differently, what would be typical inputs for the
last four arguments?

I would be very glad, if you could help me with this problem. I have
been trying to figure out, what would be sensible inputs be reading the
source code, but I guess it would take ages until I really understood
what is going on there. The results of a trial-and-error approach have
also been rather disappointing so far.


Best regards,

Benjamin Eltzner

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [VFS][WebDAV] access throws ClassCastException: ArrayList cannot be cast Node

2014-08-01 Thread Bernd Eckenfels
Hello Jörg,

is this (or a similiar installation) somewhere available over the
internet, I would like to debug what types are returned here.

(I am not sure I understand what this has to do with XMLConfiguration)

I dont think it is a problem of your code, that casting problem should
never happen. Feel free to open a Jira Bug for it.

https://issues.apache.org/jira/browse/VFS

Gruss
Bernd


 Am Fri, 1
Aug 2014 11:26:09 +0200 schrieb Jörg Wille joerg.wi...@gmail.com:

 @Gary: I am using 2.1-SNAPSHOT Rev.:1609711
 @Martin: I can understand - to an extent - what you write about the
 difference between XMLConfiguration and PropertyConfiguration.
 But can you explain why is this topic special to webdav in general or
 maybe only in combination with Alfresco?
 And most importantly, how can I get WebDav to work? From reading on
 the projects's web-site, I was in the believe that WebDav is a
 supported filesystem.
 Am I doing something wrong in my code? Are there any examples I can
 have a look at?
 

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [math3.fitting.leastsquares]

2014-08-01 Thread Gilles

Hi.

On Fri, 01 Aug 2014 18:29:33 +0200, Benjamin Eltzner wrote:

Dear mailing list,

I would like to do a Levenberg-Marquardt least mean square fit (i. e.
min( |f(x)|^2 ) for f: R^d - R^n, d in [2,8], n in [~50, ~1]) 
using


org.apache.commons.math3.fitting.leastsquares.LevenbergMarquardtOptimizer 
and

I am somewhat confused by the relevant API.

tl/dr: Is there a way to do this in a simple way, providing only a
function f, its derivative function df and an initial guess for x?

Long form: it seems that I have to create a LeastSquaresProblem which
requires a lot of input

* MultivariateVectorFunction model: done
* MultivariateMatrixFunction jacobian: done
* double[] observed: [0,...,0] in my case, since i want least mean
squares, right?


Not necessarily. The algorithm will look for the set of parameters
 x = ( x_1, x_2, ..., x_d )
for which f(x) = c_1, c_2, ..., c_n is closest to the observed
values o_1, o_2, ..., o_n.


* double[] start: done
* RealMatrix weight: should this be a new DiagonalMatrix([1,...,1]) 
of

the dimension of observed?


A diagonal matrix of unit weights is the default.


* ConvergenceCheckerLeastSquaresProblem.Evaluation checker: no clue


It's a user-defined check for convergence.
But you can set it to null: the standard Levenberg-Marquardt 
procedure

for checking convergence will then be used.


* int maxEvaluations: no clue
* int maxIterations: no clue


These are intended to avoid running forever: maxEvaluations sets a
limit to the number of evaluations of f(x), maxIterations limits the
number of iteration of the optimizer's main loop.
If you are confident that the problem is well behaved, you can set them
to Integer.MAX_VALUE.



Is there a way to get reasonable defaults for the three or four 
last

arguments? Or put differently, what would be typical inputs for the
last four arguments?

I would be very glad, if you could help me with this problem. I have
been trying to figure out, what would be sensible inputs be reading 
the

source code, but I guess it would take ages until I really understood
what is going on there. The results of a trial-and-error approach 
have

also been rather disappointing so far.


The user guide should be updated; sorry for that.


Best regards,
Gilles


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org