My problem with the IDE is its brittleness.
If I use a session for a long time, or if I happen to display large amounts of
data, the IDE starts breaking and eventually becomes unusable. I can't save my
scripts, switch windows, or even close the session (without 2!:55 ). The
basic problem is the call to wd'q' in wdhandler_base_ . If there's too
much data, wd'q' barfs and wd 'qer' complains 'too much data' . Another
problem is the
|non-unique sparse elements: wd
| wdq=: wd'q'
error. I don't know if this is related to the 'too much data' problem or is
just a bug in the implementation of 11!:0 , but it is extremely annoying and
I would like it fixed.
I don't know what the solution is; no matter what size buffer j.exe allocates
for wd , it will eventually overflow. Perhaps the IJX could be a real
file? Perhaps a real, memory-mapped file? Perhaps wd'q' could just specify
that it'll truncate data to the last N megabytes (i.e. one loses one's
history after a while)?
Another request, unrelated, ancient, and much debated, is for the history to be
accurately retained. That is, when I edit and execute a historical line in the
session, the edited version should be copied down to the end of the history
(then executed), and the original historical line restored, so the session
retains an accurate input-output mapping. This is feasible given that the
original line is available in wd'sminputlog' .
But I've lived without that for a long time. I would much prefer the wd
problems be fixed.
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm