my feeling is the most useful ergonomic improvement on ds would be a way to
back and forth between the verb boxes and the statement: eg clicks on boxes
would highlight part of the statement and a click (or cursor movement) on the
statement would highlight the corresponding box.
A noun explorer is really all of J, in my opinion.
greg
~krsnadas.org
--
from: Henry Rich <[email protected]> via forums.jsoftware.com
reply-to: [email protected]
to: [email protected]
date: 4 June 2013 04:25
subject: Re: [Jprogramming] z458095869_dissectnopath_
When a result is bigger than the size limit, that fact is signaled by a red
border around the display. Then, if you click on the result, ds will launch a
grid to allow you to scroll through the entire value. You can then click around
in the grid the same as you would in the main display.
[But right now there seems to be an error if the value is only 1 row tall, for
example i. 100 . I'll fix that this afternoon.]
--
from: Raul Miller <[email protected]>
to: Programming forum <[email protected]>
date: 3 June 2013 21:00
subject: Re: [Jprogramming] z458095869_dissectnopath_
Perhaps ds should have scrollbars for displaying large things? (Though ideally
this should go in wd's implementation, at least as an option, and screen
resources for things not in view could perhaps be avoided. I'm thinking of
something like the css overflow: scroll mechanism for html.)
--
Raul
--
On Mon, Jun 3, 2013 at 8:49 PM, Linda Alvord <[email protected]> wrote:
Henry, All of these versions of hist 8 should be indicating an error once it is
beyond the capacity of ds .
require '~addons/debug/dissect/dissect.ijs'
hist=:' O' {~ (] !~ [: i. >:) >/ [: i. [: >./ ] !~ [: i. >:
hist 8
O
OOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOO
O
ds '('' O'' {~ (] !~ [: i. >:) >/ [: i. [: >./ ] !~ [: i. >:) 8'
Linda
--
From: [email protected]
[mailto:[email protected]] On Behalf Of Raul
Miller
Sent: Monday, June 03, 2013 9:28 AM
To: Programming forum
Subject: Re: [Jprogramming] z458095869_dissectnopath_
ds 'hist 6' only shows the starting and ending values, not the
intermediate values.
This is more interesting, from my point of view:
hist f.
' O' {~ (] !~ [: i. >:) >/ [: i. [: >./ ] !~ [: i. >:
ds '('' O'' {~ (] !~ [: i. >:) >/ [: i. [: >./ ] !~ [: i. >:) 6'
Also interesting comparing:
ds '('' O'' {~ (] !~ i.@>:) >/ [: i. ] >./@:!~ i.@>:) 6'
ds '('' O'' {~ (!~ i.@>:) >/ i.@(>./@:!~ i.@>:)) 6'
ds '('' O'' {~ (i.@>: ! ]) >/ i.@(i.@>: >./@:! ])) 6'
and contrasting:
ds '('' O'' {~ (] >/ i.@(>./))@(i.@>: ! ])) 6'
--Raul
--
On Mon, Jun 3, 2013 at 4:00 AM, Linda Alvord <[email protected]> wrote:
You'll want this too.
pas=: 13 :'(i.>:y)!y'
pas
] !~ [: i. >:
pas 6
1 6 15 20 15 6 1
Linda
--
From: [email protected]
[mailto:[email protected]] On Behalf Of Linda
Alvord
Sent: Monday, June 03, 2013 3:49 AM
To: [email protected]
Subject: Re: [Jprogramming] z458095869_dissectnopath_
Henry, ds is fun!
hist=: 13 :'((pas y)>/i.>./pas y){'' O'''
histi
' O' {~ pas >/ [: i. [: >./ pas
hist 6
O
OOOOOO
OOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOO
OOOOOO
O
ds 'hist 6'
ds 'hist 8'
It could get even bigger!
Linda
--
From: [email protected]
[mailto:[email protected]] On Behalf Of Henry
Rich
Sent: Sunday, June 02, 2013 9:21 PM
To: [email protected]
Subject: Re: [Jprogramming] z458095869_dissectnopath_
Yes, and Ye Dic spells it out:
m"(-r) y is equivalent to m"(0>.(#$y)-r)"_
Note the final "_
Henry Rich
--
On 6/2/2013 8:55 PM, Roger Hui wrote:
v b. 0 reports the on what the system thinks are the monadic, left, and right ranks,
and those ranks are always positive. The following phrase shows another way that
0"_1 has infinite rank.
<@(0"_1) i.2 3
+---+
¦0 0¦
+---+
When the "combining ranks" of a verb are negative, the interpretation is nasty
and counterintuitive. Some of the nastiness were discussed in APL papers from the late
1980s.
--
On Sun, Jun 2, 2013 at 5:10 PM, Raul Miller <[email protected]> wrote:
I think
0"_1 b. 0
_
I think that result should be _1 _1 _1
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm