Re: [Jgeneral] JQt install: assertion failure

2022-04-26 Thread bill lam
Sorry I have no experience with that.

On Tue, 26 Apr 2022 at 11:57 PM Razetime  wrote:

> The thread there doesn't seem to address the Desktop icon problem, though.
> My desktop folder exists and has all permissions enabled.
>
> On Tue, Apr 26, 2022 at 9:16 PM Razetime  wrote:
>
> > Ah, thank you very much. That fix worked correctly.
> >
> > On Tue, Apr 26, 2022 at 8:14 PM bill lam  wrote:
> >
> >> That should already be answered in the email thread. There was a bug in
> >> jqt
> >> 903 that it expected the wrong version. An work around would be make a
> >> symlink.
> >>
> >> On Tue, 26 Apr 2022 at 9:09 PM Raul Miller 
> wrote:
> >>
> >> > You should probably remove J902 from that system.
> >> >
> >> > Type:
> >> >
> >> >  which jqt
> >> >
> >> > That should tell you how your system is finding jqt. That jqt should
> >> > be j903 rather than j902.
> >> >
> >> > I hope this helps,
> >> >
> >> > --
> >> > Raul
> >> >
> >> > On Tue, Apr 26, 2022 at 6:10 AM Razetime 
> >> wrote:
> >> > >
> >> > > To bill lam: Thanks a lot, that problem is solved.
> >> > >
> >> > > To Raul Miller: I ran install-usr.sh (with sudo) before running
> >> > ijconsole,
> >> > > and it gave this message:
> >> > > $ sudo ./install-usr.sh
> >> > > this script will install j system on /usr
> >> > > /home/razetime/j903/bin
> >> > > done
> >> > > It seems that J902 did not get updated in the process. Running
> >> ./jqt.sh
> >> > > from the home folder installation works, but doesn't seem to work as
> >> an
> >> > > ordinary command. How do I remove J902 for this?
> >> > >
> >> > >
> >> > > On Tue, Apr 26, 2022 at 3:23 PM bill lam 
> wrote:
> >> > >
> >> > > > Sorry the keywords were chopped off in my previous email.
> >> > > > The info should be contained in it
> >> > > > [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu
> 20.04
> >> > > >
> >> > > > On Tue, Apr 26, 2022 at 5:01 PM Razetime 
> >> > wrote:
> >> > > >
> >> > > > > My previous question was already on the forum, but after a
> >> search, I
> >> > was
> >> > > > > unable to find this problem (happens on install jpkg *):
> >> > > > > Installing JQt binaries...
> >> > > > > install libjqt.so to /usr/lib/x86_64-linux-gnu/
> >> > > > > cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
> >> > > > > "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt
> >> > /usr/bin/jqt-9.03
> >> > > > &&
> >> > > > > cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod
> >> 755
> >> > > > > /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
> >> > > > > update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03
> >> 903
> >> > > > > update-alternatives: warning: forcing reinstallation of
> >> alternative
> >> > > > > /usr/bin/jqt-9.03 because link group jqt is broken
> >> > > > > Finished install of JQt binaries.
> >> > > > > If libjqt cannot be loaded, see this guide for installing the Qt
> >> > library
> >> > > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation
> >> > > > > Exit and restart J using jqt
> >> > > > > *** next step updates JE
> >> > > > > upgrade not required - already current
> >> > > > > *** next step creates desktop J launch icons
> >> > > > > ~/Desktop folder does not exist for shortcuts
> >> > > > > perhaps create ~/Desktop as link to your Desktop folder and
> rerun
> >> > > > > |assertion failure: assert
> >> > > > > |   assert 0
> >> > > > > When I try to run jqt, I get the following error:
> >> > > > > $ jqt
> >> > > > > "libjqt.so.9.02"
> >> > > > > "could not resolve: state_run:\n\nCannot load library
> >> libjqt.so.9.02:
> >> > > > > (libjqt.so.9.02: cannot open shared object file: No such file or
> >> > > > > directory)"
> >> > > > > I've installed the packages mentioned over at
> >> > > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation
> (Ubuntu
> >> > > > 20.04),
> >> > > > > but this issue still persists after a restart.
> >> > > > >
> >> > --
> >> > > > > 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
> >> > --
> >> > 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
>
--
For 

[Jgeneral] It Takes a Community: The Open Source Challenge

2022-04-26 Thread Arthur Anger
J-people--
To the extent that most of us rely on others for assistance with our particular 
tasks, this article from Communications of the ACM may resonate with some of 
our community's history--and future:

https://cacm.acm.org/magazines/2022/5/260353-it-takes-a-community/fulltext
--Art
--
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] JQt install: assertion failure

2022-04-26 Thread Razetime
The thread there doesn't seem to address the Desktop icon problem, though.
My desktop folder exists and has all permissions enabled.

On Tue, Apr 26, 2022 at 9:16 PM Razetime  wrote:

> Ah, thank you very much. That fix worked correctly.
>
> On Tue, Apr 26, 2022 at 8:14 PM bill lam  wrote:
>
>> That should already be answered in the email thread. There was a bug in
>> jqt
>> 903 that it expected the wrong version. An work around would be make a
>> symlink.
>>
>> On Tue, 26 Apr 2022 at 9:09 PM Raul Miller  wrote:
>>
>> > You should probably remove J902 from that system.
>> >
>> > Type:
>> >
>> >  which jqt
>> >
>> > That should tell you how your system is finding jqt. That jqt should
>> > be j903 rather than j902.
>> >
>> > I hope this helps,
>> >
>> > --
>> > Raul
>> >
>> > On Tue, Apr 26, 2022 at 6:10 AM Razetime 
>> wrote:
>> > >
>> > > To bill lam: Thanks a lot, that problem is solved.
>> > >
>> > > To Raul Miller: I ran install-usr.sh (with sudo) before running
>> > ijconsole,
>> > > and it gave this message:
>> > > $ sudo ./install-usr.sh
>> > > this script will install j system on /usr
>> > > /home/razetime/j903/bin
>> > > done
>> > > It seems that J902 did not get updated in the process. Running
>> ./jqt.sh
>> > > from the home folder installation works, but doesn't seem to work as
>> an
>> > > ordinary command. How do I remove J902 for this?
>> > >
>> > >
>> > > On Tue, Apr 26, 2022 at 3:23 PM bill lam  wrote:
>> > >
>> > > > Sorry the keywords were chopped off in my previous email.
>> > > > The info should be contained in it
>> > > > [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04
>> > > >
>> > > > On Tue, Apr 26, 2022 at 5:01 PM Razetime 
>> > wrote:
>> > > >
>> > > > > My previous question was already on the forum, but after a
>> search, I
>> > was
>> > > > > unable to find this problem (happens on install jpkg *):
>> > > > > Installing JQt binaries...
>> > > > > install libjqt.so to /usr/lib/x86_64-linux-gnu/
>> > > > > cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
>> > > > > "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt
>> > /usr/bin/jqt-9.03
>> > > > &&
>> > > > > cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod
>> 755
>> > > > > /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
>> > > > > update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03
>> 903
>> > > > > update-alternatives: warning: forcing reinstallation of
>> alternative
>> > > > > /usr/bin/jqt-9.03 because link group jqt is broken
>> > > > > Finished install of JQt binaries.
>> > > > > If libjqt cannot be loaded, see this guide for installing the Qt
>> > library
>> > > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation
>> > > > > Exit and restart J using jqt
>> > > > > *** next step updates JE
>> > > > > upgrade not required - already current
>> > > > > *** next step creates desktop J launch icons
>> > > > > ~/Desktop folder does not exist for shortcuts
>> > > > > perhaps create ~/Desktop as link to your Desktop folder and rerun
>> > > > > |assertion failure: assert
>> > > > > |   assert 0
>> > > > > When I try to run jqt, I get the following error:
>> > > > > $ jqt
>> > > > > "libjqt.so.9.02"
>> > > > > "could not resolve: state_run:\n\nCannot load library
>> libjqt.so.9.02:
>> > > > > (libjqt.so.9.02: cannot open shared object file: No such file or
>> > > > > directory)"
>> > > > > I've installed the packages mentioned over at
>> > > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu
>> > > > 20.04),
>> > > > > but this issue still persists after a restart.
>> > > > >
>> > --
>> > > > > 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
>> > --
>> > 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] JQt install: assertion failure

2022-04-26 Thread Razetime
Ah, thank you very much. That fix worked correctly.

On Tue, Apr 26, 2022 at 8:14 PM bill lam  wrote:

> That should already be answered in the email thread. There was a bug in jqt
> 903 that it expected the wrong version. An work around would be make a
> symlink.
>
> On Tue, 26 Apr 2022 at 9:09 PM Raul Miller  wrote:
>
> > You should probably remove J902 from that system.
> >
> > Type:
> >
> >  which jqt
> >
> > That should tell you how your system is finding jqt. That jqt should
> > be j903 rather than j902.
> >
> > I hope this helps,
> >
> > --
> > Raul
> >
> > On Tue, Apr 26, 2022 at 6:10 AM Razetime  wrote:
> > >
> > > To bill lam: Thanks a lot, that problem is solved.
> > >
> > > To Raul Miller: I ran install-usr.sh (with sudo) before running
> > ijconsole,
> > > and it gave this message:
> > > $ sudo ./install-usr.sh
> > > this script will install j system on /usr
> > > /home/razetime/j903/bin
> > > done
> > > It seems that J902 did not get updated in the process. Running ./jqt.sh
> > > from the home folder installation works, but doesn't seem to work as an
> > > ordinary command. How do I remove J902 for this?
> > >
> > >
> > > On Tue, Apr 26, 2022 at 3:23 PM bill lam  wrote:
> > >
> > > > Sorry the keywords were chopped off in my previous email.
> > > > The info should be contained in it
> > > > [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04
> > > >
> > > > On Tue, Apr 26, 2022 at 5:01 PM Razetime 
> > wrote:
> > > >
> > > > > My previous question was already on the forum, but after a search,
> I
> > was
> > > > > unable to find this problem (happens on install jpkg *):
> > > > > Installing JQt binaries...
> > > > > install libjqt.so to /usr/lib/x86_64-linux-gnu/
> > > > > cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
> > > > > "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt
> > /usr/bin/jqt-9.03
> > > > &&
> > > > > cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod 755
> > > > > /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
> > > > > update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03
> 903
> > > > > update-alternatives: warning: forcing reinstallation of alternative
> > > > > /usr/bin/jqt-9.03 because link group jqt is broken
> > > > > Finished install of JQt binaries.
> > > > > If libjqt cannot be loaded, see this guide for installing the Qt
> > library
> > > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation
> > > > > Exit and restart J using jqt
> > > > > *** next step updates JE
> > > > > upgrade not required - already current
> > > > > *** next step creates desktop J launch icons
> > > > > ~/Desktop folder does not exist for shortcuts
> > > > > perhaps create ~/Desktop as link to your Desktop folder and rerun
> > > > > |assertion failure: assert
> > > > > |   assert 0
> > > > > When I try to run jqt, I get the following error:
> > > > > $ jqt
> > > > > "libjqt.so.9.02"
> > > > > "could not resolve: state_run:\n\nCannot load library
> libjqt.so.9.02:
> > > > > (libjqt.so.9.02: cannot open shared object file: No such file or
> > > > > directory)"
> > > > > I've installed the packages mentioned over at
> > > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu
> > > > 20.04),
> > > > > but this issue still persists after a restart.
> > > > >
> > --
> > > > > 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
> > --
> > 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] JQt install: assertion failure

2022-04-26 Thread bill lam
That should already be answered in the email thread. There was a bug in jqt
903 that it expected the wrong version. An work around would be make a
symlink.

On Tue, 26 Apr 2022 at 9:09 PM Raul Miller  wrote:

> You should probably remove J902 from that system.
>
> Type:
>
>  which jqt
>
> That should tell you how your system is finding jqt. That jqt should
> be j903 rather than j902.
>
> I hope this helps,
>
> --
> Raul
>
> On Tue, Apr 26, 2022 at 6:10 AM Razetime  wrote:
> >
> > To bill lam: Thanks a lot, that problem is solved.
> >
> > To Raul Miller: I ran install-usr.sh (with sudo) before running
> ijconsole,
> > and it gave this message:
> > $ sudo ./install-usr.sh
> > this script will install j system on /usr
> > /home/razetime/j903/bin
> > done
> > It seems that J902 did not get updated in the process. Running ./jqt.sh
> > from the home folder installation works, but doesn't seem to work as an
> > ordinary command. How do I remove J902 for this?
> >
> >
> > On Tue, Apr 26, 2022 at 3:23 PM bill lam  wrote:
> >
> > > Sorry the keywords were chopped off in my previous email.
> > > The info should be contained in it
> > > [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04
> > >
> > > On Tue, Apr 26, 2022 at 5:01 PM Razetime 
> wrote:
> > >
> > > > My previous question was already on the forum, but after a search, I
> was
> > > > unable to find this problem (happens on install jpkg *):
> > > > Installing JQt binaries...
> > > > install libjqt.so to /usr/lib/x86_64-linux-gnu/
> > > > cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
> > > > "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt
> /usr/bin/jqt-9.03
> > > &&
> > > > cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod 755
> > > > /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
> > > > update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03 903
> > > > update-alternatives: warning: forcing reinstallation of alternative
> > > > /usr/bin/jqt-9.03 because link group jqt is broken
> > > > Finished install of JQt binaries.
> > > > If libjqt cannot be loaded, see this guide for installing the Qt
> library
> > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation
> > > > Exit and restart J using jqt
> > > > *** next step updates JE
> > > > upgrade not required - already current
> > > > *** next step creates desktop J launch icons
> > > > ~/Desktop folder does not exist for shortcuts
> > > > perhaps create ~/Desktop as link to your Desktop folder and rerun
> > > > |assertion failure: assert
> > > > |   assert 0
> > > > When I try to run jqt, I get the following error:
> > > > $ jqt
> > > > "libjqt.so.9.02"
> > > > "could not resolve: state_run:\n\nCannot load library libjqt.so.9.02:
> > > > (libjqt.so.9.02: cannot open shared object file: No such file or
> > > > directory)"
> > > > I've installed the packages mentioned over at
> > > > https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu
> > > 20.04),
> > > > but this issue still persists after a restart.
> > > >
> --
> > > > 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
> --
> 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 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] JQt install: assertion failure

2022-04-26 Thread Raul Miller
You should probably remove J902 from that system.

Type:

 which jqt

That should tell you how your system is finding jqt. That jqt should
be j903 rather than j902.

I hope this helps,

-- 
Raul

On Tue, Apr 26, 2022 at 6:10 AM Razetime  wrote:
>
> To bill lam: Thanks a lot, that problem is solved.
>
> To Raul Miller: I ran install-usr.sh (with sudo) before running ijconsole,
> and it gave this message:
> $ sudo ./install-usr.sh
> this script will install j system on /usr
> /home/razetime/j903/bin
> done
> It seems that J902 did not get updated in the process. Running ./jqt.sh
> from the home folder installation works, but doesn't seem to work as an
> ordinary command. How do I remove J902 for this?
>
>
> On Tue, Apr 26, 2022 at 3:23 PM bill lam  wrote:
>
> > Sorry the keywords were chopped off in my previous email.
> > The info should be contained in it
> > [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04
> >
> > On Tue, Apr 26, 2022 at 5:01 PM Razetime  wrote:
> >
> > > My previous question was already on the forum, but after a search, I was
> > > unable to find this problem (happens on install jpkg *):
> > > Installing JQt binaries...
> > > install libjqt.so to /usr/lib/x86_64-linux-gnu/
> > > cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
> > > "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt /usr/bin/jqt-9.03
> > &&
> > > cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod 755
> > > /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
> > > update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03 903
> > > update-alternatives: warning: forcing reinstallation of alternative
> > > /usr/bin/jqt-9.03 because link group jqt is broken
> > > Finished install of JQt binaries.
> > > If libjqt cannot be loaded, see this guide for installing the Qt library
> > > https://code.jsoftware.com/wiki/Guides/Linux_Installation
> > > Exit and restart J using jqt
> > > *** next step updates JE
> > > upgrade not required - already current
> > > *** next step creates desktop J launch icons
> > > ~/Desktop folder does not exist for shortcuts
> > > perhaps create ~/Desktop as link to your Desktop folder and rerun
> > > |assertion failure: assert
> > > |   assert 0
> > > When I try to run jqt, I get the following error:
> > > $ jqt
> > > "libjqt.so.9.02"
> > > "could not resolve: state_run:\n\nCannot load library libjqt.so.9.02:
> > > (libjqt.so.9.02: cannot open shared object file: No such file or
> > > directory)"
> > > I've installed the packages mentioned over at
> > > https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu
> > 20.04),
> > > but this issue still persists after a restart.
> > > --
> > > 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
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] JQt install: assertion failure

2022-04-26 Thread Razetime
To bill lam: Thanks a lot, that problem is solved.

To Raul Miller: I ran install-usr.sh (with sudo) before running ijconsole,
and it gave this message:
$ sudo ./install-usr.sh
this script will install j system on /usr
/home/razetime/j903/bin
done
It seems that J902 did not get updated in the process. Running ./jqt.sh
from the home folder installation works, but doesn't seem to work as an
ordinary command. How do I remove J902 for this?


On Tue, Apr 26, 2022 at 3:23 PM bill lam  wrote:

> Sorry the keywords were chopped off in my previous email.
> The info should be contained in it
> [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04
>
> On Tue, Apr 26, 2022 at 5:01 PM Razetime  wrote:
>
> > My previous question was already on the forum, but after a search, I was
> > unable to find this problem (happens on install jpkg *):
> > Installing JQt binaries...
> > install libjqt.so to /usr/lib/x86_64-linux-gnu/
> > cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
> > "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt /usr/bin/jqt-9.03
> &&
> > cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod 755
> > /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
> > update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03 903
> > update-alternatives: warning: forcing reinstallation of alternative
> > /usr/bin/jqt-9.03 because link group jqt is broken
> > Finished install of JQt binaries.
> > If libjqt cannot be loaded, see this guide for installing the Qt library
> > https://code.jsoftware.com/wiki/Guides/Linux_Installation
> > Exit and restart J using jqt
> > *** next step updates JE
> > upgrade not required - already current
> > *** next step creates desktop J launch icons
> > ~/Desktop folder does not exist for shortcuts
> > perhaps create ~/Desktop as link to your Desktop folder and rerun
> > |assertion failure: assert
> > |   assert 0
> > When I try to run jqt, I get the following error:
> > $ jqt
> > "libjqt.so.9.02"
> > "could not resolve: state_run:\n\nCannot load library libjqt.so.9.02:
> > (libjqt.so.9.02: cannot open shared object file: No such file or
> > directory)"
> > I've installed the packages mentioned over at
> > https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu
> 20.04),
> > but this issue still persists after a restart.
> > --
> > 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] JQt install: assertion failure

2022-04-26 Thread bill lam
Sorry the keywords were chopped off in my previous email.
The info should be contained in it
[Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04

On Tue, Apr 26, 2022 at 5:01 PM Razetime  wrote:

> My previous question was already on the forum, but after a search, I was
> unable to find this problem (happens on install jpkg *):
> Installing JQt binaries...
> install libjqt.so to /usr/lib/x86_64-linux-gnu/
> cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
> "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt /usr/bin/jqt-9.03 &&
> cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod 755
> /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
> update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03 903
> update-alternatives: warning: forcing reinstallation of alternative
> /usr/bin/jqt-9.03 because link group jqt is broken
> Finished install of JQt binaries.
> If libjqt cannot be loaded, see this guide for installing the Qt library
> https://code.jsoftware.com/wiki/Guides/Linux_Installation
> Exit and restart J using jqt
> *** next step updates JE
> upgrade not required - already current
> *** next step creates desktop J launch icons
> ~/Desktop folder does not exist for shortcuts
> perhaps create ~/Desktop as link to your Desktop folder and rerun
> |assertion failure: assert
> |   assert 0
> When I try to run jqt, I get the following error:
> $ jqt
> "libjqt.so.9.02"
> "could not resolve: state_run:\n\nCannot load library libjqt.so.9.02:
> (libjqt.so.9.02: cannot open shared object file: No such file or
> directory)"
> I've installed the packages mentioned over at
> https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu 20.04),
> but this issue still persists after a restart.
> --
> 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] JQt install: assertion failure

2022-04-26 Thread Raul Miller
It looks like you installed libjqt for j 903 but are running j 902.

-- 
Raul

On Tue, Apr 26, 2022 at 5:01 AM Razetime  wrote:
>
> My previous question was already on the forum, but after a search, I was
> unable to find this problem (happens on install jpkg *):
> Installing JQt binaries...
> install libjqt.so to /usr/lib/x86_64-linux-gnu/
> cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
> "/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt /usr/bin/jqt-9.03 &&
> cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod 755
> /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
> update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03 903
> update-alternatives: warning: forcing reinstallation of alternative
> /usr/bin/jqt-9.03 because link group jqt is broken
> Finished install of JQt binaries.
> If libjqt cannot be loaded, see this guide for installing the Qt library
> https://code.jsoftware.com/wiki/Guides/Linux_Installation
> Exit and restart J using jqt
> *** next step updates JE
> upgrade not required - already current
> *** next step creates desktop J launch icons
> ~/Desktop folder does not exist for shortcuts
> perhaps create ~/Desktop as link to your Desktop folder and rerun
> |assertion failure: assert
> |   assert 0
> When I try to run jqt, I get the following error:
> $ jqt
> "libjqt.so.9.02"
> "could not resolve: state_run:\n\nCannot load library libjqt.so.9.02:
> (libjqt.so.9.02: cannot open shared object file: No such file or directory)"
> I've installed the packages mentioned over at
> https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu 20.04),
> but this issue still persists after a restart.
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jgeneral] JQt install: assertion failure

2022-04-26 Thread Razetime
My previous question was already on the forum, but after a search, I was
unable to find this problem (happens on install jpkg *):
Installing JQt binaries...
install libjqt.so to /usr/lib/x86_64-linux-gnu/
cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
"/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt /usr/bin/jqt-9.03 &&
cp libjqt.so /usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && chmod 755
/usr/lib/x86_64-linux-gnu//libjqt.so.9.03 && ldconfi...
update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.03 903
update-alternatives: warning: forcing reinstallation of alternative
/usr/bin/jqt-9.03 because link group jqt is broken
Finished install of JQt binaries.
If libjqt cannot be loaded, see this guide for installing the Qt library
https://code.jsoftware.com/wiki/Guides/Linux_Installation
Exit and restart J using jqt
*** next step updates JE
upgrade not required - already current
*** next step creates desktop J launch icons
~/Desktop folder does not exist for shortcuts
perhaps create ~/Desktop as link to your Desktop folder and rerun
|assertion failure: assert
|   assert 0
When I try to run jqt, I get the following error:
$ jqt
"libjqt.so.9.02"
"could not resolve: state_run:\n\nCannot load library libjqt.so.9.02:
(libjqt.so.9.02: cannot open shared object file: No such file or directory)"
I've installed the packages mentioned over at
https://code.jsoftware.com/wiki/Guides/Linux_Installation (Ubuntu 20.04),
but this issue still persists after a restart.
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] J903 JQt Install Error

2022-04-26 Thread bill lam
please search for this thread.

On Tue, Apr 26, 2022 at 3:26 PM Razetime  wrote:

> I'm trying to install all J903 libraries as per
> https://code.jsoftware.com/wiki/System/Installation/J903/Zips, but I get
> the following error:
>
> Installing JQt binaries...
> install libjqt.so to /usr/lib/x86_64-linux-gnu/
> |value error: vsuffix
> |   echo'cd ',(dquote jpath'~temp'),' && tar --no-same-owner
> --no-same-permissions -xzf ',(dquote p),' && chmod 755 jqt && mv jqt
> ',BINPATH,'/jqt-9.03 && cp libjqt.',suffix,' ',d1,'/libjqt.',vsuffix,' &&
> chmod 755 ',d1,'/libjqt.',vsuffix,('Linux'-:UNAME)#' && ldconfig'
>
> How would I fix this problem?
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jgeneral] J903 JQt Install Error

2022-04-26 Thread Razetime
I'm trying to install all J903 libraries as per
https://code.jsoftware.com/wiki/System/Installation/J903/Zips, but I get
the following error:

Installing JQt binaries...
install libjqt.so to /usr/lib/x86_64-linux-gnu/
|value error: vsuffix
|   echo'cd ',(dquote jpath'~temp'),' && tar --no-same-owner
--no-same-permissions -xzf ',(dquote p),' && chmod 755 jqt && mv jqt
',BINPATH,'/jqt-9.03 && cp libjqt.',suffix,' ',d1,'/libjqt.',vsuffix,' &&
chmod 755 ',d1,'/libjqt.',vsuffix,('Linux'-:UNAME)#' && ldconfig'

How would I fix this problem?
--
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