guest server

39 views
Skip to first unread message

Eric Iverson

unread,
Jan 27, 2024, 12:16:32 PM1/27/24
to fo...@jsoftware.com
Please try out the Jsoftware experimental guest service:
https://server.jsoftware.com:65101/jguest

This provides anyone a full J system without requiring an install.

I am particularly interested in feedback (forum or me directly) on experience with iPad, iPhone, and other mobile devices.

Björn Helgason

unread,
Jan 27, 2024, 12:24:05 PM1/27/24
to fo...@jsoftware.com
I tried.

To use tutorial i started to learn plot.

I have no ctrl on android so menu > was ok but then the menu went upstairs out of sight so making the steps do not work as i hoped.

Looks good otherwise

--
To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Eric Iverson

unread,
Jan 27, 2024, 12:30:06 PM1/27/24
to fo...@jsoftware.com
Keeping the menu in view on mobile devices is a problem. You can probably use some finger actions (squeeze or scroll down) to get it back in view.

It would be easy to add some other trigger on mobile devices for lab advance. Ideas welcome.

I am also interested in comments about font size. It is difficult with CSS to get sizes that work across such a broad range of devices. It would be possible to allow an individual user to explicitly set what font size works best for them.

Brian Schott

unread,
Jan 27, 2024, 1:02:20 PM1/27/24
to fo...@jsoftware.com
Following Bjorn on an aging Android, I tapped tour and then tapped plot which produced the following info.

plot tour
ctrl+. or menu > advances (see noun spxhelp)
1 of 158 in  ~addons/ide/jhs/spx/plot.ijs


So I entered the following command on a new line of the g/jijx tab.
load'~addons/ide/jhs/spx/plot.ijs'

I did not realize that that command must have produced a new tab. I learned about the new tab by doing the same on my Mac mini in Chrome. What I did notice on the Android was the red surface plot that is produced in the new tab on the mini: https://server.jsoftware.com:65101/~temp/plot.html?2024_1_27_17_34_33_1169_17

Back on the android device, I somehow got out of the new tab and when I returned to tap the link in Eric's message, it took me to what looks like the g/jijx on the mini with the more complete results of the plot tour which ends with an error message and a dialog in a separate little window informing me to eliminate popup restrictions.

Perhaps related to the error mentioned above, on both the mini and android I get the following (error?) message at the end of the plot results.
www.d3js.org
www.gnuplot.info
|gnuplot not installed: assert
|   'gnuplot not installed'    assert 0
|[-245] /jguest/j/addons/ide/jhs/gnuplot.ijs

On the positive side, on the android when a (small) keyboard appears on screen I found I could move it when it got in the way by dragging it from its corner.

I am confused by the early readout on both devices shown next. What is that telling me and why is it not tap/click bait?
 JHS - Guest
menu>?>guest       - rules
menu>tour>overview - intro

If the purpose of this guest service is to enable and inspire new users, I think it needs to include some sort of instructions or video to tell how to get started. Also, it may be best to encourage landscape viewing because text gets truncated on the right side in portrait mode. On my android the text size is pretty good.

Thank you, Eric,
 

On Sat, Jan 27, 2024 at 12:24 PM Björn Helgason <gos...@gmail.com> wrote:
I tried.

To use tutorial i started to learn plot.

I have no ctrl on android so menu > was ok but then the menu went upstairs out of sight so making the steps do not work as i hoped.

Looks good otherwise


--
(B=)

Eric Iverson

unread,
Jan 27, 2024, 1:08:25 PM1/27/24
to fo...@jsoftware.com
Thanks for the feedback. I will take it seriously.

How could the first screen that says:

menu>?>guest       - rules
menu>tour>overview - intro

be more clear?

Is the idea of a menu at the top of the screen and how to navigate not standard.

Did you try menu>?guest to get the guest rules?

Didn't menu>?overview get you to the overview lab?

--

Don Guinn

unread,
Jan 27, 2024, 1:43:03 PM1/27/24
to fo...@jsoftware.com
All devices which do not have a ctrl key have touch screens. Why not implement those actions requiring a ctrl key be also defined as an action done on the touch screen? Such a tool could be quite useful on laptops or large systems as well as they have a mouse interface. Let these actions be available through mouse actions and a touch screen if available. 

Brian Schott

unread,
Jan 27, 2024, 1:45:10 PM1/27/24
to fo...@jsoftware.com
Eric,

What is menu? Is it this that follows?
ide tour ? > ↑ ↓

That hardly resembles a menu to me. But it must be. I'll have to think to come up with something better.

The results I report below can be ignored because I think I was in some unreproducible state when it happened. When I start using the "menu" properly I never get the results below.


"And when I try the first option (menu>?>guest       - rules) a dialog asks me to quit my session on my mini and does quit my session on android. 

"On mini and android, tapping out the second option (menu>tour>overview - intro) in menu, also I get the same results as before for the first option. 

On Sat, Jan 27, 2024 at 1:08 PM Eric Iverson <eric.b....@gmail.com> wrote:
Thanks for the feedback. I will take it seriously.

How could the first screen that says:

menu>?>guest       - rules
menu>tour>overview - intro

be more clear?

Is the idea of a menu at the top of the screen and how to navigate not standard.

Did you try menu>?guest to get the guest rules?

Didn't menu>?overview get you to the overview lab?



--
(B=)

Michal Wallace

unread,
Jan 27, 2024, 1:46:54 PM1/27/24
to fo...@jsoftware.com
I think I killed it with:

   dirtree '/'


Eric Iverson

unread,
Jan 27, 2024, 1:51:09 PM1/27/24
to fo...@jsoftware.com
Michal,
Indeed you did. Not obvious why. I will restart it after I have a poke around.

Don Guinn

unread,
Jan 27, 2024, 2:04:02 PM1/27/24
to fo...@jsoftware.com
Seems that the guest server is swamped now. I get a timeout trying to connect.

Eric Iverson

unread,
Jan 27, 2024, 2:05:34 PM1/27/24
to fo...@jsoftware.com
The server is dead. Looks like Michal killed it with an innocent looking expresstion.

Eric Iverson

unread,
Jan 27, 2024, 2:18:40 PM1/27/24
to fo...@jsoftware.com
I confirm that Michal's sentence dirtree'/' causes a loop that brings everything to a standstill.

I have restarted the server. Please don't try that sentence (or similar) again until I have fixed the problem.

More Rice

unread,
Jan 27, 2024, 3:46:28 PM1/27/24
to fo...@jsoftware.com
Happy 2024.  Thanks Chris for all the forum setup, and Eric for this new wonderful tool.

> [Eric] Keeping the menu in view on mobile devices is a problem.
> [Eric] You can probably use some finger actions (squeeze or scroll down) to get it back in view.
> [Eric] It would be easy to add some other trigger on mobile devices for lab advance. Ideas welcome.

My 2 cents ...

On iOSes (iphone/ipad), the "menu lost problem" could not be recovered by pinch and zoom for me, nor scroll all the way to the top (only sometimes; and other times I had to switch tabs to get it back). It is annoying.

The most accessible location for mobile devices is at the bottom of the screen - not the top.  The older j701 iOS app got that right - still love that app.

I could not predict when a tour's sentences would open a tab.  Furthermore, Tour like canvas, it seems to want to open a new browser (not a tab) so that the user can see how each sentence plays out on the new browser - this is hard to do on a mobile device unless we do split screen.

Menu items' text not centered - I often selected the item next to it instead.  The submenu item's vertical spacing on iDevices seems excessive; but functional.

ipad + usb keyboard works flawless with "Ctrl+ ." (just an echo of a dot as its artifact)  That's awesome.


Maurice

Eric Iverson

unread,
Jan 27, 2024, 3:59:27 PM1/27/24
to fo...@jsoftware.com
Thanks for the input. I agree that on mobile the better menu location is at the bottom. But that is counter to people's expectations. And probably no easier to ensure it is always visible.

We need a way to always get the touch device menu back. I wonder if dismiss/get virtual keyboard does this?

I don't think any JHS lab should 'open a new browser'. But it often opens a new tab and this can be very confusing until you get familiar with it. A new broswer tab, especially on mobile devices, is not very visible and you have to know to look for it.  At minimum a JHS lab step that will open a new tab should say so directly in the jinx page.

An iPad with a real keyboard is a real machine!


More Rice

unread,
Jan 27, 2024, 5:09:34 PM1/27/24
to fo...@jsoftware.com
> [Eric] We need a way to always get the touch device menu back. I wonder if dismiss/get virtual keyboard does this?

Unfortunately, bringing-up and then dismissing the virtual keyboard on my ipad didn't not do the trick to bring back the menu.  Forcing the jguest page to reload seems to do the trick better.

> [Eric] I don't think any JHS lab should 'open a new browser'. 

Just to be clear - I observed the creation of a new browser window only when using the jguest from desktop's web browser (like the 2 examples below).  On iDevice, they all opened as a tab.


chart tour
ctrl+. or menu > advances (see noun spxhelp)
1 of 77 in  ~addons/ide/jhs/spx/chart.ijs

   jhslinkurl'www.chartjs.org' NB. link to home page

   jcjs'reset'
   jcjs'data';>:5?20
   jcjs'labels';5 NB. a0,a1,a2,a3,a4
   jcjs'plot';10 10 600 600
┌─┐
│0│
└─┘

and


canvas tour
ctrl+. or menu > advances (see noun spxhelp)
1 of 141 in  ~addons/ide/jhs/spx/canvas.ijs

graphics - drawing on an html canvas
   require'~addons/ide/jhs/page/jcanvas.ijs'
   'jsxw_z_ jsxh_z_'=: jsxwh_z_=: 300 300 NB. width,height 
   p=: 'jcanvas;_' cojhs jsxwh NB. create locale - no show
   title__p=: 'canvas-tour'
   refresh__p=: '' NB. initial and refresh is blank canvas
next step shows graph page in a new window
   show__p 1 1 400 400
   
Reply all
Reply to author
Forward
0 new messages