Re: [Jgeneral] can't load math/cal in j9.4 or j9.5 beta

2023-08-11 Thread chris burke
Thanks Raul and Ian.

As suggested, I will move the addons back to jsoftware, and also fix
the version number.

On Wed, Aug 9, 2023 at 5:27 PM Ian Clark  wrote:
>
> Thanks for alerting me to this 4 year old situation, which I had quite
> forgotten about.
>
> I am the owner of https://github.com/earthspot/math_cal -an experimental
> version of the addon: math/cal .
> There is no good reason why I should continue to own it. I recommend
> jsoftware takes it over, and give permission for
> https://github.com/earthspot/math_cal to be cloned for the purpose. Ditto
> the associated addons:
> https://github.com/earthspot/math_uu
> https://github.com/earthspot/math_tabula
>
> Ian Clark
>
> On Wed, 9 Aug 2023 at 14:55, chris burke  wrote:
>
> > Thanks for pointing this out.
> >
> > The repo for the addon is https://github.com/earthspot/math_cal, see
> > the source directory . The jsoftware original has been archived.
> >
> > Your fix works, but a slightly better change for 9.4 and 9.5 would be
> > based on JVERSION_NUMBER, e.g. in the current beta:
> >
> >JVERSION_NUMBER
> > 9050005
> >
> > On Wed, Aug 9, 2023 at 6:09 AM Raul Miller  wrote:
> > >
> > > J's math/cal has a version test which needs to be fixed.
> > >
> > > On line 25,
> > >
> > > if. 900 < ". }. '/' taketo 9!:14'' do.
> > >
> > > should become
> > >
> > > if. 900 < ". }. '/' taketo rplc&'.0' 9!:14'' do.
> > >
> > > However, https://github.com/jsoftware/math_cal/blob/master/cal.ijs
> > > does not represent this script, so I cannot submit a fix through
> > > github.
> > >
> > > FYI,
> > >
> > > --
> > > Raul
> > > --
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] can't load math/cal in j9.4 or j9.5 beta

2023-08-10 Thread bill lam
first test the availability of the verb revinfo_j_
if it is available then
   revinfo_j_''
+---++--+--+--+-+---++---+
|9050004|j9.5.0-beta4|j64arm|darwin|commercial|www.jsoftware.com
|2023-07-11T16:51:25|clang-14-0-0|SLEEF=1|
+---++--+--+--+-+---++---+

the REVSION_NUMBER is >{.revinfo_j_''

Otherwise fallback to the old 9!:14'' format.


On Thu, Aug 10, 2023 at 8:42 PM Raul Miller  wrote:

> I disagree that JVERSION_NUMBER would be superior in this example.
>
> I launched a j64-807 instance of J and a j903 instance. I ran
> install'all' in both instances, then exited and restarted. In neither
> case was JVERSION_NUMBER defined.
>
> This means that I would have to constrain deployment of the updates
> such that the test against JVERSION_NUMBER is unnecessary.
>
> Or am I missing something?
>
> Thanks,
>
> --
> Raul
>
> On Wed, Aug 9, 2023 at 9:55 AM chris burke  wrote:
> >
> > Thanks for pointing this out.
> >
> > The repo for the addon is https://github.com/earthspot/math_cal, see
> > the source directory . The jsoftware original has been archived.
> >
> > Your fix works, but a slightly better change for 9.4 and 9.5 would be
> > based on JVERSION_NUMBER, e.g. in the current beta:
> >
> >JVERSION_NUMBER
> > 9050005
> >
> > On Wed, Aug 9, 2023 at 6:09 AM Raul Miller 
> wrote:
> > >
> > > J's math/cal has a version test which needs to be fixed.
> > >
> > > On line 25,
> > >
> > > if. 900 < ". }. '/' taketo 9!:14'' do.
> > >
> > > should become
> > >
> > > if. 900 < ". }. '/' taketo rplc&'.0' 9!:14'' do.
> > >
> > > However, https://github.com/jsoftware/math_cal/blob/master/cal.ijs
> > > does not represent this script, so I cannot submit a fix through
> > > github.
> > >
> > > FYI,
> > >
> > > --
> > > Raul
> > > --
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] can't load math/cal in j9.4 or j9.5 beta

2023-08-10 Thread Raul Miller
I disagree that JVERSION_NUMBER would be superior in this example.

I launched a j64-807 instance of J and a j903 instance. I ran
install'all' in both instances, then exited and restarted. In neither
case was JVERSION_NUMBER defined.

This means that I would have to constrain deployment of the updates
such that the test against JVERSION_NUMBER is unnecessary.

Or am I missing something?

Thanks,

-- 
Raul

On Wed, Aug 9, 2023 at 9:55 AM chris burke  wrote:
>
> Thanks for pointing this out.
>
> The repo for the addon is https://github.com/earthspot/math_cal, see
> the source directory . The jsoftware original has been archived.
>
> Your fix works, but a slightly better change for 9.4 and 9.5 would be
> based on JVERSION_NUMBER, e.g. in the current beta:
>
>JVERSION_NUMBER
> 9050005
>
> On Wed, Aug 9, 2023 at 6:09 AM Raul Miller  wrote:
> >
> > J's math/cal has a version test which needs to be fixed.
> >
> > On line 25,
> >
> > if. 900 < ". }. '/' taketo 9!:14'' do.
> >
> > should become
> >
> > if. 900 < ". }. '/' taketo rplc&'.0' 9!:14'' do.
> >
> > However, https://github.com/jsoftware/math_cal/blob/master/cal.ijs
> > does not represent this script, so I cannot submit a fix through
> > github.
> >
> > FYI,
> >
> > --
> > Raul
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] can't load math/cal in j9.4 or j9.5 beta

2023-08-09 Thread Ian Clark
Thanks for alerting me to this 4 year old situation, which I had quite
forgotten about.

I am the owner of https://github.com/earthspot/math_cal -an experimental
version of the addon: math/cal .
There is no good reason why I should continue to own it. I recommend
jsoftware takes it over, and give permission for
https://github.com/earthspot/math_cal to be cloned for the purpose. Ditto
the associated addons:
https://github.com/earthspot/math_uu
https://github.com/earthspot/math_tabula

Ian Clark

On Wed, 9 Aug 2023 at 14:55, chris burke  wrote:

> Thanks for pointing this out.
>
> The repo for the addon is https://github.com/earthspot/math_cal, see
> the source directory . The jsoftware original has been archived.
>
> Your fix works, but a slightly better change for 9.4 and 9.5 would be
> based on JVERSION_NUMBER, e.g. in the current beta:
>
>JVERSION_NUMBER
> 9050005
>
> On Wed, Aug 9, 2023 at 6:09 AM Raul Miller  wrote:
> >
> > J's math/cal has a version test which needs to be fixed.
> >
> > On line 25,
> >
> > if. 900 < ". }. '/' taketo 9!:14'' do.
> >
> > should become
> >
> > if. 900 < ". }. '/' taketo rplc&'.0' 9!:14'' do.
> >
> > However, https://github.com/jsoftware/math_cal/blob/master/cal.ijs
> > does not represent this script, so I cannot submit a fix through
> > github.
> >
> > FYI,
> >
> > --
> > Raul
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] can't load math/cal in j9.4 or j9.5 beta

2023-08-09 Thread chris burke
Thanks for pointing this out.

The repo for the addon is https://github.com/earthspot/math_cal, see
the source directory . The jsoftware original has been archived.

Your fix works, but a slightly better change for 9.4 and 9.5 would be
based on JVERSION_NUMBER, e.g. in the current beta:

   JVERSION_NUMBER
9050005

On Wed, Aug 9, 2023 at 6:09 AM Raul Miller  wrote:
>
> J's math/cal has a version test which needs to be fixed.
>
> On line 25,
>
> if. 900 < ". }. '/' taketo 9!:14'' do.
>
> should become
>
> if. 900 < ". }. '/' taketo rplc&'.0' 9!:14'' do.
>
> However, https://github.com/jsoftware/math_cal/blob/master/cal.ijs
> does not represent this script, so I cannot submit a fix through
> github.
>
> FYI,
>
> --
> Raul
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jgeneral] can't load math/cal in j9.4 or j9.5 beta

2023-08-09 Thread Raul Miller
J's math/cal has a version test which needs to be fixed.

On line 25,

if. 900 < ". }. '/' taketo 9!:14'' do.

should become

if. 900 < ". }. '/' taketo rplc&'.0' 9!:14'' do.

However, https://github.com/jsoftware/math_cal/blob/master/cal.ijs
does not represent this script, so I cannot submit a fix through
github.

FYI,

-- 
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm