Re: [Jprogramming] Crash on assignment

2023-04-21 Thread Henry Rich
Fixed for next release/beta.  The error was in formatting a message when the assignment failed because the value could not be opened.  Only multiple assignment was affected. Thanks for the very clear report. Henry Rich On 4/20/2023 8:44 PM, Gilles Kirouac wrote: Say I have    ]d=: _2 ]\ 'q1

Re: [Jprogramming] Crash with p.

2023-02-04 Thread Henry Rich
These crash for me too.  I have fixed the crash, which now produces a stack error instead. Sorry I can't give you the right answer.  I'll look again after the 9.04 final release is out.  Or maybe Elijah will come up with something. Henry Rich On 2/3/2023 11:34 PM, Schmidt-Gröttrup, Markus wr

Re: [Jprogramming] Crash with p.

2023-02-04 Thread David Lambert
Confirmed with j904 $ alias j alias j='/home/lambertdw/downloads/installs/j904/bin/jconsole' $ j    p. _15 _1 0 0 0 0 1 Segmentation fault (core dumped) $ j    p. _14 _1 0 0 0 0 1 ┌─┬──┐ │1│1.58039 0.762668j1.3693

Re: [Jprogramming] Crash with p.

2023-02-04 Thread Elijah Stone
('analytic') On Sat, 4 Feb 2023, Elijah Stone wrote: I can reproduce hangs (but not crashes) for these in the latest version. There have been some interesting recent developments in polynomial solving, which I planned to implement into je, but they only work for reals, so no help here. Ho

Re: [Jprogramming] Crash with p.

2023-02-04 Thread Elijah Stone
I can reproduce hangs (but not crashes) for these in the latest version. There have been some interesting recent developments in polynomial solving, which I planned to implement into je, but they only work for reals, so no help here. However, I wonder about the possibility of using solely bis

Re: [Jprogramming] crash

2020-12-21 Thread David Lambert
ia Programming" |To: programm...@jsoftware.com |Subject: Re: [Jprogramming] crash |Message-ID: <2a3f7067-4c0e-492f-9551-9ee92adb9...@tiscali.co.uk> |Content-Type: text/plain;    charset=utf-8 | |Your method looks classy!  No idea what’s wrong. | |FWIW,  I took the initial grid, adding enough

Re: [Jprogramming] crash

2020-12-20 Thread Henry Rich
Fixed.  May or may not be in next beta. The problem was that u@.m, which should be a domain error, crashed sometimes.  You got there because you used an undefined name which was interpreted as a verb. Henry Rich On 12/20/2020 11:27 AM, David Lambert wrote: free invalid pointer I haven't t

Re: [Jprogramming] crash

2020-12-20 Thread 'Mike Day' via Programming
Your method looks classy! No idea what’s wrong. FWIW, I took the initial grid, adding enough empty planes so that no edge planes could be occupied in the required number of generations, set up a 26 * 3 array of offsets, 111,110,101,... , -101, -110, -111, (omitting spaces) and then rave

Re: [Jprogramming] crash

2020-03-26 Thread rsykora
> Can you also try turning off antivirus? I do not run anything other than Windows 10 defender. I turned even that off to no avail. No change. Thanks Ruda -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] crash

2020-03-25 Thread Henry Rich
The Right People are looking into it.  It crashes after the dialog box is dismissed and execution returns to JQt, or perhaps later when JE goes for the next sentence. Henry Rich On 3/25/2020 3:56 PM, Raul Miller wrote: Is it related to Qt version and/or compiler options used to build Qt? Tha

Re: [Jprogramming] crash

2020-03-25 Thread Raul Miller
Is it related to Qt version and/or compiler options used to build Qt? Thanks, -- Raul On Tue, Mar 24, 2020 at 7:26 PM Henry Rich wrote: > > We are wondering why it crashes J on some systems. > > Henry Rich > > On 3/24/2020 6:51 PM, Devon McCormick wrote: > > Sorry - typo. Last line of J shoul

Re: [Jprogramming] crash

2020-03-25 Thread Henry Rich
I have more information. plot puts up the dialog in qt_paintit:   info ({.~i.&LF) 13!:12'' and then exits after the user presses OK.  The crash happens after that, so it's either back in JQt or in the JE on the next sentence. hhr On 3/25/2020 7:19 AM, bill lam wrote: I have tested on win10

Re: [Jprogramming] crash

2020-03-25 Thread bill lam
I have tested on win10 similar to your configuration but no crash. Can you also try turning off antivirus? On Wed, Mar 25, 2020, 5:09 AM Rudolf Sykora wrote: > Dear Henry, > > > Henry Rich writes: > > > > I did look into it a little, and you could do the same. This is what I > > did (in JQt)

Re: [Jprogramming] crash

2020-03-24 Thread Henry Rich
We are wondering why it crashes J on some systems. Henry Rich On 3/24/2020 6:51 PM, Devon McCormick wrote: Sorry - typo. Last line of J should have been 13!:0]0 NB. turn off debugging On Tue, Mar 24, 2020 at 5:38 PM Devon McCormick wrote: Hi - I did this: load 'plot'

Re: [Jprogramming] crash

2020-03-24 Thread Devon McCormick
Sorry - typo. Last line of J should have been 13!:0]0 NB. turn off debugging On Tue, Mar 24, 2020 at 5:38 PM Devon McCormick wrote: > Hi - I did this: >load 'plot' >13!:0]1 NB. Enable debugging >plot 1 2;3 4 5 > |length error: getgrafmat > | ,"2(getgrafx x

Re: [Jprogramming] crash

2020-03-24 Thread Devon McCormick
Hi - I did this: load 'plot' 13!:0]1 NB. Enable debugging plot 1 2;3 4 5 |length error: getgrafmat | ,"2(getgrafx x),."1 citemize getgrafy y |getgrafmat[1] y 3 4 5 x 1 2 13!:0]10 NB. turn off debugging So, this is a legitimate error caused by the b

Re: [Jprogramming] crash

2020-03-24 Thread Rudolf Sykora
Dear Henry, Henry Rich writes: > > I did look into it a little, and you could do the same. This is what I > did (in JQt): > > plot 1 2 ; 3 4 5 > crash - before the crash a dialog about length error in getgrafmat. > Indeed, the arguments have incorrect length. > load 'plot' > open

Re: [Jprogramming] crash

2020-03-24 Thread Henry Rich
When I ran this, I got a crash.  But I know I am running a mongrel system, with old JQt and unreleased JE.  Since others report no error, perhaps that's our problem?  You could try making sure your JQt is up to date. I did look into it a little, and you could do the same.  This is what I did

Re: [Jprogramming] crash

2020-03-24 Thread Rudolf Sykora
bill lam writes: > You seemed also got the error box for some invalid input, but then it > crashed after 2 seconds. This is weird I don't know why. Is there anything I can do to diagnose the issue? Ie., run the command like plot 1 2 ; 3 4 5 expecting that it is going to fail, but put some

Re: [Jprogramming] crash

2020-03-23 Thread 'Michael Day' via Programming
Yes - it fails gracefully in JQt 807,  and it also fails in a reasonable fashion in the older J701 on the iPad; I attempted to give an idea of J's error-handling in each version. (12.4.5 is the version level of iPad's iOS operating system.) I didn't try it in my own installation of 901,  assumin

Re: [Jprogramming] crash

2020-03-23 Thread bill lam
on j901 Linux, I can also get the error box, but no crash. You seemed also got the error box for some invalid input, but then it crashed after 2 seconds. This is weird I don't know why. On Mon, Mar 23, 2020, 6:51 PM Rudolf Sykora wrote: > > 'Michael Day' via Programming writes: > > > It's OK -

Re: [Jprogramming] crash

2020-03-23 Thread Rudolf Sykora
'Michael Day' via Programming writes: > It's OK - well, fails gracefully - in JQt 807 under Windows 10. > ... > while on my iPad, iOS 12.4.5, (typing what I see there) Do you mean that jqt807 on Win10 does not crash, while a newer J crashes on your iPad? I noticed more crashes in the past

Re: [Jprogramming] crash

2020-03-22 Thread Don Kelly
Thanks, now i know the sense of this. I have an old printout of plot which gives  xlog n  but not ylog. and there it  apparently is used with pd.   I get the straight line  with a logarithmic scale on the y axis but the x axis is strange. Don Optional left arguments specify various characteri

Re: [Jprogramming] crash

2020-03-22 Thread 'Michael Day' via Programming
Optional left arguments specify various characteristics the user requires,  but I can never remember them,  and typically run the plot lap and crib the scripts accompanying the various samplers. Evidently,   'ylog 1' plot 1 2 4 shows a straight line through (0,log 1) (1, log2)  (2, log4) wherea

Re: [Jprogramming] crash

2020-03-22 Thread Don Kelly
what is ylog ?   'ylog 1' appears to be in the same class as 'hello world' On 2020-03-22 4:14 p.m., 'Michael Day' via Programming wrote: You probably know this,  but anyway: It's OK - well,  fails gracefully - in JQt 807 under Windows 10. the plot window opens,  but with an error box saying:

