Re: [Jgeneral] searchable mailing list archive

2020-11-14 Thread chris burke
The forum search page is www.jsoftware.com/forumsearch.htm

See also code.jsoftware.com/wiki/System/Forums for an overview of the forums.

On Sat, Nov 14, 2020 at 10:26 AM 'Rudolf Sykora' via General
 wrote:
>
> Hello,
>
>
> is it so that the mailing list archive
>
> http://jsoftware.com/pipermail/programming/
>
> is really not searchable? If that's the case, it's a pitty.
>
> (E.g., OpenBSD, emacs org-mode, plan9 fora are all [at least to some
> extent] searchable...)
>
> (I was thinking about reducing the volume of messages that I keep in my
> mailboxes, and it occured to me that it's strange that each person
> should keep a copy of messages that went to a mailing list just to be
> able to search through it.)
>
> Thanks for comments. Do you actually keep all the messages?
>
>
> Ruda
> --
> 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] Finding details of value structure - script

2020-11-14 Thread Raul Miller
Well, here's how I did it:

(1) I visited code.jsoftware.com
(2) in the search box, I entered: file:CTScan.ijs and completed the
search. This took me to the page
https://code.jsoftware.com/wiki/File:CTScan.ijs which included
download links for the file.
(3) I downloaded the most recent version of the script to my j902-user
directory, using right click save-link-as

It would be more convenient, I imagine, if there were a wiki page that
linked to the script.

Another possibility, though, would be to put the script up on github
as Henry suggested while I was composing this email. See also:
https://code.jsoftware.com/wiki/Addons/GitHub (though a
code.jsoftware.com wiki page for it could still be nice.)

Thanks,


--
Raul

On Sat, Nov 14, 2020 at 2:03 PM Arthur Anger  wrote:
>
> All--
> One reader has replied:
>   "I am very interested in pursuing the ideas in your script, but do not know 
> how to access it."
>
> I have to sympathize with him.  I had to do some research, eventually 
> emulating an installation I figured out nearly a decade ago, in order to 
> install my CTScan script in the File: directory.  I do not know how to load 
> it from there.  I don't know whether it may really belongs in the Script: 
> directory, or how to load it from there (and that seems to be a two-level 
> process).
>
> I find no assistance regarding the wiki file structure, such as a site map or 
> its management, on the main-page or on any of its main subsidiaries.  It's 
> high time that there should be some.  Many thanks to whomever will undertake 
> to provide it.
> --Art
> --
> 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] Finding details of value structure - script

2020-11-14 Thread Henry Rich
Make your script an Addon.  Then users will get it automatically through 
Package Manager.


You will need a GitHub login.

Henry Rich

On 11/14/2020 2:03 PM, Arthur Anger wrote:

All--
One reader has replied:
   "I am very interested in pursuing the ideas in your script, but do not know how 
to access it."

I have to sympathize with him.  I had to do some research, eventually emulating 
an installation I figured out nearly a decade ago, in order to install my 
CTScan script in the File: directory.  I do not know how to load it from there. 
 I don't know whether it may really belongs in the Script: directory, or how to 
load it from there (and that seems to be a two-level process).

I find no assistance regarding the wiki file structure, such as a site map or 
its management, on the main-page or on any of its main subsidiaries.  It's high 
time that there should be some.  Many thanks to whomever will undertake to 
provide it.
--Art
--
For information about J forums see http://www.jsoftware.com/forums.htm



--
This email has been checked for viruses by AVG.
https://www.avg.com

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


Re: [Jgeneral] Finding details of value structure

2020-11-14 Thread Raul Miller
Or, you could do
   user=: ;getscripts_j_ '~user'

But, fortunately, this is unnecessary. The only time this script
accesses that value is when CTScn is not defined, but this script
defines that name.

So, really, it's just an opportunity for code cleanup.

FYI,

-- 
Raul

On Sat, Nov 14, 2020 at 12:09 PM 'robert therriault' via General
 wrote:
