Ian,
By resources, I meant google. The phrase that will get you started is
'javascript shared local storage'. A search of the JHS scripts will show a
few simple places where it is currently used. But there is no current use
of the very interesting event triggers.
On Tue, Sep 5, 2017 at 11:35 PM,
@Eric
This could be useful. But my Javascript is so poor I can't really say until
I've tried it.
> One page setting shared memory can trigger an event in the javascript of the
other page. Is this of interest?
Yes. When I first started thinking about my requirements, this was just the
sort of
Those 3 are fun! The viewmat version is a better "paint ed" triangle.
E-:M
load 'viewmat'
]x=:i:S=:50
]M=:|.x<:/(%:3)+(-%:3)*|x
(2 3$255 255 255 0 90 255) viewmat M
'Linda
Sent from AOL Mobile Mail
On Tuesday, September 5, 2017 bill lam wrote:
E can also be plotted
Ian (your JHS question),
There is a facility in javascript in the browser called shared memory. JHS
uses this in a very limited way, but I have always wanted to revisit it to
see what else could be done.
One page setting shared memory can trigger an event in the javascript of
the other page. Is
@Raul,
Refresh: 3
…works a treat. Besides giving a conspicuous indication in the Safari
toolbar that the "animated" window is alive and kicking.
All no doubt horribly inefficient. But good enough in the short term for my
experiments.
Mac:Activity Monitor does show the resource usage of both
Thanks, forum.
Plenty of ideas to try here. Plus some good links for further study.
Ian Clark
On Tue, Sep 5, 2017 at 4:35 PM, Raul Miller wrote:
> For server sent events, you'd need to remove the Connection: Close
> http header and replace it with a Content-Length: nnn
datatype 47^2
floating
So
(n^2) | 5729082486784839
is promoted to float, and loses precision. Same when the big number is
extended - it's converted to float.
For
(x: n^2) | 5729082486784839
I get 147 as the result.
Henry Rich
On 9/5/2017 12:41 PM, Rob B wrote:
Could someone
Could someone explain this please?
n=.14
n
14
(*: n) | 5729082486784839
147
196 | 5729082486784839
147
(n^2) | 5729082486784839
0
(n^2) | 5729082486784839x
0
(x: n^2) | 5729082486784839
0
(x: n^2) | 5729082486784839x
147
Regards, Rob Burns
For server sent events, you'd need to remove the Connection: Close
http header and replace it with a Content-Length: nnn header.
You'd also need to jhs to leave the socket open so that the events can
be sent using that same connection. This would require some
significant restructuring of jhs, to
It's probably worth noting that a meta refresh tag - see
http://blooberry.com/indexdot/html/tagpages/m/meta.htm for some docs -
is one that would look like this:
http://localhost:65001/message; />
But what this is doing, in essence, is creating an http header that
would look like this:
Refresh:
Here is Raul's improvement
load 'plot'
]x=:_,(i:S=:10),_
]M=:|.x<:/(%:3)+(-%:3)*|x
f=: 13 :'<"1 |.|: ($,$#:[:I.,)y'
'point;aspect 1;pensize 20' plot f|.M
Linda
Sent from AOL Mobile Mail
On Tuesday, September 5, 2017 Linda Alvord wrote:
load 'plot'
]x=:i:S=:10
Depending on your requirements (the browser used by users), you could
consider Server-Sent Events, an alternative to websockets, but they are
not supported in IE neither (yet?) in Edge.
In HTML5, Server-Sent Events are probably what you need. Have a look at
the following with a clock example in
A META header in the section of the HTML page can force a recurrent
refresh. The first article Google found on the subject is this one:
http://www.htmlgoodies.com/tutorials/getting_started/article.php/3479551 The
article also shows a micro-snippet in JavaScript to obtain a similar effect on
a
That's pretty much it. The browser is in control here, and jijx is
only indirectly in control as a result.
Probably the simplest would be to put something like Refresh: 3 in the
http headers in your MYTEMPLATE (before the first blank line). But I
haven't tested that - I probably need to upgrade
Currently I'm hacking it by using Keyboard Maestro to execute a timer which
reloads the message URL every 3 seconds.
I guess much the same thing could be done using Javascript embedded in
message.ijs? – if I knew any Javascript.
Another expedient is to write out the message display to a textfile
E can also be plotted directly using 3d plots
'contour;aspect 1'plot E
'density;aspect 1'plot E
'surface;aspect 1'plot E
On Sep 3, 2017 1:37 AM, "Raul Miller" wrote:
Do you mean like this?
load 'plot'
E=:(%:3) (] <:/ [ - (* |)) _,~_,i:20
'point;aspect 1;pensize 10'
does this work
load 'plot'
]x=:i:S=:10
]L=:|.x<:/(%:3)+(-%:3)*|x
]M=:0,.(0,L,0),.0
f=: 13 :'<"1 |.|: ($,$#:[:I.,)y'
'point;aspect 1;pensize 20' plot f|.M
Sent from AOL Mobile Mail
On Monday, September 4, 2017 Linda Alvord wrote:
Much better, thanks to Raul. Try
load 'plot'
]x=:i:S=:10
]L=:|.x<:/(%:3)+(-%:3)*|x
]M=:0,.(0,L,0),.0
f=: 13 :'<"1 |.|: ($,$#:[:I.,)y'
'point;aspect 1;pensize 20' plot f|.M
Sent from AOL Mobile Mail
On Tuesday, September 5, 2017 bill lam wrote:
Linda, I tried your script on jandroid, it failed with an
I think I just now figured out what you were asking:
By adding the infinity values to the edges of the i:20 sequence, I
don't have to pad the result with zeros, because comparison will
automatically give them to me.
Thanks,
--
Raul
On Mon, Sep 4, 2017 at 10:26 AM, Linda Alvord
i think this has solved the problem
load 'plot'
]x=:i:S=:10
]L=:|.x<:/(%:3)+(-%:3)*|xproblems
]M=:0,.(0,L,0),.0
f=: 13 :'<"1 |.|: ($,$#:[:I.,)y'
'point;aspect 1;pensize 20' plot f|.M
Linda
Sent from AOL Mobile Mail
On Monday, September 4, 2017 'Jim Russell' via Programming
She's explicitly adding that point to the set of points. Without it,
the borders collapse to just show the triangle and not the empty space
FYI,
--
Raul
On Tue, Sep 5, 2017 at 4:18 AM, bill lam wrote:
> Linda, I tried your script on jandroid, it failed with an ill format
Linda, I tried your script on jandroid, it failed with an ill format number
error in the line,
]M=:0,.(0,L,0),.0n
The last 0n should be just 0.
I think.
Also there is an extra point on the top right corner, is that expected?
On Sep 5, 2017 3:49 PM, "Linda Alvord"
Something happened when I sent this earlier. Sorry
load 'plot'
]x=:i:S=:10
]L=:|.x<:/(%:3)+(-%:3)*|x
]M=:0,.(0,L,0),.0n
f=: 13 :'<"1 |.|: ($,$#:[:I.,)y'
'point;aspect 1;pensize 20' plot f|.M
From: Linda Alvord [mailto:lindaalv...@verizon.net]
Sent: Monday, September 4, 2017 8:48 PM
To:
23 matches
Mail list logo