The fact that typing 2!:55'' doesn't exit JE makes me think Jqt is eating the input.  If JE saw it it would quit.

I have one more observation: after I click the last CTRL-j, the plot window comes up, but it is empty (i. e. gray).  It stays empty, as if it is waiting for a draw event, until I click the mouse (I actually clicked in the term window).  Once I click, it draws the plot window and types 0 twice into the term window. After that the system ignores keyboard input.

Henry Rich



On 1/24/2021 6:22 PM, 'robert therriault' via Programming wrote:
Just on the off chance that it might be some issue with the previous lab format 
(and this lab is in the 805 format) I converted the sequence over to the 
current lab format and the results were the same.

The 0 shows up in the terminal window when plot and debug are run together and 
the terminal window will not execute lines, although it does allow you to enter 
characters, and the only way to close it is to force quit.

Is there anything else that I can try to help out?

I think that if it is a jqt issue then it is more likely to be Bill who will 
solve the problem and if it is JE, I would guess that is in your court.

Cheers, bob


On Jan 24, 2021, at 13:16, Henry Rich <[email protected]> wrote:

When I launch plot, I see some 0s and an unresponsive term window.

The culprit is not plot per se, but it might in the interaction between plot 
and Jqt, as possibly with JE. What's really different about this lab is that 
debug is active while plot is running. That might engage a different path in 
Jqt.  I don't know what the normal communication between plot and Jqt is, or 
whether it is disrupted by debug.

I agree it would be good to solve this problem.

Henry Rich

On 1/24/2021 3:45 PM, 'robert therriault' via Programming wrote:
Thanks Henry,

Since neither the lock up issue nor the 0's appearing when plot is invoked 
under debug is seen in J 901, unless plot has been changed along with the 
version change, I don't think that plot is the culprit.

Is this happening for you as well or is it only the Darwin version of the 
platform?

Cheers, bob

On Jan 24, 2021, at 12:23, Henry Rich <[email protected]> wrote:

The 0s are a pretty good sign that there is an event handler in plot that 
returns 0.  When plot is run under debug, as in the lab, that value is 
displayed.  Changing the return value from the event handler would be a simple 
solution.

That wouldn't have any effect on the locking up of the session. That bug could 
be in Jqt, JE, or plot.

Henry Rich

On 1/24/2021 3:08 PM, 'robert therriault' via Programming wrote:
Well this lab is certanly putting my system through its paces.

The latest is something that only happens in j 902 and j 903. j 901 and before 
is unaffected.

When you get to chapter 2 section 4 of 'J by point and click' a plot window 
opens up. Everything displays properly, but although you can type into the 
terminal window, nothing will execute and the j application has to be force 
quit.
When the plot window first opens a 0 shows up in the terminal window, followed 
by the 3 space indent on the next line. After that whenever you click on the 
plot window an additional 0 is added one line down
right on the margin. Clicking back and forth between the terminal and the plot 
window just adds more of these zeros.

I thought that it may have something to do with the {{ }} issues that R.E.Boss 
has been experiencing recently on a different thread so I tried adding lines 
around the plot command in the .ijt file but that did not seem to make a 
difference.

I have also found that if you have debug activated that a plot command will 
cause 0's in the terminal window, but this does not lock up J.

Overall a bit of a concern as 'J by point and click' is a really good intro lab 
and having it result in a force quit for a new user is problematic.

Any suggestions would be welcome.

Cheers, bob

     JVERSION
Engine: j902/j64avx2/darwin
Release-a: commercial/2020-12-05T12:43:38
Library: 9.02.08
Qt IDE: 1.9.2/5.12.10(5.12.10)
Platform: Darwin 64
Installer: J902 install
InstallPath: /users/bobtherriault/j902
Contact: www.jsoftware.com

On Jan 23, 2021, at 10:02, 'robert therriault' via Chat <[email protected]> 
wrote:

Thanks Henry, that worked for me.

I am guessing from the style of the lab that you were the author. It really is 
very good. I was thinking of doing a video series of screencasts following 
along the lab and pointing out the tools that are shown and why they are 
important to learn as a newcomer to the language. Do you have any 
concerns/suggestions about how you would like to see this done?

I am cross posting to chat so that you can follow up the thread there, since 
this is not really programming.

Cheers, bob

On Jan 23, 2021, at 08:04, Henry Rich <[email protected]> wrote:

I have pushed a change that might be a fix. Update your Dissect addon.

The mouse-move routine returned a value that was being displayed. I changed it 
to return i. 0 0.  That made the 0s go away for me. I think the display is 
probably only when debug is on, and was introduced toward the end of 9.02 
development.  Normally the results of event handlers are not displayed, but for 
debug they are passed into the suspension handler which then displays them.

Henry Rich

On 1/23/2021 12:09 AM, 'robert therriault' via Programming wrote:
I was going through the J by point and click lab and noticed that there is a 
problem with the dissect window in j902 and j903. Whenever I move the mouse 
over the dissect window a sequence of 0's races down the page of my term 
window. I don't see this behaviour j901 or earlier.

Is this happening for anyone else?

I had been hoping to run a series of videos based on this lab to provide an 
easy entry to J from the masses, but would not want to do that if it not 
reliable across versions.

Was this lab yours Henry? It is a very good introduction.

Cheers, bob

JVERSION(s)

    JVERSION
Engine: j903/j64avx2/darwin
Beta-a: commercial/2020-12-17T10:25:30
Library: 9.03.01
Qt IDE: 1.9.2/5.12.10(5.12.10)
Platform: Darwin 64
Installer: J903 install
InstallPath: /users/bobtherriault/j903
Contact: www.jsoftware.com

    JVERSION
Engine: j902/j64avx2/darwin
Release-a: commercial/2020-12-05T12:43:38
Library: 9.02.08
Qt IDE: 1.9.1/5.12.10(5.12.10)
Platform: Darwin 64
Installer: J902 install
InstallPath: /users/bobtherriault/j902
Contact: www.jsoftware.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
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 information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to