Re: [Jprogramming] crash

2020-03-22 Thread 'Michael Day' via Programming
You probably know this,  but anyway: It's OK - well,  fails gracefully - in JQt 807 under Windows 10. the plot window opens,  but with an error box saying: [  J Plot   X ]      [ (I) |NaN error: gettplog    ] [   [ OK ]    ] while on my iPad,  iOS 12.4

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-30 Thread Jose Mario Quintana
It certainly looks very interesting, at least to me, and I am sure I will enjoy tacitizing the whole thing (cheating if necessary ;) ). Thanks a lot; I really appreciate it. Incidentally, I wrote: "How about TREE(3)? I have no idea, maybe it is really huge and would require an enormous large am

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-26 Thread Arie Groeneveld
I was able to reproduce, not without some difficulties, the first couple of tables in that page following a pedestrian approach; but apparently there is a (theoretical based?) shortcut to define the gs function (see https://tromp.github.io/pearls.html ). Maybe, one of the Haskell literate memb

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-21 Thread Jose Mario Quintana
Dan wrote: " I'm aware of the book but I haven't read it; I am familiar with chained arrow notation. Even bigger than chained arrow notation is the number TREE(3), which is so ineffably large that humans have been literally unable to invent a notation to express it. Seriously. " Well, you just de

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-21 Thread Mike Day
Ok Pepe - getting off topic, I know, but I'd just been solving a Listener Crossword (no 4373) which happens to be a numerical one, and I happened to have used uppercase A B C etc to represent the entries, which, funnily enough are labelled A B C ... ! Hadn't thought of clearing the decks. I'

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-21 Thread Jose Mario Quintana
Mike (you can call me Pepe as well), The relevant test is, < o train"0 (0&{)`(1&{)`(2&{) ┌───┬───┬───┐ │0&{│1&{│2&{│ └───┴───┴───┘ That is, this sentence produces (illegally :) ) a noun made of boxed verbs. My guess is that you had predefined N, A or B as a noun(s). Try running the script

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-21 Thread Mike Day
Oops^2 !? I copied Jose's code (further below) to my temporary script looking at this topic. Loading the script failed as shown. Not my style of programming, so I don't see what's wrong in this extract the session: (sorry, but line feeds will probably double...) JVERSION Engine: j804/

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-20 Thread Jose Mario Quintana
Ups! I meant to run the script on an official version but I ended up using a Jx interpreter. Anyway, it runs on an official J interpreter: JVERSION Installer: j602a_win.exe Engine: j803/2014-10-19-11:11:11 Library: 6.02.023 o=. @: K=. <;:'&*' U=. <(<,'&'),<<(":0);1 ku=. K , U ($

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-20 Thread Jose Mario Quintana
This is a verb for performing hyper operations: JVERSION Engine: j701/2012-12-06/12:20/x Library: 8.03.14 Qt IDE: 1.3.1/5.3.2 Platform: Win 64 Installer: J803 install InstallPath: f:/j64-803 o=. @: K=. <;:'&*' U=. <(<,'&'),<<(":0);1 ku=. K , U ($~) 2 -~ ] train=. (<'`:')(0:`)(,^:)&6

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-20 Thread Dan Bron
Pascal wrote: > no crash though j802 win64 Brian Schott wrote [offline]: > I do not get a crash. > JVERSION > Engine: j803/2014-10-19-11:11:11 > Library: 8.04.13 > Platform: Darwin 64 Hmm, I should have been more thoughtful and careful about my bug report. I got it in J8-64 on OSX. I don't have

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-20 Thread Jose Mario Quintana
Dan, Check out the message: http://www.jsoftware.com/pipermail/programming/2015-February/041095.html for one easy way to play with Knuth's up arrow notation in J. From there it should be easy to code an alternative version of your adverb H. I never bother to do so because there are just a few n

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-20 Thread R.E. Boss
Perhaps you are not aware of The Book of Numbers by Conway & Guy, where on page 60 Knuth's arrow notation was described: m^n = m*m*...*m, n times m^^n=m^m^...^m, n times m^^^n=m^^m^^m^^...^^m, n times etc. Just your "hyper operation". But if you think this notation produces large numbers, try

Re: [Jprogramming] Crash calculating large hyper operations

2015-11-19 Thread 'Pascal Jasmin' via Programming
> 2 tetration 3 is some absurdly large number and I wouldn’t expect a result I thought 2 (4 H) 3 should be 2^16 but I get 2 (4 H) 3 16 no crash though j802 win64 From: Dan Bron To: J Programming Sent: Thursday, November 19, 2015 3:51 PM Subject: [Jpr