Re: [Jprogramming] OpenGL

2020-02-27 Thread bill lam
Kernel means the program running inside GPU, which is the c source stored inside nouns vsrc and fsrc. Fri, 28 Feb 2020, Thomas McGuire написал(а): > Not sure I know what you mean but I’m using 807 on a MacBook Pro with just > the full Jqt install. > > > On Feb 27, 2020, at 9:28 PM, bill lam wr

Re: [Jprogramming] OpenGL

2020-02-27 Thread Thomas McGuire
Not sure I know what you mean but I’m using 807 on a MacBook Pro with just the full Jqt install. > On Feb 27, 2020, at 9:28 PM, bill lam wrote: > > Did kernels need any modification? > > Thu, 27 Feb 2020, Thomas McGuire написал(а): >> It took me a while to understand this a little bit. But the

Re: [Jprogramming] Performance monitor missing "viewtotal_jpm_"?

2020-02-27 Thread bill lam
When starting PM, it set a buffer to hold performance stat data with a default size. When test take very long, data area overflow and result is rubbish. You can set a larger buffer (see 6!:10), but my experience was that it didn't work well. Fri, 28 Feb 2020, Devon McCormick написал(а): > I am

Re: [Jprogramming] Performance monitor missing "viewtotal_jpm_"?

2020-02-27 Thread Devon McCormick
I am confused by the output of jpm because I just ran something that took 48 seconds but the detail report of the top-level function shows a total time of about 70 seconds. How can this be? Am I mis-interpreting the numbers? For example: 6!:2 '''FLNMS FLDTS FLSZS FLPARENT DIRNMS DIRDEP''=. Pll

Re: [Jprogramming] modifiers

2020-02-27 Thread 'Pascal Jasmin' via Programming
Henry reported (I think/thought) fixing this display (lr) bug within the j9 cycle. Though that lr bug caused the problems with f. that we both have noted in the past. There are 2 separate display bugs with "partial gerunds" (bound adverb with `) ((<(,'0');3)`)  NB. not equivalent to displayed

Re: [Jprogramming] modifiers

2020-02-27 Thread Jose Mario Quintana
> Seems I found a bug The question is: Is the long-standing ability of (`:6), and @., to handle arrays of atomic representations (and similar), a bug or a feature? Dan mentioned a decade ago, No subject [!] http://www.jsoftware.com/pipermail/general/2009-April/033220.html (Unfortunatel

Re: [Jprogramming] modifiers

2020-02-27 Thread 'Pascal Jasmin' via Programming
the bug is the display of   ((3 ar)`) (`(5 ar))(`:6) ((3`)(`5))(`:6) ((3 ar)`) (`(5 ar)) (3`)(`5) where, ar =: 1 : '5!:1 <''u''' The displayed code result is not a valid executable equivalence to the expression that created it.  This appears to be a display only bug, as the code works inte

Re: [Jprogramming] Performance monitor missing "viewtotal_jpm_"?

2020-02-27 Thread bill lam
I checked the viewtotal required the grid addon which had been decommitted. Thu, 27 Feb 2020, Devon McCormick написал(а): > Hi - I'm following the Performance Monitor documentation but I get a value > error when I try to invoke "viewtotal_jpm_". Does anyone know why? > > The example output show

Re: [Jprogramming] OpenGL

2020-02-27 Thread bill lam
Did kernels need any modification? Thu, 27 Feb 2020, Thomas McGuire написал(а): > It took me a while to understand this a little bit. But the shader can render > any number of objects you just need to set up the data and tell the shader to > paint the object. To create 2 cubes I had to modify th

Re: [Jprogramming] modifiers

2020-02-27 Thread Henry Rich
I also don't understand what it is alleged is an error. Henry Rich On 2/27/2020 9:06 PM, Julian Fondren wrote: On 2020-02-27 19:38, 'Pascal Jasmin' via Programming wrote: gerunds are lists of atomic representations?  (yes,ok, that is a noun) A more basic description of the problem. What is

Re: [Jprogramming] modifiers

2020-02-27 Thread Julian Fondren
On 2020-02-27 19:38, 'Pascal Jasmin' via Programming wrote: gerunds are lists of atomic representations?  (yes,ok, that is a noun) A more basic description of the problem. What is the problem though? Is 'modifiers' still a valid subject for this thread? Even reading your last message, or the t

Re: [Jprogramming] OpenGL

2020-02-27 Thread Thomas McGuire
It took me a while to understand this a little bit. But the shader can render any number of objects you just need to set up the data and tell the shader to paint the object. To create 2 cubes I had to modify the a_g_initialize function and the a_g_paint function. I have placed comments in the co

Re: [Jprogramming] modifiers

