I have updated my wiki to include the wifi classroom features of tgsjhs.ijs
and the frames.ijs script that Joe Bogner devised. The system is quite
exciting to me even though it suffers from missing features to police
disruptive student actions, either mischievous or inadvertent, and features
to de
Hi Brian,
My son told me a joke the other day about a software engineer who started to
work on solving the 70 bugs that were in their program and after solving the
first one, had only 90 left to fix. It's not as funny when it happens to you, I
told my son, don't quit your day job.
Possible so
I spoke too fast about "the problem is solved," because the fix produces
another pair of problems; (1) instead of only seeing the last pen lines
drawn by the turtles, all of the pen lines on all of the browsers first
remain in their existing state and (2) then are redrawn and then the newest
pen li
The problem is solved by my removing the commented out 2 lines below.
They only belong in the initializing stages.
Of course I did not share `ev_command_enter` before because the problem
could not have been there. Duh.
ev_command_enter=: 3 : 0
NB. PENDING=: ''
NB. NUMBER=: 0
sm". getv 'command'
Hi Brian,
It doesn't sound like a locale issue. The layer of the graphics that draws the
turtles still sounds like it is separate from the background. If looking at it
this way makes sense to you then maybe look at where the background layer is
being generated and where the turtle layer is bein
Bob,
There are only 2 files explicitly involved: tgsjhs.ijs and tgsjhsutils.ijs
. The first "requires" the second and each begin with coclass'tgsj', and
the former also includes coinsert'jhs' (I tried adding that to the second
with no apparent change). So I don't see how that could be the cause of
Hi Brian,
The 30,000 foot view (and I apologize that I don't have time to dive deeper at
the moment) make me wonder if the turtles are defined in a separate locale than
the background? It strikes me that it is like the times when I have used
photoshop and find that what I can see I cannot chang
Eric,
I should add, that as I suggested earlier, the axes lines and the
perspective view (altered by arrow keys) and the background color that are
all created in your demo12 and all behave like the turtle pen lines and are
altered only in the users own session. But the turtles are repositioned to
Eric,
I may need the timer_event, also, but I think my main problem is different
because when the user does update the page, the turtles themselves are
updated, but the ink drawn by the turtle pens are only updated in the
user's own session, not in the others' sessions. I am using the draw()
funct
A browser session is normallu pasive. That is it doesn't see (or
display) new information unless asked to do so (by a user request).
I haven't paid attention to your overall architecture, but suspect you
need something like the new timer event in order to update other user
states. There is a new d
Joe and others,
[Please accept my apologies for the length of this post.]
My grandson visited over the weekend and I had an opportunity to exercise
the turtle graphics system with him and with my wife for an extended period
of time. It was a very informative and mostly excellent experience. Howev
lenge. Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Raul Miller
Sent: Saturday, September 27, 2014 12:01 AM
To: Programming forum
Subject: Re: [Jprogramming] JHS on a local network
Speaking as a student, I
Speaking as a student, I have always been frustrated by demos which depend
on "behind the scenes setup". I think I have had a similar issue with some
labs, but I do not remember any specific examples. The issue is that when I
take the code and start playing with it, it does not work.
So I would a
Hi Brian,
Here is a video example of what I had running for the J conference, if that is
the functionality that you require. Most of the video explores shape demo, but
at the end I run a video from youtube in the window and then go back to the
standard jijx full window.
https://www.youtube.com
Bob,
Are you suggesting that a Lab which includes a graphic like the one in
tgsjhs.ijs can be constructed? Are there any Labs you can suggest? I tried
the Plot lab but the plots are embedded in the text, not in a stationary
window/frame like in tgsjhs. Is there a Lab for vlite.ijs, for example?
I
Hi Brian,
Slightly different approach, but you can do things behind the scenes by using
the PREPARE keyword in a lab. You still need to get the learner to do something
to have the PREPARE'd statements execute, but it becomes less visible if you
were already using the lab as a learning scaffold
Yes, Joe. I was trying to remove the task from the instructor also.
Thanks for confirming that that is not practical.
On Fri, Sep 26, 2014 at 7:39 AM, Joe Bogner wrote:
> Hi Brian, I don't know of a way to do that without patching the JHS
> jijx code. However, since the session is shared by eve
Hi Brian, I don't know of a way to do that without patching the JHS
jijx code. However, since the session is shared by everyone, it should
only need to be entered once.
I'm imagining the scenario where an instructor has this loaded and
students are connecting to it. The instructor would first ente
Joe (or others),
Is there a way to produce the effect of the following command in the jijx
frame of frames.ijs so that the user need not enter it manually?
coclass'tgsj'
On Tue, Sep 23, 2014 at 5:34 PM, Joe Bogner wrote:
> I see -- I was wondering if I'd be able to skip the get call
>
> It wor
Brian
>An interesting piece of tech which promises to exceed the grasp of the iPads
>of the world is ~nvidia-cb-vmware. The K1 would be a very powerful client for
>graphic intensive services.
>my CB is running a crouton of Xbuntu as a server with the client being the
>browser on the client (or
Joe,
I am sorry not to have replied in so long. I thought I had because I
remember last replying to the effect that I had tried your last idea and I
somehow thought this most recent code was no different, but I now see the
key line:
jev_get =: create
That did work and the result is almost perfe
Brian
>The URL http://127.0.0.1 is used only on a local machine, ie the server is on
>the same machine as the client. If The server is elsewhere on your local net
>(likely if it is an iPad) then the address depends on the router. Usually it
>will have the first two octets be 192.168. After that
I see -- I was wondering if I'd be able to skip the get call
It worked on JHS 1.0.207, but I just upgraded to JHS 1.0.208 and see
what you see
Try this:
coclass'frames'
coinsert'jhs'
HTML=: 0 : 0
Turtle Graphics
)
jev_get =: create
create=: 3 : 0
htmlresponse HTML
)
On Tu
Joe,
When I get the 409 error I get no frames.
Below is the transcript of my session only on the Mac desktop, for now. The
error which shows was NOT the result of loading frames.ijs, but rather the
result of creating a window with the following URL:
http://127.0.0.1:65011/frames . Notice there th
All of that looks right to me
When you get a 409 error, do you see the three frames on the iPad?
The note about the external IP address means that your iPad needs to
access something other than 127.0.0.1 (that is localhost)... So
hypothetically getexternalip_jhs_ would return the IP address that
Joe,
First of all, by clicking nearer to an existing line in the /jijx window, I
now get the keyboard to pop up on the iPad in Safari.
I have tried both of the following in the /jijx window of the iPad, no
error is emitted,
load'~Projects/tgsjhs/tgsjhs.ijs'
load'~Projects/tgsjhs/frames.ijs'
but
to be overly clear, you would access http://x.x.x.x/frames in this case
from the iPad
On Tue, Sep 23, 2014 at 3:09 PM, Joe Bogner wrote:
> how about this:
>
> create a new file called frames.ijs (feel free to rename the file and the
> coclass)
> load ...
>
>
>
> coclass'frames'
> coinsert'jhs'
>
how about this:
create a new file called frames.ijs (feel free to rename the file and the
coclass)
load ...
coclass'frames'
coinsert'jhs'
HTML=: 0 : 0
Turtle Graphics
http://127.0.0.1:65001/jijx";
name="ijx",
scrolling="auto">
http://127.0.0.1:65001/tgsj";
name="ijs",
scro
Joe (to the rescue),
Mostly the answer to (1.) is yes. All 3 independent URLs can be accessed,
if the "<...>" part is omitted in every case. Actually there is one small
hiccup in the /jijx window on the iPad in Safari, but not in Chrome: the
keyboard does not appear. I wonder about that hiccup, bu
t; Brian
> >
> > >i presume x and y pertain to the server. Getting the page means the
> > client is logged into the JHS instance... Addressing another frame is a
> bit
> > tricky but doable, within a machine. One has to go outside that document
> in
> > the dom.
>
ut doable, within a machine. One has to go outside that document in
> the dom.
>
> >Interesting social interactions could occur though if one was able to get
> millimeter resolution in real space of various client windows!
>
> greg
> ~krsnadas.org
>
>
> --
>
> from:
Hi Brian,
It looks like iOS may have an issue with resizing frames. There is a fair
amount of information at the stackoverflow link:
http://stackoverflow.com/questions/23083462/how-to-get-an-iframe-to-be-responsive-in-ios-safari
but another quick test may be to see if you can drag the content i
ur though if one was able to get
>millimeter resolution in real space of various client windows!
greg
~krsnadas.org
--
from: Brian Schott
to: Programming forum
date: 21 September 2014 13:53
subject: Re: [Jprogramming] JHS on a local network
>To see the 3-frame window, I had to change e
Bob,
Yes, my desktop Mac is where I launch JHS itself, producing the following
information in a console window.
J HTTP Server - init OK
Requires HTML 5 browser with javascript.
A : separates ip address from port.
Access from another machine:
http://SERVER_IP_ADDRESS:65001/jijx
Start a web
Hi Brian,
I may be missing something obvious, but you are running your browser on the
ipad and using your your mac as a server for J on your local network, right? Or
I suppose you could be using some other server that provides J. I don't believe
the ipads themselves can function as their own se
To see the 3-frame window, I had to change each of the URLs in the html
file to 192.168.1.x:65 . But I can still not enter nor see anything in
the frames.
Also, I do not know how to see the browser page source on my tablet.
--
(B=)
---
36 matches
Mail list logo