adoption-discuss Digest, Vol 52, Issue 14

A Z poweruserm at live.com.au
Tue May 1 02:00:14 UTC 2018


'We need to wait on the building blocks of value types et al to see what new
 mathematics libraries can be written.'

The mathematics changes that I have submitted aren't for Java
programmers to implement after the fact, they are root option
changes in the language itself.

Is there anyone involved in the JDK SE who can respond?
________________________________
From: adoption-discuss <adoption-discuss-bounces at openjdk.java.net> on behalf of adoption-discuss-request at openjdk.java.net <adoption-discuss-request at openjdk.java.net>
Sent: Tuesday, 1 May 2018 8:03 AM
To: adoption-discuss at openjdk.java.net
Subject: adoption-discuss Digest, Vol 52, Issue 14

Send adoption-discuss mailing list submissions to
        adoption-discuss at openjdk.java.net

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.openjdk.java.net/mailman/listinfo/adoption-discuss
or, via email, send a message with subject or body 'help' to
        adoption-discuss-request at openjdk.java.net

You can reach the person managing the list at
        adoption-discuss-owner at openjdk.java.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of adoption-discuss digest..."


Today's Topics:

   1. Hello! (Jacob Glickman)
   2. Re: Hello! (Martijn Verburg)
   3. Re: Hello! (Jacob Glickman)
   4. Re: Hello! (Martijn Verburg)
   5. Re: Hello! (Wang Weijun)
   6. Re: Java and Mathematics; modes, means, and extent. (Stefan Reich)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Apr 2018 17:25:58 +0000
From: Jacob Glickman <jhg023 at bucknell.edu>
To: "adoption-discuss at openjdk.java.net"
        <adoption-discuss at openjdk.java.net>
Subject: Hello!
Message-ID:
        <CAMCeUnyj_eKZdV1oOotDkcgVBwvogn_3QuqcKsB6yUhOTzB2YQ at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

I originally posted this in 'discuss', but was redirected to here.

Hello!  My name is Jacob, and I just joined as an OpenJDK contributor the
other day.  I have a plethora of ideas regarding new methods to add to
existing APIs; however, I'm not entirely sure how to go about proposing
them (or, at least, *where* to propose them).  Specifically, I was looking
for the mailing list that covers Java's Collections API, but I'm not sure
which one that would be (if I had to guess, it would be jdk-dev).  I've
read over the "How to Contribute" page as well, but I'm still confused
regarding how to build the JDK (or even where to get the files from to make
changes).  If anyone could provide me with some tips that helped them when
they joined, I would be very grateful!

- Jacob


------------------------------

Message: 2
Date: Mon, 30 Apr 2018 19:17:36 +0100
From: Martijn Verburg <martijnverburg at gmail.com>
To: Jacob Glickman <jhg023 at bucknell.edu>
Cc: "adoption-discuss at openjdk.java.net"
        <adoption-discuss at openjdk.java.net>
Subject: Re: Hello!
Message-ID:
        <CAP7YuAR+zWYxHeLBmOHZijtHpxjbW_uCm9obsq1s16sQjOHSKQ at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Jacob,

Responses inline!

On 30 April 2018 at 18:25, Jacob Glickman <jhg023 at bucknell.edu> wrote:

> I originally posted this in 'discuss', but was redirected to here.
>
> Hello!  My name is Jacob, and I just joined as an OpenJDK contributor the
> other day.  I have a plethora of ideas regarding new methods to add to
> existing APIs; however, I'm not entirely sure how to go about proposing
> them (or, at least, *where* to propose them).  Specifically, I was looking
> for the mailing list that covers Java's Collections API, but I'm not sure
> which one that would be (if I had to guess, it would be jdk-dev).


Proposals would go to core-libs first but it's *highly* recommended that
you:

a.) Check that this proposal or one like it hasn't been raised before both
in the mailing list
archives http://mail.openjdk.java.net/pipermail/core-libs-dev/ and in the
JBUG database
https://bugs.openjdk.java.net/secure/Dashboard.jspa

