Re: [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions

2008-02-01 Thread Phil Steitz
On 2/1/08, sebb <[EMAIL PROTECTED]> wrote: > On 01/02/2008, Yegor Bryukhov <[EMAIL PROTECTED]> wrote: > > > You can build [math] using maven 2, which is now the primary build > > > platform for this component. The Ant build should also work. > > > > > > > http://commons.apache.org/math/developers.

Re: [math] going towards 1.2 release ?

2008-02-01 Thread Phil Steitz
On 2/1/08, Niall Pemberton <[EMAIL PROTECTED]> wrote: > On Feb 1, 2008 11:55 PM, Luc Maisonobe <[EMAIL PROTECTED]> wrote: > > sebb a écrit : > > > On 01/02/2008, Phil Steitz <[EMAIL PROTECTED]> wrote: > > >> On Feb 1, 2008 5:24 AM, <[EMAIL PROTECTED]> wrote: > > >>> Hello, > > >>> > > >>> Their ha

Re: [math] going towards 1.2 release ?

2008-02-01 Thread sebb
On 02/02/2008, Niall Pemberton <[EMAIL PROTECTED]> wrote: > On Feb 1, 2008 11:55 PM, Luc Maisonobe <[EMAIL PROTECTED]> wrote: > > sebb a écrit : > > > On 01/02/2008, Phil Steitz <[EMAIL PROTECTED]> wrote: > > >> On Feb 1, 2008 5:24 AM, <[EMAIL PROTECTED]> wrote: > > >>> Hello, > > >>> > > >>> Thei

Re: [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions

2008-02-01 Thread sebb
On 01/02/2008, Yegor Bryukhov <[EMAIL PROTECTED]> wrote: > > You can build [math] using maven 2, which is now the primary build > > platform for this component. The Ant build should also work. > > > > http://commons.apache.org/math/developers.html > refers to http://commons.apache.org/building.htm

Re: [math] going towards 1.2 release ?

2008-02-01 Thread Niall Pemberton
On Feb 1, 2008 11:55 PM, Luc Maisonobe <[EMAIL PROTECTED]> wrote: > sebb a écrit : > > On 01/02/2008, Phil Steitz <[EMAIL PROTECTED]> wrote: > >> On Feb 1, 2008 5:24 AM, <[EMAIL PROTECTED]> wrote: > >>> Hello, > >>> > >>> Their have been lot of work done recently on [math]. The last bugs have > >

Re: [math] going towards 1.2 release ?

2008-02-01 Thread Luc Maisonobe
sebb a écrit : On 01/02/2008, Phil Steitz <[EMAIL PROTECTED]> wrote: On Feb 1, 2008 5:24 AM, <[EMAIL PROTECTED]> wrote: Hello, Their have been lot of work done recently on [math]. The last bugs have been fixed and should be closed in Jira soon. What about preparing 1.2 release ? Good idea

Re: [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions

2008-02-01 Thread Yegor Bryukhov
> You can build [math] using maven 2, which is now the primary build > platform for this component. The Ant build should also work. > http://commons.apache.org/math/developers.html refers to http://commons.apache.org/building.html which mentions Maven 1.0.2 only > Maven 1.0.2 is still also avail

Re: [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions

2008-02-01 Thread Phil Steitz
On 2/1/08, Yegor Bryukhov <[EMAIL PROTECTED]> wrote: > done, MATH-184 > > as for a patch, yesterday I tried to download Maven 1.0.2 from Apache > mirrors to build the library but could not find a single mirror where > it would still be available. And Maven 1.1 complains about > "Unrecognised tag: '

Re: [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions

2008-02-01 Thread Yegor Bryukhov
done, MATH-184 as for a patch, yesterday I tried to download Maven 1.0.2 from Apache mirrors to build the library but could not find a single mirror where it would still be available. And Maven 1.1 complains about "Unrecognised tag: 'optional'" in project.xml :( On Feb 1, 2008 4:57 PM, Phil Steit

Re: Support for OSGi

2008-02-01 Thread Stuart McCulloch
On 01/02/2008, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > On Feb 1, 2008 1:19 PM, Oberhuber, Martin > <[EMAIL PROTECTED]> wrote: > > Hello Niall / Stuart, > > > > thanks for your answers. It looks like the usage patterns > > of OSGi in the Apache and Eclipse communities are just > > a bit diffe

Re: [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions

2008-02-01 Thread Phil Steitz
On 2/1/08, Yegor Bryukhov <[EMAIL PROTECTED]> wrote: > cumulativeProbability((double)x, (double)x) returns 0 for > discrete/integer distributions > > I suppose AbstractIntegerDistribution.cumulativeProbability(double, > double) should be overridden to call its (int, int) version instead of > using

Re: apache commons-* -sources.jar

2008-02-01 Thread Torsten Curdt
On 01.02.2008, at 21:09, nicolas de loof wrote: Hello, Many apache commons have no -source.jar bundle in maven "central" repo. I've created some of them based on the official source distribution for my personnal use. Would you allow me use /x1/www/people.apache.org/repo/m1-ibiblio-rsync-re

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread nicolas de loof
Interesting to see so different results for same JRE on Windows and SunOs. This demonstrates that such bench are never a final answer to java performance questions ! Another such example is moksito test to compare synchronized to java5 Atomics. On Sun JRE perfs are the oposite to Bea JRockit ones

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread sebb
Win XP Intel Core(2) T5500 1.66GHz System.nanoTime took : 2064849583ns System.currentTimeMillis took : 62748478ns java version "1.5.0_13" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) On Hudson: java v

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread nicolas de loof
My personnal result (Windows XP AMD Athlon XP 2800+): C:\>java -version java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode) System.nanoTime took : 1432396575ns System.currentTimeMillis took : 61866802n

apache commons-* -sources.jar

2008-02-01 Thread nicolas de loof
Hello, Many apache commons have no -source.jar bundle in maven "central" repo. I've created some of them based on the official source distribution for my personnal use. Would you allow me use /x1/www/people.apache.org/repo/m1-ibiblio-rsync-repository/ for adding them, or do you prefer a more form

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread nicolas de loof
and without stupide copy/paste colorde formatting : public class CurrentTimeMillisVsNanoTime { static int loops = 100; /** * @param args */ public static void main( String[] args ) { long time = System.nanoTime(); long t; for ( int i = 0; i

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread nicolas de loof
I didn't commit from my office, but the bench looks like : * public* *class* CurrentTimeMillisVsNanoTime { *static* *int* *loops* = 100; /** * [EMAIL PROTECTED] args */ *public* *static* *void* main( String[] args ) { *long* time = System.*nanoTime*(); *long* t; *for* ( *int* i = 0;

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread sebb
And I could probably run it on OpenVMS ;-) On 01/02/2008, Siegfried Goeschl <[EMAIL PROTECTED]> wrote: > Hi Nicolas, > > if I either find the test code (or you commit it) I can tell you on Mac > OS X :-) > > Siegfried Goeschl > > nicolas de loof wrote: > > on java < 5 backport-util-concurren

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread Siegfried Goeschl
Hi Nicolas, if I either find the test code (or you commit it) I can tell you on Mac OS X :-) Siegfried Goeschl nicolas de loof wrote: on java < 5 backport-util-concurrent is required to provide System.nanotime() I've no idea of the result of such a bench on other JVM / architectures.

Re: Hi alll and a suggestion

2008-02-01 Thread Rodrigo di Lorenzo Lopes
I'm sorry if I resent this email. Actually, I didn't know if I was sending this mail correctly. Thanks. Rodrigo Em 1/2/2008 13:41, Niall Pemberton escreveu: On Feb 1, 2008 3:22 PM, Rodrigo di Lorenzo Lopes <[EMAIL PROTECTED]> wrote: Hi all! I'm Rodrigo di Lorenzo Lopes and I'd like to d

[math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions

2008-02-01 Thread Yegor Bryukhov
cumulativeProbability((double)x, (double)x) returns 0 for discrete/integer distributions I suppose AbstractIntegerDistribution.cumulativeProbability(double, double) should be overridden to call its (int, int) version instead of using default one from AbstractDistribution -- Best regards, Yegor _

Re: Support for OSGi

2008-02-01 Thread Niall Pemberton
On Feb 1, 2008 4:07 PM, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > On 01/02/2008, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > > > Would it be possible to add bnd 0.0.236 to the maven repo so I can try > > out these new features with Felix's bundle plugin? > > > > http://repo1.maven.org/maven2

Re: Hi alll and a suggestion

2008-02-01 Thread simon
Hi Rodrigo, It's great to see your offered patch. Thanks. And don't worry about your English; everyone understands about that. BeanUtils has only a couple of active developers, so how long it takes until someone can look at your code depends very much on how busy those people happen to be now. T

Re: Hi all and an suggestion...

2008-02-01 Thread Matt Benson
Use Morph @ morph.sourceforge.net. ;) -Matt --- Rodrigo di Lorenzo Lopes <[EMAIL PROTECTED]> wrote: > Hi all! > > I'm Rodrigo di Lorenzo Lopes and I'd like to do some > contributions to > commons apache project (despite my poor English > Knowledge). > > So, I have one problem with > BeanUtil

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread nicolas de loof
on java < 5 backport-util-concurrent is required to provide System.nanotime() I've no idea of the result of such a bench on other JVM / architectures. I'll try it on some of my corporate servers (solaris / linux ...) Having two timing modes would be a solution as you proposed. 2008/2/1, Siegfri

Re: Hi alll and a suggestion

2008-02-01 Thread Niall Pemberton
On Feb 1, 2008 3:22 PM, Rodrigo di Lorenzo Lopes <[EMAIL PROTECTED]> wrote: > Hi all! > > I'm Rodrigo di Lorenzo Lopes and I'd like to do some contributions to > commons apache project (despite my poor English Knowledge). > > So, I have one problem with BeanUtils.copyProperties: From a source, I >

Hi alll and a suggestion

2008-02-01 Thread Rodrigo di Lorenzo Lopes
Hi all! I'm Rodrigo di Lorenzo Lopes and I'd like to do some contributions to commons apache project (despite my poor English Knowledge). So, I have one problem with BeanUtils.copyProperties: From a source, I have a bean partialy populated. From another source, I have the same bean with oth

Re: Support for OSGi

2008-02-01 Thread Niall Pemberton
On Feb 1, 2008 1:19 PM, Oberhuber, Martin <[EMAIL PROTECTED]> wrote: > Hello Niall / Stuart, > > thanks for your answers. It looks like the usage patterns > of OSGi in the Apache and Eclipse communities are just > a bit different: Apache focuses on packages whereas Eclipse > focuses on Bundle granu

Re: Support for OSGi

2008-02-01 Thread Niall Pemberton
On Jan 31, 2008 3:01 PM, Peter Kriens <[EMAIL PROTECTED]> wrote: > > It's useless to add a "uses" directive for > > packages that are in the same bundle. > It is also harmless ... Besides, the important issue is that it lists > private packages, which is not wrong but useless. > > > At > > Ec

Re: [monitoring] timing precision : ms or ns ?

2008-02-01 Thread Siegfried Goeschl
Hi Nicolas, a few thoughts +) I use dynamic proxies together with JAMon to measure the execution time of method invocations - ns would make a lot of sense here +) the execution times also depend on you JVM since you are using JRockit +) and finally it depends how often you start/stop a monitor

[monitoring] timing precision : ms or ns ?

2008-02-01 Thread nicolas de loof
Hello, For commons-monitoring my first intent was to use System.nanotime() to compute code performances. A simple bench [1] demonstrates that System.currentTimeMillis is FAR quicker to return current time (on my windows box [2]) : nanoseconds precision may be usefull for profilers, but is it for

[EMAIL PROTECTED]: Project commons-jelly-tags-jaxme (in module commons-jelly) failed

2008-02-01 Thread commons-jelly-tags-jaxme development
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 [EMAIL PROTECTED] Project commons-jelly-tags-jaxme has an issue affecting its community integration. This

Re: [math] going towards 1.2 release ?

2008-02-01 Thread sebb
On 01/02/2008, Phil Steitz <[EMAIL PROTECTED]> wrote: > On Feb 1, 2008 5:24 AM, <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Their have been lot of work done recently on [math]. The last bugs have been > > fixed and should be closed in Jira soon. > > > > What about preparing 1.2 release ? > > >

Re: [math] going towards 1.2 release ?

2008-02-01 Thread Phil Steitz
On Feb 1, 2008 5:24 AM, <[EMAIL PROTECTED]> wrote: > Hello, > > Their have been lot of work done recently on [math]. The last bugs have been > fixed and should be closed in Jira soon. > > What about preparing 1.2 release ? > Good idea. I will finish the last bits on the Anova addition and some

RE: Support for OSGi

2008-02-01 Thread Oberhuber, Martin
Hello Niall / Stuart, thanks for your answers. It looks like the usage patterns of OSGi in the Apache and Eclipse communities are just a bit different: Apache focuses on packages whereas Eclipse focuses on Bundle granularity for Re-use. That's why we don't explicitly import all exported packages

Hi all and an suggestion...

2008-02-01 Thread Rodrigo di Lorenzo Lopes
Hi all! I'm Rodrigo di Lorenzo Lopes and I'd like to do some contributions to commons apache project (despite my poor English Knowledge). So, I have one problem with BeanUtils.copyProperties: From a source, I have a bean partialy populated. From another source, I have the same bean with oth

[math] going towards 1.2 release ?

2008-02-01 Thread luc . maisonobe
Hello, Their have been lot of work done recently on [math]. The last bugs have been fixed and should be closed in Jira soon. What about preparing 1.2 release ? Luc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [fulcrum] Moving to M2

2008-02-01 Thread Siegfried Goeschl
Hi Simon, these are interesting new - I have a look at it. I personally thing that a proper SVN report is a must have since it simplifies reviewing of code changes (I guess I might be overly formal here) Cheers, Siegfried Goeschl Simon Kitching wrote: Hi Siegfried, Siegfried Goeschl

Re: [fulcrum] Moving to M2

2008-02-01 Thread Simon Kitching
Hi Siegfried, Siegfried Goeschl <[EMAIL PROTECTED]> schrieb: > Hi folks, > > since my last releases of Fulcrum components reminded me of the dark > ages of release management I decided to move Fulcrum to M2 > +) I still have problems with the svn report - it picks up everything > which I

[fulcrum] Moving to M2

2008-02-01 Thread Siegfried Goeschl
Hi folks, since my last releases of Fulcrum components reminded me of the dark ages of release management I decided to move Fulcrum to M2 +) I added a fulcrum-parent project to SVN +) I migrated fulcrum-yaafi to a M2 build while M1 still works +) since "site:deploy" works now - a first draft o