VFS Questions

2023-09-13 Thread Mark Fortner
I was looking at the VFS code recently and had a few questions: - There's a *plugins.xml* file that each of the plugins needs to register themselves with. I was wondering if there was a reason that the *ServiceLoader* wasn't used for this? It would seem like a natural fit. - Are there

Re: AW: [PROPOSAL][test] Apache Commons JUnit

2017-11-05 Thread Mark Fortner
Just out of curiosity, wouldn't it be easier (and more intuitive) for users of JUnit to find a collection of JUnit-related tools on the JUnit project site? Regards, Mark On 5 Nov 2017 11:51 a.m., "Romain Manni-Bucau" wrote: > This is a bit different since my case was to get annoutput of where

Re: [VFS] NIO Version Questions

2016-06-01 Thread Mark Fortner
Wed, Jun 1, 2016 at 4:02 PM, Peter Ansell wrote: > On 2 June 2016 at 01:48, Mark Fortner wrote: > > There was some discussion during the last release about a NIO-compatible > > version of VFS. This raised a few questions in my mind. > > > >1. Is there a branch wh

Re: [VFS] NIO Version Questions

2016-06-01 Thread Mark Fortner
t; > > > On 02/06/2016 00:28, Benson Margulies wrote: > >> Which direction do you have in mind here? I'd be up for helping to >> build a device that makes commons-vfs act as an NIO2 file system >> provider, but you might be aiming in the opposite direction. &g

Re: [VFS] NIO Version Questions

2016-06-01 Thread Mark Fortner
Hi Benson, While I don't have a strong preference in terms of the approach, my gut feel is that the adapter approach would force people through additional layers of VFS code. Cheers, Mark On Wed, Jun 1, 2016 at 4:28 PM, Benson Margulies wrote: > Which direction do you have in mind here? I'd b

[VFS] NIO Version Questions

2016-06-01 Thread Mark Fortner
There was some discussion during the last release about a NIO-compatible version of VFS. This raised a few questions in my mind. 1. Is there a branch where this work should start? 2. Are there any specific API proposals, if so where are they (or will they) be documented? Would there be

Re: [ALL] Too much traffic on the "dev" ML

2015-01-17 Thread Mark Fortner
Bulk JIRA changes prior to a release tend to swamp the list. Perhaps it would be better to close the issue as the work is done. Mark On Jan 17, 2015 8:11 AM, "Gilles" wrote: > On Sat, 17 Jan 2015 16:36:55 +0100, Gilles wrote: > >> On Sat, 17 Jan 2015 15:00:34 +, sebb wrote: >> >>> On 17 Janu

Re: [discuss] Vote to git it?

2014-09-09 Thread Mark Fortner
the "feature" branch) is > better than an svn branch? > > > Cheers, > Paul > > On Tue, Sep 9, 2014 at 10:57 AM, Mark Fortner wrote: > > > If I had to pick one feature that makes git more useful than svn, it > would > > be the ease in creating featur

Re: [discuss] Vote to git it?

2014-09-09 Thread Mark Fortner
ink Apache has free access to Atlassian's stack for its projects Cheers, Mark On Tue, Sep 9, 2014 at 10:15 AM, Schalk Cronj é wrote: > On 09/09/2014 16:57, Mark Fortner wrote: > >> If I had to pick one feature that makes git more useful than svn, it would >> be the ease

Re: [discuss] Vote to git it?

2014-09-09 Thread Mark Fortner
Gary, One thing that is a PITA is when getting pull requests from GitHub. The GH patches are not usable as it. Atlassian's Stash makes that easier to deal with. This video describes a fork-based workflow using Stash, and shows you how code reviews work. It also means that people can contribute

Re: [discuss] Vote to git it?

2014-09-09 Thread Mark Fortner
If I had to pick one feature that makes git more useful than svn, it would be the ease in creating feature branches. If you want to add a feature, you simply create a local branch to implement the feature, implement it, and commit it, and create a pull request. If you're using Atlassian's Crucibl

Re: Apache Commons & ApacheCon Europe 2014 ... [VFS]

2014-04-17 Thread Mark Fortner
Schalk, It's my understanding that new providers in NIO2 are simply added using the ServiceLoader. Cheers, Mark On Thu, Apr 17, 2014 at 3:31 PM, Schalk Cronj é wrote: > On 17/04/2014 22:38, Bernd Eckenfels wrote: > > > > But theoretically both is possible: consume FileSystems as a provider

Re: Apache Commons & ApacheCon Europe 2014 ... [VFS]

2014-04-17 Thread Mark Fortner
I'm in the process of creating a file browser-like tool in JavaFX, and my original intent was to use VFS as the underlying file system abstraction. After looking at a lot of the features in Java 7 and 8 (like DirectoryStreams, parallelStreams, and lambdas) I'm now having second thoughts. So I'd b

Re: [Laboratory Toolkit] proposing a new Apache Commons component

2013-12-07 Thread Mark Fortner
You might also be interested in apache uima which is a popular text mining platform. Mark On Dec 7, 2013 1:49 AM, "Valentin Waeselynck" wrote: > Thanks to all for your interest! > > The code examples are on their way, I'm trying to make them as diverse as > possible. I'll let you know as soon as

Re: [compress] Strong Crypto in Tests

2013-10-23 Thread Mark Fortner
As you're probably aware, aes is export restricted. So it might be better to simply check for the availability of a particular encryption algorithm before running a test and avoid making restricted libraries generally available. Mark On Oct 23, 2013 6:10 AM, "Stefan Bodewig" wrote: > On 2013-10-

Re: [VFS] developer ping - future direction

2013-10-09 Thread Mark Fortner
Mark On Wed, Oct 9, 2013 at 4:50 PM, Jörg Schaible wrote: > Mark Fortner wrote: > > [snip] > > > It was proprietary code for the company I worked for at the time. I > don't > > have access to the code any longer, but it was based on Sun/Oracle's > Y

Re: [VFS] developer ping - future direction

2013-10-09 Thread Mark Fortner
On Wed, Oct 9, 2013 at 2:05 PM, Bernd Eckenfels wrote: > Am 09.10.2013, 21:53 Uhr, schrieb Mark Fortner : > > > Hi Bernd, >> I'm a user rather than a developer of VFS. I have a weekend project to >> create a file browser in JavaFX. Prior to that I wrote an NFS pr

Re: [VFS] developer ping - future direction

2013-10-09 Thread Mark Fortner
Hi Bernd, I'm a user rather than a developer of VFS. I have a weekend project to create a file browser in JavaFX. Prior to that I wrote an NFS provider for a company I was working for. Concurrency/thread safety should definitely be a priority. Part of my weekend project uses a threadpool to hand

Re: [VFS] Code Review Tool?

2013-08-08 Thread Mark Fortner
Bernd, That looks interesting, but I don't see any way to publish the review. The nice thing about Crucible is that it's web-based and integrated with JIRA. Cheers, Mark On Thu, Aug 8, 2013 at 11:31 AM, Bernd Eckenfels wrote: > Am 08.08.2013, 20:03 Uhr, schrieb

[VFS] Code Review Tool?

2013-08-08 Thread Mark Fortner
Recently Bernd posted a code review of a few of the RAM provider classes. That kind of feedback is very useful, and it made me wonder if there was a standard way within commons to do code reviews? I know that apache makes a lot of use of Atlassian software, and I've used their Crucible code review

Re: [CSV] Headers and the first record

2013-07-31 Thread Mark Fortner
Hi Gary, > This does not look like a classic CSV file. I guess it depends on what your definition of "classic" is. :-) This is pretty typical for most drug discovery companies. > It sounds like your files contain different sections in different formats. > True. > > In its current state, c

Re: [CSV] Headers and the first record

2013-07-31 Thread Mark Fortner
Hi Gary, One other complication I forgot to mention. Compounds are usually run multiple times. So the same compound will appear with the same set of concentrations. In practice you would end up with column headers that have the same text in them, so this issue with using a Set vs String[] for th

Re: [CSV] Headers and the first record

2013-07-31 Thread Mark Fortner
I took a brief look at the API for CSV, and thought I would share a typical use case from the biotech industry. We deal with a lot of instruments that produce a multiline header. The header usually contains "experiment conditions". You can think of this as metadata for the columnar data. The ex

Re: [VFS] Support for File System Roots?

2013-02-08 Thread Mark Fortner
/ only. Did you have it in mind for other file > systems? > > Should the treatment of '~' be optional? Is there a chance of it being > confused with any kind of legal file reference on any OS? > > Gary > > > On Sun, Jan 6, 2013 at 7:50 PM, Mark Fortner wrote:

Re: [vfs] New feature request: configurable socket timeout for HTTP and WebDAV in VFS

2013-02-05 Thread Mark Fortner
Perhaps not for local file systems, but I would imagine that any kind of distributed file system would have need of a socket timeout. Cheers, Mark On Tue, Feb 5, 2013 at 1:59 PM, Gary Gregory wrote: > On Tue, Feb 5, 2013 at 4:54 PM, Mark Fortner wrote: > > > Just out of cu

Re: [vfs] New feature request: configurable socket timeout for HTTP and WebDAV in VFS

2013-02-05 Thread Mark Fortner
Just out of curiousity, is there a reason that socket timeouts shouldn't also apply to all file systems in general? Cheers, Mark On Tue, Feb 5, 2013 at 8:58 AM, Gary Gregory wrote: > Sure, make sure you base you patch on the latest from trunk. > > Gary > > > On Tue, Feb 5, 2013 at 11:50 AM,

Re: [VFS] Support for File System Roots?

2013-01-06 Thread Mark Fortner
Sorry, that should have read *FileSystem.listRoots()*. Cheers, Mark On Sun, Jan 6, 2013 at 4:50 PM, Mark Fortner wrote: > Gary, > The File#getRoots() method that you mentioned gets the file system roots > and not user-specific directories like Documents, Downloads, Photos, Mus

Re: [VFS] Support for File System Roots?

2013-01-06 Thread Mark Fortner
milar project to make a new version of the > Apache Pivot File Browser to use VFS. So, I'd also be interested to see > what suggestions the developers here have. > > ~Roger Whitcomb > > -Original Message- > From: Mark Fortner [mailto:phidia...@gmail.com] > Se

Re: [VFS] Support for File System Roots?

2012-12-28 Thread Mark Fortner
if there is a c:\Documents folder? > > Gary > > On Dec 28, 2012, at 14:54, Mark Fortner wrote: > > > Hi Gary, > > This would be per operating system. So, if I call > > *RootFactory.getRoot(RootNames.HOME) > > *from a Linux box, that would resolve to */hom

Re: [VFS] Support for File System Roots?

2012-12-28 Thread Mark Fortner
ws? What do URIs look like? > > Gary > > On Dec 28, 2012, at 14:18, Mark Fortner wrote: > > > I was wondering if there were any plans (or currently any way) to support > > File System Roots. In addition to the standard sorts of roots, there are > > roots like your

Re: Promote vfs-cift out of sandbox?

2012-07-18 Thread Mark Fortner
These questions about license compatibility bring to mind the difficulty that most developers have with frameworks like VFS which have multiple plugin implementations. Because of license incompabilities, the plugins are often not part of the main VFS distribution. This means, that you may consid

Re: [VFS] Feedback on VFS-422 please

2012-06-22 Thread Mark Fortner
provider at one point but didn't commit it here > due to the svnkit license. > > Ralph > > On Jun 22, 2012, at 7:49 AM, Mark Fortner wrote: > > > Gary, > > The S3 provider has an implementation > > > https://github.com/abashev/vfs-s3/tree/master/src/main/j

Re: [VFS] Feedback on VFS-422 please

2012-06-22 Thread Mark Fortner
than S3) attempting to use it, but I would imagine that it would be pretty useful. Mark On Thu, Jun 21, 2012 at 5:59 PM, Gary Gregory wrote: > On Thu, Jun 21, 2012 at 6:38 PM, Ralph Goers >wrote: > > > > > > > On Jun 21, 2012, at 2:41 PM, Gary Gregory wrote

Re: [VFS] Feedback on VFS-422 please

2012-06-21 Thread Mark Fortner
Gary, There was some talk a while back about implementing File System-specific Operations. I think what Mario had in mind was supporting version control system functionality through VFS. It strikes me that this might be the best way for implementing functionality that makes use of the JSch bells

Re: Commons VFS support for Amazon S3?

2011-12-23 Thread Mark Fortner
Looks like there is an S3 plugin already. I'm not sure what version of VFS it works with, but it might do the trick. https://github.com/abashev/vfs-s3 Hope this helps, Mark On Fri, Dec 23, 2011 at 4:03 PM, Liviu Tudor wrote: > D'oh, good point about unit testing, Gary! Hasn't crossed my m

Re: [ANNOUNCE] Commons VFS 2.0 Released

2011-08-24 Thread Mark Fortner
Thanks for all the hard work guys. I'm really looking forward to using VFS2 in a couple of the projects that I'm working on. Regards, Mark Fortner On Wed, Aug 24, 2011 at 4:53 AM, Gary Gregory wrote: > The 1.1-SNAPSHOT site is still up. 2.0 coming soon! > > Gary > >

Re: [VFS] Softening the exceptions...

2010-10-25 Thread Mark Fortner
-1 At the risk of playing Devils Advocate here, what's the downside to checked exceptions? A few extra lines of code? I can foresee a problem with unchecked exceptions though. Imagine that you're using the API to build a desktop application. You want to display a dialog box to the user indicati

Re: [SCXML]Eclipse plunge-in based visual editor,debugger and code generation tool for SCXML

