Re: [lang] Running lang under a security manager and LANG-744

2011-09-02 Thread Mark Struberg
This might be a bit OT, but is there a cardinal way to create code with and without doPrivileged code? I mean something like pre-processing or a replacement with sed. In OpenWebBeans we introduced a SecurityService SPI with 2 implementations: A standard one without doPrivileged and an enforcing o

Re: [lang] Running lang under a security manager and LANG-744

2011-09-02 Thread Phil Steitz
On 9/2/11 4:06 AM, Gary Gregory wrote: > On Sep 2, 2011, at 1:21, Stephen Colebourne wrote: > >> On 2 September 2011 01:20, Gary Gregory wrote: >>> Specifically for StringUtils, should we have a SunStringUtils? This would >>> let you know that you are depending on com.sun code. >> I really don't

Re: svn commit: r1164625 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

2011-09-02 Thread Phil Steitz
On 9/2/11 9:48 AM, ma...@apache.org wrote: > Author: markt > Date: Fri Sep 2 16:48:59 2011 > New Revision: 1164625 > > URL: http://svn.apache.org/viewvc?rev=1164625&view=rev > Log: > Fix typo I guess you meant, remove trailing spaces or tabs or something? Phil > > Modified: > > commons/prop

Re: [math] psychometrics

2011-09-02 Thread Phil Steitz
On 9/2/11 7:19 AM, Patrick Meyer wrote: > Yes, the math code is separate from the GUI and database for the > most part. I'd be happy to share the code and documentation, but I > need a few days to add it to a repository and get it online. > > There are parts of my library that can be transferred to

Re: [lang] Running lang under a security manager and LANG-744

2011-09-02 Thread Henri Yandell
Bad first paragraph. ie) the method causing trouble is not the one the user wants to use. For example - they want to use StringUtils.chomp, and the implementation of stripAccents is blocking them. Sorry for the double post, Hen On Fri, Sep 2, 2011 at 9:37 PM, Henri Yandell wrote: > I'm less co

Re: [lang] Running lang under a security manager and LANG-744

2011-09-02 Thread Henri Yandell
I'm less concerned with the 115 errors, unless they're all as grievous as the StringUtils one - ie) the method causing trouble is not the only one broken. If the error happened when calling stripAccents, that would be workable; but having all of StringUtils unavailable is very painful. One option

Re: svn commit: r1164570 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/exception/ main/java/org/apache/commons/math/exception/util/ site/xdoc/

2011-09-02 Thread Gilles Sadowski
Hi Luc. > > Modified: > commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/util/ExceptionContextProvider.java > URL: > http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/util/ExceptionContextProvider.java?rev=1164570&r1=

Re: svn commit: r1164615 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java

2011-09-02 Thread Sébastien Brisard
Excellent! Thanks a lot, Luc. I hope I will never bother you again with formatting... Sébastien 2011/9/2 Luc Maisonobe : > Le 02/09/2011 20:14, Sébastien Brisard a écrit : >> >> Sorry about code formatting. Which IDE are you using? If you (or >> anyone else) are using Eclipse, could you share the

Re: svn commit: r1164615 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java

2011-09-02 Thread Luc Maisonobe
Le 02/09/2011 20:14, Sébastien Brisard a écrit : Sorry about code formatting. Which IDE are you using? If you (or anyone else) are using Eclipse, could you share the configuration of your code formatter with me? Or any external formatter indeed? My configuration doesn't comply with your requireme

Re: svn commit: r1164615 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java

2011-09-02 Thread Sébastien Brisard
Sorry about code formatting. Which IDE are you using? If you (or anyone else) are using Eclipse, could you share the configuration of your code formatter with me? Or any external formatter indeed? My configuration doesn't comply with your requirements regarding indentation, therefore I don't use it

Re: svn commit: r1164615 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java

