Re: [Jprogramming] Poll questions: new refcard

2022-08-10 Thread Jared
I use the old ref card printed and laminated on my desk. My use case; J is my desktop calculator but I want to learn to use it for more. As problems and queries come in, I will solve them with Excel or Datagrip, but a repeat calculation I will wonder how to do it in J. For instance I used the c

Re: [Jprogramming] Poll questions: new refcard

2022-08-10 Thread Brian Schott
Jared's post reminded me how awkward it seems to get multi-line numeric data into J. A job that begs for a direct copy/paste requires more, to me. I realize that the new direct definition feature simplifies this somewhat, but I have been looking into this task without such. I don't think the refer

Re: [Jprogramming] Poll questions: new refcard

2022-08-10 Thread Raul Miller
Usually, when I am working with multi-line numeric constants, I give the thing a name so that I can use it in multiple sentences. That said, if I wanted to use the thing and then forget it, and I didn't have a convenient small expression to express the numbers, I would probably do your example lik

Re: [Jprogramming] Poll questions: new refcard

2022-08-10 Thread 'Viktor Grigorov' via Programming
For those using xclip (xsel, and the like) # 1. 1--100 LF sep'd; 2. something to ".  seq -w 100 | xclip   printf %s\\n '-1 -2 -3' '11 22 33' | xclip  ". ;._1 LF,shell'xclip -o' there are two other clipboards, would also ease selection, and forgo multiline line in the console Aug 10, 2022, 16:20

Re: [Jprogramming] Poll questions: new refcard

2022-08-10 Thread Raul Miller
On Wed, Aug 10, 2022 at 10:23 AM 'Viktor Grigorov' via Programming wrote: > ". ;._1 LF,shell'xclip -o' (The leading > there is email quoting, and not part of the J expression.) Or, in jqt: ".>cutLF wd'clippaste' But ". should take a left argument when importing numbers -- for proper handling

Re: [Jprogramming] Draft reference card for J9.04

2022-08-10 Thread Jose Mario Quintana
#@:(#/)@:>:@:i.@:>: On Tue, Aug 9, 2022 at 10:32 PM Henry Rich wrote: > Special Combination Hauke asked for: if you don't get a laugh from (#\ > y) you just don't understand J. > -- For information about J forums see http://ww