2010-04-01 Thread Mark Fortner
Just out of curiosity, wouldn't it be easier to simply create a SCXML serializer plug-in for the EMF, since EMF already supports state diagrams (in addition to all the other diagram types)? It might save you some time and effort. Hope this helps, Mark On Wed, Mar 31, 2010 at 10:39 PM, xunlong

Re: gauging sandbox interest - openmodels

2009-03-01 Thread Mark Fortner
--- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- Mark Fortner blog: http://feeds.feedburner.com/jroller/ideafactory

Re: [math] GaussNewtonEstimator

2009-02-16 Thread Mark Fortner
Thanks Luc. I appreciate the heads up about the upcoming changes. I'll keep an eye out for the discussion on the mailing list. Regards, Mark On Mon, Feb 16, 2009 at 1:49 PM, Luc Maisonobe wrote: > Mark Fortner a écrit : > > I was wondering if someone could add a default no-ar

[math] GaussNewtonEstimator

2009-02-16 Thread Mark Fortner
I was wondering if someone could add a default no-args constructor to the GaussNewtonEstimator? I'm trying to add a simple SPI-based factory to my code and the ServiceLoader fails because it can't find a no-args constructor for the estimator. Regards, -- Mark Fortner

Re: [compress] Some merging in zip package

2009-02-10 Thread Mark Fortner
decompression side. I think Linux may default to the UTF-8 encoding, and Windows to the ISO-8859-1 encoding. Mark On Tue, Feb 10, 2009 at 8:57 AM, Stefan Bodewig wrote: > On 2009-02-10, Mark Fortner wrote: > > > >>> ZipArchiveOutputStream will now use the platform's native enco

Re: [compress] Some merging in zip package

2009-02-10 Thread Mark Fortner
e a file that was created on a machine with one default encoding, and send it to another machine with a different default encoding (i.e. Linux -> Windows)? Regards, Mark Fortner

Re: [general] How to link JIRA issues and commits

2009-02-03 Thread Mark Fortner
fan > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- Mark Fortner blog: http://feeds.feedburner.com/jroller/ideafactory

[VFS] Operations API Question

2008-03-24 Thread Mark Fortner
tions API. This would allow the user to right-click on a file and see a list of operations that are pertinent to that file type. For example, if the user selects a music file, it might allow them to open an external music player, or view song metadata. Regards, -- Mark Fortner blog:

[CLI] Usage Patterns Question

2008-03-22 Thread Mark Fortner
applications for each piece of functionality? If this usage pattern is common, should CLI2 incorporate that usage pattern more formally into its design? Regards, -- Mark Fortner blog: http://www.jroller.com/phidias -- Mark Fortner blog: http://www.jroller.com/phidias

Re: commons-vfs current status?

2008-02-29 Thread Mark Fortner
yanfs uses a BSD license. I think that's compatible. You can see the project here: http://yanfs.dev.java.net Mark On Fri, Feb 29, 2008 at 9:44 AM, Thorbjørn Ravn Andersen < [EMAIL PROTECTED]> wrote: > Mark Fortner skrev den 29-02-2008 17:18: > > I have an NFS impleme

Re: commons-vfs current status?

2008-02-29 Thread Mark Fortner
il: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Mark Fortner blog: http://www.jroller.com/phidias

Re: [io] 2.0 Moving to minimum of JDK 1.5

2008-02-09 Thread Mark Fortner
might be possible to give users a more easily pluggable update to IO. Regards, Mark Fortner On Feb 8, 2008 8:07 AM, Gary Gregory <[EMAIL PROTECTED]> wrote: > Ag, let's not have /both/ io and io2, this gets messy. > > Thank you, > Gary > > > -Original Message

Re: [VFS] Committer Privileges

2008-01-18 Thread Mark Fortner
I wonder if it would be possible to add FindBugs to the automated builds? Mark On Jan 18, 2008 1:08 AM, Henri Yandell <[EMAIL PROTECTED]> wrote: > > On Jan 17, 2008 7:43 AM, Mark Fortner <[EMAIL PROTECTED]> wrote: > > Hi Henri, > > I saw your posts earlier about t

[VFS] Committer Privileges

2008-01-17 Thread Mark Fortner
es to address them? Regards, Mark Fortner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [jira] Commented: (VFS-165) After fixed bug:113 NullPointerException during getting InputStream from SftpFileObject:I am getting this error

2007-07-30 Thread Mark Fortner
Please stop filing bugs for things that are not bugs, or that are bugs in your code. If you have a question, simply send it to the list and place the text "[vfs]" in the subject along with a brief description and some sample code that shows where you're having the problem, along with a stack trace