Re: Weird results from ChiSquareTest

2015-12-18 Thread Thomas Neidhart
Hi Michael, there are basically two different ways to use the ChiSquare test: * compute the chi-square test of independence (use the chiSquareTest(long[][]) method) * compute the chi-square goodness of fit test (use the chiSquareTest(double[], long[]) method) In your example, you computed the

[ANNOUNCEMENT] Apache Commons Collections 4.1 Released

2015-11-27 Thread Thomas Neidhart
The Apache Commons team is pleased to announce the release of Apache Commons Collections 4.1. The release is available for download at http://commons.apache.org/proper/commons-collections/download_collections.cgi Apache Commons Collections is a project to develop and maintain collection classes

[ANNOUNCMENT] Apache Commons Collections 3.2.2 Released

2015-11-15 Thread Thomas Neidhart
The Apache Commons team is pleased to announce the release of Apache Commons Collections 3.2.2. The release is available for download at http://commons.apache.org/proper/commons-collections/download_collections.cgi Apache Commons Collections is a project to develop and maintain collection

Re: [ANNOUNCMENT] Apache Commons Collections 3.2.2 Released

2015-11-15 Thread Thomas Neidhart
On 11/15/2015 11:23 PM, Thomas Neidhart wrote: should have been an ANNOUNCEMENT, but it's late, sorry. Thomas - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h

[math] Fitting a distribution from sample data Was: please help me

2015-06-14 Thread Thomas Neidhart
Forwarded to the user mailinglist Forwarded Message Subject:please help me Date: Sun, 14 Jun 2015 06:36:41 + (UTC) From: meli saraie melisar...@yahoo.com Reply-To: meli saraie melisar...@yahoo.com To: t...@apache.org t...@apache.org Dear Tomas

Re: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Thomas Neidhart
On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38

Re: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Thomas Neidhart
On 06/10/2015 01:44 PM, Gilles wrote: On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15

Re: [Math] Allow empty ConvexHull2D

2015-06-09 Thread Thomas Neidhart
On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38, Gilles a écrit : Hi. Hi Gilles, I have a question regarding public RegionEuclidean2D

Re: [Math] Allow empty ConvexHull2D

2015-06-01 Thread Thomas Neidhart
On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38, Gilles a écrit : Hi. Hi Gilles, I have a question regarding public RegionEuclidean2D createRegion() throws InsufficientDataException in

[ANNOUNCE] Commons Email version 1.4 released

2015-05-25 Thread Thomas Neidhart
Hello. The Apache Commons team is pleased to announce the release of commons-email-1.4. Commons-Email aims to provide an API for sending email. It is built on top of the JavaMail API, which it aims to simplify. Commons Email can be downloaded from the following page:

Re: [email]-Cannot send mail embedded with image from my Play Framework

2015-04-23 Thread Thomas Neidhart
email.setHtmlMsg(htmlThe apache logo - img src=\+mailDetails.get(logoURL)+\/html); Thomas On Thu, Apr 23, 2015 at 10:34 AM, Thomas Neidhart thomas.neidh...@gmail.com wrote: Hi, you need to specify a DataSourceUrlResolver for your HtmlEmail instance when embedding images by URL. See

Re: [email]-Cannot send mail embedded with image from my Play Framework