2011-09-02 Thread Gilles Sadowski
Hi Sébastien. > > /** > * Gauss-Newton least-squares solver. > @@ -146,8 +148,13 @@ public class GaussNewtonOptimizer extend > DecompositionSolver solver = useLU ? > new LUDecompositionImpl(mA).getSolver() : > new QRDecomposit

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

2011-09-02 Thread Gary Gregory
On Fri, Sep 2, 2011 at 11:58 AM, sebb wrote: > On 2 September 2011 16:28, Gary Gregory wrote: > > I updated my settings XML per > > > https://maven.apache.org/guides/development/guide-testing-development-plugins.html > > > > and M3 cannot resolve the new snapshot. > > Works for me with 2.2.1 and

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

2011-09-02 Thread sebb
On 2 September 2011 16:28, Gary Gregory wrote: > I updated my settings XML per > https://maven.apache.org/guides/development/guide-testing-development-plugins.html > > and M3 cannot resolve the new snapshot. Works for me with 2.2.1 and 3.0.3 > What am I missing? -Papache ? Otherwise, just dow

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

2011-09-02 Thread Gary Gregory
I updated my settings XML per https://maven.apache.org/guides/development/guide-testing-development-plugins.html and M3 cannot resolve the new snapshot. What am I missing? Gary On Fri, Sep 2, 2011 at 11:08 AM, sebb AT ASF wrote: > I've updated to the latest versions of all the plugins. > > So

[ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

2011-09-02 Thread sebb AT ASF
I've updated to the latest versions of all the plugins. Some of these changes may well cause problems, but the best way to find this out is for various people to try using the POM, so I've uploaded 22-SNAPSHOT to the snapshot repo. Please report any issues with using 22-SNAPSHOT (you have to temp

Re: [chain][discuss] v2 upgrade - follow-up - part2

2011-09-02 Thread Matt Benson
On Fri, Sep 2, 2011 at 2:29 AM, Simone Tripodi wrote: > Hi again guys, > I did a little work on the v2 branch of [chain] to fix checkstyle > errors, obviously clirr[1] errors increased but new ones are IMHO > trivial, since concern internal data structures already exposed via > getters - the o.a.c

Re: [math] psychometrics

2011-09-02 Thread Patrick Meyer
Yes, the math code is separate from the GUI and database for the most part. I'd be happy to share the code and documentation, but I need a few days to add it to a repository and get it online. There are parts of my library that can be transferred to math with very few changes but other parts t

Re: [lang] Running lang under a security manager and LANG-744

2011-09-02 Thread sebb
On 2 September 2011 12:06, Gary Gregory wrote: > On Sep 2, 2011, at 1:21, Stephen Colebourne wrote: > >> On 2 September 2011 01:20, Gary Gregory wrote: >>> Specifically for StringUtils, should we have a SunStringUtils? This would >>> let you know that you are depending on com.sun code. >> >> I r

Re: [math] psychometrics

2011-09-02 Thread Gilles Sadowski
Hello. > > I have been developing an pure Java application that does a variety > of psychometric methods. I use the commons math library as much as I > can but I've also had to develop my own library. I'd like to combine > the two libraries by donating as much of my code to commons math as > I ca

[math] psychometrics

2011-09-02 Thread Patrick Meyer
Hi All, I have been developing an pure Java application that does a variety of psychometric methods. I use the commons math library as much as I can but I've also had to develop my own library. I'd like to combine the two libraries by donating as much of my code to commons math as I can. My l

Re: [lang] Running lang under a security manager and LANG-744

2011-09-02 Thread Gary Gregory
On Sep 2, 2011, at 1:21, Stephen Colebourne wrote: > On 2 September 2011 01:20, Gary Gregory wrote: >> Specifically for StringUtils, should we have a SunStringUtils? This would >> let you know that you are depending on com.sun code. > > I really don't like that idea! > > Generally, it is non-Sun

[GUMP@vmgump]: Project commons-proxy-test (in module apache-commons) failed

2011-09-02 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-proxy-test has an issue affecting its community integration. This

Re: [VOTE] Release Commons Configuration 1.7 based on RC2

2011-09-02 Thread Oliver Heger
Am 02.09.2011 02:52, schrieb sebb: On 2 September 2011 01:18, Gary Gregory wrote: On Thu, Sep 1, 2011 at 7:55 PM, sebb wrote: On 1 September 2011 22:42, Gary Gregory wrote: On Thu, Sep 1, 2011 at 2:25 PM, sebb wrote: On 30 August 2011 21:00, Oliver Heger wrote: This is a vote to releas

[chain][discuss] v2 upgrade - follow-up - part2

2011-09-02 Thread Simone Tripodi
Hi again guys, I did a little work on the v2 branch of [chain] to fix checkstyle errors, obviously clirr[1] errors increased but new ones are IMHO trivial, since concern internal data structures already exposed via getters - the o.a.c.chain.impl.ChainBase#commands was exposed at package level just

Re: [Math] Jacobian dimensions in "AbstractLeastSquaresOptimizer"

2011-09-02 Thread Luc Maisonobe
Le 02/09/2011 00:29, Gilles Sadowski a écrit : Hello Luc. [...] In fact, I have always seen Jacobians using this layout, so from my point of view it was standard. I am conforted in this view by . That goes without saying, but it does not harm to s