Re: [Jprogramming] unix command

2014-03-23 Thread Björn Helgason
I have not tested this on the Android before but it seems to work fine. 2!:0 'ls' Alarms Android Application DCIM Download Movies Music Nearby Notifications Pictures Playlists Podcasts Ringtones S-minnisatriði Samsung Sounds TunnyBrowser files inputlog.dat j701-user j801-user print samsungapps

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Brian Schott
[I am replying to an earlier message because it contains several details to which I would like to refer.] My understanding is that there can only be one jhrajax in the server for any jdoajax() sent by the client. If that is true, my problem is that the event which should produce the jhrajax is the

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Raul Miller
Technically speaking, this question is not well formed. If you are running a J sentence, then J is not idle, by definition. What you are really asking is: "will J be idle soon". And that's really a question about browser activity. In a sense you are asking "are there currently queued browser requ

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Pascal Jasmin
so you are sending 3 js draw events with fd 10 each.  If you sent a list of commands just once, you'd agree the problem would go away? maybe you are parsing the text box in js, and then sending individual commands to J instead of letting J parse the text input?  If you did the latter, it should

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Brian Schott
Raul and Pascal, You are not understanding me. I don't think this is a question about browser being ready, Raul, because as I said inmy last post's beginning statement, the following. Is that a correct statement? "My understanding is that there can only be one jhrajax in the server for any jdoa

[Jprogramming] jqt andorid updated

2014-03-23 Thread bill lam
jqt android now can use jni to interface with android java library. Menu help should now work, toolbar icon size will vary with screen dpi. external editor should work with android 4.2.2 Testing labs on android should now be easy, please test some labs during your free time. Thanks. -- regar

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Raul Miller
Let's slow down a bit and try to think about what you are really trying to do here. First, though, I have an issue here, with the concept of "in the server". There is certainly a perspective where "only be one jhrajax in the server for any jdoajax() sent by the client" is valid. It's an approximat

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Brian Schott
I'll try to reply below. On Sun, Mar 23, 2014 at 2:31 PM, Raul Miller wrote: > Let's slow down a bit and try to think about what you are really trying to > do here. > > First, though, I have an issue here, with the concept of "in the server". > There is certainly a perspective where "only be one

[Jprogramming] fview not working

2014-03-23 Thread Tom Arneson
It seems that something changed to break fview. fview jpath PATH_gvscore_,'/selftrades.csv' |textview : command not found: wd | (wd ::(''"_)'qer')(13!:8)3 -- For information about J forums see http://www.jsoftwar

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Joe Bogner
On Sun, Mar 23, 2014 at 3:23 PM, Brian Schott wrote: > the client has to initiated the request > with a exactly one jdoajax(), right? So the client is not going to ever be > able to accept extra jhrajax's that were not expressly requested. Or, if > that is wrong, then I would like to be told about

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Raul Miller
Here's jdoajax: function jdoajax(ids,data,sentence,async) { if(0!=rqstate) return; // previously - alert("busy - wait for previous request to finish"); async= (!async)?false:async; sentence=sentence||jevsentence; data=data||""; ids=ids||[]; rq= newrq(); if(async) rq.onreadystatechange= jdor

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Raul Miller
Oops, there's no 'command' argument to jdoajax. I'd have to look a bit more to determine where command comes from. Might be easiest to just override ev_command_enter in tgsj. I'm sure there's cleaner ways of approaching this, but I've other things occupying my attention right now so am not inclined

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Brian Schott
Your scheme of commands is close to what my app does, except that the system I have requires at some atomic level for the user or j to generate only a turn or only a move in one action. But that's not an issue, so let's assume your scheme is correct for now. The problem is that the user could say a

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Brian Schott
Raul, That demonstration of putting jdoajax(...) into the console was very clever and helpful. You may be on to something, but I am not sure because I don't quite follow your idea of "override ev_command_enter". Do you understand that in my app 'command' is my name of the event of entering a turtl

Re: [Jprogramming] fview not working

2014-03-23 Thread chris burke
Please report bugs in the system to the general forum, thanks. This should be in the latest Qt binary. In Jconsole: install 'qtide' On Mon, Mar 24, 2014 at 3:36 AM, Tom Arneson wrote: > It seems that something changed to break fview. > > fview jpath PATH_gvscore_,'/selftrades.csv' > |

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Raul Miller
After reading a bit more of you code, I need to change some of the details of my suggestions. Immediately above your definition of 'paint' in tgsjhs.ijs you have: ev_command_enter=: 3 : 0 ". s=. getv 'command' ) At the bottom of your 'paint' definition you have the line: jhrajax linecolors,

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Joe Bogner
On Sun, Mar 23, 2014 at 8:24 PM, Raul Miller wrote: > After reading a bit more of you code, I need to change some of the details > of my suggestions. > > Immediately above your definition of 'paint' in tgsjhs.ijs you have: > > ev_command_enter=: 3 : 0 > ". s=. getv 'command' > ) > > At the bottom

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Brian Schott
By Jove, Raul, I think you've got it. I've got to move the jhrajax to inside the ev_command_entert. Brilliant. Thanks to all you folks. This was a struggle, any I can't overstate how awesome you are to figure this out. --- (B=) On Mar 23, 2014, at 8:24 PM, Raul Miller wrote: > After reading

[Jprogramming] android_exec_host

2014-03-23 Thread bill lam
the verb android_exec_host in jqt android now reqires exactly 4 argumets, eg to open an excel file. android_exec_host 'android.intent.action.VIEW';'file:///mnt/sdcard/test.xls';'application/vnd.ms-excel';0 -- regards, GPG key 1024D/4434BAB3 20

Re: [Jprogramming] jqt andorid updated

2014-03-23 Thread Paul Jackson
This release fixed Help. Although docs/help is installed by the first use, the Help menu launched remote web pages until I ran Rebuild all Repository Catalogs After that, it launched local pages. jqt android now can use jni to interface with android java library. Menu help should now work, too

Re: [Jprogramming] jhs webgl array_buffer

2014-03-23 Thread Björn Helgason
Trying to understand the issue. You want to start several batch jobs and you do not really know if some of them have finished yet? Right? - Björn Helgason gsm:6985532 skype:gosiminn On 23.3.2014 16:21, "Brian Schott" wrote: > Raul and Pascal, > > You are not understanding me. > > I don't think

Re: [Jprogramming] jqt andorid updated

2014-03-23 Thread Björn Helgason
Is it enough to update or do I need to do reinstall? - Björn Helgason gsm:6985532 skype:gosiminn On 23.3.2014 16:35, "bill lam" wrote: > jqt android now can use jni to interface with android java > library. Menu help should now work, toolbar icon size will vary > with screen dpi. external edit