Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Ian Clark
Thanks, Louis. I've just taken ownership of Ch 26 (the essay in question) and I've noted your comment. In the course of revision I will reconcile the FSOJ definition of a group with the conventional one used by abstract group theorists. Ian Clark On Sun, May 27, 2018 at 12:22 AM, Louis de Forcr

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Louis de Forcrand
I don’t know if this is the right place for this, but I just read through the beginning of a few sections, and looking at the one on groups I found the mathematical definition of a group kind of peculiar, in particular point (c): « every element e has a left and right inverse, that is there are

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Ian Clark
Thoroughly agree, Chris. On Sat, May 26, 2018 at 11:18 PM, chris burke wrote: > These suggestions on spacing are interesting, but I am concerned that they > divert attention away from the main focus, which is to recruit volunteers > to make sure the code and text in each essay is technically cor

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread chris burke
These suggestions on spacing are interesting, but I am concerned that they divert attention away from the main focus, which is to recruit volunteers to make sure the code and text in each essay is technically correct. There is no generally agreed spacing convention for J code, so it is really just

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Ian Clark
@Henry – in my heart-of-hearts I know you're right. But it's lifted off the launchpad now. I've scratched my chin about a final application of some agreed spacing convention – a J app to do that is badly needed. But how to do it without invalidating the testing? It could call for a really smart bo

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Ian Clark
That has occurred to us, and is an option we'd like to keep open. With At Play With J, http://code.jsoftware.com/wiki/At_Play_With_J …the volunteer-tested pages served as the basis for a Lulu edition: http://www.lulu.com/shop/eugene-mcdonnell/at-play-with-j-edn-2/paperback/product-6073726.html I

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Henry Rich
I think it's a mistake to leave it to individuals.  Spacing really makes a difference to readability. Using a special font and something to set off the J code would help.  Maybe have a gray background box around code. I think (+/ % #) y with something to set it apart would be easier to read

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Ian Clark
Can I recommend these prettyprinting conventions apply only to J code blocks, i.e. between tags …? Inline J within narrative text (…) is something else altogether. It is fraught with readability issues and often demands creative solutions. If there's one general rule, it is: have as few spaces as

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread chris burke
Yes, what we did for the second edition of At Play with J was to get the wiki version correct, and then get it published as a book. Putting it on the wiki allowed many people to check and update the work first. We are interested doing the same with FSOJ. On Sat, May 26, 2018 at 1:11 PM, Ron Peter

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Ron Petersen
why not use PDF format and create a downloadable book. id pay for it! On Sat, May 26, 2018, 10:30 Henry Rich wrote: > I agree with all those suggestions. I would add a space before the LHS > of assignment, and I would allow extra spaces around parentheses to make > it easier to match parenthese

Re: [Jprogramming] ncurses mvwaddch@newwin unexpected behaviour

2018-05-26 Thread james faure
Allright, I came back to this today, and the macro theory doesn't hold for wmove, which is definitely not a macro, but fails with the same symptoms: stdscr_ncurses_ =: initscr'' w =. newwin 20;60;0;0 wmove w ; 10 ; 10 wgetch < w From: Programming on behalf of

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread Henry Rich
I agree with all those suggestions.  I would add a space before the LHS of assignment, and I would allow extra spaces around parentheses to make it easier to match parentheses by eye. Henry Rich On 5/26/2018 10:33 AM, 'Pascal Jasmin' via Programming wrote: I'd like to see a different spacing

[Jprogramming] 807 beta-e zip install packages for windows/linux/macos

2018-05-26 Thread Eric Iverson
The 807 beta-e zip install packages for windows/linux/macos are available. Henry has done a lot more work to exploit virtual blocks and to make better use of cache memory. For details, see: http://code.jsoftware.com/wiki/System/ReleaseNotes/J807 This beta is stable and, except for production wor

Re: [Jprogramming] Fifty Shades of J

2018-05-26 Thread 'Pascal Jasmin' via Programming
I'd like to see a different spacing convention. space between verbs and their arguments. space after assignment but not with the LHS. space between verbs in trains. No space if possible between modifiers and verbs. The convention used throughout topics appear to be no spaces ever. ___

[Jprogramming] Fifty Shades of J

2018-05-26 Thread chris burke
Norman Thomson's J-ottings is an outstanding series of essays on J published in Vector magazine, based on his long classroom experience in teaching J and its forerunner APL. Norman has collected and rearranged these essays in a book (unpublished), but with his and the BAA's approval, we are now mak