Re: [commons-bsf] Question(s)

2020-12-01 Thread John Patrick
Rony,
Check emails that I started or replied too, from 1st March 2020
onwards. Probably up to about 10 separate email chains covering
dependabot, java 1.6/1.7/8/11+, junit 4.13, junit jupiter, getting
repo's in sync.
So I wasn't raising pr's blindly, I was doing them in conjunction with
email conversations...

John

On Tue, 24 Nov 2020 at 16:00, Gary Gregory  wrote:
>
> There has been lots of talk around Dependabot on the dev ML in the last few
> months. The current issue is that we want all robot emails off the dev ML
> and on to another probably new list.
>
> WRT Java 6, I would say forget it from my POV and interest. I am trying to
> move all components to Java 8, which is the oldest Java LTS release.
>
> Remember that no one will force an app onto a new version, it's up to the
> app.
>
> It's not clear to me if we have even interest for a BSF release. It looks
> like the last functional commit was from 2014, not a great sign...
>
> Any thoughts folks?
>
> Gary
>
> On Tue, Nov 24, 2020, 10:15 Rony G. Flatscher (Apache) 
> wrote:
>
> > Just noticed that there was some activity on GitHub related to BSF (e.g.
> >  (updating to JUnit 4.13.1),
> >  (dependabot), and the
> > like), but I cannot find any
> > discussions about it in dev@commons or in user@commons so wondering about
> > this.
> >
> > Regarding BSF 2.4 it would be important to have a Java minimum requirement
> > that allows for using it
> > in rather old Java runtime environments so I would be a little bit
> > preoccupied if the policy is to
> > upgrade the dependencies to the latest versions such that e.g. BSF 2.4
> > could not be deployed against
> > e.g. Java 1.6/6 anymore.
> >
> > So seeking information about where discussions/decisions took place or
> > should take place w.r.t. BSF?
> >
> > ---rony
> >
> > P.S.: Also it would be interesting to learn whether there is a demand for
> > creating a BSF 2.5 release?
> >
> > P.P.S.: Readying a script taglib that allows scripts in any script
> > language using the Apache Commons
> > BSF 2.4 to be used for creating web pages (and in this context even
> > allowing servlets to be
> > implemented with scripts), testing currently against Tomcat 9 ("javax.")
> > and Tomcat 10 ("jakarta.").
> > Tests being developed and carried out for [BSF4]ooRexx and Groovy (also
> > PHP using the JSR-223
> > sibling script taglib).
> >
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: How to run Test cases of Apache Commons Lang in Intellij?

2020-12-01 Thread John Patrick
Standard steps for a Maven project in IntelliJ...

a.k.a. open maven pom.xml in IntelliJ as a project.

You should see a "Maven" tab and inside that tab see "Apache Commons Lang".

Then expand commons-lang->src->test->java->org.apache.commons.lang3.

Then right click or secondary click on the folder, then select "Run
'Tests in 'org.apache.commons.lang3''.

Tests will now execute.

Change the maven project name and java package name, the above steps
are the standard maven steps for importing and running any unit tests
in intellij.

See screenshot from mac... windows or linux might be different.

John


On Tue, 1 Dec 2020 at 10:19, Kanak Sony  wrote:
>
> Hey Developers,
>
> I have been trying to debug the library in Intellij and in respect to that
> trying to run test cases of Apache Commons Lang in intellij but I was
> unable to find the same. Can anyone of you please suggest me if any such
> resources are available?
>
> --
> Regards,
> Kanak Sony


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Re: How to run Test cases of Apache Commons Lang in Intellij?

2020-12-01 Thread Phil Steitz



On 12/1/20 3:19 AM, Kanak Sony wrote:

Hey Developers,

I have been trying to debug the library in Intellij and in respect to that
trying to run test cases of Apache Commons Lang in intellij but I was
unable to find the same. Can anyone of you please suggest me if any such
resources are available?


Like most other Commons components, [lang] is set up as a maven 
project.  If you configure it as a maven project in Intellij, you can 
execute the tests in the IDE.  See [1].  That said, you can also just 
execute the tests from the command line, by entering "mvn clean test" 
from the top-level directory where you have the code checked out (the 
directory containing the file named pom.xml).  See [2] for an intro to 
maven.


Phil

[1] https://www.jetbrains.com/help/idea/maven-support.html

[2] https://maven.apache.org/guides/getting-started/



--
Regards,
Kanak Sony



-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [MATH] - Truncated Normal Distribution

2020-12-01 Thread Gilles Sadowski
Hello.

Le mar. 1 déc. 2020 à 06:02, Marko Malenic  a écrit :
>
> Awesome.
>
> Should I submit a jira ticket for this?

Yes.
https://issues.apache.org/jira/browse/STATISTICS

Regards,
Gilles

>
> On Tue, Dec 1, 2020 at 12:11 PM Gilles Sadowski 
> wrote:
>
> > Hello.
> >
> > Le mar. 1 déc. 2020 à 01:42, Marko Malenic  a écrit :
> > >
> > >  Hi,
> > >
> > > I'm a bit new to all this stuff, so bear with me while I ask some
> > questions
> > > :)
> > >
> > > There's a few ways to do this.
> > >
> > > In terms of number generation, there's a few algorithms, some of which at
> > > described at:
> > >
> > https://en.wikipedia.org/wiki/Truncated_normal_distribution#Computational_methods
> > > Any preferences on how to generate the numbers?
> > >
> > > I noticed sampling is split off to commons rng.
> > > Should another sampler be added, depending on the algorithm?
> > > Or maybe just using inverse transform sampling would be okay.
> >
> > Some of the implemented distributions use the inverse transform.
> > It's fine and sane to not do everything at once. ;-)
> >
> > Indeed, if you implement another sampler, it must go into the
> > "sampling" module of "Commons RNG", reusing functionality
> > already implemented there (if applicable).
> >
> > Regards,
> > Gilles
> >
> > > [...]

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



How to run Test cases of Apache Commons Lang in Intellij?

2020-12-01 Thread Kanak Sony
Hey Developers,

I have been trying to debug the library in Intellij and in respect to that
trying to run test cases of Apache Commons Lang in intellij but I was
unable to find the same. Can anyone of you please suggest me if any such
resources are available?

--
Regards,
Kanak Sony


Re: Hello Apache Commons :)

2020-12-01 Thread Kanak Sony
Thank you for responding :)

I have reviewed bugs @MATH, looks like this would be a bit difficult for me
to start as beginner.
I would like to start with some small issues.

--
Regards,
Kanak Sony





On Wed, Nov 25, 2020 at 7:13 PM Gilles Sadowski 
wrote:

> Hello.
>
> Le mar. 24 nov. 2020 à 21:10, Kanak Sony  a écrit :
> >
> > Hey all,
> >
> > I am very new to OSS Contribution and would like to help.
>
> Welcome.
>
> > Is there
> > anything that I can start with and pick up?
>
> Many things! ;-)
>
> A general approach would be to review the bug-tracking project
> of the components which you are interested in.
> On a personal note, I'd suggest:
> https://issues.apache.org/jira/projects/MATH
> whose release is long overdue.
>
> Thanks,
> Gilles
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>