1. You probably meant x[y]caption instead of x[y]label. x[y]label
specifies the label to be put on the coordinate axis for each point.
The number of labels needs to match the number of data points.
2. The debugger has some crashes in J8.03. They are due to be fixed in
J8.04.
3. Another syntax-coloring error: 'NB.' is recognized as
start-of-comment, erroneously.
4. The Polynomials lab was the culprit in redefining 'on'. I have fixed
that; refresh Labs using Package Manager.
5. I tried running the labs in order but CAL didn't fail when I got
there. This was after the change to Polynomials. Can you try
reproducing the problem now?
6. The tabula addon seems to define a great many names in z locale,
which leaves it vulnerable to name collisions. It should be moved into
its own locale, perhaps. The error you saw may come from SP, which is
redefined in some graphics demos.
Henry Rich
On 5/4/2015 4:19 AM, Jan-Pieter Jacobs wrote:
Hi everyone,
I found some bugs I'd want to inform about:
* Infinite popups in plot
* comments syntax highlighting broken
* Tabula add-on broken
* Labs break each other.
I just found another instance of an error which keeps popping up
infinitely when using plot.
A try to debug the error with the JQt debugger ended in a crash.
A minimal example exhibiting this behavior is:
load 'plot'
opts =: 'xlabel myxlabel; ylabel myylabel'
opts plot ;/~ i.10
Probably it is me doing something wrong, but as this makes me forcibly
shut down J every time I hit this error, it's pretty annoying to hunt
down my error.
------------------------
Another thing I discovered when toying around was that syntax
highlighting is slightly broken for comments in these cases:
* a comment contains 0 : 0 : the entire comment (and following code
till the next lone opening parenthesis) is regarded as a long string
literal, and marked up as such.
* if a word (probably any valid identifier) is directly followed by an
opening brace (even in comments) it's highlighted as a string. I guess
this is supposed to indicate functions in traditionally mathematical
notation like f(x), but it should not happen in comments.
------------------------
Further, I've found the "math/tabula" add-on to be utterly broken, in
that clicking any of the buttons pops up the error:
error in: tab_g_mbldown
domain error: chkgl2
glpixels X,Y,32,32,,convicon y
------------------------
Running through the labs in order they show up gave me some problems:
0) Book of numbers: (4) 12 of 23 : domain error: on
1) CAL : 3 of 11 : z =:tabengine 'CTAB' : length error SP1: n (x,.SP) ,. y
After doing a "clear '' " both worked fine. So I assume that these were due to
0) other labs overwriting "standard" words (like "on") with something else
1) labs not verifying what they use is what they expect it to be.
Maybe it would not be a bad idea to run labs in a private locale,
which is initialized in a certain way? This way these conflicts (and
conflicts with user defined things) might be avoided.
Best regards,
Jan-Pieter
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm