Re: [Jgeneral] Scatter plot with J on Ipad
I think you will find a good example at http://www.jsoftware.com/jwiki/Studio/Plot in the link http://www.jsoftware.com/jwiki/Studio/Plot?action=Literatetarget=combplottype.ijs On Fri, Jul 13, 2012 at 2:19 AM, Dr. Heinz Schild heinz.sch...@schild-partner.com wrote: Is it possible to plot scatter diagramms with user specified symbols for the points on an iPad with J?. Where can I find a documentation of the relevante options?. Heinz Schild -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] iPad file delete
Is there a way to delete files on the iOS systems without uninstalling? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] iPad file delete
'f'names_z_ 3 I have all but forgotten about the 'f' verbs by automatically using she Roc finder or unix commands. Put those are not available on the ipad. Thanks for reminding me. --- (B=) On Jul 10, 2012, at 8:10 PM, Joey K Tuttle j...@qued.com wrote: I would have suggested that, but assumed that Brian would have too, fdelete seems to be undefined... - joeyiPa... -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] plot for JHS
Ed, I am using Mac Lion. plot sin i.3 4 works fine. What does NOT work in Lab: Plot Package for JHS is the calls to jgc beginning in the lesson below. My recollection is that jgc is google charts. ── (21 of 34) Business Graphics (ctd) ─── Plots for business graphics include various bar charts, pie charts, and hi-lo close. Floating barchart, with title: JHS jgc ) NB. 'fbar;title My Plot' plot :?:i.3 5 'reset xline chtt=My+Title show'jgc ?2 10$1000 *** event handler error ev_dot_ctrl 0 |value error: jgc | 'reset xline chtt=My+Title show'jgc?2 10$1000 |[-1] jdo jev_jijx_ 0 jtype ctrl jmid dot jsid jdata On Sun, Jul 8, 2012 at 9:16 AM, ed bierly ebie...@gmail.com wrote: im guessing it may be platform (mac lion) specific if you cant replicate the behavior in the labs with the specific examples above On Sat, Jul 7, 2012 at 7:14 PM, bill lam bbill@gmail.com wrote: Both of them work for me. jhs on linux, chrome But I didn't try labs for jhs. Сбт, 07 Июл 2012, ed bierly писал(а): this works plot sin 0.2*i.10 30 this doesn't plot sin i.3 4 which makes me think that additional resources are required since the lab has a plot for both On Sat, Jul 7, 2012 at 3:17 PM, ed bierly ebie...@gmail.com wrote: ok. it seems that plot works before 'numeric trig' is loaded and gives all blanks after On Sat, Jul 7, 2012 at 3:09 PM, ed bierly ebie...@gmail.com wrote: going through the labs and at the point below when i try to execute the sample plots they show as all blanks for the size of the originals (31 of 32) Numbers (ctd) same for the lab Lab: Plot Package for JHS the load'plot' worked without complaining so are there further steps i have to take? -- For information about J forums see http://www.jsoftware.com/forums.htm -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] plot for JHS
Yes, the jgcp.ijs load makes the lab work. On Sun, Jul 8, 2012 at 1:17 PM, Eric Iverson eric.b.iver...@gmail.com wrote: The google chart plots require script jgcp.ijs. See jhelp in JHS for more inf. I guess the lab hasn't been updated. Try the following, and then try the lab. load'~addons/ide/jhs/jgcp.ijs' jgc'help' NB. plot info jgcx'' NB. examples On Sun, Jul 8, 2012 at 12:39 PM, Brian Schott schott.br...@gmail.comwrote: Ed, I am using Mac Lion. plot sin i.3 4 works fine. What does NOT work in Lab: Plot Package for JHS is the calls to jgc beginning in the lesson below. My recollection is that jgc is google charts. ── (21 of 34) Business Graphics (ctd) ─── Plots for business graphics include various bar charts, pie charts, and hi-lo close. Floating barchart, with title: JHS jgc ) NB. 'fbar;title My Plot' plot :?:i.3 5 'reset xline chtt=My+Title show'jgc ?2 10$1000 *** event handler error ev_dot_ctrl 0 |value error: jgc | 'reset xline chtt=My+Title show'jgc?2 10$1000 |[-1] jdo jev_jijx_ 0 jtype ctrl jmid dot jsid jdata On Sun, Jul 8, 2012 at 9:16 AM, ed bierly ebie...@gmail.com wrote: im guessing it may be platform (mac lion) specific if you cant replicate the behavior in the labs with the specific examples above On Sat, Jul 7, 2012 at 7:14 PM, bill lam bbill@gmail.com wrote: Both of them work for me. jhs on linux, chrome But I didn't try labs for jhs. Сбт, 07 Июл 2012, ed bierly писал(а): this works plot sin 0.2*i.10 30 this doesn't plot sin i.3 4 which makes me think that additional resources are required since the lab has a plot for both On Sat, Jul 7, 2012 at 3:17 PM, ed bierly ebie...@gmail.com wrote: ok. it seems that plot works before 'numeric trig' is loaded and gives all blanks after On Sat, Jul 7, 2012 at 3:09 PM, ed bierly ebie...@gmail.com wrote: going through the labs and at the point below when i try to execute the sample plots they show as all blanks for the size of the originals (31 of 32) Numbers (ctd) same for the lab Lab: Plot Package for JHS the load'plot' worked without complaining so are there further steps i have to take? -- For information about J forums see http://www.jsoftware.com/forums.htm -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J on iPad
The only way I know is to get back to the home screen (click the home button, if necessary), then click the home button twice to see the icons at the bottom of the screen. Touch and hold the J icon until a little minus sign appears (after some wiggling ?), then click on the minus sign for J. On Sat, Jul 7, 2012 at 4:46 AM, Dr. Heinz Schild heinz.sch...@schild-partner.com wrote: How can I kill a J-session on an IPad when getting into an infinite loop? Heinz -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] Pousse on iPad
Pousse requires gtkwd gl2 and text. As such, is it likely that Pousse will work on iPad? If so, there is a second question. I have located gtkwd and gl2 in /Users/brian/j64-701/system/util/scripts.ijs, but not text. Where is text? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS plot error plotcanvas
Bill and Ric, Sure enough it works fine today. Thanks, On Mon, May 7, 2012 at 1:26 AM, Ric Sherlock tikk...@gmail.com wrote: Hi Brian, This works fine for me in JHS on 64bit Windows 7. load 'plot' plot i.5 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Advance lab in JHS
Bill, that seems too easy. Should the wording be changed to the following, at least until the tablet versions are added? ADVANCE=: 'To advance the lab, press Ctrl-. in JHS or Ctrl-J in Gtk.',LF,'On a tablet your mileage may vary.' --- (B=) On May 5, 2012, at 9:24 PM, bill lam bbill@gmail.com wrote: That can be done by changing the global noun ADVANCE in lab.ijs ADVANCE=: 'To advance the lab, press Esc A in JHS or Ctrl-J in Gtk.' Сбт, 05 Май 2012, Brian Schott писал(а): I know this has been discussed before but I think it is a serious problem for new users of J. The labs on JHS can be advanced with control plus period, not escape and then a, as each lab announces. Can this be adjusted readily with a script, on all of the lab files? --- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] Advance lab in JHS
I know this has been discussed before but I think it is a serious problem for new users of J. The labs on JHS can be advanced with control plus period, not escape and then a, as each lab announces. Can this be adjusted readily with a script, on all of the lab files? --- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] live stream conference
Having just read about the live streaming device below, and noticing that the talks at the conference are not in parallel, makes me wonder if there is any chance jsoftware would offer live streaming of the talks? I'd pay US$50 for that. http://www.engadget.com/2012/04/17/livestream-broadcaster-hands-on/ -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] parsing j k l m in j6 and j7
j k l m j (k l m) j k l m n j k l m n --- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] parsing j k l m in j6 and j7
Thanks, Raul. On Wed, Jan 11, 2012 at 12:28 PM, Raul Miller rauldmil...@gmail.com wrote: This is the sort of display that J will give you (if 5=9!:2'') for any sequence of four or five verbs or undefined names. - (- - -) - - - - - - This is a test This (is a test) FYI, -- Raul -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
I have created a screencast to demonstrate the reconfiguration of JHS needed for using a tablet device browser. The description of the 10 minute video contains a Table of contents which segments the long video. http://www.youtube.com/watch?v=wXjlDUGDXDw -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
When I tried the jum way I was advised that it was more complex and that all I needed was this way unless I wanted to use my computer as a server (and leave it on all the time, likely). So far, my iPad is always near a computer (host?) with J installed, so jum in unnecessary. I am still hoping to get Labs more usable on the ipad, but am stuck on the implementation. I wasn't clear about your firewall comment as to whether it was an issue for both jum and the simpler approach, or only for one of them. I assume the firewall is only an issue for jum, tho. Thanks for your feedback. 2011/12/19 Björn Helgason gos...@gmail.com: Pretty good. I went the jum way to do the server to other machines and I had not tried this possibility before. I had to modify the firewall as well to allow login from a distance. That came relatively easy with jum -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Yes, actually, b/c I had already copied over lab lines from jijx.ijs, all I had to add was the first HBS line. What I am struggling with is labs are triggered by a menu in jijx, and will be triggered by a button in jijxipad. On Fri, Dec 9, 2011 at 3:02 PM, Eric Iverson eric.b.iver...@gmail.com wrote: The following assumes you have used jijx to open a lab. To add an advance button to jijxipad you need to do something like. add following line in HBS=: section to create the button 'advance'jhb'adv' add following J def to handle the button event in J ev_advance_click=: 3 : 'labnext_jlab_ 0' towards the end in the javascript definition add the js handler function ev_advance_click(){jdoajax([],);} On Fri, Dec 9, 2011 at 9:55 AM, Brian Schott schott.br...@gmail.com wrote: Eric, I have successfully only added the button L in jijxipad (in line 24 in the diff). When I click that new button, all that apparently happens is the line /div. Other than that I have mostly just copied from jijx into jijxipad definitions which relate to labs, including the verb labopen. Can you look at the diff below and suggest how I can proceed, please? [9:42am brian~]% diff /Users/brian/j701/addons/ide/jhs/jijxipad.ijs /Users/brian/j701/addons/ide/jhs/jijxipad.ijs.orig 24d23 'labs' jhb 'nbsp;Lnbsp;' 28,88d26 ev_labs_click=: 3 : 0 'labsdlg' jhdivadlg'' 'labrun' jhb'run' labsel'' 'labsclose'jhb'X' '/div' ) labopen=: 3 : 0 require__'~addons/labs/labs/lab.ijs' smselout_jijs_=: smfocus_jijs_=: [ NB.! allow introcourse to run labinit_jlab_ y{LABFILES ) getlabs=: 3 : 0 LABTITLES=: LABCATS=: LABFILES=: '' d=. dirpath t=. jpath'~addons/labs/labs' try. for_p. d do. for_q. 1 dir '/*.ijt',~p do. LABFILES=: LABFILES,q cat=. (:#t)}.q cat=. (cat i.'/'){.cat LABCATS=: LABCATS,cat title=. toJ fread q title=. (title i.LF){.title title=. (:title i.)}.title title=. (title i:){.title LABTITLES=: LABTITLES,cat,': ',title end. end. catch. end. s=. /:LABTITLES LABFILES=: s{LABFILES LABCATS=: s{LABCATS LABTITLES=: s{LABTITLES ) labsel=: 3 : 0 getlabs'' (0~:#LABTITLES){'';'labsel'jhselect LABTITLES;1;0 ) labopen=: 3 : 0 require__'~addons/labs/labs/lab.ijs' smselout_jijs_=: smfocus_jijs_=: [ NB.! allow introcourse to run labinit_jlab_ y{LABFILES ) ev_lab_click=: 3 : 'smoutput labmsg' NB. no labs to select ev_dot_ctrl =: ev_advance_click ev_advance_click=: 3 : 0 if. ('jlab')e.conl 0 do. labnext_jlab_'' else. smoutput 'No lab open. Do studio|labs...' end. ) ev_labrun_click=: 3 : 0 labopen .getv'jsid' ) 228,246d165 function ev_advance_click(){jdoajax([]);} function ev_lab_click() { if(null==jbyid(labsel)) jdoajax([],); else jdlgshow(labsdlg,labsel); } function ev_labsclose_click(){jhide(labsdlg);ev_2_shortcut();} function ev_labrun_click() { jhide(labsdlg); jform.jsid.value= jbyid(labsel).selectedIndex; jdoajax([],); } [9:43am brian~]% On Wed, Dec 7, 2011 at 11:08 AM, Eric Iverson eric.b.iver...@gmail.com wrote: For ipad labs I'd be inclined for now to forgo the gui complications. Provide a verb that list all the labs in the jijx window with numbers. The a labopen verb that opens a lab by number. I'd leave the advance button on the screen all the time. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Bill, I never new about -u. [8:13pm brian~]% diff -u /Users/brian/j701/addons/ide/jhs/jijxipad.ijs /Users/brian/j701/addons/ide/jhs/jijxipad.ijs.orig --- /Users/brian/j701/addons/ide/jhs/jijxipad.ijs 2011-12-09 15:20:35.0 -0500 +++ /Users/brian/j701/addons/ide/jhs/jijxipad.ijs.orig 2011-12-04 18:21:33.0 -0500 @@ -21,72 +21,9 @@ 'dn'jhb'darr;' 'return'jhb'crarr;' 'jijsipad'jhrefx 'nbsp;Enbsp;' -'labs' jhb 'nbsp;Lnbsp;' -'advance'jhb'adv' 'recalls'jhhidden'RECALLS' ) -ev_labs_click=: 3 : 0 -'labsdlg' jhdivadlg'' - 'labrun' jhb'run' - labsel'' - 'labsclose'jhb'X' -'/div' -) - -labopen=: 3 : 0 -require__'~addons/labs/labs/lab.ijs' -smselout_jijs_=: smfocus_jijs_=: [ NB.! allow introcourse to run -labinit_jlab_ y{LABFILES -) - -getlabs=: 3 : 0 -LABTITLES=: LABCATS=: LABFILES=: '' -d=. dirpath t=. jpath'~addons/labs/labs' -try. - for_p. d do. - for_q. 1 dir '/*.ijt',~p do. - LABFILES=: LABFILES,q - cat=. (:#t)}.q - cat=. (cat i.'/'){.cat - LABCATS=: LABCATS,cat - title=. toJ fread q - title=. (title i.LF){.title - title=. (:title i.)}.title - title=. (title i:){.title - LABTITLES=: LABTITLES,cat,': ',title - end. - end. -catch. -end. -s=. /:LABTITLES -LABFILES=: s{LABFILES -LABCATS=: s{LABCATS -LABTITLES=: s{LABTITLES -) - -labsel=: 3 : 0 -getlabs'' -(0~:#LABTITLES){'';'labsel'jhselect LABTITLES;1;0 -) - -labopen=: 3 : 0 -require__'~addons/labs/labs/lab.ijs' -smselout_jijs_=: smfocus_jijs_=: [ NB.! allow introcourse to run -labinit_jlab_ y{LABFILES -) - -ev_lab_click=: 3 : 'smoutput labmsg' NB. no labs to select - -ev_dot_ctrl =: ev_advance_click -ev_advance_click=: 3 : 0 -if. ('jlab')e.conl 0 do. labnext_jlab_'' else. smoutput 'No lab open. Do studio|labs...' end. -) - -ev_labrun_click=: 3 : 0 -labopen .getv'jsid' -) - jev_get=: create NB. move new transaction(s) to log @@ -226,25 +163,6 @@ jform.jdo.blur(); // hide the onscreen keyboard } -function ev_advance_click(){jdoajax([]);} - -function ev_lab_click() -{ - if(null==jbyid(labsel)) - jdoajax([],); - else - jdlgshow(labsdlg,labsel); -} - -function ev_labsclose_click(){jhide(labsdlg);ev_2_shortcut();} - -function ev_labrun_click() -{ - jhide(labsdlg); - jform.jsid.value= jbyid(labsel).selectedIndex; - jdoajax([],); -} - function ev_return_click(){ev_jdo_enter();} function ev_bottom_click(){ jbyid(jdo).scrollIntoView(false);} function ev_up_click(){uarrow();} [8:13pm brian~]% On Fri, Dec 9, 2011 at 6:23 PM, bill lam bbill@gmail.com wrote: The default diff format is rather difficult for human review. If your diff also supports the -u option, eg diff -u file1 file1 the output would be more readable. Птн, 09 Дек 2011, Brian Schott писал(а): Eric, I have successfully only added the button L in jijxipad (in line 24 in the diff). When I click that new button, all that apparently happens is the line /div. Other than that I have mostly just copied from jijx into jijxipad definitions which relate to labs, including the verb labopen. Can you look at the diff below and suggest how I can proceed, please? -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Bill, Any svn'ing would be premature. I am very new to this. [8:13pm brian~]% diff -u /Users/brian/j701/addons/ide/jhs/jijxipad.ijs.orig /Users/brian/j701/addons/ide/jhs/jijxipad.ijs --- /Users/brian/j701/addons/ide/jhs/jijxipad.ijs.orig 2011-12-04 18:21:33.0 -0500 +++ /Users/brian/j701/addons/ide/jhs/jijxipad.ijs 2011-12-09 15:20:35.0 -0500 @@ -21,9 +21,72 @@ 'dn'jhb'darr;' 'return'jhb'crarr;' 'jijsipad'jhrefx 'nbsp;Enbsp;' +'labs' jhb 'nbsp;Lnbsp;' +'advance'jhb'adv' 'recalls'jhhidden'RECALLS' ) +ev_labs_click=: 3 : 0 +'labsdlg' jhdivadlg'' + 'labrun' jhb'run' + labsel'' + 'labsclose'jhb'X' +'/div' +) + +labopen=: 3 : 0 +require__'~addons/labs/labs/lab.ijs' +smselout_jijs_=: smfocus_jijs_=: [ NB.! allow introcourse to run +labinit_jlab_ y{LABFILES +) + +getlabs=: 3 : 0 +LABTITLES=: LABCATS=: LABFILES=: '' +d=. dirpath t=. jpath'~addons/labs/labs' +try. + for_p. d do. + for_q. 1 dir '/*.ijt',~p do. + LABFILES=: LABFILES,q + cat=. (:#t)}.q + cat=. (cat i.'/'){.cat + LABCATS=: LABCATS,cat + title=. toJ fread q + title=. (title i.LF){.title + title=. (:title i.)}.title + title=. (title i:){.title + LABTITLES=: LABTITLES,cat,': ',title + end. + end. +catch. +end. +s=. /:LABTITLES +LABFILES=: s{LABFILES +LABCATS=: s{LABCATS +LABTITLES=: s{LABTITLES +) + +labsel=: 3 : 0 +getlabs'' +(0~:#LABTITLES){'';'labsel'jhselect LABTITLES;1;0 +) + +labopen=: 3 : 0 +require__'~addons/labs/labs/lab.ijs' +smselout_jijs_=: smfocus_jijs_=: [ NB.! allow introcourse to run +labinit_jlab_ y{LABFILES +) + +ev_lab_click=: 3 : 'smoutput labmsg' NB. no labs to select + +ev_dot_ctrl =: ev_advance_click +ev_advance_click=: 3 : 0 +if. ('jlab')e.conl 0 do. labnext_jlab_'' else. smoutput 'No lab open. Do studio|labs...' end. +) + +ev_labrun_click=: 3 : 0 +labopen .getv'jsid' +) + jev_get=: create NB. move new transaction(s) to log @@ -163,6 +226,25 @@ jform.jdo.blur(); // hide the onscreen keyboard } +function ev_advance_click(){jdoajax([]);} + +function ev_lab_click() +{ + if(null==jbyid(labsel)) + jdoajax([],); + else + jdlgshow(labsdlg,labsel); +} + +function ev_labsclose_click(){jhide(labsdlg);ev_2_shortcut();} + +function ev_labrun_click() +{ + jhide(labsdlg); + jform.jsid.value= jbyid(labsel).selectedIndex; + jdoajax([],); +} + function ev_return_click(){ev_jdo_enter();} function ev_bottom_click(){ jbyid(jdo).scrollIntoView(false);} function ev_up_click(){uarrow();} [10:19pm brian~]% On Fri, Dec 9, 2011 at 8:34 PM, bill lam bbill@gmail.com wrote: Sorry, I forgot to mention the ordering of files. diff [-u] oldfile newfile Moreover, if you had checkout from svn and made some changes to files, you can just use, $ svn diff Please request a svn accont from Chris, so that it will much easier for you to commit changes to JAL if you wish. Птн, 09 Дек 2011, Brian Schott писал(а): Bill, I never new about -u. -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Eric, I like your ideas, and have begun to looks at your code jijxipad.ijs to see what I can add. I assume you mean by a labnext button a lab advance button? A choose a lab button would also be needed, and an actual lab choice by the user would trigger the showing of the labnext button on jijxipad, right? Regarding the space key peculiarities of the ipad keyboard, I have discovered a couple of workarounds. On the numeric ipad keypad there is an undo key which can be helpful if you wish to simply enter a list of space-separated numbers: just press the undo key first and then enter the list. On the symbolic ipad key pad there is a redo key which can be used to enter something like `a=: a list of space-separated numbers': on the alpha keypad enter the letter `a', then go straight to the symbolic keypad by way of the numeric keypad, then press the redo key before entering `=: ...' . These are not great alternatives, but they seem to work. On Tue, Dec 6, 2011 at 4:04 PM, Eric Iverson eric.b.iver...@gmail.com wrote: I left the menu out because much of it seems of little use on the ipad and I valued the real estate more. Try running labs manually. It might lead you to push for improvements of ipad labs. labopen_jlab_ jpath'~addons/labs/labs/core/jtaste1.ijt' labnext_jlab_'' It might make sense to add a few more buttons on the ipad to the right of the input box. A labnext button would be easy. And perhaps a space button that make the keyboard easier to use. It would be easy to add a verb that listed labs and made it easy to select one to open. I'm not going to get to adding buttons to jijxipad any time soon. It would make an interesting exercise for the reader. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Eric et al, The ipad is really working for me with J. 2 questions : Are the menus missing in ijixipad on purpose ? Lab cannot be run w/o advance. Sporadically spaces between numbers do not trigger the alpha keyboard, but usually they do. Has anyone discovered a pattern? --- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Joey, I discovered and ' are simple on the alpha keyboard: just hold down the period and the comma key. But, I have not found any easy way to enter space separated digits or primitives. On Thursday, December 1, 2011, Eric Iverson eric.b.iver...@gmail.com wrote: I won't be able to look at the jijsipad errors until tomorrow. I found that I got used to the keyboard after a bit of use. There is limited real estate and I'm suspicious that another layout would be any better. -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
I have just sent the following message to apple ipad feedback at http://www.apple.com/feedback/ipad.html . The programming language I use, uses mostly lower case letters, digits and the symbols that appear on a standard keyboard and almost never uses upper case letters. Our users would really benefit if the shift-key could toggle between lower case letters and digits/symbols, instead of lower case and uppercase. But another improvement which would be really good for us would be to add a 'space' key to the numeric(digit) and symbol key groups, because a space is used to separate many of the symbols and numbers we use. As it is now, if we are typing symbols or digits and need a space, we are returned to the alphabetic keys. This would be a BIG improvement by itself. You can see our programming language J at jsoftware.com. There is another, separate programming language named K at kx.com which is similar and very popular, too. Thanks. -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] JHS ipad support
I have successfully run jijx and jijxipad and jijsipad. I cannot run or load 17.temp.ijs in jijxipad. Help? And when I type jijxh I don't seem to get any help specific to ipad. TIA, -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Yes, I am using a real iPad2. Unfortunately, I have managed to go backwards instead of forward. When you asked if I had the most recent JHS update, I got nervous and downloaded it again, to be sure. In doing so, I think I might have mistakenly overwritten the ~addons/ide/jhs/config/jhs.ijs file so I did not get the message after launching JHS in the terminal window that tells me what do to for another computer on my network. So, I copied and renamed jhs_default.ijs to jhs.ijs in ~addons/ide/jhs/config/ and edited the BIND to 'any'. Now when I use the ipad, I can only put jijx or jhelp into the address field. If I enter jijxipad I get get/post request failed response code 409 error try browsing to url again ... in jijx I get this message. |value error: jev_get_jijxipad_ | jev_get_jijxipad_ '' ***response not sent for jijxipad I would appreciate any further help you can give. I will give you feedback. On Thu, Dec 1, 2011 at 12:20 PM, Eric Iverson eric.b.iver...@gmail.com wrote: Pleased to hear you are having a chance to try an iPad with J. I need a bit more information to try to help with your questions. Are you using a real iPad? Are you doing this with Jsoftware JUM or with your own server running the latest JHS update? The iPad jijs support is limited but it does work as far as I know. If I remember correctly it is only an editor and doesn't have an action to run the script. Try the following and let me know if it helps. On the iPad jijxipad form press the E button to the right of the input line. This should give you a new window with a jijsipad form for editing. The jijsipad form has a text field for a file name and a button to read the file and a button to save the file. Enter something like abc=:1234 and press the save button. Now switch back to the ijx window and explicitly do a load of the the file. You should see the abc noun has been defined. Does this help? It would be easy to improve this but it would be nice to have some feedback. Probably the main thing to add would be a run button on the jijsipad form. Not sure what you mean by jijxh. Something I have forgotten. It should be possible to see the normal JHS help on the iPad by browsing to the /jhelp page. The -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Yes, I am back using jijxh pad. Thnx. -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Not so fast. Now, jijsipad is giving me those same 409 errors. And, are there any international keyboards on the iPad which would make it easier to input J? Could one be invented? On Thursday, December 1, 2011, Brian Schott schott.br...@gmail.com wrote: Yes, I am back using jijxh pad. Thnx. -- (B=) -my sig Brian Schott -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
On Thursday, December 1, 2011, Eric Iverson eric.b.iver...@gmail.com wrote: I won't be able to look at the jijsipad errors until tomorrow. Ok, great. I found that I got used to the keyboard after a bit of use. There is limited real estate and I'm suspicious that another layout would be any better. Thinking of a keyboard with lowercase letters and shift gives the symbols for j primitives. -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
It's working for me now. I think my desktop went to sleep and messed up the connection. -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] pp.ijs in J6
Thanks Ric and Chris. As you may imagine, I got onto this while reading the thread about Simple J and making J easier to read. On Thu, Nov 17, 2011 at 7:09 PM, chris burke cbu...@jsoftware.com wrote: In J6 this is available from menu Edit|Export Script. On Fri, Nov 18, 2011 at 5:33 AM, Ric Sherlock tikk...@gmail.com wrote: Had a chance to look this up: In J6: load '~system/packages/export/export.ijs' export_run_jexport_'' This will run a dialog box that lets you choose a script file. You can choose the color scheme you want and it will then write the script as html to a file and open it in your browser. You can print from there. On Thu, Nov 17, 2011 at 11:21 AM, Ric Sherlock tikk...@gmail.com wrote: From memory in J6 there is a GUI interface (exportsomething) or similar that optionally uses pp.ijs to generate syntax highlighted html page -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] pp.ijs in J6
I am consistently getting the following error. Please help. load '/Users/brian/j602/system/extras/util/pp.ijs' pp_jpp_ '~system/extras/util/pp.ijs' |domain error: ucp | dat=.ucp y -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] pp.ijs in J6
ucp is defined as you suggested. pp.ijs is a system script for pretty printing ijs files, presumably with the coloring I mentioned in another thread (for nouns, verbs, etc). ucp 7u: ucp_jpp_ 7u: On Wed, Nov 16, 2011 at 1:23 PM, Raul Miller rauldmil...@gmail.com wrote: What is ucp? On my system it's ucp=: 7u: This looks like the definition from system/main/stdlib.ijs I do not see any other definitions for it, but you might have something which provides another definition? -- Raul On Wed, Nov 16, 2011 at 12:56 PM, Brian Schott schott.br...@gmail.comwrote: I am consistently getting the following error. Please help. load '/Users/brian/j602/system/extras/util/pp.ijs' pp_jpp_ '~system/extras/util/pp.ijs' |domain error: ucp | dat=. ucp y -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] pp.ijs in J6
Raul, Yes, that eschews the error message, but produces only the integer 1 for output, regardless of the correct filename I input. No, wait... Now the only output is the integer 0. I have no idea what changed that, except that I entered the instruction pp_jpp_ init or maybe it was just pp init before the result became 0 always. The reason I don't remember which I entered is that I quit J and relaunched to see if it would revert to result 1, but it has stayed as 0. Thank you. On Wed, Nov 16, 2011 at 2:25 PM, Raul Miller rauldmil...@gmail.com wrote: I think I see your problem. You are using: pp_jpp_ '~system/extras/util/pp.ijs' I think you should be using: pp_jpp_ jpath '~system/extras/util/pp.ijs' -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] pp.ijs in J6
By looking at the code for pp.ijs, I think I see why the 1 changed to 0: the original file pp.ijs was rewritten by the verb pp.ijs and now the result of the verb pp is 0 instead of 1. But I do not see where pp.ijs PRINTS, which is what I was expecting. On Wed, Nov 16, 2011 at 4:13 PM, Brian Schott schott.br...@gmail.com wrote: Raul, Yes, that eschews the error message, but produces only the integer 1 for output, regardless of the correct filename I input. No, wait... Now the only output is the integer 0. I have no idea what changed that, except that I entered the instruction pp_jpp_ init or maybe it was just pp init before the result became 0 always. The reason I don't remember which I entered is that I quit J and relaunched to see if it would revert to result 1, but it has stayed as 0. Thank you. On Wed, Nov 16, 2011 at 2:25 PM, Raul Miller rauldmil...@gmail.com wrote: I think I see your problem. You are using: pp_jpp_ '~system/extras/util/pp.ijs' I think you should be using: pp_jpp_ jpath '~system/extras/util/pp.ijs' -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JSoftware JUM?
I just logged into jsoftware jum successfully, however ... Each new tab I open requires a new entry of name and password. I see the Help has been expanded and I will look at SP when I return later. When I went to jijs and clicked on addons I got another request for my name and password, but got a security error when I provided such. On Mon, Oct 3, 2011 at 10:57 PM, Eric Iverson eric.b.iver...@gmail.com wrote: as far as i can tell jsoftware jum is working as expected. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JSoftware JUM?
I am using Safari. I found jsoftware.com and removed __utma and __utmz leaving one from .jsoftware.com (NB. . prefix) named __utmc and one from www.jsoftware.com named jcookie . I was then able to login but as soon as I typed sphelp into jijx, I am again gettting the message requesting my name and password. On Tue, Nov 1, 2011 at 3:21 PM, Eric Iverson eric.b.iver...@gmail.com wrote: I think the problem is with the browser cookie. Possibly some other interaction with jsoftware web site has set cookies and the inclusion of these with the JHS cookie prevents JHS from seeing the valid cookie. It would be great if you could verify that this is the problem so I can effect a fix and it would also give you a workaround. The actions depend on your browser and the following rough steps assume chrome. 1. start chome 2. wrench (tools) 3. options 4. under the hood 5. content settings 6. all cookies and site data 7. type in jsoftware to the search field 8. let me know if you see 2 sets of cookies (jsoftware.com and www.jsoftware.com) 9. click jsoftware.com and click and remove __utma and __utmz At this point I think you might be able to use JUM. On Tue, Nov 1, 2011 at 1:34 PM, Brian Schott schott.br...@gmail.com wrote: I just logged into jsoftware jum successfully, however ... Each new tab I open requires a new entry of name and password. I see the Help has been expanded and I will look at SP when I return later. When I went to jijs and clicked on addons I got another request for my name and password, but got a security error when I provided such. On Mon, Oct 3, 2011 at 10:57 PM, Eric Iverson eric.b.iver...@gmail.com wrote: as far as i can tell jsoftware jum is working as expected. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JSoftware JUM?
yes, I am in. Thanks. On Tue, Nov 1, 2011 at 3:39 PM, Eric Iverson eric.b.iver...@gmail.com wrote: Brian, I have applied a fix at Jsoftware JUM for the login/cookie bug. You will need to kill and restart your task to get the fix. If it then works normally for you that pretty much verifies the problem theory and there is no need to go through the cookie steps. /Eric -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] screen cast video of JHS install
I have just added to the list of instructional videos on the jwiki. The one I added is not new but I have added intermediate time links to the long video so that it can be viewed more selectively like shorter videos. I think it was Dan Bron who originally suggested cutting up the long video; this is an alternative. http://www.jsoftware.com/jwiki/VideoInstructionInJ -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] screen cast video of JHS install
Yes, Tom. A question mark was missing in each. Thanks much. I have fixed the problem. On Fri, Oct 7, 2011 at 6:49 PM, Tom Arneson t...@tomarneson.com wrote: Many of the links to videos are broken. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JSoftware JUM?
Are you using a computer or a mobile? I am using a computer. On Tue, Oct 4, 2011 at 2:33 PM, Dan Bron j...@bron.us wrote: Yesterday, I couldn't use JUM because: - It rejected my original credentials. I probably forgot the correct password. - When I tried to create a new account, I got some kind of Javascript popup saying there was an AJAX error and that more information is available in the IJX, but of course I can't access the IJX. (Sorry, I forget the exact error message, and I can't reproduce it now.) Today, I can't use JUM, because the URL http://www.jsoftware.com:50001/jum doesn't respond - doesn't seem there's anything listening on port 50001. -Dan Are you saying that you do not even get the welcome screen with http://www.jsoftware.com:50001/jum ? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JSoftware JUM?
I get a slightly different message: [3:25pm brian~]% telnet www.jsoftware.com 50001 Trying 202.67.223.49... telnet: connect to address 202.67.223.49: Connection refused telnet: Unable to connect to remote host [3:25pm brian~]% telnet jsoftware.com 50001 Trying 202.67.223.49... telnet: connect to address 202.67.223.49: Connection refused telnet: Unable to connect to remote host On Tue, Oct 4, 2011 at 3:12 PM, Dan Bron j...@bron.us wrote: Are you using a computer or a mobile? I am using a computer. I tried both. I also tried multiple browsers. But today, I doubt the issue is my platform or my browser. Here's what I get when I try a vanilla telnet to that port: C:\telnet www.jsoftware.com 50001 Connecting To www.jsoftware.com...Could not open connection to the host, on port 50001: Connect failed C:\telnet jsoftware.com 50001 Connecting To jsoftware.com...Could not open connection to the host, on port 50001: Connect failed Telneting to port 80 worked fine. -Dan -Original Message- From: general-boun...@jsoftware.com [mailto:general-boun...@jsoftware.com] On Behalf Of Brian Schott Sent: Tuesday, October 04, 2011 2:40 PM To: General forum Subject: Re: [Jgeneral] JSoftware JUM? Are you using a computer or a mobile? I am using a computer. On Tue, Oct 4, 2011 at 2:33 PM, Dan Bron j...@bron.us wrote: Yesterday, I couldn't use JUM because: - It rejected my original credentials. I probably forgot the correct password. - When I tried to create a new account, I got some kind of Javascript popup saying there was an AJAX error and that more information is available in the IJX, but of course I can't access the IJX. (Sorry, I forget the exact error message, and I can't reproduce it now.) Today, I can't use JUM, because the URL http://www.jsoftware.com:50001/jum doesn't respond - doesn't seem there's anything listening on port 50001. -Dan Are you saying that you do not even get the welcome screen with http://www.jsoftware.com:50001/jum ? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JSoftware JUM?
Yes, it is working for me. I am using my old name, etc. I wish it had the addons installed, btw. On Mon, Oct 3, 2011 at 7:15 PM, Dan Bron j...@bron.us wrote: Is the JHS installed on jsoftware.com still operational and publicly accessible? I tried using JUM at http://www.jsoftware.com:50001/jum but couldn't log in with my old user name, or create a new one. Is it working for anyone else? -Dan -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Interpreter Bug
Raul, Your links and examples are very helpful. I was surprised to see the information in those links and wonder if I have not read the DoJ recently enough. Are changes to the DoJ documented in the release notes; I have not noticed such? I was especially informed by the last example given in the second link regarding copula for creating gerunds. That illuminated some puzzlement I have had in the past about the ` symbol being used only to the left and the same symbol used between verbs. I hope I can remember that. To understand your domain error example I tried the following experiment which clarified the situation further for me because I had never encountered such an error. 3 : 'a=: y]a=. y' 2 |domain error | a=:y]a=.y 3 : 'a=: y] y' 2 2 Thanks, again. On Mon, Sep 26, 2011 at 11:35 AM, Raul Miller rauldmil...@gmail.com wrote: Have you read the second paragraph here: http://www.jsoftware.com/help/dictionary/d001.htm or footnote 3, here: http://jsoftware.com/help/dictionary/d310n.htm ? My reading of these two concepts suggests that x and y are sometimes prohibited as global names. And, it's easy enough to conduct an experiment to test this concept: 3 :'y=:0' 0 |domain error | y =:0 So it looks to me as if the implementation matches the dictionary... -- Raul -- -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Interpreter Bug
Christopher, It appears that the behavior you observe is real and to me it is easy to see how the behavior is coded by listing out the verb `nl` as follows far below. The key line is this one. nms=. (4!:1 y) -. ;: 'x y x. y.' Perhaps that line should be changed to produce the result you expect. You make a good point. nl 3 : 0 '' nl y : if. 0 e. #y do. y=. 0 1 2 3 end. if. 1 4 8 e.~ 3!:0 y do. nms=. (4!:1 y) -. ;: 'x y x. y.' else. nms=. cutopen_z_ y end. if. 0 e. #nms do. return. end. if. #t=. x -. ' ' do. 'n s'=. '~*' e. t t=. t -. '~*' b=. tE. nms if. s do. b=. +./1 b else. b=. {.1 b end. nms=. nms #~ n ~: b end. ) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] Identity your geolocation
If you have not gone to the link below (lately), please have a look. http://simplifyconnections.appspot.com/?place=J And, btw, there is a little used companion page here that can be hyperlinked from the above (scroll down when you get there). http://simplifyconnections.appspot.com/comment?place=J -- (B=) Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] clouds and J
Thanks, Tracy. So what would be the benefits and costs of a J cloud? -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] Labs trouble in JHS
Attempting to load labs, is giving me spelling errors like the one shown below. Am I doing something wrong? load'/Users/brian/j701/addons/labs/labs/core/intro.ijt' |spelling error | J is executable mathematical notation. |^ |[-7] /Users/brian/j701/addons/labs/labs/core/intro.ijt JVERSION Engine: j701/2011-01-07/14:33 Library: 7.01.048 Platform: Darwin 32 Installer: j701a_mac_powerpc.dmg InstallPath: /Users/brian/j701 -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Labs trouble in JHS
Of course. I knew that. Sorry. On Wed, May 4, 2011 at 7:12 PM, Eric Iverson eric.b.iver...@gmail.com wrote: Labs (.ijt) files are not scripts that can be loaded. They are intended to be run by the lab manager. Try running the lab as a lab. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j 701 server intended for ... ?
Saul, I recently was involved in a longish thread with Eric Iverson in regards to making JHS available on my (home) network only, not as a server for users off the local network. The link below may help you. http://www.jsoftware.com/pipermail/general/2011-February/034371.html -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] a gotcha after iinstalling J701
Murray, I ran the plot package and got the errors too much data as you did. I was able to avoid all those errors by halving the final (third) input to the steps verb. But I was unable to avoid the few errors with unimplemented options. You mentioned in one post regarding the screen cast on JHS that you had to restart JHS for the Labs to function. I have tried unsuccessfully to duplicate that behavior and wonder if the problem was that you did not wait a sufficient time in jal for the download to be done? (But then it was done when you looked at the files.) On the Thunderbird issue. Could you look in Thunderbird for an option to revise the Subject of your reply at least? Gmail offers that option, but I do not use Thunderbird. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] a gotcha after iinstalling J701
Murray, I noticed the plot error message in lesson 15. I believe the lesson said if you get an error message, then `load 'plot'`. Could you try that, please. Your comment that jhs has to be shut down and restarted is a little bit of a surprise. If that can be confirmed, I will try to add a warning in the video. Thanks, -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] J701 install JHS screen cast
I have uploaded a video. No one will mistake it for a professional job. Comments are sought. http://www.youtube.com/watch?v=ckOoqryfyp8 Thanks, -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J701 install JHS screen cast
Bob, I am not familiar with autoplay. I went to a youtube support link and looked at the first hit and it seems that most people want to disable autoplay, not to enable it. http://www.google.com/support/youtube/bin/search.py?hl=enforum=1query=autoplay+more%3Aforum Btw, thanks very much for your encouraging comment on my screencast. I really appreciate your view. On Mon, Mar 14, 2011 at 10:30 AM, bob therriault bobtherria...@mac.com wrote: Well done Brian, The pacing is slow which is perfect for a beginner and you move into the labs near the beginning, which I think is a tremendous resource for exploring J. How did you set your autoplay on youTube? Mine always begins as paused. Cheers, bob -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J701 install JHS screen cast
Ric, Thanks very much for your suggestions. I am not sure what my target audience is, actually, but I guess it is folks who either have a small acquaintance with pre J7, or people who have none but wish to start with JHS. But I do agree that it is painfully long. Please read on. On Mon, Mar 14, 2011 at 3:38 PM, Ric Sherlock tikk...@gmail.com wrote: Obviously my impressions are not from the POV of your target audience so please take them with a grain of salt. I don't think that being able to read the text on the Jsoftware web site at the start is very important. IMO it is more important to show the page as a whole and where you are clicking on the page relative to that whole. Yes, I agree, but I had a problem with my screen cast software and the browser, too. My first choice was to increase the size of the cursor arrow, but leave the text only a little larger, but the software would not follow the cursor accurately (although the developer has now informed me that this is not a problem in Firefox, only in Safari). The lesser problem is that I cannot find a way to make Safari or FF make the address field text bigger, so it is unreadable on the small video canvas, imo. Others could chime in on this issue. I think it may be useful to break the webcast up into 2 or 3 separate shorter casts: a) download, install, run in browser (finish with a 2 + 2 and 2 5 ?@$ 10 or similar in jijx) - ideally need to do this from a clean machine without previous install b) Using JHS interface (jijx, jal, jfile, jhelp, scratch (btw IMO the main benefit of the scratch is for copy/pasting/running multi-line snippets of code from other sources)) c) Intro to using labs d) Behind the scenes (save the info of where files are stored and how stuff interacts) I rather like you idea except that my main goal was to get to a point where a user could find and use the Labs, and that is your point c already. Perhaps another alternative would be to leave the video this long, but to supply time points for 2 or 3 midpoints using the trick of postfixing `#t=xxmyyx` to the url, where xx=integer minutes and yy=integer seconds? Here again, others could comment. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] JHS projects
Devon, http://www.jsoftware.com/jwiki/NYCJUG/2011-02-08/HelloWorldInJHS I just read your Hello World example and your grid example of JHS scripts from NYJUG. You have exposed a great deal of the subtlety of making JHS scripts work. Thank you for posting that most valuable demo. I believe your information belongs in a much more prominent document such as one of the next, which do not exist. Or maybe you and we are waiting for more complete documentation for JHS to emerge? http://www.jsoftware.com/jwiki/Guides/JHS%20IDE http://www.jsoftware.com/jwiki/Guides/JHS%20Projects -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
Joey and Eric, I made a little headway by moving the jhs.ijs file to the same folder that contains jhs_default.ijs (I had left it in the jum subfolder, Doh!) so now I get a message in Terminal as follows. Access from another machine: http://192.168.2.4:65001/jijx In System Preferences|Sharing|Services I have selected only Personal File Sharing, not Personal Web Sharing, and in System Preferences|Sharing|Firewall I discovered the real problem. I had the Firewall *On*setting. By toggling that to *Off* I am now in business. Thanks, folks. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
Eric, Ok, I get that distinction and am happy to do the simpler approach of not using JUM. But when I tried that, I get the error message on the second computer that the server on the main computer is not responding. OTOH when I open jijx on the one main computer in both Firefox and Safari, the two are in fact sharing the same session of J, which is great. (Both are using the ip 127.0.0.1:65001.) I am wondering if there is some need to put (some part of )the jhs system in the folder ~/Sites because that is the one that Macs have set up for (all) internet access. Well, that is not completely true. There is access to 192.168.2.3 and separately to 192.168.2.3/~brian , I believe, and I believe the latter is accessed for the ~/Sites files. To be clear, the urls which receive the error message that the address is not responding are both 192.168.2.3:65001/jijx and 192.168.2.3:65001/~brian/jijx . On Mon, Feb 28, 2011 at 9:24 AM, Eric Iverson eric.b.iver...@gmail.com wrote: JUM is a JHS application. It provides multiple JUM user folders within a single user folder. JUM is the JHS application we run at Jsoftware that allows separate J users to each have their own task. I assumed that what you wanted was to allow access to the SAME jhs task from multiple computers. This is much easier than running JUM. To do this all you need to do is copy jhs_default.ijs to jhs.ijs in the same ide/jhs/config folder and edit BIND=: to be any. Start JHS on your machine with this config change and you should be able to access that J session from another machine with the IP address given in the jconsole welcome message. Go to another machine (such as your iPad) that has a network connection to your JHS server and browse to the jijx page at the IP address and port (65001 unless you have changed it in the config). If you really want to run JUM then you need to load the JUM script on the server and start the JUM application to manage multiple users with multiple J tasks. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] gtkide graph package using gl2 emulation
Bill, Running the JGTK Lab: Graphics - gl2 commands, I get the following errors. gl2lab'' |syntax error | gl2lab'' gl2lab 43244480 gl2lab_run'' |domain error: gtk_widget_set_can_focus | gtk_widget_set_can_focus gtkda,1 JVERSION Engine: j701/2011-01-07/14:33 Library: 7.01.046 Platform: Darwin 32 Installer: j701a_mac_powerpc.dmg InstallPath: /Users/brian/j701 -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] Labs reference to JAL
If labs are not yet installed, the message in jijx is incorrect: studio/labs. It should be to labs/labs. No labs installed. Do pacman studio/labs install and try again. ^^^ Labs are interactive tutorials and are a good way to learn J. Labs are not always current with the latest system and may run with minor errors that can be ignored. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] jum on a local network
I am not even sure the Subject: is correct, but I would like to host J from my Mac only on my home wifi network so that I could sit in my easy chair and play with J from an itouch, for example. My questions are, can I do it without starting the (Apache) server or not, and if so are there other System Preferences|Sharing|Services... that must be selected, and any other guidance anyone can give, please? TIA, -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
When I did use the Apache server on my system, the main files were in the folder /Users/brian/Sites and the url that other used to access my webpages was postfixed with ~brian . Currently the file JHS file is in the stand location, /Users/brian/701/jhs701 , but to make jum available on my local network do I have to put some files in /Users/brian/Sites or /Users/brian , and if so, which ones? I would rather not have to use the Apache server because my previous experience using it was negative because of hackers with my free and static ip address. On Sat, Feb 26, 2011 at 10:35 AM, Brian Schott schott.br...@gmail.com wrote: I am not even sure the Subject: is correct, but I would like to host J from my Mac only on my home wifi network so that I could sit in my easy chair and play with J from an itouch, for example. My questions are, can I do it without starting the (Apache) server or not, and if so are there other System Preferences|Sharing|Services... that must be selected, and any other guidance anyone can give, please? TIA, -- (B=) -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
Eric, I have gotten pretty far along, but have not been able to supply the correct `user:` and `password:` at http://127.0.0.1:65002/jlogin . I copied ~addons/ide/jhs/jhs_default.ijs to jhs.ijs and editted BIND=: to be 'any' and left USER=: and PASS=: unchanged as '' . I then started a jconsole task and did the following. ***jconsole task below*** /Users/brian/j701/bin/jconsole; exit Welcome to Darwin! [5:07pm brian~]% /Users/brian/j701/bin/jconsole; exit load'~addons/ide/jhs/core.ijs' load'~addons/ide/jhs/jum.ijs' createjum_jum_ 65002;'1234' NB. only if new PORT or PASS init_jhs_'jum' J HTTP Server - init OK Requires a modern browser (later than 2005) with Javascript. A : separates ip address from port. Numeric form ip can be faster than name. Access from another machine: http://192.168.2.3:65002/jijx Start a web browser on this machine and enter URL: http://127.0.0.1:65002/jijx ***jconsole task above*** So I am now at the step in JUM help which says, browse to jum task /jijx and login, but continue to get the error message invalid login (x). Btw, all of this is being done on my main computer, not another one on the wifi network. Can anyone tell me what is wrong, please? On Sat, Feb 26, 2011 at 3:34 PM, Eric Iverson eric.b.iver...@gmail.com wrote: All you need is JHS to do what you describe. You don't need apache or anything else. You need to read ~addons/ide/jhs/jhs_default.ijs and folow the instructions (basically copy to jhs.ijs and edit BIND=: to be 'any' and possibly USER=: and PASS=:. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] JHS trace
I am unable to get any levels of function calls, only 1 level. Am I missing something? load'~addons/general/misc/trace.ijs' Furthermore, trace 'calendar__ 2011 2' NB. produces a spelling error: trace 'calendar__ 2011 2' --- 0 Monad -- calendar__ 2011 2 -- 3 : 0 0 calendar y : a=. ((j100)*(-100|){.6!:0'')+j=. {.y b=. (a-x)+-/.4 100 400%~:a r=. 28+3,(~:/0=4 100 400|a),10$5$3 2 r=. (-7|b+0,+/\}:r)|.0 1 r(]::*1/)i.42 m=. (:}.y),i.12*1=#y h=. 'JanFebMarAprMayJunJulAugSepOctNovDec' h=. ((x*3)|.' Su Mo... 2011 2 |spelling error | t_z=. (3 : 0 0 (calendar callcalendar) y : a =. ( ( j 100 ) * ( - 100 | ) {. 6 !: 0 '' ) + j =. {. y b =. ( a - x ) + - / . 4 100 400 % ~ : a r =. 28 + 3 , ( ~: / 0 = 4 100 400 | a ) , 10 $ 5 $ 3 2 r =. ( - 7 | b + 0 , + / \ }: r ) |. 0 1 r ( ] : : * 1 / ) i. 42 m =. ( : }. y ) , i. 12 * 1 = # y h =. 'JanFebMarAprMayJunJulAugSepOctNovDec' h =. ( ( x * 3 ) |. ' Su Mo Tu We Th Fr Sa' ) ,: 1 ~ _3 ( _12 {. ) \ h 2 m { h , 2 [ 12 6 21 ( $ , ) r { ' ' , 3 : 1 + i. 31 1 )) t_y |^ | .'t_z=. ',((2=#y)#'t_x '),'(',(encall.;:x),') t_y' calendar__ 2011 2 Any ideas, please? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS trace
Update: I suspect my problem is that my verbs are recursive such as `foo=: 10$: : *` and trace has not dealt with this. On Wed, 23 Feb 2011, Brian Schott wrote: I am unable to get any levels of function calls, only 1 level. Am I missing something? load'~addons/general/misc/trace.ijs' Furthermore, trace 'calendar__ 2011 2' NB. produces a spelling error: trace 'calendar__ 2011 2' [snip] Any ideas, please? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Enter in Gtk IDE
I can confirm that behavior. JVERSION Engine: j701/2011-01-07/14:33 Library: 7.01.045 Platform: Darwin 32 Installer: j701a_mac_powerpc.dmg InstallPath: /Users/brian/j701 On Tue, Feb 22, 2011 at 2:32 PM, Ric Sherlock tikk...@gmail.com wrote: For a while I've noticed that sometimes pressing Enter in the Term window just inserts a new line rather than executing the current line or copying the current line to the bottom of the log. It's been infrequent though and I never understood why. I've now worked out that the issue (on this system at least) is that the standard Enter key works fine, but using the Enter key on the numeric keyboard just inserts a new line rather than the expected behaviour. -- 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
[Jgeneral] removing debug stops
In JHS I am having trouble removing debug stops from the calendar example. Can someone clarify the way the stops are to be removed, please? I have tried the following, which seem to indicate that the stop at 0 persists when I am trying to remove it with the `~` syntax. dbsm'' calendar 0 ; dbsm'~ 0' calendar 0 ; dbsm'~ calendar 0' calendar 0 ; Btw #1, I get the following error when I have a trailing blank, which seems annoying. dbsm'calendar ' |ill-formed name: calendar | raw=.5!:5y |dbsd[1] Btw #2, In Firefox I get an annoying beep sound when the screen is full and I click Shift+(up or down)arrow. JVERSION Engine: j701/2011-01-07/14:33 Library: 7.01.045 Platform: Darwin 32 Installer: j701a_mac_powerpc.dmg InstallPath: /Users/brian/j701 -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] removing debug stops
I think I got the answer and coincidentally the problem was my misundertanding of the extra space I used as I mentioned in my Btw#1. The following works. dbsm'~calendar 0' On Fri, 18 Feb 2011, Brian Schott wrote: In JHS I am having trouble removing debug stops from the calendar example. Can someone clarify the way the stops are to be removed, please? I have tried the following, which seem to indicate that the stop at 0 persists when I am trying to remove it with the `~` syntax. dbsm'' calendar 0 ; dbsm'~ 0' calendar 0 ; dbsm'~ calendar 0' calendar 0 ; Btw #1, I get the following error when I have a trailing blank, which seems annoying. dbsm'calendar ' |ill-formed name: calendar | raw=.5!:5y |dbsd[1] Btw #2, In Firefox I get an annoying beep sound when the screen is full and I click Shift+(up or down)arrow. JVERSION Engine: j701/2011-01-07/14:33 Library: 7.01.045 Platform: Darwin 32 Installer: j701a_mac_powerpc.dmg InstallPath: /Users/brian/j701 -- (B=) -- (B=) --my sig Brian Schott Atlanta, GA, USA schott DOT bee are eye eh en AT gee em ae eye el DOT com -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Alex Rufon
Yes. Thanks for reminding me of Hehehehe. On Wed, Feb 16, 2011 at 1:18 AM, R.E. Boss r.e.b...@planet.nl wrote: This is very, very sad news. I will never forget his posts, especially the non-J ones. On commuting accidents or choosing between a motorbike or a laptop (Hehehehehe.) -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] files not available in JGTK new user project
I have attempted to start a new project, but the left panel of the Projects edit window is stuck on felidae1. The desired files (freecellscore.ijs and init.ijs) appeared in the right panel, and when I clicked on source.jproj, it appeared also and it was the correct one, but notice that freecellscore.ijs is not listed in the left panel. Furthermore, when I click on the [folder]... icon at the top, there is no reaction when I expect to see the parent folder. A snapshot is at the following link. http://www.pixentral.com/show.php?picture=1uw38Za5lZH18jv6HnejhI85fwnr The desired directory is as follows. [12:23pm brian~]% ls -l /Users/brian/j701-user/projects/freecellscore/source total 48 -rw-r--r-- 1 brian staff11 Feb 16 12:10 build.ijs -rw-r--r-- 1 brian staff 1150 Feb 13 17:45 freecellscore.ijs -rw-r--r-- 1 brian staff10 Feb 16 12:10 init.ijs -rw-r--r-- 1 brian staff 9 Feb 16 12:10 run.ijs -rw-r--r-- 1 brian staff 120 Feb 16 12:10 source.jproj -rw-r--r-- 1 brian staff 998 Jan 25 17:20 xmltest [12:24pm brian~]% Thanks, -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] files not available in JGTK new user project
Bill, Yes, I can confirm the correctness of your statement. But that was not obvious. Now it is working. Thank you. On Wed, Feb 16, 2011 at 7:19 PM, bill lam bbill@gmail.com wrote: There are 3 panes inside Open|Project listbox. If your project is under ~Projects , it should appear in the middle pane, the full path name may be too long to fit inside this pane, the right most pane is a recent used list, if it is a new project and you have never open it, then obviously it will not be inside this pane. You cannot use file chooser in the sidebar to open a project, it must be done via Menu Project|Open HTH -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Welcome message for session?
Chris, I could not find any documentation for adding scripts to the Launch Pad menu. Help, please. Is this a clue: http://www.jsoftware.com/jwiki/Scripts/Task?highlight=%28pad%29%7C%28launch%29 On Tue, Feb 15, 2011 at 6:59 AM, chris burke cbu...@jsoftware.com wrote: For this, I suggest that you use the Run|Launch Pad menu. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Alex Rufon
I am dumbfounded. Alex was a joy. He had such a knack for interweaving into his posts both his life and his professional wisdom. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS configuration
Eric, There is no information about base.cfg in the help. Isn't that really where major configuration of JHS takes place. Please take a look at jhs_default.ijs . It seems to only confijgure relative to JUM, not to JHS. That's why I say it is incorrectly referenced. There is nothing in it about base.cfg parameters. And what about my question regarding _nox? On Thu, Feb 10, 2011 at 12:06 PM, Eric Iverson eric.b.iver...@gmail.com wrote: jhelp Config jump at the top of the page does in fact jump to the very short Config section. As it is near the bottom of the page, most browser only scroll until it is visible so Config isn't at the top of the page unlike other jumps. This can be confusing, but don't see what to do about it. File jhs_default.ijs requires careful reading. In most cases you want to copy jhs_default.ijs to be jhs.ijs in the same folder. Then edit it as required. This is the place to change only the nouns listed such as PORT or LHOK. There isn't currently a clean way to change things such as font size. Changes for all users is not to bad, but changes just for your particular platform of browser is more difficult. Run sentence: 'PC_' names_jhs_ 0 NB. platform configuration Experiment with changes. PC_FONTSIZE_jhs_=: '24px' You need to reload the page (esc then j) to see the change. You could add these to your startup ijs file if you want. For font size I find the normal browser (ctrl+- or ctrl+=) to be pretty handy. On Thu, Feb 10, 2011 at 11:10 AM, Brian Schott schott.br...@gmail.comwrote: Having found the following two links, I am having trouble executing some changes. ~addons/ide/jhs/config/jhs_default.ijs ~system/util/configure.ijs First a comment on a likely error. http://127.0.0.1:65001/jhelp#config is one of the main links on the JHS help page and it takes the user to the JUM config instructions, not to JHS config instructions. I cannot find any JHS config instructions on that page. I believe the user should be instructed how to make JHS configurations and that main link should be destroyed or should refer to a JHS configure. jhs_default.ijs is very careful to say it should not be altered and instead copied versions should be used. How should configure.ijs be used? Should it be copied, too. One change I would like to explore is increasing the font sizes of the jhs windows, but I do not know how. I have Elizabeth Castro's book HTML for the World Wide Web 5th edn, which tells me a lot about CSS but I don't quite see how or where to create a style sheet for this purpose. Another question is what is the meaning of the _nox option in Browser_nox? I am unfamiliar with this. Does it mean no unix? And what does that mean for someone like me on a Mac? Thx, -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS configuration
Ok. Thank you. On Thu, Feb 10, 2011 at 12:44 PM, Eric Iverson eric.b.iver...@gmail.com wrote: jhs_default.ijs configures jhs as to which port is serves and other details. This is the critical config for jhs. It is not particular to jum, although each jum user in turn has his own config. I believe base.cfg is part of jgtk config and is not used directly by jhs. Similarly for _nox. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] keys in labs
The magic key is Escape. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS configuration
Yes, thanks. I saw that, but what is Browser_nox and how is it different from Browser? And what does it mean, without X? On Thu, Feb 10, 2011 at 2:32 PM, Tikkanz tikk...@gmail.com wrote: Editor_nox is defined (and documented) in ~config/base.ijs NB. Editor_nox external editor program (without X), used in Linux only -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS configuration
Thanks. I couldn't work that out. On Thu, Feb 10, 2011 at 3:22 PM, Tikkanz tikk...@gmail.com wrote: I think this is the same sort of thing - a non-X-windows browser (i.e. text-based) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Keyboard shortcuts
I think I agree totally with Ric. To clarify this, I find it terrible when in JGTK the Esc key loses all my steps in jijx, because I do not always work with an ijs page. So it is not enough for me for an Esc to only look for unsaved ijs pages; an Esc needs to check for a nonempty ijx, also. On the other hand, I am happy for the Esc key to dismiss separate plot or grid windows, for example. On Tue, Feb 8, 2011 at 2:37 PM, Tikkanz tikk...@gmail.com wrote: Yes, before we make a decision it would be useful to know if there is anyone who likes Esc to close the session (with or without confirm). Personally I like it for dismissing dialogs (e.g. File|Open, Find in Files etc) but don't think it should close an application. IOW, if noone feels strongly that the option to close the J Gtk IDE using Esc is needed, then EscClose isn't needed. If there are supporters then I'd support the EscClose (default 0) proposal. I note that when I'm working on a problem I can have significant amounts of work stored in the Term session that aren't captured by making sure that scripts are saved. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] installation instructions
http://jsoftware.com/stable.htm Unless I am missing something, the instructions above do not tell Windows users how to install J701. Is that correct and intentional? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] jgtk documentation for projects
[I apologize for this long message, but it is partially a rant fulfilled by demonstrating my difficulties finding documentation. I have looked at the j701 release highlights in the help document and a find for project is empty at http://jsoftware.com/docs/help701/user/relhigh.htm. Thank you in advance. ] I am exploring using Projects for program development. I found the following link and have been reading it but am now looking for more information because I don't see how to navigate the Projects system here, only the definition of a Project and a Folder. http://www.jsoftware.com/jwiki/System/Beta/Folders%20and%20Projects Also, at the link above I don't understand the implication of using Dots to reference parent folders. The example given `jpath '~.R/base/random.ijs'` does not help enough. Perhaps another example without the '.' could be given. But mostly I want to know where to go next for help in Projects. I cannot even figure out how to build an existing project. I somehow was able to build and run felidae1 but I cannot reproduce that experience and after I got it built and run, I could not get felidae2 to build and run; jgtk seemed to be stuck running felidae1. I assume the menu item `Run|Run Project` has to be clicked (OT: I would prefer F9, but on my Mac F9 displays all open windows on all open applications) when a particular file is selected in the edit window, but which file? No. There are other menu items 'Project|Build' and 'Project|Run' which seem to be what I need. But these only work correctly if I *first* use 'Project|Open' to get the correct demo *source* file directory open and then click 'Project|Build' and 'Project|Run' (or only 'Project|Run' if it is already built, but I don't know to know it has already been built. No that may be wrong, too. Maybe 'Project|Run' forces a 'Project|Build'. I am struggling here.) Now I have found a new link which looks promising (below), but it begins by telling me to use a menu item that does not even exist. `Run the Project Manager from menu Run|Project Manager... or by pressing Ctrl-B.` So where is the manual I need??? http://www.jsoftware.com/jwiki/Project%20Manager I finally have the minimal ability to run the felidae1 and felidae2 demos, but I continue to get the message during the build of felidae3. load '/Users/brian/j701/addons/demos/gtk/felidae3/source/build.ijs' |domain error: script | (target)1!:2~(' conew ''felidae3''',LF),~dat2,')',LF,(;freads@jpath.;._2 f0),(systemdefs''),dat1,;freads@jpath.;._2 f1 |[-62] /Users/brian/j701/addons/demos/gtk/felidae3/source/build.ijs JVERSION Engine: j701/2011-01-07/14:33 Library: 7.01.041 Platform: Darwin 32 Installer: j701a_mac_powerpc.dmg InstallPath: /Users/brian/j701 -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jgtk documentation for projects
Bill, On Fri, Feb 4, 2011 at 8:01 PM, bill lam bbill@gmail.com wrote: felidae3 requires jmf and jdb addons, were them installed and worked? No, those addons were NOT installed. Now felidae3 runs fine. The Dots are used inside some projects, I guess it is a shorthand for ~.R/base/random.ijs == ~R/../base/random.ijs Thank you for that explanation. Maybe the jwiki page could be improved by its author. I am not sure those project menu items or shortcut keys. build project with load 'build.ijs' then run the test, eg load 'run.ijs' this requires the current working directory to the same directory of the build.ijs and run.ijs, otherwise you need to specify the full path name load '~/Demos/gtk/felidae1/source/build.ijs' opening the project from menu should already change current directory. The menus are a little confusing. There is Run|Run Project and Project|Run (and I suppose both of them should be greyed out until there is an open project file). And I need to explore altering the keystroke shortcuts, especially if I ever start to use the project mechanism regularly. Thanks again for your insightful and quick help. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j602 does not run on 32 bit Macintosh w/ Mac OS X 10.6.5
Ian et al, I just checked, and your concern is valid about going back before non-intel Macs. When I altered the j602/bin/jwd to include `-d32` the launch of J602 failed. So I guess an if...fi is required. Darn. On Sun, Dec 5, 2010 at 3:01 AM, Ian Clark earthspo...@gmail.com wrote: Might the -j32 flag actually be disruptive if you go back before 64-bit java was released? (10.5 was it?) Or on non-Intel Macs? Ian -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j602 does not run on 32 bit Macintosh w/ Mac OS X 10.6.5
There was no delay in processing; the annotation is showing near the beginning of the youtube video mentioned above. I have now figured out why *I* was not seeing the annotation: I had elected to use a beta html5 youtube delivery system which seems not to show annotations (yet?). This annotation system which permits others to add annotations seems like a great option for a group like ours because I assume the special link address for editting the annotations is only available privately on these forums, not publicly. Hopefully, the current annotation can be deleted soon when a fix for this issue is added to the downloaded mac distribution file. On Sat, Dec 4, 2010 at 10:32 AM, Brian Schott schott.br...@gmail.com wrote: [snip] That's unfortunate because for example the screencast I made of installing j602 on a Mac will no longer work without the user going through such a fix. It looks like a new screencast is required. But then a new one will be required for j701 installation. http://www.youtube.com/watch?v=fDS-SPtwLS4 Otoh, I have attempted to add an annotation to the original screencast suggesting a fix. The link below permits others to edit the annotations also, I believe. [What an incredible option, if it works!! please offer feedback to me especially if the annotation does not show up (btw, it has not shown up live yet for me, but I hope the problem is just a delay in processing at the youtube server).] http://www.youtube.com/watch?v=fDS-SPtwLS4layer_token=88dca620e88c5dde -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j602 does not run on 32 bit Macintosh w/ Mac OS X 10.6.5
Norman, Your script does not work on my non-intel Mac. There is no response, just like the script with -d32 forced into the java line. On Sun, Dec 5, 2010 at 12:39 PM, Norman Drinkwater nrdrinkwa...@gmail.com wrote: On Intel OSX, the problem is that older versions are only 32-bit, while later ones have both 32- and 64-bit java. On an Intel Mac try this as the jwd script #!/bin/sh osver=`sw_vers -productVersion` jopt=-d32 if [ $osver \ 10.5 ] then jopt='' fi cd `dirname $0`/.. java $jopt -Xss800 -Xdock:name=J -Xdock:icon=bin/icons/jred.icns -jar j.jar $@ Note from the line starting with java down, all of the info should be on a single line. Norman -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j602 does not run on 32 bit Macintosh w/ Mac OS X 10.6.5
Oh. I *was* doing my testing on the PPC Mac. Thanks. On Sun, Dec 5, 2010 at 2:21 PM, Joey K Tuttle j...@qued.com wrote: Brian, Please note that the j602 download being discussed is Intel specific - so you should not modify jwd on PPC Macs. Also, until the latest release of Snow Leopard (10.6.5) choosing the 32 bit java in the java preferences worked OK. But now java 1.6 works a different way. No version of 10.6 runs on the PPC processor (and the OS shed more than 7 gigabytes of alternative binaries in the upgrade from 10.5 to 10.6). So I think your concerns are not an issue. - joey -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j602 does not run on 32 bit Macintosh w/ Mac OS X 10.6.5
Ian et al, I am having the problem addressed by Ian's fine contribution at http://www.jsoftware.com/jwiki/System/Installation/Mac/MacSnowLeopardInstallBug . And when I go there, I see the inserted warning that there is a new fix. Reading those instructions has worked for me but I must say that that is a very user unfriendly fix requiring the editing of a buried text file. That's unfortunate because for example the screencast I made of installing j602 on a Mac will no longer work without the user going through such a fix. It looks like a new screencast is required. But then a new one will be required for j701 installation. http://www.youtube.com/watch?v=fDS-SPtwLS4 Otoh, I have attempted to add an annotation to the original screencast suggesting a fix. The link below permits others to edit the annotations also, I believe. [What an incredible option, if it works!! please offer feedback to me especially if the annotation does not show up (btw, it has not shown up live yet for me, but I hope the problem is just a delay in processing at the youtube server).] http://www.youtube.com/watch?v=fDS-SPtwLS4layer_token=88dca620e88c5dde -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j602 does not run on 32 bit Macintosh w/ Mac OS X 10.6.5
Bill, I am trying to digest your comment. My concern is that new users of J on Mac not be confronted with this surprise, and I think your comment is more oriented to old users who are updating J on their existing Mac. I would also like to help existing J users who have been using a stable J602a but who buy a new Mac with the new OS, or who just buy the new OS for their intel based Mac. But again, my first concern is new users. Anyhow, your comment made me think that Eric or someone at J could post a new stable J602a_powerpc_... with the revised jwd text file. Eric, are you listening? Oh, I see Ian was listening: a new suggestion has now come in from him. On Sat, Dec 4, 2010 at 11:08 AM, bill lam bbill@gmail.com wrote: For user friendliness, a new jwd for osx would be installed by updating from pacman. But there is a technical difficulty because pacman can install files under ~system and ~addons but not ~bin. A smarter jwd script for osx can be downloaded separately, but IMO the real issue is that the java frontend is no longer interested to jsoftware. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] j602 does not run on 32 bit Macintosh w/ Mac OS X 10.6.5
I do not think a condition for OSX is required, because all versions can use the 32 bit java. On Sat, Dec 4, 2010 at 11:49 AM, bill lam bbill@gmail.com wrote: I guess one could use a conditional statement, if [ x86_64 = `uname -m` ]; then java for snow leopard, lion else java for old cats fi not sure what is the output of uname -m for oxs -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] OT: font for wiki
Philip, I am using the following on my Preferences page, which I am pretty sure was produced by Oleg Kobchenko. http://www.jsoftware.com/jwiki/FrontPage?action=userprefssub=prefs In the field User CSS URL I have supplied the following. http://openj.sourceforge.net/wiki/common/hivu.css On Thu, Nov 18, 2010 at 12:29 PM, Philip A. Viton vito...@osu.edu wrote: ...I wonder if there isn't some way of setting the wiki defaults that makes all this unnecessary? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J In A Day --crits please
Ian, I have not completed reading JinaDay, but have a few observations. You throw a lot of detail at the reader early on especially in the code snippets without explaining much of that detail. That seems to me to be off putting, but one way to reduce that would be to group that material together under a heading or an explanation/warning that the main early goal is to orient the reader to the user interface, not to learning itself. You discuss locale once earlier than you give a link for locale. A good link to add (unless you already have and I missed it) early on would be the following. http://www.jsoftware.com/jwiki/System/Installation I had trouble orienting myself to the calc.ijs calculator because it has no enter or ok button, only the + button. But it is a good simple app. I also was a little disoriented when I pressed numeric keys which sometime produced digits in the number field and sometimes not, as I recall, depending on where the focus of the cursor lies. Some prose describing the app's behavior might be added. When first I was reading the draft I had my browser zoomed in and the long code lines required 2 lines making the postfixed NB. statements land on a second line. This will not be a problem in Vector print or in pdf, but it was disorienting. I think this is a valuable work and you should get good feedback from this group. I am especially impressed with your knowledge of what is different in J and Apl. It might be good to corral all those differences into an appendix. If there is a standard ubiquitous Apl recipe book of sample input statements or app, another approach would be to state that early on and then show how it is accomplished in J. But that does not seem to be your direction, so feel free to ignore this. On Sun, Oct 24, 2010 at 3:19 PM, Ian Clark earthspo...@gmail.com wrote: First draft of an article for eventual submission to VECTOR entitled J In A Day. http://www.jsoftware.com/jwiki/JinaDay -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Pronoun and proverb?
On page 10 of the following link we see, A proverb is used to stand for a verb, just as a pronoun is used to stand for a noun. (The word proverb in this sense is found only in larger dictionaries.) For example: http://www.jsoftware.com/books/pdf/arithmetic.pdf From a Google search of site:jsoftware.com proverb. -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] Sparse arrays Lab
In the Lab chapter 3 of 17, the lesson suggests that a reason for using sparse arrays is that some arrays are too big to create in dense format providing the following example as too big, but no such problem seems to appear when I use the online JUM version. Is that a feature of J7? In Lab chapter 13 of 17 the following definition of T is meant to produce NB. T has non-sparse values of 0, T=: 0 (1;1)} S but I believe that no such values are created by that amend. Instead, I wonder of the following amend would be correct, for example? T=: 0 (0;1)} S -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Function: open file, barf if doesn't exist
Doesn't j504 require the use of y. (with the period) instead of y inside definitions? On Fri, Mar 26, 2010 at 4:33 PM, Sprague, Webb (OFM) webb.spra...@ofm.wa.gov wrote: This looks promising, but it doesn't work (J504 -- various reasons, but we can't upgrade) Here is a variation which I think will do what you want: readfile =: 3 : 0 if. fexist y do. fread y else. ('readfile: ', y, ' does not exist') 13!:8(24) end. ) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Function: open file, barf if doesn't exist
rfb 'abc' |readfile: abc does not exist: rfb | ('readfile: ',y.,' does not exist')13!:8(25) Seems to work for me in j504. -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] GB_Flip RNG seed
The following behavior is unexpected for the GB_Flip RNG. Notice that the verb `roll` produces the same seed every time instead of updating the seed each time as is required for most simulation studies, for example those that employ the random components in batches. Also, in order to perform a simulation study which synchronizes the random fractions in order to achieve variance reduction, an important strategy, and for other research studies to replicate exactly the fractions. The earlier versions of J updated the seed after each usage. Only with the implementation of the newer RNG's was this feature changed. I request that the old behavior be restored at least for GB_Flip. 9!:43]1 9!:0'' 16807 roll=: monad define i=:0 for. i. y do. ? y i=::i smoutput i,9!:0'' end. ) roll 10 1 16807 2 16807 3 16807 4 16807 5 16807 6 16807 7 16807 8 16807 9 16807 10 16807 9!:42'' 1 -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] GB_Flip RNG seed
Yes, I was pining for it. I thought GB_Flip was it by another name. I will try to use your roll verb. Thanks very much. On Tue, Feb 23, 2010 at 11:01 AM, Roger Hui rhui...@shaw.ca wrote: Please read the vocabulary page for ? http://www.jsoftware.com/help/dictionary/d640.htm In particular the part for 9!:44 and 9!:45. The RNGs now in use in J can not be completely determined by a seed which is a single integer. If you are pining for the old linear conguenial generator, here it is: tick =: [ @%~ (* 3 : 'qrl=:(:2^31)|(7^5)*qrl')@] roll =: (:2^31)tick0 qrl =: 16807 I understand that it, with its period of _1+2^31, is totally unacceptable for modern usage. Some users have also complained that GB_Flip has too short a period (_1+2^55). -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] GB_Flip RNG seed
Does tick require an x: such as this? tick =: [ @%~ (* 3 : 'qrl=:(:2^31)|(7^5)* qrl')@] tick =: [ @%~ (* 3 : 'qrl=:(:2^31)|(7^5)*x: qrl')@] More importantly, do you have a dyadic version of roll? If you are pining for the old linear conguenial generator, here it is: tick =: [ @%~ (* 3 : 'qrl=:(:2^31)|(7^5)*qrl')@] roll =: (:2^31)tick0 qrl =: 16807 Thank you. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] GB_Flip RNG seed
Actually a quick check of 100 numbers shows me that tick does not require x: . I am sorry about asking without checking. On Tue, Feb 23, 2010 at 12:49 PM, Brian Schott schott.br...@gmail.com wrote: Does tick require an x: such as this? tick =: [ @%~ (* 3 : 'qrl=:(:2^31)|(7^5)* qrl')@] tick =: [ @%~ (* 3 : 'qrl=:(:2^31)|(7^5)*x: qrl')@] More importantly, do you have a dyadic version of roll? If you are pining for the old linear conguenial generator, here it is: tick =: [ @%~ (* 3 : 'qrl=:(:2^31)|(7^5)*qrl')@] roll =: (:2^31)tick0 qrl =: 16807 Thank you. -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] GB_Flip RNG seed
[offline] Thanks very much, Roger. On Tue, Feb 23, 2010 at 1:06 PM, Roger Hui rhui...@shaw.ca wrote: bigdeal=: 4 : 0 t=. 0 $ v=. y $~ .1.11*x while. x #t do. t=. ~. roll v end. x {. t ) rix =: i...@[ ([ ,. [ + roll@:-~) ] deal1=: [ {. @~.1@|@rix C. i...@-@] deal =: deal1 ` bigdeal @. ( 0.01*) -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Special code for suffix scan
Is this the reference you seek? j602/help/release/outfix.htm -- (B=) -my sig Brian Schott -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] JPhrases wiki page needs repair
http://www.jsoftware.com/jwiki/JPhrases/PolynomialsRational near the bottom of the page this page looks trashed. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm