Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-05-10 Thread Paul Jackson
Someone has changed the behavior on Android. I say changed because there
are far too many states for me to be certain I can enumerate them all.

1) Both Chrome and Firefox now work, or don't, in the same timeframe
2) Almost always, when I first try to use it,
 there is no response to input from Term or Edit
3) I first discovered it could work after using it successfully from
Windows Chrome,
 and then switching to my Android tablet, surprise me so much I changed
from
 Foxfire to Chrome and learned it worked there as well
4) Recently, I've noticed I can usually revive it by trying one or two Labs
 on my Android tablet
5) Sometimes, it appears I'm getting output from some other session, as it
 doesn't match what I typed or have in Edit. This one is rare, I
haven't discovered
 how to recreate it.

Also, while I expected plots not to be copyable, comments which appear
green in Term, are not there when I paste into a text editor after copying
all of Term.
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-05-10 Thread Joe Bogner
Thanks Paul and others.. My limited time lately has been working on getting
deep into the J code and compilation to WASM to resolve the failing unit
tests - https://github.com/jsoftware/j-playground/issues

It's a much harder climb for me so progress has been slow. I think I've
narrowed some of the issues down to SLEEF (which I didn't even realize was
being used in J since 2020 -- neat) and sse2 instructions on WASM --
https://sleef.org/ -- there's also something possibly with the stack size
or stack alignment, which is a bit outside my area of expertise. It's been
a bit of a slog.

The good news is that most tests are passing -- so the playground is
working well on the whole with J. The bad news is that some of the failing
tests may be contributing to glitches like the 3d surface plot not
rendering correctly... I'd feel better knowing that there aren't any corner
cases where people get wrong answers on the playground.

I'll post more to the mailing list once there's notable progress.



On Tue, May 10, 2022 at 5:14 PM Paul Jackson  wrote:

> Since I've seen no further announcements for a couple of weeks, I'm writing
> it hopes it's not too late to mention remaining issues.
>
> 0) The menu is much improved.
>
> 1) However, the Labs menu seems to have most of the same choices as other
> platforms, but
> core/intro
> does't strike me as nearly attractive as
> A J Introduction
>
> 2) I mentioned the inappropriate extra echos when pressing enter on an
> empty line in Term. The same issues arise when running an example from
> Edit.
>a) Lines with no result are echoed.
>b) Empty lines echo the last output.
>c) Lines beginning with comments or verbs that read from Edit don't
> appear at all.
>d) Only lines with output, not followed by an empty line, appear as
> expected.
>
> t=: 10*i.6 NB. numeric list
>t=: 10*i.6 NB. numeric list
>
>t=: 10*i.6 NB. numeric list
> <\ t   NB. prefixes
> +-++---+--+-++
> |0|0 10|0 10 20|0 10 20 30|0 10 20 30 40|0 10 20 30 40 50|
> +-++---+--+-++
> +/\ t  NB. sum each prefix
> 0 10 30 60 100 150
> +/\. t NB. sum each suffix
> 150 150 140 120 90 50
>
> 150 150 140 120 90 50
>
>
> On Tue, Apr 26, 2022, 2:19 PM Joe Bogner  wrote:
>
> > On Tue, Apr 26, 2022 at 1:44 PM Arthur Anger 
> wrote:
> >
> > > After a bit of playing in the new Playground, I found much to thank
> Chris
> > > and Joe for, but have these comments--
> > >
> > >
> > To all who have submitted feedback or tried it and not submitted
> feedback,
> > or even read the email -- I also want to say thank you. We are going to
> > collect all this feedback into some system and will align on a path
> forward
> > to work on it and share back status with the community. More to come!
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-05-10 Thread Paul Jackson
Since I've seen no further announcements for a couple of weeks, I'm writing
it hopes it's not too late to mention remaining issues.

0) The menu is much improved.

1) However, the Labs menu seems to have most of the same choices as other
platforms, but
core/intro
does't strike me as nearly attractive as
A J Introduction

2) I mentioned the inappropriate extra echos when pressing enter on an
empty line in Term. The same issues arise when running an example from Edit.
   a) Lines with no result are echoed.
   b) Empty lines echo the last output.
   c) Lines beginning with comments or verbs that read from Edit don't
appear at all.
   d) Only lines with output, not followed by an empty line, appear as
expected.

t=: 10*i.6 NB. numeric list
   t=: 10*i.6 NB. numeric list

   t=: 10*i.6 NB. numeric list
<\ t   NB. prefixes
+-++---+--+-++
|0|0 10|0 10 20|0 10 20 30|0 10 20 30 40|0 10 20 30 40 50|
+-++---+--+-++
+/\ t  NB. sum each prefix
0 10 30 60 100 150
+/\. t NB. sum each suffix
150 150 140 120 90 50

150 150 140 120 90 50


On Tue, Apr 26, 2022, 2:19 PM Joe Bogner  wrote:

> On Tue, Apr 26, 2022 at 1:44 PM Arthur Anger  wrote:
>
> > After a bit of playing in the new Playground, I found much to thank Chris
> > and Joe for, but have these comments--
> >
> >
> To all who have submitted feedback or tried it and not submitted feedback,
> or even read the email -- I also want to say thank you. We are going to
> collect all this feedback into some system and will align on a path forward
> to work on it and share back status with the community. More to come!
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread Joe Bogner
On Tue, Apr 26, 2022 at 1:44 PM Arthur Anger  wrote:

> After a bit of playing in the new Playground, I found much to thank Chris
> and Joe for, but have these comments--
>
>
To all who have submitted feedback or tried it and not submitted feedback,
or even read the email -- I also want to say thank you. We are going to
collect all this feedback into some system and will align on a path forward
to work on it and share back status with the community. More to come!
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread Jan-Pieter Jacobs
Really impressive work!

I agree with what most people said before.

For me, the 3d surface plot doesn't work and neither does viewmat (both on
android/firefox and on windows 10, chrome). I don't know whether it's still
work in progress, but it might put off people if some of the examples don't
work.
I'd be happy to help debugging it, if needed.

Jan-Pieter

On Tue, 26 Apr 2022, 19:45 Ian Clark,  wrote:

> …oh and I think the inline plot-output is most impressive.
>
> But, since people who generate charts have an immediate use for those
> charts, consider optionally replacing the chart with a link to where the
> chart may be found, the session history browsed and the PNG, PDF, whatever,
> downloaded.
>
> On Tue, 26 Apr 2022 at 18:40, Ian Clark  wrote:
>
> > It has a nice feel about it. JQt users will like the resemblance to JQt,
> > right down to the default color of the window backgrounds. A user-cue for
> > what's-what.
> >
> > Minor bug: entering a blank line does the message:
> > |syntax error
> > |   output_jrx_=:
> > |[-1]
> > I think that should be a no-op, as in JQt.
> > Consider also using it as an alternative for advancing a lab (when a lab
> > is active).
> >
> > I'm delighted to see good lab support for a J IDE aimed at the
> > first-five-minutes of J contact. Labs sugar the J pill.
> > Also, if you're a J novice from a numerate discipline like statistics or
> > engineering (surely the main J audience), there's nothing like seeing
> > something you already recognize being handled in J.
> >
> > On Mon, 25 Apr 2022 at 14:18, Joe Bogner  wrote:
> >
> >> The J Playground is a way for users to play with J in their browser
> >> without
> >> installing any software.  It provides a low barrier to try out J and
> get a
> >> feel for the language. It also provides a low barrier for sharing code
> by
> >> generating a URL that can be shared (permalink). The vision is for wiki
> to
> >> have some pages that point to the playground to create an interactive
> way
> >> to learn and experiment with J code.
> >>
> >> There is a new version of the J Playground available at
> >> https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior
> work
> >> in
> >> 2018 from Jsoftware Inc (chris burke, possibly others) which was shared
> to
> >> create a big leap forward in the user interface. Many thanks to the
> >> Jsoftware team / chris / others for sharing.
> >>
> >> The original proof of concept is still available at
> >> https://jsoftware.github.io/j-playground/bin/html/emj.html, however
> we'd
> >> like to move to a single version which is the new version at
> >> https://jsoftware.github.io/j-playground/bin/html2/
> >>
> >> Soon we'll be retiring the proof of concept version at
> >> https://jsoftware.github.io/j-playground/bin/html/emj.html and
> switching
> >> to
> >> a new final link ... likely https://jsoftware.github.io/j-playground
> (not
> >> yet working)..
> >>
> >> If you've used the proof of concept version, please kick the tires on
> the
> >> new version and let us know if there's anything you feel is missing that
> >> we
> >> need to incorporate before we make the switch. Issues welcome at
> >> https://github.com/jsoftware/j-playground/issues or through this email
> or
> >> direct replies.
> >>
> >> One remaining open item I'm aware of is providing a way to interact
> with a
> >> canvas/javascript like the PI Day demo I had previously. A popup canvas
> or
> >> something could be added to the code I bet but hasn't been prioritized.
> >> This is the non-working version:
> >>
> >>
> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
> >>
> >> The labs are somewhat working but could use some additional work.
> >>
> >> My viewpoint is to release often and get feedback along the way to give
> >> the
> >> community an opportunity to shape the direction of where the playground
> is
> >> going.
> >>
> >> Thanks
> >> Joe
> >> --
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread Ian Clark
…oh and I think the inline plot-output is most impressive.

But, since people who generate charts have an immediate use for those
charts, consider optionally replacing the chart with a link to where the
chart may be found, the session history browsed and the PNG, PDF, whatever,
downloaded.

On Tue, 26 Apr 2022 at 18:40, Ian Clark  wrote:

> It has a nice feel about it. JQt users will like the resemblance to JQt,
> right down to the default color of the window backgrounds. A user-cue for
> what's-what.
>
> Minor bug: entering a blank line does the message:
> |syntax error
> |   output_jrx_=:
> |[-1]
> I think that should be a no-op, as in JQt.
> Consider also using it as an alternative for advancing a lab (when a lab
> is active).
>
> I'm delighted to see good lab support for a J IDE aimed at the
> first-five-minutes of J contact. Labs sugar the J pill.
> Also, if you're a J novice from a numerate discipline like statistics or
> engineering (surely the main J audience), there's nothing like seeing
> something you already recognize being handled in J.
>
> On Mon, 25 Apr 2022 at 14:18, Joe Bogner  wrote:
>
>> The J Playground is a way for users to play with J in their browser
>> without
>> installing any software.  It provides a low barrier to try out J and get a
>> feel for the language. It also provides a low barrier for sharing code by
>> generating a URL that can be shared (permalink). The vision is for wiki to
>> have some pages that point to the playground to create an interactive way
>> to learn and experiment with J code.
>>
>> There is a new version of the J Playground available at
>> https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work
>> in
>> 2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
>> create a big leap forward in the user interface. Many thanks to the
>> Jsoftware team / chris / others for sharing.
>>
>> The original proof of concept is still available at
>> https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
>> like to move to a single version which is the new version at
>> https://jsoftware.github.io/j-playground/bin/html2/
>>
>> Soon we'll be retiring the proof of concept version at
>> https://jsoftware.github.io/j-playground/bin/html/emj.html and switching
>> to
>> a new final link ... likely https://jsoftware.github.io/j-playground (not
>> yet working)..
>>
>> If you've used the proof of concept version, please kick the tires on the
>> new version and let us know if there's anything you feel is missing that
>> we
>> need to incorporate before we make the switch. Issues welcome at
>> https://github.com/jsoftware/j-playground/issues or through this email or
>> direct replies.
>>
>> One remaining open item I'm aware of is providing a way to interact with a
>> canvas/javascript like the PI Day demo I had previously. A popup canvas or
>> something could be added to the code I bet but hasn't been prioritized.
>> This is the non-working version:
>>
>> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
>>
>> The labs are somewhat working but could use some additional work.
>>
>> My viewpoint is to release often and get feedback along the way to give
>> the
>> community an opportunity to shape the direction of where the playground is
>> going.
>>
>> Thanks
>> Joe
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread Ian Clark
It has a nice feel about it. JQt users will like the resemblance to JQt,
right down to the default color of the window backgrounds. A user-cue for
what's-what.

Minor bug: entering a blank line does the message:
|syntax error
|   output_jrx_=:
|[-1]
I think that should be a no-op, as in JQt.
Consider also using it as an alternative for advancing a lab (when a lab is
active).

I'm delighted to see good lab support for a J IDE aimed at the
first-five-minutes of J contact. Labs sugar the J pill.
Also, if you're a J novice from a numerate discipline like statistics or
engineering (surely the main J audience), there's nothing like seeing
something you already recognize being handled in J.

On Mon, 25 Apr 2022 at 14:18, Joe Bogner  wrote:

> The J Playground is a way for users to play with J in their browser without
> installing any software.  It provides a low barrier to try out J and get a
> feel for the language. It also provides a low barrier for sharing code by
> generating a URL that can be shared (permalink). The vision is for wiki to
> have some pages that point to the playground to create an interactive way
> to learn and experiment with J code.
>
> There is a new version of the J Playground available at
> https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work
> in
> 2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
> create a big leap forward in the user interface. Many thanks to the
> Jsoftware team / chris / others for sharing.
>
> The original proof of concept is still available at
> https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
> like to move to a single version which is the new version at
> https://jsoftware.github.io/j-playground/bin/html2/
>
> Soon we'll be retiring the proof of concept version at
> https://jsoftware.github.io/j-playground/bin/html/emj.html and switching
> to
> a new final link ... likely https://jsoftware.github.io/j-playground (not
> yet working)..
>
> If you've used the proof of concept version, please kick the tires on the
> new version and let us know if there's anything you feel is missing that we
> need to incorporate before we make the switch. Issues welcome at
> https://github.com/jsoftware/j-playground/issues or through this email or
> direct replies.
>
> One remaining open item I'm aware of is providing a way to interact with a
> canvas/javascript like the PI Day demo I had previously. A popup canvas or
> something could be added to the code I bet but hasn't been prioritized.
> This is the non-working version:
>
> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
>
> The labs are somewhat working but could use some additional work.
>
> My viewpoint is to release often and get feedback along the way to give the
> community an opportunity to shape the direction of where the playground is
> going.
>
> Thanks
> Joe
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread 'Pascal Jasmin' via General
My indenting suggestion was about, how the input line for an interactive 
command has a default indent in jqt (I think console as well), so that it is 
easy to distinguish the screen history between commands and results.






On Tuesday, April 26, 2022, 12:14:11 p.m. EDT, Bill Harris 
 wrote: 





My first comment was in response to Pascal Jarmin's note about indenting,
which seems inconsistent at least in that example.

Bill

On Tue, Apr 26, 2022 at 9:12 AM Bill Harris  wrote:

> Is this what you meant?
>
> load 'stats'
>    load 'stats'
> i. 3
> 0 1 2
>
> Running the latest J Playground on an up-to-date Chrome on Linux.
>
> I really like the Playground, and I agree with all the comments here  that
> I've tried out myself (I haven't tested them all).
>
> If it's reasonably doable, it would be nice to have it work with Android
> and Chrome.  From what I read, that's a bigger segment than either IOS or
> Android and FF.
>
> Because I don't even find the J Dvorak keyboard easy to type on (compared
> to a real keyboard), I tend to use J on my phone more as a calculator.
> Were the Playground functional with Android and Chrome, I might use it
> instead of J/Android.  Are there limits to how many people might safely
> choose such an approach?
>
> Thanks!
>
> Bill
>
> On Mon, Apr 25, 2022 at 6:58 AM 'Pascal Jasmin' via General <
> gene...@jsoftware.com> wrote:
>
>> like the main jqt key compatibility (history, last command, ctrl-R).
>> Could the "command cursor" be indented 2 spaces?
>>
>>
>>
>>
>>
>>
>> On Monday, April 25, 2022, 09:18:18 a.m. EDT, Joe Bogner <
>> joebog...@gmail.com> wrote:
>>
>>
>>
>>
>>
>> The J Playground is a way for users to play with J in their browser
>> without
>> installing any software.  It provides a low barrier to try out J and get a
>> feel for the language. It also provides a low barrier for sharing code by
>> generating a URL that can be shared (permalink). The vision is for wiki to
>> have some pages that point to the playground to create an interactive way
>> to learn and experiment with J code.
>>
>> There is a new version of the J Playground available at
>> https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work
>> in
>> 2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
>> create a big leap forward in the user interface. Many thanks to the
>> Jsoftware team / chris / others for sharing.
>>
>> The original proof of concept is still available at
>> https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
>> like to move to a single version which is the new version at
>> https://jsoftware.github.io/j-playground/bin/html2/
>>
>> Soon we'll be retiring the proof of concept version at
>> https://jsoftware.github.io/j-playground/bin/html/emj.html and switching
>> to
>> a new final link ... likely https://jsoftware.github.io/j-playground (not
>> yet working)..
>>
>> If you've used the proof of concept version, please kick the tires on the
>> new version and let us know if there's anything you feel is missing that
>> we
>> need to incorporate before we make the switch. Issues welcome at
>> https://github.com/jsoftware/j-playground/issues or through this email or
>> direct replies.
>>
>> One remaining open item I'm aware of is providing a way to interact with a
>> canvas/javascript like the PI Day demo I had previously. A popup canvas or
>> something could be added to the code I bet but hasn't been prioritized.
>> This is the non-working version:
>>
>> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
>>
>> The labs are somewhat working but could use some additional work.
>>
>> My viewpoint is to release often and get feedback along the way to give
>> the
>> community an opportunity to shape the direction of where the playground is
>> going.
>>
>> Thanks
>> Joe
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
> --
> Bill Harris
>


-- 
Bill Harris
--
For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread Bill Harris
My first comment was in response to Pascal Jarmin's note about indenting,
which seems inconsistent at least in that example.

Bill

On Tue, Apr 26, 2022 at 9:12 AM Bill Harris  wrote:

> Is this what you meant?
>
> load 'stats'
>load 'stats'
> i. 3
> 0 1 2
>
> Running the latest J Playground on an up-to-date Chrome on Linux.
>
> I really like the Playground, and I agree with all the comments here  that
> I've tried out myself (I haven't tested them all).
>
> If it's reasonably doable, it would be nice to have it work with Android
> and Chrome.  From what I read, that's a bigger segment than either IOS or
> Android and FF.
>
> Because I don't even find the J Dvorak keyboard easy to type on (compared
> to a real keyboard), I tend to use J on my phone more as a calculator.
> Were the Playground functional with Android and Chrome, I might use it
> instead of J/Android.  Are there limits to how many people might safely
> choose such an approach?
>
> Thanks!
>
> Bill
>
> On Mon, Apr 25, 2022 at 6:58 AM 'Pascal Jasmin' via General <
> gene...@jsoftware.com> wrote:
>
>> like the main jqt key compatibility (history, last command, ctrl-R).
>> Could the "command cursor" be indented 2 spaces?
>>
>>
>>
>>
>>
>>
>> On Monday, April 25, 2022, 09:18:18 a.m. EDT, Joe Bogner <
>> joebog...@gmail.com> wrote:
>>
>>
>>
>>
>>
>> The J Playground is a way for users to play with J in their browser
>> without
>> installing any software.  It provides a low barrier to try out J and get a
>> feel for the language. It also provides a low barrier for sharing code by
>> generating a URL that can be shared (permalink). The vision is for wiki to
>> have some pages that point to the playground to create an interactive way
>> to learn and experiment with J code.
>>
>> There is a new version of the J Playground available at
>> https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work
>> in
>> 2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
>> create a big leap forward in the user interface. Many thanks to the
>> Jsoftware team / chris / others for sharing.
>>
>> The original proof of concept is still available at
>> https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
>> like to move to a single version which is the new version at
>> https://jsoftware.github.io/j-playground/bin/html2/
>>
>> Soon we'll be retiring the proof of concept version at
>> https://jsoftware.github.io/j-playground/bin/html/emj.html and switching
>> to
>> a new final link ... likely https://jsoftware.github.io/j-playground (not
>> yet working)..
>>
>> If you've used the proof of concept version, please kick the tires on the
>> new version and let us know if there's anything you feel is missing that
>> we
>> need to incorporate before we make the switch. Issues welcome at
>> https://github.com/jsoftware/j-playground/issues or through this email or
>> direct replies.
>>
>> One remaining open item I'm aware of is providing a way to interact with a
>> canvas/javascript like the PI Day demo I had previously. A popup canvas or
>> something could be added to the code I bet but hasn't been prioritized.
>> This is the non-working version:
>>
>> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
>>
>> The labs are somewhat working but could use some additional work.
>>
>> My viewpoint is to release often and get feedback along the way to give
>> the
>> community an opportunity to shape the direction of where the playground is
>> going.
>>
>> Thanks
>> Joe
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
> --
> Bill Harris
>


