Re: [Jprogramming] tgsjo: A turtle graphics system using "modern" openGL

2021-05-19 Thread Devon McCormick
I tried it again more carefully and it seems to work. Thanks! On Wed, May 19, 2021 at 9:30 PM Brian Schott wrote: > Devon, > > You must create a turtle before you try to > turn it with a yaw, for example. > > I think you issued the *yaw* command before > you issued the *createTurtle* command. >

Re: [Jprogramming] tgsjo: A turtle graphics system using "modern" openGL

2021-05-19 Thread Brian Schott
Devon, You must create a turtle before you try to turn it with a yaw, for example. I think you issued the *yaw* command before you issued the *createTurtle* command. If not, let me know. -- (B=) -- For information about J fo

Re: [Jprogramming] tgsjo: A turtle graphics system using "modern" openGL

2021-05-19 Thread Devon McCormick
Hi Brian - this looks interesting. However, I quickly get an error: yaw 90 180 270 caught error in sys_timer_z_ |domain error: chkgl2 | gl_paint'' createTurtle 6 6 0,10 0 0,:0 _10 0 NB. notice:0 1 2 result |domain error: chkgl2 | gl_paint'' dbr 0 dbr 13!:0 dbr 1 yaw 90 180 270 caught

Re: [Jprogramming] Where should this be added in NUVOC? it took some time to find it.

2021-05-19 Thread Ian Clark
I stand corrected. On two counts: 1. Hauke wrote: > Sometimes a depiction tells more than a thousand example stories simple though they may be… I'm happy to include depictions, if you're smart enough to devise them. Plus references to, or quotations from, past forum postings, e.g. links to piper

[Jprogramming] tgsjo: A turtle graphics system using "modern" openGL

2021-05-19 Thread Brian Schott
tgsjo is a script for jQt patterned after the graphical aspects of the Logo programming language. Turtles exist in a 3d environment projected onto a 2d canvas. tgsjo is available at https://github.com/zerowords/tgsjo . However that link is not needed because the following command in jconsole or jq

Re: [Jprogramming] Where should this be added in NUVOC? it took some time to find it.

2021-05-19 Thread Hauke Rehr
Sometimes a depiction tells more than a thousand example stories simple though they may be. That’s why I made those representations. Maybe they’re of use to anyone trying to build that ancillary page. should be attached (renamed) feel free to give me feedback on what might need improvement/refinem

Re: [Jprogramming] Where should this be added in NUVOC? it took some time to find it.

2021-05-19 Thread Ian Clark
From the pov of a beginner (I am a career beginner where coding is concerned)… The NuVoc format works well with verbs, less well with adverbs, but is rotten with conjunctions. Since its conjuctions are J's major gift to the world, this is a serious deficiency. I only know palliatives. One palliat

Re: [Jprogramming] Where should this be added in NUVOC? it took some time to find it.

2021-05-19 Thread Henry Rich
Please fix typos when you find them.  It's a wiki. Henry Rich On 5/19/2021 11:32 AM, greg heil wrote: Henry wow great i did not know of this upgrade of apply capabilities for J! AFAICT the last line of the detail has two typos ~greg heil https//picsrp.github.io -- from: Henry Rich to: pro

Re: [Jprogramming] Where should this be added in NUVOC? it took some time to find it.

2021-05-19 Thread greg heil
Henry wow great i did not know of this upgrade of apply capabilities for J! AFAICT the last line of the detail has two typos ~greg heil https//picsrp.github.io -- from: Henry Rich to: programm...@jsoftware.com date: May 19, 2021, 7:39 AM subject: Re: [Jprogramming] Where should this be added

Re: [Jprogramming] Where should this be added in NUVOC? it took some time to find it.

2021-05-19 Thread Henry Rich
There were some words in Details 1 of https://code.jsoftware.com/wiki/Vocabulary/quote ; also buried at the end of the first paragraph of that page.  I have added a bit there to make it stand out more. The real question is How would a programmer answer the question, "How do I apply a differen

[Jprogramming] Where should this be added in NUVOC? it took some time to find it.

2021-05-19 Thread R.E. Boss
J901 beta-k Language addition: gerund"r: the left operand of m"v can now be a cyclic gerund, giving a sequence of verbs to be applied to corresponding cells of the arguments. At long last you can apply a different verb to each cell of a noun. For compatibility with the older uses of m"n, the ge

Re: [Jprogramming] histogram in stats/base

2021-05-19 Thread Raul Miller
Yes.. I should have been reading the updated code, rather than the commits. It's been too long since I did anything serious with github. Sorry about the noise. Thanks, -- Raul On Wed, May 19, 2021 at 6:12 AM Ric Sherlock wrote: > > Hi Raul, > The pull request is named "Update histogram to co

Re: [Jprogramming] histogram in stats/base

2021-05-19 Thread Ric Sherlock
Hi Raul, The pull request is named "Update histogram to correctly count items in last bin" and links to Issue #4 ( https://github.com/jsoftware/stats_base/issues/4) that was filed in the repository called "histogram doesn't count all the data". That mentions the problems to be addressed and also li

Re: [Jprogramming] histogram in stats/base

2021-05-19 Thread Raul Miller
Details would be nice in the commit message. "corrected" doesn't really explain the issue. But I guess that's just a suggestion for later. Looking at the implementation itself, I don't remember what situation the 'NB. The number of points in the last interval is undercounted by 1' is good for. I

Re: [Jprogramming] Benchmarks

2021-05-19 Thread Raul Miller
deriv_jcalculus_ does symbolic differentiation on tacit expressions. For example: load'math/calculus' (3+*:) deriv_jcalculus_ 1 0"0 + +: 3 0 1&p. deriv_jcalculus_ 1 0 2&p. (3+*:) deriv_jcalculus_ 1 i. 5 0 2 4 6 8 3 0 1&p. deriv_jcalculus_ 1 i. 5 0 2 4 6 8 (The right argument to der

Re: [Jprogramming] Benchmarks

2021-05-19 Thread Thomas McGuire
Thanks Raul, I added your ‘tail' implementation to the code and it works without issue. The KJV text is listed in reverse line order in the output file. benchmarks '' sumloop: 0.227858 8.39149e6 sumj: 0.000171 1.04986e6 ack: 2e_6 721472 array1: 5.6e_5 1.05107e6 array1t: 4.8e_5 1.05107e6 stri

Re: [Jprogramming] histogram in stats/base

2021-05-19 Thread Ric Sherlock
I've made some changes to stats/base in this Pull request https://github.com/jsoftware/stats_base/pull/5 Any suggestions/objections? Changes are basically: * the current version of histogram is replaced with histogram2 (also called histogramL) * histogram1 is added as histogramR * added Idotr