2015-04-23 Thread Thomas Neidhart
Hi, you need to specify a DataSourceUrlResolver for your HtmlEmail instance when embedding images by URL. See the example in ther userguide ( http://commons.apache.org/proper/commons-email/userguide.html). I just realized that the example in the userguide is outdated, instead of the

Re: how to load a RealMatrix from file

2015-02-20 Thread Thomas Neidhart
Hi Joakim, it depends how you stored the matrix in the first place. The MatrixUtils.deserializeRealMatrix() method will only work if you have previously serialized the matrix using MatrixUtils.serializeRealMatrix() and is mainly intended to be used for standard Java serialization. In case you

Re: how to load a RealMatrix from file

2015-02-20 Thread Thomas Neidhart
On 02/20/2015 07:21 PM, Joakim Soderberg wrote: Thanks Thomas, That’s helpful, but I think you should add more easy-to-use functions for the convenience of the research community who just want to implement some algorithm and not spend time with coding IO. if you come up with a use-case we

Re: [fileupload] multipart parsing failed: null?

2014-11-21 Thread Thomas Neidhart
On 11/21/2014 04:16 PM, Kristian Rink wrote: Folks; trying to track down a strange error frequently occurring on our infrastructure when users are, well, uploading files using a multipart/form data upload form. Traces see below. Worth noting: - The application runs in an embedded jetty

Re: [beanutils] Version 1.9.2 uses FastHashMap in class PropertyUtilsBean, but FastHashMap does not exists in collections4

2014-09-30 Thread Thomas Neidhart
There are no compatibility issues between collections 3 and 4. They reside in different packages, thus you can use them together in your project. Any project/developer having a dependency to collections 3 will have to do at least some minimal effort to upgrade to collections 4. In most cases it

Re: [math] Calculating gain matrix in KalmanFilter

2014-08-05 Thread Thomas Neidhart
On 08/04/2014 09:10 PM, Ted Dunning wrote: Arne, I think you are correct. Afaik, it is possible for unscented Kalman filters to avoid the explicit matrix inversion (see also http://en.wikipedia.org/wiki/Cholesky_decomposition#Kalman_filters). We have an open issue which was delayed for 4.0

Re: [math] Calculating gain matrix in KalmanFilter

2014-08-05 Thread Thomas Neidhart
On 08/05/2014 06:40 PM, Arne Schwarz wrote: No, but I am developing one with an extended Kalman filter where i will test various decompositions. I just stumbled over these lines because I read somewhere that explicit calculation of the inverse is not a thing one should do. And I suggested the

Re: [email] Map cid's to attachments? (Rendering html content)

2014-07-18 Thread Thomas Neidhart
Hi, I think this is not possible right now. The MimeMessageParser does not take the Content-ID of any attachments into account, but should ideally provide a translation from cid to name (or the attachment object itself) so that you can post-process the html content. Could you create a feature

Re: [email] Map cid's to attachments? (Rendering html content)

2014-07-18 Thread Thomas Neidhart
at 8:25 AM, Thomas Neidhart thomas.neidh...@gmail.com wrote: Hi, I think this is not possible right now. The MimeMessageParser does not take the Content-ID of any attachments into account, but should ideally provide a translation from cid to name (or the attachment object itself) so

[ANNOUNCEMENT] Commons Email 1.3.3 Released

2014-07-11 Thread Thomas Neidhart
The Apache Commons Team is pleased to announce the availability of Apache Commons Email 1.3.3. Commons-Email aims to provide an API for sending email. It is built on top of the JavaMail API, which it aims to simplify. Details of the changes and bug fixes in this release can be found in the

Re: [EMAIL] Using Apache Commons Email and Google

2014-07-10 Thread Thomas Neidhart
On 07/09/2014 02:57 AM, Jason wrote: Resurrecting this old post, I found that in order to Authenticate with SASL using https://code.google.com/p/google-mail-oauth2-tools/source/browse/#svn%2Ftrunk%2Fjava%2Fcom%2Fgoogle%2Fcode%2Fsamples%2Foauth2 it was necessary to invoke

Re: Could we have a roots() method in PolynomilFunction class?

2014-06-27 Thread Thomas Neidhart
On 06/27/2014 04:24 PM, Axel wrote: Hello Jira seems to be down? So I'm trying here to post my request for an enhancement: Could we have a roots() method in PolynomialFunction class? For example I ported the code in this stackoverflow question to apache commons math by using the

Re: [math] hierarchical clustering implementation

2014-06-24 Thread Thomas Neidhart
On 06/25/2014 03:18 AM, Haluk Dogan wrote: Hi all, Is there any hierarchical clustering implementation in commons-math? If not, does somebody know that whether it is in TODO list or not? Hi, no, currently there is no hierarchical cluster implementation available in Commons Math. There was

Re: [email] - Secure Password Authentication in Outlook

2014-05-27 Thread Thomas Neidhart
On 05/27/2014 03:22 PM, Alex Chard wrote: Hi all I'm using the Apache Commons Email classes to send emails using SMTP. I'm connecting via SMTP so I don't have to support multiple configurations for different server providers (Outlook, Notes, ect). As always, it's not that simple.

Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package

2014-05-24 Thread Thomas Neidhart
On 05/24/2014 07:40 AM, reginald.john...@gmail.com wrote: Do you know of a library that does support ILP? glpk supports integer and mixed linear programming problems. I am not aware of a java based library though. Thomas - To

Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package

2014-05-23 Thread Thomas Neidhart
On 05/23/2014 05:36 AM, Reginald Johnson wrote: I agree, and in fact my original formulation used that same format (A_ij=A_ji) for the constraint. However, I didn't (and still don't) see a way to create a constraint in the optimization class that will let me use anything other than a number

Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package

2014-05-23 Thread Thomas Neidhart
, not. IF there are non-linear flow relations such as come into play in hydraulic systems, then simplex is not practical. On Thu, May 22, 2014 at 11:22 PM, Thomas Neidhart thomas.neidh...@gmail.com wrote: On 05/23/2014 05:36 AM, Reginald Johnson wrote: I agree, and in fact my original

Re: [collections] MultiValueMap with a custom value collection type

2014-03-27 Thread Thomas Neidhart
On 03/27/2014 12:59 AM, Ryan Bennetts wrote: Hello all I am having trouble understanding how to use a custom value collection type with a MultiValueMap. I want to use the new generics-supported version, but can't see how to do this without excessive casting, which seems to defeat a lot of

Re: [email] Problem reading Java-generated HTML emails with Outlook 2010

2014-03-24 Thread Thomas Neidhart
Hi Tomas, can you add the code snippet to create the HtmlEmail instance? Thanks, Thomas On Mon, Mar 24, 2014 at 12:43 PM, Tomás García Rodríguez toma...@servicioexterno.inditex.com wrote: Hi, I am having trouble when creating emails from Java using HtmlEmail. I need to send them to an

Re: Disappearing Trie code in commons-collections-4

2014-03-07 Thread Thomas Neidhart
On 03/07/2014 10:39 PM, Matthew Hall wrote: Hello, I was trying to use some code from commons-collections: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/trie/?pathrev=1469003 But it seems like this code disappeared in SVN

Re: [net] decoding quoted-printable?

2014-02-03 Thread Thomas Neidhart
On 02/03/2014 05:48 PM, Alex O'Ree wrote: I'm sending an email to a local mail server (hmail) using the standard javax.mail api. Here's a snippit MimeMessage message = new MimeMessage(session); InternetAddress address = new InternetAddress(receiver@local.domain); Address[] to = {address};

Re: [net] decoding quoted-printable?

2014-02-03 Thread Thomas Neidhart
On 02/03/2014 07:16 PM, Alex O'Ree wrote: Thanks for the quick reply. I'm running into this now. org.apache.commons.codec.DecoderException: Invalid URL encoding: not a valid digit (radix 16): 117 from the following code: BufferedReader reader = (BufferedReader)

Re: [commons-logging]Log4JLogger does not implement Log when deploying on websphere 8.5.01

2014-01-21 Thread Thomas Neidhart
On 01/20/2014 08:37 PM, Julio Enrique Santana Lora wrote: Hi!! I am facing this problem when trying to deploy an EAR file to websphere 8.5.0.1. The EAR only contains on its dependencies commons-logging-1.1.3.jar log4j-1.2.17.jar and a single JSF page. The problem ocurs when

Re: [email] Problem with deleting attachments

2014-01-09 Thread Thomas Neidhart
Hi Shai, this is probably related to EMAIL-120. It depends on how you attach the file to the Email object, you may want to try the variant with a URL instead of a File object. Thomas On Thu, Jan 9, 2014 at 3:15 PM, שי בנטין s...@cashboard.co.il wrote: Using commons-email 1.3.2 we are sending

Re: [collections] Re: [ANNOUNCE] Apache Commons Collections 4.0 released

2013-12-05 Thread Thomas Neidhart
On 12/02/2013 06:17 PM, Maik Ebert wrote: Hello, I do not find that release on http://mvnrepository.com/ at dependency groupIdorg.apache.commons/groupId artifactIdcommons-collections4/artifactId version4.0/version /dependency Can you upload it there? Its now there.

Re: [collections] Re: [ANNOUNCE] Apache Commons Collections 4.0 released

2013-12-02 Thread Thomas Neidhart
Hi Maik, afaik mvnrepository syncs itself with maven central, and it takes a while till releases show up. You may want to send an email to i...@mvnrepository.com to get more information. Thomas On Mon, Dec 2, 2013 at 6:17 PM, Maik Ebert m.eb...@paysafecard.com wrote: Hello, I do not find

[ANNOUNCE] Apache Commons Collections 4.0 released

2013-11-24 Thread Thomas Neidhart
Collections, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Collections website: http://commons.apache.org/collections/ Thomas Neidhart, on behalf of the Apache Commons community

Re: Conjugate Gradient Math 3.2

2013-11-22 Thread Thomas Neidhart
On 11/22/2013 07:00 PM, rambor wrote: Hi, I am having a horrible time trying to get the new interfaces to work. I clearly don't understand the changes. I'd like to do the NonLinearConjugateGradientOptimizer and I can't get the constructor to work in the new implementation. So far, I

Re: [daemon] ClassNotFoundException though class in path

2013-11-19 Thread Thomas Neidhart
On 11/19/2013 06:11 PM, Thad Humphries wrote: I've written a class called MultiThread which implements Daemon. However when I try to run it with jsvc, it fails although the class is clearly present in my classpath. What am I not seeing? The call and debug are below: $ sudo ~/bin/jsvc -jvm

Re: [daemon] ClassNotFoundException though class in path

2013-11-19 Thread Thomas Neidhart
) at java.lang.Class.newInstance(Class.java:310) at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:190) Cannot load daemon java_load failed Service exit with a return value of 3 On Tue, Nov 19, 2013 at 12:53 PM, Thomas Neidhart thomas.neidh...@gmail.com wrote: On 11/19

Re: [MATH] Restricted hierarchical clustering

2013-11-13 Thread Thomas Neidhart
Hi Thorsten, this sounds like a very specific use-case of a hierarchical clustering. I could imagine the following way to achieve it: * first cluster all data points with kmeans, with a k=50 as you would like to have 50 clusters on level 2 * take the 50 clusters and feed them into a HAC like

Re: [math] eigenvector doubts and issues

2013-11-12 Thread Thomas Neidhart
* v constraint and everything is alright. I still have to figure out how to properly use the results to split higher elevation parts from lower z parts in a x,y,z dataset, but the eigenvectors and values are in the right place now. Thanks, Andrea On Mon, Nov 11, 2013 at 1:21 PM, Thomas

Re: [math] eigenvector doubts and issues

2013-11-12 Thread Thomas Neidhart
. I still have to figure out how to properly use the results to split higher elevation parts from lower z parts in a x,y,z dataset, but the eigenvectors and values are in the right place now. Thanks, Andrea On Mon, Nov 11, 2013 at 1:21 PM, Thomas Neidhart thomas.neidh

Re: [math] eigenvector doubts and issues

2013-11-12 Thread Thomas Neidhart
On 11/12/2013 06:31 PM, andrea antonello wrote: Hi Thomas, that's exactly what we are looking for, so do not hesitate to ask questions. ok, I put together a small set of examples, which for now I put on a wiki of the project I am doing this for (since I have access on that one):

