I get value error if I execute either of: jshupd'' jhsupd''
in the browser. (Windows XP Pro SP3; Firefox 3.5.5) P.S. Again: how do I reply to a single message when I receive the messages bunched in a single e-mail sent by [email protected] (without manually having to edit the entire long message to delete all the irrelevancies to my specific reply. [email protected] wrote: > Send Beta mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://jsoftware.com/cgi-bin/mailman/listinfo/beta > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Beta digest..." > > > Today's Topics: > > 1. J701 beta uses old library (Oleg Kobchenko) > 2. J701 Images in transcript (Oleg Kobchenko) > 3. Re: Impressions of J701 Web GUI (David Mitchell) > 4. jhs version 1.4 - mouse click recall (Eric Iverson) > 5. jhs 1.4 - no-cache (Eric Iverson) > 6. jhs - latest library (Eric Iverson) > 7. jhs - use patterns (Eric Iverson) > 8. Re: More observations (Sherlock, Ric) > 9. Re: jhs version 1.4 - mouse click recall (Sherlock, Ric) > 10. Re: jhs - use patterns (Sherlock, Ric) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 28 Nov 2009 22:56:10 -0800 (PST) > From: Oleg Kobchenko <[email protected]> > Subject: [Jbeta] J701 beta uses old library > To: Beta forum <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > The library version is 6.02.047 > whereas the latest is 6.02.049. > > > > > > ------------------------------ > > Message: 2 > Date: Sun, 29 Nov 2009 01:25:05 -0800 (PST) > From: Oleg Kobchenko <[email protected]> > Subject: [Jbeta] J701 Images in transcript > To: Beta forum <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > The transcript is the log of session interaction, which > is generated as HTML in J701 web interface. > > Currently there are two ways to show images: an inline > ASCII art for viewmat and external PDF for plot. > > It would be good to display bitmap images inline, such as PNG. > > == Inline Images == > One approach, which was considered, is not recommended: > using the data URI scheme > > http://en.wikipedia.org/wiki/Data_URI_scheme > > although it is seems attractive, because it provides inline > image and a single file transcript, the disadvantage is that > each image is several tens of KB, and the overall transcript > with a few images would be several hundreds of KB, which has > to loaded every time it is refreshed; while the browser cannot > take advantage of caching images. > > == Separate Images == > The recommended approach is to use regular images in HTML: > > <img src="img/XXX-YYY.png" > > > where XXX is session ID and YYY is sequential image number in > the session. These should be cleared at end of session. > > This makes transcript very small; browser can cache the images; > transcript together with images can be saved as regular HTML > with resources; they can also be used as input to Publish addon > to produce PDF of the transcript. > > Besides images this can be used to embed vector graphics (SVG, VML) > or produce PDF or PS "attachement" with thumbnail. > > The media/platimg addon can produce PNG from bitmaps and is readily > applicable to viewmat or OpenGL; and there has been some work done > to emulate the gl2 verbs for things like plot or isigraph. > > > == Note about Image Size == > It happens that Courier New at 10pt takes 640 pixels > to fill a line of 80 characters. So it would be good > to use 640 pixels as a maximum width of image in transcript. > If image is greater than 640 pixels, its power of 2 downscale > less than 1280 is used, and <img width="50%"> is applied to > fit on the page. Clicking the image will open it in a new > window full downscaled size. > > pwr2=: (0 >. >.)&.(2&^.)@%~ > > 640 1280 (] , pwr2 ,: ] % pwr2)"0 1] 100 1000 2000 3000 > 100 1000 2000 3000 > 1 2 4 8 > 100 500 500 375 > > 100 1000 2000 3000 > 1 1 2 4 > 100 1000 1000 750 > > > > > > ------------------------------ > > Message: 3 > Date: Sun, 29 Nov 2009 05:42:43 -0500 > From: David Mitchell <[email protected]> > Subject: Re: [Jbeta] Impressions of J701 Web GUI > To: Beta forum <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I can see your point about the tab access to the buttons. I was going more > from > a visual and mouse habit point of view. I tend to expect the options > represented by those buttons to be available as menu entries or toolbar > buttons > and, without keyboard shortcuts, my first instinct is to look at the top > border > of the window for them. > > When I tried out tab for selecting the buttons, I noticed that the ijs run > button has a blue border by default, which jars a bit. I expect the blue > border > to indicate an active button that can be immediately selected by hitting the > enter key. Instead, I have to hit tab to activate the run button and then > enter. > > I noticed that the horizontal scroll bar is always present, even when not > needed. > > Another request: a save-as button. > > I would find the ijs gui more streamlined if the dir/file pull down did an > immediate 'select' for directories and an immediate 'open' for ijs files when > an > entry from the pull down is selected. A 'recent' button would also help here. > > I crashed jconsole by opening an ijs window and hitting run, save, ijx and > opn > in quick succession. It is repeatable on my pc. > > Problem Event Name: APPCRASH > Application Name: jconsole.exe > Application Version: 0.0.0.0 > Application Timestamp: 47c03be9 > Fault Module Name: j.dll > Fault Module Version: 6.0.0.0 > Fault Module Timestamp: 4ae5acc6 > Exception Code: c0000005 > Exception Offset: 00063d31 > OS Version: 6.1.7600.2.0.0.256.48 > Locale ID: 1033 > Additional Information 1: 0a9e > Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 > Additional Information 3: 0a9e > Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 > > -- > David Mitchell > > > > Eric Iverson wrote: >> I think everything on your wish list is doable without much effort. The >> reason the ijs buttons are at the bottom is that they are then easily >> accessed with the tab key. That is: >> >> edit changes, tab key, enter (triggers run button), etc. >> >> At the top the same trick works with shift+tab, but would up the pressure >> for key shortcuts. >> >> A big step forward would be to adopt the use of html accesskey (ctrl+key to >> do something). The problem is that this area is full of cross >> platrom/browser incompatibilities. I think getting something useful is >> possible, but a bit like walking a mine field. >> >> I've moved from hating javascript to finding it to be quite nice for client >> side programming. But the serious problems of browser incompatibilities >> continue (although nothing like even 3 years ago. >> >> On Sat, Nov 28, 2009 at 7:53 AM, David Mitchell <[email protected]>wrote: >> >>> I tried a variety of my 6.02 scripts and had success with some of them. >>> Many >>> wouldn't run due to the lack of wd. I created a cd replacement for >>> wd'clippaste >>> 2' and I was able to get my exiftool utility working. >>> >>> I missed the keyboard shortcuts for Open, Save, Run, Run Line, the debug >>> verbs, >>> ijx/ijs window swap, the contextual find options, 'recent' script memory. >>> >>> My preference would be to have the ijs buttons and file name at the top of >>> the >>> window, rather than the bottom. >>> >>> I found the loss of cursor position after hitting Save in the ijs window >>> very >>> unproductive. >>> >>> I would like a more complete browser window for opening scripts, at least >>> including time and date. >>> >>> I found I had to hit enter to force a manual refresh of the jijx window >>> after >>> hitting run on a concurrent ijs window. >>> >>> Even with these issues, I found it reasonably usable. >>> >>> I copied in the 6.02 addons into the 701 directory and had success with an >>> sqlite script. >>> >>> -- >>> David Mitchell >>> >>> >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > > > ------------------------------ > > Message: 4 > Date: Sun, 29 Nov 2009 11:06:37 -0500 > From: Eric Iverson <[email protected]> > Subject: [Jbeta] jhs version 1.4 - mouse click recall > To: Beta forum <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > jhs verions 1.4 is available (in jhs browser run sentence jshupd''). > > This version has an experimental support for mouse click recall. > > This is intended for devices like the iphone that don't have up/dn arrow > keys for line recall. > > For this release the facility is enabled for all. It may be a slight > nuisance for browsers that don't need it, but it does allow everyone to play > with the idea. > > A click on the left side of the LOG (<100px) is an up arrow. A click on the > right is a dn arrow. > > iphone users: is this useful? or just weird? > > > ------------------------------ > > Message: 5 > Date: Sun, 29 Nov 2009 11:13:59 -0500 > From: Eric Iverson <[email protected]> > Subject: [Jbeta] jhs 1.4 - no-cache > To: Beta forum <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > jhs 1.4 allows caching. Previous versions had http header Cache-Control: > no-cache. > > Early version of jhs used both get and post methods and caches were > especially naster wtih get. Now only post is used and caches don't seem so > bad. Or maybe I am just getting used to browser world. > > Pages are now cached (at the whim of your browser etc.). This means the > browser back/forward buttons are often available. They can be useful. They > can also be confusing. Use with caution. > > Give feedback on whether you find back/forward are useful or dangerous. > > > ------------------------------ > > Message: 6 > Date: Sun, 29 Nov 2009 11:15:22 -0500 > From: Eric Iverson <[email protected]> > Subject: [Jbeta] jhs - latest library > To: Beta forum <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > As Oleg pointed out the jhs library is not up to date. This will be fixed > with the next full jhs release, but it doesn't warrant the > oploads/downloads/installs at this early stage of play. > > > ------------------------------ > > Message: 7 > Date: Sun, 29 Nov 2009 11:38:21 -0500 > From: Eric Iverson <[email protected]> > Subject: [Jbeta] jhs - use patterns > To: Beta forum <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > jhs use patterns: > > Casual: convenient to have eveything happen in one window: open bookmark > jijx, page to opn, open script, edit, run, page to ijx, page to pdf, etc. > > Iphone type device: limited real-estate, limited keyboard, tabs perhaps > more awkward than justified: similar to casual use > > Power: try to come close to traditional IDE development system > > Here are a few Power ideas (expressed in windows terms, but applicable to > all): > > Create icon to launch server: > copy jconsole icon and add to command line: -js "jhs 1500" > run minimized > > Create icon to open jijx page in new browser: > copy IE or FF icon and add to comand line: http://127.0.0.1:1500/jijx > rename to: jijx > details vary depending on browser tab options > > Create icon to open jopn in new browser: > copy IE or FF icon and add to comand line: http://127.0.0.1:1500/jopn > rename to: jopn > details will vary depending on browser tab options > > The jijx browser lets you always see jijx. The jopn browser can be used with > tabs for scripts. A jopn bookmark can be used to open jopn in a new tab. > > I think with adjustments in work habits and with improvements in the pages > (especially opn) that this can be an effective IDE. Having a jhs > intergrated Program Manager would be great. > > > ------------------------------ > > Message: 8 > Date: Mon, 30 Nov 2009 08:59:59 +1300 > From: "Sherlock, Ric" <[email protected]> > Subject: Re: [Jbeta] More observations > To: Beta forum <[email protected]> > Message-ID: > <f43d47796ad0844785a03f363452208468694d0...@tur-exchmbx.massey.ac.nz> > Content-Type: text/plain; charset="us-ascii" > >> From: bill lam >> >> On Sat, 28 Nov 2009, Sherlock Ric wrote: >>> The difference in response speed in the browser it is very noticeable >> between these 2 URLs: >>> http://127.0.0.1/jijx NB. fast >>> http://localhost/jijx NB. slow >>> >>> I was originally using localhost but it is much more usable with the >> IP address. >> >> Will it make any difference if turning off plugins like adblock or >> noscript? > > Maybe but I don't use them so can't tell. > > > > ------------------------------ > > Message: 9 > Date: Mon, 30 Nov 2009 10:30:36 +1300 > From: "Sherlock, Ric" <[email protected]> > Subject: Re: [Jbeta] jhs version 1.4 - mouse click recall > To: Beta forum <[email protected]> > Message-ID: > <f43d47796ad0844785a03f363452208468694d0...@tur-exchmbx.massey.ac.nz> > Content-Type: text/plain; charset="us-ascii" > >> From: Eric Iverson >> >> jhs verions 1.4 is available (in jhs browser run sentence jshupd''). > > Note typo should be: jhsupd'' > >> This version has an experimental support for mouse click recall. >> >> This is intended for devices like the iphone that don't have up/dn >> arrow keys for line recall. >> >> For this release the facility is enabled for all. It may be a slight >> nuisance for browsers that don't need it, but it does allow everyone to >> play with the idea. >> >> A click on the left side of the LOG (<100px) is an up arrow. A click on >> the right is a dn arrow. >> >> iphone users: is this useful? or just weird? > > I had a play with this in the browser (desktop with mouse), it works OK, but > it would be nicer if you could click on a line and it was copied to the input > box. > > I did discover that both IE8 & Firefox 3.5.5 it is possible to select text on > the browser page and drag'n drop it into the input box which is quite useful > on the desktop, but probably not so nice on the phone. > > What may be nice is if the click only worked if you clicked on a previously > executed line (div with class "log"). In that case it would be copied > directly to the input box. Clicking in a div with class "fm" would have no > effect, but you would still be able copy & paste (or select, drag & drop) > text from "fm" divs into the input box. > > > > ------------------------------ > > Message: 10 > Date: Mon, 30 Nov 2009 10:44:53 +1300 > From: "Sherlock, Ric" <[email protected]> > Subject: Re: [Jbeta] jhs - use patterns > To: Beta forum <[email protected]> > Message-ID: > <f43d47796ad0844785a03f363452208468694d0...@tur-exchmbx.massey.ac.nz> > Content-Type: text/plain; charset="us-ascii" > >> From: Eric Iverson >> >> jhs use patterns: >> >> Casual: convenient to have eveything happen in one window: open >> bookmark >> jijx, page to opn, open script, edit, run, page to ijx, page to pdf, >> etc. >> >> Iphone type device: limited real-estate, limited keyboard, tabs >> perhaps >> more awkward than justified: similar to casual use >> >> Power: try to come close to traditional IDE development system >> ... >> The jijx browser lets you always see jijx. The jopn browser can be used >> with >> tabs for scripts. A jopn bookmark can be used to open jopn in a new >> tab. >> >> I think with adjustments in work habits and with improvements in the >> pages >> (especially opn) that this can be an effective IDE. Having a jhs >> intergrated Program Manager would be great. > > I would suggest removing the down-arrow jpage options from the input box > "buffer". > Instead beneath the input box there could be a horizontal "menu" of links > that would provide the same functionality as the jpage sentences do currently > [jpage'opn'], [jpage'jijs'], [jpage'jpdf']. Using the mouse (left vs middle > click) the user could then choose to open the page/link in the same or new > tab and the links would still be accessible via the keyboard using the TAB > and Enter keys. As a bonus it would lift the input box off the extreme bottom > of the browser window. -- Murray Eisenberg [email protected] 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