>
> Hi Arthur,
>
> I was looking at CTScan and I noticed that on line 5 you define
>
> user=: '/Users/ala/j64-807-user'
>
> which would be constant to your system. If you define
>
>  user=: 4 }. ; (#~ (<'User') = {."1) UserFolders_j_
>
> then the value of user can be specific to the system of the person running 
> it, as UserFolders_j_ is set up in the loading of the J environment.
>
> Also, I was wondering if you could include a CT option that would stop the 
> display of depth and level values of the structures because that information 
> seems to be apparent through visual inspection. The shape and type of the 
> contents are the ones that I think are essential and leaving off the depth 
> and level would free up space for them and that may be important when dealing 
> with narrow boxes. When I was working on jig, Raul and Pascal put me through 
> my paces of removing any information that did not need to be displayed. A few 
> things I left in, but usually if they said it was not necessary they were 
> right.
>
> What are your thoughts on providing a CT option to remove the depth and level 
> values?
>
> Cheers, bob
>
> > On Nov 13, 2020, at 21:15, Arthur Anger  wrote:
> >
> > My script now resides in File:CTScan.ijs, offering a computerized 
> > tomographic scan of all the internal components of a J data value.  It 
> > reports atop each subarray its depth, level, shape, and datatype.
>
> --
> 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] Finding details of value structure - script

2020-11-14 Thread Arthur Anger
All--
One reader has replied:
  "I am very interested in pursuing the ideas in your script, but do not know 
how to access it."

I have to sympathize with him.  I had to do some research, eventually emulating 
an installation I figured out nearly a decade ago, in order to install my 
CTScan script in the File: directory.  I do not know how to load it from there. 
 I don't know whether it may really belongs in the Script: directory, or how to 
load it from there (and that seems to be a two-level process).

I find no assistance regarding the wiki file structure, such as a site map or 
its management, on the main-page or on any of its main subsidiaries.  It's high 
time that there should be some.  Many thanks to whomever will undertake to 
provide it.
--Art
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] searchable mailing list archive

2020-11-14 Thread Roger Hui
Try https://www.jsoftware.com/forumsearch.htm



On Sat, Nov 14, 2020 at 10:26 AM 'Rudolf Sykora' via General <
gene...@jsoftware.com> wrote:

> Hello,
>
>
> is it so that the mailing list archive
>
> http://jsoftware.com/pipermail/programming/
>
> is really not searchable? If that's the case, it's a pitty.
>
> (E.g., OpenBSD, emacs org-mode, plan9 fora are all [at least to some
> extent] searchable...)
>
> (I was thinking about reducing the volume of messages that I keep in my
> mailboxes, and it occured to me that it's strange that each person
> should keep a copy of messages that went to a mailing list just to be
> able to search through it.)
>
> Thanks for comments. Do you actually keep all the messages?
>
>
> Ruda
> --
> 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] searchable mailing list archive

2020-11-14 Thread 'Rudolf Sykora' via General
Hello,


is it so that the mailing list archive

http://jsoftware.com/pipermail/programming/

is really not searchable? If that's the case, it's a pitty.

(E.g., OpenBSD, emacs org-mode, plan9 fora are all [at least to some
extent] searchable...)

(I was thinking about reducing the volume of messages that I keep in my
mailboxes, and it occured to me that it's strange that each person
should keep a copy of messages that went to a mailing list just to be
able to search through it.)

Thanks for comments. Do you actually keep all the messages?


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


[Jgeneral] Finding details of value structure

2020-11-14 Thread Arthur Anger
Apology--I have just uploaded a correction to CTScan.ijs, to fix a late 
"improvement" which derailed processing of an empty argument (as in the 
earlier-run example).
Note--The verb name, chosen for elegance and to minimize conflict, is also 
supplied with a more convenient nickname, cts, which appears in only one other 
usage in a wiki search.
--Art

> On 14Nov 2020, at 7:00 AM, general-requ...@forums.jsoftware.com wrote:
> 
> Send General mailing list submissions to
>   general@forums.jsoftware.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://jsoftware.com/mailman/listinfo/general
> or, via email, send a message with subject or body 'help' to
>   general-requ...@forums.jsoftware.com
> 
> General information about the Jsoftware mailing lists is at:
> 
>   https://code.jsoftware.com/wiki/System/Forums
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of General digest..."
> 
> 
> Today's Topics:
> 
>   1. Finding details of value structure (Arthur Anger)
>   2. Re: Finding details of value structure
>  ('robert therriault' via General)
> 
> 
> --
> 
> Message: 1
> Date: Sat, 14 Nov 2020 00:15:29 -0500
> From: Arthur Anger 
> To: J-General 
> Subject: [Jgeneral] Finding details of value structure
> Message-ID: <17eb221b-6a2c-43fe-b95e-1599e34fc...@comcast.net>
> Content-Type: text/plain; charset=utf-8
> 
> In August I wrote, 'One problem I have encountered is "invisible" leading 
> unit axes.'  Raul Miller responded with, '... Here's a cruder mechanism, 
> which borrows from the apl2 display mechanism -- stuffing the shape of each 
> array into its formatted representation.'  Bob Therriault then suggested his 
> addon 'jig' and Henry Rich's 'dissect', which display structural information 
> when operating in the JQT environment.
> 
> Not wishing to spend a lot of time learning another layer of environment, I 
> spent a lot of time instead on embellishing Raul's "mechanism", while gaining 
> experience in the use of recursion--and noting the often disruptive 
> prevalence of "invisible" leading unit axes, frequently encountered after 
> opening boxed values.
> 
> My script now resides in File:CTScan.ijs, offering a computerized tomographic 
> scan of all the internal components of a J data value.  It reports atop each 
> subarray its depth, level, shape, and datatype.  It offers options to 
> constrain analysis to limited portions of the components, and to vary the 
> format of the display.  Additionally, the content-formatting routine, which 
> performs some modest compaction in the display of certain types of 
> higher-rank or nested arrays, can be called independently by other 
> applications.
> 
> Here are two brief examples;  a greater variety will be found in the script's 
> 'help' note:
> 
>   NB. Much of this structure is unclear in the default display, unlike the 
> scan--
>   ] samp=: ((< (^ 1) , o. 1) ; 0 3 $ 'abc') ,: a: ; (<< i. 1 1 1 2)
> ┌─┬─┐
> │┌───┐│ │
> ││2.71828 3.14159││ │
> │└───┘│ │
> ├─┼─┤
> │┌┐   │┌───┐│
> │││   ││0 1││
> │└┘   │└───┘│
> └─┴─┘
>   1 1 1 CTScan samp
> ┌0\2: 2 2bx┐   
> │┌1\1: bx──┐ ┌1\0: 0 3ch┐  │   
> ││┌2\0: 2fl───┐│ └──┘  │   
> │││2.71828 3.14159││   │   
> ││└───┘│   │   
> │└─┘   │   
> │┌1\1: bx───┐┌1\1: bx─┐│   
> ││┌2\0: 0bl┐││┌2\0: 1 1 1 2in┐││   
> │││││││0 1   │││   
> ││└┘││└──┘││   
> │└──┘└┘│   
> └──┘   
>   0 0 0 CTScan samp
> ┌0\2: 2 2bx
> ┌1\1: bx┌1\0: 0 3ch
> ┌2\0: 2fl───└──
> │2.71828 3.14159   
> └───   
> ┌1\1: bx─   ┌1\1: bx───
> ┌2\0: 0bl   ┌2\0: 1 1 1 2in
> │   │0 1   
> └   └──
> 
> Please send bug reports directly to an...@mit.edu.  Complaints and 
> suggestions for possible improvements, however, may deserve wider discussion. 
>  Thanks.
> --Art
> 
> --
> 
> Message: 2
> Date: Fri, 13 Nov 2020 21:39:56 -0800
> From: "'robert therriault' via General" 
> To: gene...@jsoftware.com
> Subject: Re: [Jgeneral] Finding details of value structure
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> Very cool Arthur,
> 
> I have 

Re: [Jgeneral] Finding details of value structure

2020-11-14 Thread 'robert therriault' via General
Hi Arthur, 

I was looking at CTScan and I noticed that on line 5 you define 

user=: '/Users/ala/j64-807-user' 

which would be constant to your system. If you define 

 user=: 4 }. ; (#~ (<'User') = {."1) UserFolders_j_

then the value of user can be specific to the system of the person running it, 
as UserFolders_j_ is set up in the loading of the J environment. 

Also, I was wondering if you could include a CT option that would stop the 
display of depth and level values of the structures because that information 
seems to be apparent through visual inspection. The shape and type of the 
contents are the ones that I think are essential and leaving off the depth and 
level would free up space for them and that may be important when dealing with 
narrow boxes. When I was working on jig, Raul and Pascal put me through my 
paces of removing any information that did not need to be displayed. A few 
things I left in, but usually if they said it was not necessary they were 
right. 

What are your thoughts on providing a CT option to remove the depth and level 
values? 

Cheers, bob

> On Nov 13, 2020, at 21:15, Arthur Anger  wrote:
> 
> My script now resides in File:CTScan.ijs, offering a computerized tomographic 
> scan of all the internal components of a J data value.  It reports atop each 
> subarray its depth, level, shape, and datatype.

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


Re: [Jgeneral] Finding details of value structure

2020-11-14 Thread Henry Rich

Congratulations on a fine piece of work.

Henry Rich

On 11/14/2020 12:15 AM, Arthur Anger wrote:

In August I wrote, 'One problem I have encountered is "invisible" leading unit 
axes.'  Raul Miller responded with, '... Here's a cruder mechanism, which borrows from 
the apl2 display mechanism -- stuffing the shape of each array into its formatted 
representation.'  Bob Therriault then suggested his addon 'jig' and Henry Rich's 
'dissect', which display structural information when operating in the JQT environment.

Not wishing to spend a lot of time learning another layer of environment, I spent a lot of time 
instead on embellishing Raul's "mechanism", while gaining experience in the use of 
recursion--and noting the often disruptive prevalence of "invisible" leading unit axes, 
frequently encountered after opening boxed values.

My script now resides in File:CTScan.ijs, offering a computerized tomographic 
scan of all the internal components of a J data value.  It reports atop each 
subarray its depth, level, shape, and datatype.  It offers options to constrain 
analysis to limited portions of the components, and to vary the format of the 
display.  Additionally, the content-formatting routine, which performs some 
modest compaction in the display of certain types of higher-rank or nested 
arrays, can be called independently by other applications.

Here are two brief examples;  a greater variety will be found in the script's 
'help' note:

NB. Much of this structure is unclear in the default display, unlike the 
scan--
] samp=: ((< (^ 1) , o. 1) ; 0 3 $ 'abc') ,: a: ; (<< i. 1 1 1 2)
┌─┬─┐
│┌───┐│ │
││2.71828 3.14159││ │
│└───┘│ │
├─┼─┤
│┌┐   │┌───┐│
│││   ││0 1││
│└┘   │└───┘│
└─┴─┘
1 1 1 CTScan samp
┌0\2: 2 2bx┐
│┌1\1: bx──┐ ┌1\0: 0 3ch┐  │
││┌2\0: 2fl───┐│ └──┘  │
│││2.71828 3.14159││   │
││└───┘│   │
│└─┘   │
│┌1\1: bx───┐┌1\1: bx─┐│
││┌2\0: 0bl┐││┌2\0: 1 1 1 2in┐││
│││││││0 1   │││
││└┘││└──┘││
│└──┘└┘│
└──┘
0 0 0 CTScan samp
┌0\2: 2 2bx
┌1\1: bx┌1\0: 0 3ch
┌2\0: 2fl───└──
│2.71828 3.14159
└───
┌1\1: bx─   ┌1\1: bx───
┌2\0: 0bl   ┌2\0: 1 1 1 2in
│   │0 1
└   └──

Please send bug reports directly to an...@mit.edu.  Complaints and suggestions 
for possible improvements, however, may deserve wider discussion.  Thanks.
--Art
--
For information about J forums see http://www.jsoftware.com/forums.htm



--
This email has been checked for viruses by AVG.
https://www.avg.com

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


Re: [Jgeneral] Finding details of value structure

2020-11-14 Thread Brian Schott
[offline]
Arthur,
Would you try an experiment, please: Change the file name to end in .txt
instead of .ijs and make it an attachment to a forum post?
If the experiment were to work, this would make it easier to access such
files, for me, at least.

Thanks,


-- 
(B=) <-my sig
Brian Schott
--
For information about J forums see http://www.jsoftware.com/forums.htm