Thanks Bill, clearly fixed for the example problems.
----- Original Message -----
From: "bill lam" <[email protected]>
To: <[email protected]>
Sent: Friday, June 06, 2014 4:00 AM
Subject: Re: [Jbeta] plot domain error aborts J
I checked the c+p source of glcmds and found there is a bug in
that it tried to continue by skipping illegal data and fell into an
infinite loop. The bug has been fixed. The plot will not hang
but without any warning messages. The bug in plot addon that
generates illegal data for glcmds had not been investigated.
Thanks for reporting this bug.
Чт, 05 июн 2014, Fraser Jackson написал(а):
Thanks Ric and Bill.
Another script which may most times give an error which cannot be
recovered
is
(oops - I cannot copy it from the session since it is displayed but not
responding ..)
a =. i.10
b =. ?10#10
plot (b%a) ;a
I agree that the user should always try to ensure that the argument is in
the domain,
but sometimes buried in the code there will arise a problem like a Nan
and
we should have important code like the plot commands able to handle them.
In
J602 I do not remember an occasion where the plot commands failed to
deliver
some error message. I hope we can reach a similar situation for J802.
I completely understand that 'the plot addon is complex and difficult to
maintain'. We are deeply indebted to those who have developed and
maintained it. If it were much more transparent I would as a user try to
track exactly what is happening, but with the deep interaction of the
plot
locale with all the glcmds it is much better to try and identify simple
conditions where a problem arises so those with appropriate skills can
address it when they are able.
Thanks for all those who have made J802 what it is becoming - a excellent
working environment for research analyses and project development.
Fraser
----- Original Message ----- From: "bill lam" <[email protected]>
To: <[email protected]>
Sent: Thursday, June 05, 2014 2:47 PM
Subject: Re: [Jbeta] plot domain error aborts J
>Thank Ric,
>
>It is a domain error in glcmds under J602, perhaps glcmds in
>j602 do some validatons but glcmds in j8/jqt didn't.
>
>I think it should be OK for glcmds to assume data are valid. It
>would be the responsibility of the caller (plot addon) to ensure
>data validity.
>
>the plot addon is complex and difficult to maintain, I would
>like to staying away from it.
>
>lЧт, 05 июн 2014, Ric Tikkanz написал(а):
>>I get the same behaviour with:
>>
>>Engine: j701/2011-01-10/11:25
>>
>>Library: 8.01.028
>>
>>Qt IDE: 1.0.27/4.8.5
>>
>>Platform: Win 64
>>
>>Installer: j801 install
>>
>>InstallPath: c:/program files/j64-801
>>
>>
>>On Thu, Jun 5, 2014 at 2:11 PM, bill lam <[email protected]> wrote:
>>
>>> Dit it work in j801?
>>>
>>> Чт, 05 июн 2014, Fraser Jackson написал(а):
>>> > JVERSION
>>> > Engine: j701/2011-01-10/11:25
>>> > Library: 8.02.06
>>> > Qt IDE: 1.1.2/5.3.0
>>> > Platform: Win 32
>>> > Installer: J802 install
>>> > InstallPath: c:/users/fraser/j802
>>> >
>>> >
>>> > NB. some errors in plot calls abort J802
>>> >
>>> > load 'plot'
>>> > a =: ? 2 3 4 $ 0
>>> > b =: ? 2 3 4 $ 0
>>> > plot a ; b NB. should give domain error in one of the > >
>>functions
>>> > called as in J 602
>>> > NB. but J802 becomes unresponsive and must be closed
>>> > ----------------------------------------------------------------------
>>> > For information about J forums see > >
>>http://www.jsoftware.com/forums.htm
>>>
>>> --
>>> regards,
>>> ====================================================
>>> GPG key 1024D/4434BAB3 2008-08-24
>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
>>> ----------------------------------------------------------------------
>>> For information about J forums see
>>> http://www.jsoftware.com/forums.htm
>>>
>>----------------------------------------------------------------------
>>For information about J forums see http://www.jsoftware.com/forums.htm
>
>--
>regards,
>====================================================
>GPG key 1024D/4434BAB3 2008-08-24
>gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm