Re: [Jprogramming] J on IOS

2022-05-10 Thread Ian Clark
From the programmer's pov there isn't meant to be any real difference
between iOS and iPadOS. And Apple are trying to discourage developers from
offering iPad-only apps. But the two platforms look substantially different
to the end user -- as indeed do different models of each. I'm only just
discovering those differences. It's been a deliberate blind-spot because
j901 is a dual-platform app -- which is the default for an Xcode coder.

> Maybe this is some Apple peculiarity that prioritises some noises
over others?

No, it's my fault, not Apple's. AFAIK Apple doesn't do that. In some places
I call beeps directly from Swift, such as when you swipe through plots and
hit the buffers. For consistency, the app needs to funnel all beeps through
the verb: beep. This means that Swift/UIKit needs to call on JE for
services even when there's no (other) reason to do so.

On Tue, 10 May 2022 at 08:26, Jan-Pieter Jacobs 
wrote:

> Hi Ian,
>
> Thanks for your replies.
> 'NO_BEEPS' ui 1 indeed does the trick, that's great.
>
> Here red faces department as well, I'm so fresh to Apple devices I don't
> know the difference between iOS and iPadOS. I was talking about silent mode
> referring to the mode you put your iPad in when you press the bell icon in
> the control centre. From what I read this corresponds to flipping the
> physical mute button on an iPhone that has one.
>
> I also discovered that, strangely enough, some beeps do honour that setting
> (, i.e. are silenced in silent mode, like tweet, tingtang 0 and 1), but
> others do not (i.e. they are still played like klunk, booble, tingtang '').
> Maybe this is some Apple peculiarity that prioritises some noises over
> others?
>
> Another thing I noted is that irrespective of the above, none of the sounds
> appear to change volume when the iPad's volume is changed.
>
> For the rest, I really like j901 on the iPad, it is really a huge
> improvement over the previous J app.
>
> Thanks,
> Jan-Pieter
>
> On Mon, 9 May 2022 at 19:11, Ian Clark  wrote:
>
> > Red Faces department…
> > Been a while since I'd touched it, and I'd forgotten how it worked.
> >
> >'NO_BEEPS' ui 1
> > will turn off all beeps (alerts) in the app. Restore them with:
> >'NO_BEEPS' ui 0
> >
> > > couldn't find a setting to turn off the sounds in the app itself.
> >
> > You can see and overtype current settings of flags with:
> >.u fl
> > shorthand for:
> >ui'flags'
> > NO_BEEPS is about halfway down the list.
> >
> > What I said earlier largely stands, however. I shall revamp iosutils,
> > especially the implementation of beeps.
> >
> > Sorry for so many ways to achieve a given end-result. Python used to
> flaunt
> > the motto: "There's only one way to do it."
> > J's motto ought to be: "There's always one more way to do it."
> >
> >
> > On Mon, 9 May 2022 at 03:50, Ian Clark  wrote:
> >
> > > Could you explain what you mean by "silent mode" in the context of
> > > iOS/iPadOS? I stare in vain at "Sounds" in the Settings app for
> anything
> > > resembling such a thing. I see a statement: "The volume of the ringer
> and
> > > alerts will not be affected by the volume buttons." The Apple maggots
> > seem
> > > to believe that essential signals like alerts should not be
> > > blanket-suppressed. I don't possess an iPhone, only an iPad, so someone
> > > please tell me whether there is indeed a "silent mode" on that device,
> as
> > > opposed to iPads.
> > >
> > > I think it's possible to over-control sound, to the despair of
> beginners.
> > > J901 for iOS uses the builtin iOS "alerts" in a fairly haphazard way,
> but
> > > the aim was to deploy them consistently. Thus the tweet sound (number
> > 1016
> > > in coders' documentation) is produced by a factory verb: tweet, and you
> > can
> > > turn it off like this:
> > >tweet_z_=: empty
> > > To see and edit (tweet) and its sisters, enter the J phrase:
> > >edit'tweet'
> > > This will open j/system/ios/iosutils.ijs, and the beeps are defined at
> > > line 45 onwards. You can edit this script and relaunch the app to make
> > the
> > > beeps behave how you like, or redefine them in j/config/startup.ijs.
> > >
> > > The original idea was to treat all beeps consistently and funnel their
> > > definition through a single J verb: beep. Then we could turn off all
> > beeps
> > > like this:
> > >beep_z_=: empty
> > > or switch (beep) using a spare boolean flag.
> > > Alas these good things haven't been done, and that's a bug I can easily
> > > fix. Factory scripts (like iosutils.ijs) are part of the app, so
> they're
> > > best fixed via App Store. But you're welcome to roll-your-own iosutils,
> > or
> > > other factory scripts, and pm them to me. To explore the factory
> scripts,
> > > enter:
> > >.d
> > > and take a guess at what to do next.
> > >
> > > I must confess that the J factory scripts have not enjoyed the
> attention
> > > I've paid to getting the Swift/C code right. Fine-tuning them is
> > something
> > > others can do 

Re: [Jprogramming] J on IOS

2022-05-10 Thread Jan-Pieter Jacobs
Hi Ian,

Thanks for your replies.
'NO_BEEPS' ui 1 indeed does the trick, that's great.

Here red faces department as well, I'm so fresh to Apple devices I don't
know the difference between iOS and iPadOS. I was talking about silent mode
referring to the mode you put your iPad in when you press the bell icon in
the control centre. From what I read this corresponds to flipping the
physical mute button on an iPhone that has one.

I also discovered that, strangely enough, some beeps do honour that setting
(, i.e. are silenced in silent mode, like tweet, tingtang 0 and 1), but
others do not (i.e. they are still played like klunk, booble, tingtang '').
Maybe this is some Apple peculiarity that prioritises some noises over
others?

Another thing I noted is that irrespective of the above, none of the sounds
appear to change volume when the iPad's volume is changed.

For the rest, I really like j901 on the iPad, it is really a huge
improvement over the previous J app.

Thanks,
Jan-Pieter

On Mon, 9 May 2022 at 19:11, Ian Clark  wrote:

> Red Faces department…
> Been a while since I'd touched it, and I'd forgotten how it worked.
>
>'NO_BEEPS' ui 1
> will turn off all beeps (alerts) in the app. Restore them with:
>'NO_BEEPS' ui 0
>
> > couldn't find a setting to turn off the sounds in the app itself.
>
> You can see and overtype current settings of flags with:
>.u fl
> shorthand for:
>ui'flags'
> NO_BEEPS is about halfway down the list.
>
> What I said earlier largely stands, however. I shall revamp iosutils,
> especially the implementation of beeps.
>
> Sorry for so many ways to achieve a given end-result. Python used to flaunt
> the motto: "There's only one way to do it."
> J's motto ought to be: "There's always one more way to do it."
>
>
> On Mon, 9 May 2022 at 03:50, Ian Clark  wrote:
>
> > Could you explain what you mean by "silent mode" in the context of
> > iOS/iPadOS? I stare in vain at "Sounds" in the Settings app for anything
> > resembling such a thing. I see a statement: "The volume of the ringer and
> > alerts will not be affected by the volume buttons." The Apple maggots
> seem
> > to believe that essential signals like alerts should not be
> > blanket-suppressed. I don't possess an iPhone, only an iPad, so someone
> > please tell me whether there is indeed a "silent mode" on that device, as
> > opposed to iPads.
> >
> > I think it's possible to over-control sound, to the despair of beginners.
> > J901 for iOS uses the builtin iOS "alerts" in a fairly haphazard way, but
> > the aim was to deploy them consistently. Thus the tweet sound (number
> 1016
> > in coders' documentation) is produced by a factory verb: tweet, and you
> can
> > turn it off like this:
> >tweet_z_=: empty
> > To see and edit (tweet) and its sisters, enter the J phrase:
> >edit'tweet'
> > This will open j/system/ios/iosutils.ijs, and the beeps are defined at
> > line 45 onwards. You can edit this script and relaunch the app to make
> the
> > beeps behave how you like, or redefine them in j/config/startup.ijs.
> >
> > The original idea was to treat all beeps consistently and funnel their
> > definition through a single J verb: beep. Then we could turn off all
> beeps
> > like this:
> >beep_z_=: empty
> > or switch (beep) using a spare boolean flag.
> > Alas these good things haven't been done, and that's a bug I can easily
> > fix. Factory scripts (like iosutils.ijs) are part of the app, so they're
> > best fixed via App Store. But you're welcome to roll-your-own iosutils,
> or
> > other factory scripts, and pm them to me. To explore the factory scripts,
> > enter:
> >.d
> > and take a guess at what to do next.
> >
> > I must confess that the J factory scripts have not enjoyed the attention
> > I've paid to getting the Swift/C code right. Fine-tuning them is
> something
> > others can do far better than I can. Whereas Xcode, Objective-C, Swift
> and
> > UIKit seem to be skills in limited supply on the J forum.
> >
> > That I hope is something that will change. The last 2 years have seen
> > Apple make massive improvements to iOS and how to code good apps for it.
> > Things aren't as dire as when we started developing a replacement for
> j701
> > back in 2019.
> >
> > Ian Clark
> >
> > On Sun, 8 May 2022 at 18:43, Jan-Pieter Jacobs <
> janpieter.jac...@gmail.com>
> > wrote:
> >
> >> Talking about IOS bugs (great app, by the way), I noticed that some
> sounds
> >> don't obey the silent mode (or whatever IOS calls that mode). I also
> >> couldn't find a setting to turn off the sounds in the app itself.
> >> I think ignoring silent mode could count as a bug, and an in-app toggle
> as
> >> a feature-request :).
> >>
> >> Keep up the good work!
> >>
> >> Jan-Pieter
> >>
> >> On Sun, 8 May 2022, 12:50 Ian Clark,  wrote:
> >>
> >> > Thanks Robert. I can reproduce the bug.
> >> >
> >> > There's no workaround I can find. The app needs to be terminated and
> >> > restarted. E.g by double-clicking the (hardware) 

Re: [Jprogramming] J on IOS

2022-05-09 Thread Ian Clark
Red Faces department…
Been a while since I'd touched it, and I'd forgotten how it worked.

   'NO_BEEPS' ui 1
will turn off all beeps (alerts) in the app. Restore them with:
   'NO_BEEPS' ui 0

> couldn't find a setting to turn off the sounds in the app itself.

You can see and overtype current settings of flags with:
   .u fl
shorthand for:
   ui'flags'
NO_BEEPS is about halfway down the list.

What I said earlier largely stands, however. I shall revamp iosutils,
especially the implementation of beeps.

Sorry for so many ways to achieve a given end-result. Python used to flaunt
the motto: "There's only one way to do it."
J's motto ought to be: "There's always one more way to do it."


On Mon, 9 May 2022 at 03:50, Ian Clark  wrote:

> Could you explain what you mean by "silent mode" in the context of
> iOS/iPadOS? I stare in vain at "Sounds" in the Settings app for anything
> resembling such a thing. I see a statement: "The volume of the ringer and
> alerts will not be affected by the volume buttons." The Apple maggots seem
> to believe that essential signals like alerts should not be
> blanket-suppressed. I don't possess an iPhone, only an iPad, so someone
> please tell me whether there is indeed a "silent mode" on that device, as
> opposed to iPads.
>
> I think it's possible to over-control sound, to the despair of beginners.
> J901 for iOS uses the builtin iOS "alerts" in a fairly haphazard way, but
> the aim was to deploy them consistently. Thus the tweet sound (number 1016
> in coders' documentation) is produced by a factory verb: tweet, and you can
> turn it off like this:
>tweet_z_=: empty
> To see and edit (tweet) and its sisters, enter the J phrase:
>edit'tweet'
> This will open j/system/ios/iosutils.ijs, and the beeps are defined at
> line 45 onwards. You can edit this script and relaunch the app to make the
> beeps behave how you like, or redefine them in j/config/startup.ijs.
>
> The original idea was to treat all beeps consistently and funnel their
> definition through a single J verb: beep. Then we could turn off all beeps
> like this:
>beep_z_=: empty
> or switch (beep) using a spare boolean flag.
> Alas these good things haven't been done, and that's a bug I can easily
> fix. Factory scripts (like iosutils.ijs) are part of the app, so they're
> best fixed via App Store. But you're welcome to roll-your-own iosutils, or
> other factory scripts, and pm them to me. To explore the factory scripts,
> enter:
>.d
> and take a guess at what to do next.
>
> I must confess that the J factory scripts have not enjoyed the attention
> I've paid to getting the Swift/C code right. Fine-tuning them is something
> others can do far better than I can. Whereas Xcode, Objective-C, Swift and
> UIKit seem to be skills in limited supply on the J forum.
>
> That I hope is something that will change. The last 2 years have seen
> Apple make massive improvements to iOS and how to code good apps for it.
> Things aren't as dire as when we started developing a replacement for j701
> back in 2019.
>
> Ian Clark
>
> On Sun, 8 May 2022 at 18:43, Jan-Pieter Jacobs 
> wrote:
>
>> Talking about IOS bugs (great app, by the way), I noticed that some sounds
>> don't obey the silent mode (or whatever IOS calls that mode). I also
>> couldn't find a setting to turn off the sounds in the app itself.
>> I think ignoring silent mode could count as a bug, and an in-app toggle as
>> a feature-request :).
>>
>> Keep up the good work!
>>
>> Jan-Pieter
>>
>> On Sun, 8 May 2022, 12:50 Ian Clark,  wrote:
>>
>> > Thanks Robert. I can reproduce the bug.
>> >
>> > There's no workaround I can find. The app needs to be terminated and
>> > restarted. E.g by double-clicking the (hardware) Home button, which
>> shows
>> > thumbnails of open apps, and swiping upwards on the j901 app icon to
>> make
>> > it disappear.
>> >
>> > I'll put it on the bug list for the next update.
>> >
>> > Ian Clark
>> >
>> > On Sat, 7 May 2022 at 20:27, Robert Cyr  wrote:
>> >
>> > > ...
>> >
>> > The system will not respond, you are locked out.
>> > > --
>> > >
>> > >
>> > --
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> >
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] J on IOS

2022-05-08 Thread Ian Clark
Could you explain what you mean by "silent mode" in the context of
iOS/iPadOS? I stare in vain at "Sounds" in the Settings app for anything
resembling such a thing. I see a statement: "The volume of the ringer and
alerts will not be affected by the volume buttons." The Apple maggots seem
to believe that essential signals like alerts should not be
blanket-suppressed. I don't possess an iPhone, only an iPad, so someone
please tell me whether there is indeed a "silent mode" on that device, as
opposed to iPads.

I think it's possible to over-control sound, to the despair of beginners.
J901 for iOS uses the builtin iOS "alerts" in a fairly haphazard way, but
the aim was to deploy them consistently. Thus the tweet sound (number 1016
in coders' documentation) is produced by a factory verb: tweet, and you can
turn it off like this:
   tweet_z_=: empty
To see and edit (tweet) and its sisters, enter the J phrase:
   edit'tweet'
This will open j/system/ios/iosutils.ijs, and the beeps are defined at line
45 onwards. You can edit this script and relaunch the app to make the beeps
behave how you like, or redefine them in j/config/startup.ijs.

The original idea was to treat all beeps consistently and funnel their
definition through a single J verb: beep. Then we could turn off all beeps
like this:
   beep_z_=: empty
or switch (beep) using a spare boolean flag.
Alas these good things haven't been done, and that's a bug I can easily
fix. Factory scripts (like iosutils.ijs) are part of the app, so they're
best fixed via App Store. But you're welcome to roll-your-own iosutils, or
other factory scripts, and pm them to me. To explore the factory scripts,
enter:
   .d
and take a guess at what to do next.

I must confess that the J factory scripts have not enjoyed the attention
I've paid to getting the Swift/C code right. Fine-tuning them is something
others can do far better than I can. Whereas Xcode, Objective-C, Swift and
UIKit seem to be skills in limited supply on the J forum.

That I hope is something that will change. The last 2 years have seen Apple
make massive improvements to iOS and how to code good apps for it. Things
aren't as dire as when we started developing a replacement for j701 back in
2019.

Ian Clark

On Sun, 8 May 2022 at 18:43, Jan-Pieter Jacobs 
wrote:

> Talking about IOS bugs (great app, by the way), I noticed that some sounds
> don't obey the silent mode (or whatever IOS calls that mode). I also
> couldn't find a setting to turn off the sounds in the app itself.
> I think ignoring silent mode could count as a bug, and an in-app toggle as
> a feature-request :).
>
> Keep up the good work!
>
> Jan-Pieter
>
> On Sun, 8 May 2022, 12:50 Ian Clark,  wrote:
>
> > Thanks Robert. I can reproduce the bug.
> >
> > There's no workaround I can find. The app needs to be terminated and
> > restarted. E.g by double-clicking the (hardware) Home button, which shows
> > thumbnails of open apps, and swiping upwards on the j901 app icon to make
> > it disappear.
> >
> > I'll put it on the bug list for the next update.
> >
> > Ian Clark
> >
> > On Sat, 7 May 2022 at 20:27, Robert Cyr  wrote:
> >
> > > ...
> >
> > The system will not respond, you are locked out.
> > > --
> > >
> > >
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] J on IOS

2022-05-08 Thread Jan-Pieter Jacobs
Talking about IOS bugs (great app, by the way), I noticed that some sounds
don't obey the silent mode (or whatever IOS calls that mode). I also
couldn't find a setting to turn off the sounds in the app itself.
I think ignoring silent mode could count as a bug, and an in-app toggle as
a feature-request :).

Keep up the good work!

Jan-Pieter

On Sun, 8 May 2022, 12:50 Ian Clark,  wrote:

> Thanks Robert. I can reproduce the bug.
>
> There's no workaround I can find. The app needs to be terminated and
> restarted. E.g by double-clicking the (hardware) Home button, which shows
> thumbnails of open apps, and swiping upwards on the j901 app icon to make
> it disappear.
>
> I'll put it on the bug list for the next update.
>
> Ian Clark
>
> On Sat, 7 May 2022 at 20:27, Robert Cyr  wrote:
>
> > ...
>
> The system will not respond, you are locked out.
> > --
> >
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] J on IOS

2022-05-08 Thread Ian Clark
Thanks Robert. I can reproduce the bug.

There's no workaround I can find. The app needs to be terminated and
restarted. E.g by double-clicking the (hardware) Home button, which shows
thumbnails of open apps, and swiping upwards on the j901 app icon to make
it disappear.

I'll put it on the bug list for the next update.

Ian Clark

On Sat, 7 May 2022 at 20:27, Robert Cyr  wrote:

> ...

The system will not respond, you are locked out.
> --
>
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jprogramming] J on IOS

2022-05-07 Thread Robert Cyr
It works very well. Now you can easily transfer your favorite J scripts to
the Apple ecosystem, edit and test your improved code. J is by nature
compact and therefore well suited to the smaller Ipad screen.

Granted you will probably not be writing your next killer app on the Ipad,
but still it would be nice if debugging would work on it, even if it were
only in command line mode.

For example, on your Ipad:

. in edit mode define and save a file containing the line:
   mean =: (+/%#)
. run the script. mean 5 7 will give 6
. in debug mode (dbg 1) mean 5 7 will give 6 and
mean 'abc' will yield a domain error
. go to edit mode, then return to execution mode
. try 8+9

The system will not respond, you are locked out.
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] J for iOS

2017-09-04 Thread bill lam
I have tried the j701 on iphone with ios 10.3.3, the jj scripts are
extremely helpful. Some observations,
The app uses j701 engine as well as j7 base library and add-ons, after I
copied all add-ons from jhs running on j805,
jjget '~addons'
The j805 plot addon failed to load since it has references to nouns IFQT
IFJA etc which are not defined in j701 base library. Then I copied the j805
base library as well,
jjget '~system'
Then there are other name conflicts between stdlib.its with ios/ios.ijs

On the j keyboard and editor, when editing a long script eg, stdlib.ijs,
tapping the delete ( <== ) , the script scrolls upwards for many lines and
the current line gone out of view.

A simple find/find next function would be helpful for script editing.

~user/start.ijs instead of the usual ~config/startup.ijs is assumed by
ios.ijs, it would be nice if ~config/startup.ijs also be supported and more
consistent with the other platforms.

On Aug 10, 2017 3:28 AM, "Eric Iverson"  wrote:

> An updated J is available at the Apple App Store. This fixes a few minor
> problems with the release on July 4th, adds a bell and whistle, and
> provides a new way to move scripts and data between your device and desktop
> called jj (j to j).
>
> See http://code.jsoftware.com/wiki/Guides/iOS for more information.
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] J for iOS

2017-08-10 Thread 'Mike Day' via Programming
Thanks, Joey.  
Will think about whether I wish to lose the odd script before proceeding.
Mike
Please reply to mike_liz@tiscali.co.uk.  
Sent from my iPad

> On 10 Aug 2017, at 16:31, Joey K Tuttle  wrote:
> 
> The on device update path for iOS is via the "App Store" on the menu bar 
> there, the rightmost item is Updates. That will show you pending updates for 
> all your Apps. Items appearing there have a button "UPDATE" and after 
> invoking that and downloading/installing the update, that will change to 
> "OPEN".
> 
> However, if you use one of the tests in the discussion below and see that 
> some parts of J701 are still the old version. If you don't have potential 
> trouble with saved data, I recommend following Eric's suggestion of touching 
> the J icon until it wiggles, then delete it. Then go to the App Store again 
> and search for "J Software" to get a fresh copy of the new stuff.
> 
> 
>> On 2017Aug 10, at 07:10, 'Mike Day' via Programming 
>>  wrote:
>> 
>> I'm still an ingenu on iPad;  how do I get it to update?
>> 
>> Searching APPS for jsoftware reveals J701, with a rectangular open button.
>> 
>> No evident option to update. Selecting OPEN starts up my existing version...
>> 
>> Thanks,
>> 
>> Mike
>> 
>> 
>> 
>>> On 10/08/2017 00:55, Eric Iverson wrote:
>>> Joey, Patrick,
>>> 
>>> It looks as if you have the new j701 binary, but don't have the new data
>>> bundle (scripts). You are seeing the scripts from the earlier j701 release
>>> before the jj stuff was cleaned up.
>>> 
>>> I think the bundle at the app store is good based on the fact that when I
>>> do a clean install I get what I expect.
>>> 
>>> My guess is that somehow doing an update to an existing install doesn't
>>> update the bundle.
>>> 
>>> I have probably got some setting wrong (out of a few thousand) and will dig
>>> into it.
>>> 
>>> Please try the following:
>>> 
>>> 1. make sure j701 is not running - double tap home key and discard (up
>>> swipe) any j701 stuff
>>> 2. delete the j701 app - press and hold, tap the x button in the corner,
>>> press the home key
>>> 3. get it again from the app store
>>> 4. try jj et. al. again
>>> 
>>> 
>>> 
>>> On Wed, Aug 9, 2017 at 7:47 PM, Eric Iverson 
>>> wrote:
>>> 
 Joey,
 
 This will be tedious, but could you please do:
 
   jjget_jj_
 
 and give me the the first 3 or 3 lines (at least in summary).
 
 On Wed, Aug 9, 2017 at 7:39 PM, Eric Iverson 
 wrote:
 
> Patrick,
> 
> You give 192.168.0.19:65001 which is exactly what the wiki page gives by
> way of an example. This could be true on your system, but is unlikely, The
> jjset arg should be the one reported in the init_jjserver_ on the JHS
> server.
> 
> However. the other problems you and Joey report remains.
> 
> 
> 
> On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington 
> wrote:
> 
>> Eric,
>> I get the same results as Joey. In addition,
>> names_jj_ 0
>> PASS SERVER TAR URL
>> posttemplate
>> 
>> and PASS has the password I entered and SERVER has
>> 192.168.0.19:65001
>> 
>>Patrick
>> 
>> 
>>> On Wed, 9 Aug 2017, Joey K Tuttle wrote:
>>> 
>>>  VERSION_j_
>>> 701.1 2
>>>  jj
>>> |value error: jj
>>> 
>>> explicitly doing
>>> 
>>>  load '~system/util/jj.ijs'
>>> 
>>> NB. executes with no complaint (and, of course, no result shown)
>>> NB. but then when (as suggested in http://code.jsoftware.com/wiki
>>> /Guides/iOS ) I do -
>>> 
>>>  jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no
>>> result appears) but
>>>  jjget '~addons/math/miax'
>>> |domain error:   jjget_jj_
>>> |   jjget'~addons/math/misc'
>>> 
 nl_jj_ 3
