Re: [Jprogramming] J reference card

2013-06-07 Thread Robert Knight
With all due respect, and genuine appreciation for your fine work on the "J Reference Card"... IIRC, wasn't the IBM/360 "Green Card" *SIX* pages long? So, why such an arbitrary limit for such a rich, and relatively under-documented language as "J"? After all, new audiences for J (and uninitiated

Re: [Jprogramming] J reference card

2013-06-07 Thread Y-01
Does there is a source (maybe .tex file) of J Referance Card for easy modification & improving? On Fri, Jun 7, 2013 at 11:10 PM, Henry Rich wrote: > The multicolor page is the only version that we plan to produce. Since > the card can't possibly say everything, I am OK with its being incomplet

Re: [Jprogramming] z458095869_dissectnopath_

2013-06-07 Thread greg heil
>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 expl

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
By the way, is there a convention on this forum for hiding spoilers in posts? On Fri, Jun 7, 2013 at 8:55 PM, Thomas Costigliola wrote: > Got it now. But I still need some rest to really understand it. > > Here is more weirdness: > >1 2 ]@v 1 2 3 > 2 3 > 3 4 > 4 5 >1 2 v 1 2 3 > |length

Re: [Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
Bravo! On 6/7/2013 8:55 PM, Thomas Costigliola wrote: Got it now. But I still need some rest to really understand it. Here is more weirdness: 1 2 ]@v 1 2 3 2 3 3 4 4 5 1 2 v 1 2 3 |length error: v | 1 2 v 1 2 3 On Fri, Jun 7, 2013 at 6:52 PM, Henry Rich wrote: yes. It's

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
Got it now. But I still need some rest to really understand it. Here is more weirdness: 1 2 ]@v 1 2 3 2 3 3 4 4 5 1 2 v 1 2 3 |length error: v | 1 2 v 1 2 3 On Fri, Jun 7, 2013 at 6:52 PM, Henry Rich wrote: > yes. > > It's not a special-code trick. v is a verb. ] could be any

Re: [Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
yes. It's not a special-code trick. v is a verb. ] could be anything, and the same weirdness would result. 1 2 v 2 3 3 5 1 2 (v) 2 3 3 5 1 2 ]@v 2 3 3 4 4 5 1 2 ]@(v) 2 3 3 4 4 5 Henry Rich On 6/7/2013 6:43 PM, Dan Bron wrote: My question #2 had two clauses with opposite sens

Re: [Jprogramming] A puzzle

2013-06-07 Thread Dan Bron
My question #2 had two clauses with opposite senses (i.e. it was an either/or question), so an unqualified "no" is an ambiguous response. Let me phrase it as a strict yes/no question: Does x ]@(v) y necessarily produce the same result as x ]@v y ? I'm trying to prune out lines of inquiry whi

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
I better get some rest. On Fri, Jun 7, 2013 at 4:50 PM, Thomas Costigliola wrote: > Oops. That was wrong. > > > On Fri, Jun 7, 2013 at 4:50 PM, Thomas Costigliola wrote: > >> I would hardly think of ]@v and v as the same because of the resulting >> verb's rank. It is subtle though. Anyway, spoil

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
Oops. That was wrong. On Fri, Jun 7, 2013 at 4:50 PM, Thomas Costigliola wrote: > I would hardly think of ]@v and v as the same because of the resulting > verb's rank. It is subtle though. Anyway, spoiler > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: [Jprogramming] A puzzle

2013-06-07 Thread Thomas Costigliola
I would hardly think of ]@v and v as the same because of the resulting verb's rank. It is subtle though. Anyway, spoiler ]@(+"0 1) On Fri, Jun 7, 2013 at 4:39 PM, Henry Rich wrote: > 1 yes; 2 no; 3

Re: [Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
1 yes; 2 no; 3 not exactly specified; guess incorrect Henry Rich On 6/7/2013 4:36 PM, Dan Bron wrote: Three questions: #1 Is v necessarily a verb? #2 Does the effect depend upon v being anonymous, or will it work if v is assigned to a name and/or wrapped in parens?

Re: [Jprogramming] A puzzle

2013-06-07 Thread Dan Bron
Three questions: #1 Is v necessarily a verb? #2 Does the effect depend upon v being anonymous, or will it work if v is assigned to a name and/or wrapped in parens? #3 Is the effect indicated, contraindicated, or unspecified by the Dictionary? -Dan PS: My initial g

Re: [Jprogramming] z458095869_dissectnopath_

2013-06-07 Thread Linda Alvord
Here's another happy story about frequency distributions. require '~addons/debug/dissect/dissect.ijs' ]A=:?4 5$6 fd=: 13 :'/:~({.,#)/.~,y' fd A fd2=: 13 :'/:~ (,y)({.,#)/.,y' fd2 A fd fd2 ds '([: /:~ , ({. , #)/. ,)?4 5$6' ds '([: /:~ [: ({. , #)/.~ ,)?4 5$6' Enter the script above.

[Jprogramming] A puzzle

2013-06-07 Thread Henry Rich
For what sort of v does ]@v give different results than v ? No side effects. 1 2 v 1 2 2 4 1 2 ]@v 1 2 2 3 3 4 Henry Rich -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] J reference card

2013-06-07 Thread Henry Rich
The multicolor page is the only version that we plan to produce. Since the card can't possibly say everything, I am OK with its being incomplete. Your point about mentioning all primitives is reasonable. I wouldn't want to go to more than 2 pages though. I did the content and layout, and Ric

Re: [Jprogramming] J reference card

2013-06-07 Thread R.E. Boss
Well, it's impressive what (and how) you got on those two pages. Perhaps it's worthwhile to extend http://www.jsoftware.com/jwiki/Books#J_Reference_Card with the J primitives missing. In the German translation, which covers 3 pages, it is mentioned, under diagonal. R.E. Boss > -Oorspronk

Re: [Jprogramming] J reference card

2013-06-07 Thread Henry Rich
Yes. So are m~ .. .: dyad ;: ?. and maybe others Ric & I just ran out of space on the page. Henry Rich On 6/7/2013 10:13 AM, R.E. Boss wrote: Is oblique (/.) missing in the J-reference card? R.E. Boss -- For informatio

Re: [Jprogramming] Finding repeated substrings

2013-06-07 Thread greg heil
Bo Ah then, perhaps for the benefit of us ~non_farcebookers and in the hopes of obtaining an ~open-utrality for your efforts you can find some spot to place the paper? Eg a ~dropbox_account? ---~ http://u.tgu.ca/non_farcebookers http://i.tgu.ca/open-utrality http://i.tgu.ca/dropbox_account greg

[Jprogramming] J reference card

2013-06-07 Thread R.E. Boss
Is oblique (/.) missing in the J-reference card? R.E. Boss -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] Finding repeated substrings

2013-06-07 Thread Bo Jacoby
Philip, yes, but the JoJ-article does not include the proofs. > > Fra: Philip Hunt (USA) >Til: programm...@jsoftware.com >Sendt: 14:58 fredag den 7. juni 2013 >Emne: Re: [Jprogramming] Finding repeated substrings > > >Bo isn't your article on these things (re

Re: [Jprogramming] Finding repeated substrings

2013-06-07 Thread Philip Hunt (USA)
Bo isn't your article on these things (readable via Google docs) in V1No.3 of the J journal at this address http://www.journalofj.com/index.php/v1-no-3 and in pdf form from Google here https://docs.google.com/gview?url=http://journalofj.com/images/pdf/V1.No.3.pdf&chrome=true Phil On 6

Re: [Jprogramming] Finding repeated substrings

2013-06-07 Thread Bo Jacoby
@ Raul. I didn't know that downloading the PDF requested your password. Too bad. What can be done? - Bo > > Fra: Raul Miller >Til: Programming forum >Sendt: 22:19 torsdag den 6. juni 2013 >Emne: Re: [Jprogramming] Finding repeated substrings > > >I would li