Re: [Jprogramming] OpenGL on Linux

2012-10-14 Thread Alex Giannakopoulos
Well, I edited all the options you suggested, Bill, and also the occurrence in the file glx.ijs, with every possible combination, and nothing worked. Damn. Oh, well, back to C++ for now then (bleah!) where at least OpenGL works. Hope I sort it out sometime soon, I'd much rather be working in J. Th

Re: [Jprogramming] another example of 'under'

2012-10-14 Thread Alex Giannakopoulos
On 15 October 2012 06:37, Linda Alvord wrote: >Sometimes you get the double of the reciprocal and other times the > reciprocal of the double. > Erm, not quite, Linda. You will see that the hook (%+:) will always return 0.5, no matter what the input. Remember, (fg)y means y f gy when you

Re: [Jprogramming] another example of 'under'

2012-10-14 Thread Linda Alvord
ff =: 13 : '% +: y' ff 4 0.125 gg =: 13 : '(%+:)y' gg 4 0.5 hh=: 13 :'%@+:y' hh 4 0.125 5!:4 <'ff' -- [: --+- % L- +: 5!:4 <'gg' -- % --+- +:e 5!:4 <'hh' -- % -- @ -+- +: Sometimes you get the double of the reciprocal and other times the re

Re: [Jprogramming] OpenGL on Linux

2012-10-14 Thread bill lam
Not sure which lib was selected. You may edit the file ~addons/api/gl3/gl3.ijs and change the lines libgl=: 'libGL.so.1' libglu=: 'libGLU.so.1' to (eg) libglu=: '/usr/lib/libGLU.so.1' I have not installed any proprietary video driver to test, so there may be some issues there. Пнд, 15 Окт

Re: [Jprogramming] OpenGL on Linux

2012-10-14 Thread Alex Giannakopoulos
My system is Ubuntu Lucid 64 (LTS) I installed all J addons via pacman, right from the start! When I try to run something like: load '~addons/demos/opengl/simple/gldemos.ijs' or load '~addons/demos/opengl/demo/gldemo.ijs' the GTK windows open properly, but nothing is rendered, the message ret

Re: [Jprogramming] OpenGL on Linux

2012-10-14 Thread bill lam
I tested opengl (both 32 and 64-bits) worked in my debian. The context is provided by x11. Perhaps some addons such as api/x11 are missing. Install that addon and try again. If it still fails, then install all addons. You can always un-install addons in pacman. run demos by load '~addons/demos/op

Re: [Jprogramming] OpenGL on Linux

2012-10-14 Thread Alex Giannakopoulos
Decided to try 701, I had been putting it off... Quite nice, I found, the gtk ide seems OK, I also updated all the pacman stuff. I like it, I might carry on with it (I was a bit wary of anything new, my J is not that strong anyway) Guess what? Still no joy on the OpenGL front. It says "OpenGL OK"

Re: [Jprogramming] OpenGL on Linux

2012-10-14 Thread bill lam
The libGL and libGLU provided by mesa are fine although you should most probably already using libGL/libGLU provided by the nvidia driver. The problem is related to OSMesa (off-screen mesa), I suppose the libOSMesa6 is new enough and using libOSMesa7 won't help. I have never used osmesa and have n

Re: [Jprogramming] another example of 'under'

2012-10-14 Thread km
Experiment with f =: 3 : '% +: y' g =: 3 : '(% +:)y' Kip Murray Sent from my iPad On Oct 14, 2012, at 1:31 PM, Keith Park wrote: > Does this mean that hooks and forks are excluded from explicit definitions? > > On Sun, Oct 14, 2012 at 2:54 AM, Linda Alvord wrote: > >> Kip, Your resp

Re: [Jprogramming] OpenGL on Linux

2012-10-14 Thread Alex Giannakopoulos
Thanks for that Bill I got the latest (*.64) base library and de-installed the freeglut stuff. >locate libOSMesa is reporting /usr/lib/libOSMesa.so /usr/lib/libOSMesa.so.6 /usr/lib/libOSMesa.so.6.5.3 So that seems fine. It is still not working though. The "opengl simple" demos open blank b

Re: [Jprogramming] another example of 'under'

2012-10-14 Thread Keith Park
Does this mean that hooks and forks are excluded from explicit definitions? On Sun, Oct 14, 2012 at 2:54 AM, Linda Alvord wrote: > Kip, Your response made me compare the use of 3 and 13. > >f=: 13 :'%+/%y' >g=: 3 :'%+/%y' > >f 2 4 > 1.3 >g 2 4 > 1.3 > >f > [: % [: +/ %

Re: [Jprogramming] Installing J for iPad

2012-10-14 Thread km
When you tap the J logo, you should see a box that says "FREE". Click on that box. Kip Murray Sent from my iPad On Oct 14, 2012, at 5:22 AM, Jan Jacobs wrote: > Ls, > I can locate jsoftware in AppStore but I am not able to install it. I can > tap the Jlogo once or twice (and get some detail

Re: [Jprogramming] Listings still oddly useful

2012-10-14 Thread Raul Miller
A few random comments: 1. When dealing with criticisms a good conversation to have is about priorities, with the goal of having you understand not only why a criticism is important but understanding how important that is (compared to other issues that you are currently facing). 2. I do not have a