Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread bill lam
The base library had assumed all JFE had defined BINPATH, but apparently this is not always true. Fix will be in the next base library update. Thank you for reporting this bug. Ср, 05 июл 2017, Xiao-Yong Jin написал(а): > Looks like the new Iospacman.txt updated by bill lam is working again, but

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Bill
Iospacman.txt is decommitted, there will be other ways to move files in and out of j ios and more addons might be bundled inside j ios assets. Sent from my iPhone On 6 Jul, 2017, at 3:39 AM, Xiao-Yong Jin wrote: > It is not about pointlessly updating the libraries, but rather a simple way > to

Re: [Jprogramming] Side effects in tacit expressions

2017-07-05 Thread Jose Mario Quintana
I am glad, thank you for bringing 3!:2 and 3!:1 to my attention. There could be a high performance price to pay for going fully tacit from half way tacit, not to mention, from explicit (which is another issue): v0=. 3 : 'R=. R , y' v0 3 : 'R=. R , y' v0 1 2 3 [ R=. 0 0 1 2 3 lr

Re: [Jprogramming] J iOS

2017-07-05 Thread Devon McCormick
Maybe look here: http://code.jsoftware.com/wiki/Guides/Startup ? On Wed, Jul 5, 2017 at 5:07 PM, J. Patrick Harrington wrote: > > Sorry, I didn't see the lower part of the ? notes. > Thanks. > > > On Wed, 5 Jul 2017, Eric Iverson wrote: > >> scroll to near the end of the blue ? page and you will

Re: [Jprogramming] Request for comments: multiple assignment

2017-07-05 Thread Devon McCormick
I agree with Don's suggestion. I've also found things like "++" to be a little notational wart in the C; it extends to "--", both pre- and post-fix forms, but is similar to nothing else in the language. Learning about it gives you nothing of value that's generally applicable elsewhere. On Wed, J

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread 'Mike Day' via Programming
Thanks, Eric. Sorry for the delay - watching Wimbledon & out for a while. Yes - it seems fine in portrait mode. It's not immediately obvious that there are three sections of display; I don't know what you call them, so when it says "scroll through these topics... ", it's not quite clear wha

Re: [Jprogramming] J iOS

2017-07-05 Thread J. Patrick Harrington
Sorry, I didn't see the lower part of the ? notes. Thanks. On Wed, 5 Jul 2017, Eric Iverson wrote: scroll to near the end of the blue ? page and you will see a section 'customize J at start up'. Short answer. enter: je'startup' On Wed, Jul 5, 2017 at 4:38 PM, J. Patrick Harrington wrote:

Re: [Jprogramming] J iOS

2017-07-05 Thread Eric Iverson
scroll to near the end of the blue ? page and you will see a section 'customize J at start up'. Short answer. enter: je'startup' On Wed, Jul 5, 2017 at 4:38 PM, J. Patrick Harrington wrote: > Eric, > Is there a file which j701 reads on startup, > or is there another way to avoid having t

Re: [Jprogramming] Side effects in tacit expressions

2017-07-05 Thread Raul Miller
I am indeed not entirely sure what you are thinking of, but you can do stuff like this: nrep=: '3!:2 a.{~',&":a.i.3!:1 ".nrep 1 2 3 1 2 3 That said, if you really want 5!:5 functionality but as a verb, and if the use of : to construct that verb is a real problem for you, there's nothing sto

[Jprogramming] J iOS

2017-07-05 Thread J. Patrick Harrington
Eric, Is there a file which j701 reads on startup, or is there another way to avoid having to type load 'my_profile' every time? Patrick -- For information about J forums see http://www.jsoftware.c

Re: [Jprogramming] Side effects in tacit expressions

2017-07-05 Thread Jose Mario Quintana
"you cannot avoid referring to the name" That is precisely the problem. If one intends to use ". , to solve the original request, then the linear representation of the argument is required and you have to name it. Hence, lrep=: 3 :'5!:5<''y''' lrep 1 2 3 1 2 3 works. However, lrep

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Eric Iverson
With a bit of work and documentation of steps at the wiki it will soon be possible to to put addons on J iOS. New documents and document exchange within your own environment (your desktop to your device) is more clearly within the Apple rules than download from Jsoftware. Here is a rough sketch:

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Xiao-Yong Jin
It is not about pointlessly updating the libraries, but rather a simple way to download more addons. > On Jul 5, 2017, at 12:27 PM, Eric Iverson wrote: > > The folder structure in J iOS is a bit different. I think it would be a > mistake to worry about things like updating the base library. Why

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread 'Jim Russell' via Programming
Ok, I won't do this: load 'pacman' not found: /j/system/util/pacman.ijs |file name error: script | 0!:0 y[4!:55<'y' But this, in the plot lab, is disappointing: The examples given below also require the utilities in scripts numeric and trig. Load these as: ) load 'numeric trig' not fo

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread J. Patrick Harrington
Thank you Eric! I've just tried j701 on my iPhone 6+. The new keyboard is a *vast* improvement making the entry of the most common characters much more convenient. My phone was jailbroken for years, which made it easy to move files onto the J app, but eventually I was forced to upgrade to t

Re: [Jprogramming] Side effects in tacit expressions

2017-07-05 Thread Raul Miller
you cannot avoid referring to the name, but there's no need to use the : conjunction for this. For example: lrep=: [: ". '5!:5 <''',,~] lrep 'lrep' [: ". '5!:5 <''' , ,~ ] Thanks, -- Raul On Wed, Jul 5, 2017 at 1:20 PM, Jose Mario Quintana wrote: > What a coincidence that thi

