Re: [Jprogramming] 902-beta-m

2019-10-02 Thread 'Mike Day' via Programming
Thanks, Bill Mike Sent from my iPad > On 3 Oct 2019, at 00:46, bill lam wrote: > > Correct. jandroid and raspberry pi always lag behind. > > On Thu, Oct 3, 2019, 7:19 AM 'Mike Day' via Programming < > programm...@jsoftware.com> wrote: > >> I’m getting to grips, at last, with an Android phon

Re: [Jprogramming] Order of Execution

2019-10-02 Thread Skip Cave
Thanks Roger. I have run into this issue a couple of times, and I knew J must have a solution. I just need to remember the double reverse scheme (reverse the noun order & reverse the dyad execution). Skip On Thu, Oct 3, 2019 at 12:18 AM Roger Hui wrote: >%~/ |. 1 2 3 4 5 > 0.0083 > > >

Re: [Jprogramming] Order of Execution

2019-10-02 Thread Roger Hui
%~/ |. 1 2 3 4 5 0.0083 On Wed, Oct 2, 2019 at 9:44 PM Skip Cave wrote: > I can write: > 1%(2%(3%(4%5))) > > 1.875 > > > Using insert, I can simplify: > > %/1 2 3 4 5 > > 1.875 > > > Now I can write: > > (((1%2)%3)%4)%5 > > 0.00833 > > > How can I use insert to simplify this?

[Jprogramming] Order of Execution

2019-10-02 Thread Skip Cave
I can write: 1%(2%(3%(4%5))) 1.875 Using insert, I can simplify: %/1 2 3 4 5 1.875 Now I can write: (((1%2)%3)%4)%5 0.00833 How can I use insert to simplify this? Skip Cave -- For information about J forums

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread Ric Sherlock
Sounds like a good outcome. Nice work!! On Thu, Oct 3, 2019 at 11:59 AM bill lam wrote: > jconsole should now detect different versions of libedit and load it at run > time, so that it should always succeed unless libedit had not been > installed, in that case jconsole falls back to use line noi

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread bill lam
Correct. jandroid and raspberry pi always lag behind. On Thu, Oct 3, 2019, 7:19 AM 'Mike Day' via Programming < programm...@jsoftware.com> wrote: > I’m getting to grips, at last, with an Android phone. I’ve managed to > download J901 a couple of times; the latest beta still appears to be > vers

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread 'Mike Day' via Programming
I’m getting to grips, at last, with an Android phone. I’ve managed to download J901 a couple of times; the latest beta still appears to be version “l” . Is that correct? No rush necessary for me, just curious. Thanks, Mike Sent from my iPad > On 2 Oct 2019, at 17:57, Eric Iverson wrote:

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread bill lam
jconsole should now detect different versions of libedit and load it at run time, so that it should always succeed unless libedit had not been installed, in that case jconsole falls back to use line noise library, where file tab completion is not supported. On Thu, Oct 3, 2019, 5:00 AM Ric Sherloc

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread Ric Sherlock
Thanks Eric, Yeah that makes sense. I've installed the latest tar (beta k) and updated the engine to beta m. I can confirm that jconsole shortcuts are working as expected now. Cheers, On Thu, Oct 3, 2019 at 9:43 AM Eric Iverson wrote: > Ric, re 901 jconsole: > je_update only updates the JE sha

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread Eric Iverson
You could be using different versions of jconsole so that should be checked. Perhaps easiest by just getting the latest from the download/jengine/ On Wed, Oct 2, 2019 at 4:53 PM Joey K Tuttle wrote: > ctrl+z is working for me (to suspend the j process and I can later return > to it with %) in Ub

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread Joey K Tuttle
ctrl+z is working for me (to suspend the j process and I can later return to it with %) in Ubuntu terminal sessions. > On 2019Oct 2, at 13:42, Eric Iverson wrote: > > Ric, re 901 jconsole: > je_update only updates the JE shared library. The jconsole you are running > will be the one from the

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread Eric Iverson
Ric, re 901 jconsole: je_update only updates the JE shared library. The jconsole you are running will be the one from the last beta install you did. I am not sure on the status of this and will wait for Bill to comment. The latest jconsole binary will have been uploaded and will be at the downlo

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread Ric Sherlock
I note that jconsole in the m beta no longer appears to support ctrl+z for me on Ubuntu (WSL)? There appears to be support for a couple of shortcuts (e.g. Ctrl+w :delete word to left, and Ctrl+u :delete entire line) but no tab-completion of file names. It would be good to get an update on the chan

Re: [Jprogramming] I.inv ?

2019-10-02 Thread Marshall Lochbaum
Listed under "Requests" here: https://code.jsoftware.com/wiki/System/Interpreter/Requests#Support_inverse_for_I._y Forum discussions: http://www.jsoftware.com/pipermail/general/2006-April/026874.html http://www.jsoftware.com/pipermail/programming/2010-September/020281.html http://www.jsoftware.com

Re: [Jprogramming] I.inv ?

2019-10-02 Thread Raul Miller
Consider I. 1 0 1 0 0 0 0 2 (e.~ [: i. 1 + >./) I. 1 0 1 1 0 1 (e.~ [: i. 1 + >./) I. 1 0 1 0 0 0 1 0 1 How long should the result be? Thanks, -- Raul On Wed, Oct 2, 2019 at 12:50 PM Michal Wallace wrote: > > Does I.inv have a working implementation? > > I'd expect the domain to b

Re: [Jprogramming] 902-beta-m

2019-10-02 Thread Raul Miller
For people running a unixy system (linux, osx, maybe even cygwin [untested]) who have j901 installed in their home directory, here's a shell script to update J: #!/bin/sh $HOME/j901/bin/jconsole <<___ load'pacman' je_update_jpacman_'' ___ echo JVERSION | $HOME/j901/bin/jconsole (I got tired o

[Jprogramming] 902-beta-m

2019-10-02 Thread Eric Iverson
901-beta-m is available. This fixes a few bugs found in the previous beta. We are near the end of the beta cycle and expect the official 901 release to be in early November. Please move to using the latest beta now and help make sure the final release is as solid as possible. ---

[Jprogramming] I.inv ?

2019-10-02 Thread Michal Wallace
Does I.inv have a working implementation? I'd expect the domain to be any ascending sequence of positive whole numbers (possibly with repeats): 3 4 9 e.~ i.10 0 0 0 1 1 0 0 0 0 1 I. 3 4 9 e.~ i.10 3 4 9 I. (i.@:>:@(>./) e. ]) 3 4 9NB. hypothetical I.inv, doesn't handle repeats 3 4 9

[Jprogramming] "Win Stephen Wolfram's Money"

2019-10-02 Thread R.E. Boss
This was submitted in math-fun https://rule30prize.org https://writings.stephenwolfram.com/2019/10/announcing-the-rule-30-prizes R.E. Boss -- For information about J forums see http://www.jsoftware.com/forums.htm