Re: [math] eigenvector doubts and issues

2013-11-11 Thread Thomas Neidhart
On 11/11/2013 11:40 AM, andrea antonello wrote: Hi Thomas, thanks for your reply. the result of CM and jama are identical, the difference is just in the way how the data is stored. Afaik in jama calling getV() returns a vector in row format whereas in CM the are stored in column format.

Re: [math] eigenvector doubts and issues

2013-11-09 Thread Thomas Neidhart
On 11/09/2013 10:38 AM, andrea antonello wrote: Dear all, I have a doubt about using the eigenvector part of the library. I created a small dataset to represent 3d coordinates in a cartesian plane: double[] x = {1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3}; double[] y = {0.5, 1,

[ANNOUNCE] Commons Email version 1.3.2 released

2013-10-25 Thread Thomas Neidhart
Hello. The Apache Commons team is pleased to announce the release of commons-email-1.3.2. Commons-Email aims to provide an API for sending email. It is built on top of the JavaMail API, which it aims to simplify. Commons Email can be downloaded from the following page:

Re: [DAEMON] Assigning JVM to a core

2013-10-16 Thread Thomas Neidhart
This link may help you: http://www.scalabiliti.com/blog/java_jvm_processor_affinity On Wed, Oct 16, 2013 at 4:38 PM, Gary Gregory garydgreg...@gmail.comwrote: Ping? On Thu, Oct 10, 2013 at 10:13 PM, Gary Gregory garydgreg...@gmail.com wrote: On Thu, Oct 10, 2013 at 10:11 PM, Martin

Re: [email] TLS not verified properly (security issue)

2013-10-09 Thread Thomas Neidhart
On 10/09/2013 12:26 PM, Carl Erberg wrote: Hi, in the user guide to commons email http://commons.apache.org/proper/commons-email/userguide.html I found the rather surprising statement: When using a secured transport (STARTTLS or SSL) you can force validating the server's certificate by

Re: [MATH] Estimate of the population mean given a sample

2013-09-12 Thread Thomas Neidhart
background, but I guess I'll spend some more time with it and if I really got it, I'll write a patch for a binomial test. Cheers, Thorsten Am 9/11/13 4:42 PM schrieb Thomas Neidhart unter thomas.neidh...@gmail.com: On 09/11/2013 08:37 PM, em...@thorstenschaefer.de wrote: We have a sample

Re: [MATH] Estimate of the population mean given a sample

2013-09-11 Thread Thomas Neidhart
On 09/11/2013 08:37 PM, em...@thorstenschaefer.de wrote: We have a sample which comes from a binomial process with unknown probability. Is it possible to get the likelihood of the population is larger than a user-specified value (with e.g. 95% certainty) in commons-math? For example, given

Re: [math] Documentation for clustering

2013-08-31 Thread Thomas Neidhart
On 08/31/2013 08:20 PM, em...@thorstenschaefer.de wrote: I wrote a little documentation based on the other XML documents I found in the sources. Before committing a patch, I'd like to see that the output is fine and I didn't mess something up. How can I generate the user guide from the

Re: org.apache.commons.math3.optim

2013-07-31 Thread Thomas Neidhart
Dear Esther, there is no good starting example in the user guide yet (we should add that!) but you can find some examples in the unit tests. In general, the OptimizationData interface is just a marker interface for all kinds of parameters an optimizer may need or support. It is a bit tricky to

Re: Unable to use cluster function in DBSCANclusterer class

2013-07-26 Thread Thomas Neidhart
On 07/26/2013 09:54 PM, arvind viswanathan wrote: I am trying to use the class for clustering. However I am not sure about the syntax of using this function. Here is what I have, ListDoublePoint data = new ArrayListDoublePoint(); DBSCANClusterer? extends Clusterable dbscan = new

[ANNOUNCEMENT] Commons Collections 4.0-alpha1 released

2013-07-06 Thread Thomas Neidhart
The Apache Commons team is pleased to announce the release of commons-collections4-4.0-alpha1! Commons Collections is a project to develop and maintain collection classes based on and inspired by the JDK collection framework. Collections 4 uses the generics features of Java 5 and is not

Re: [math] Struggling with opimization

2013-05-24 Thread Thomas Neidhart
On 05/24/2013 12:02 AM, Thomas Neidhart wrote: On 05/23/2013 11:17 PM, Mister Mak wrote: Thanks to Thomas and Gilles for their tips. The univariate solution proposed works (for the record: UnivariateFunction f = new UnivariateFunction() {public double value(double x) {return -(x - 5.0

Re: [math] Struggling with opimization

2013-05-23 Thread Thomas Neidhart
Hi Philippe, fyi: the optimization package has been refactored from base-package optimization to optim both contain more or less the same functionality, but the interface is slightly different. Looking at your example, you seem to have a univariate case, so you could use the BrentSolver like

Re: [math] Struggling with opimization

2013-05-23 Thread Thomas Neidhart
On 05/23/2013 11:17 PM, Mister Mak wrote: Thanks to Thomas and Gilles for their tips. The univariate solution proposed works (for the record: UnivariateFunction f = new UnivariateFunction() {public double value(double x) {return -(x - 5.0) * (x - 5.0) + 2.25; }}; BrentOptimizer

Re: [math] Help needed for usage of Newton-Raphson solver

2013-05-22 Thread Thomas Neidhart
Hi Franz, you can take a look at the following class which is used for the unit tests: public class QuinticFunction implements UnivariateDifferentiableFunction { /* Evaluate quintic. * @see org.apache.commons.math3.UnivariateFunction#value(double) */ public double value(double

[ANNOUNCE] Commons Logging version 1.1.3 released

2013-05-21 Thread Thomas Neidhart
Hello. The Apache Commons team is pleased to announce the release of commons-logging-1.1.3. Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. Source and binary distributions are available for download from the Apache Commons download site:

Re: [math] smoothing techniques

2013-05-08 Thread Thomas Neidhart
On 05/08/2013 07:54 PM, luca.marche...@univr.it wrote: Dear all, I would like to know if in math commons is implemented an algorithm that can be used for cleaning a noisy time series. I have the following problem: in my Java application I need to run some calculations on a set of time

Re: [math] Speeding up optimization problem?

2013-05-03 Thread Thomas Neidhart
at all. I suspect that the initial guess does not have any impacts on the simplex solver, but it might make sense to warn the user about it. Cheers, Thorsten On Apr 30, 2013, at 2:43 AM, Thomas Neidhart thomas.neidh...@gmail.com wrote: On 04/28/2013 11:14 PM, Thorsten Schaefer wrote

Re: [math] Speeding up optimization problem?

2013-04-30 Thread Thomas Neidhart
On 04/30/2013 07:43 AM, Thomas Neidhart wrote: On 04/28/2013 11:14 PM, Thorsten Schaefer wrote: Hello, I just started using common math and have a performance issue with the optimization algorithm, hoping to be able to speed it up in some way, even if this reduces the accuracy

Re: commons-email sending email twice?

2013-03-29 Thread Thomas Neidhart
On Fri, Mar 29, 2013 at 1:30 AM, David Hoffer dhoff...@gmail.com wrote: I've got a strange one. I'm using commons-email to send some email, that is being sent to two recipients so I call addTo() twice, once for each recipients, then I call send() once. I can tell I'm calling send() once per

[ANNOUNCE] Commons Logging version 1.1.2 released

2013-03-20 Thread Thomas Neidhart
Hello. The Apache Commons team is pleased to announce the release of commons-logging-1.1.2. Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. Source and binary distributions are available for download from the Apache Commons download site:

Re: [fileupload] Expected encoding for Content-disposition 'filename' parameter

2013-03-12 Thread Thomas Neidhart
On Thu, Mar 7, 2013 at 11:14 PM, Jaime Hablutzel Egoavil hablutz...@gmail.com wrote: I'm looking that commons fileupload uses a 'headerEncoding' variable which Javadoc explanes: Specifies the character encoding to be used when reading the headers of individual part. When not specified, or

Re: [math] Solving SLP problem

2013-03-07 Thread Thomas Neidhart
On Thu, Mar 7, 2013 at 5:13 PM, Alexander Sehlström alexan...@sehlstrom.sewrote: Hi, I wish to solve the following problem: /* Problem * Starting from double[] s0, determine double[] s, the solution of: * * | min f' * s *

Re: [math] Solving SLP problem

2013-03-07 Thread Thomas Neidhart
On 03/07/2013 06:31 PM, Alexander Sehlström wrote: Thomas, Thanks for the suggested solution. Seams to do the job as it no longer throws errors. How do I retrieve my resulting double[] s from the PointValuePair r = new SimplexSolver().optimize(...)? r.getPoint() returns the found

[ANNOUNCE] Commons Email version 1.3.1 released

2013-03-04 Thread Thomas Neidhart
Hello. The Apache Commons team is pleased to announce the release of Commons-Email 1.3.1. Commons-Email aims to provide an API for sending email. It is built on top of the JavaMail API, which it aims to simplify. Commons Email can be downloaded from the following page:

Re: Web servers all documentation links are broken

2013-02-28 Thread Thomas Neidhart
On 02/28/2013 01:10 PM, walter.ea...@bet365.com wrote: Hello, I couldn't find a better place to post this. I'm trying to read documentation but every link is broken.

Re: Class org.apache.commons.logging.impl.SimpleLog does not implement Log

2013-02-27 Thread Thomas Neidhart
On Wed, Feb 27, 2013 at 3:08 PM, Schuetz, Paul (EXTERN: DOS) extern.paul.schu...@volkswagen.de wrote: Hello, I am trying to get up and running a simple application under an IBM WAS 8.0. My application consist of an simple jsf file and a bean used as an actionlistener for a button inside the

Re: [cli] Apache CLI website issue

2013-02-26 Thread Thomas Neidhart
On 02/27/2013 01:31 AM, Miraj Shah wrote: To whom it may concern, The link for the CLI Javadocs on the website (http://commons.apache.org/proper/commons-cli//api-release/index.html) is broken. Please fix. We are currently working on these issues, to access it you can use this link

Re: cannot parse headers to create MIME message

2013-02-24 Thread Thomas Neidhart
On 02/24/2013 08:17 PM, Thufir wrote: No matter how I try to parse NNTP headers into a MIME message I just get a flurry of errors. Is there a a trick or technique? Also see: http://stackoverflow.com/questions/15051188/ The example on this page is not related at all to any Apache Commons

Re: Remove headers on multipart email

2013-02-16 Thread Thomas Neidhart
On 02/15/2013 10:44 PM, Ricardo Bevilacqua wrote: Hi to all! I'm facing the following issue: my client has an SMTP server that blocks incomming mails that have the from header for some reason. If the mail doesn't have this header, it works. So my question is if there is a chance to remove

Re: [CLI] - withValueSeparator() usage

2013-02-06 Thread Thomas Neidhart
On 02/05/2013 11:55 AM, Gilles wrote: On Tue, 5 Feb 2013 11:33:45 +0100, Thomas Neidhart wrote: On Tue, Feb 5, 2013 at 10:27 AM, Greg Thomas greg.d.tho...@gmail.comwrote: If you would specify hasArgs(3), you would indeed get the values split into an array of 3 strings. Though in my

Re: [CLI] - withValueSeparator() usage

2013-02-03 Thread Thomas Neidhart
On 02/03/2013 06:29 PM, Greg Thomas wrote: I've had a look; I the only place that could do with clarification is the javadoc for getOptionValues @ http://commons.apache.org/cli/api-release/org/apache/commons/cli/CommandLine.html#getOptionValues(java.lang.String) /

Re: Commons CLI command stype

2013-01-28 Thread Thomas Neidhart
On 01/28/2013 06:08 PM, Eric Liu wrote: Hi, I know the default 'Commons CLI' command style is like ' java -jar ***.jar [OPTIONS]'. Can anyone tell me how to make this kind of command style using Commons CLI? java -jar ***.jar [COMMAND] [OPTIONS] Well, as you already pointed out,

Re: [math] hypergeometric distribution giving incorrect results

2012-09-04 Thread Thomas Neidhart
On 09/04/2012 04:14 AM, Guha, Rajarshi (NIH/NCATS) [C] wrote: Hi, I'm using commons math 2.2 and the values from the hypergeometric distribution do not seem to match an alternative implementation (from R 2.15.1). The code I'm using is HypergeometricDistributionImpl d =

Re: [MATH] Kalman Filter

2012-07-26 Thread Thomas Neidhart
On 07/26/2012 07:12 PM, Garrett Kane wrote: The code I am using (copied from the apache commons page on the kalman filter) is: *public* *class* Kalman { *void* main(){ [snip] Hi Garrett, whatever you see in your output, it is not related to the code you posted. In fact the kalman filter

Re: [math] PolynomialFitter.fit() stalls

2012-05-31 Thread Thomas Neidhart
On 05/31/2012 06:12 PM, Gilles Sadowski wrote: Hi. [snip test case] This looks like a bug. Could you please open a ticket on the bug tracking system[1]? Once the issue is created, you should also upload a fully contained unit test demonstrating the problem. This is most likely related to

Re: [math] PolynomialFitter.fit() stalls

2012-05-31 Thread Thomas Neidhart
On 05/31/2012 06:12 PM, Gilles Sadowski wrote: Hi. Hi, in certain cases I ran into the problem that the PolynomialFitter.fit() method stalls, meaning that it does not return, nor throw an Exception. Is there a way to tell the PolynomialFitter to iterate only N-times to ensure that my

Re: Thread-safety of Commons-Codec Encoder

2012-05-02 Thread Thomas Neidhart
On 05/01/2012 05:23 PM, David Smiley (@MITRE.org) wrote: I am reviewing Apache Lucene's use of Commons-Codec phonetic Encoders for thread-safety. Unfortunately, there is barely any mention about thread-safety in the javadocs. I think that's a real problem. I noticed this old JIRA issue