Eric,
In all cases I install J in the default folder /Users/brian/ .
On my intel 64 Mac the install of j801 is not working: only jconsole will
open, not jhs and not gtk. When I launch either jhs801 or gtk801, I get no
terminal window to even open.
As a matter of fact, now that I have reinstalled j801, j701 jhs is not
working either, but both jconsole and gtk do work. When open jhs701 I get
the following error in terminal now.
brian$ /Users/brian/j64-701/bin/jhs.command ; exit;
|EADDRINUSE: sdcheck_jsocket_
| sdcheck_jsocket_ r
I thought that error message means another version of jhs is already
opened, but I have been very careful to close all such browser pages and
even emptied cache.
I am a little suspicious of a security issue on the Mac OSX 10.7.5 which
interrupts all of my attempts to open downloaded files. I am always now
presented with a Mac system dialog box warning that the file came from the
internet and do I really want to open it. But with this new download of
j801, no such dialog is presented. OTOH, I have not downloaded a j701 and
it not working either, but in a way that is different from j801 as I said
above.
The only thing I have editted in the j64-801/bin directory is profile.ijs.
In the file I changed the following line (\ to /). But the change does not
change any of the results I have described.
from:
userx=. '\j',('64-'#~16={:$3!:3[2),'801-user'
to:
userx=. '/j',('64-'#~16={:$3!:3[2),'801-user'
I am really disappointed that I cannot make this work, and especially that
I have even lost jhs701. I have been enjoying exploring webgl.
Thanks,
On Mon, Feb 10, 2014 at 5:50 PM, Eric Iverson <[email protected]>wrote:
> I have followed with interest the JHS webgl discussions.
>
> I stole a bit of time this weekend and have cobbled together an initial
> demo.
>
> Webgl is opengl functionality embedded in the browser javascript. It
> works well in the latest versions of Firefox and Chrome. Not sure
> about Safari.
>
> Prgramming opengl in javascript is straightforward and works well.
>
> The 1st step was to search for a nice example and then get that to
> work locally in a temp fodler. That is, put javascript source files
> (e.g. glmatrix.js) and the html file in a folder and make sure it
> works as expected when everything comes from files directly under your
> control.
>
> The 2nd step is to incorporate this info in a new page (ijs script)
> that fits in the JHS framework. Now that there is a working example,
> it should be fairly straightforward to fit any webgl you want into a
> JHS page.
>
> There were two stumbling blocks that I ran into.
>
> The first was that there are different versions of glmatrix.js
> (javascript) with quite different apis. I decided to only look at
> examples that use the latest version and to avoid examples that used
> the earlier version. This was a minor nuisance as many of the simpler
> and nicer examples used the older version.
>
> The second was that webgl has some dependencies on where javascript
> src files such as glmatrix.js and related javascript stuff is located.
> The JHS framework previously added these src inlcudes as part of the
> form (that is, in HBS sentences). This worked fine for
> codemirror,jquery, and handsontable, but webgl is more complicated and
> the html to include stuff has to come earlier in the page. JHS now
> supports HEXTRA for stuff like this. This is in addtion to the
> traditional CSS, JS, and HBS sections.
>
> Get the latest version of JHS and try:
> jdemogl 1
>
> ***
> Brain, thanks for getting this ball rolling and I hope jdemogl1 helps.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm