Re: [Jgeneral] Timing subtleties WAS: Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread Ian Clark
Thanks Henry. Those hints will aid my redesign/replacement of the Zulu addon. Ian On Tue, 31 May 2022 at 13:33, Henry Rich wrote: > 1. An x argument to timex will give the average over x tries. > > 2. If z is short, you are mostly timing the execution of the adverbs and > conjunctions that make

Re: [Jgeneral] Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread Ian Clark
Thanks, Raul. As Raul hints, /System/Applications/Utilities/System Information.app is normally launched by clicking the button: "System Report…" in "About This Mac". I already had this app residing in my Dock. Its display is dense, but the Hardware overview tab is brief enough, and shows the follo

[Jgeneral] Report on the J wiki meeting of May 26, 2022

2022-05-31 Thread 'robert therriault' via General
==Report on the J wiki meeting of May 26, 2022== Present: Art Anger, Raul Miller, Bob Therriault 1) The functionality of the J Playground is increasing and this allows it to be used in a wider range of situations within the wiki, especially with the inclusion of add-ons available through the i

Re: [Jgeneral] Timing subtleties WAS: Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread 'Pascal Jasmin' via General
oops sorry.  eval_z_ =: 1 : ' a: 1 : m' unwords =: (;: b. _1) eval unwords '3';'a' 3 a On Tuesday, May 31, 2022, 11:15:45 a.m. EDT, Henry Rich wrote: your unwords is a noun and would need to be interpreted. All I am saying here is that there is a tiny interpretive overhead to ex

Re: [Jgeneral] Timing subtleties WAS: Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread Henry Rich
your unwords is a noun and would need to be interpreted. All I am saying here is that there is a tiny interpretive overhead to executing   ;: inv Almost always, that doesn't matter.  If you are trying to answer the question 'what is the fastest way to perform ;:^:_1 on small arguments?' you

Re: [Jgeneral] Timing subtleties WAS: Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread Don Guinn
Well, I thought that if it was effectively the same as inv defined as ^:_1 except faster then why not change the definition? But I got an error trying it. On Tue, May 31, 2022 at 8:57 AM 'Pascal Jasmin' via General < gene...@jsoftware.com> wrote: > inv NB. already defined. > > ^:(_1) NB. ^: inst

Re: [Jgeneral] Timing subtleties WAS: Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread 'Pascal Jasmin' via General
inv NB. already defined. ^:(_1)  NB. ^: instead of ^. unwords =: ;: b. _1  NB. not sure if Henry saying this is more efficient. than (;: inv) unwords }:@;@(,&' '&.>"1) :.;: On Tuesday, May 31, 2022, 10:45:38 a.m. EDT, Don Guinn wrote: Really interesting. So, I thought that maybe

Re: [Jgeneral] Timing subtleties WAS: Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread Don Guinn
Really interesting. So, I thought that maybe inv could be redefined as (;:^._1). But all I get is: inv_z_=.(;:^._1) |domain error | inv_z_=.( ;:^._1) t=:*(;:^._1) |domain error | t=:*( ;:^._1) (;:^._1) |domain error | ( ;:^._1) --

[Jgeneral] Timing subtleties WAS: Addon 'format/zulu' crashes j904 Beta-d

2022-05-31 Thread Henry Rich
1. An x argument to timex will give the average over x tries. 2. If z is short, you are mostly timing the execution of the adverbs and conjunctions that make up the definition of the verb. For example, when you write    ;: inv the system looks up inv as ^:_1 and then executes ;:^:_1 .  That