The current code in the wiki for Trajectory runs fine for me on Ubuntu Beta-m,
j4avx2 with 1.0.5 fold.
David
On 10/17/2019 16:30, Gilles Kirouac wrote:
?? I am now getting an interpreter crash.
?? I updated three scripts through PacMan. dev/fold is now at level
1.0.5. Then ran the same Trajectory script. Without the debugger, I get
the normal value error: trajectory. Doing the same with the J debugger
but with the J session run under gdb here is the result:
gilles@T530gk ~/j901 $ gdb bin/jqt
...
(gdb) run
Starting program: /home/gilles/j901/bin/jqt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe4b49700 (LWP 8058)]
Thread 1 "jqt" received signal SIGSEGV, Segmentation fault.
0x00007fffda5cd1ed in suspset () from /home/gilles/j901/bin/libj.so
(gdb)
?? I did it twice to make sure I was not doing something silly.
?? ~ Gilles
Le 2019-10-17 ?? 11:51, Henry Rich a ??crit??:
Gilles,
?? I have modified the Fold script so that it allows messages from
execution of the user's verb to be displayed and debugged.?? Use
Package Manager to update dev/fold - no need for a new beta.
?? I hope that suits better.
Henry Rich
On 10/11/2019 11:27 AM, Gilles Kirouac wrote:
I installed beta-k then m on Linuxmint 64b
My desktop directory is named Bureau, not Desktop. The installer is thus
unable to install shortcuts on Desktop. Minor annoyance. I created a
link to Bureau for next time. May be suggest to do so in install
instructions. I added a few qt5 missing packages.
With the current IDE, to find the syntax of std lib utilities (e.g.
dates, files, strings, text), I have to go through Help, Help, Usr,
Standard Library, ... More importantly I have to KNOW that the std lib
doc is there.
Do you think a newcomer will easily explore to that level? The Library
is a selling point. It should be easy to get to. And IMO the Lib is more
useful to anyone than Foreigns.
Two years ago, I proposed to add a line to the Help Menu pointing to the
std lib doc. IIRC the proposal was accepted, but ... so I reiterate.
Having launched jqt through a terminal, I received the following:
QPaintDevice::metrics: Device has no metric information
Should I worry?
I briefly experimented with Fold after reading the Release Notes. Those
could include a link to https://code.jsoftware.com/wiki/Vocabulary/fcap,
which I found through a web search.
I tried to run the Trajectory example from that page and got a value
error. Where? A visual look at the script revealed a susceptible
culprit: mean. Added require 'stats/base' and it ran.
While trying the Trajectory, I ran the script with the debugger. [The
debugger did not fail, great!] The value error on mean was not obvious.
The stack is given as:
value error
Fold_j_[40] 13!:8]13!:11''[FoldZv_j_=:fzv
trajectory[0] u F: v y
This Trajectory example is a simple case. I suspect that errors in more
complex cases may not be easy to analyze.
??From a notational point of view, the Fold family is a great addition, I
think.
?????? JVERSION
Engine: j901/j64avx/linux
Beta-m: commercial/2019-10-02T09:15:44
Library: 9.01.10
Qt IDE: 1.8.1/5.5.1
Platform: Linux 64
Installer: J901 install
InstallPath: /home/gilles/j901
Contact: www.jsoftware.com
?????????? ~ Gilles
----------------------------------------------------------------------
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