Re: [Jprogramming] Arg min

2019-12-28 Thread Arnab Chakraborty
In the Arabian Nights, there are many tales involving castles with locked doors. Behind each door is an unexpected world more intriguing than the last. Well, J is like that. I am standing in awe before the latest door labelled Special Codes. On Sat, 28 Dec 2019, 20:06 Ric Sherlock, wrote: > The

Re: [Jprogramming] translating scheme code

2019-12-28 Thread Henry Rich
I would like to help, but I don't get what is called for.  Maybe there are Scheme users who will pipe up. If not, can you describe what the desired input and output are? Henry Rich On 12/28/2019 8:51 PM, Raoul Schorer wrote: Hi, I am trying to implement minikanren

[Jprogramming] translating scheme code

2019-12-28 Thread Raoul Schorer
Hi, I am trying to implement minikanren in J. I have it almost working, but I am stuck in the last part of the core implementation . I do not understand how to write "call/fresh" from the scheme cod

Re: [Jprogramming] New video: building a sprite editor in J

2019-12-28 Thread Henry Rich
Can those of you who make these great videos put a link-page to them on the Wiki (if it's not there already)? Henry Rich On 12/27/2019 9:07 PM, Ric Sherlock wrote: Very nice Michal!! Very useful reference for building GUIs with J. On Sat, Dec 28, 2019 at 1:03 PM Michal Wallace wrote: Okay,

Re: [Jprogramming] Jhs on iPad via lan to Mac

2019-12-28 Thread 'Jim Russell' via Programming
For some reason (which I do not understand) mine wound up under /Users/jamesrussell/j901-users/config/65002.cfg. Probably due to jhs not having an "edit" command, which I had to go to Jqt to find, and the finder working overtime to protect me from myself. Is that why I have to rerun it under jc

Re: [Jprogramming] Jhs on iPad via lan to Mac

2019-12-28 Thread Eric Iverson
Your 65002.cfg file would have been a trivial edit to the base JHS config file which is at: ~addons/ide/jhs/config/jhs.cfg On Sat, Dec 28, 2019 at 12:51 PM 'Jim Russell' via Programming < programm...@jsoftware.com> wrote: > I think I somehow lost my 65002.cfg file > on the upgrade to the j901 rel

Re: [Jprogramming] Jhs on iPad via lan to Mac

2019-12-28 Thread 'Jim Russell' via Programming
I think I somehow lost my 65002.cfg file on the upgrade to the j901 release. Likely something dumb I did. > On Dec 28, 2019, at 12:30 PM, Eric Iverson wrote: > > I doubt very much that the level of JE would affect things as you describe. > But a new iOS certainly could. > >> On Sat, Dec 28, 2

Re: [Jprogramming] Jhs on iPad via lan to Mac

2019-12-28 Thread Eric Iverson
I doubt very much that the level of JE would affect things as you describe. But a new iOS certainly could. On Sat, Dec 28, 2019 at 12:15 PM 'Jim Russell' via Programming < programm...@jsoftware.com> wrote: > FWIW: I had iOS to jhs working over the lan for the last j beta. I _think_ > I would have

Re: [Jprogramming] Jhs on iPad via lan to Mac

2019-12-28 Thread 'Jim Russell' via Programming
FWIW: I had iOS to jhs working over the lan for the last j beta. I _think_ I would have noticed a failure to open other web pages. I lost the ability to connect after I upgraded to the j901 release, and, perhaps, when I upgraded to iOS 13.3 on both by iPhone/iPad. > On Dec 28, 2019, at 10:55 A

Re: [Jprogramming] Jhs on iPad via lan to Mac

2019-12-28 Thread 'Jim Russell' via Programming
Seems the fault lies with iOS/iPadOS safari. (It may still be a setting. ) I have reached jhs on my Mac mini via the local lan from safari on an old (2007) MacBook and from a win 10 (Edge?) system, and both behave as expected. > On Dec 27, 2019, at 7:54 PM, 'Jim Russell' via Programming > wro

Re: [Jprogramming] Arg min

2019-12-28 Thread Ric Sherlock
The best source of info on special code or Combinations that I know of is here: https://code.jsoftware.com/wiki/Vocabulary/SpecialCombinations On Sun, Dec 29, 2019 at 1:59 AM Raul Miller wrote: > On Sat, Dec 28, 2019 at 7:38 AM Arnab Chakraborty > wrote: > >Thanks for the code. But I did n

Re: [Jprogramming] New video: building a sprite editor in J

2019-12-28 Thread bill lam
Also not completely relevant to the video. It might be easier to code if using isidraw instead of isigraph because isidraw doesn't need any paint event. ymmv. On Sat, Dec 28, 2019, 10:03 PM Raul Miller wrote: > First off, thanks for putting together this video. > > That said, I can't help remini

Re: [Jprogramming] New video: building a sprite editor in J

2019-12-28 Thread Raul Miller
First off, thanks for putting together this video. That said, I can't help reminisce about deciding when to render (or "paint"): Like you said in your video,ender can happen on timer, like you had it. This covers a lot of "forgot to include render after update" issues, but can get you into strang

Re: [Jprogramming] Arg min

2019-12-28 Thread Raul Miller
On Sat, Dec 28, 2019 at 7:38 AM Arnab Chakraborty wrote: >Thanks for the code. But I did not quite comprehend the phrase "special > code". Do you mean that the hook (i. <./) gets replaced by some low level C > code, instead of being parsed as a general hook? I believe it's that (i. <./) gets

Re: [Jprogramming] Arg min

2019-12-28 Thread Arnab Chakraborty
Hi Ric, Thanks for the code. But I did not quite comprehend the phrase "special code". Do you mean that the hook (i. <./) gets replaced by some low level C code, instead of being parsed as a general hook? On Fri, 27 Dec 2019, 08:38 Ric Sherlock, wrote: > You could also use > > argminall=: 4