2020-02-27 Thread 'Pascal Jasmin' via Programming
gerunds are lists of atomic representations?  (yes,ok, that is a noun) A more basic description of the problem.  Both of these expressions are illegal 3`+ 3`+`5 when 2 nouns are joined with "`", ` acts as the verb ",". I guess the usefulness of that behaviour is that a "conjunction train of `"

Re: [Jprogramming] Performance monitor missing "viewtotal_jpm_"?

2020-02-27 Thread Devon McCormick
Thanks - that worked. I fixed the page. On Thu, Feb 27, 2020 at 6:22 PM Henry Rich wrote: > I think viewtotal and viewdetail have been gone for a long time. Use > showtotal and showdetail. > > Henry Rich > > On 2/27/2020 5:22 PM, Devon McCormick wrote: > > Hi - I'm following the Performance Mo

Re: [Jprogramming] Performance monitor missing "viewtotal_jpm_"?

2020-02-27 Thread Henry Rich
I think viewtotal and viewdetail have been gone for a long time.  Use showtotal and showdetail. Henry Rich On 2/27/2020 5:22 PM, Devon McCormick wrote: Hi - I'm following the Performance Monitor documentation but I get a value error when I try to invoke "viewtotal_jpm_". Does anyone know why?

[Jprogramming] Performance monitor missing "viewtotal_jpm_"?

2020-02-27 Thread Devon McCormick
Hi - I'm following the Performance Monitor documentation but I get a value error when I try to invoke "viewtotal_jpm_". Does anyone know why? The example output shows what look like graphical windows so I'm wondering if I have to run this under Qt. Thanks, Devon -- Devon McCormick, CFA Quanti

Re: [Jprogramming] modifiers

2020-02-27 Thread Raul Miller
The documentation on various results of the !: conjunction is linked from the "foreigns" label near the top of the vocabulary page. The 5!: foreigns are documented at https://www.jsoftware.com/help/dictionary/dx005.htm I hope this helps, -- Raul On Thu, Feb 27, 2020 at 5:03 PM Hauke Rehr wrot

Re: [Jprogramming] modifiers

2020-02-27 Thread 'robert therriault' via Programming
Hauke, I would not worry too much about being accused of rtfm 0) it seems to me that you are studying this seriously and that is all that can be expected of anyone. 1) this is often how we find the areas that can be improved in the manual. 2) it looks like Pascal may have found an aberration bec

Re: [Jprogramming] modifiers

2020-02-27 Thread Hauke Rehr
I read it in the Vocabulary (pages of the Dictionary linked to from the Vocabulary, that is), not in NuVoc. (at least not thoroughly, I remember having had a glance) That and all your answers I’ll have to think about. Thanks for taking my request seriously. I feel like I’ve got way too little expe

Re: [Jprogramming] modifiers

2020-02-27 Thread Raul Miller
gerund are nouns. Thanks, -- Raul On Thu, Feb 27, 2020 at 12:51 PM 'Pascal Jasmin' via Programming wrote: > > Seems I found a bug, though the following approach still works, and has the > best performance > > ar =: 1 : '5!:1 <''u''' > > the bug is: > > ((3 ar)`) (`(5 ar)) (`:6) > > ((3`)(`5)

Re: [Jprogramming] modifiers

2020-02-27 Thread Henry Rich
The description of : in NuVoc gives the most detail I know of. Have you read it? Henry Rich On 2/26/2020 6:20 PM, Hauke Rehr wrote: Hello again, I’m still confused about modifiers. Please tell me where to find more information that might aid in understanding how this works: I have an adverb

Re: [Jprogramming] modifiers

2020-02-27 Thread 'Pascal Jasmin' via Programming
Seems I found a bug, though the following approach still works, and has the best performance ar =: 1 : '5!:1 <''u''' the bug is:  ((3 ar)`) (`(5 ar)) (`:6) ((3`)(`5))(`:6)  NB. not valid gerunds, though magically the following still works + ((3 ar)`) (`(5 ar)) (`:6)  8 +  A=: (((3 ar)`) (`(

Re: [Jprogramming] modifiers

2020-02-27 Thread Raul Miller
Or, more robust: C=:2 :0 mRep=. 5!:5<'m' mVn=. m V n mVnRep=. 5!:5<'mVn' 1 :('(',mRep,') u~ ',mVnRep) ) Example use: V=:+ ,. 10 C (i.2 3) 10 11 12 10 13 14 15 10 (The issue here is that 5!:5 is better than ": when serializing nouns for use in sentences.) Perhaps even better, thou

Re: [Jprogramming] modifiers

2020-02-27 Thread 'Pascal Jasmin' via Programming
C =: 2 : 0 1 : ((": m) , ' u~ ' , ": m V n) ) On Thursday, February 27, 2020, 03:04:57 a.m. EST, Hauke Rehr wrote: What I want is rather something (C here) callable like noun1 C noun2 resulting in the adverb noun1 u~ What you say I knew except if the evaluation rules changed in j9 a

Re: [Jprogramming] modifiers

2020-02-27 Thread Hauke Rehr
What I want is rather something (C here) callable like noun1 C noun2 resulting in the adverb noun1 u~ What you say I knew except if the evaluation rules changed in j9 and this is new bahaviour. That said, I got rid of my nested 1 :/2 : construct (I didn’t mention that yet) and tried replacing m