Re: [Jgeneral] Change font size in JHS?
There was a typo in the line. The comma between startup_jhs and ijs should have been a period. Following is the corrected line: 'PC_FONTSIZE_jhs_=:''22px''' fwrite jpath'~config/startup_jhs.ijs' This works for me. Note that you have to stop the JHS server and restart it to have the startup_jhs script loaded. On Wed, Jul 11, 2012 at 8:29 PM, Murray Eisenberg mur...@math.umass.eduwrote: On 7/3/12 7:49 AM, Eric Iversoneric.b.iver...@gmail.com wrote: I repeat, with a bit of clarification: *** When JHS starts it loads (if it exists) script: jpath '~config/startup_jhs.ijs' It is probably best to put the PC_FONTSIZE_jhs_=:'22px' there. *** Enter jpath'~config/startup_jhs.ijs' in ijx to see how the path resolves on your system. The file likely doesn't exist (unless you created it previously). If it doesn't exist you could do: 'PC_FONTSIZE_jhs_=:''22px''' fwrite jpath'~config/startup_jhs,ijs' Note doubled quotes around 22px! Then shutdown JHS and restart. This is not working. It seems that startup_jhs.ijs is not being run at startup; at least the font is not changing. However, if I explicitly open and run that script, then the font size immediately does change (so evidently I didn't mistype the command in the file). This is under OS X, in case that makes any difference. -- Murray Eisenberg mur...@math.umass.edu Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts413 545-2859 (W) 710 North Pleasant Streetfax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] iPad file delete
Or use the cover fdelete (and all its other f... friends). On Tue, Jul 10, 2012 at 7:28 PM, Joey K Tuttle j...@qued.com wrote: 1!:55 'history' Seems to work (if the file is named history...) - joeyiPa... On Jul 10, 2012, at 15:53, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] iPad file delete
UGH. I mean ferase On Tue, 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... On Jul 10, 2012, at 16:38, Eric Iverson eric.b.iver...@gmail.com wrote: Or use the cover fdelete (and all its other f... friends). On Tue, Jul 10, 2012 at 7:28 PM, Joey K Tuttle j...@qued.com wrote: 1!:55 'history' Seems to work (if the file is named history...) - joeyiPa... On Jul 10, 2012, at 15:53, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] How to advance chapters in labs
Rather than stay stuck at J602, some enterprising soul could provided some wrappers and instructions for the simple chapter management verbs in locale jlab. Note that when you open a lab that noun Chapters_jlab_ lists the chapters and the fairly simple verbs (names_jlab_ 3) for working with them. On Mon, Jul 9, 2012 at 1:36 PM, Gilles Kirouac gkiro...@riq.qc.ca wrote: My question should more correctly phrased as how to select chapters in labs. Hi Chen It's unfortunate that this option has been left out of J7. The only short term remedy I see would be to use J version 6. Only a few labs use this functionality, mostly those written by Ken Iverson himself, the creator of J. ~ Gilles -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] plot for JHS
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
Re: [Jgeneral] Change font size in JHS?
The font size is controlled by the browser so what you need to do varies by broswer. You need to figure out how to change default font info for your browser. Many browsers support ctrl+plus or minus keys to change font size. I find tuning it manually that way works well for me. On Mon, Jul 2, 2012 at 11:26 PM, Murray Eisenberg mur...@math.umass.eduwrote: The default font size in J is much too small for my eyes. For the iOS version of J, the verb jf easily changes font size. For a non-iOS jhs7, what command may be used to change the font size in the jijx browser window (and other browser windows opened for J, e.g., an ijs window)? In what startup configuration file should that command go. -- Murray Eisenberg murrayeisenb...@gmail.com 80 Fearing Streetphone 413 549-1020 (H) Amherst, MA 01002-1912 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Change font size in JHS?
I assume the cmd+plus or minus work. You may have to stick with that rather than preferences. On Tue, Jul 3, 2012 at 10:26 AM, ed bierly ebie...@gmail.com wrote: this doesn't seem to work on my mac. i have changed the font settings from the preferences section of chrome's menu and everything except jijx responds to it On Tue, Jul 3, 2012 at 10:18 AM, John Baker bakerj...@gmail.com wrote: In Chrome Ctrl+ increases font size Ctrl- decreases it. The screen changes so quickly in JHS that I often zoom up and and down without thinking about it. On Tue, Jul 3, 2012 at 9:03 AM, Eric Iverson eric.b.iver...@gmail.com wrote: The font size is controlled by the browser so what you need to do varies by broswer. You need to figure out how to change default font info for your browser. Many browsers support ctrl+plus or minus keys to change font size. I find tuning it manually that way works well for me. On Mon, Jul 2, 2012 at 11:26 PM, Murray Eisenberg mur...@math.umass.edu wrote: The default font size in J is much too small for my eyes. For the iOS version of J, the verb jf easily changes font size. For a non-iOS jhs7, what command may be used to change the font size in the jijx browser window (and other browser windows opened for J, e.g., an ijs window)? In what startup configuration file should that command go. -- Murray Eisenberg murrayeisenb...@gmail.com 80 Fearing Streetphone 413 549-1020 (H) Amherst, MA 01002-1912 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- John D. Baker bakerj...@gmail.com -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Change font size in JHS?
JHS fontsize when a page is created is determiined by variable PC_FONTSIZE_jhs_ In your JHS session try: PC_FONTSIZE_jhs_ 11px PC_FONTSIZE_jhs_=:'22px' reload the page to see the new size You could put this in a startup script or in the jhs config file. Apologies for taking so long to remember this. With browsers on platforms that make font size adjustment with a key stroke this hardwired fix is less interesting. On Tue, Jul 3, 2012 at 10:36 AM, ed bierly ebie...@gmail.com wrote: ive tried cmd+ option+ control+ and fn+ all to no avail i have also tried it with safari and chrome if any of this works for other mac users i would like to hear about it On Tue, Jul 3, 2012 at 10:30 AM, Eric Iverson eric.b.iver...@gmail.com wrote: I assume the cmd+plus or minus work. You may have to stick with that rather than preferences. On Tue, Jul 3, 2012 at 10:26 AM, ed bierly ebie...@gmail.com wrote: this doesn't seem to work on my mac. i have changed the font settings from the preferences section of chrome's menu and everything except jijx responds to it On Tue, Jul 3, 2012 at 10:18 AM, John Baker bakerj...@gmail.com wrote: In Chrome Ctrl+ increases font size Ctrl- decreases it. The screen changes so quickly in JHS that I often zoom up and and down without thinking about it. On Tue, Jul 3, 2012 at 9:03 AM, Eric Iverson eric.b.iver...@gmail.com wrote: The font size is controlled by the browser so what you need to do varies by broswer. You need to figure out how to change default font info for your browser. Many browsers support ctrl+plus or minus keys to change font size. I find tuning it manually that way works well for me. On Mon, Jul 2, 2012 at 11:26 PM, Murray Eisenberg mur...@math.umass.edu wrote: The default font size in J is much too small for my eyes. For the iOS version of J, the verb jf easily changes font size. For a non-iOS jhs7, what command may be used to change the font size in the jijx browser window (and other browser windows opened for J, e.g., an ijs window)? In what startup configuration file should that command go. -- Murray Eisenberg murrayeisenb...@gmail.com 80 Fearing Streetphone 413 549-1020 (H) Amherst, MA 01002-1912 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- John D. Baker bakerj...@gmail.com -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J on iOS: how recall sentences into entry field?
There are 2 ways: Touch the log area to get the cursor on the line you want to recall and then press the return button (not the keyboard return key). or Do a careful left swipe in the input area. This takes a bit of practice. Experiment wiht left and right swipe to move through the recent lines. A swipe is a touch or the screen and an almost immediate sideways movement on the screen. On Tue, Jul 3, 2012 at 11:06 AM, Murray Eisenberg mur...@math.umass.eduwrote: For J on an iPad, how can one recall a previously entered sentence (now displaying in the upper window) back into the text-entry field (just above the keyboard) for editing and/or executing again? -- Murray Eisenberg mur...@math.umass.edu Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts413 545-2859 (W) 710 North Pleasant Streetfax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] no prominent announcement re JiOS on Wiki?
There is brief mention that J is available at the App Store on the web site Download page. I will add a temporary highlight notice at the start of the home page just under the conference link. You are right that we have to be better about banging our drum. I'm not sure where it would be mentioned in the wiki and if that is done it might best be done by the community. It would be great is someone started a wiki page on J iOS and summarzed the state of things so far. On Fri, Jun 22, 2012 at 3:55 PM, Murray Eisenberg mur...@math.umass.eduwrote: Did I miss it -- is there some announcement about J for iOS on the jwiki? -- Murray Eisenberg murrayeisenb...@gmail.com 80 Fearing Streetphone 413 549-1020 (H) Amherst, MA 01002-1912 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] no prominent announcement re JiOS on Wiki?
I don't see a review when I look at J in the app store on my iPad. Is this because I already have it installed? Or do I have to do something else or look elsewhere? On Fri, Jun 22, 2012 at 5:04 PM, John Baker bakerj...@gmail.com wrote: You are right. I know see the review. I guess there is a delay while reviews are reviewed. On Fri, Jun 22, 2012 at 4:00 PM, Jim Russell jimsruss...@yahoo.com wrote: Yours apple store review has been up for a day or so. It seems to take a while before reviews are published. On Jun 22, 2012, at 4:56 PM, John Baker bakerj...@gmail.com wrote: I tried this the other day but my review did not stick in the store. I am not sure what is happening. I pushed all the Apple buttons. Perhaps they vet user reviews for naughty words and spam. This is Apple after all; they've morphed into a slicker version of the very Big Brother they so famously mocked in the 80s. On Fri, Jun 22, 2012 at 3:51 PM, Skip Cave s...@caveconsulting.com wrote: All, One of the best ways to bang the drum for J is for users to write glowing 5-star reviews about the app in the iTunes store. That is where everyone looks for apps. Great apps will have hundreds if not thousands of reviews, mostly with 5-star ratings. For example, the top free game in iTunes right now is Big Duck Game's Flow Free which has 13,185 ratings, averaging 4-1/2 stars. The best reviews also have comments, as well as just indicating the star rating. Keep in mind that you can't review an app unless you have downloaded the app to your device, and you must have iTunes on your device to post a review. Skip On Fri, Jun 22, 2012 at 3:05 PM, Eric Iverson eric.b.iver...@gmail.comwrote: There is brief mention that J is available at the App Store on the web site Download page. I will add a temporary highlight notice at the start of the home page just under the conference link. You are right that we have to be better about banging our drum. I'm not sure where it would be mentioned in the wiki and if that is done it might best be done by the community. It would be great is someone started a wiki page on J iOS and summarzed the state of things so far. On Fri, Jun 22, 2012 at 3:55 PM, Murray Eisenberg mur...@math.umass.edu wrote: Did I miss it -- is there some announcement about J for iOS on the jwiki? -- Murray Eisenberg murrayeisenb...@gmail.com 80 Fearing Streetphone 413 549-1020 (H) Amherst, MA 01002-1912 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- Skip Cave Cave Consulting LLC Phone: 214-460-4861 -- For information about J forums see http://www.jsoftware.com/forums.htm -- John D. Baker bakerj...@gmail.com -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- John D. Baker bakerj...@gmail.com -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] live stream conference
I doubt there will be live streaming of the conference. There is some chance that there will be some recording and that will be made available after the conference as appropriate. On Wed, Apr 18, 2012 at 11:04 AM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] live stream conference
I don't think we'll organize anything formally before the conference. When we work out the detailed agenda for the conference we will encourage speakers to have relevant material to put up at the conference wiki after the fact. The success of that will depend on the energies of the speakers and the community. On Wed, Apr 18, 2012 at 5:40 PM, Devon McCormick devon...@gmail.com wrote: On a similar topic - will there be any kind of print proceedings available of talks? Maybe an electronic-only version after the conference? You'd have to ask speakers to provide an e-copy. It would be nice if people provided editable ones for proofing but less work to provide access to PDFs (+ text for script files) on the J wiki. On Wed, Apr 18, 2012 at 5:34 PM, Eric Iverson eric.b.iver...@gmail.com wrote: I doubt there will be live streaming of the conference. There is some chance that there will be some recording and that will be made available after the conference as appropriate. On Wed, Apr 18, 2012 at 11:04 AM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] docjs - change ) to _
That typo has been fixed and will be in the next package build. Thanks. 2012/2/5 Björn Helgason gos...@gmail.com Line 621 in file addons/ide/jhs/utilh.ijs NB.* docjs*docjs_jhs)'' - framework javascript overview should be NB.* docjs*docjs_jhs_'' - framework javascript overview -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: gos...@gmail.com gsm: +3546985532 twitter: @flugfiskur http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .---. ,' .\ / | Með léttri lund verður| ,--'_,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. |`---' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )'()_() ☃☠ -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Esc A does not advance lab in JHS
The doc in the lab (esc a) is wrong. The doc in the studio menu (ctrl+.) is correct. On Tue, Jan 24, 2012 at 4:01 PM, Devon McCormick devon...@gmail.com wrote: I'm experimenting with JHS and attempting to run one of the labs but the command that's supposed to advance it - ESC A - has no effect except printing A in the session. Does anyone know the name of the advance command that this is supposed to invoke? I'm running this under Firefox. Thanks, Devon -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jdll.h missing from j701
I think everything should work in J7 except for cdf for the reasons Bill pointed out. In Windows post XP I think you could do your own call to the windows api to unload your dll (making development testing easier). Not sure of the call name but it is something like freelibrary. I'm puzzled why this started out as a question about jdll.h which is about the J dll api and would seem to have little relevance to building and using your own dll. On Wed, Jan 11, 2012 at 8:54 AM, Raul Miller rauldmil...@gmail.com wrote: I did not try jj.dll I was trying to write my own .dll I will live with j6, for now. Thanks, -- Raul On Tue, Jan 10, 2012 at 7:49 PM, Eric Iverson eric.b.iver...@gmail.com wrote: Raul, Bill is correct that cdf unload all dlls that cd has loaded. This wasn't too bad in the old J602 days, but is catastrophic in J7. In theory cdf could be made to take an argument to unload just a specific dll but, if I remember correctly, it doesn't because back in those early days unloading specific dlls caused all sorts of problems. Did you get the call to jj.dll to work? If so, you will have to live with that and not do the cdf. Please clarify for me if you got JDo to work or not. On Tue, Jan 10, 2012 at 7:35 PM, bill lam bbill@gmail.com wrote: That example script said it only work for 32-bit windows, did you try it in 64-bits? Some i should be changed to x in dll prototype in that case. Since gtkide has already opened a lot of gtk dlls, cdf will also free those dlls and will crash. JHS opened libc or winsock dll for sockets. I guess cdf will also crash it. Втр, 10 Янв 2012, Eric Iverson писал(а): I have tried a few things and calling j.dll appears badly broken. I'll look at this, but it may take a while for me to get to it. I'm puzzled by your reporting the problem as being with cdf. I get a crash in JHS on the sentence: 'jj.dll JDo i *c' cd cmd Does this work for you in jgtk? And then you get a crash doing the lib free? On Tue, Jan 10, 2012 at 6:44 PM, Raul Miller rauldmil...@gmail.com wrote: Ok, it's not the most urgent issue (though it's nice when #include files like that can be relied on to be at a well known location). But here's another issue with that page: when I use cdf'' in a j7 session, the ide crashes (I was using jgtk). How are we supposed to develop dll based apps in j7? -- Raul On Tue, Jan 10, 2012 at 2:25 PM, Eric Iverson eric.b.iver...@gmail.com wrote: This file got left out from the 701 distribution. There probably should be an addon for files like this but this probably isn't a high priority. The file has not changed since 602. On Tue, Jan 10, 2012 at 1:52 PM, Raul Miller rauldmil...@gmail.com wrote: http://www.jsoftware.com/docs/help701/user/calling_jdll.htmsays: File system\examples\data\jdll.h. gives C prototypes for J procedures. But this file does not exist under my j64-701 directory. -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- 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 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jdll.h missing from j701
This file got left out from the 701 distribution. There probably should be an addon for files like this but this probably isn't a high priority. The file has not changed since 602. On Tue, Jan 10, 2012 at 1:52 PM, Raul Miller rauldmil...@gmail.com wrote: http://www.jsoftware.com/docs/help701/user/calling_jdll.htm says: File system\examples\data\jdll.h. gives C prototypes for J procedures. But this file does not exist under my j64-701 directory. -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jdll.h missing from j701
I have tried a few things and calling j.dll appears badly broken. I'll look at this, but it may take a while for me to get to it. I'm puzzled by your reporting the problem as being with cdf. I get a crash in JHS on the sentence: 'jj.dll JDo i *c' cd cmd Does this work for you in jgtk? And then you get a crash doing the lib free? On Tue, Jan 10, 2012 at 6:44 PM, Raul Miller rauldmil...@gmail.com wrote: Ok, it's not the most urgent issue (though it's nice when #include files like that can be relied on to be at a well known location). But here's another issue with that page: when I use cdf'' in a j7 session, the ide crashes (I was using jgtk). How are we supposed to develop dll based apps in j7? -- Raul On Tue, Jan 10, 2012 at 2:25 PM, Eric Iverson eric.b.iver...@gmail.com wrote: This file got left out from the 701 distribution. There probably should be an addon for files like this but this probably isn't a high priority. The file has not changed since 602. On Tue, Jan 10, 2012 at 1:52 PM, Raul Miller rauldmil...@gmail.com wrote: http://www.jsoftware.com/docs/help701/user/calling_jdll.htm says: File system\examples\data\jdll.h. gives C prototypes for J procedures. But this file does not exist under my j64-701 directory. -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jdll.h missing from j701
Raul, Bill is correct that cdf unload all dlls that cd has loaded. This wasn't too bad in the old J602 days, but is catastrophic in J7. In theory cdf could be made to take an argument to unload just a specific dll but, if I remember correctly, it doesn't because back in those early days unloading specific dlls caused all sorts of problems. Did you get the call to jj.dll to work? If so, you will have to live with that and not do the cdf. Please clarify for me if you got JDo to work or not. On Tue, Jan 10, 2012 at 7:35 PM, bill lam bbill@gmail.com wrote: That example script said it only work for 32-bit windows, did you try it in 64-bits? Some i should be changed to x in dll prototype in that case. Since gtkide has already opened a lot of gtk dlls, cdf will also free those dlls and will crash. JHS opened libc or winsock dll for sockets. I guess cdf will also crash it. Втр, 10 Янв 2012, Eric Iverson писал(а): I have tried a few things and calling j.dll appears badly broken. I'll look at this, but it may take a while for me to get to it. I'm puzzled by your reporting the problem as being with cdf. I get a crash in JHS on the sentence: 'jj.dll JDo i *c' cd cmd Does this work for you in jgtk? And then you get a crash doing the lib free? On Tue, Jan 10, 2012 at 6:44 PM, Raul Miller rauldmil...@gmail.com wrote: Ok, it's not the most urgent issue (though it's nice when #include files like that can be relied on to be at a well known location). But here's another issue with that page: when I use cdf'' in a j7 session, the ide crashes (I was using jgtk). How are we supposed to develop dll based apps in j7? -- Raul On Tue, Jan 10, 2012 at 2:25 PM, Eric Iverson eric.b.iver...@gmail.com wrote: This file got left out from the 701 distribution. There probably should be an addon for files like this but this probably isn't a high priority. The file has not changed since 602. On Tue, Jan 10, 2012 at 1:52 PM, Raul Miller rauldmil...@gmail.com wrote: http://www.jsoftware.com/docs/help701/user/calling_jdll.htm says: File system\examples\data\jdll.h. gives C prototypes for J procedures. But this file does not exist under my j64-701 directory. -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- 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
Re: [Jgeneral] Something wrong with 'box'
Your eventual solution will depend on your front end, profile, fonts, etc. But to at least get you started you could try setting the box draw characters as follows: 9!:7 (9#'+'),'|-' On Mon, Jan 2, 2012 at 6:01 PM, Tom Szczesny tav...@gmail.com wrote: My display of 'box' appears to be faulty. Any suggestions? 9 � ���9��� � -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JAL
Display testaccess_jpacman_ for more info. The test is if it can write to ~bin/installer.txt. You are running from a non-standard install so this isn't surprising. You could try creating that path and file. Or it might be easier to do a standard install and then add your bits on top. Not sure where you are starting from. On Mon, Jan 2, 2012 at 8:10 PM, Tom Szczesny tav...@gmail.com wrote: The simplistic verb that Joey Tuttle sent works fine for loading csv files. Regarding setup for other addons, however, I get the following error: tom@xps ~ $ j load 'pacman' 'update' jpkg '' Updating server catalog... |file name error: testaccess | d=.1!:1 f Any ideas as to what the problem is? -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
I'm afaid I don't have the time to help in detail now. You are perhaps biting off too much right now. It is probably a mistake to copy all that stuff from jijx to jijxipad without really understanding the jijx framework. Why not focus for now on the smaller task of just adding a labadvance button to jijxipad. For the experiment us jijx to open a lab. Then you have the well defined and limited task of adding a button to jijxipad that calls labnext when called. 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
Re: [Jgeneral] JHS ipad support
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
Re: [Jgeneral] JHS ipad support
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. On Wed, Dec 7, 2011 at 11:01 AM, Brian Schott schott.br...@gmail.comwrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
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 On Thu, Dec 1, 2011 at 9:51 AM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Looks like that last JHS update wasn't built properly and the jijxipad file was left out. I will try to sort this out and let you know when you can try again. Apologies. On Thu, Dec 1, 2011 at 5:39 PM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
Not sure what happened. File jijxipad.ijs was left out of the last JHS update build. Doing a rebuild to a new version seems to have worked. Please update to the latest JHS and try again. Note that normally the JHS update would no override your config jhs.ijs file so that problem is another mystery. But sounds like you have already fixed that by recreating it. On Thu, Dec 1, 2011 at 7:44 PM, Eric Iverson eric.b.iver...@gmail.comwrote: Looks like that last JHS update wasn't built properly and the jijxipad file was left out. I will try to sort this out and let you know when you can try again. Apologies. On Thu, Dec 1, 2011 at 5:39 PM, Brian Schott schott.br...@gmail.comwrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS ipad support
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. On Thu, Dec 1, 2011 at 8:30 PM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Trying to install labs
I think JHS labs gets it list from the contents of ~addons/labs/labs. If you are seeing some labs and they are working perhaps your labs weren't included in the jal update of labs. As a start verify the labs your want are in your addons folder. On Mon, Nov 28, 2011 at 6:55 PM, Ian Clark earthspo...@gmail.com wrote: No, Björn, the labs are just not there. I know what they look like, 'cos I wrote 'em. 2011/11/28 Björn Helgason gos...@gmail.com: The list of labs in JHS is a bit tricky to understand. The name you see is not the name of the file but the name of the lab you see in the beginning of the file. Open a lab and you see what is there. It is a great tool to use as a teaching tool and so easy to work with. Just change the contents of a file and you have a new lab. 2011/11/28 Ian Clark earthspo...@gmail.com Even after restarting, there are labs (viz. cal.ijt and uu.ijt) which I see have been downloaded and apparently installed (i.e they are listed in ~addons/labs/labs/lablist.txt and ~addons/config/config.ijs) -yet do not appear in the Labs dropdown. Just where does jhs get the contents of the labs dropdown from? 2011/11/28 Björn Helgason gos...@gmail.com: When you start JHS it scans for the ijt files and it does not find them before you do the install of the addons. So if you create a new ijt file you need to restart the JHS so it will find it. After that you can change the file and it will read the changes just restart the lab and no need to restart JHS 2011/11/28 Ian Clark earthspo...@gmail.com There are two downloads for the Mac, and I've just tried the same steps with the other one: JVERSION Engine: j701/2011-01-10/11:25 build: Feb 6 2011 16:16:29 Library: 7.01.043 Platform: Darwin 64 Installer: j701a_mac64.dmg InstallPath: /Applications/j64-701 In this version I'm pleased to confirm that studio labs... works just fine. Björn says: After installing the labs you restart JHS server and refresh the browser. I didn't do that for j64-701 -- and it still worked. However, taking the hint, I've gone back to j701 (32-bit) and restarted both the server and the jijx browser page. Now studio labs... works in j701 also !! I've no way of telling whether it was due to restarting j701, or running j64-701 successfully in-between. On Mon, Nov 28, 2011 at 9:02 PM, Ian Clark earthspo...@gmail.com wrote: Coming back to j701 jhs after a long break, I have reinstalled it afresh: JVERSION Engine: j701/2011-01-10/11:25 Library: 7.01.040 Platform: Darwin 32 Installer: j701a_mac_intel.dmg InstallPath: /Applications/j701 I next installed all addons by typing: install 'all' Pacman (accessed via menu: link jal) confirms that all addons are installed and up to date. However, menu: studio labs --does not work and gives the message: --- 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. --- Do labs actually work yet in jhs? Or has something recently broken? On Sun, Nov 6, 2011 at 12:28 PM, Gary Robinson gary...@me.com wrote: Hi, I am trying J for the first time this morning. I quickly got hung up though, because the installation docs suggest trying Studio|Labs. When I try to access it, it says No labs installed. Do pacman labs/labs install and try again. If I type pacman labs/labs install into the J console, nothing seems to happen. And if I subsequently try Studio|Labs again, I get the same error message as before. Anyone have any ideas? -- Gary Robinson CTO Emergent Discovery, LLC personal email: gary...@me.com work email: grobin...@emergentdiscovery.com Company: http://www.emergentdiscovery.com Blog:http://www.garyrobinson.net -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: gos...@gmail.com gsm: +3546985532 twitter: @flugfiskur http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .---. ,' .\ / | Með léttri lund verður| ,--'
Re: [Jgeneral] JSoftware JUM?
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
Re: [Jgeneral] JSoftware JUM?
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
Re: [Jgeneral] JHS screen formatting
The jhs jijs problems stem from the complexity of the html5 contenteditable control. The html support for this control was new at the time jhs was developed and unfortunately support (and bugs) varied greatly across the various browsers. The situation has stabalized and I am convinced that with some serious effort the problems with jhs jijs could be resolved. Unfortunately right now this is not a Jsoftware priority. A wonderful exercise for an interested party. I use JHS exclusively for my own work and deal with the situation as follows: 1. for local JHS (files on the same machine as JHS server) I use my editor of choice (currently gedit because it is pretty much the same across windows/linux/mac) for script editing and my own dead simple project manager to handle script loads and opens. 2, for remote JHS I use the new (not yet part of the pacman jhs update) jijs editor built for the ipad. This editor uses a simple textarea edit control and although missing syntax coloring behaves nicely. This was initially driven because the iphone/ipad devices don't support contenteditable at all. But I have found that for remote editing the simple textarea works nicely, reliably and is adequate for most needs. Over the next few weeks I hope to make updates available that will make these two approaches more available. Meanwhile if you are using JHS locally I'd suggest using a local editor and providing a JHS shortcut to do the load as this will likely meet your needs better than the current JHS jijs form. On Sat, Oct 15, 2011 at 4:58 PM, Arthur Anger an...@mit.edu wrote: I have continually encountered minor difficulties in editing scripts in j7 displays, related to disappearance and reappearance of newlines and leading blanks when copying and pasting within or between execution and script windows. It had become clear to me that there is some form of invisible formatting information at the front of each line. In the last few days I have been struggling with encapsulating some debugging commands for convenience, and run into major inconveniences--spelling errors pointing to various uses of 13!:3. I thought that I had boiled down the examples to a significant few, but kept getting inconsistent results as I tried variations. At long last, I examined the stored script with a. i., and found those formatting characters faithfully copied in front of the erroneous verb. Executing 226 128 139{ a. will show the invisibility of the three-character sequence found in my screen-copied example. I would hope that the file-updating portions of the JHS code could weed out these characters when pasted in places where they don't belong. Thanks. --Art Anger -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JSoftware JUM?
as far as i can tell jsoftware jum is working as expected. over the weekend i wiil update the jsoftware jum. i am somewhat in love with my ipad and have created new jijxipad and jijsipad apps that give a better user experience. the thing to do is to create a cloud account to run j with your mobile device of choice. for example on the amazon cloud. On Monday, October 3, 2011, 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 PS: I ask because I just got a new toy (an iPad) and I want to play with J on it. Anyone tried that? -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Mac 64-bit JHS and 32-bit gtk?
You should be able to run J32 and J64 on the same machine without problems. On Sun, Jul 3, 2011 at 3:28 PM, Murray Eisenberg mur...@math.umass.edu wrote: I've installed the 64-bit J 7.01 on a Mac running Mac OS X Snow Leopard. That's fine for the browser interface. But the gtk version is 32-bit only. Can I install that, too, without any problems -- including it in any way interfering with normal operation of the 64-bit version? -- Murray Eisenberg mur...@math.umass.edu Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS Comments
Art Anger, a few quick replies: 5. after jlog 0 do esc then j to get a refreshed log 11. syntax coloring is an overhead, see if option|color improves performance Be sure you are running the latest pacman update. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS Comments
Art Anger, There is a serious bug in jhs jijs save as. It may be several days before I get to look at this and the related problems you report. Tracks of the bug are in the files with ? as a last character. As an awkward workaround for now: 1. create new temp file 2. link to jfile in same tab 3. select new file 4. action|rename 5. open file -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
From your i browse to jijxh (h for handheld) instead of jijx. The jijxh has an input field which will let you get at the on screen keyboard. On Tue, Mar 1, 2011 at 2:49 AM, Joey K Tuttle j...@qued.com wrote: I agree with Eric. I just tried it from my Mac where j is installed with path /Applications/j64-701/ it seems to connect fine. He is also correct in that Apache and ~/Sites have nothing to do with running j. Perhaps you have overlooked Eric saying that you must change the configuration - j64-701/addons/ide/jhs/config/jhs_default.ijs to have BIND=: 'any' instead of BIND=: 'localhost' As Eric says, you can copy the default to jhs.ijs - or just edit the default file (although it is prudent to copy thus avoiding losing your change with a new install). This works for me, identically in OS 10.6 and Ubuntu Linux. However, I do have a problem using my iPhone... I get the system prompt in the browser, but find no way to materialize a keyboard to type in the quintessential test ( i. 5 ) or anything at all. So other than connecting nicely and displaying characters that require a magnifying glass to see, it doesn't work. Anyone else successfully getting access with an iPxx ?? - joey At 9:28 PM -0500 11/02/28, Eric Iverson wrote: This sounds like an internet access problem in your local network. I am not familiar with how this works on the Mac and perhaps a Mac guru can help. From the remote computer you should use the IP address reported in the jconsole welcome. This is probalby 192. Can you ping that IP address. You may have to go into system preferences network sharing (I'm waving my hands here) and enable something. On Mon, Feb 28, 2011 at 1:26 PM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] General Digest, Vol 65, Issue 57
Sometimes newbies are better dealing with a bleeding edge than those died in the wool. It all depends. 2011/3/1 Björn Helgason gos...@gmail.com 2011/2/28 Raul Miller rauldmil...@gmail.com I do not think J7 is ready for newbies yet. There are others who do not agree with that statement On 24 Feb, 18:46, Devon McCormick devon...@gmail.com wrote: Both my write-up of Gosi's JHS Hello, World and Ian's version of this are mentioned in the meeting notes athttp:// www.jsoftware.com/jwiki/NYCJUG/2011-02-08. I hope we can incorporate the parts of this current discussion useful for beginners into a wiki page - either a modification of the existing ones or a new one - to introduce people to this capability. -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail http://www.jsoftware.com/jwiki/NYCJUG/2011-02-08 http://www.jsoftware.com/jwiki/NYCJUG/2011-02-08?action=AttachFiledo=viewtarget=HelloWorldInJHS.pdf http://www.jsoftware.com/jwiki/NYCJUG/2011-02-08/HelloWorldInJHS -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: gos...@gmail.com gsm: +3546985532 sími: +3544781286 http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .---. ,' .\ / | Með léttri lund verður| ,--'_,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. |`---' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )'()_() ☃☠ -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
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. On Sat, Feb 26, 2011 at 5:34 PM, Brian Schott schott.br...@gmail.comwrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Labs reference to JAL
I believe studio/labs change to labs/labs has already been fixed. Be sure you have downloaded the latest ide/jhs pacman update. On Sun, Feb 27, 2011 at 8:29 AM, Brian Schott schott.br...@gmail.comwrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
This sounds like an internet access problem in your local network. I am not familiar with how this works on the Mac and perhaps a Mac guru can help. From the remote computer you should use the IP address reported in the jconsole welcome. This is probalby 192. Can you ping that IP address. You may have to go into system preferences network sharing (I'm waving my hands here) and enable something. On Mon, Feb 28, 2011 at 1:26 PM, Brian Schott schott.br...@gmail.comwrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jum on a local network
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=:. On Sat, Feb 26, 2011 at 10:35 AM, Brian Schott schott.br...@gmail.comwrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] how run openGL lab?
gl2 (the old wd gl2 graphics) are not supported in J701. I'm not sure but suspect this lab should be killed off in 701. On Sat, Feb 26, 2011 at 3:00 PM, Murray Eisenberg mur...@math.umass.eduwrote: In J701 jijx browser window, I loaded the lab graphics: OpenGL Introduction. Got an error: not found: D:/Language/j701/gl2 *** event handler error ev_labrun_click 0 |file name error: script | 0!:0 y[4!:55'y' jdo jev_jijx_ 0 jtype click jmid labrun jsid 20 jdata How fix? (I had installed graphics/gl2 via jal.) -- Murray Eisenberg mur...@math.umass.edu Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts413 545-2859 (W) 710 North Pleasant Streetfax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] removing debug stops
quick partial reply: Stop info must follow immediately after the ~ character (no blank). dbsm'~calendar' NB. remove calendar stops On Fri, Feb 18, 2011 at 11:04 AM, Brian Schott schott.br...@gmail.comwrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] JHS configuration
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
Re: [Jgeneral] JHS configuration
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. On Thu, Feb 10, 2011 at 12:25 PM, Brian Schott schott.br...@gmail.comwrote: 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.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] installation instructions
That is the way it has always been. It is an executable installer and windows users expect to just run it and follow the instructions. On Sun, Feb 6, 2011 at 1:45 PM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] installation instructions
A lot is assumed in J701 and having forum access can help. What system did you install? I will assume j7 for windows 32 bit. Did the install (running j701a_win.exe) run smoothly to completion? The last window of the install had some hints of what to do next. You probably want to start by running jhs rather than jconsole as it has a GUI interface and is a bit friendlier. The start button j701 program group should have a launch icon for jhs. Clicking it should start a command window that has information text about what to do next. The jhs command window is a server that runs a J session you can access from a browser. Start a browser and follow the instructions in the jhs server window (essentially browse to URL http://localhost:65001/jijx). If this doesn't help, please provide more details and ask more questions. On Sun, Feb 6, 2011 at 2:04 PM, Daniel Durieu danieldur...@gmail.comwrote: -I have the same kind of problem. -Where is the Help for J701? -What do I have to do to start correctly J701 under Windows? -Where is J Console 701 documented? What to do next? On Sun, Feb 6, 2011 at 7:57 PM, Eric Iverson eric.b.iver...@gmail.com wrote: That is the way it has always been. It is an executable installer and windows users expect to just run it and follow the instructions. On Sun, Feb 6, 2011 at 1:45 PM, Brian Schott schott.br...@gmail.com wrote: 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 -- For information about J forums see http://www.jsoftware.com/forums.htm -- Daniel Durieu Rue du Grand Coron, 28 B-7034-Obourg Tél: 065/ 72 32 14 e-mail: danieldur...@gmail.com -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Help documentation introduction
My feeling is that short is better, especially when full info is just an experimental click away. The full context on that page (relatively unchanged for a few releases) is: *** There are 7 books (User, Primer, J for C Programmers, Learning J, Phrases, Dictionary, Release). Every page has standard jumps: next, previous Usr Pri JfC LJ Phr Dic and Rel to that contents Voc to Vocabulary, !: to Foreigns Help jumps here and the current book is at the end On Mon, Jan 31, 2011 at 9:35 PM, Devon McCormick devon...@gmail.com wrote: I'm attempting to look at the new release as though I'm a beginner by going through the learning materials and I noticed that the Help page has the cryptic and ungrammatical line: Usr Pri JfC LJ Phr Dic and Rel to that contents where something more like this would be more informative: Section Description -- Usr User Guide - introduction to invoking J, system-level programming information Pri J Primer - complete introduction to language from first principles, with learning checkpoints JfC J for C Programmers - extensive introduction assuming prior experience with another programming language (not necessarily C) LJ Learning J - another extensive introduction arranged according to J language structure Phr Phrases - a more mathematically-oriented introduction to the language with sections on permutations, statistics, and finance. Dic J Dictionary - comprehensive overview based on learning by example Rel Release Notes for current and previous releases, detailing changes for each -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Broken link
The help docs are intended to be used as a complete set. The release folder you referenced is not a complete set and will have many broken links. That release folder should be removed and I think was only put there as temporary for an early look. Is there a link to /release at the web site or did you go there directly based on a forum message? The latest complete help for 602 and 701 is now at the web site: http://www.jsoftware.com/docs/help602 http://www.jsoftware.com/docs/help701 On Fri, Jan 7, 2011 at 7:34 PM, Lettow, Kenneth klet...@thomasnet.comwrote: On the page, http://www.jsoftware.com/release/sco.htm there is a link to the dictionary that is broken. It points to http://www.jsoftware.com/dictionary/dsco.htm instead of http://www.jsoftware.com/help/dictionary/dsco.htm. Second, is this the proper place to report broken links? Thanks, Ken -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J602 on Intel MacBook: library load failed
I think (but am not sure) that the problem is that J's jnilib (the link between java and the JE) won't work with java 1.6. If you want to pursue this you need to get a java 1.4 (or perhaps 1.5). Rather than sort this out, I'd suggest moving to J7 beta. There are many rough edges there, but at least you know that people are working on sorting them out. On Tue, Nov 30, 2010 at 9:34 PM, Joey K Tuttle j...@qued.com wrote: I'm guessing the default one is being used - LWiMac-6:~ jkt$ java -version java version 1.6.0_22 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) Client VM (build 17.1-b03-307, mixed mode) Looking, I see some hint that there might be older versions around - LWiMac-6:bin jkt$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/ total 72 lrwxr-xr-x 1 root wheel5 Oct 25 23:54 1.3 - 1.3.1 drwxr-xr-x 3 root wheel 102 Jul 20 2009 1.3.1 lrwxr-xr-x 1 root wheel 10 Oct 25 23:54 1.4 - CurrentJDK lrwxr-xr-x 1 root wheel 10 Oct 25 23:54 1.4.2 - CurrentJDK lrwxr-xr-x 1 root wheel 10 Oct 25 23:54 1.5 - CurrentJDK lrwxr-xr-x 1 root wheel 10 Oct 25 23:54 1.5.0 - CurrentJDK lrwxr-xr-x 1 root wheel 10 Oct 25 23:54 1.6 - CurrentJDK lrwxr-xr-x 1 root wheel 10 Oct 25 23:54 1.6.0 - CurrentJDK drwxr-xr-x 9 root wheel 306 Oct 25 23:55 A lrwxr-xr-x 1 root wheel1 Oct 25 23:54 Current - A lrwxr-xr-x 1 root wheel 59 Oct 25 23:54 CurrentJDK - /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents But trying something like this didn't work LWiMac-6:bin jkt$ java -version:1.3.1 REVISIT: IMPLEMENT: LocateJRE Unable to locate JRE meeting specification 1.3.1 Editing jwd in a similar way was also unproductive - joey On Nov 30, 2010, at 5:07 PM, Eric Iverson wrote: What version of java is it trying to use? If it is a newer one is there an easy way to try against a back-level one? On Tue, Nov 30, 2010 at 7:00 PM, Joey K Tuttle j...@qued.com wrote: That doesn't get rid of this new error... It is true that the preference order had reverted with the upgrade to 10.6.5, but that doesn't seem to be the issue with this one Neither (actually both) of the fixes on the jwiki brings joy... - joey On Nov 30, 2010, at 11:06 AM, Ian Clark wrote: (Just confirming what Eric says...) http://www.jsoftware.com/jwiki/System/Installation/Mac/MacSnowLeopardInstallBug ...if you haven't tried it already. Let me know if it _doesn't_ work for you. I'm keep the page updated for what does work. (NB: the picture of Java Preferences shown on that page has changed since 10.6.5. It now shows more detail about what Javas you've got installed.) Ian On Tue, Nov 30, 2010 at 4:40 PM, Eric Iverson eric.b.iver...@gmail.com wrote: This probably indicates an incompatibility between jnative and the default version of java on that machine. I think there have been forum messages about this problem and how to hook up to an older java version that works. On Tue, Nov 30, 2010 at 11:19 AM, Murray Eisenberg mur...@math.umass.eduwrote: I downloaded the Intel version of J602 (j602a_mac_intel.dmg) to an Intel Core 2 Duo MacBook running OS X 10.6.5. Double-clicked to open the .dmg and copied the whole J602 folder into the Applications folder. Then dragged the (red) J icon from the J602 folder to the dock. Clicking that icon now brings up a message window, Load library /Applications/j602/bin/libjnative.jnilib failed. Same result if I directly double-click the red J602 icon directly in the J602 folder. The file referenced in the error message is there. Now what? -- Murray Eisenberg mur...@math.umass.edu Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts413 545-2859 (W) 710 North Pleasant Streetfax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about
Re: [Jgeneral] J602 on Intel MacBook: library load failed
This probably indicates an incompatibility between jnative and the default version of java on that machine. I think there have been forum messages about this problem and how to hook up to an older java version that works. On Tue, Nov 30, 2010 at 11:19 AM, Murray Eisenberg mur...@math.umass.eduwrote: I downloaded the Intel version of J602 (j602a_mac_intel.dmg) to an Intel Core 2 Duo MacBook running OS X 10.6.5. Double-clicked to open the .dmg and copied the whole J602 folder into the Applications folder. Then dragged the (red) J icon from the J602 folder to the dock. Clicking that icon now brings up a message window, Load library /Applications/j602/bin/libjnative.jnilib failed. Same result if I directly double-click the red J602 icon directly in the J602 folder. The file referenced in the error message is there. Now what? -- Murray Eisenberg mur...@math.umass.edu Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts413 545-2859 (W) 710 North Pleasant Streetfax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J602 on Intel MacBook: library load failed
What version of java is it trying to use? If it is a newer one is there an easy way to try against a back-level one? On Tue, Nov 30, 2010 at 7:00 PM, Joey K Tuttle j...@qued.com wrote: That doesn't get rid of this new error... It is true that the preference order had reverted with the upgrade to 10.6.5, but that doesn't seem to be the issue with this one Neither (actually both) of the fixes on the jwiki brings joy... - joey On Nov 30, 2010, at 11:06 AM, Ian Clark wrote: (Just confirming what Eric says...) http://www.jsoftware.com/jwiki/System/Installation/Mac/MacSnowLeopardInstallBug ...if you haven't tried it already. Let me know if it _doesn't_ work for you. I'm keep the page updated for what does work. (NB: the picture of Java Preferences shown on that page has changed since 10.6.5. It now shows more detail about what Javas you've got installed.) Ian On Tue, Nov 30, 2010 at 4:40 PM, Eric Iverson eric.b.iver...@gmail.com wrote: This probably indicates an incompatibility between jnative and the default version of java on that machine. I think there have been forum messages about this problem and how to hook up to an older java version that works. On Tue, Nov 30, 2010 at 11:19 AM, Murray Eisenberg mur...@math.umass.eduwrote: I downloaded the Intel version of J602 (j602a_mac_intel.dmg) to an Intel Core 2 Duo MacBook running OS X 10.6.5. Double-clicked to open the .dmg and copied the whole J602 folder into the Applications folder. Then dragged the (red) J icon from the J602 folder to the dock. Clicking that icon now brings up a message window, Load library /Applications/j602/bin/libjnative.jnilib failed. Same result if I directly double-click the red J602 icon directly in the J602 folder. The file referenced in the error message is there. Now what? -- Murray Eisenberg mur...@math.umass.edu Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts413 545-2859 (W) 710 North Pleasant Streetfax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Will J run on plug computers?
My current feeling is that using such devices as browsers to a J server makes more sense than porting and running J locally. I think the potential usability is much higher, for far less work, and covers a wider range of devices. Have you tried one with the current Jsoftware JHS. No doubt there are problems, but they are worth solving. Put another way: if such devices were in serious and wide use with the J server, then that might be enough interest to justify the extra steps for a port. On Sun, Aug 22, 2010 at 9:59 PM, Gilles Kirouac gkiro...@riq.qc.ca wrote: On May 25, 2009, Eric Iverson wrote: We don't currently build a J Engine for that platform (Linux Arm). The next release will take some steps that will make it easier for us to support a broader range of platforms in the future. On Fri, May 22, 2009 at 8:26 AM, Devon McCormick devonmcc at gmail.com wrote: These (http://www.plugcomputer.org/index.php/home) are small, low-power devices that run Linux on an ARM-compatible chip. -- Devon McCormick, CFA Is it still an objective of Jsoftware to support ARM-compatible chips? The Nokia N900 is a portable computer and a phone, somewhat similar in design to an Apple iPhone. But it is an _open_ Linux machine. Although not officially available in Canada, it is nevertheless easy to order one south of the border. The Nokia N900 also uses an ARM-compatible chip. http://en.wikipedia.org/wiki/Nokia_N900. http://maemo.nokia.com/n900/ ~ Gilles -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] out of memory using 11!:2999
I wonder if you are just seeing normal J memory allocation. That is, when additional space is required for an array the size of the array is doubled (memory allocation are in factors of 2). The 11!:2999 commands are added to an internal buffer until they are flushed. I'm guessing you would observe the same memory actions if instead of 11!:2999 you just did global=: global,new_sutff On Sun, Aug 8, 2010 at 7:39 AM, Jan Jacobs jan.wm.jaco...@gmail.com wrote: Eric, both Windows and 7!:0 show comparable memory consumption. I ran a smaller version of the GUI consisting of 600 glrgb glbrush glrect triples, followed by a few gllines, glellipse and gltext. 7!:0'' reveals an initial increase of 460K and then each glrect in this triple takes a moderate 384 bytes. However, the glrgb and glbrush double their claim occasionally (and hold on to it): after 20th triple -- 17K after 400th triple - 33K after 800th triple - 65K after 1600th triple - 131K The thing that surprises me most is after the 600 triples (before the glrgb for the gllines) the memory claim is reduced significantly. I have not executed any 11!:2999 yet. My code uses also the $. facility but not for the GUI part. Why do these triples claim so much memory? Jan. On Fri, Aug 6, 2010 at 3:25 PM, Eric Iverson eric.b.iver...@gmail.com wrote: What does the J 7!:x show about space during this activity? If the space problem shows up in windows task manager, and not in 7!:x then the problem is in j.exe. There might be some workarounds for the problem. For example, rather than repeatedly calling 11!:2999 (and perhaps triggering the problem), build up to the final argument in J and then call 11!:2999 just 1 time. On Fri, Aug 6, 2010 at 3:09 AM, Jan Jacobs jan.wm.jaco...@gmail.com wrote: ls, I'm experiencing an 'out of memory' problem when drawing a large GUI using gl2 (isigraph). A display list is built up gradually (in total approximately 200K entries/2MB) using the 11!:2999 facility. During the build the windows task manager reports a memory increase from 1.4GB to 4.8GB. The time for this build up is exceptionally long (4 minutes till the exception) while a slightly smaller version only takes 2 seconds to draw the GUI correctly. This smaller version also demonstrates that this huge memory claim is only temporary: when the GUI form is completely built up the claim is reduced to 1.4GB again. Questions are: what is claiming so much memory? In what directions can I look for solutions? I'm using a quad core i7 @2.8 GHz with 6 GB RAM. Thanks in advance, Jan. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- Jan Jacobs Esdoornstraat 33 5995AN Kessel W: www.sommaps.com T: +31 77 462 1887 M: +31 6 23 82 55 21 E: jan.jac...@sommaps.com -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] out of memory using 11!:2999
What does the J 7!:x show about space during this activity? If the space problem shows up in windows task manager, and not in 7!:x then the problem is in j.exe. There might be some workarounds for the problem. For example, rather than repeatedly calling 11!:2999 (and perhaps triggering the problem), build up to the final argument in J and then call 11!:2999 just 1 time. On Fri, Aug 6, 2010 at 3:09 AM, Jan Jacobs jan.wm.jaco...@gmail.com wrote: ls, I'm experiencing an 'out of memory' problem when drawing a large GUI using gl2 (isigraph). A display list is built up gradually (in total approximately 200K entries/2MB) using the 11!:2999 facility. During the build the windows task manager reports a memory increase from 1.4GB to 4.8GB. The time for this build up is exceptionally long (4 minutes till the exception) while a slightly smaller version only takes 2 seconds to draw the GUI correctly. This smaller version also demonstrates that this huge memory claim is only temporary: when the GUI form is completely built up the claim is reduced to 1.4GB again. Questions are: what is claiming so much memory? In what directions can I look for solutions? I'm using a quad core i7 @2.8 GHz with 6 GB RAM. Thanks in advance, Jan. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] GPL as addon's license
GPL issues are complicated. I don't understand them and get more confused the more I try. I consider it to be more ideological than legal. The problem is the viral nature and where to draw the boundaries. GPL folk probably wouldn't have any problem with the J library and would consider it open source under an unstated defacto MIT style open source license. But JE and JFE are not open source. I think some GPL ideologues would see that as a problem. Perhaps you can avoid the GPL viral issues and go with an MIT style open source license. On Thu, May 27, 2010 at 1:31 AM, Igor Zhuravlov i...@uic.dvgu.ru wrote: I'd like to release some addon under the GNU GPL3+ (or under any copyleft) license. But this addon includes (via 'require') some code from the system library: main/printf.ijs NB. printf vsprintf main/myutil.ijs NB. timespacex packages/math/mathutil.ijs NB. mp Excepting printf.ijs, verbs includes can be easily re-implemented in the addon itself. Avoiding calls to printf and vsprintf is possible, too, since formatting used there is simple. Also, this addon includes (via 'require') some files from addons: math/misc math/lapack This addons are used in test suite of my addon just to compare efficiency of different algorithm implementations. They aren't used in any calculations of addon itself. Test suite can be removed from my addon without detriment of functionality (but, such removing will deny the feature of addon self- testing). So, my questions to JSoftware are: - is it possible to make legal release under GNU GPL3+ license? - if not, what should I fix in my code to make legal releasing possible? -- WBR Igor -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] linux opengl
The j602 opengl does not depend on any special isigraph/canvas options (as did previous versions). It moves pixels from the opengl data to the isigraph directly by copying the pixels from the opegl internal buffer to the isigraph buffer. As Raul stated, there is no isigraph mechanism that is peculiar or special for opengl. On Tue, Mar 30, 2010 at 11:48 AM, bill lam bbill@gmail.com wrote: mar, 30 Mar 2010, Raul Miller skribis: On Tue, Mar 30, 2010 at 9:58 AM, bill lam bbill@gmail.com wrote: I believe the culprit was not any bug in vesa driver, but since the java frontend is closed source, I would rather leave that to jsoftware staff. Anyway the next gtk frontend will not use that opengl code, I suppose. open'gl3' The opengl support in J6.02 is not implemented in Java, but in J (using 15!:). Yes, but the isigraph that provide canvas must enable opengl option and isigraph is implemented in Java. Might be that opengl option is a no-op in java, I don't know. -- 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
Re: [Jgeneral] executable unix j script
Perhaps quotes would help. That is: #!/usr/local/j64-602/bin/j On Fri, Jan 8, 2010 at 4:16 PM, David Ward Lambert b49p23t...@stny.rr.comwrote: My shell script starting with #!/usr/local/j64-602/bin/j fails at the hyphen. Is there a plan to generalize scripts so that I don't have to move j and the shared object library and whatever else to a path without a hyphen? (I haven't done an exhaustive test to see whether the - is important, or jconsole is sought. I'm assuming that some kind reader is familiar with this and understands that there's a good chance that I did use chmod +x ... and that my j code is valid because I copied file:///usr/local/j64-602/help/user/hashbang.htm with a few modifications, etceteras.) I suppose the work around is to link...no I don't know a simple solution. My OS is the penultimate ubuntu release. Thank you, Dave Lambert -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Anniversary
Devon, 1973 Siemens 4004*APL In 1972/73 I lead a team from I.P. Sharp Associates working in Heidelberg Germany to develop an APL system for Siemens. The Siemens hardware was very similar to the IBM 360 (same base instruction set) but had extensions that faciliated timesharing and virtural memory. The operating system was BSV 4004 and was quite different from the IBM offerings at the time. The Siemens machine was very closely related to the RCA Spectra series. The Siemens 4004*APL system was discussed in my paper at the 1973 APL conference in Copenhagen. Siemens APL was relatively successful in Germany and over the years grew to about 50 mainframe installations. /Eric -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Will J run on plug computers?
We don't currently build a J Engine for that platform (Linux Arm). The next release will take some steps that will make it easier for us to support a broader range of platforms in the future. On Fri, May 22, 2009 at 8:26 AM, Devon McCormick devon...@gmail.com wrote: These (http://www.plugcomputer.org/index.php/home) are small, low-power devices that run Linux on an ARM-compatible chip. -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Release Plan?
We are working on a release plan now and there will be announcements in a few weeks. On Sun, May 17, 2009 at 8:15 PM, June Kim junea...@gmail.com wrote: Hello What is the replease plan for next version of J? There are a few pending bugs on the list without response so far, for example (+/ @: *) bug. There would be a few new features as well. So what is the plan and what new features would come and would bugs would go? If I come to know of the plan, it would be easier for me to wait. Thanks. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Solaris support?
Years ago there were wersions of J for Solaris on Sun hardware. There are no current versions. On Wed, Apr 8, 2009 at 3:48 PM, Devon McCormick devon...@gmail.com wrote: Does J run on Solaris? -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Fonts in jwd on Ubuntu
The qscreen results are curious. The 3120 indicates a VERY wide screen even though the 1050 height seems low. And the 212 212 for horizontal and vertical pixels per logical inch seem wrong unless your screen is really tiny. The 212 212 is going to cause Java and J to think they need lots of pixels to draw a character that is readable, the result being extra large characters. In earlier messages Oleg suggested looking at DPI settings and I think it worthwhile to look more closely there at at your general screen configuration. Can you config your system to use a 'normal' screen size (e.g., 1280 1024). This isn't a solution, (especially if it requires temporary use of another screen device) but might narrow down the problem area. On Fri, Oct 3, 2008 at 10:43 AM, Bill Harris [EMAIL PROTECTED] wrote: Chris Burke [EMAIL PROTECTED] writes: You need to use a fixed space font such as monospaced. Do not use a proportional font. That I know. The how is more my challenge right now. 8pt is typically the smallest font size available, and if that is too large, then you likely have some other problem unrelated to J. I'll believe that. BTW, you refer to jwdp in the wiki; is that what you call the file called jwd when it's Java on Linux or OS X, or should I also see a jwdp file somewhere? See User Manual|J System Overview: ...Jwdp, the portable Jwd, is implemented in Java and runs in Unix and Windows. That I understand. What I don't understand is $ ls ~/j602/bin icons/ jconsole* jwd*profile.ijs installer.txt jee* libjnative.so* profilex_template.ijs jbreak*j.jar libj.so* I see jwd but no jwdp. Is jwdp the generic name of the file that becomes jwd when it's installed on a system? What am I missing? Bill -- Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems Everett, WA 98208 USA http://facilitatedsystems.com/ phone: +1 425 337-5541 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Fonts in jwd on Ubuntu
Sounds like twinview gets java confused on dpi and this causes various downstream problems. Perhaps your next step is do a search for twinview vs java problems On Fri, Oct 3, 2008 at 6:00 PM, Bill Harris [EMAIL PROTECTED] wrote: Bill Harris [EMAIL PROTECTED] writes: (Unfortunately, this didn't fix WebEx.) Not true: when I restarted WebEx, that _did_ fix it. Just setting the record straight. Bill -- Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems Everett, WA 98208 USA http://facilitatedsystems.com/ phone: +1 425 337-5541 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Fonts in jwd on Ubuntu
Please report the results of following: wd'qscreen' and wd'qm' On Wed, Oct 1, 2008 at 1:01 AM, Bill Harris [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Burke [EMAIL PROTECTED] writes: As regards the domain error, what is the value of SYSTEMFOLDERS and USERFOLDERS? They are defined in the j locale. Chris, As that only happens after trying to mess around unsuccessfully with fonts, I'm going to ignore it for a bit until I can fix the font problem and hope it goes away on its own. (Update from below: I haven't seen this error after updating Java.) What Java are you running? J needs Sun java, see also notes in http://www.jsoftware.com/jwiki/System/Installation/Linux#JwdProblems . Hmm. Thanks. $ which java /usr/bin/java $ java -version java version 1.6.0_0 OpenJDK Runtime Environment (build 1.6.0_0-b11) OpenJDK Server VM (build 1.6.0_0-b11, mixed mode) Running Synaptic, and then ... $ java -version java version 1.6.0_0 OpenJDK Runtime Environment (build 1.6.0_0-b11) OpenJDK Server VM (build 1.6.0_0-b11, mixed mode) $ update-java-alternatives -l java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk java-6-sun 63 /usr/lib/jvm/java-6-sun $ sudo update-java-alternatives -s java-6-sun No alternatives for appletviewer. ... Using '/usr/lib/jvm/java-6-sun/jre/bin/java' to provide 'java'. ... No alternatives for xulrunner-addons-javaplugin.so. $ java -version java version 1.6.0_06 Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) If I run ~/j602/bin/jwd, I now get a monospaced font. Because the font in the Configure dialog is so big, I saw the Set D... button and figured that set the default, so I kept pushing it. Obviously that _returns_ J to the default behavior, so it's not surprising I kept a proportionally-spaced font. The font in the Configure dialog is still pretty big, though. At 8 pt., the font in the ijx window is pretty big, too; in the default window size, I only get about 14 or 15 lines, and I thought I saw more in Windows. It's certainly workable, but labs (for example) require more scrolling (or a window adjustment), it seems. BTW, you refer to jwdp in the wiki; is that what you call the file called jwd when it's Java on Linux or OS X, or should I also see a jwdp file somewhere? Do you have your own startup script? Do these problems occur with a standard installation with no startup script? Nope; I simply installed the version on the J site as of late last week... I don't think anything has changed in the config since the distribution, but you might also try installing the latest library. ... and I ran Pacman as recently as last night or this morning, which brought me the latest base system. Thanks; this seems to have helped. If you've got an idea how to shrink the font even more (below 8 pt.) in the ijx window or in dialogs, I'm listening. Bill - -- Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems Everett, WA 98208 USA http://facilitatedsystems.com/ phone: +1 425 337-5541 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI4wRD3J3HaQTDvd8RAu1JAJ98sl08uem2ok7mp1cjI3JZuewXLgCaAhAp oH5EyF0f8OFMZCvoPXRQbIY= =2Xqm -END PGP SIGNATURE- -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] cannot input chinese in jconsole
I have added this as a medium priority item for 603. On Tue, Sep 2, 2008 at 10:16 PM, bill lam [EMAIL PROTECTED] wrote: I found that it cannot enter chinese characters using IME in linux j602 although display them is OK. Furthermore jconsole is linked to libncurse rather than the unicode version libncursew, is this the cause? -- 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
Re: [Jgeneral] J on the iPhone?
We have no plans to port J to the iPhone or similar devices. The way to go with these devices is a web server that provides J execution, state, and display with the device browser as the front end. This is not too difficult to do. The main complications come from trying to support multiple users and issues such as security and resource consumption. Those complications go away if you simply host your own J server that is dedicated to your own use. On Mon, Sep 1, 2008 at 9:30 AM, Ian Gorse [EMAIL PROTECTED] wrote: hi Sometimes I have an idea and would love to test it out there and then. But I am not near a desktop that I can use. Has anyone looked into getting j on the iPhone? Or is there a website that acts as a interactive console? The next generation mobile phones are becoming advanced pieces of equipment, google are making android which is a phone os, apple has the iPhone os. No doubt there will be more great phone os's in the future. It would be nice to see j on these devices -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Failed to get Java metrics
This is probably the same problem that hit a few users back in late May. There is a new jar at the web site that fixes the problem. It is triggered by a particularly slow start for the JVM. Download the new j.jar and try again. http://www.jsoftware.com/download/j.jarmhtml:{88DEDCB6-778C-43C1-BB82-8F813CF5F15A}mid://0105/!x-usc:http://www.jsoftware.com/download/j.jar On Sun, Aug 31, 2008 at 4:46 PM, Roman Hausner [EMAIL PROTECTED]wrote: I just downloaded j602 for my Ubuntu Hardy x86-32 system. However, I had no luck getting the jwd command to work. I always get a dialog window with the error message Failed to get Java metrics. Is there a way to solve this? -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] (no subject)
I will take a look at these J602a PocketPc problems and get back to you early next week. On Tue, Jul 29, 2008 at 12:28 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: This is my first post here, so let me first greet all members of th list. I am trying to learn J on my Pocket PC (iPAQ 110, WM6) and I installed the latest release version j602a. I am still reading the Primer, so I really do not know anything about J. However, I have noticed that J freezes under certain circumstances, for example enter the following in a J session: load 'dates' calendar 2006 12 At this point it is possible to continue editing the content in the window, but nothing can be executed nor the session can be closed (via menu J - Close). Another example: running the demo Demo - Grid - Gallery - Directory List freezes the J system on my device in the same way. Meanwhile, I have downgraded to version j601c, which works fine for the two examples above mentioned. -- Alexis -- 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] Failed to get Java metrics
A new j.jar is available that might fix the java metrics problem. http://www.jsoftware.com/download/j.jar The previous version did a sleep loop for 1 second waiting for Java gui init to finish. It seems this wasn't long enough for some environments on the first run of java. The new j.jar allows 10 seconds. If you have had the Java metrics problem, please try the new j.jar and report the results. Thanks for your patience on this issue. - Original Message - From: N. Drinkwater [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Tuesday, May 06, 2008 7:45 PM Subject: [Jgeneral] Further on Failed to get Java metrics error and asimple workaround Several posts last month reported that starting J 6.02 on OSX resulted in an error message-Failed to get Java metrics. Although this error is a minor annoyance when running the IDE, it would be potentially very confusing for end users of standalone applications. Investigating the problem further, I found that the error occurs the first time J is started after every reboot. I've only encountered the error on OSX 10.4 (PPC) and 10.5 (Intel), both running Java SE 5. I had no problem running on linux (Ubuntu 7 and Fedora 8, Java SE 6). The error does not occur if any java program is run prior to starting J (including the prior failed attempt to start J). As a simple workaround (until either Java on OSX or j.jar is fixed), a simple splash screen program can be inserted into the jwd script just prior to the execution of J. With the addition of the splash screen, the Java metrics error does not occur (even after a reboot) with the cost of a few seconds additional startup time. The change to the startup isn't worthwhile for users of the IDE who don't turn their computer off very often, but if you're distributing a program for use by non-J programmers it may be worth consideration. The revised start up script and java class for the splash screen are given below. Norman Drinkwater The revised jwd script is as follows (the last two lines are a single line of code): #!/bin/sh # problems - see J bin/install.htm cd `dirname $0`/.. java -jar bin/Splash.jar java -Xss800 -Xdock:name=J -Xdock:icon=bin/icons/jred.icns -jar bin/j.jar $@ The splash screen is adapted from code in a book on Swing by Loy et al. (I don't do Java, only J these days, so others may have a better solution.) /* SplashScreen.java Based on Java Swing (2nd ed.), by Loy et al. */ // Displays a simple text splash screen and exits after two seconds. // import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Toolkit; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JWindow; public class SplashScreen extends JWindow { private int duration; public SplashScreen(int d) { duration = d; } public void showSplash() { JPanel content = (JPanel) getContentPane(); content.setBackground(Color.white); // Set the window's bounds, centering the window int width = 80; int height = 80; Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); int x = (screen.width - width) / 2; int y = (screen.height - height) / 2; setBounds(x, y, width, height); // Build the splash screen JLabel logo = new JLabel(J, JLabel.CENTER); logo.setFont(new Font(Serif, Font.BOLD, 72)); logo.setForeground(Color.red); content.add(logo, BorderLayout.SOUTH); // Display it setVisible(true); // Wait a little while try { Thread.sleep(duration); } catch (Exception e) { } setVisible(false); } public void showSplashAndExit() { showSplash(); System.exit(0); } public static void main(String[] args) { SplashScreen splash = new SplashScreen(2000); splash.showSplashAndExit(); } } -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Further on Failed to get Java metrics error and asimple workaround
I doubt the problem has to do with threads. The javametrics are aquired in a non-AWT loop that sleeps until the AWT thread has settled down and the required info is available. My quess is that the loop is allowed to time out to early in Norman's situation. There would be no harm in increasing the time allowed and when I get a chance I will provide a version that simply waits longer to see if that fixes the problem. Java initialization from scratch is a surprisingly long winded process. - Original Message - From: Oleg Kobchenko [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Tuesday, May 06, 2008 11:05 PM Subject: Re: [Jgeneral] Further on Failed to get Java metrics error and asimple workaround It is commandable to do this research, but... Splashes are annoying. So is it worth replacing one annoyance with another? It was noticed earlier that there may be an issue with accessing AWT from main thread. So maybe this route can be pursued first? Oleg On May 6, 2008, at 19:45, N. Drinkwater [EMAIL PROTECTED] wrote: Several posts last month reported that starting J 6.02 on OSX resulted in an error message-Failed to get Java metrics. Although this error is a minor annoyance when running the IDE, it would be potentially very confusing for end users of standalone applications. Investigating the problem further, I found that the error occurs the first time J is started after every reboot. I've only encountered the error on OSX 10.4 (PPC) and 10.5 (Intel), both running Java SE 5. I had no problem running on linux (Ubuntu 7 and Fedora 8, Java SE 6). The error does not occur if any java program is run prior to starting J (including the prior failed attempt to start J). As a simple workaround (until either Java on OSX or j.jar is fixed), a simple splash screen program can be inserted into the jwd script just prior to the execution of J. With the addition of the splash screen, the Java metrics error does not occur (even after a reboot) with the cost of a few seconds additional startup time. The change to the startup isn't worthwhile for users of the IDE who don't turn their computer off very often, but if you're distributing a program for use by non-J programmers it may be worth consideration. The revised start up script and java class for the splash screen are given below. Norman Drinkwater The revised jwd script is as follows (the last two lines are a single line of code): #!/bin/sh # problems - see J bin/install.htm cd `dirname $0`/.. java -jar bin/Splash.jar java -Xss800 -Xdock:name=J -Xdock:icon=bin/icons/jred.icns -jar bin/j.jar $@ The splash screen is adapted from code in a book on Swing by Loy et al. (I don't do Java, only J these days, so others may have a better solution.) /* SplashScreen.java Based on Java Swing (2nd ed.), by Loy et al. */ // Displays a simple text splash screen and exits after two seconds. // import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Toolkit; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JWindow; public class SplashScreen extends JWindow { private int duration; public SplashScreen(int d) { duration = d; } public void showSplash() { JPanel content = (JPanel) getContentPane(); content.setBackground(Color.white); // Set the window's bounds, centering the window int width = 80; int height = 80; Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); int x = (screen.width - width) / 2; int y = (screen.height - height) / 2; setBounds(x, y, width, height); // Build the splash screen JLabel logo = new JLabel(J, JLabel.CENTER); logo.setFont(new Font(Serif, Font.BOLD, 72)); logo.setForeground(Color.red); content.add(logo, BorderLayout.SOUTH); // Display it setVisible(true); // Wait a little while try { Thread.sleep(duration); } catch (Exception e) { } setVisible(false); } public void showSplashAndExit() { showSplash(); System.exit(0); } public static void main(String[] args) { SplashScreen splash = new SplashScreen(2000); splash.showSplashAndExit(); } } -- For information about J forums see http://www.jsoftware.com/forums.htm Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- 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] Re: [Jbeta] 35{ with J602 pocket pc
I can duplicate the problem on my PocketPC. I will take a look at this but it may be a few weeks before I can get out a fix. (I moved to general as beta forum is inactive) - Original Message - From: Olivier Simon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 01, 2008 1:35 PM Subject: [Jbeta] 35{ with J602 pocket pc I have found a strange behaviour on my Acer n30 : 1{81 9$0 = gives 0 2{81 9$0 = gives 0 ... but 35{81 9$0 never ends !!! i have to kill the program 36{81 9$0 = gives 0 ... Is 35 a magic value in J ? -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Problem with Linux install
Please provide the same info requested from Ed Keith. Is there anything special about your linux environment or the J install? Is this J32 or J64? - Original Message - From: David Mitchell [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Friday, April 25, 2008 10:21 AM Subject: Re: [Jgeneral] Problem with Linux install I get this also on OPENSUSE 10.3 -- David Mitchell Ed Keith wrote: I've been using J on MS-Windows. I just installed it on a Linux system. The jconsole works, but when I try to run jwd I get the following error message in a pop up window: Load library file:bin/libjnative.so failed. I have made sure that libjnative.so in on my path, but I still get the same message. Can anyone help? -EdK Ed Keith [EMAIL PROTECTED] Blog: edkeith.blogspot.com Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] failed installation and package manager
pacman testaccess is trying to determine if the folder to be updated by pacman is protected and requires admin access. It does this by trying to access installer.txt in your bin folder. Start J and check jpath to installer.txt: jpath '~bin\dinstaller.txt' What is the path to installer.txt? Does that file exist? The error you report indicates that installer.txt does not exist, but it should exist after a proper install. - Original Message - From: Matthew Brand [EMAIL PROTECTED] To: general@jsoftware.com Sent: Tuesday, April 08, 2008 5:21 AM Subject: [Jgeneral] failed installation and package manager I have been having a problem running the package manager so did a fresh installation to try to fix it, but the problem is still there. My system is (fron control panel - system properties): Windows XP Professional Version 2002 Service Pack 2 ProLiant xw460c Blade Intel(R) Xeon(R) CPU 5150 @ 2.66 GHz 2.67 GHz 3.00GB I install the latest stable release http://www.jsoftware.com/download/j602a_win.exe and select system: program files folder - multiple users. The installation does not indicate any errors. When I do: Run-package manager I get a window wdhandler' with text: error in: jijs_runpacman_button file name error: testaccess d=. 1!1 f Does anyone know how to fix this? Thanks, Matthew. ___ Yahoo! For Good helps you make a difference http://uk.promotions.yahoo.com/forgood/ -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J64-602a : Opengl
Support for J64 OpenGL is not a high priority for Jsoftware. It would be an excellent user community contribution. - Original Message - From: William Szuch [EMAIL PROTECTED] To: J General Forun general@jsoftware.com Sent: Friday, April 04, 2008 12:42 AM Subject: [Jgeneral] J64-602a : Opengl Currently Opengl is not supported on J64-602a. Is there any intention to have Opengl supported on a future version of J64 ?. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] install configure J602 under Windows XP
I haven't looked at your problems in detail, but these comments might help. Study HelpUser ManualInstall page. In particular the section Customized User Folder. If you want the standard profile, then I would strongly recommend against starting J with your own profile. You should start J normally and let normal mechanisms provide the customization you require. With luck you will find that a custom install to the folder of your choice combined with careful modification of profile_template.ijs to create profilex.ijs will give you what you want. I would be wary of a multi-user install that has the same user folders for all users. This is against the intended structure and use. It might be better to have private user folders and then simple mechanism to provide a common shared folder. - Original Message - From: Murray Eisenberg [EMAIL PROTECTED] To: general@jsoftware.com Sent: Wednesday, March 19, 2008 11:46 PM Subject: [Jgeneral] install configure J602 under Windows XP The J602 installer for Windows offers three choices none of which is what I want: I want to install for all users, but NOT in c:\Program Files. The best I could do was to install as a single user and to select the program installation directory I wanted, D:\Language\j602\bin\j.exe. But I do NOT want to keep any user files in C:\[user]\j602-user but rather inside the the single Juser directory that I want to specify, just like I always have before (with recent releases) by means of suitable configuration files include a profile.ijs -- see below. I note that the installer did create C:\[user]\j602-user but except for 4 empty subdirectories, that directory is completely empty. The J program shortcut I use has target D:\Language\j602\bin\j.exe -jprofile d:\language\Juser\config6\myprofile.ijs and starts in the installation directory, d:\language\j602. The myprofile.ijs referred to above includes: NB. create SYSTEMFOLDERS NB. the entry for binary is added in boot.ijs sep=. PATHSEP_j_ prf=. PROFILE {.~ PROFILE i: sep add=. 'd:\language\Jaddons' sys=. prf,sep,'system' tmp=. 2!:5'JHOME' usr=. 'd:\language\Juser' cfg=. 'd:\language\Juser\config6' hlp=. sys,sep,'extras',sep,'help' hom=. (0e. { ;prf) 2!:5 'JHOME' ids=. ;: 'profile system addons temp user config help home' SYSTEMFOLDERS_j_=: ids ,. prf;sys;add;tmp;usr;cfg;hlp;hom And the version of startup.ijs in that same d:\language\Juser\config6 includes: NB. Provide global for environment var JHOME HOME_z_=: (2!:5'JHOME'),'\' TEMP_j_=: (2!:5'JHOME') This startup.ijs is what referred to in the entry STARTUP=: 'd:\language\Juser\config6\startup.ijs' in d:\language\Juser\config6\config.ijs. When I try to start the program using the shortcut as modified, I get error message: Error and no IDE window for debugging. What's wrong and how can it be fixed? -- Murray Eisenberg [EMAIL PROTECTED] Mathematics Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts413 545-2859 (W) 710 North Pleasant Streetfax 413 545-1801 Amherst, MA 01003-9305 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] wd setlocale
I haven't had a chance to study your messages so this is comment may be completely off base. The intent of wd'setlocale' is that wdhandler is called in the desired locale. In the splitter example this would be in the object locale of the splitter class. There should be no requirement for wdhandler to look at syslocalec, just as there is no need for it to look as syslocalep. - Original Message - From: Oleg Kobchenko [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Friday, March 14, 2008 11:55 PM Subject: [Jgeneral] wd setlocale Here's a pattern for wd setlocale from jsplitter.ijs: (PID,'_',ID,'_paint')=: paint (PID,'_',ID,'_mbldown')=: mbldown (PID,'_',ID,'_mblup')=: mblup (PID,'_',ID,'_mmove')=: mmove HWNDC=: wd 'qhwndc ',ID wd 'setlocale ',ID,' ',coname'' It seems to beat the raison d'etre of wd setlocale: if it is necessary to create event verbs for each control instance, that's no better than before--when such event verbs were defined in parent form as handlers in control locale: (PID,'_',ID,'_mmove')=: ('mmove_',ctl_loc,'_')~ what would be really nice, is if it weren't necessary to define event verbs; wd setlocale should suffice to tell that for such parent and for such child id here's the locale (control instance) that would have the handelrs in the simple form mmove (without PID_ID_): mmove=: 3 : 0 ... do move ) Maybe it's already there and somebody does not fully understand something. If it's not there it should be easy to realize such logic in the main wdhandeler based on the wdq values. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] wd setlocale
I see what you are getting at. Chris and I will take a look at this. We probably won't get back to you on this until early next month. - Original Message - From: Oleg Kobchenko [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Monday, March 17, 2008 12:28 PM Subject: Re: [Jgeneral] wd setlocale Up to calling wdhandler is fine. The problem is in what wdhanlder is calling. It is currently calling verb: PID_CID_event'' So it prevents having generic controls without creating every time the cascade of verbs: PID_CID_event=: event for each instance. To fix this, wdhandeler should call simply event'' if it exists or proceed as it does right now otherwise. --- Eric Iverson [EMAIL PROTECTED] wrote: I haven't had a chance to study your messages so this is comment may be completely off base. The intent of wd'setlocale' is that wdhandler is called in the desired locale. In the splitter example this would be in the object locale of the splitter class. There should be no requirement for wdhandler to look at syslocalec, just as there is no need for it to look as syslocalep. - Original Message - From: Oleg Kobchenko [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Friday, March 14, 2008 11:55 PM Subject: [Jgeneral] wd setlocale Here's a pattern for wd setlocale from jsplitter.ijs: (PID,'_',ID,'_paint')=: paint (PID,'_',ID,'_mbldown')=: mbldown (PID,'_',ID,'_mblup')=: mblup (PID,'_',ID,'_mmove')=: mmove HWNDC=: wd 'qhwndc ',ID wd 'setlocale ',ID,' ',coname'' It seems to beat the raison d'etre of wd setlocale: if it is necessary to create event verbs for each control instance, that's no better than before--when such event verbs were defined in parent form as handlers in control locale: (PID,'_',ID,'_mmove')=: ('mmove_',ctl_loc,'_')~ what would be really nice, is if it weren't necessary to define event verbs; wd setlocale should suffice to tell that for such parent and for such child id here's the locale (control instance) that would have the handelrs in the simple form mmove (without PID_ID_): mmove=: 3 : 0 ... do move ) Maybe it's already there and somebody does not fully understand something. If it's not there it should be easy to realize such logic in the main wdhandeler based on the wdq values. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] wd setlocale
If wdhandler is called in a child object locale, you would like wdhandler to just call event. Makes sense. Analogously, if wdhandler is called in a form object locale, would you like the option that wdhandler just call event? The point is that PID and CID are probably not needed and indeed are a nuisance if called in an object locale. We can't make the change for forms as too much would break. Perhaps a form style could indicate this option. Perhaps a setlocale parameter could select the plain event option. In this case the changes would be to the wd'q' result and not to the wdhandler definition. Your point deserves attention. It would be nice if it can be done in a manner that is backwards compatible, is clean in 603, and doesn't require to much messing around with 602. - Original Message - From: Oleg Kobchenko [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Monday, March 17, 2008 12:28 PM Subject: Re: [Jgeneral] wd setlocale Up to calling wdhandler is fine. The problem is in what wdhanlder is calling. It is currently calling verb: PID_CID_event'' So it prevents having generic controls without creating every time the cascade of verbs: PID_CID_event=: event for each instance. To fix this, wdhandeler should call simply event'' if it exists or proceed as it does right now otherwise. --- Eric Iverson [EMAIL PROTECTED] wrote: I haven't had a chance to study your messages so this is comment may be completely off base. The intent of wd'setlocale' is that wdhandler is called in the desired locale. In the splitter example this would be in the object locale of the splitter class. There should be no requirement for wdhandler to look at syslocalec, just as there is no need for it to look as syslocalep. - Original Message - From: Oleg Kobchenko [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Friday, March 14, 2008 11:55 PM Subject: [Jgeneral] wd setlocale Here's a pattern for wd setlocale from jsplitter.ijs: (PID,'_',ID,'_paint')=: paint (PID,'_',ID,'_mbldown')=: mbldown (PID,'_',ID,'_mblup')=: mblup (PID,'_',ID,'_mmove')=: mmove HWNDC=: wd 'qhwndc ',ID wd 'setlocale ',ID,' ',coname'' It seems to beat the raison d'etre of wd setlocale: if it is necessary to create event verbs for each control instance, that's no better than before--when such event verbs were defined in parent form as handlers in control locale: (PID,'_',ID,'_mmove')=: ('mmove_',ctl_loc,'_')~ what would be really nice, is if it weren't necessary to define event verbs; wd setlocale should suffice to tell that for such parent and for such child id here's the locale (control instance) that would have the handelrs in the simple form mmove (without PID_ID_): mmove=: 3 : 0 ... do move ) Maybe it's already there and somebody does not fully understand something. If it's not there it should be easy to realize such logic in the main wdhandeler based on the wdq values. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J602 available
To run pacman to update files in a protected folder such as Program Files you need to have permission. You may be able to right click the J icon and select 'Run as Administrator'. Or you may have to actually log on as an admin account an run J there as admin to run pacman. Running XP on a limited account is good practice. This is a little less necessary on Vista as accounts are by default limited, but can fairly easily and visibly boosted to admin when required. Again, I wonder why people install J in program files. How do the advantages weigh against the disadvantages? - Original Message - From: Bill Harris [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Wednesday, March 12, 2008 4:32 PM Subject: Re: [Jgeneral] J602 available -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Iverson [EMAIL PROTECTED] writes: J602 is available. I just took a moment to install. Since installing J601, I've followed MS's recommendations and converted my account to a limited account status, adding another account with admin privileges. When I ran the J installer, I ran it as that administrator, because I wanted to install in c:Program Files/J602. That seemed to work; I have a working J602. What didn't work was Pacman. While in J601 I could run Pacman out of my current J session, J602 complains I need to become an admin. I quit J602 and ran j.exe as admin. That seems to work, but is that the intended process? I cant' find anything that indicates others have run into this. One disadvantage is that Pacman offers the Info button, which does make it easy to find the JWiki page corresponding to a particular package quickly. While I can perhaps understand not wanting to run Pacman as a limited user, it would be nice to be able to open Pacman, see what's installed, and read the Info pages and have Pacman only refuse when you try to update or install something. One other small installation suggestion: some installers ask in which group one wants to place the start shortcut. J602 didn't, and so I'll go back and move it to my Programming group the next time I am logged in as an admin /and/ I happen to think of it (shutting down 14 windows, when one of those is Emacs with umpteen windows, isn't a spur-of-the-moment thing, and I obviously can't make such a change as a limited user). Other than that, it was a simple process. Thanks, Bill - -- Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems Everett, WA 98208 USA http://facilitatedsystems.com/ phone: +1 425 337-5541 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: For more information, see http://www.gnupg.org iD8DBQFH2D3q3J3HaQTDvd8RApR1AJ0WAYalVd1StzU0UC6fxKBZZsNAOQCeLaQR uzyVmQ7AW5g677/mixhha1w= =e5tq -END PGP SIGNATURE- -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J602 available
Your limited account is really limited and can't be bumped up to admin by the menu 'run as administrator'. There may be an option for your account that you could turn on that would enable the 'run as admin' but I am not sure. If not, you will have to log on to a admin account to run pacman. Or you could reinstall as a single user install in your home folder and avoid the 'program files' problem entirely. - Original Message - From: Bill Harris [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Wednesday, March 12, 2008 5:37 PM Subject: Re: [Jgeneral] J602 available Sherlock, Ric [EMAIL PROTECTED] writes: This is the intended process. To bypass issues with the Virtual Store in Vista, Pacman checks to see if it write access to JinstallDir\bin. If not it won't run Package Manager. See the thread http://www.jsoftware.com/pipermail/beta/2008-February/003069.html Ric, Thanks. It didn't solve my problem, but I understand a bit better. I agree that would be nicer. I don't think it would be possible to use Package Manager online, but it might be possible to open Package Manager using the local catalog offline. That would let you check which addons you have installed and what versions as well as access the Info button etc. Anything like that to see what I had, what versions I had, and what Info had to say about them would be nice. It'd be even nicer if it would also at least tell me which packages were out of date so I could decide if it's worth becoming administrator (oh, for su or sudo). I think you are using XP. In which case you should be able to run an Explorer session or Command prompt as another (Admin) user and make your changes. Start|All Programs|Accessories| Right click Windows Explorer| Run as... Good assumption. I had high hopes you had the secret, but I've tried that. On my XP system, right-clicking things in the Start menu (including exactly what you suggested above) does not bring up any menu at all, let alone one with a Run as... option. Is it supposed to work as you describe in XP? If I had that ability, it would help. Right now, I have to open Windows Explorer, navigate to j.exe or whatever program I want to run, and then Run as That's slow, and it's even slower with things such as Windows Explorer because I suspect that's not in Program Files but somewhere in Windows that I'd have to go find. Thanks, Bill -- Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems Everett, WA 98208 USA http://facilitatedsystems.com/ phone: +1 425 337-5541 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] If I upgrade to a 64-bit machine
Mapping is all done with cd calls to standard host facilities. The jmf script utilities have not been updated to allow mapping files with more than 2^31 bytes. I am quite sure that this is a fairly simple change to the script, but have not had time to look at it. Soon after j602 is released I will take a look at this. I am quite confident that simple J coding changes will allow larger mappings with J64. These changes will then be distribute with a JAL library update. Or an enterprising user could sort things out and provide the fixes back to the community. I would strongly recommend a 64 bit system. - Original Message - From: Michael Berry [EMAIL PROTECTED] To: general@jsoftware.com Sent: Saturday, March 01, 2008 7:02 PM Subject: [Jgeneral] If I upgrade to a 64-bit machine I am unclear on what things will and won't change if I get a 64-bit machine. In particular, Will functions in the files library be able to deal with files with more than 2^31 bytes? Will I be able to have mapped files representing J objects larger than 2^31 bytes? -Michael -- == Michael J. A. Berry Data Miners, Inc. +1 617 742 4252 -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] native freebsd buid
We are not in a position to improve the current support for freebsd at this time. Of course, we are always interested in doing custom consulting work and could do custom platform builds on that basis. - Original Message - From: Yuri Burger [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Friday, February 29, 2008 12:06 PM Subject: Re: [Jgeneral] native freebsd buid my J based application uses custom C/C++ libs. to run it on freebsd I should compile my custom libs on linux (just because current J was compiled on linux) instead of compiling them to native freebsd libs... you'll have same situation for many math libs, for instance neural net (libfann), etc. the freebsd distr may have already compiled libfann, but I can't use it, I should compile it on linux, then copy to freebsd, then use it it is so ugly :( why there is no native J build for freebsd? Is it hard for JSoftware to support freebsd J dist? I would be interested in hearing what problem would this solve, given that freebsd can run linux binaries just fine. -- Yuri Burger Senior Software Architect Labs Zoral, Kiev -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Building Application lab [was in Beta forum]
I think I understand the problem with that lab on the mac. On both windows and linux the mbopen and mbsave dialogs are nearly identical and have an edit field for a file name. Because of the lack of difference, some applications incorrectly use mbopen when they should use mbsave. On the mac the mbopen does not have the file name edit field. My assumption is that the lab (or perhaps project manager) has mbopen when it should have mbsave. We will try to fix this for you in the next beta. Our apologies for taking so long to track down this problem. - Original Message - From: Brian Schott [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Tuesday, February 19, 2008 7:43 AM Subject: [Jgeneral] Building Application lab [was in Beta forum] I am moving this to the general forum from the Beta forum because I get exactly the same problem in J601: there ain't no $#!* run.ijs file and there is no opportunity to type it in to a file save dialog on my Mac (as Chris suggested in his reply). The following screenshot shows what I mean in J602, but it may be slow to load because it is on my homegrown server. http://schott.selfip.net/~brian/projectmanagerlab.png Has anyone successfully completed the Building Applications Lab on a Mac? Actually, at this point I would be interested to find if anyone has completed this Lab on a Windows computer. Thank you, (B=) On Fri, 15 Feb 2008, Chris Burke wrote: + Brian Schott wrote: + I cannot do the following step in this lab because + there is no file named run.ijs . And, btw, shouldn't the + full name of that file in the instructions be preceded by ~ + ? + + session excerpt below + + -- ((3) 5 of 8) File build + -- + Now create a single file containing the application, as + follows: + + 1. Select the Project tab. + + 2. Use the Add button to add a Target file in your user + directory of: + + user\projects\first\run.ijs + + 3. click Build to build the file. + ) + + when you first run this lab, there will be no file run.ijs. Step 2 above + creates the file. Just type in the name run in the Add|Target File dialog. + + The paths shown in the text are not preceded by ~ . For one thing, the + lab was written before the ~ prefix was developed. But in any case, I am + not sure it is needed - all we are doing is creating a project + directory, which could be anywhere, but typically would be under the + user directory. + -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] OLPC
What is the OLPC processor? If it isn't an Intel x86 or clone then the current linux binaries won't run. There are 2 equally important dimensions to portbility: hardware and OS. - Original Message - From: John Randall [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Thursday, February 07, 2008 4:39 PM Subject: Re: [Jgeneral] OLPC David Vincent-Jones wrote: Has anybody been able to get J up and running on the OLPC? I have tried and failed. Given that the OS is basically Fedora Core 7, I installed the 32-bit Linux version in the flash file system. I probably could have left it on a USB drive. Invoking jconsole gives an illegal instruction error. I have spent very little time investigating the problem, so it may be a trivial error. It looks as though the correct libraries are present. Best wishes, John -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J installation on Fedora 7
I reread some of your problem reports and it looks as if you are not using the Sun version of Java. J has problems with some of the non-Sun versions. I'm pretty sure that if you get the Sun version installed and make sure that it is used by shell script jw that jw will start properly. - Original Message - From: michael rice [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Tuesday, January 01, 2008 8:49 PM Subject: Re: [Jgeneral] J installation on Fedora 7 As I said, everything freezes up after the jw window opens. Clicking on a menu does nothing. Typing on the keyboard does nothing. Clicking on the window close box opens up a dialog with a button to FORCE QUIT the application. Michael Eric Iverson [EMAIL PROTECTED] wrote: Sounds like jw is mostly working. At least the fact that you get a window and some output is a good sign. The wd BUF error is in trying to show the user welcome splash screen. It may be a problem specific to the splash screen and we could try to track that down seperately. Ignoring the wd BUFF error please try a few other things to see what is or is not working. In particular try menu command Studio|Demos|Plot and Studio|Demos|Controls. - Original Message - From: michael rice To: General forum Sent: Tuesday, January 01, 2008 5:15 PM Subject: Re: [Jgeneral] J installation on Fedora 7 Thanks. The command line version seems to work fine. I used APL on the job thirty years ago and am enthusiastic about exploring J. I also tried running the GUI version jw and a window opens up with the following as the first two lines: |domain error: wd | wd BUF At that point it seems to lock up, and neither the menus nor the keyboard can be activated. Typing in java -version tells me I'm using java version 1.5.0 I know how to add a directory to my PATH but I'm not sure where what I might need to add would be located. Thanks again. Michael Eric Iverson wrote: The standard J601 linux install is for the j601 folder to be in your HOME folder. It looks as if instead you have put it HOME/J and I suspect this is the source of your problems. Use mv to move the j601 folder from HOME/J to HOME (or redo the tar -xzf install step from your HOME folder). After this correction your should be able to start both the console version of J (~/j601/jconsole) and the GUI version (~/j601/jw). You can have your j601 folder in other than HOME but it requires a few additional steps. The upcoming J602 linux install is much improved and won't have any of the problems that have plagued you thus far. - Original Message - From: michael rice To: General forum Sent: Tuesday, January 01, 2008 12:37 PM Subject: Re: [Jgeneral] J installation on Fedora 7 Thank you for responding. Continuity from one post to the next seems to be getting lost with some responders so I'll only communicate with you from this point on. OK, one more time. I downloaded j601c_linux.tar.gz to a new folder named J I unpacked it with the Archive Manager which created a folder j601 Here is what happens when I follow the instructions for Linux 32 bit install in install.txt. [EMAIL PROTECTED] ~]$ script Script started, file is typescript [EMAIL PROTECTED] ~]$ cd J [EMAIL PROTECTED] J]$ ls j601 j601c_linux.tar.gz [EMAIL PROTECTED] J]$ cd j601 [EMAIL PROTECTED] j601]$ sudo mv libj601.so /usr/lib/. Password: michael is not in the sudoers file. This incident will be reported. [EMAIL PROTECTED] j601]$ su Password: [EMAIL PROTECTED] j601]# mv libj601.so /usr/lib/. [EMAIL PROTECTED] j601]# exit exit [EMAIL PROTECTED] j601]$ exit exit Script done, file is typescript [EMAIL PROTECTED] ~]$ OK? So I became su to move file libj601.so to /usr/lib I am NOT networked, if that matters in some way. Next I tried to run jconsole. This is what happens: [EMAIL PROTECTED] j601]$ ./jconsole |file name error | 0!:0 y Looks like a failure to me. The instructions then say: If jconsole fails the likely problem is with the sudo step. No, I've never used sudo before, don't really need to if I'm su. What now? Michael bill lam wrote: I think that we are unclear because you did not provide enough information to allow us to reproduce your problem. you can post your entire session of installation for discussion. sudo is a standard linux command and not related to J. It is strange that you can su but not sudo. Did you use sudo in Fedora before? Do you know the superuser password for your Fedora? - Never miss a thing. Make Yahoo your homepage. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm - Never miss a thing. Make Yahoo your homepage
Re: [Jgeneral] j602 install
I suggest not putting too much effort in that wiki page until the dust settles a bit on the install. I am working to make some of the issues disappear and to make things easier to deal with in general. The next beta should be quite a bit cleaner for all platforms. - Original Message - From: Sherlock, Ric [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Tuesday, November 20, 2007 4:32 PM Subject: RE: [Jgeneral] j602 install I have started to put together a wiki page to help with these sorts of issues. See if it helps: http://www.jsoftware.com/jwiki/RicSherlock/temp/Install -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ralph G Selfridge Sent: Wednesday, 21 November 2007 06:43 To: general@jsoftware.com Subject: [Jgeneral] j602 install I have to install j602 into H: (because of the way I run from the office). Now the install seems to insist on putting in a c:\documents...\selfride.cise\j602-user some software, for example, config.ijs I need everything to go into h:\j602 Then I run into trouble because I have to tell it where the browser is located. Naturally thats back in c:\program files So I edit config in a ijx window, but that blows up on me. The problem would appear to be that I tell install to go into h:\j602but some of the stuff goes elsewhere. Now what have I done wrong, or how do I correct it? At home, where I have a laptop and c: is all mine, everything installed nicely. Ralph Selfridge q q -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Segmentation fault with j601_64 on Ubuntu 7.10 (64x)
Linux J64 troubles: I am not familiar with the Ubuntu release numbers. Is your system old (2 years), middle aged (1 year), or bleading edge? The problem may be in jconsole. In which case it is likely in one of the libraries it uses or in its readline support. Or the problem may be in libj601.so. It would help a lot if you could test jwd. To do this you will have to find where Java 64 is on your system (you may have to download and install it). When you have Java 64 you will need to edit the jwd script to run it. If jwd works then that shows that the libj601.so works. You can use ldd to see what libraries jconsole is using and perhaps that will give a clue to the problem. cd j601_64 ldd jconsole I would rather track this down in the new j602 beta. If it is not too much trouble please download and install j602bbeta_linux64.tar.gz. Most likely it will fail the same way but it will be easier for me to track down the problem. Then re-report your problem with the beta. - Original Message - From: Edushka S. [EMAIL PROTECTED] To: general@jsoftware.com Sent: Tuesday, November 06, 2007 8:58 AM Subject: [Jgeneral] Segmentation fault with j601_64 on Ubuntu 7.10 (64x) Hi! I am getting the Segmentation fault (core dumped) message when trying to run 64x version of j601 on Ubuntu desktop 7.10 (2.6.22-14) x86_64 There are the messages in logs similar to: jconsole[13098]: segfault at 5e313fc0 rip 004099e5 rsp 7fff5e313660 error 4 with different at address... 86x version of the same j601 runs OK (haven't succeeded with ~/j601/jw though - but I just briefly checked it - some problem with java - haven't looked at it so far). I started with 64x version of j601 (it didn't work on my clean machine) and then installed the 86x version (and it did work) so there shouldn't be any conflict between the versions... Thank you for any ideas! Regards, Eduard -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J on a Pocket Devices
We intend to continue to support J PocketPC. Previously PocketPC development required its own separate development environment and was a bit of a nuisance with somewhat limited debug facilities. The new MS development environment we started using with J602 has PocketPC fully and nicely integrated. J602 PocketPC should be available as soon as stable versions are available for the other platforms. There is too much variety in devices and they change to fast for any 'official' advice. You best bet is forum feedback and what you can find on the internet. - Original Message - From: Richard Donovan [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Monday, October 29, 2007 7:56 AM Subject: [Jgeneral] J on a Pocket Devices I am intending to upgrade my Jornada Pocket PC to something a bit more powerful and that will run current and future J releases (the Jornada will not run J6). J would be one of the prime uses of the new device. I would be grateful to anyone currently running J6 on a Pocket device to advise me of what to buy. I don't need it to also be a cell-phone or have any other bells and whistles; just a vanilla Pocket PC with the latest operating system would suffice as long as it runs J6 (and Pocket Word, Pocket XL and Microsoft Reader). I would also appreciate it if the J developers could say whether in their opinion they intend to continue to support and develop J for pocket devices, and if so, what minimum specs I should be looking for. Thanks in advance _ 100’s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk-- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J on a Pocket Devices
The web site platform page says: J32 runs on PocketPCs running Windows CE 4.0 (PocketPC 2003) or later I'm pretty sure the Jornada has an older version of the OS and that its has an older form factor (a bit larger screen with a built in keyboard) that is not supported by the newer versions of the OS. - Original Message - From: Richard Donovan [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Monday, October 29, 2007 10:29 AM Subject: RE: [Jgeneral] J on a Pocket Devices Eric, I downloaded and installed J601 (PPC) to my Jornada EXACTLY as specified but when I try to run it I get the message... Cannot find 'j' (or one of its components). Make sure the path and filename are correct and the required libraries are available The folder/file layout on the PPC is... My Pocket PC j601 (folder) system (folder) j.dll j.exe j601 (shortcut) jpcre.dll Jx601 (shortcut) profile.ijs version_bin.txt I set this up using the instructions at jsoftware.com Can you see what I have done wrong? I have double-checked till I am blue in the face, but still can't make it work! Thanks in advance. From: [EMAIL PROTECTED] To: general@jsoftware.com Subject: Re: [Jgeneral] J on a Pocket Devices Date: Mon, 29 Oct 2007 09:45:17 -0400 We intend to continue to support J PocketPC. Previously PocketPC development required its own separate development environment and was a bit of a nuisance with somewhat limited debug facilities. The new MS development environment we started using with J602 has PocketPC fully and nicely integrated. J602 PocketPC should be available as soon as stable versions are available for the other platforms. There is too much variety in devices and they change to fast for any 'official' advice. You best bet is forum feedback and what you can find on the internet. - Original Message - From: Richard Donovan [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Monday, October 29, 2007 7:56 AM Subject: [Jgeneral] J on a Pocket Devices I am intending to upgrade my Jornada Pocket PC to something a bit more powerful and that will run current and future J releases (the Jornada will not run J6). J would be one of the prime uses of the new device. I would be grateful to anyone currently running J6 on a Pocket device to advise me of what to buy. I don't need it to also be a cell-phone or have any other bells and whistles; just a vanilla Pocket PC with the latest operating system would suffice as long as it runs J6 (and Pocket Word, Pocket XL and Microsoft Reader). I would also appreciate it if the J developers could say whether in their opinion they intend to continue to support and develop J for pocket devices, and if so, what minimum specs I should be looking for. Thanks in advance _ 100’s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk-- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm _ Feel like a local wherever you go. http://www.backofmyhand.com-- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J ui -- new files
At first glance the idea of allowing open to open a new file that didn't previously exist is a good idea. This can probably be done by changing the mbopen parameters to remove ofn_filemustexist. I think this works in j.exe but am not sure about j.jar. Perhaps Chris will have a chance to think about this as a change to ijs open. - Original Message - From: Raul Miller [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Monday, October 01, 2007 5:48 PM Subject: [Jgeneral] J ui -- new files I have been frustrated with the J new file UI. Example: I am thinking about creating a new script. I am not sure if I have already created it. Let's call this script 'noise.ijs' Possible interaction with J for this case: Control-N wait for window to appear (for example, if my J session was swapped out) move mouse then select File-Save As... (or use platform dependent key sequence) move mouse then click on parent directory icon move mouse then [double] click on user directory name check for 'noise.ijs' If name does not exist: replace 123.ijs with noise hit enter If name does exist: ESC move mouse and close edit window (or system dependent key strokes) Control-O move mouse then [double] click on noise.ijs That's a lot of work what should be a simple operation -- open a script which is probably new on this machine (but might not be). Note also that at this point I have created a bogus empty file which has no relation to what I wanted to accomplish. I could rearrange those steps, by first checking if the file name does exist, but that would not eliminate these bogus files for all cases. This probably leads to some additional steps, such as: Control-O move mouse then click on parent directory icon move mouse then [double] click on Temp directory name find the most recently created numbered file right click on it and delete it ESC I wish I could hit Control-O and if the file name I type in does not exist I get an are you sure? prompt? (Which would either cancel the operation or create the newly named file, depending on how I answer.) I also wonder at the utility of the Delete numbered file popup which shows up at window close time but not at save as some other file name time. It seems to me that logically speaking this popup should appear at file abandonment time -- and Save As... should be treated as one of those times if its new name is different from the old numeric name. Am I overlooking something useful here? Thanks, -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] debugger start-up
I assme you are in Windows. I have occasionally seen this and agree there is a bug. I have been unable to track it down. By observation it rarely happens in a newish session and happens more often after lots has been done. Perhaps there is a resource leak with toolbars. Do you have a simple way to reproduce the problem? - Original Message - From: Philip A. Viton [EMAIL PROTECTED] To: general@jsoftware.com Sent: Monday, August 13, 2007 11:15 AM Subject: [Jgeneral] debugger start-up More often than I'd like, the debugger starts up with all the icons essentially blanked out: since I don't think I can include attachments with an email, I've posted a picture of what goes wrong at http://facweb.knowlton.ohio-state.edu/pviton/test/j_debug.jpg Can anyone suggest what I'm doing wrong to get this effect, and what I can do to avoid it? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 [EMAIL PROTECTED] -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] usb stick noexec mount in linux
My investigation also convinces me that remount is the only reasonable approach for running J on the stick directly. In some cases it may be better to simply copy the j directory to a user directory, run from there, and copy back at the end if desired and this is quite simple. These are minor problems considering the convenience of having complete J system for several platforms that are quite easily and directly usable. It makes Bill Lam's comment about using a stick instread of a laptop very realistic for certain situations. - Original Message - From: Raul Miller [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Friday, July 13, 2007 11:28 AM Subject: Re: [Jgeneral] usb stick noexec mount in linux On 7/13/07, Raul Miller [EMAIL PROTECTED] wrote: On 7/12/07, Raul Miller [EMAIL PROTECTED] wrote: On 7/12/07, Robert Bernecky [EMAIL PROTECTED] wrote: /etc/udev/rules.d/50-udev-default.rules ... /etc/udev/rules.d/85-mount-fstab.rules Note that this approach will make all USB sticks executable (instead of only the one with J on it). Er... unless you require the stick's UUID (or, if you've set it, the stick's Label). ... but I'm also told that this class of approach has automounter problems on at least some systems (though maybe this can be resolved with more config file hacking). And, unfortunately, automounting under linux has had several implementations with significantly different architectures, so documenting an approach for arbitrary sets of linux users would take some study. Anyways, I think mount -o remount still stands as the simplest approach. -- Raul -- 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] usb stick noexec mount in linux
I have been playing with J602 systems installed on a usb stick (thanks to Bill Lam). It works nicely on Windows but I have some questions for linux/unix gurus. The usb stick is automatically mounted by my Suse linux system. It was trivial to copy the J602 system over but I can't run it as it is mounted as noexec. I can manually unmount and remount without the noexec (su required) but this is a nuisance. Is there a way (sudo command) to just change the noexec option after the device has been automatically mounted? -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Profile.ijs comments
The intent is that the J front end (jconsole.exe j.exe et. al.) always define PROFILE and ARGV. They should be defined in the example you give and I am surprised that they aren't. I can't look at this further right now and ask that you run your experiment again. Check both jconsole.exe and j.exe. The later setting of PROFILE if not already set shouldn't be there and is a bit of left over history. - Original Message - From: Sherlock, Ric [EMAIL PROTECTED] To: General forum general@jsoftware.com Sent: Tuesday, June 19, 2007 9:49 PM Subject: RE: [Jgeneral] Profile.ijs comments -Original Message- [mailto:[EMAIL PROTECTED] On Behalf Of Sherlock, Ric In the default profile.ijs, one of the first things done is to set the noun PROFILE_z_ to be the pathname of the default profile.ijs if it is not already defined. My current thinking is that if you were using a custom profile (via -jprofile on the command line) then PROFILE_z_ should be set before the line. if. notdef 'PROFILE' do. PROFILE_z_=: 1!:45'' end. Reading back through some forum archives, another possibility occurs to me. Bill Lam suggests in http://www.jsoftware.com/pipermail/programming/2006-December/004527.html that ARGV should work with -jprofile, because it is injected by J executable before running any script. If this is true then perhaps PROFILE is also supposed to be injected by the J executable? However when I run c:\program files\j601\j.exe -jprofile 18!:4 'z' 18!:5 '' +-+ |z| +-+ 4!:1 ]0 1 2 3 $4!:1 ]0 1 2 3 0 Neither ARGV or PROFILE are defined in the z locale. But perhaps this is as it is meant to be? -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] J Primer - who maintains it?
I will take care of your Primer feedback in the fullness of time. - Original Message - From: Terrence Brannon [EMAIL PROTECTED] To: general@jsoftware.com Sent: Wednesday, June 20, 2007 3:42 PM Subject: [Jgeneral] J Primer - who maintains it? I certainly have seen some Roger Hui-ish writing, so I'm sure he's responsible for at least some of it. But I'm not getting any response from the author indicating the integration of my improvements. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] printing from J on Mac
I am not aware of any Mac printing problems. I will be able to test this in a day or two and will get backon this. Is this with J601? Powerpc or intel? - Original Message - From: Fuchs Ira [EMAIL PROTECTED] To: general@jsoftware.com Sent: Sunday, May 20, 2007 10:56 AM Subject: [Jgeneral] printing from J on Mac I have tried, so far unsuccessfully, to print from a J session using the print verb (or one of its variants). I do a load 'print' and then print 'something' and there is no error message nor any print out. I also find that the File/Print does nothing. Has anyone gotten this to work? Is there something else that needs to be done to enable printing? Thanks. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Error on installation
You need to add a win98 service pack(s) to your system. This will add the required MFC42.DLL among other things. With luck you will find what you need at the microsoft web site without too much trouble. You want to bring it up to as current as they provide. - Original Message - From: Keith Park [EMAIL PROTECTED] To: general@jsoftware.com Sent: Monday, April 30, 2007 4:59 PM Subject: [Jgeneral] Error on installation I am trying to re-install J on my computer after a major crash. I think the old version that I had was much older than J504b. I am using Win98 on an old computer. I get a message Jexe Server and JdllServer Registration Failed Anybody know how to fix this problem? (Of course I should buy a new computer but I'm too cheap) Don't waste too much time on this problem if it is hard to solve. Thanks. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] Re: jconsole - ubuntu 64bit - (v7.04) - unterminatedquotedstring error
A google search for unterminated quoted string indicates the problem is with the shell configuration and is not a problem in J console. You should probably see what you can find there that is relevant to your instalation. One problem area is with bad stuff in your shell rc file. The problem can also show up if the rc file is bad and you have funny stuff in the command line. What exactly are you typing to run jconsole? Try the following simple cases: cd ~ j601/jconsole cd ~ cd j601 ./jconsole Can you run other console programs? - Original Message - From: david alis [EMAIL PROTECTED] To: general@jsoftware.com Sent: Monday, April 23, 2007 2:41 PM Subject: [Jgeneral] Re: jconsole - ubuntu 64bit - (v7.04) - unterminatedquotedstring error 1) The output jconsole: 3: Syntax error: unterminated quoted string appears immediately. 2) Creating the simple script file t.ijs and running ./jconsole -jprofile t.ijs (temp/t.ijs or whereever...) has no effect. 3) 32bit jconsole doesnt work either - but behaviour is slightly different: jconsole: 1: Syntax error: ( unexpected 4) java front didnt work (jw) - but maybe that's because it was using 64bit java: Exception in thread main java.lang.UnsatisfiedLinkError: /home/david/j601/libjnative.so: /home/david/j601/libjnative.so: wrong ELF class: ELFCLASS32 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at jx.frames.J.main(Unknown Source) java version 1.6.0_01 Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_01-b06, mixed mode) Regards David == In reply to: Eric Iverson eiverson at sympatico.ca Mon Apr 23 06:47:45 HKT 2007 Strange problem. I wonder where the error message is coming from. Doing jconsole -jprofile (already suggested and tried) eliminates any profile problems. Do you get this output immediately on starting jconsole or is it in response to your first input. Create a simple script file temp\t.ijs that has the line: echo i.23 then run jconsole. ./jconsole temp/t.ijs Does this display i.23 before the error message or do you still just get the error message. Have you installed J32 on this system? It would be interesting to know if J32 jconsole works or not. -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm