Re: [Jprogramming] Jd (Jdatabase) new release available - now free for non-commercial use!

2018-05-15 Thread Alan Cheung
Great news Eric. Already have many projects in mind to try out Jd. -AC On Wed, 16 May 2018 at 02:56, Eric Iverson wrote: > Jd (Jdatabase) new release available. > > This release automatically installs a free non-commercial key if it is run > without a key. > > The non-commercial key enables all

Re: [Jprogramming] Summing odd numbers

2018-05-15 Thread Rob Hodgkinson
Sorry, the first line below was cropped, the first character should have been; > as in “>./~ i.5” It is clearer in the second line included. …/Rob > On 15 May 2018, at 11:34 pm, Rob Hodgkinson wrote: > > Jimmy, a further note (this does not reproduce your actual diagram, but does > present

Re: [Jprogramming] Summing odd numbers

2018-05-15 Thread Rob Hodgkinson
Jimmy, a further note (this does not reproduce your actual diagram, but does present a J algorithm to produce the square matrix of same pattern as your diagram … >./~ i.5 0 1 2 3 4 1 1 2 3 4 2 2 2 3 4 3 3 3 3 4 4 4 4 4 4 |. '.oO*&' {~ >./~ i.5 & & OOO*& ooO*& .oO*& Rob > On 15 Ma

Re: [Jprogramming] Jd (Jdatabase) new release available - now free for non-commercial use!

2018-05-15 Thread 'Pascal Jasmin' via Programming
Thank you Eric. This is indeed motivating to learn/use Jd. From: Joe Bogner To: programm...@jsoftware.com Sent: Tuesday, May 15, 2018 4:56 PM Subject: Re: [Jprogramming] Jd (Jdatabase) new release available - now free for non-commercial use! That's great n

Re: [Jprogramming] Dissect in JQT

2018-05-15 Thread bill lam
I'm not so sure because I seldom use JQT or dissect. there seems an option in config to control qt ide to load dissect during booting up. you can check config and enable auto load. On Wed, May 16, 2018, 2:39 AM Ulrich Vollert wrote: > Hello Raul, > > that solved my problem - thank you very much.

Re: [Jprogramming] Jd (Jdatabase) new release available - now free for non-commercial use!

2018-05-15 Thread Joe Bogner
That's great news! I echo Eric's suggestion for J users to take a look. I've been using Jd for a few months now and it's been wonderful to work with. I'm working with around 10 million rows of data which is just outside of what Excel/PowerBI can comfortably deal with and even SQL Server on a comm

[Jprogramming] Jd (Jdatabase) new release available - now free for non-commercial use!

2018-05-15 Thread Eric Iverson
Jd (Jdatabase) new release available. This release automatically installs a free non-commercial key if it is run without a key. The non-commercial key enables all of Jd and the only limitation is that it is licensed only for non-commercial use. We strongly encourage all J users to take a serious

Re: [Jprogramming] Dissect in JQT

2018-05-15 Thread Ulrich Vollert
Hello Raul, that solved my problem - thank you very much. Thank you Pascal, too. A new programming environment is always challenging in the beginning - and J is quite special compared to other languages. But I am very much motivated to invest some time in learning J: Regards, Ulrich > Am 1

Re: [Jprogramming] Dissect in JQT

2018-05-15 Thread 'Pascal Jasmin' via Programming
in previous versions (and likely current status), you needed to reload jqt after any edit of the key shortcut settings file. From: Raul Miller To: Programming forum Sent: Tuesday, May 15, 2018 8:55 AM Subject: Re: [Jprogramming] Dissect in JQT That error m

Re: [Jprogramming] Summing odd numbers

2018-05-15 Thread Jimmy Gauvin
Yes, it fits the bill with a minor adjustement: n=:4 (o^:(n-1)) _1 1 }.":<'o' ───┐ o o o o│ ─┐ │ o o o│o│ ───┐ │ │ o o│o│o│ ─┐ │ │ │ o│o│o│o│ On Tue, May 15, 2018 at 10:21 AM, Raul Miller wrote: > Are you looking for something like this for "figure 2.1"? > >o=: _1 1 }. ":

Re: [Jprogramming] Summing odd numbers

2018-05-15 Thread Raul Miller
Are you looking for something like this for "figure 2.1"? o=: _1 1 }. ":@<@(,~ 'o ' $~ {:@$)@(,. ' o' $~ #) o o o o _1 1 }.":<'o' ─┐ o o o o o│ ───┐ │ o o o o│o│ ─┐ │ │ o o o│o│o│ ───┐ │ │ │ o o│o│o│o│ ─┐ │ │ │ │ o│o│o│o│o│ Thanks, -- Raul On Tue, May 15, 2018 at 9:42 AM,

Re: [Jprogramming] Summing odd numbers

2018-05-15 Thread Jimmy Gauvin
Hi all, In "Makers of Mathematics" by Stuart Hollingdale there is a reference about Pythagoreans who where in the habit of representing numbers by pebbles in the sand. Figure 2.1 illustrates how square numbers can be generated by adding successive odd numbers. ───┐ o o o o│ ─┐ │ o o o│o

Re: [Jprogramming] Dissect in JQT

2018-05-15 Thread Raul Miller
That error message means that the dissect library was not loaded. You have several options including: (0) load it manually (1) have your profile load it (2) add [ require 'debug/dissect' to the end of each of those user keys config lines: F2;0;Dissect Line;dissect&.finddissectline_dissect_ 0 [re

Re: [Jprogramming] Summing odd numbers

2018-05-15 Thread 'Jon Hough' via Programming
Try this: smodd1=:+/@:>:@:+:@:i. Your tacit verb was creating forks, as can be seen with dissect: load 'debug/dissect' dissect '+/1+2*i. 5' But since the sum of the first N odd numbers is N^2 it is easiest to write smodd=: *: On Tue, 5/15/18, Sk

Re: [Jprogramming] Summing odd numbers

2018-05-15 Thread Louis de Forcrand
Since you have an even number of verbs in your train (1 and 2 are parsed as constant 1"_ and 2"_ verbs) the whole is interpreted as a hook, with the leading +/ taking its dyadic form. Your smodd1 verb is (in its monadic form) equivalent to ] +/ 1 + 2 * i. Since you want to apply +/ to the resu

[Jprogramming] Dissect in JQT

2018-05-15 Thread Ulrich Vollert
Hello, I am new to J and I am very impressed by J. Doing my first steps in learning J, I found ‚Dissect‘ and followed the instructions in wiki/Vocabulary/Dissect#IDE to use it with PF keys: But after putting the following lines into Edit>Configure>User Keys in Jqt F2;0;Dissect Line;dissect&.fi

[Jprogramming] Summing odd numbers

2018-05-15 Thread Skip Cave
A simple Quora question wants to know the formula to sum the first n odd numbers. I can write an explicit verb: smodd =.3 :'+/1+2*i.y' smodd 5 25 I want to write a tacit verb: smodd1=:+/1+2*i. smodd1 5 6 8 10 12 14 What am I doing wrong? Skip Cave Cave Consulting LLC