>>> jjdo
>>> jjget
>>> jjput
>>> jjset
>>> 
>>> 
>>> NB. So things look like they are almost working, but something is
>>> tripping me up.
>>> 
>>> ~~ a couple of aside observations...
>>> 
>>> typing paths with the greatly improved keyboard is almost as painful as
>>> it used to be in the older version (because of having to shift to !
>>> keyboard for / ...)
>>> 
>>> Retyping the stuff above makes me resolve to find a way to disable
>>> spell checking in Apple mail client more easily (and may have 
>>> "corrected"
>>> things that I didn't notice - if so, please read as what you think it
>>> should be.
>>> 
>>> - joey
>>> 
>>> 
 On 2017Aug 9, at 14:19, Eric Iverson  wrote:
 Strange. As we always say, it works for me.
 
 What is the value of VERSION_j_ ? It should be '701.1 2'.
 
 But that has to be right as you indicate the backspace key repeats 

Re: [Jprogramming] J for iOS

2017-08-10 Thread Joey K Tuttle
The on device update path for iOS is via the "App Store" on the menu bar there, 
the rightmost item is Updates. That will show you pending updates for all your 
Apps. Items appearing there have a button "UPDATE" and after invoking that and 
downloading/installing the update, that will change to "OPEN".

However, if you use one of the tests in the discussion below and see that some 
parts of J701 are still the old version. If you don't have potential trouble 
with saved data, I recommend following Eric's suggestion of touching the J icon 
until it wiggles, then delete it. Then go to the App Store again and search for 
"J Software" to get a fresh copy of the new stuff.


> On 2017Aug 10, at 07:10, 'Mike Day' via Programming 
>  wrote:
> 
> I'm still an ingenu on iPad;  how do I get it to update?
> 
> Searching APPS for jsoftware reveals J701, with a rectangular open button.
> 
> No evident option to update. Selecting OPEN starts up my existing version...
> 
> Thanks,
> 
> Mike
> 
> 
> 
> On 10/08/2017 00:55, Eric Iverson wrote:
>> Joey, Patrick,
>> 
>> It looks as if you have the new j701 binary, but don't have the new data
>> bundle (scripts). You are seeing the scripts from the earlier j701 release
>> before the jj stuff was cleaned up.
>> 
>> I think the bundle at the app store is good based on the fact that when I
>> do a clean install I get what I expect.
>> 
>> My guess is that somehow doing an update to an existing install doesn't
>> update the bundle.
>> 
>> I have probably got some setting wrong (out of a few thousand) and will dig
>> into it.
>> 
>> Please try the following:
>> 
>> 1. make sure j701 is not running - double tap home key and discard (up
>> swipe) any j701 stuff
>> 2. delete the j701 app - press and hold, tap the x button in the corner,
>> press the home key
>> 3. get it again from the app store
>> 4. try jj et. al. again
>> 
>> 
>> 
>> On Wed, Aug 9, 2017 at 7:47 PM, Eric Iverson 
>> wrote:
>> 
>>> Joey,
>>> 
>>> This will be tedious, but could you please do:
>>> 
>>>jjget_jj_
>>> 
>>> and give me the the first 3 or 3 lines (at least in summary).
>>> 
>>> On Wed, Aug 9, 2017 at 7:39 PM, Eric Iverson 
>>> wrote:
>>> 
 Patrick,
 
 You give 192.168.0.19:65001 which is exactly what the wiki page gives by
 way of an example. This could be true on your system, but is unlikely, The
 jjset arg should be the one reported in the init_jjserver_ on the JHS
 server.
 
 However. the other problems you and Joey report remains.
 
 
 
 On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington 
 wrote:
 
> Eric,
> I get the same results as Joey. In addition,
> names_jj_ 0
> PASS SERVER TAR URL
> posttemplate
> 
> and PASS has the password I entered and SERVER has
> 192.168.0.19:65001
> 
> Patrick
> 
> 
> On Wed, 9 Aug 2017, Joey K Tuttle wrote:
> 
>>   VERSION_j_
>> 701.1 2
>>   jj
>> |value error: jj
>> 
>> explicitly doing
>> 
>>   load '~system/util/jj.ijs'
>> 
>> NB. executes with no complaint (and, of course, no result shown)
>> NB. but then when (as suggested in http://code.jsoftware.com/wiki
>> /Guides/iOS ) I do -
>> 
>>   jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no
>> result appears) but
>>   jjget '~addons/math/miax'
>> |domain error:   jjget_jj_
>> |   jjget'~addons/math/misc'
>> 
>>   >nl_jj_ 3
>> jjdo
>> jjget
>> jjput
>> jjset
>> 
>> 
>> NB. So things look like they are almost working, but something is
>> tripping me up.
>> 
>> ~~ a couple of aside observations...
>> 
>> typing paths with the greatly improved keyboard is almost as painful as
>> it used to be in the older version (because of having to shift to !
>> keyboard for / ...)
>> 
>> Retyping the stuff above makes me resolve to find a way to disable
>> spell checking in Apple mail client more easily (and may have "corrected"
>> things that I didn't notice - if so, please read as what you think it
>> should be.
>> 
>> - joey
>> 
>> 
>> On 2017Aug 9, at 14:19, Eric Iverson  wrote:
>>> Strange. As we always say, it works for me.
>>> 
>>> What is the value of VERSION_j_ ? It should be '701.1 2'.
>>> 
>>> But that has to be right as you indicate the backspace key repeats if
>>> you
>>> hold it down.
>>> 
>>> Is there any chance you are trying jj in the previous j701 version?
>>> 
>>> I also just realized that I probably need to update the JHS addon.
>>> 
>>> I will look at this later tonight if you can give me a little more
>>> info.
>>> 
>>> All that jj does is to:
>>>   load'~system/util/jj.ijs'
>>> 
>>> 

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle
Yes, that does seem to be the case.

I suspect you are right - in the case of an app like a game, the app remembers 
all of my history through all updates.  I have often thought that you could 
define a "workspace" that would keep the current session as a history, then 
when restarting the app (even after killing it, or not using it for a long 
time), the session in progress would still be live. I think a lot of people 
would like that. Of course, there should be a way to }clear the session --- I 
am not proposing to revert to something like the WS structure in APL - but it 
is really nice to have the input log carry over from session to session. I make 
a LOT of use in that  when using jconsole in Apple Terminal.

So, I deleted J and did a clean install from the App Store (the J download is 
tiny compared to most...) - then i see

   jjget_jj_
3 : 0
y jjget~ (y i:'/'){.y
:
target=. x [ source=. y
st=. 'ftype y'jjdo source
'source is not a file or folder'assert 0~:st
mkdir_j_ target
'target is not a folder'assert 2=ftype target
t=. target,(source i:'/')}.source
if. 1=st do.
 d=. 'fread y' jjdo source
 'write to target failed'assert (#d)=d fwrite t
else.
 'tar y'jjdo 'c';TAR;source;''
 d=. 'fread y' jjdo TAR
 d fwrite TAR
 tar 'x';TAR;t
end.
'OK'
)

quite different from the previous result. Also 

   jj 0
 jjset 'ip:port pswd'
[target] jjget source
[target] jjput source
'...'jjdo  y

source is .../FILE or .../FOLDER
to put in target folder

elided target is ... from source

NB. seems to be what you were expecting. Although I recall seeing the load of 
jj.ijs in an earlier instance...

   >nl_jj_ &,> 0 3
TAR 
URL 
jjdo
jjget   
jjput   
jjset   
posttemplate
test  
  
   test_jj_
3 : 0
mkdir_j_'~temp/jj'
ferase {."1 fdir'~temp/jjx*'
ferase {."1 fdir'~temp/jjy/*'
ferase {."1 fdir'~temp/jjz/*'
'abc'fwrite'~temp/jjx/a'
'~temp/jj/b'jjput'~temp/jjx/a'
'~temp/jj/c'jjget'~temp/jjx/b'
assert fexist (<'~temp/jjx/'),each ;:'a b c'

'~temp/jjy'jjput'~temp/jjx'
assert fexist (<'~temp/jjy/'),each ;:'a b c'
'~temp/jjz'jjget'~temp/jjy'
assert fexist (<'~temp/jjz/'),each ;:'a b c'
)

~~~

Now I want to go reinstall my start.ijs and some working files that I had in 
place - fortunately, having iExplorer makes that reasonably easy.

So, progress is being made.


> On 2017Aug 9, at 19:01, Eric Iverson  wrote:
> 
> That is the jjget_jj_ from the previous j701 install. To get the new bundle
> docs you will have to go through the steps I gave earlier. The did work for
> Patrick, but had the nasty side effect of loosing his other data.
> 
> I am starting to understand what the problem is and should be able to fix
> it the next time around.
> 
> If you really do not want to do the delete and clean install you could see
> if jjget and jjput work as dyads. That is,
> 
> '~temp/t.txt' jjget '~temp/t.txt'
> 
> But the new version is much cleaner and I hope you can manage to do the
> delete and clean install.
> 
> 
> On Wed, Aug 9, 2017 at 9:19 PM, Joey K Tuttle  wrote:
> 
>> Actually not too tedious, the copy paste across devices combined with your
>> jsetcb '...  avoided having to retype everything.
>> 
>> Some added thoughts about this - I started from a clean start (if not
>> install) by killing the J task then restarting it. Then, I did -
>> 
>>   untable >nl_jj_ &.> 0 3
>> TAR URL posttemplate
>> jjdojjget   jjput   jjset
>> 
>> NB. This was without loading jj.ijs, so _jj_ locale seems to have already
>> been there.  That followed by -
>> 
>>   jjget_jj_
>> 4 : 0
>> target=. x [ source=. y
>> select. 'ftype y'jjdo source
>> case. 1 do.
>> d=. 'fread y' jjdo source
>> mkdir_j_ (target i: '/'){.target NB. ensure path
>> 'write to target failed'assert (#d)=d fwrite target
>> case. 2 do.
>> 'tar y'jjdo 'c';TAR;source;''
>> d=. 'fread y' jjdo TAR
>> d fwrite TAR
>> mkdir_j_ target
>> tar 'x';TAR;target
>> case. do.
>> 'source is not a file or folder'assert 0
>> end.
>> )
>> 
>> May be what you were requesting.
>> 
>> A thought occurred to me that you will notice my own tool from profile
>> (unable) that is loaded on startup across all my j installations. My
>> thought was that perhaps your "clean install" didn't have to contend with
>> an existing start.ijs script file. But the first line in above would seem
>> to indicate that it isn't necessary in this case.
>> 
>> Oh, there was one somewhat tedious bit that I don't understand (but is
>> probably one of those "thousands of settings" you mentioned) I could not
>> simply use jsetcb '... and then past into this email. I had to first paste
>> it into Pages on the iPhone (probably could have used some other app
>> dealing with text, but I didn't try others). Also, to be forthright, I
>> haven't yet been able to reverse the process (to take things from OS X back
>> into iOS) - computers are often a puzzle...
>> 
>> - joey
>> 
>>> On 2017Aug 9, at 16:47, Eric Iverson 

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle
Actually not too tedious, the copy paste across devices combined with your 
jsetcb '...  avoided having to retype everything.

Some added thoughts about this - I started from a clean start (if not install) 
by killing the J task then restarting it. Then, I did -

   untable >nl_jj_ &.> 0 3
TAR URL posttemplate
jjdojjget   jjput   jjset   

NB. This was without loading jj.ijs, so _jj_ locale seems to have already been 
there.  That followed by -

   jjget_jj_
4 : 0
target=. x [ source=. y
select. 'ftype y'jjdo source
case. 1 do.
 d=. 'fread y' jjdo source
 mkdir_j_ (target i: '/'){.target NB. ensure path
 'write to target failed'assert (#d)=d fwrite target
case. 2 do.
 'tar y'jjdo 'c';TAR;source;''
 d=. 'fread y' jjdo TAR
 d fwrite TAR
 mkdir_j_ target
 tar 'x';TAR;target
case. do.
 'source is not a file or folder'assert 0
end. 
)

May be what you were requesting.

A thought occurred to me that you will notice my own tool from profile (unable) 
that is loaded on startup across all my j installations. My thought was that 
perhaps your "clean install" didn't have to contend with an existing start.ijs 
script file. But the first line in above would seem to indicate that it isn't 
necessary in this case.

Oh, there was one somewhat tedious bit that I don't understand (but is probably 
one of those "thousands of settings" you mentioned) I could not simply use 
jsetcb '... and then past into this email. I had to first paste it into Pages 
on the iPhone (probably could have used some other app dealing with text, but I 
didn't try others). Also, to be forthright, I haven't yet been able to reverse 
the process (to take things from OS X back into iOS) - computers are often a 
puzzle...

- joey

> On 2017Aug 9, at 16:47, Eric Iverson  wrote:
> 
> Joey,
> 
> This will be tedious, but could you please do:
> 
>   jjget_jj_
> 
> and give me the the first 3 or 3 lines (at least in summary).
> 
> On Wed, Aug 9, 2017 at 7:39 PM, Eric Iverson 
> wrote:
> 
>> Patrick,
>> 
>> You give 192.168.0.19:65001 which is exactly what the wiki page gives by
>> way of an example. This could be true on your system, but is unlikely, The
>> jjset arg should be the one reported in the init_jjserver_ on the JHS
>> server.
>> 
>> However. the other problems you and Joey report remains.
>> 
>> 
>> 
>> On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington 
>> wrote:
>> 
>>> Eric,
>>> I get the same results as Joey. In addition,
>>> names_jj_ 0
>>> PASS SERVER TAR URL
>>> posttemplate
>>> 
>>> and PASS has the password I entered and SERVER has
>>> 192.168.0.19:65001
>>> 
>>>Patrick
>>> 
>>> 
>>> On Wed, 9 Aug 2017, Joey K Tuttle wrote:
>>> 
 
  VERSION_j_
 701.1 2
  jj
 |value error: jj
 
 explicitly doing
 
  load '~system/util/jj.ijs'
 
 NB. executes with no complaint (and, of course, no result shown)
 NB. but then when (as suggested in http://code.jsoftware.com/wiki
 /Guides/iOS ) I do -
 
  jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no
 result appears) but
  jjget '~addons/math/miax'
 |domain error:   jjget_jj_
 |   jjget'~addons/math/misc'
 
> nl_jj_ 3
 jjdo
 jjget
 jjput
 jjset
 
 
 NB. So things look like they are almost working, but something is
 tripping me up.
 
 ~~ a couple of aside observations...
 
 typing paths with the greatly improved keyboard is almost as painful as
 it used to be in the older version (because of having to shift to !
 keyboard for / ...)
 
 Retyping the stuff above makes me resolve to find a way to disable spell
 checking in Apple mail client more easily (and may have "corrected" things
 that I didn't notice - if so, please read as what you think it should be.
 
 - joey
 
 
 On 2017Aug 9, at 14:19, Eric Iverson  wrote:
> 
> Strange. As we always say, it works for me.
> 
> What is the value of VERSION_j_ ? It should be '701.1 2'.
> 
> But that has to be right as you indicate the backspace key repeats if
> you
> hold it down.
> 
> Is there any chance you are trying jj in the previous j701 version?
> 
> I also just realized that I probably need to update the JHS addon.
> 
> I will look at this later tonight if you can give me a little more info.
> 
> All that jj does is to:
>  load'~system/util/jj.ijs'
> 
> 
> 
> 
> On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:
> 
> Eric,
>> 
>> Bravo on the keyboard change and the repeating keys (just really nice
>> to
>> have them!)
>> 
>> I think your setup for j to j is exciting news too, but am disappointed
>> after starting the new release getting -
>> 
>>  jj 0
>> |value error: 

Re: [Jprogramming] J for iOS

2017-08-09 Thread Eric Iverson
Joey,

I agree with you re / on keyboard. In next version I will squeeze in a few
more 'important' keys. My current set is / and ~

On Wed, Aug 9, 2017 at 7:55 PM, Eric Iverson 
wrote:

> Joey, Patrick,
>
> It looks as if you have the new j701 binary, but don't have the new data
> bundle (scripts). You are seeing the scripts from the earlier j701 release
> before the jj stuff was cleaned up.
>
> I think the bundle at the app store is good based on the fact that when I
> do a clean install I get what I expect.
>
> My guess is that somehow doing an update to an existing install doesn't
> update the bundle.
>
> I have probably got some setting wrong (out of a few thousand) and will
> dig into it.
>
> Please try the following:
>
> 1. make sure j701 is not running - double tap home key and discard (up
> swipe) any j701 stuff
> 2. delete the j701 app - press and hold, tap the x button in the corner,
> press the home key
> 3. get it again from the app store
> 4. try jj et. al. again
>
>
>
> On Wed, Aug 9, 2017 at 7:47 PM, Eric Iverson 
> wrote:
>
>> Joey,
>>
>> This will be tedious, but could you please do:
>>
>>jjget_jj_
>>
>> and give me the the first 3 or 3 lines (at least in summary).
>>
>> On Wed, Aug 9, 2017 at 7:39 PM, Eric Iverson 
>> wrote:
>>
>>> Patrick,
>>>
>>> You give 192.168.0.19:65001 which is exactly what the wiki page gives
>>> by way of an example. This could be true on your system, but is unlikely,
>>> The jjset arg should be the one reported in the init_jjserver_ on the JHS
>>> server.
>>>
>>> However. the other problems you and Joey report remains.
>>>
>>>
>>>
>>> On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington >> > wrote:
>>>
 Eric,
 I get the same results as Joey. In addition,
 names_jj_ 0
 PASS SERVER TAR URL
 posttemplate

 and PASS has the password I entered and SERVER has
 192.168.0.19:65001

 Patrick


 On Wed, 9 Aug 2017, Joey K Tuttle wrote:

>
>   VERSION_j_
> 701.1 2
>   jj
> |value error: jj
>
> explicitly doing
>
>   load '~system/util/jj.ijs'
>
> NB. executes with no complaint (and, of course, no result shown)
> NB. but then when (as suggested in http://code.jsoftware.com/wiki
> /Guides/iOS ) I do -
>
>   jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no
> result appears) but
>   jjget '~addons/math/miax'
> |domain error:   jjget_jj_
> |   jjget'~addons/math/misc'
>
>   >nl_jj_ 3
> jjdo
> jjget
> jjput
> jjset
>
>
> NB. So things look like they are almost working, but something is
> tripping me up.
>
> ~~ a couple of aside observations...
>
> typing paths with the greatly improved keyboard is almost as painful
> as it used to be in the older version (because of having to shift to !
> keyboard for / ...)
>
> Retyping the stuff above makes me resolve to find a way to disable
> spell checking in Apple mail client more easily (and may have "corrected"
> things that I didn't notice - if so, please read as what you think it
> should be.
>
> - joey
>
>
> On 2017Aug 9, at 14:19, Eric Iverson  wrote:
>>
>> Strange. As we always say, it works for me.
>>
>> What is the value of VERSION_j_ ? It should be '701.1 2'.
>>
>> But that has to be right as you indicate the backspace key repeats if
>> you
>> hold it down.
>>
>> Is there any chance you are trying jj in the previous j701 version?
>>
>> I also just realized that I probably need to update the JHS addon.
>>
>> I will look at this later tonight if you can give me a little more
>> info.
>>
>> All that jj does is to:
>>   load'~system/util/jj.ijs'
>>
>>
>>
>>
>> On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:
>>
>> Eric,
>>>
>>> Bravo on the keyboard change and the repeating keys (just really
>>> nice to
>>> have them!)
>>>
>>> I think your setup for j to j is exciting news too, but am
>>> disappointed
>>> after starting the new release getting -
>>>
>>>   jj 0
>>> |value error: jj
>>>
>>> The suggested scripts in desktop JHS seem to work in setting up the
>>> connection.
>>>
>>> Maybe I'm missing a script update on the iOS side? or ??
>>>
>>> - joey
>>>
>>>
>>> On 2017Aug 9, at 12:28, Eric Iverson 
 wrote:

 An updated J is available at the Apple App Store. This fixes a few
 minor
 problems with the release on July 4th, adds a bell and whistle, and
 provides a new way to move scripts and data between your device and

>>> desktop
>>>
 

Re: [Jprogramming] J for iOS

2017-08-09 Thread Eric Iverson
Joey, Patrick,

It looks as if you have the new j701 binary, but don't have the new data
bundle (scripts). You are seeing the scripts from the earlier j701 release
before the jj stuff was cleaned up.

I think the bundle at the app store is good based on the fact that when I
do a clean install I get what I expect.

My guess is that somehow doing an update to an existing install doesn't
update the bundle.

I have probably got some setting wrong (out of a few thousand) and will dig
into it.

Please try the following:

1. make sure j701 is not running - double tap home key and discard (up
swipe) any j701 stuff
2. delete the j701 app - press and hold, tap the x button in the corner,
press the home key
3. get it again from the app store
4. try jj et. al. again



On Wed, Aug 9, 2017 at 7:47 PM, Eric Iverson 
wrote:

> Joey,
>
> This will be tedious, but could you please do:
>
>jjget_jj_
>
> and give me the the first 3 or 3 lines (at least in summary).
>
> On Wed, Aug 9, 2017 at 7:39 PM, Eric Iverson 
> wrote:
>
>> Patrick,
>>
>> You give 192.168.0.19:65001 which is exactly what the wiki page gives by
>> way of an example. This could be true on your system, but is unlikely, The
>> jjset arg should be the one reported in the init_jjserver_ on the JHS
>> server.
>>
>> However. the other problems you and Joey report remains.
>>
>>
>>
>> On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington 
>> wrote:
>>
>>> Eric,
>>> I get the same results as Joey. In addition,
>>> names_jj_ 0
>>> PASS SERVER TAR URL
>>> posttemplate
>>>
>>> and PASS has the password I entered and SERVER has
>>> 192.168.0.19:65001
>>>
>>> Patrick
>>>
>>>
>>> On Wed, 9 Aug 2017, Joey K Tuttle wrote:
>>>

   VERSION_j_
 701.1 2
   jj
 |value error: jj

 explicitly doing

   load '~system/util/jj.ijs'

 NB. executes with no complaint (and, of course, no result shown)
 NB. but then when (as suggested in http://code.jsoftware.com/wiki
 /Guides/iOS ) I do -

   jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no
 result appears) but
   jjget '~addons/math/miax'
 |domain error:   jjget_jj_
 |   jjget'~addons/math/misc'

   >nl_jj_ 3
 jjdo
 jjget
 jjput
 jjset


 NB. So things look like they are almost working, but something is
 tripping me up.

 ~~ a couple of aside observations...

 typing paths with the greatly improved keyboard is almost as painful as
 it used to be in the older version (because of having to shift to !
 keyboard for / ...)

 Retyping the stuff above makes me resolve to find a way to disable
 spell checking in Apple mail client more easily (and may have "corrected"
 things that I didn't notice - if so, please read as what you think it
 should be.

 - joey


 On 2017Aug 9, at 14:19, Eric Iverson  wrote:
>
> Strange. As we always say, it works for me.
>
> What is the value of VERSION_j_ ? It should be '701.1 2'.
>
> But that has to be right as you indicate the backspace key repeats if
> you
> hold it down.
>
> Is there any chance you are trying jj in the previous j701 version?
>
> I also just realized that I probably need to update the JHS addon.
>
> I will look at this later tonight if you can give me a little more
> info.
>
> All that jj does is to:
>   load'~system/util/jj.ijs'
>
>
>
>
> On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:
>
> Eric,
>>
>> Bravo on the keyboard change and the repeating keys (just really nice
>> to
>> have them!)
>>
>> I think your setup for j to j is exciting news too, but am
>> disappointed
>> after starting the new release getting -
>>
>>   jj 0
>> |value error: jj
>>
>> The suggested scripts in desktop JHS seem to work in setting up the
>> connection.
>>
>> Maybe I'm missing a script update on the iOS side? or ??
>>
>> - joey
>>
>>
>> On 2017Aug 9, at 12:28, Eric Iverson 
>>> wrote:
>>>
>>> An updated J is available at the Apple App Store. This fixes a few
>>> minor
>>> problems with the release on July 4th, adds a bell and whistle, and
>>> provides a new way to move scripts and data between your device and
>>>
>> desktop
>>
>>> called jj (j to j).
>>>
>>> See http://code.jsoftware.com/wiki/Guides/iOS for more information.
>>> 
>>> --
>>> For information about J forums see http://www.jsoftware.com/forum
>>> s.htm
>>>
>>
>> 
>> --
>> For 

Re: [Jprogramming] J for iOS

2017-08-09 Thread Eric Iverson
Joey,

This will be tedious, but could you please do:

   jjget_jj_

and give me the the first 3 or 3 lines (at least in summary).

On Wed, Aug 9, 2017 at 7:39 PM, Eric Iverson 
wrote:

> Patrick,
>
> You give 192.168.0.19:65001 which is exactly what the wiki page gives by
> way of an example. This could be true on your system, but is unlikely, The
> jjset arg should be the one reported in the init_jjserver_ on the JHS
> server.
>
> However. the other problems you and Joey report remains.
>
>
>
> On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington 
> wrote:
>
>> Eric,
>> I get the same results as Joey. In addition,
>> names_jj_ 0
>> PASS SERVER TAR URL
>> posttemplate
>>
>> and PASS has the password I entered and SERVER has
>> 192.168.0.19:65001
>>
>> Patrick
>>
>>
>> On Wed, 9 Aug 2017, Joey K Tuttle wrote:
>>
>>>
>>>   VERSION_j_
>>> 701.1 2
>>>   jj
>>> |value error: jj
>>>
>>> explicitly doing
>>>
>>>   load '~system/util/jj.ijs'
>>>
>>> NB. executes with no complaint (and, of course, no result shown)
>>> NB. but then when (as suggested in http://code.jsoftware.com/wiki
>>> /Guides/iOS ) I do -
>>>
>>>   jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no
>>> result appears) but
>>>   jjget '~addons/math/miax'
>>> |domain error:   jjget_jj_
>>> |   jjget'~addons/math/misc'
>>>
>>>   >nl_jj_ 3
>>> jjdo
>>> jjget
>>> jjput
>>> jjset
>>>
>>>
>>> NB. So things look like they are almost working, but something is
>>> tripping me up.
>>>
>>> ~~ a couple of aside observations...
>>>
>>> typing paths with the greatly improved keyboard is almost as painful as
>>> it used to be in the older version (because of having to shift to !
>>> keyboard for / ...)
>>>
>>> Retyping the stuff above makes me resolve to find a way to disable spell
>>> checking in Apple mail client more easily (and may have "corrected" things
>>> that I didn't notice - if so, please read as what you think it should be.
>>>
>>> - joey
>>>
>>>
>>> On 2017Aug 9, at 14:19, Eric Iverson  wrote:

 Strange. As we always say, it works for me.

 What is the value of VERSION_j_ ? It should be '701.1 2'.

 But that has to be right as you indicate the backspace key repeats if
 you
 hold it down.

 Is there any chance you are trying jj in the previous j701 version?

 I also just realized that I probably need to update the JHS addon.

 I will look at this later tonight if you can give me a little more info.

 All that jj does is to:
   load'~system/util/jj.ijs'




 On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:

 Eric,
>
> Bravo on the keyboard change and the repeating keys (just really nice
> to
> have them!)
>
> I think your setup for j to j is exciting news too, but am disappointed
> after starting the new release getting -
>
>   jj 0
> |value error: jj
>
> The suggested scripts in desktop JHS seem to work in setting up the
> connection.
>
> Maybe I'm missing a script update on the iOS side? or ??
>
> - joey
>
>
> On 2017Aug 9, at 12:28, Eric Iverson  wrote:
>>
>> An updated J is available at the Apple App Store. This fixes a few
>> minor
>> problems with the release on July 4th, adds a bell and whistle, and
>> provides a new way to move scripts and data between your device and
>>
> desktop
>
>> called jj (j to j).
>>
>> See http://code.jsoftware.com/wiki/Guides/iOS for more information.
>> 
>> --
>> For information about J forums see http://www.jsoftware.com/forum
>> s.htm
>>
>
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
 --
 For information about J forums see http://www.jsoftware.com/forums.htm

>>>
>>> --
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] J for iOS

2017-08-09 Thread Eric Iverson
Patrick,

You give 192.168.0.19:65001 which is exactly what the wiki page gives by
way of an example. This could be true on your system, but is unlikely, The
jjset arg should be the one reported in the init_jjserver_ on the JHS
server.

However. the other problems you and Joey report remains.



On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington 
wrote:

> Eric,
> I get the same results as Joey. In addition,
> names_jj_ 0
> PASS SERVER TAR URL
> posttemplate
>
> and PASS has the password I entered and SERVER has
> 192.168.0.19:65001
>
> Patrick
>
>
> On Wed, 9 Aug 2017, Joey K Tuttle wrote:
>
>>
>>   VERSION_j_
>> 701.1 2
>>   jj
>> |value error: jj
>>
>> explicitly doing
>>
>>   load '~system/util/jj.ijs'
>>
>> NB. executes with no complaint (and, of course, no result shown)
>> NB. but then when (as suggested in http://code.jsoftware.com/wiki
>> /Guides/iOS ) I do -
>>
>>   jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no
>> result appears) but
>>   jjget '~addons/math/miax'
>> |domain error:   jjget_jj_
>> |   jjget'~addons/math/misc'
>>
>>   >nl_jj_ 3
>> jjdo
>> jjget
>> jjput
>> jjset
>>
>>
>> NB. So things look like they are almost working, but something is
>> tripping me up.
>>
>> ~~ a couple of aside observations...
>>
>> typing paths with the greatly improved keyboard is almost as painful as
>> it used to be in the older version (because of having to shift to !
>> keyboard for / ...)
>>
>> Retyping the stuff above makes me resolve to find a way to disable spell
>> checking in Apple mail client more easily (and may have "corrected" things
>> that I didn't notice - if so, please read as what you think it should be.
>>
>> - joey
>>
>>
>> On 2017Aug 9, at 14:19, Eric Iverson  wrote:
>>>
>>> Strange. As we always say, it works for me.
>>>
>>> What is the value of VERSION_j_ ? It should be '701.1 2'.
>>>
>>> But that has to be right as you indicate the backspace key repeats if you
>>> hold it down.
>>>
>>> Is there any chance you are trying jj in the previous j701 version?
>>>
>>> I also just realized that I probably need to update the JHS addon.
>>>
>>> I will look at this later tonight if you can give me a little more info.
>>>
>>> All that jj does is to:
>>>   load'~system/util/jj.ijs'
>>>
>>>
>>>
>>>
>>> On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:
>>>
>>> Eric,

 Bravo on the keyboard change and the repeating keys (just really nice to
 have them!)

 I think your setup for j to j is exciting news too, but am disappointed
 after starting the new release getting -

   jj 0
 |value error: jj

 The suggested scripts in desktop JHS seem to work in setting up the
 connection.

 Maybe I'm missing a script update on the iOS side? or ??

 - joey


 On 2017Aug 9, at 12:28, Eric Iverson  wrote:
>
> An updated J is available at the Apple App Store. This fixes a few
> minor
> problems with the release on July 4th, adds a bell and whistle, and
> provides a new way to move scripts and data between your device and
>
 desktop

> called jj (j to j).
>
> See http://code.jsoftware.com/wiki/Guides/iOS for more information.
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>

 --
 For information about J forums see http://www.jsoftware.com/forums.htm

>>> --
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>
>>
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] J for iOS

2017-08-09 Thread J. Patrick Harrington

Eric,
I get the same results as Joey. In addition,
names_jj_ 0
PASS SERVER TAR URL
posttemplate

and PASS has the password I entered and SERVER has
192.168.0.19:65001

Patrick

On Wed, 9 Aug 2017, Joey K Tuttle wrote:


  VERSION_j_
701.1 2
  jj
|value error: jj

explicitly doing

  load '~system/util/jj.ijs'

NB. executes with no complaint (and, of course, no result shown)
NB. but then when (as suggested in http://code.jsoftware.com/wiki/Guides/iOS ) 
I do -

  jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no result 
appears) but
  jjget '~addons/math/miax'
|domain error:   jjget_jj_
|   jjget'~addons/math/misc'

  >nl_jj_ 3
jjdo
jjget
jjput
jjset


NB. So things look like they are almost working, but something is tripping me 
up.

~~ a couple of aside observations...

typing paths with the greatly improved keyboard is almost as painful as it used 
to be in the older version (because of having to shift to ! keyboard for / ...)

Retyping the stuff above makes me resolve to find a way to disable spell checking in 
Apple mail client more easily (and may have "corrected" things that I didn't 
notice - if so, please read as what you think it should be.

- joey



On 2017Aug 9, at 14:19, Eric Iverson  wrote:

Strange. As we always say, it works for me.

What is the value of VERSION_j_ ? It should be '701.1 2'.

But that has to be right as you indicate the backspace key repeats if you
hold it down.

Is there any chance you are trying jj in the previous j701 version?

I also just realized that I probably need to update the JHS addon.

I will look at this later tonight if you can give me a little more info.

All that jj does is to:
  load'~system/util/jj.ijs'




On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:


Eric,

Bravo on the keyboard change and the repeating keys (just really nice to
have them!)

I think your setup for j to j is exciting news too, but am disappointed
after starting the new release getting -

  jj 0
|value error: jj

The suggested scripts in desktop JHS seem to work in setting up the
connection.

Maybe I'm missing a script update on the iOS side? or ??

- joey



On 2017Aug 9, at 12:28, Eric Iverson  wrote:

An updated J is available at the Apple App Store. This fixes a few minor
problems with the release on July 4th, adds a bell and whistle, and
provides a new way to move scripts and data between your device and

desktop

called jj (j to j).

See http://code.jsoftware.com/wiki/Guides/iOS for more information.
--
For information about J forums see http://www.jsoftware.com/forums.htm


--
For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm


--
For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle

   VERSION_j_
701.1 2
   jj
|value error: jj

explicitly doing

   load '~system/util/jj.ijs'

NB. executes with no complaint (and, of course, no result shown)
NB. but then when (as suggested in http://code.jsoftware.com/wiki/Guides/iOS ) 
I do -

   jjset '10.1.1.23:65001 pswd'   NB. for my local network (again no result 
appears) but
   jjget '~addons/math/miax'
|domain error:   jjget_jj_
|   jjget'~addons/math/misc'

   >nl_jj_ 3
jjdo
jjget
jjput
jjset


NB. So things look like they are almost working, but something is tripping me 
up.

~~ a couple of aside observations...

typing paths with the greatly improved keyboard is almost as painful as it used 
to be in the older version (because of having to shift to ! keyboard for / ...)

Retyping the stuff above makes me resolve to find a way to disable spell 
checking in Apple mail client more easily (and may have "corrected" things that 
I didn't notice - if so, please read as what you think it should be.

- joey

 
> On 2017Aug 9, at 14:19, Eric Iverson  wrote:
> 
> Strange. As we always say, it works for me.
> 
> What is the value of VERSION_j_ ? It should be '701.1 2'.
> 
> But that has to be right as you indicate the backspace key repeats if you
> hold it down.
> 
> Is there any chance you are trying jj in the previous j701 version?
> 
> I also just realized that I probably need to update the JHS addon.
> 
> I will look at this later tonight if you can give me a little more info.
> 
> All that jj does is to:
>   load'~system/util/jj.ijs'
> 
> 
> 
> 
> On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:
> 
>> Eric,
>> 
>> Bravo on the keyboard change and the repeating keys (just really nice to
>> have them!)
>> 
>> I think your setup for j to j is exciting news too, but am disappointed
>> after starting the new release getting -
>> 
>>   jj 0
>> |value error: jj
>> 
>> The suggested scripts in desktop JHS seem to work in setting up the
>> connection.
>> 
>> Maybe I'm missing a script update on the iOS side? or ??
>> 
>> - joey
>> 
>> 
>>> On 2017Aug 9, at 12:28, Eric Iverson  wrote:
>>> 
>>> An updated J is available at the Apple App Store. This fixes a few minor
>>> problems with the release on July 4th, adds a bell and whistle, and
>>> provides a new way to move scripts and data between your device and
>> desktop
>>> called jj (j to j).
>>> 
>>> See http://code.jsoftware.com/wiki/Guides/iOS for more information.
>>> --
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] J for iOS

2017-08-09 Thread Eric Iverson
Strange. As we always say, it works for me.

What is the value of VERSION_j_ ? It should be '701.1 2'.

But that has to be right as you indicate the backspace key repeats if you
hold it down.

Is there any chance you are trying jj in the previous j701 version?

I also just realized that I probably need to update the JHS addon.

I will look at this later tonight if you can give me a little more info.

All that jj does is to:
   load'~system/util/jj.ijs'




On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle  wrote:

> Eric,
>
> Bravo on the keyboard change and the repeating keys (just really nice to
> have them!)
>
> I think your setup for j to j is exciting news too, but am disappointed
> after starting the new release getting -
>
>jj 0
> |value error: jj
>
> The suggested scripts in desktop JHS seem to work in setting up the
> connection.
>
> Maybe I'm missing a script update on the iOS side? or ??
>
> - joey
>
>
> > On 2017Aug 9, at 12:28, Eric Iverson  wrote:
> >
> > An updated J is available at the Apple App Store. This fixes a few minor
> > problems with the release on July 4th, adds a bell and whistle, and
> > provides a new way to move scripts and data between your device and
> desktop
> > called jj (j to j).
> >
> > See http://code.jsoftware.com/wiki/Guides/iOS for more information.
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle
Eric,

Bravo on the keyboard change and the repeating keys (just really nice to have 
them!)

I think your setup for j to j is exciting news too, but am disappointed after 
starting the new release getting -

   jj 0
|value error: jj

The suggested scripts in desktop JHS seem to work in setting up the connection.

Maybe I'm missing a script update on the iOS side? or ??

- joey


> On 2017Aug 9, at 12:28, Eric Iverson  wrote:
> 
> An updated J is available at the Apple App Store. This fixes a few minor
> problems with the release on July 4th, adds a bell and whistle, and
> provides a new way to move scripts and data between your device and desktop
> called jj (j to j).
> 
> See http://code.jsoftware.com/wiki/Guides/iOS for more information.
> --
> For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] J for iOS

2017-08-09 Thread Eric Iverson
An updated J is available at the Apple App Store. This fixes a few minor
problems with the release on July 4th, adds a bell and whistle, and
provides a new way to move scripts and data between your device and desktop
called jj (j to j).

See http://code.jsoftware.com/wiki/Guides/iOS for more information.
--
For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] J on iOS

2013-11-24 Thread Piet de Jong
Very impressed with this development.

Finally J on a handheld device -- after years of absence (I learned J on an
HP200LX - it was very useful to have it in my pocket instantly accessible)

One annoyance.   Why the huge amount of space given to Welcome to J 
etc
which occupies valuable real estate throughout a sessions.

Can this be removed?
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] J on iOS

2013-11-24 Thread Eric Iverson
Welcome is where plots etc show. Close it with touch of button with the
dot. Read the help. Enjoy.
On Sunday, November 24, 2013, Piet de Jong wrote:

 Very impressed with this development.

 Finally J on a handheld device -- after years of absence (I learned J on an
 HP200LX - it was very useful to have it in my pocket instantly accessible)

 One annoyance.   Why the huge amount of space given to Welcome to J 
 etc
 which occupies valuable real estate throughout a sessions.

 Can this be removed?
 --
 For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] J on iOS

2013-11-24 Thread Piet de Jong
Ok get it.
Thanks!


On Mon, Nov 25, 2013 at 9:40 AM, Eric Iverson eric.b.iver...@gmail.comwrote:

 Welcome is where plots etc show. Close it with touch of button with the
 dot. Read the help. Enjoy.
 On Sunday, November 24, 2013, Piet de Jong wrote:

  Very impressed with this development.
 
  Finally J on a handheld device -- after years of absence (I learned J on
 an
  HP200LX - it was very useful to have it in my pocket instantly
 accessible)
 
  One annoyance.   Why the huge amount of space given to Welcome to J 
  etc
  which occupies valuable real estate throughout a sessions.
 
  Can this be removed?
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 
 --
 For information about J forums see http://www.jsoftware.com/forums.htm




-- 
Piet de Jong
--
View my current research at
http://ssrn.com/author=619154
--
--
For information about J forums see http://www.jsoftware.com/forums.htm