-- 
Bill Harris
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread Bill Harris
Is this what you meant?

load 'stats'
   load 'stats'
i. 3
0 1 2

Running the latest J Playground on an up-to-date Chrome on Linux.

I really like the Playground, and I agree with all the comments here  that
I've tried out myself (I haven't tested them all).

If it's reasonably doable, it would be nice to have it work with Android
and Chrome.  From what I read, that's a bigger segment than either IOS or
Android and FF.

Because I don't even find the J Dvorak keyboard easy to type on (compared
to a real keyboard), I tend to use J on my phone more as a calculator.
Were the Playground functional with Android and Chrome, I might use it
instead of J/Android.  Are there limits to how many people might safely
choose such an approach?

Thanks!

Bill

On Mon, Apr 25, 2022 at 6:58 AM 'Pascal Jasmin' via General <
gene...@jsoftware.com> wrote:

> like the main jqt key compatibility (history, last command, ctrl-R).
> Could the "command cursor" be indented 2 spaces?
>
>
>
>
>
>
> On Monday, April 25, 2022, 09:18:18 a.m. EDT, Joe Bogner <
> joebog...@gmail.com> wrote:
>
>
>
>
>
> The J Playground is a way for users to play with J in their browser without
> installing any software.  It provides a low barrier to try out J and get a
> feel for the language. It also provides a low barrier for sharing code by
> generating a URL that can be shared (permalink). The vision is for wiki to
> have some pages that point to the playground to create an interactive way
> to learn and experiment with J code.
>
> There is a new version of the J Playground available at
> https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work
> in
> 2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
> create a big leap forward in the user interface. Many thanks to the
> Jsoftware team / chris / others for sharing.
>
> The original proof of concept is still available at
> https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
> like to move to a single version which is the new version at
> https://jsoftware.github.io/j-playground/bin/html2/
>
> Soon we'll be retiring the proof of concept version at
> https://jsoftware.github.io/j-playground/bin/html/emj.html and switching
> to
> a new final link ... likely https://jsoftware.github.io/j-playground (not
> yet working)..
>
> If you've used the proof of concept version, please kick the tires on the
> new version and let us know if there's anything you feel is missing that we
> need to incorporate before we make the switch. Issues welcome at
> https://github.com/jsoftware/j-playground/issues or through this email or
> direct replies.
>
> One remaining open item I'm aware of is providing a way to interact with a
> canvas/javascript like the PI Day demo I had previously. A popup canvas or
> something could be added to the code I bet but hasn't been prioritized.
> This is the non-working version:
>
> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
>
> The labs are somewhat working but could use some additional work.
>
> My viewpoint is to release often and get feedback along the way to give the
> community an opportunity to shape the direction of where the playground is
> going.
>
> Thanks
> Joe
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
Bill Harris
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread chris burke
> As it is currently working, I don't know the point of having Line & Show
under Echo Run. I don't know what Connect and Disconnect under Server do. I
also don't know what Center Panes under View does.

1. The Server menu with Connect and Disconnect is from the 2018 original,
which connected to a remote server. Not needed in this version.

2. Line and Show means run the line and show the result, e.g. A=: i.3 would
display 0 1 2, rather have no output. This is the same as Jqt, and should
be useful in a demo.

3. Center Panes does just that, i.e. you can resize the Term and Edit panes
as you like, and Center Panes will center them back.

We should have the Help|Playground menu open a wiki page with better
documentation.


On Tue, Apr 26, 2022 at 12:07 AM Paul Jackson  wrote:

> My initial response was to the appearance of this is approach. Issues I've
> discovered in subsequent use in no way have distracted from that initial
> opinion. I found several things to report, but I'm getting different
> behavior on Android where I have to use Firefox and Chromebook where Chrome
> does not crash. My children have the Chromebook and Windows 10 machines so
> I have to wait till they're not working to try experiments on either of
> those.
>
> The first issue isn't really in this app. All of the labs I remember using
> begin with the sentence:
> To advance the lab, select menu Help|Studio|Advance or the
> corresponding shortcut.
> To my knowledge, the Android version has never had that menu choice, but
> it's always been so different than every other platform I've never reported
> it. That seems important to overcome on something you'd like to show people
> first. If I'm right about that sentence being in every lab, perhaps the
> simplest thing to do would be just replace it with an empty string in this
> app and assume people would use the advice at the top of the Labs menu.
>
> I haven't tested Windows yet, but so far I cannot advance a lab with Crtl+>
> anywhere.
>
> Pressing enter after a result echos the last output, unless there was none
> as happens with plot. In that case
>  Edit Run > Line
> echos the line you typed as part of your entering the request initially,
> and
>  Echo Run > Line & Show
> has
>  output_jrx_
> under the plot.
>
> As it is currently working, I don't know the point of having Line & Show
> under Echo Run. I don't know what Connect and Disconnect under Server do. I
> also don't know what Center Panes under View does.
>
> My own preference for introductory interfaces is to provide as few choices
> as necessary, and to choose both descriptive words and organizational
> positioning to ensure the meaning of each is clear. To that end, several of
> the items in the previous paragraph might best be removed. Furthermore, a
> number of the options under Links seem better categorized as Help, and I
> would argue for choosing one initial form of help even though I don't much
> care which one it is.
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-26 Thread Paul Jackson
My initial response was to the appearance of this is approach. Issues I've
discovered in subsequent use in no way have distracted from that initial
opinion. I found several things to report, but I'm getting different
behavior on Android where I have to use Firefox and Chromebook where Chrome
does not crash. My children have the Chromebook and Windows 10 machines so
I have to wait till they're not working to try experiments on either of
those.

The first issue isn't really in this app. All of the labs I remember using
begin with the sentence:
To advance the lab, select menu Help|Studio|Advance or the
corresponding shortcut.
To my knowledge, the Android version has never had that menu choice, but
it's always been so different than every other platform I've never reported
it. That seems important to overcome on something you'd like to show people
first. If I'm right about that sentence being in every lab, perhaps the
simplest thing to do would be just replace it with an empty string in this
app and assume people would use the advice at the top of the Labs menu.

I haven't tested Windows yet, but so far I cannot advance a lab with Crtl+>
anywhere.

Pressing enter after a result echos the last output, unless there was none
as happens with plot. In that case
 Edit Run > Line
echos the line you typed as part of your entering the request initially, and
 Echo Run > Line & Show
has
 output_jrx_
under the plot.

As it is currently working, I don't know the point of having Line & Show
under Echo Run. I don't know what Connect and Disconnect under Server do. I
also don't know what Center Panes under View does.

My own preference for introductory interfaces is to provide as few choices
as necessary, and to choose both descriptive words and organizational
positioning to ensure the meaning of each is clear. To that end, several of
the items in the previous paragraph might best be removed. Furthermore, a
number of the options under Links seem better categorized as Help, and I
would argue for choosing one initial form of help even though I don't much
care which one it is.
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread Ric Sherlock
I agree with the sentiments above - this is really impressive and nice to
use!

It maybe nice to have the option to switch to a "dark" theme?

Not sure how easy the following is to implement, but my ideal behaviour for
the Term window would involve keeping the session history faithful to what
was originally executed - as well as allowing lines to be edited/re-run. To
expand on that ... currently it is possible to edit already lines in the
session history that have already been executed sentences/lines (or output
lines that have been generated) in place, and when you press "Enter" on an
edited (or unedited) line it is copied to the bottom of the Term window to
where it can be executed (potentially after further editing). My preference
would be that the original line above in the Term window would at that
point revert to its original state (i.e. the sentence that was previously
executed or result that had already been generated.)

In my opinion this would be a desirable improvement for the JQt interface
too, but as mentioned to start with, I'm not sure how easy it would be to
implement.



On Tue, Apr 26, 2022 at 7:22 AM Paul Jackson  wrote:

> Congratulations, that is very nice. I particularly like the inline graphs.
>
> The rather immediate failure with Chrome on Android remains. As before it
> works correctly with Firefox.
>
> On Mon, Apr 25, 2022, 6:18 AM Joe Bogner  wrote:
>
> > The J Playground is a way for users to play with J in their browser
> without
> > installing any software.  It provides a low barrier to try out J and get
> a
> > feel for the language. It also provides a low barrier for sharing code by
> > generating a URL that can be shared (permalink). The vision is for wiki
> to
> > have some pages that point to the playground to create an interactive way
> > to learn and experiment with J code.
> >
> > There is a new version of the J Playground available at
> > https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work
> > in
> > 2018 from Jsoftware Inc (chris burke, possibly others) which was shared
> to
> > create a big leap forward in the user interface. Many thanks to the
> > Jsoftware team / chris / others for sharing.
> >
> > The original proof of concept is still available at
> > https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
> > like to move to a single version which is the new version at
> > https://jsoftware.github.io/j-playground/bin/html2/
> >
> > Soon we'll be retiring the proof of concept version at
> > https://jsoftware.github.io/j-playground/bin/html/emj.html and switching
> > to
> > a new final link ... likely https://jsoftware.github.io/j-playground
> (not
> > yet working)..
> >
> > If you've used the proof of concept version, please kick the tires on the
> > new version and let us know if there's anything you feel is missing that
> we
> > need to incorporate before we make the switch. Issues welcome at
> > https://github.com/jsoftware/j-playground/issues or through this email
> or
> > direct replies.
> >
> > One remaining open item I'm aware of is providing a way to interact with
> a
> > canvas/javascript like the PI Day demo I had previously. A popup canvas
> or
> > something could be added to the code I bet but hasn't been prioritized.
> > This is the non-working version:
> >
> >
> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
> >
> > The labs are somewhat working but could use some additional work.
> >
> > My viewpoint is to release often and get feedback along the way to give
> the
> > community an opportunity to shape the direction of where the playground
> is
> > going.
> >
> > Thanks
> > Joe
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread Paul Jackson
Congratulations, that is very nice. I particularly like the inline graphs.

The rather immediate failure with Chrome on Android remains. As before it
works correctly with Firefox.

On Mon, Apr 25, 2022, 6:18 AM Joe Bogner  wrote:

> The J Playground is a way for users to play with J in their browser without
> installing any software.  It provides a low barrier to try out J and get a
> feel for the language. It also provides a low barrier for sharing code by
> generating a URL that can be shared (permalink). The vision is for wiki to
> have some pages that point to the playground to create an interactive way
> to learn and experiment with J code.
>
> There is a new version of the J Playground available at
> https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work
> in
> 2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
> create a big leap forward in the user interface. Many thanks to the
> Jsoftware team / chris / others for sharing.
>
> The original proof of concept is still available at
> https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
> like to move to a single version which is the new version at
> https://jsoftware.github.io/j-playground/bin/html2/
>
> Soon we'll be retiring the proof of concept version at
> https://jsoftware.github.io/j-playground/bin/html/emj.html and switching
> to
> a new final link ... likely https://jsoftware.github.io/j-playground (not
> yet working)..
>
> If you've used the proof of concept version, please kick the tires on the
> new version and let us know if there's anything you feel is missing that we
> need to incorporate before we make the switch. Issues welcome at
> https://github.com/jsoftware/j-playground/issues or through this email or
> direct replies.
>
> One remaining open item I'm aware of is providing a way to interact with a
> canvas/javascript like the PI Day demo I had previously. A popup canvas or
> something could be added to the code I bet but hasn't been prioritized.
> This is the non-working version:
>
> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs
>
> The labs are somewhat working but could use some additional work.
>
> My viewpoint is to release often and get feedback along the way to give the
> community an opportunity to shape the direction of where the playground is
> going.
>
> Thanks
> Joe
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread John Baker
Just kicked the tires of the latest playground iteration. I'm impressed.

The playground has morphed into a very respectable little J GUI.
Congrats to everyone that contributed to this project.

jdb

On Mon, Apr 25, 2022 at 8:00 AM Raul Miller  wrote:
>
> On Mon, Apr 25, 2022 at 9:45 AM Joe Bogner  wrote:
> > Raul, thanks for the feedback. My thinking is that in the near term we'd
> > overwrite the deployment of the proof-of-concept version with the new
> > version and copy as needed to preserve the URLs.
>
> Excellent.
>
> Thanks,
>
> --
> Raul
> --
> For information about J forums see http://www.jsoftware.com/forums.htm



-- 
John D. Baker
bakerj...@gmail.com
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread Raul Miller
On Mon, Apr 25, 2022 at 9:45 AM Joe Bogner  wrote:
> Raul, thanks for the feedback. My thinking is that in the near term we'd
> overwrite the deployment of the proof-of-concept version with the new
> version and copy as needed to preserve the URLs.

Excellent.

Thanks,

-- 
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread 'Pascal Jasmin' via General
like the main jqt key compatibility (history, last command, ctrl-R).  Could the 
"command cursor" be indented 2 spaces?






On Monday, April 25, 2022, 09:18:18 a.m. EDT, Joe Bogner  
wrote: 





The J Playground is a way for users to play with J in their browser without
installing any software.  It provides a low barrier to try out J and get a
feel for the language. It also provides a low barrier for sharing code by
generating a URL that can be shared (permalink). The vision is for wiki to
have some pages that point to the playground to create an interactive way
to learn and experiment with J code.

There is a new version of the J Playground available at
https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work in
2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
create a big leap forward in the user interface. Many thanks to the
Jsoftware team / chris / others for sharing.

The original proof of concept is still available at
https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
like to move to a single version which is the new version at
https://jsoftware.github.io/j-playground/bin/html2/

Soon we'll be retiring the proof of concept version at
https://jsoftware.github.io/j-playground/bin/html/emj.html and switching to
a new final link ... likely https://jsoftware.github.io/j-playground (not
yet working)..

If you've used the proof of concept version, please kick the tires on the
new version and let us know if there's anything you feel is missing that we
need to incorporate before we make the switch. Issues welcome at
https://github.com/jsoftware/j-playground/issues or through this email or
direct replies.

One remaining open item I'm aware of is providing a way to interact with a
canvas/javascript like the PI Day demo I had previously. A popup canvas or
something could be added to the code I bet but hasn't been prioritized.
This is the non-working version:
https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs

The labs are somewhat working but could use some additional work.

My viewpoint is to release often and get feedback along the way to give the
community an opportunity to shape the direction of where the playground is
going.

Thanks
Joe
--
For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread Joe Bogner
Raul, thanks for the feedback. My thinking is that in the near term we'd
overwrite the deployment of the proof-of-concept version with the new
version and copy as needed to preserve the URLs. The new playground upgrade
supports the #code= mechanism so it should be just a matter of changing
the  makefile to also duplicate /bin/html2/index.html and supporting assets
to /bin/html/emj.html (not tested). I will test it before we do this and
wait a few days to see if anyone else has any must-haves from the proof of
concept before we make the switch. I'd prefer to retire the proof of
concept sooner than later to reduce any relearning people have to do.

On Mon, Apr 25, 2022 at 9:38 AM Raul Miller  wrote:

> On Mon, Apr 25, 2022 at 9:18 AM Joe Bogner  wrote:
> > Soon we'll be retiring the proof of concept version at
> > https://jsoftware.github.io/j-playground/bin/html/emj.html and
> switching to
> > a new final link ... likely https://jsoftware.github.io/j-playground
> (not
> > yet working)..
>
> We have some use of urls linking to the proof of concept version.
>
> These were largely proof of concept urls, using the #code= mechanism.
>
> I hope we can leave these in place for at least a short time after the
> canonical version is deployed.
>
> Thanks,
>
> --
> Raul
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread Raul Miller
On Mon, Apr 25, 2022 at 9:18 AM Joe Bogner  wrote:
> Soon we'll be retiring the proof of concept version at
> https://jsoftware.github.io/j-playground/bin/html/emj.html and switching to
> a new final link ... likely https://jsoftware.github.io/j-playground (not
> yet working)..

We have some use of urls linking to the proof of concept version.

These were largely proof of concept urls, using the #code= mechanism.

I hope we can leave these in place for at least a short time after the
canonical version is deployed.

Thanks,

-- 
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jgeneral] J Playground - Major upgrade announcement and approaching version 1.0

2022-04-25 Thread Joe Bogner
The J Playground is a way for users to play with J in their browser without
installing any software.  It provides a low barrier to try out J and get a
feel for the language. It also provides a low barrier for sharing code by
generating a URL that can be shared (permalink). The vision is for wiki to
have some pages that point to the playground to create an interactive way
to learn and experiment with J code.

There is a new version of the J Playground available at
https://jsoftware.github.io/j-playground/bin/html2/ . It uses prior work in
2018 from Jsoftware Inc (chris burke, possibly others) which was shared to
create a big leap forward in the user interface. Many thanks to the
Jsoftware team / chris / others for sharing.

The original proof of concept is still available at
https://jsoftware.github.io/j-playground/bin/html/emj.html, however we'd
like to move to a single version which is the new version at
https://jsoftware.github.io/j-playground/bin/html2/

Soon we'll be retiring the proof of concept version at
https://jsoftware.github.io/j-playground/bin/html/emj.html and switching to
a new final link ... likely https://jsoftware.github.io/j-playground (not
yet working)..

If you've used the proof of concept version, please kick the tires on the
new version and let us know if there's anything you feel is missing that we
need to incorporate before we make the switch. Issues welcome at
https://github.com/jsoftware/j-playground/issues or through this email or
direct replies.

One remaining open item I'm aware of is providing a way to interact with a
canvas/javascript like the PI Day demo I had previously. A popup canvas or
something could be added to the code I bet but hasn't been prioritized.
This is the non-working version:
https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/4fb3f5531f8ff00fc8d7903b876f6661/raw/293c2725016618b232ff92c1af2fa022b3bf220f/pi-day-playground-demo1.ijs

The labs are somewhat working but could use some additional work.

My viewpoint is to release often and get feedback along the way to give the
community an opportunity to shape the direction of where the playground is
going.

Thanks
Joe
--
For information about J forums see http://www.jsoftware.com/forums.htm