Oops...

I wrote that f9 is a fork.

It is not. Ot is a train, of course, but it is a hook.

Someone should perhaps have corrected me on this.

Thanks,

-- 
Raul

On Tue, Jun 15, 2021 at 6:04 AM Raul Miller <[email protected]> wrote:

> It's probably worth noting that f9 is a fork and that the expression
> that triggered the error was equivalent to
>
>    x9=: 1e6 ?@$ 2e9
>    y9=: 1e5 ?@$ 2e9
>    y9 x9&i. ; y9
>
> And, this is a request to evaluate an i. expression successively
> probably billions of times.
>
> There may be an issue here with windows and/or memory management, but
> for most purposes I think that
> https://www.jsoftware.com/docs/archive/release/midot.htm should be
> used (which defines f9=: x9&i.) instead of
>
> https://web.archive.org/web/20150103031253/http://www.jsoftware.com/help/release/midot.htm
> (which defines f9=: x9&i. ; but gives timing information indicating
> that that was not the definition actually being used).
>
> Thanks,
>
> --
> Raul
>
> On Tue, Jun 15, 2021 at 2:14 AM Ric Sherlock <[email protected]> wrote:
> >
> > Cross posting to the beta forum where we should continue the discussion.
> >
> > I can't reproduce the error shown in J9.03 (linux jconsole) or J9.02
> > linux/windows jconsole/jqtide
> >
> >    x9=: 1e6 ?@$ 2e9
> >    y9=: 1e5 ?@$ 2e9
> >    f9=: x9&i.;
> >    type 'f9'
> > +----+
> > |verb|
> > +----+
> >    JVERSION
> > Engine: j903/j64avx2/linux
> > Beta-k: commercial/2021-05-30T16:05:35
> > Library: 9.03.05
> > Platform: Linux 64
> > Installer: J903 install
> > InstallPath: /opt/j/j903
> > Contact: www.jsoftware.com
> >
> > On Tue, Jun 15, 2021 at 4:53 AM Lorenz Köhl <[email protected]>
> wrote:
> >
> > > I was running the some examples from
> > >
> > >
> > >
> > >
> https://web.archive.org/web/20150103031253/http://www.jsoftware.com/help/release/midot.htm
> > >
> > >
> > > x9=: 1e6 ?@$ 2e9
> > >
> > > y9=: 1e5 ?@$ 2e9
> > >
> > > f9=: x9&i.;
> > >
> > >
> > > |out of memory: f9
> > >
> > > | f9 y9
> > >
> > >
> > > The process does not show a spike in memory allocated in task manager.
> > >
> > > Maybe this is related? I do have enough memory.
> > >
> > > Same error in 9.02
> > >
> > >
> > > JVERSION
> > >
> > > Engine: j903/j64avx2/windows
> > >
> > > Beta-k: commercial/2021-05-30T16:16:44
> > >
> > > Library: 9.03.05
> > >
> > > Qt IDE: 1.9.2/5.15.2(5.15.2)
> > >
> > > Platform: Win 64
> > >
> > >
> > >
> > > On Wed, May 12, 2021 at 6:11 AM Henry Rich <[email protected]>
> wrote:
> > >
> > > > I can reproduce this.  But I am in the middle of a massive change to
> the
> > > > code, so it will be a while before I fix it.
> > > >
> > > > Henry Rich
> > > >
> > > > On 5/11/2021 11:58 PM, Julian Fondren wrote:
> > > > > I get the same error as David Lambert with an undefined a
> > > > >
> > > > >     names''
> > > > >
> > > > >     a
> > > > > |value error: a
> > > > >
> > > > >     a : 0
> > > > > |out of memory
> > > > > |   a     :0
> > > > >
> > > > >     1e100 $ 'a'
> > > > > |domain error
> > > > > |   1e100    $'a'
> > > > >
> > > > > is it possible that the error messages are swapped?
> > > > >
> > > > >     JVERSION
> > > > > Engine: j903/j64avx2/linux
> > > > > Beta-i: commercial/2021-04-30T12:06:24
> > > > > Library: 9.03.03
> > > > > Platform: Linux 64
> > > > > Installer: J903 install
> > > > >
> > > > >     (9!:8'') i. 'domain error';'out of memory'
> > > > > 2 21
> > > > >
> > > > >     1e100$'a'
> > > > > |domain error
> > > > > |   1e100    $'a'
> > > > >     13!:11''
> > > > > 3
> > > > >
> > > > >     a : 0
> > > > > |out of memory
> > > > > |   a     :0
> > > > >     13!:11''
> > > > > 22
> > > > >
> > > > >
> > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > > > > On Tuesday, May 11, 2021 10:51 PM, Henry Rich <
> [email protected]>
> > > > wrote:
> > > > >
> > > > >> u v x y m n are arguments, and they are special in that they are
> > > always
> > > > >> stacked by value, not by name. That's why Joey gets the results he
> > > does:
> > > > >> u : 0 requires u to exist, and thus gives value error; while a : 0
> > > > >> treats a as an undefined name, and proceeds to evaluate
> (undefverb :
> > > > >> noun) which is a domain error because (verb : noun) is illegal.
> > > > >>
> > > > >> The question is, What was David Lambert's a?
> > > > >>
> > > > >> Henry Rich
> > > > >>
> > > > >> On 5/11/2021 11:27 PM, Joey K Tuttle wrote:
> > > > >>
> > > > >>>        u :0
> > > > >>>
> > > > >>>
> > > > >>> |value error
> > > > >>> | u :0
> > > > >>>
> > > > >>>      a :0
> > > > >>>
> > > > >>>
> > > > >>> |domain error
> > > > >>> | a :0
> > > > >>>
> > > > >>>      JVERSION
> > > > >>>
> > > > >>>
> > > > >>> Engine: j903/j64avx2/darwin
> > > > >>> Beta-i: commercial/2021-04-30T12:15:29
> > > > >>> Library: 9.03.03
> > > > >>> Platform: Darwin 64
> > > > >>> Installer: J903 install
> > > > >>> InstallPath: /applications/j903
> > > > >>> Contact: www.jsoftware.com
> > > > >>>
> > > > >>>> On 2021May 11, at 18:56, David Lambert [email protected]
> wrote:
> > > > >>>>
> > > > >>>>      u :0
> > > > >>>>
> > > > >>>>
> > > > >>>> |value error
> > > > >>>> | u :0
> > > > >>>>
> > > > >>>>      a :0
> > > > >>>>
> > > > >>>>
> > > > >>>> |out of memory
> > > > >>>> | a :0
> > > > >>>>
> > > > >>>>      JVERSION
> > > > >>>>
> > > > >>>>
> > > > >>>> Engine: j903/j64avx2/linux
> > > > >>>> Beta-i: commercial/2021-04-30T12:06:24
> > > > >>>> Library: 9.03.03
> > > > >>>> Platform: Linux 64
> > > > >>>> Installer: J903 install
> > > > >>>> InstallPath: /home/lambertdw/downloads/installs/j903
> > > > >>>> Contact: www.jsoftware.com
> > > > >>>>
> > > > >>>>      NB. discovered with poor spelling conjuction
> > > > >>>>
> > > > >>>>
> > > > >>>> For information about J forums see
> > > > http://www.jsoftware.com/forums.htm
> > > > >>> 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
> > > >
> > > >
> > > > --
> > > > 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

Reply via email to