Re: [math] threading redux

2015-04-17 Thread Ole Ersoy
This is a pretty good read as well: http://stackoverflow.com/questions/21163108/custom-thread-pool-in-java-8-parallel-stream A concern in earlier discussions focused on controlling the number of threads that the job consumes. Theres one example of using a custom thread pool for that. Users co

Re: [math] threading redux

2015-04-17 Thread Gary Gregory
I thought I'd share this read with you guys: http://coopsoft.com/ar/CalamityArticle.html I'm not sure how closely these problems relate with what [math] is trying to do, but it's a interesting read. Gary On Fri, Apr 17, 2015 at 9:01 AM, Gilles wrote: > On Fri, 17 Apr 2015 08:35:42 -0700, Phil

Re: [math] threading redux

2015-04-17 Thread James Carman
Do you have any pointers to code for this ForkJoin mechanism? I'm curious to see it. The key thing you will need in order to support parallelization in a generic way is to not tie it directly to threads, but use some abstraction layer above threads, since that may not be the "worker" method you'r

[GitHub] commons-lang pull request: Update DateUtils.java

2015-04-17 Thread asheldon
GitHub user asheldon opened a pull request: https://github.com/apache/commons-lang/pull/64 Update DateUtils.java 'Z' is the UTC timezone and machines running in this timezone fail the testLang530 test. You can merge this pull request into a Git repository by running: $ git pul

Re: [math] threading redux

2015-04-17 Thread Thomas Neidhart
On 04/17/2015 05:35 PM, Phil Steitz wrote: > On 4/17/15 3:14 AM, Gilles wrote: >> Hello. >> >> On Thu, 16 Apr 2015 17:06:21 -0500, James Carman wrote: >>> Consider me poked! >>> >>> So, the Java answer to "how do I run things in multiple threads" >>> is to >>> use an Executor (java.util). This doe

Re: [math] threading redux

2015-04-17 Thread Phil Steitz
On 4/17/15 9:01 AM, Gilles wrote: > On Fri, 17 Apr 2015 08:35:42 -0700, Phil Steitz wrote: >> On 4/17/15 3:14 AM, Gilles wrote: >>> Hello. >>> >>> On Thu, 16 Apr 2015 17:06:21 -0500, James Carman wrote: Consider me poked! So, the Java answer to "how do I run things in multiple thread

Re: [math] threading redux

2015-04-17 Thread Gilles
On Fri, 17 Apr 2015 08:35:42 -0700, Phil Steitz wrote: On 4/17/15 3:14 AM, Gilles wrote: Hello. On Thu, 16 Apr 2015 17:06:21 -0500, James Carman wrote: Consider me poked! So, the Java answer to "how do I run things in multiple threads" is to use an Executor (java.util). This doesn't necessar

Re: Fwd: Nexus: Staging Repository Dropped

2015-04-17 Thread Gary Gregory
TY! Gary Original message From: Benedikt Ritter Date: 04/17/2015 07:35 (GMT-08:00) To: Commons Developers List Subject: Re: Fwd: Nexus: Staging Repository Dropped 2015-04-17 14:30 GMT+02:00 sebb : > I think the problem here is that the Nexus mail is lacking in context.

Re: [math] threading redux

2015-04-17 Thread Phil Steitz
On 4/17/15 3:14 AM, Gilles wrote: > Hello. > > On Thu, 16 Apr 2015 17:06:21 -0500, James Carman wrote: >> Consider me poked! >> >> So, the Java answer to "how do I run things in multiple threads" >> is to >> use an Executor (java.util). This doesn't necessarily mean that you >> *have* to use a sep

Re: Fwd: Nexus: Staging Repository Dropped

2015-04-17 Thread Benedikt Ritter
2015-04-17 14:30 GMT+02:00 sebb : > I think the problem here is that the Nexus mail is lacking in context. > > Other Nexus mails have similar problems, but it is a particular > problem here as a dropped staging repo cannot be inspected for the > missing details! > > I raised: > https://issues.apac

[RESULT][VOTE][RC2] Release Apache Commons Math 3.5

2015-04-17 Thread Luc Maisonobe
Le 14/04/2015 15:02, Luc Maisonobe a écrit : > This is a [VOTE] for releasing Apache Commons Math 3.5 from release > candidate 2. This vote has PASSED with the following results: Luc : +1 (binding) Phil : +1 (binding) Jörg : +1 (binding) Thomas: +1 (binding) and no other votes. I'll

Re: Fwd: Nexus: Staging Repository Dropped

2015-04-17 Thread Gary Gregory
Great! Thanks Seb.  Gary Original message From: sebb Date: 04/17/2015 05:30 (GMT-08:00) To: Commons Developers List Subject: Re: Fwd: Nexus: Staging Repository Dropped I think the problem here is that the Nexus mail is lacking in context. Other Nexus mails have similar

Re: Fwd: Nexus: Staging Repository Dropped

2015-04-17 Thread sebb
I think the problem here is that the Nexus mail is lacking in context. Other Nexus mails have similar problems, but it is a particular problem here as a dropped staging repo cannot be inspected for the missing details! I raised: https://issues.apache.org/jira/browse/INFRA-9461 On 14 April 2015 a

Re: [math] threading redux

2015-04-17 Thread Gilles
Hello. On Thu, 16 Apr 2015 17:06:21 -0500, James Carman wrote: Consider me poked! So, the Java answer to "how do I run things in multiple threads" is to use an Executor (java.util). This doesn't necessarily mean that you *have* to use a separate thread (the implementation could execute inlin

Re: [TEXT] Distance vs. Metric vs. Similarity

2015-04-17 Thread Bruno P. Kinoshita
Finished reviewing the code and reports. Website updated to the latest version too. http://commons.apache.org/sandbox/commons-text/index.html All the best,Bruno From: Benedikt Ritter To: Commons Developers List ; Bruno P. Kinoshita Sent: Thursday, April 16, 2015 11:52 PM Subject: R