Re: [Jprogramming] J Playground neural network demo

2022-07-14 Thread Jan-Pieter Jacobs
Hi Joe, Thanks for the fix! For future reference, I found some guidance on the suggested way of collaborating via GitHub: https://opensource.guide/how-to-contribute/#how-to-submit-a-contribution and https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncin

Re: [Jprogramming] J Playground neural network demo

2022-07-13 Thread Joe Bogner
On Tue, Jul 12, 2022 at 3:23 PM Jan-Pieter Jacobs < janpieter.jac...@gmail.com> wrote: > Hi Joe, > > Apparently I indeed made a mistake in the NN example, I didn't duplicated > the \ for on lines 317 and 339 of examples.js. This causes the intended \ > to disappear in the editor and the example no

Re: [Jprogramming] J Playground neural network demo

2022-07-12 Thread Raul Miller
On Tue, Jul 12, 2022 at 3:23 PM Jan-Pieter Jacobs wrote: > A pull-request for 2 characters seemed a bit heavy handed, so I report it > here, hoping you could fix it when you see fit. Web work is often non-intuitive. (Or, I suspect that a pull request would have been fine, here.) > To avoid pushi

Re: [Jprogramming] J Playground neural network demo

2022-07-12 Thread Jan-Pieter Jacobs
Hi Joe, Apparently I indeed made a mistake in the NN example, I didn't duplicated the \ for on lines 317 and 339 of examples.js. This causes the intended \ to disappear in the editor and the example not to work, sorry for the mess. A pull-request for 2 characters seemed a bit heavy handed, so I re

Re: [Jprogramming] J Playground neural network demo

2022-07-06 Thread Raul Miller
Oops... for people doing stringsearch in that opengroup chapter: Pathname Resolution (no space between "Path" and "Name"). Sorry about that, -- Raul On Thu, Jul 7, 2022 at 12:04 AM Raul Miller wrote: > > Here's some quick impressions -- I haven't looked at any of this > deeply, and I might be

Re: [Jprogramming] J Playground neural network demo

2022-07-06 Thread Raul Miller
Here's some quick impressions -- I haven't looked at any of this deeply, and I might be off base in some respect or another: I imagine that a j playground progress spinner would exploit 2!:0 to drive a callback which was specifically designed to update a j playground progress spinner. I also imag

Re: [Jprogramming] J Playground neural network demo

2022-07-06 Thread Joe Bogner
Hi Jan-Pieter, Thanks for all the feedback and the pull request. I merged it in. Below are some comments on your excellent feedback: On Sun, Jul 3, 2022 at 5:45 PM Jan-Pieter Jacobs wrote: > I saw the progress spinner, it certainly is an improvement over the > previous behavior, especially sin

Re: [Jprogramming] J Playground neural network demo

2022-07-03 Thread Jan-Pieter Jacobs
Hi Joe, Sorry I haven't gotten back to you for already such a long time. Thank you for including my demo. I submitted a pull-request for including the most recent version (one tiny bug-fix and some revisions in comments). It's my first pull-request, I hope I didn't maul other things... I saw the

Re: [Jprogramming] J Playground neural network demo

2022-06-17 Thread Joe Bogner
On Sat, Jun 4, 2022 at 4:42 PM Jan-Pieter Jacobs wrote: > I had some fun putting J Playground through its paces and wrote the > following neural network demo: > > > https://jsoftware.github.io/j-playground/bin/html2#url=https://gist.githubusercontent.com/jpjacobs/6ff68c07bf764ad886e097ffbd19f5f0/

Re: [Jprogramming] J Playground neural network demo

2022-06-05 Thread Ian Clark
Jan-Pieter wrote: > j901 on iPadOS seems to get vector graphics from plot. It's truer to say that j901 for iOS handles vector graphics best via PDF, for which (in the current release of the app) is most reliably generated by Plot. The reasons are complex, platform dependent and JAL-version depende

Re: [Jprogramming] J Playground neural network demo

2022-06-05 Thread Jan-Pieter Jacobs
Or you could just load'pacman' and replace httpget by httpget_jpacman_ . Jan-Pieter On Sun, 5 Jun 2022, 05:57 Raul Miller, wrote: > To run this script under jqt, add to the top: > > {{ > if.0>nc<'httpget' do. > require'web/gethttp' > httpget=:{{ > (gethttp y) fwrite '~temp',(}.~

Re: [Jprogramming] J Playground neural network demo

2022-06-05 Thread Jan-Pieter Jacobs
I'm entirely fine with including the NN example in the Playground menu. That's pretty much what I wrote it for, and I'm happy to contribute something useful. I have to say that much of the code clarity (at least much of the structure and concept) also comes from having started from the book http:/

Re: [Jprogramming] J Playground neural network demo

2022-06-04 Thread Raul Miller
To run this script under jqt, add to the top: {{ if.0>nc<'httpget' do. require'web/gethttp' httpget=:{{ (gethttp y) fwrite '~temp',(}.~ i:&'/')y }} EMPTY end. }}_ -- Raul On Sat, Jun 4, 2022 at 4:42 PM Jan-Pieter Jacobs wrote: > > I had some fun putting J Playground t

Re: [Jprogramming] J Playground neural network demo

2022-06-04 Thread Aaron Ash
Awesome! I also saw the same scrolling glitches in Firefox on Linux. On Sun, Jun 5, 2022 at 6:42 AM Jan-Pieter Jacobs wrote: > > I had some fun putting J Playground through its paces and wrote the > following neural network demo: > > https://jsoftware.github.io/j-playground/bin/html2#url=https:/

Re: [Jprogramming] J Playground neural network demo

2022-06-04 Thread chris burke
> The plot quality is not great yet, Plot is rather long in the tooth. We would get much nicer graphics in the playground using a package like chartjs, https://www.chartjs.org . On Sat, Jun 4, 2022 at 1:42 PM Jan-Pieter Jacobs wrote: > I had some fun putting J Playground through its paces and

Re: [Jprogramming] J Playground neural network demo

2022-06-04 Thread Joe Bogner
I created a GitHub issue to track the idea of adding some progress indicator to a long running script https://github.com/jsoftware/j-playground/issues/87 I also updated the new mobile UI issue to include handling multiple plots https://github.com/jsoftware/j-playground/issues/76#issuecomment-11466

Re: [Jprogramming] J Playground neural network demo

2022-06-04 Thread Joe Bogner
Wow, this is excellent. I appreciate the clarity of the code and the graphics are a nice touch to show how it works and the results. Impressive all around I think this would make a nice example to add to the Playground examples menu if you are OK with that -

[Jprogramming] J Playground neural network demo

2022-06-04 Thread Jan-Pieter Jacobs
I had some fun putting J Playground through its paces and wrote the following neural network demo: https://jsoftware.github.io/j-playground/bin/html2#url=https://gist.githubusercontent.com/jpjacobs/6ff68c07bf764ad886e097ffbd19f5f0/raw/52b0563a7daa76df7fa57a3743da45ca0755f1a7/nn.ijs It dowloads th