Re: [Jprogramming] amend

2022-07-03 Thread Elijah Stone
As I recall, the issue was as follows: 12 66 (2 1;0 2)} 3 3$0 NB.amend 2 atoms with 2 atoms; ok 0 0 66 0 0 0 0 12 0 (,66) (,<0 2)} 3 3$0 NB.amend 1 atom with 1 atom; ok 0 0 66 0 0 0 0 0 0 '' ''} 3 3$0 NB. amend 0 atoms with 0 atoms; not ok ?? |length error | ''''}3 3$0 Th

Re: [Jprogramming] J Playground neural network demo

2022-07-03 Thread Jan-Pieter Jacobs
Hi Joe, Sorry I haven't gotten back to you for already such a long time. Thank you for including my demo. I submitted a pull-request for including the most recent version (one tiny bug-fix and some revisions in comments). It's my first pull-request, I hope I didn't maul other things... I saw the

Re: [Jprogramming] Visualizations WAS: Problem with @ (Atop)

2022-07-03 Thread Hauke Rehr
Back then I requested a wiki account but didn’t use it. First part (mainly @wiki group, answers preferably not to the forum): • the onboarding pages for wiki contributors refer to nonexistent pages and buttons throughout (eg Show Raw Text isn’t available anywhere) I should have complained about

Re: [Jprogramming] Initial question

2022-07-03 Thread tuxic
Hi Jan-Pieter, thanks for your reply, the information and the link! I thought of an "interpreter only" application...that's why I didn't found one, hehehehe :) I am on Gentoo, which compiles everything locally before installing. J isn't offered via a Gentoo repo or user overlay, but I found a wa

Re: [Jprogramming] Initial question

2022-07-03 Thread Jan-Pieter Jacobs
Hi tuxic, It's jconsole, wherever you installed that, if you only want CLI, otherwise you should use jqt. Jqt also has ways to hide the GUI from being shown, but I don't remember how. In case you installed from the .deb archive, jconsole will be called ijconsole. This page on the wiki might come

[Jprogramming] Initial question

2022-07-03 Thread tuxic
Hi, (I am using Linux only.) I just started with J ...and I am no native English speaker... Suppose I want to write a J-script, which is useable like a normal shell script via makeing it executable... From writing shell scripts I know, that the first line defines the interpreter for the followi

Re: [Jprogramming] amend

2022-07-03 Thread Raul Miller
> Each row of m addresses a cell of y, with rank (#$y)-({.$m). Oh! Thanks, I got that backwards, somehow. -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] amend

2022-07-03 Thread Henry Rich
?   99 (i. 2 2)} i. 5 5  0 99  2  3  4  5  6  7  8  9 10 11 12 99 14 15 16 17 18 19 20 21 22 23 24    99 (i. 2 2)} i. 3 4 2  0  1 99 99  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 99 99 Each row of m addresses a cell of y, with rank (#$y)-({.$m). This discussion ignores the ma

Re: [Jprogramming] amend

2022-07-03 Thread Raul Miller
On Sun, Jul 3, 2022 at 4:44 AM Elijah Stone wrote: > I am not sure how to feel about this. Mainly, I am not sure what the > difference is between x m}y and (for high-ranked numeric m) x (<"1 m)} y. I > am also not sure what the difference is between your proposed semantics and > the existing one

Re: [Jprogramming] amend

2022-07-03 Thread Raul Miller
On Sun, Jul 3, 2022 at 4:44 AM Elijah Stone wrote: > As far as I know, no apl used suffix rules for conformability. Two arrays of > like shape were conformable, and a scalar is conformable with anything; but no > two arrays are conformable aside from that. An early version of j did use > suffix

Re: [Jprogramming] amend

2022-07-03 Thread Elijah Stone
On Mon, 20 Jun 2022, Raul Miller wrote: "Language change: Scatter-amend support: x m} y changed when m is a numeric array of rank>1. In that case, each 1-cell of m is the index list of a cell of y that is replaced by the corresponding cell of x. This is an incompatible change with J8.07 and ea