Feel free to write up your proposal here first :-)

b.) Be prepared to discuss the change first

c.) If everyone agrees be prepared to fully code, test and build the
changes
on the appropriate forest.  The Adopt Build Farm can help here.


> I've read over the "How to Contribute" page as well, but I'm still confused
> regarding how to build the JDK (or even where to get the files from to make
> changes).  If anyone could provide me with some tips that helped them when
> they joined, I would be very grateful!
>

OpenJDK uses Mercurial Forests and the development is is done on mainline:

See http://openjdk.java.net/projects/jdk/ for details

The Adopt Build Farm has build scripts and infra if you want to test on
other platforms.

There's an awful lot to get your head around and things to do before you
can get patches
accepted, but it's worth the effort!

Cheers,]
Martijn




>
> - Jacob
>


------------------------------

Message: 3
Date: Mon, 30 Apr 2018 14:37:04 -0400
From: Jacob Glickman <jhg023 at bucknell.edu>
To: Martijn Verburg <martijnverburg at gmail.com>
Cc: "adoption-discuss at openjdk.java.net"
        <adoption-discuss at openjdk.java.net>
Subject: Re: Hello!
Message-ID:
        <CAMCeUnxPX6aaOAMANVG+erdFAK50snhsWcP+ehEdQ-jbha8eeQ at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

I apologize in advance, as I know I'm going to have trouble quoting
snippets of responses.  Anyway, thank you very much for the advice!  I'll
be sure to search thoroughly before proposing anything, and I'd love to
discuss my proposed changes and why I believe they should be implemented.
Also, I'd be happy to fully code, test, and write documentation for the
change (if accepted, of course).  Unfortunately I've never used Mercurial
before, so I can imagine that it'll be overwhelming at first like you said.

> Feel free to write up your proposal here first :-)

Meanwhile, I'll do some searching and possibly write up a proposal to be
sent here first for feedback before submitting it to 'core-libs'.  Does
there happen to be an efficient way to search through the mailing list?  If
not, I reckon I could download the text versions and write something to
parse through it (if that's allowed).  Thanks again!

- Jacob

On Mon, Apr 30, 2018 at 2:17 PM, Martijn Verburg <martijnverburg at gmail.com>
wrote:

> Hi Jacob,
>
> Responses inline!
>
> On 30 April 2018 at 18:25, Jacob Glickman <jhg023 at bucknell.edu> wrote:
>
>> I originally posted this in 'discuss', but was redirected to here.
>>
>> Hello!  My name is Jacob, and I just joined as an OpenJDK contributor the
>> other day.  I have a plethora of ideas regarding new methods to add to
>> existing APIs; however, I'm not entirely sure how to go about proposing
>> them (or, at least, *where* to propose them).  Specifically, I was looking
>> for the mailing list that covers Java's Collections API, but I'm not sure
>> which one that would be (if I had to guess, it would be jdk-dev).
>
>
> Proposals would go to core-libs first but it's *highly* recommended that
> you:
>
> a.) Check that this proposal or one like it hasn't been raised before both
> in the mailing list
> archives http://mail.openjdk.java.net/pipermail/core-libs-dev/ and in the
> JBUG database
> https://bugs.openjdk.java.net/secure/Dashboard.jspa
>
> Feel free to write up your proposal here first :-)
>
> b.) Be prepared to discuss the change first
>
> c.) If everyone agrees be prepared to fully code, test and build the
> changes
> on the appropriate forest.  The Adopt Build Farm can help here.
>
>
>> I've read over the "How to Contribute" page as well, but I'm still
>> confused
>> regarding how to build the JDK (or even where to get the files from to
>> make
>> changes).  If anyone could provide me with some tips that helped them when
>> they joined, I would be very grateful!
>>
>
> OpenJDK uses Mercurial Forests and the development is is done on mainline:
>
> See http://openjdk.java.net/projects/jdk/ for details
>
> The Adopt Build Farm has build scripts and infra if you want to test on
> other platforms.
>
> There's an awful lot to get your head around and things to do before you
> can get patches
> accepted, but it's worth the effort!
>
> Cheers,]
> Martijn
>
>
>
>
>>
>> - Jacob
>>
>
>


------------------------------

Message: 4
Date: Mon, 30 Apr 2018 21:10:39 +0100
From: Martijn Verburg <martijnverburg at gmail.com>
To: Jacob Glickman <jhg023 at bucknell.edu>
Cc: "adoption-discuss at openjdk.java.net"
        <adoption-discuss at openjdk.java.net>
Subject: Re: Hello!
Message-ID:
        <CAP7YuASvECMt+pcvxU-=5MpurNsTcy7V0RWdFgR85ZroKnxHoA at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Jacob,

No worries - you can try one of the following:

http://openjdk.markmail.org/
http://openjdk.5641.n7.nabble.com/

Mercurial is actually a lot like Git, except for when it isn't ;-).  Make
sure you read the docs for each command as it and git use different terms
for similar concepts.

Building OpenJDK locally on Linux is fairly trivial, other platforms not so
much.  I'd recommend working in a VM or a Docker container personally

Cheers,
Martijn

On 30 April 2018 at 19:37, Jacob Glickman <jhg023 at bucknell.edu> wrote:

> I apologize in advance, as I know I'm going to have trouble quoting
> snippets of responses.  Anyway, thank you very much for the advice!  I'll
> be sure to search thoroughly before proposing anything, and I'd love to
> discuss my proposed changes and why I believe they should be implemented.
> Also, I'd be happy to fully code, test, and write documentation for the
> change (if accepted, of course).  Unfortunately I've never used Mercurial
> before, so I can imagine that it'll be overwhelming at first like you said.
>
> > Feel free to write up your proposal here first :-)
>
> Meanwhile, I'll do some searching and possibly write up a proposal to be
> sent here first for feedback before submitting it to 'core-libs'.  Does
> there happen to be an efficient way to search through the mailing list?  If
> not, I reckon I could download the text versions and write something to
> parse through it (if that's allowed).  Thanks again!
>
> - Jacob
>
> On Mon, Apr 30, 2018 at 2:17 PM, Martijn Verburg <martijnverburg at gmail.com
> > wrote:
>
>> Hi Jacob,
>>
>> Responses inline!
>>
>> On 30 April 2018 at 18:25, Jacob Glickman <jhg023 at bucknell.edu> wrote:
>>
>>> I originally posted this in 'discuss', but was redirected to here.
>>>
>>> Hello!  My name is Jacob, and I just joined as an OpenJDK contributor the
>>> other day.  I have a plethora of ideas regarding new methods to add to
>>> existing APIs; however, I'm not entirely sure how to go about proposing
>>> them (or, at least, *where* to propose them).  Specifically, I was
>>> looking
>>> for the mailing list that covers Java's Collections API, but I'm not sure
>>> which one that would be (if I had to guess, it would be jdk-dev).
>>
>>
>> Proposals would go to core-libs first but it's *highly* recommended that
>> you:
>>
>> a.) Check that this proposal or one like it hasn't been raised before
>> both in the mailing list
>> archives http://mail.openjdk.java.net/pipermail/core-libs-dev/ and in
>> the JBUG database
>> https://bugs.openjdk.java.net/secure/Dashboard.jspa
>>
>> Feel free to write up your proposal here first :-)
>>
>> b.) Be prepared to discuss the change first
>>
>> c.) If everyone agrees be prepared to fully code, test and build the
>> changes
>> on the appropriate forest.  The Adopt Build Farm can help here.
>>
>>
>>> I've read over the "How to Contribute" page as well, but I'm still
>>> confused
>>> regarding how to build the JDK (or even where to get the files from to
>>> make
>>> changes).  If anyone could provide me with some tips that helped them
>>> when
>>> they joined, I would be very grateful!
>>>
>>
>> OpenJDK uses Mercurial Forests and the development is is done on
>> mainline:
>>
>> See http://openjdk.java.net/projects/jdk/ for details
>>
>> The Adopt Build Farm has build scripts and infra if you want to test on
>> other platforms.
>>
>> There's an awful lot to get your head around and things to do before you
>> can get patches
>> accepted, but it's worth the effort!
>>
>> Cheers,]
>> Martijn
>>
>>
>>
>>
>>>
>>> - Jacob
>>>
>>
>>
>