Re: [Jprogramming] Request for comments: multiple assignment

2017-07-05 Thread Don Kelly
Why? Is this accomplishing anything ? Is the value of t changed? t=:1 2 3 t+3 or 3+t give 4 5 6 but t is not changed to have a change in t then t=:t+3 works and its meaning is clear. I would suggest that the value of J (as with APL) is that it is not C and non-C thinking is a benefit. Don K

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Eric Iverson
The folder structure in J iOS is a bit different. I think it would be a mistake to worry about things like updating the base library. Why not just use what is already there? Updating for the mere sake of updating doesn't make sense. On Wed, Jul 5, 2017 at 1:03 PM, Xiao-Yong Jin wrote: > Looks li

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Eric Iverson
I was please with the report that the 5s works and have verified it with the simulator. On Wed, Jul 5, 2017 at 12:48 PM, Eric Iverson wrote: > UGH. A bug introduced at the last minute (making landscape keyboard > buttons taller - so they were square) broke landscape keyboard on all > devices. Th

Re: [Jprogramming] Side effects in tacit expressions

2017-07-05 Thread Jose Mario Quintana
What a coincidence that this type of question was posed a day after I suggested to incorporate the unofficial Jx interpreter verb extension =:: into the official interpreter! I am afraid that it is not possible to produce of that kind of verbs without involving an explicit verb (or an adverb or a

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Xiao-Yong Jin
Looks like the new Iospacman.txt updated by bill lam is working again, but the updated base library cannot be loaded, because JFE doesn’t have BINPATH defined. > On Jul 5, 2017, at 11:48 AM, Eric Iverson wrote: > > UGH. A bug introduced at the last minute (making landscape keyboard buttons > tal

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Eric Iverson
UGH. A bug introduced at the last minute (making landscape keyboard buttons taller - so they were square) broke landscape keyboard on all devices. This is in addition to the initial confusion of not seeing the help html view if you start out in landscape. I want to wait a bit to see if there are o

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Joey K Tuttle
Add to my problems that I often confuse my explanations with "typos"... Should have said - i.e. z x c ... m = . : and the control row below are missing. > On 2017Jul 5, at 08:02, Joey K Tuttle wrote: > > The problem is worse than you indicate, only the top 4 rows of the keyboard > appear

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Joey K Tuttle
I was too enthusiastic last night to report that landscape is broken. The problem is worse than you indicate, only the top 4 rows of the keyboard appear in landscape, i.e. a s d f...k l ' and the control row below are missing. When the keyboard is dismissed before rotation, the scrolling area is

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Eric Iverson
I think I see the problem you report with landscape. Everything is working as intended, but the html view (where ? and plots are displayed) is not seen because the screen is taken up with the keyboard and log area. There just isn't enough vertical space. Please run J again in landscape and dismiss

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread 'Mike Day' via Programming
Oh! I rotated the screen, so moving from landscape to portrait, and (A) saw an introductory display rather than a fairly small blank area, And (b) a functioning "?" "button" Sorry, I prefer l/scape most of the time. Prepared to use Portrait, but shouldn't landscape work too? Thanks again,