------------------------------

Message: 5
Date: Mon, 30 Apr 2018 17:02:40 -0400
From: Wang Weijun <weijun.wang at oracle.com>
To: Jacob Glickman <jhg023 at bucknell.edu>
Cc: "adoption-discuss at openjdk.java.net"
        <adoption-discuss at openjdk.java.net>
Subject: Re: Hello!
Message-ID: <9B214498-3DD3-4357-AD96-A23FB852ED8C at oracle.com>
Content-Type: text/plain;       charset=utf-8

It?s core-libs-dev at openjdk.java.net

> ? 2018?4?30??13:25?Jacob Glickman <jhg023 at bucknell.edu> ???
>
> Specifically, I was looking
> for the mailing list that covers Java's Collections API, but I'm not sure
> which one that would be (if I had to guess, it would be jdk-dev).



------------------------------

Message: 6
Date: Tue, 1 May 2018 00:03:00 +0200
From: Stefan Reich <stefan.reich.maker.of.eye at googlemail.com>
To: Martijn Verburg <martijnverburg at gmail.com>
Cc: A Z <poweruserm at live.com.au>, "adoption-discuss at openjdk.java.net"
        <adoption-discuss at openjdk.java.net>
Subject: Re: Java and Mathematics; modes, means, and extent.
Message-ID:
        <CAC2-jLEnq55oAB1x=WzHxnNXw+YSSyfBHrPB2_rRXjhd8fTtMg at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

I supported the OP in the beginning, but now I think the request is
actually dubious.

Show us some code - yes you have to open it up! - and then say "It is
running too slowly for application X".

Otherwise, why should we bother?

Cheers
Stefan

On 30 April 2018 at 12:49, Martijn Verburg <martijnverburg at gmail.com> wrote:

> I think this question has been answered multiple times before.  We need to
> wait on the building blocks of value types et al to see what new
> mathematics libraries can be written.
>
> In the mean time if you need the type of mathematical support you are after
> in a programming language then you?ll have to choose one with that support.
>
> Cheers,
> Martijn
>
> On Mon, 30 Apr 2018 at 08:33, A Z <poweruserm at live.com.au> wrote:
>
> > What sorts of changes are possible in Java 2 SE
> > in the areas of floating point, arithmetic, and mathematics?
> >
> > The whole thing is, is that certain floating point operators,
> > upon two floating point types, with the base 10 solution
> > within range accuracy or not, produces overflow and underflow.
> > With no option to enforce range accuracy and turn the denormals
> > off.
> >
> > There is the case of javax.vecmath.Vector3d, which uses non range
> > accurate presumption to try and form a denormal vulnerable results
> > for cross products.
> >
> > If you need numbers and operations, to range accuracy, beyond the extend
> > of long, or decimal numbers more precise than double, you then need to
> use
> > other types.
> >
> > However the problem is that BigInteger and BigDecimal, or any available
> > other types,
> > don't allow the use of operators.  BigInteger and BigDecimal types also
> > aren't pro extensible
> > inside virtual machine memory either, being heir to an array length
> limit;
> > they are not pro extensible.
> > Also combined with the fact that there isn't an Oracle robust StrictMath
> > equivalent for BigDecimal,
> > for trigonometry, advanced powers, nth root, pi and e.
> >
> > All of these problems are serious reductions in development and
> > maintanence time, legibility,
> > even cross language code legibility for less Java centric folk.  However
> > the set of these problems
> > also includes a forbidding of the extent of allowed numbers (certainly in
> > 64 bit Java).
> >
> --
> Cheers, Martijn (Sent from Gmail Mobile)
>



--
Stefan Reich
BotCompany.de


End of adoption-discuss Digest, Vol 52, Issue 14
************************************************


More information about the adoption-discuss mailing list