Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Good idea Bill, I don't think that I could give it real time feedback since the window is redrawn as the zoom changes, but I could replace the radio buttons with discrete points on the slider and that would look cleaner. I will add it to the list. :-) Cheers, bob > On Aug 1, 2017, at 9:13 AM, bill lamwrote: > > Also replacing the array of zoom level radiobutton > by a slider can provide a better user experience. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Also replacing the array of zoom level radiobutton by a slider can provide a better user experience. Just my 2 cents. Вт, 01 авг 2017, robert therriault написал(а): > Thanks for clarifying the few pixel scroll issue Marc, > > I had missed that nuance when I first read the comment. > Your multiplier does solve the problem up to the maximum > screen size and after that the issue is not with Jig but > with physical screen limits. > > Cheers, bob > > > On Aug 1, 2017, at 8:57 AM, Marc Simpsonwrote: > > > > The main issue (as far as I understood earlier comments on this > > thread) concerned scrollbars that seemed unnecessary given that they > > only scrolled a few pixels. > > -- > 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 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
No worries (hopefully I'm interpreting earlier comments correctly). On Tue, Aug 1, 2017 at 9:07 AM, robert therriaultwrote: > Thanks for clarifying the few pixel scroll issue Marc, > > I had missed that nuance when I first read the comment. > Your multiplier does solve the problem up to the maximum > screen size and after that the issue is not with Jig but > with physical screen limits. > > Cheers, bob > >> On Aug 1, 2017, at 8:57 AM, Marc Simpson wrote: >> >> The main issue (as far as I understood earlier comments on this >> thread) concerned scrollbars that seemed unnecessary given that they >> only scrolled a few pixels. > > -- > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks for clarifying the few pixel scroll issue Marc, I had missed that nuance when I first read the comment. Your multiplier does solve the problem up to the maximum screen size and after that the issue is not with Jig but with physical screen limits. Cheers, bob > On Aug 1, 2017, at 8:57 AM, Marc Simpsonwrote: > > The main issue (as far as I understood earlier comments on this > thread) concerned scrollbars that seemed unnecessary given that they > only scrolled a few pixels. -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Hi Bob, On Tue, Aug 1, 2017 at 8:49 AM, robert therriaultwrote: > Your 5 second work around does provide white space around the smaller objects > are displayed and like all good first aid, does no harm. As far as I can see > when the objects get bigger either in width or height then the offset shows up > again and the scrolling is necessary to see the whole of the object, but there > is really no way around that (part of the reason I put the zoom out options > in). From a usability perspective, I don't think there's an issue with scrolling being required for larger canvases, nor on change of zoom level. The main issue (as far as I understood earlier comments on this thread) concerned scrollbars that seemed unnecessary given that they only scrolled a few pixels. Meanwhile, Bill's sizepolicy suggestion looks promising. Best, Marc -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks Bill, I played around with those hints for a while and then stopped when I got close enough to the display that I wanted. I probably should take a look at those again to see if that solves some of the issues that have been reported. I never did get to the point where I could increase the size of the display space by dragging the window size, but that does not mean that it is not possible. Cheers, bob > On Aug 1, 2017, at 8:36 AM, bill lamwrote: > > unlike isigraph, default sizepolicy of webview will not > let it become greedy for space, but one may alter its > behavior by changing its sizepolicy to expanding using > wd command. > >> http://code.jsoftware.com/wiki/Guides/Window_Driver/ChildClasses > > all these are hints only, so that they may not be obayed. > > Вт, 01 авг 2017, Marc Simpson написал(а): >> First of all: thanks Bob, Jig is a wonderful addition to the J toolbox. >> >> Secondly, here's a 5 second workaround to address the >> sidebar/scrollbar issue that a few have raised. Replace, >> >> ID=:":(vobj; fW , fH) webdisplay htmpack tm >> >> on the penultimate line of visual_jig_ (visual in debug/jig/jig.ijs) with >> >> ID=:":(vobj; 1.2 * fW , fH) webdisplay htmpack tm >> >> Note that this doesn't address the webview not expanding with its >> parent form nor does it take into account the SVG content size. But as >> a quick hack it seems to do the job. >> >> On other platforms the scale factor may need tweaking. >> >> On Sun, Jul 30, 2017 at 10:47 AM, Raul Miller wrote: >>> (or even 1b1 and 0b0 ...). >>> >>> -- >>> Raul >>> >>> On Sun, Jul 30, 2017 at 1:47 PM, Raul Miller wrote: I suppose you could use 1b0 and 1b1 to represent boolean values... -- Raul On Sun, Jul 30, 2017 at 11:19 AM, R.E. Boss wrote: > Bob, > > I think your addon can be rather valuable, here are a few remarks. > First of all, my system hung the first time after I did 'v t8' just > before Ctrl J to advance, which apparently also did this. I had to cancel > J with the task manager (Win10, J805). > After restarting the Lab and jumping to chapter 6, three times Ctrl J > brought me tot End of Lab, which was not my intention. And I got other > hang ups in different circumstances, but I'm sorry to have no time to > test it. > > The fact that the display of Jig is such that I always have to use the > sidebars is a nuisance IMO, perhaps you could locate the pop-up screens > at the right hand side or enlarge the initial screen. > > But what bothers me most is that you shift to much work to me as a user: > I have to remember color codes for the different data types (and other > mnemonics which I already forgot ...!) > This is a problem which is not unusual. Whereas computers are designed to > make life easier, the contrary is achieved (for example you are often > requested to use passwords with a lot of non-letters, whereas a long > sentence which is easy to remember for humans is a much better password, > see also https://xkcd.com/936/). > So, to be more specific, in the example of t1, why don’t you display 1b; > 2; 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, > extended and rational number? > The only 'problem' is that 1b is an ill-formed number in J, where the > others are not, but within the scope of your addon that seems acceptable. > > Well, just my 2 cents. > > > R.E. Boss > > > >> -Original Message- >> From: Programming [mailto:programming-boun...@forums.jsoftware.com] >> On Behalf Of robert therriault >> Sent: vrijdag 28 juli 2017 22:15 >> To: Programming forum >> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and >> j806 >> >> Greetings everyone, >> >> I have just completed uploading a new addon that I have named Jig. It >> takes >> the standard J text display and upgrades it to an interactive SVG >> display that >> allows quick access to type and shape and a host of other information >> about >> the results of J sentences. >> >> I have posted a short video (1 minute) demo here: >> https://youtu.be/dK1y_V07214 >> >> Once you have updated using Package Manager you should be able to run it. >> >> There is also a lab in the 'debug' category that will check that your >> system is >> running the full version of the QT ide required for web displays like >> Jig. >> >> I find it most useful when I have assigned a function key to it as >> described in >> the second last chapter of the lab. Just make sure that assigning the >> function >> key does not put you in conflict with any start up scripts that
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks Marc, Your 5 second work around does provide white space around the smaller objects are displayed and like all good first aid, does no harm. As far as I can see when the objects get bigger either in width or height then the offset shows up again and the scrolling is necessary to see the whole of the object, but there is really no way around that (part of the reason I put the zoom out options in). I will play around with this for a bit and make sure that there is not some gotcha hiding in there before I put in that into play. Were I to do it, I think that I would change SCALE to 0.12 0.24 0.6 1.2 2.4 3.6 4.8 as that has the same effect and doesn't introduce another multiplier. By the way, having display of really long strings is a benefit that I have used many times in the development of Jig. Strings of up to 4000 characters display on my machine, although much above that there seems to be a blind spot and the display just goes blank. There is always something I guess. :-) Thanks again for the suggestion. Cheers, bob > On Aug 1, 2017, at 8:18 AM, Marc Simpsonwrote: > > First of all: thanks Bob, Jig is a wonderful addition to the J toolbox. > > Secondly, here's a 5 second workaround to address the > sidebar/scrollbar issue that a few have raised. Replace, > > ID=:":(vobj; fW , fH) webdisplay htmpack tm > > on the penultimate line of visual_jig_ (visual in debug/jig/jig.ijs) with > > ID=:":(vobj; 1.2 * fW , fH) webdisplay htmpack tm > > Note that this doesn't address the webview not expanding with its > parent form nor does it take into account the SVG content size. But as > a quick hack it seems to do the job. > > On other platforms the scale factor may need tweaking. > > On Sun, Jul 30, 2017 at 10:47 AM, Raul Miller wrote: >> (or even 1b1 and 0b0 ...). >> >> -- >> Raul >> >> On Sun, Jul 30, 2017 at 1:47 PM, Raul Miller wrote: >>> I suppose you could use 1b0 and 1b1 to represent boolean values... >>> >>> -- >>> Raul >>> >>> On Sun, Jul 30, 2017 at 11:19 AM, R.E. Boss wrote: Bob, I think your addon can be rather valuable, here are a few remarks. First of all, my system hung the first time after I did 'v t8' just before Ctrl J to advance, which apparently also did this. I had to cancel J with the task manager (Win10, J805). After restarting the Lab and jumping to chapter 6, three times Ctrl J brought me tot End of Lab, which was not my intention. And I got other hang ups in different circumstances, but I'm sorry to have no time to test it. The fact that the display of Jig is such that I always have to use the sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at the right hand side or enlarge the initial screen. But what bothers me most is that you shift to much work to me as a user: I have to remember color codes for the different data types (and other mnemonics which I already forgot ...!) This is a problem which is not unusual. Whereas computers are designed to make life easier, the contrary is achieved (for example you are often requested to use passwords with a lot of non-letters, whereas a long sentence which is easy to remember for humans is a much better password, see also https://xkcd.com/936/). So, to be more specific, in the example of t1, why don’t you display 1b; 2; 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, extended and rational number? The only 'problem' is that 1b is an ill-formed number in J, where the others are not, but within the scope of your addon that seems acceptable. Well, just my 2 cents. R.E. Boss > -Original Message- > From: Programming [mailto:programming-boun...@forums.jsoftware.com] > On Behalf Of robert therriault > Sent: vrijdag 28 juli 2017 22:15 > To: Programming forum > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and > j806 > > Greetings everyone, > > I have just completed uploading a new addon that I have named Jig. It > takes > the standard J text display and upgrades it to an interactive SVG display > that > allows quick access to type and shape and a host of other information > about > the results of J sentences. > > I have posted a short video (1 minute) demo here: > https://youtu.be/dK1y_V07214 > > Once you have updated using Package Manager you should be able to run it. > > There is also a lab in the 'debug' category that will check that your > system is > running the full version of the QT ide required for web displays like Jig. > > I find it most useful when I have assigned a function key to it as >
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
unlike isigraph, default sizepolicy of webview will not let it become greedy for space, but one may alter its behavior by changing its sizepolicy to expanding using wd command. > http://code.jsoftware.com/wiki/Guides/Window_Driver/ChildClasses all these are hints only, so that they may not be obayed. Вт, 01 авг 2017, Marc Simpson написал(а): > First of all: thanks Bob, Jig is a wonderful addition to the J toolbox. > > Secondly, here's a 5 second workaround to address the > sidebar/scrollbar issue that a few have raised. Replace, > > ID=:":(vobj; fW , fH) webdisplay htmpack tm > > on the penultimate line of visual_jig_ (visual in debug/jig/jig.ijs) with > > ID=:":(vobj; 1.2 * fW , fH) webdisplay htmpack tm > > Note that this doesn't address the webview not expanding with its > parent form nor does it take into account the SVG content size. But as > a quick hack it seems to do the job. > > On other platforms the scale factor may need tweaking. > > On Sun, Jul 30, 2017 at 10:47 AM, Raul Millerwrote: > > (or even 1b1 and 0b0 ...). > > > > -- > > Raul > > > > On Sun, Jul 30, 2017 at 1:47 PM, Raul Miller wrote: > >> I suppose you could use 1b0 and 1b1 to represent boolean values... > >> > >> -- > >> Raul > >> > >> On Sun, Jul 30, 2017 at 11:19 AM, R.E. Boss wrote: > >>> Bob, > >>> > >>> I think your addon can be rather valuable, here are a few remarks. > >>> First of all, my system hung the first time after I did 'v t8' just > >>> before Ctrl J to advance, which apparently also did this. I had to cancel > >>> J with the task manager (Win10, J805). > >>> After restarting the Lab and jumping to chapter 6, three times Ctrl J > >>> brought me tot End of Lab, which was not my intention. And I got other > >>> hang ups in different circumstances, but I'm sorry to have no time to > >>> test it. > >>> > >>> The fact that the display of Jig is such that I always have to use the > >>> sidebars is a nuisance IMO, perhaps you could locate the pop-up screens > >>> at the right hand side or enlarge the initial screen. > >>> > >>> But what bothers me most is that you shift to much work to me as a user: > >>> I have to remember color codes for the different data types (and other > >>> mnemonics which I already forgot ...!) > >>> This is a problem which is not unusual. Whereas computers are designed to > >>> make life easier, the contrary is achieved (for example you are often > >>> requested to use passwords with a lot of non-letters, whereas a long > >>> sentence which is easy to remember for humans is a much better password, > >>> see also https://xkcd.com/936/). > >>> So, to be more specific, in the example of t1, why don’t you display 1b; > >>> 2; 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, > >>> extended and rational number? > >>> The only 'problem' is that 1b is an ill-formed number in J, where the > >>> others are not, but within the scope of your addon that seems acceptable. > >>> > >>> Well, just my 2 cents. > >>> > >>> > >>> R.E. Boss > >>> > >>> > >>> > -Original Message- > From: Programming [mailto:programming-boun...@forums.jsoftware.com] > On Behalf Of robert therriault > Sent: vrijdag 28 juli 2017 22:15 > To: Programming forum > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and > j806 > > Greetings everyone, > > I have just completed uploading a new addon that I have named Jig. It > takes > the standard J text display and upgrades it to an interactive SVG > display that > allows quick access to type and shape and a host of other information > about > the results of J sentences. > > I have posted a short video (1 minute) demo here: > https://youtu.be/dK1y_V07214 > > Once you have updated using Package Manager you should be able to run it. > > There is also a lab in the 'debug' category that will check that your > system is > running the full version of the QT ide required for web displays like > Jig. > > I find it most useful when I have assigned a function key to it as > described in > the second last chapter of the lab. Just make sure that assigning the > function > key does not put you in conflict with any start up scripts that you may > be > running. > > This is my first addon so I hope that I have not made too big a mess of > things > and I look forward to your feedback. > > Cheers, bob > > > > -- > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
First of all: thanks Bob, Jig is a wonderful addition to the J toolbox. Secondly, here's a 5 second workaround to address the sidebar/scrollbar issue that a few have raised. Replace, ID=:":(vobj; fW , fH) webdisplay htmpack tm on the penultimate line of visual_jig_ (visual in debug/jig/jig.ijs) with ID=:":(vobj; 1.2 * fW , fH) webdisplay htmpack tm Note that this doesn't address the webview not expanding with its parent form nor does it take into account the SVG content size. But as a quick hack it seems to do the job. On other platforms the scale factor may need tweaking. On Sun, Jul 30, 2017 at 10:47 AM, Raul Millerwrote: > (or even 1b1 and 0b0 ...). > > -- > Raul > > On Sun, Jul 30, 2017 at 1:47 PM, Raul Miller wrote: >> I suppose you could use 1b0 and 1b1 to represent boolean values... >> >> -- >> Raul >> >> On Sun, Jul 30, 2017 at 11:19 AM, R.E. Boss wrote: >>> Bob, >>> >>> I think your addon can be rather valuable, here are a few remarks. >>> First of all, my system hung the first time after I did 'v t8' just before >>> Ctrl J to advance, which apparently also did this. I had to cancel J with >>> the task manager (Win10, J805). >>> After restarting the Lab and jumping to chapter 6, three times Ctrl J >>> brought me tot End of Lab, which was not my intention. And I got other hang >>> ups in different circumstances, but I'm sorry to have no time to test it. >>> >>> The fact that the display of Jig is such that I always have to use the >>> sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at >>> the right hand side or enlarge the initial screen. >>> >>> But what bothers me most is that you shift to much work to me as a user: I >>> have to remember color codes for the different data types (and other >>> mnemonics which I already forgot ...!) >>> This is a problem which is not unusual. Whereas computers are designed to >>> make life easier, the contrary is achieved (for example you are often >>> requested to use passwords with a lot of non-letters, whereas a long >>> sentence which is easy to remember for humans is a much better password, >>> see also https://xkcd.com/936/). >>> So, to be more specific, in the example of t1, why don’t you display 1b; 2; >>> 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, >>> extended and rational number? >>> The only 'problem' is that 1b is an ill-formed number in J, where the >>> others are not, but within the scope of your addon that seems acceptable. >>> >>> Well, just my 2 cents. >>> >>> >>> R.E. Boss >>> >>> >>> -Original Message- From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of robert therriault Sent: vrijdag 28 juli 2017 22:15 To: Programming forum Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 Greetings everyone, I have just completed uploading a new addon that I have named Jig. It takes the standard J text display and upgrades it to an interactive SVG display that allows quick access to type and shape and a host of other information about the results of J sentences. I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 Once you have updated using Package Manager you should be able to run it. There is also a lab in the 'debug' category that will check that your system is running the full version of the QT ide required for web displays like Jig. I find it most useful when I have assigned a function key to it as described in the second last chapter of the lab. Just make sure that assigning the function key does not put you in conflict with any start up scripts that you may be running. This is my first addon so I hope that I have not made too big a mess of things and I look forward to your feedback. Cheers, bob -- 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
(or even 1b1 and 0b0 ...). -- Raul On Sun, Jul 30, 2017 at 1:47 PM, Raul Millerwrote: > I suppose you could use 1b0 and 1b1 to represent boolean values... > > -- > Raul > > On Sun, Jul 30, 2017 at 11:19 AM, R.E. Boss wrote: >> Bob, >> >> I think your addon can be rather valuable, here are a few remarks. >> First of all, my system hung the first time after I did 'v t8' just before >> Ctrl J to advance, which apparently also did this. I had to cancel J with >> the task manager (Win10, J805). >> After restarting the Lab and jumping to chapter 6, three times Ctrl J >> brought me tot End of Lab, which was not my intention. And I got other hang >> ups in different circumstances, but I'm sorry to have no time to test it. >> >> The fact that the display of Jig is such that I always have to use the >> sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at >> the right hand side or enlarge the initial screen. >> >> But what bothers me most is that you shift to much work to me as a user: I >> have to remember color codes for the different data types (and other >> mnemonics which I already forgot ...!) >> This is a problem which is not unusual. Whereas computers are designed to >> make life easier, the contrary is achieved (for example you are often >> requested to use passwords with a lot of non-letters, whereas a long >> sentence which is easy to remember for humans is a much better password, see >> also https://xkcd.com/936/). >> So, to be more specific, in the example of t1, why don’t you display 1b; 2; >> 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, >> extended and rational number? >> The only 'problem' is that 1b is an ill-formed number in J, where the others >> are not, but within the scope of your addon that seems acceptable. >> >> Well, just my 2 cents. >> >> >> R.E. Boss >> >> >> >>> -Original Message- >>> From: Programming [mailto:programming-boun...@forums.jsoftware.com] >>> On Behalf Of robert therriault >>> Sent: vrijdag 28 juli 2017 22:15 >>> To: Programming forum >>> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 >>> >>> Greetings everyone, >>> >>> I have just completed uploading a new addon that I have named Jig. It takes >>> the standard J text display and upgrades it to an interactive SVG display >>> that >>> allows quick access to type and shape and a host of other information about >>> the results of J sentences. >>> >>> I have posted a short video (1 minute) demo here: >>> https://youtu.be/dK1y_V07214 >>> >>> Once you have updated using Package Manager you should be able to run it. >>> >>> There is also a lab in the 'debug' category that will check that your >>> system is >>> running the full version of the QT ide required for web displays like Jig. >>> >>> I find it most useful when I have assigned a function key to it as >>> described in >>> the second last chapter of the lab. Just make sure that assigning the >>> function >>> key does not put you in conflict with any start up scripts that you may be >>> running. >>> >>> This is my first addon so I hope that I have not made too big a mess of >>> things >>> and I look forward to your feedback. >>> >>> Cheers, bob >>> >>> >>> >>> -- >>> 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
I suppose you could use 1b0 and 1b1 to represent boolean values... -- Raul On Sun, Jul 30, 2017 at 11:19 AM, R.E. Bosswrote: > Bob, > > I think your addon can be rather valuable, here are a few remarks. > First of all, my system hung the first time after I did 'v t8' just before > Ctrl J to advance, which apparently also did this. I had to cancel J with the > task manager (Win10, J805). > After restarting the Lab and jumping to chapter 6, three times Ctrl J brought > me tot End of Lab, which was not my intention. And I got other hang ups in > different circumstances, but I'm sorry to have no time to test it. > > The fact that the display of Jig is such that I always have to use the > sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at > the right hand side or enlarge the initial screen. > > But what bothers me most is that you shift to much work to me as a user: I > have to remember color codes for the different data types (and other > mnemonics which I already forgot ...!) > This is a problem which is not unusual. Whereas computers are designed to > make life easier, the contrary is achieved (for example you are often > requested to use passwords with a lot of non-letters, whereas a long sentence > which is easy to remember for humans is a much better password, see also > https://xkcd.com/936/). > So, to be more specific, in the example of t1, why don’t you display 1b; 2; > 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, > extended and rational number? > The only 'problem' is that 1b is an ill-formed number in J, where the others > are not, but within the scope of your addon that seems acceptable. > > Well, just my 2 cents. > > > R.E. Boss > > > >> -Original Message- >> From: Programming [mailto:programming-boun...@forums.jsoftware.com] >> On Behalf Of robert therriault >> Sent: vrijdag 28 juli 2017 22:15 >> To: Programming forum >> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 >> >> Greetings everyone, >> >> I have just completed uploading a new addon that I have named Jig. It takes >> the standard J text display and upgrades it to an interactive SVG display >> that >> allows quick access to type and shape and a host of other information about >> the results of J sentences. >> >> I have posted a short video (1 minute) demo here: >> https://youtu.be/dK1y_V07214 >> >> Once you have updated using Package Manager you should be able to run it. >> >> There is also a lab in the 'debug' category that will check that your system >> is >> running the full version of the QT ide required for web displays like Jig. >> >> I find it most useful when I have assigned a function key to it as described >> in >> the second last chapter of the lab. Just make sure that assigning the >> function >> key does not put you in conflict with any start up scripts that you may be >> running. >> >> This is my first addon so I hope that I have not made too big a mess of >> things >> and I look forward to your feedback. >> >> Cheers, bob >> >> >> >> -- >> 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks Mike, That would be a good solution. I am sure I could find space on the right hand side to have that available and it would make things easier for 'new eyes'. Cheers, bob > On Jul 30, 2017, at 8:53 AM, 'Mike Day' via Programming >wrote: > > Presumably, Bob could add a query button or an icon or the like which could > display a legend and/or a help menu... > Cheers, > Mike > > > Please reply to mike_liz@tiscali.co.uk. > Sent from my iPad > >> On 30 Jul 2017, at 16:19, R.E. Boss wrote: >> >> Bob, >> >> I think your addon can be rather valuable, here are a few remarks. >> First of all, my system hung the first time after I did 'v t8' just before >> Ctrl J to advance, which apparently also did this. I had to cancel J with >> the task manager (Win10, J805). >> After restarting the Lab and jumping to chapter 6, three times Ctrl J >> brought me tot End of Lab, which was not my intention. And I got other hang >> ups in different circumstances, but I'm sorry to have no time to test it. >> >> The fact that the display of Jig is such that I always have to use the >> sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at >> the right hand side or enlarge the initial screen. >> >> But what bothers me most is that you shift to much work to me as a user: I >> have to remember color codes for the different data types (and other >> mnemonics which I already forgot ...!) >> This is a problem which is not unusual. Whereas computers are designed to >> make life easier, the contrary is achieved (for example you are often >> requested to use passwords with a lot of non-letters, whereas a long >> sentence which is easy to remember for humans is a much better password, see >> also https://xkcd.com/936/). >> So, to be more specific, in the example of t1, why don’t you display 1b; 2; >> 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, >> extended and rational number? >> The only 'problem' is that 1b is an ill-formed number in J, where the others >> are not, but within the scope of your addon that seems acceptable. >> >> Well, just my 2 cents. >> >> >> R.E. Boss >> >> >> >>> -Original Message- >>> From: Programming [mailto:programming-boun...@forums.jsoftware.com] >>> On Behalf Of robert therriault >>> Sent: vrijdag 28 juli 2017 22:15 >>> To: Programming forum >>> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 >>> >>> Greetings everyone, >>> >>> I have just completed uploading a new addon that I have named Jig. It takes >>> the standard J text display and upgrades it to an interactive SVG display >>> that >>> allows quick access to type and shape and a host of other information about >>> the results of J sentences. >>> >>> I have posted a short video (1 minute) demo here: >>> https://youtu.be/dK1y_V07214 >>> >>> Once you have updated using Package Manager you should be able to run it. >>> >>> There is also a lab in the 'debug' category that will check that your >>> system is >>> running the full version of the QT ide required for web displays like Jig. >>> >>> I find it most useful when I have assigned a function key to it as >>> described in >>> the second last chapter of the lab. Just make sure that assigning the >>> function >>> key does not put you in conflict with any start up scripts that you may be >>> running. >>> >>> This is my first addon so I hope that I have not made too big a mess of >>> things >>> and I look forward to your feedback. >>> >>> Cheers, bob >>> >>> >>> >>> -- >>> 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thank you R.E. Boss, my responses follow inline, > On Jul 30, 2017, at 8:19 AM, R.E. Bosswrote: > > Bob, > > I think your addon can be rather valuable, here are a few remarks. > First of all, my system hung the first time after I did 'v t8' just before > Ctrl J to advance, which apparently also did this. I had to cancel J with the > task manager (Win10, J805). > After restarting the Lab and jumping to chapter 6, three times Ctrl J brought > me tot End of Lab, which was not my intention. And I got other hang ups in > different circumstances, but I'm sorry to have no time to test it. > There do seem to be some issues with the lab and the way that it runs on the Windows operating system. One question that I would like to know first is whether it is Jig that is creating the problem or interaction with the lab. I don't have access to a Windows machine or I would test it myself. I suppose that if I am going to develop tools in that environment I should address that issue myself, but for the time being it would be useful to know if Jig is hanging up when it interacts with the jqt ide alone. > The fact that the display of Jig is such that I always have to use the > sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at > the right hand side or enlarge the initial screen. > I am guessing that you mean the slide bars that move the object around the display, so that you can view the tooltips. I agree with you, but I have not found a way to keep the tool tip bubble out in front of the object, especially when multiple levels of boxing are present in the object. SVG uses the 'painter's algorithm' and this means that the order of drawing determines what is in front and what is behind. It would be great if I could specify the z axis for these layers, but that is a common complaint and has not been addressed by SVG at this stage. > But what bothers me most is that you shift to much work to me as a user: I > have to remember color codes for the different data types (and other > mnemonics which I already forgot ...!) > This is a problem which is not unusual. Whereas computers are designed to > make life easier, the contrary is achieved (for example you are often > requested to use passwords with a lot of non-letters, whereas a long sentence > which is easy to remember for humans is a much better password, see also > https://xkcd.com/936/). > So, to be more specific, in the example of t1, why don’t you display 1b; 2; > 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, > extended and rational number? > The only 'problem' is that 1b is an ill-formed number in J, where the others > are not, but within the scope of your addon that seems acceptable. I would certainly agree with you that I don't want to shift the load to the user. I would be doing that if I only indicated the types by the visual cues, but the types are always available by hovering. This means that at worst you would hover over the object to find the type and as you get more familiar with the visual language, you may not even have to do that. Your observation is entirely valid as a new user and perhaps I should emphasize that the information is available through the tooltips so that there is no need to memorize the different appearances. Thank you again for your observations. Please let me know if I have missed the point on any of these answers. Cheers, bob -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Presumably, Bob could add a query button or an icon or the like which could display a legend and/or a help menu... Cheers, Mike Please reply to mike_liz@tiscali.co.uk. Sent from my iPad > On 30 Jul 2017, at 16:19, R.E. Bosswrote: > > Bob, > > I think your addon can be rather valuable, here are a few remarks. > First of all, my system hung the first time after I did 'v t8' just before > Ctrl J to advance, which apparently also did this. I had to cancel J with the > task manager (Win10, J805). > After restarting the Lab and jumping to chapter 6, three times Ctrl J brought > me tot End of Lab, which was not my intention. And I got other hang ups in > different circumstances, but I'm sorry to have no time to test it. > > The fact that the display of Jig is such that I always have to use the > sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at > the right hand side or enlarge the initial screen. > > But what bothers me most is that you shift to much work to me as a user: I > have to remember color codes for the different data types (and other > mnemonics which I already forgot ...!) > This is a problem which is not unusual. Whereas computers are designed to > make life easier, the contrary is achieved (for example you are often > requested to use passwords with a lot of non-letters, whereas a long sentence > which is easy to remember for humans is a much better password, see also > https://xkcd.com/936/). > So, to be more specific, in the example of t1, why don’t you display 1b; 2; > 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, > extended and rational number? > The only 'problem' is that 1b is an ill-formed number in J, where the others > are not, but within the scope of your addon that seems acceptable. > > Well, just my 2 cents. > > > R.E. Boss > > > >> -Original Message- >> From: Programming [mailto:programming-boun...@forums.jsoftware.com] >> On Behalf Of robert therriault >> Sent: vrijdag 28 juli 2017 22:15 >> To: Programming forum >> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 >> >> Greetings everyone, >> >> I have just completed uploading a new addon that I have named Jig. It takes >> the standard J text display and upgrades it to an interactive SVG display >> that >> allows quick access to type and shape and a host of other information about >> the results of J sentences. >> >> I have posted a short video (1 minute) demo here: >> https://youtu.be/dK1y_V07214 >> >> Once you have updated using Package Manager you should be able to run it. >> >> There is also a lab in the 'debug' category that will check that your system >> is >> running the full version of the QT ide required for web displays like Jig. >> >> I find it most useful when I have assigned a function key to it as described >> in >> the second last chapter of the lab. Just make sure that assigning the >> function >> key does not put you in conflict with any start up scripts that you may be >> running. >> >> This is my first addon so I hope that I have not made too big a mess of >> things >> and I look forward to your feedback. >> >> Cheers, bob >> >> >> >> -- >> 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Bob, I think your addon can be rather valuable, here are a few remarks. First of all, my system hung the first time after I did 'v t8' just before Ctrl J to advance, which apparently also did this. I had to cancel J with the task manager (Win10, J805). After restarting the Lab and jumping to chapter 6, three times Ctrl J brought me tot End of Lab, which was not my intention. And I got other hang ups in different circumstances, but I'm sorry to have no time to test it. The fact that the display of Jig is such that I always have to use the sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at the right hand side or enlarge the initial screen. But what bothers me most is that you shift to much work to me as a user: I have to remember color codes for the different data types (and other mnemonics which I already forgot ...!) This is a problem which is not unusual. Whereas computers are designed to make life easier, the contrary is achieved (for example you are often requested to use passwords with a lot of non-letters, whereas a long sentence which is easy to remember for humans is a much better password, see also https://xkcd.com/936/). So, to be more specific, in the example of t1, why don’t you display 1b; 2; 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, extended and rational number? The only 'problem' is that 1b is an ill-formed number in J, where the others are not, but within the scope of your addon that seems acceptable. Well, just my 2 cents. R.E. Boss > -Original Message- > From: Programming [mailto:programming-boun...@forums.jsoftware.com] > On Behalf Of robert therriault > Sent: vrijdag 28 juli 2017 22:15 > To: Programming forum> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 > > Greetings everyone, > > I have just completed uploading a new addon that I have named Jig. It takes > the standard J text display and upgrades it to an interactive SVG display that > allows quick access to type and shape and a host of other information about > the results of J sentences. > > I have posted a short video (1 minute) demo here: > https://youtu.be/dK1y_V07214 > > Once you have updated using Package Manager you should be able to run it. > > There is also a lab in the 'debug' category that will check that your system > is > running the full version of the QT ide required for web displays like Jig. > > I find it most useful when I have assigned a function key to it as described > in > the second last chapter of the lab. Just make sure that assigning the function > key does not put you in conflict with any start up scripts that you may be > running. > > This is my first addon so I hope that I have not made too big a mess of things > and I look forward to your feedback. > > Cheers, bob > > > > -- > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks, Bob Re 0), we might be at cross purposes. I'd tried to point out that I hadn't seen a red dot at the top left. I forget if that's a Mac feature. 1 & 2) fine, 3) It's late here, and we're off for a fwe days tomorrow. When I can, I'll have a look at the interaction between J-session font-size under Windows and display of the longest (left to right) boxed item in the JIG output windows. I might not get back to you for a day or more on this. Thanks again, Mike On 29/07/2017 18:11, robert therriault wrote: Thanks Mike, Your feed back is really appreciated, as well as your patience in running through the labs so many times to troubleshoot! I will look at chapter 4(8) and chapter 6(1). As usual I am bending the rules a little in the way that I am using PREPARE in the lab in order to generate multiple jig displays. I will take a look at this in case it may be a source of the problem. In response to your earlier observations: 0) I must learn to take my Mac centric goggles off. I will update the lab to indicate that 'when windows are no longer needed, you can close them to reduce on screen clutter' 1) The resizing that I was referring to, was through the radio buttons on the side for magnification. I'll come up with a way to make this more clear. 2) The off-centre display is a result of providing room for the tooltips to display in the negative space. In SVG the tooltips are there all the time (they are just invisible). All the hover is doing is changing the opacity of the message. There were a number of compromises that I had to make to allow the tooltips to appear without overlapping the results and the off centre was one of those. 3) That sounds as if it is a consequence of the character width. Unfortunately, I don't have a windows machine to test on. My guess is that if you created even longer numbers then they would extend further beyond the box proportionately. The only other area that would be interesting to check is whether the Session Font size for the J display (under the Edit menu in jqt) has an effect on this behaviour. Thank you again for your valuable feedback. Cheers, bob On Jul 29, 2017, at 9:45 AM, 'Mike Day' via Programmingwrote: Further developments following the following: Firstly, I discovered problem (3) in my earlier message occurs, on my PC at least, for size setting 100% and/or below. Setting a size of 200% or more "solves" that problem. Next: I continued the lab, but encountered a J crash, along the lines of "Windows encountered an error - is investigating - CANCEL" this occurred at chapter 4 (8) as far as I could tell. I restarted J, to see if the error recurred. I skipped to chapter (4), but found runquiet (or quietrun - I forget as J's disappeared!) missing, so had to run ch (0) and ch (1) before skipping to ch (4). This time it ran 4(8) and onwards a little bit more, successfully. I now tried to make sure it was ok at 4 (8) without skipping at all, so I reloaded the lab. Yes, it successfully negotiated 4(8) again, but, in this same session, later crashed at chapter 6, section 1. That's as far as I've got. I hope this is of some use to Bob and/or others. Cheers, Mike On 29/07/2017 13:46, 'Mike Day' via Programming wrote: Thanks I'm still in the middle of the lab, so might be overlooking some set-up possibilities, but the following early remarks might be useful to you (Bob): JVERSION Engine: j806/j64avx/windows Beta-4: commercial/2017-06-27T12:46:20 Library: 8.06.03 Qt IDE: 1.5.3/5.6.2 Platform: Win 64 Installer: J806 install InstallPath: c:/d/j806 Contact: www.jsoftware.com The machine is a LENOVO laptop, Z50, with an AMD A10 processor. 0) " When the Jig windows are no longer needed, close them by clicking on the red dot in the upper left corner of the message box." I don't see any red dot, although clicking in the usual place closes the window easily enough. 1) The window is resizable - fine. But if I do enlarge the window, the interior box displaying the material is NOT resized; it typically has vertical and horizontal sliders shown, respectively at the top and the left of their tracks. 2) The displayed is not "centred" in that box; for example, with v ,. 1;2;3j4;409808e21;409807987979797806576578x;6r13247 all 6 boxed rows ARE shown, but they are masked on the right hand side by the vertical border of the box; sliding the horizontal slider to the right does reveal the 6 boxes fully; 3) However, with that example, using either available font, the longest string, "409807987979797806576578" , does not sit properly in its box. The rightmost "8" intersects the vertical bar of the box. All known "features" perhaps, and they've possibly been mentioned in other correspondence. It's very promising, thanks, Mike On 28/07/2017 21:15, robert therriault wrote: Greetings everyone, I have just completed uploading a new addon that I
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks Jimmy, 1) I know that my coding skills aren't at the level of what you see with dissect, but if Henry is interested in the way I have approached the display, he can certainly use any of jig's ideas. Do remember that dissect is a different tool than jig and many of the decisions I made on the jig interface would not be appropriate for dissect. 2) I can't speak to the difficulty of using unicode for J primitives, but one of the things that I like about J is that the notation is so consistent. When you look at mathematics notation it gets pretty wild and wooly very quickly. I prefer %: and knowing that I can extend it to 3&%: the same way that I can with ^ and 3&^ 3&%: 8 2 3&^ 8 6561 Cheers, bob > On Jul 28, 2017, at 3:55 PM, Jimmy Gauvinwrote: > > @ Robert : Great add-on ! > > Can I add a wishlist for Christmas? > > 1) Could this be combined with the Dissect add-on ? > http://code.jsoftware.com/wiki/Vocabulary/Dissect > > 2) @ "Those who know J innards" : how hard would it be to add unicode as > valid characters for identifiers? > > Permitting things like √ =: %: > > (if the character before =: doesn't appear correctly in your browser, it's > the square root symbol > http://www.fileformat.info/info/unicode/char/221a/index.htm) > > On Fri, Jul 28, 2017 at 6:16 PM, Ian Clark wrote: > >> Great concept, Bob. >> >> Just watching your YouTube makes me wonder why we persist in using a tty >> paradigm from the 1960s for conversational use of J – which we like to >> think of as an advanced language. Perhaps we just like playing Mastermind >> with ourselves when we play with J? It shows us how smart we are. :-P >> >> It's no longer true that all this good stuff is too expensive to compute >> for every line of input. Every line of operational code, maybe. But far >> more than the basic "tty" paradigm comes for free with Mathematica – and >> has done for the last 20 years. Where've we been all that time? >> >> Actually you've beaten me to it. But I guess I will still complete my toy >> "tty++", because I think it will help to have the session window >> immediately display the missing information you correctly identify, without >> the user needing to go asking for it. >> >> I find myself using my "crex" utility so often I'd like my session manager >> to routinely crex every phrase I enter. You might consider adding crex to >> Jig, or something like it. Example: >> >> z >> This is a line of text. >> This is another. >> >> zz >> This is a line of text. >> This is another. >> >> zzz >> This is a line of text. >> This is another. >> >> crex z >> 'This is a line of text.',LF,'This is another.',LF >> crex zz >> 3 23$'This is a line of text.This is another. >> ' >> crex zzz >> 3 25$'This is a line of text. This is another. >> ' >> >> On Fri, Jul 28, 2017 at 10:40 PM, robert therriault >> >> wrote: >> >>> Whoops, I left my test file hooked up. I have updated and it should run >>> now, when it has been updated through the package manager. >>> >>> Thanks Tom, I really appreciate the heads up on that one. >>> >>> Cheers, bob >>> On Jul 28, 2017, at 1:55 PM, Tom Arneson wrote: Bob, When I tried jig, I got the following error. load'debug/jig' not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/ >> run.ijs |file name error: script | 0!:0 y[4!:55<'y' -Original Message- From: Programming [mailto:programming-boun...@forums.jsoftware.com] On >>> Behalf Of robert therriault Sent: Friday, July 28, 2017 15:15 To: Programming forum Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and >>> j806 Greetings everyone, I have just completed uploading a new addon that I have named Jig. It >>> takes the standard J text display and upgrades it to an interactive SVG >>> display that allows quick access to type and shape and a host of other >>> information about the results of J sentences. I have posted a short video (1 minute) demo here: >>> https://youtu.be/dK1y_V07214 Once you have updated using Package Manager you should be able to run >> it. There is also a lab in the 'debug' category that will check that your >>> system is running the full version of the QT ide required for web >> displays >>> like Jig. I find it most useful when I have assigned a function key to it as >>> described in the second last chapter of the lab. Just make sure that >>> assigning the function key does not put you in conflict with any start up >>> scripts that you may be running. This is my first addon so I hope that I have not made too big a mess of >>> things and I look forward to your feedback. Cheers, bob
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Hi Henry, I think that the biggest difference between jig and dissect is that jig mirrors the J text display, whereas dissect deconstructs the J sentence to give insight into the construction of the result. In short, dissect does a great deal more than jig. Jig is just an interface to the final result. If jig is a butter knife, then dissect is a Swiss Army knife. In the wilderness I would want dissect, at the table jig can be useful. Cheers, bob > On Jul 29, 2017, at 6:58 AM, Henry Richwrote: > > I am away from J, but what is dissect lacking? By hovering you can get a > lot of information. > > Henry Rich > > On Jul 28, 2017 23:55, "Jimmy Gauvin" wrote: > >> @ Robert : Great add-on ! >> >> Can I add a wishlist for Christmas? >> >> 1) Could this be combined with the Dissect add-on ? >> http://code.jsoftware.com/wiki/Vocabulary/Dissect >> >> 2) @ "Those who know J innards" : how hard would it be to add unicode as >> valid characters for identifiers? >> >> Permitting things like √ =: %: >> >> (if the character before =: doesn't appear correctly in your browser, it's >> the square root symbol >> http://www.fileformat.info/info/unicode/char/221a/index.htm) >> >> On Fri, Jul 28, 2017 at 6:16 PM, Ian Clark wrote: >> >>> Great concept, Bob. >>> >>> Just watching your YouTube makes me wonder why we persist in using a tty >>> paradigm from the 1960s for conversational use of J – which we like to >>> think of as an advanced language. Perhaps we just like playing Mastermind >>> with ourselves when we play with J? It shows us how smart we are. :-P >>> >>> It's no longer true that all this good stuff is too expensive to compute >>> for every line of input. Every line of operational code, maybe. But far >>> more than the basic "tty" paradigm comes for free with Mathematica – and >>> has done for the last 20 years. Where've we been all that time? >>> >>> Actually you've beaten me to it. But I guess I will still complete my toy >>> "tty++", because I think it will help to have the session window >>> immediately display the missing information you correctly identify, >> without >>> the user needing to go asking for it. >>> >>> I find myself using my "crex" utility so often I'd like my session >> manager >>> to routinely crex every phrase I enter. You might consider adding crex to >>> Jig, or something like it. Example: >>> >>> z >>> This is a line of text. >>> This is another. >>> >>> zz >>> This is a line of text. >>> This is another. >>> >>> zzz >>> This is a line of text. >>> This is another. >>> >>> crex z >>> 'This is a line of text.',LF,'This is another.',LF >>> crex zz >>> 3 23$'This is a line of text.This is another. >>> ' >>> crex zzz >>> 3 25$'This is a line of text. This is another. >>> ' >>> >>> On Fri, Jul 28, 2017 at 10:40 PM, robert therriault < >> bobtherria...@mac.com >>> wrote: >>> Whoops, I left my test file hooked up. I have updated and it should run now, when it has been updated through the package manager. Thanks Tom, I really appreciate the heads up on that one. Cheers, bob > On Jul 28, 2017, at 1:55 PM, Tom Arneson wrote: > > Bob, When I tried jig, I got the following error. > > load'debug/jig' > not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/ >>> run.ijs > |file name error: script > | 0!:0 y[4!:55<'y' > > -Original Message- > From: Programming [mailto:programming-boun...@forums.jsoftware.com] >> On Behalf Of robert therriault > Sent: Friday, July 28, 2017 15:15 > To: Programming forum > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 >> and j806 > > Greetings everyone, > > I have just completed uploading a new addon that I have named Jig. It takes the standard J text display and upgrades it to an interactive SVG display that allows quick access to type and shape and a host of other information about the results of J sentences. > > I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 > > Once you have updated using Package Manager you should be able to run >>> it. > > There is also a lab in the 'debug' category that will check that your system is running the full version of the QT ide required for web >>> displays like Jig. > > I find it most useful when I have assigned a function key to it as described in the second last chapter of the lab. Just make sure that assigning the function key does not put you in conflict with any start >> up scripts that you may be running. > > This is my first addon so I hope that I have not made too big a mess >> of things and I look forward to your feedback. > > Cheers, bob > >
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks Ian, A great deal of the work that I did with non-visible ASCII characters was similar to your explorations with crex. One of the big challenges was the differences in the way that LF displays depending on whether it is boxed or not! I wonder as well the effect that the tty interface can have in terms of the Whorf-Sappir hypothesis, and further into the future with the use of Swift playgrounds. You would have a better sense of this with your recent excursions into iOS. Cheers, bob > On Jul 28, 2017, at 3:16 PM, Ian Clarkwrote: > > Great concept, Bob. > > Just watching your YouTube makes me wonder why we persist in using a tty > paradigm from the 1960s for conversational use of J – which we like to > think of as an advanced language. Perhaps we just like playing Mastermind > with ourselves when we play with J? It shows us how smart we are. :-P > > It's no longer true that all this good stuff is too expensive to compute > for every line of input. Every line of operational code, maybe. But far > more than the basic "tty" paradigm comes for free with Mathematica – and > has done for the last 20 years. Where've we been all that time? > > Actually you've beaten me to it. But I guess I will still complete my toy > "tty++", because I think it will help to have the session window > immediately display the missing information you correctly identify, without > the user needing to go asking for it. > > I find myself using my "crex" utility so often I'd like my session manager > to routinely crex every phrase I enter. You might consider adding crex to > Jig, or something like it. Example: > > z > This is a line of text. > This is another. > > zz > This is a line of text. > This is another. > > zzz > This is a line of text. > This is another. > > crex z > 'This is a line of text.',LF,'This is another.',LF > crex zz > 3 23$'This is a line of text.This is another. ' > crex zzz > 3 25$'This is a line of text. This is another. > ' > > On Fri, Jul 28, 2017 at 10:40 PM, robert therriault > wrote: > >> Whoops, I left my test file hooked up. I have updated and it should run >> now, when it has been updated through the package manager. >> >> Thanks Tom, I really appreciate the heads up on that one. >> >> Cheers, bob >> >>> On Jul 28, 2017, at 1:55 PM, Tom Arneson wrote: >>> >>> Bob, When I tried jig, I got the following error. >>> >>> load'debug/jig' >>> not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/run.ijs >>> |file name error: script >>> | 0!:0 y[4!:55<'y' >>> >>> -Original Message- >>> From: Programming [mailto:programming-boun...@forums.jsoftware.com] On >> Behalf Of robert therriault >>> Sent: Friday, July 28, 2017 15:15 >>> To: Programming forum >>> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and >> j806 >>> >>> Greetings everyone, >>> >>> I have just completed uploading a new addon that I have named Jig. It >> takes the standard J text display and upgrades it to an interactive SVG >> display that allows quick access to type and shape and a host of other >> information about the results of J sentences. >>> >>> I have posted a short video (1 minute) demo here: >> https://youtu.be/dK1y_V07214 >>> >>> Once you have updated using Package Manager you should be able to run it. >>> >>> There is also a lab in the 'debug' category that will check that your >> system is running the full version of the QT ide required for web displays >> like Jig. >>> >>> I find it most useful when I have assigned a function key to it as >> described in the second last chapter of the lab. Just make sure that >> assigning the function key does not put you in conflict with any start up >> scripts that you may be running. >>> >>> This is my first addon so I hope that I have not made too big a mess of >> things and I look forward to your feedback. >>> >>> Cheers, bob >>> >>> >>> >>> -- >>> 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks Mike, Your feed back is really appreciated, as well as your patience in running through the labs so many times to troubleshoot! I will look at chapter 4(8) and chapter 6(1). As usual I am bending the rules a little in the way that I am using PREPARE in the lab in order to generate multiple jig displays. I will take a look at this in case it may be a source of the problem. In response to your earlier observations: 0) I must learn to take my Mac centric goggles off. I will update the lab to indicate that 'when windows are no longer needed, you can close them to reduce on screen clutter' 1) The resizing that I was referring to, was through the radio buttons on the side for magnification. I'll come up with a way to make this more clear. 2) The off-centre display is a result of providing room for the tooltips to display in the negative space. In SVG the tooltips are there all the time (they are just invisible). All the hover is doing is changing the opacity of the message. There were a number of compromises that I had to make to allow the tooltips to appear without overlapping the results and the off centre was one of those. 3) That sounds as if it is a consequence of the character width. Unfortunately, I don't have a windows machine to test on. My guess is that if you created even longer numbers then they would extend further beyond the box proportionately. The only other area that would be interesting to check is whether the Session Font size for the J display (under the Edit menu in jqt) has an effect on this behaviour. Thank you again for your valuable feedback. Cheers, bob > On Jul 29, 2017, at 9:45 AM, 'Mike Day' via Programming >wrote: > > Further developments following the following: > > Firstly, I discovered problem (3) in my earlier message occurs, on my PC > at least, for size setting 100% and/or below. Setting a size of 200% or > more "solves" that problem. > > Next: I continued the lab, but encountered a J crash, along the lines of > "Windows encountered an error - is investigating - CANCEL" > this occurred at chapter 4 (8) as far as I could tell. > > I restarted J, to see if the error recurred. I skipped to chapter (4), but > found runquiet (or quietrun - I forget as J's disappeared!) missing, so > had to run ch (0) and ch (1) before skipping to ch (4). This time it ran > 4(8) and onwards a little bit more, successfully. > > I now tried to make sure it was ok at 4 (8) without skipping at all, so I > reloaded the lab. Yes, it successfully negotiated 4(8) again, but, in this > same session, later crashed at chapter 6, section 1. > > That's as far as I've got. I hope this is of some use to Bob and/or others. > > Cheers, > Mike > > On 29/07/2017 13:46, 'Mike Day' via Programming wrote: >> Thanks >> >> I'm still in the middle of the lab, so might be overlooking some set-up >> possibilities, but the following early remarks might be useful to you (Bob): >> >> JVERSION >> >> Engine: j806/j64avx/windows >> >> Beta-4: commercial/2017-06-27T12:46:20 >> >> Library: 8.06.03 >> >> Qt IDE: 1.5.3/5.6.2 >> >> Platform: Win 64 >> >> Installer: J806 install >> >> InstallPath: c:/d/j806 >> >> Contact: www.jsoftware.com >> >> >> The machine is a LENOVO laptop, Z50, with an AMD A10 processor. >> >> >> 0) " When the Jig windows are no longer needed, close them by >> >> clicking on the red dot in the upper left corner of the >> >> message box." >> >> I don't see any red dot, although clicking in the usual place closes the >> >> window easily enough. >> >> >> 1) The window is resizable - fine. But if I do enlarge the window, >> >> the interior box displaying the material is NOT resized; it typically >> >> has vertical and horizontal sliders shown, respectively at the top and >> >> the left of their tracks. >> >> >> 2) The displayed is not "centred" in that box; for example, with >> >> v ,. 1;2;3j4;409808e21;409807987979797806576578x;6r13247 >> >> >> all 6 boxed rows ARE shown, but they are masked on the right hand >> >> side by the vertical border of the box; sliding the horizontal slider to >> >> the right does reveal the 6 boxes fully; >> >> >> 3) However, with that example, using either available font, the longest >> >> string, "409807987979797806576578" , does not sit properly in its >> >> box. The rightmost "8" intersects the vertical bar of the box. >> >> >> All known "features" perhaps, and they've possibly been mentioned in >> >> other correspondence. >> >> >> It's very promising, thanks, >> >> >> Mike >> >> >> On 28/07/2017 21:15, robert therriault wrote: >>> Greetings everyone, >>> >>> I have just completed uploading a new addon that I have named Jig. It takes >>> the standard J text display and upgrades it to an interactive SVG display >>> that allows quick access to type and shape and a host of other information >>> about the results of J sentences. >>> >>> I
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Further developments following the following: Firstly, I discovered problem (3) in my earlier message occurs, on my PC at least, for size setting 100% and/or below. Setting a size of 200% or more "solves" that problem. Next: I continued the lab, but encountered a J crash, along the lines of "Windows encountered an error - is investigating - CANCEL" this occurred at chapter 4 (8) as far as I could tell. I restarted J, to see if the error recurred. I skipped to chapter (4), but found runquiet (or quietrun - I forget as J's disappeared!) missing, so had to run ch (0) and ch (1) before skipping to ch (4). This time it ran 4(8) and onwards a little bit more, successfully. I now tried to make sure it was ok at 4 (8) without skipping at all, so I reloaded the lab. Yes, it successfully negotiated 4(8) again, but, in this same session, later crashed at chapter 6, section 1. That's as far as I've got. I hope this is of some use to Bob and/or others. Cheers, Mike On 29/07/2017 13:46, 'Mike Day' via Programming wrote: Thanks I'm still in the middle of the lab, so might be overlooking some set-up possibilities, but the following early remarks might be useful to you (Bob): JVERSION Engine: j806/j64avx/windows Beta-4: commercial/2017-06-27T12:46:20 Library: 8.06.03 Qt IDE: 1.5.3/5.6.2 Platform: Win 64 Installer: J806 install InstallPath: c:/d/j806 Contact: www.jsoftware.com The machine is a LENOVO laptop, Z50, with an AMD A10 processor. 0) " When the Jig windows are no longer needed, close them by clicking on the red dot in the upper left corner of the message box." I don't see any red dot, although clicking in the usual place closes the window easily enough. 1) The window is resizable - fine. But if I do enlarge the window, the interior box displaying the material is NOT resized; it typically has vertical and horizontal sliders shown, respectively at the top and the left of their tracks. 2) The displayed is not "centred" in that box; for example, with v ,. 1;2;3j4;409808e21;409807987979797806576578x;6r13247 all 6 boxed rows ARE shown, but they are masked on the right hand side by the vertical border of the box; sliding the horizontal slider to the right does reveal the 6 boxes fully; 3) However, with that example, using either available font, the longest string, "409807987979797806576578" , does not sit properly in its box. The rightmost "8" intersects the vertical bar of the box. All known "features" perhaps, and they've possibly been mentioned in other correspondence. It's very promising, thanks, Mike On 28/07/2017 21:15, robert therriault wrote: Greetings everyone, I have just completed uploading a new addon that I have named Jig. It takes the standard J text display and upgrades it to an interactive SVG display that allows quick access to type and shape and a host of other information about the results of J sentences. I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 Once you have updated using Package Manager you should be able to run it. There is also a lab in the 'debug' category that will check that your system is running the full version of the QT ide required for web displays like Jig. I find it most useful when I have assigned a function key to it as described in the second last chapter of the lab. Just make sure that assigning the function key does not put you in conflict with any start up scripts that you may be running. This is my first addon so I hope that I have not made too big a mess of things and I look forward to your feedback. Cheers, bob -- For information about J forums see http://www.jsoftware.com/forums.htm --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
jig's v will work on any noun dissect only works on (executable) strings (There may be other issues). -- Raul On Sat, Jul 29, 2017 at 9:58 AM, Henry Richwrote: > I am away from J, but what is dissect lacking? By hovering you can get a > lot of information. > > Henry Rich > > On Jul 28, 2017 23:55, "Jimmy Gauvin" wrote: > >> @ Robert : Great add-on ! >> >> Can I add a wishlist for Christmas? >> >> 1) Could this be combined with the Dissect add-on ? >> http://code.jsoftware.com/wiki/Vocabulary/Dissect >> >> 2) @ "Those who know J innards" : how hard would it be to add unicode as >> valid characters for identifiers? >> >> Permitting things like √ =: %: >> >> (if the character before =: doesn't appear correctly in your browser, it's >> the square root symbol >> http://www.fileformat.info/info/unicode/char/221a/index.htm) >> >> On Fri, Jul 28, 2017 at 6:16 PM, Ian Clark wrote: >> >> > Great concept, Bob. >> > >> > Just watching your YouTube makes me wonder why we persist in using a tty >> > paradigm from the 1960s for conversational use of J – which we like to >> > think of as an advanced language. Perhaps we just like playing Mastermind >> > with ourselves when we play with J? It shows us how smart we are. :-P >> > >> > It's no longer true that all this good stuff is too expensive to compute >> > for every line of input. Every line of operational code, maybe. But far >> > more than the basic "tty" paradigm comes for free with Mathematica – and >> > has done for the last 20 years. Where've we been all that time? >> > >> > Actually you've beaten me to it. But I guess I will still complete my toy >> > "tty++", because I think it will help to have the session window >> > immediately display the missing information you correctly identify, >> without >> > the user needing to go asking for it. >> > >> > I find myself using my "crex" utility so often I'd like my session >> manager >> > to routinely crex every phrase I enter. You might consider adding crex to >> > Jig, or something like it. Example: >> > >> >z >> > This is a line of text. >> > This is another. >> > >> >zz >> > This is a line of text. >> > This is another. >> > >> >zzz >> > This is a line of text. >> > This is another. >> > >> >crex z >> > 'This is a line of text.',LF,'This is another.',LF >> >crex zz >> > 3 23$'This is a line of text.This is another. >> > ' >> >crex zzz >> > 3 25$'This is a line of text. This is another. >> > ' >> > >> > On Fri, Jul 28, 2017 at 10:40 PM, robert therriault < >> bobtherria...@mac.com >> > > >> > wrote: >> > >> > > Whoops, I left my test file hooked up. I have updated and it should run >> > > now, when it has been updated through the package manager. >> > > >> > > Thanks Tom, I really appreciate the heads up on that one. >> > > >> > > Cheers, bob >> > > >> > > > On Jul 28, 2017, at 1:55 PM, Tom Arneson wrote: >> > > > >> > > > Bob, When I tried jig, I got the following error. >> > > > >> > > > load'debug/jig' >> > > > not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/ >> > run.ijs >> > > > |file name error: script >> > > > | 0!:0 y[4!:55<'y' >> > > > >> > > > -Original Message- >> > > > From: Programming [mailto:programming-boun...@forums.jsoftware.com] >> On >> > > Behalf Of robert therriault >> > > > Sent: Friday, July 28, 2017 15:15 >> > > > To: Programming forum >> > > > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 >> and >> > > j806 >> > > > >> > > > Greetings everyone, >> > > > >> > > > I have just completed uploading a new addon that I have named Jig. It >> > > takes the standard J text display and upgrades it to an interactive SVG >> > > display that allows quick access to type and shape and a host of other >> > > information about the results of J sentences. >> > > > >> > > > I have posted a short video (1 minute) demo here: >> > > https://youtu.be/dK1y_V07214 >> > > > >> > > > Once you have updated using Package Manager you should be able to run >> > it. >> > > > >> > > > There is also a lab in the 'debug' category that will check that your >> > > system is running the full version of the QT ide required for web >> > displays >> > > like Jig. >> > > > >> > > > I find it most useful when I have assigned a function key to it as >> > > described in the second last chapter of the lab. Just make sure that >> > > assigning the function key does not put you in conflict with any start >> up >> > > scripts that you may be running. >> > > > >> > > > This is my first addon so I hope that I have not made too big a mess >> of >> > > things and I look forward to your feedback. >> > > > >> > > > Cheers, bob >> > > > >> > > > >> > > > >> > > > >> -- >> > > > For information about J forums see http://www.jsoftware.com/ >> forums.htm >> > > > >> > >
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
I ran into error on Linux, The addon and its folder name is Jig (uppercase J) but inside lab it refers to jig (lowercase J) '~addons/debug/jig/jig.ijs' Mac and Windows file name systems are case insensitive but not on Linux. Пт, 28 июл 2017, robert therriault написал(а): > Greetings everyone, > > I have just completed uploading a new addon that I have named Jig. It takes > the standard J text display and upgrades it to an interactive SVG display > that allows quick access to type and shape and a host of other information > about the results of J sentences. > > I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 > > Once you have updated using Package Manager you should be able to run it. > > There is also a lab in the 'debug' category that will check that your system > is running the full version of the QT ide required for web displays like Jig. > > I find it most useful when I have assigned a function key to it as described > in the second last chapter of the lab. Just make sure that assigning the > function key does not put you in conflict with any start up scripts that you > may be running. > > This is my first addon so I hope that I have not made too big a mess of > things and I look forward to your feedback. > > Cheers, bob > > > > -- > 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 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
I am away from J, but what is dissect lacking? By hovering you can get a lot of information. Henry Rich On Jul 28, 2017 23:55, "Jimmy Gauvin"wrote: > @ Robert : Great add-on ! > > Can I add a wishlist for Christmas? > > 1) Could this be combined with the Dissect add-on ? > http://code.jsoftware.com/wiki/Vocabulary/Dissect > > 2) @ "Those who know J innards" : how hard would it be to add unicode as > valid characters for identifiers? > > Permitting things like √ =: %: > > (if the character before =: doesn't appear correctly in your browser, it's > the square root symbol > http://www.fileformat.info/info/unicode/char/221a/index.htm) > > On Fri, Jul 28, 2017 at 6:16 PM, Ian Clark wrote: > > > Great concept, Bob. > > > > Just watching your YouTube makes me wonder why we persist in using a tty > > paradigm from the 1960s for conversational use of J – which we like to > > think of as an advanced language. Perhaps we just like playing Mastermind > > with ourselves when we play with J? It shows us how smart we are. :-P > > > > It's no longer true that all this good stuff is too expensive to compute > > for every line of input. Every line of operational code, maybe. But far > > more than the basic "tty" paradigm comes for free with Mathematica – and > > has done for the last 20 years. Where've we been all that time? > > > > Actually you've beaten me to it. But I guess I will still complete my toy > > "tty++", because I think it will help to have the session window > > immediately display the missing information you correctly identify, > without > > the user needing to go asking for it. > > > > I find myself using my "crex" utility so often I'd like my session > manager > > to routinely crex every phrase I enter. You might consider adding crex to > > Jig, or something like it. Example: > > > >z > > This is a line of text. > > This is another. > > > >zz > > This is a line of text. > > This is another. > > > >zzz > > This is a line of text. > > This is another. > > > >crex z > > 'This is a line of text.',LF,'This is another.',LF > >crex zz > > 3 23$'This is a line of text.This is another. > > ' > >crex zzz > > 3 25$'This is a line of text. This is another. > > ' > > > > On Fri, Jul 28, 2017 at 10:40 PM, robert therriault < > bobtherria...@mac.com > > > > > wrote: > > > > > Whoops, I left my test file hooked up. I have updated and it should run > > > now, when it has been updated through the package manager. > > > > > > Thanks Tom, I really appreciate the heads up on that one. > > > > > > Cheers, bob > > > > > > > On Jul 28, 2017, at 1:55 PM, Tom Arneson wrote: > > > > > > > > Bob, When I tried jig, I got the following error. > > > > > > > > load'debug/jig' > > > > not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/ > > run.ijs > > > > |file name error: script > > > > | 0!:0 y[4!:55<'y' > > > > > > > > -Original Message- > > > > From: Programming [mailto:programming-boun...@forums.jsoftware.com] > On > > > Behalf Of robert therriault > > > > Sent: Friday, July 28, 2017 15:15 > > > > To: Programming forum > > > > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 > and > > > j806 > > > > > > > > Greetings everyone, > > > > > > > > I have just completed uploading a new addon that I have named Jig. It > > > takes the standard J text display and upgrades it to an interactive SVG > > > display that allows quick access to type and shape and a host of other > > > information about the results of J sentences. > > > > > > > > I have posted a short video (1 minute) demo here: > > > https://youtu.be/dK1y_V07214 > > > > > > > > Once you have updated using Package Manager you should be able to run > > it. > > > > > > > > There is also a lab in the 'debug' category that will check that your > > > system is running the full version of the QT ide required for web > > displays > > > like Jig. > > > > > > > > I find it most useful when I have assigned a function key to it as > > > described in the second last chapter of the lab. Just make sure that > > > assigning the function key does not put you in conflict with any start > up > > > scripts that you may be running. > > > > > > > > This is my first addon so I hope that I have not made too big a mess > of > > > things and I look forward to your feedback. > > > > > > > > Cheers, bob > > > > > > > > > > > > > > > > > -- > > > > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Thanks I'm still in the middle of the lab, so might be overlooking some set-up possibilities, but the following early remarks might be useful to you (Bob): JVERSION Engine: j806/j64avx/windows Beta-4: commercial/2017-06-27T12:46:20 Library: 8.06.03 Qt IDE: 1.5.3/5.6.2 Platform: Win 64 Installer: J806 install InstallPath: c:/d/j806 Contact: www.jsoftware.com The machine is a LENOVO laptop, Z50, with an AMD A10 processor. 0) " When the Jig windows are no longer needed, close them by clicking on the red dot in the upper left corner of the message box." I don't see any red dot, although clicking in the usual place closes the window easily enough. 1) The window is resizable - fine. But if I do enlarge the window, the interior box displaying the material is NOT resized; it typically has vertical and horizontal sliders shown, respectively at the top and the left of their tracks. 2) The displayed is not "centred" in that box; for example, with v ,. 1;2;3j4;409808e21;409807987979797806576578x;6r13247 all 6 boxed rows ARE shown, but they are masked on the right hand side by the vertical border of the box; sliding the horizontal slider to the right does reveal the 6 boxes fully; 3) However, with that example, using either available font, the longest string, "409807987979797806576578" , does not sit properly in its box. The rightmost "8" intersects the vertical bar of the box. All known "features" perhaps, and they've possibly been mentioned in other correspondence. It's very promising, thanks, Mike On 28/07/2017 21:15, robert therriault wrote: Greetings everyone, I have just completed uploading a new addon that I have named Jig. It takes the standard J text display and upgrades it to an interactive SVG display that allows quick access to type and shape and a host of other information about the results of J sentences. I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 Once you have updated using Package Manager you should be able to run it. There is also a lab in the 'debug' category that will check that your system is running the full version of the QT ide required for web displays like Jig. I find it most useful when I have assigned a function key to it as described in the second last chapter of the lab. Just make sure that assigning the function key does not put you in conflict with any start up scripts that you may be running. This is my first addon so I hope that I have not made too big a mess of things and I look forward to your feedback. Cheers, bob -- For information about J forums see http://www.jsoftware.com/forums.htm --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
No, the brief answer is that Jsoftware does not believe that unicode identifiers are a good addition to the language. While it's certainly possible for such identifiers to become confusing if exotic characters are used, they are supported in Unbox (https://github.com/iocane/unbox, a fork of J which is no longer maintained) and I have used them effectively for typing up LaTeX documents using standard symbols for mathematical constants and functions. Unicode identifiers, if added, would join the long list of features that can be misused to create confusing code. But there are many sensible uses for them, and it's easy enough for organizations which don't want to use unicode to disallow it in their source files. Marshall On Fri, Jul 28, 2017 at 07:21:02PM -0400, Raul Miller wrote: > On Fri, Jul 28, 2017 at 6:55 PM, Jimmy Gauvinwrote: > > 2) @ "Those who know J innards" : how hard would it be to add unicode as > > valid characters for identifiers? > > You can find discussions on the subject using forum search (from > jsoftware.com forums), but the brief answer is that there's no good > way to do this. > > Just reading the full unicode specs is beyond the abilities of most > people, but ... for example: there's good reasons why most people do > not know how to type most unicode characters. > > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
> Perhaps also worth wondering why we're using english, from before we were born, to communicate about supposedly advanced topics... Yup, some things are so darn' good there jest ain't no improvin' on them. Whether that goes for the venerable tty, I wonder. It seems only yesterday I got my first tty (actually a Telex machine). Only the day before I'd been delivering boxes of punched cards across London by taxi. Now I could type to a computer in Belgium and have the answer inside a minute… can you imagine anything better than that? Well… 50 years on, I guess I can. For a start, the tty went paperless… Apart from that, did anything happen? I'd say yes: a lot. Which things were good and which weren't is something we could usefully debate. Because it would point the way ahead for the "Term" window. Re "crex", I hesitate to offer the code. It's a rat's-nest, and only a marginal improvement on (5!:5)… require 'format/zulu' zux alpha bravo charlie zuf alpha bravo charlie 5!:5<'zux' 3 7$'alpha bravo charlie' The trouble with (5!:5) is… 5!:5<'zuf' 97 108 112 104 97 10 98 114 97 118 111 10 99 104 97 114 108 105 101{a. Just getting it to print out 'LF' for (10{a.) reaps 80% of the benefit in practice… crex zuf 'alpha',LF,'bravo',LF,'charlie' Oh well, here goes… crex 3 : 0 0 crex y : NB. printable lit repn of (string)noun y NB. y is VALUE. For cr-replacement use: crx NB. x-:1 reveals diagnostics otherwise hidden if. ((1 e. $) +. (0 e. $))y do. 5!:5 <'y' return. NB. use built-in conversion instead end. require 'strings' NB. for: rplc NB. Ancillary nouns: 'QT CM'=. 39 44{a. NB. Ancillary verbs: paren=. 1 |. ')(' , ": q1=. QT , QT ,~ [: ": > NB. Build representation: z z=. y rplc QT ; QT,QT z=. q1 z rplc CRLF ; (q1',CRLF,') ; CR ; (q1',CR,') ; LF ; (q1',LF,') ; TAB ; (q1',TAB,') NB. catch remaining non-print chars in: y for_c. ~. y -. 32}. 127{. a. do. z=. z rplc c ; q1 CM, CM,~ paren (":a. i. c),'{a.' end. NB. eliminate: '',* *,'' *,'',* z=. z rplc (CM,QT,QT,CM) ; CM if. (3{.z)-:QT,QT,CM do. z=. 3}.z end. if. (_3{.z)-:CM,QT,QT do. z=. _3}.z end. NB. specify ravel for vec len: 1 if. ($y)-:(,1) do. z=. CM,z end. try. assert y -: ".z NB. Does it convert back again? catch. if. x do. smoutput '>>> crex: BAD lit repn of noun:' smoutput z smoutput '>>> crex: --using instead: 5!:5 <''y''' end. z=. 5!:5 <'y' NB. Reject "cut" interpretation of boxed list if. '<;._1' -: 5{.z do. NB. smoutput '>>> redoing: ',z 4}. crex (<'~'),y return. end. z return. end. z ) Haven't looked at the code in years. Must have written it when I was first learning J. On Sat, Jul 29, 2017 at 12:21 AM, Raul Millerwrote: > On Fri, Jul 28, 2017 at 6:55 PM, Jimmy Gauvin > wrote: > > 2) @ "Those who know J innards" : how hard would it be to add unicode as > > valid characters for identifiers? > > You can find discussions on the subject using forum search (from > jsoftware.com forums), but the brief answer is that there's no good > way to do this. > > Just reading the full unicode specs is beyond the abilities of most > people, but ... for example: there's good reasons why most people do > not know how to type most unicode characters. > > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
On Fri, Jul 28, 2017 at 6:55 PM, Jimmy Gauvinwrote: > 2) @ "Those who know J innards" : how hard would it be to add unicode as > valid characters for identifiers? You can find discussions on the subject using forum search (from jsoftware.com forums), but the brief answer is that there's no good way to do this. Just reading the full unicode specs is beyond the abilities of most people, but ... for example: there's good reasons why most people do not know how to type most unicode characters. Thanks, -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
@ Robert : Great add-on ! Can I add a wishlist for Christmas? 1) Could this be combined with the Dissect add-on ? http://code.jsoftware.com/wiki/Vocabulary/Dissect 2) @ "Those who know J innards" : how hard would it be to add unicode as valid characters for identifiers? Permitting things like √ =: %: (if the character before =: doesn't appear correctly in your browser, it's the square root symbol http://www.fileformat.info/info/unicode/char/221a/index.htm) On Fri, Jul 28, 2017 at 6:16 PM, Ian Clarkwrote: > Great concept, Bob. > > Just watching your YouTube makes me wonder why we persist in using a tty > paradigm from the 1960s for conversational use of J – which we like to > think of as an advanced language. Perhaps we just like playing Mastermind > with ourselves when we play with J? It shows us how smart we are. :-P > > It's no longer true that all this good stuff is too expensive to compute > for every line of input. Every line of operational code, maybe. But far > more than the basic "tty" paradigm comes for free with Mathematica – and > has done for the last 20 years. Where've we been all that time? > > Actually you've beaten me to it. But I guess I will still complete my toy > "tty++", because I think it will help to have the session window > immediately display the missing information you correctly identify, without > the user needing to go asking for it. > > I find myself using my "crex" utility so often I'd like my session manager > to routinely crex every phrase I enter. You might consider adding crex to > Jig, or something like it. Example: > >z > This is a line of text. > This is another. > >zz > This is a line of text. > This is another. > >zzz > This is a line of text. > This is another. > >crex z > 'This is a line of text.',LF,'This is another.',LF >crex zz > 3 23$'This is a line of text.This is another. > ' >crex zzz > 3 25$'This is a line of text. This is another. > ' > > On Fri, Jul 28, 2017 at 10:40 PM, robert therriault > > wrote: > > > Whoops, I left my test file hooked up. I have updated and it should run > > now, when it has been updated through the package manager. > > > > Thanks Tom, I really appreciate the heads up on that one. > > > > Cheers, bob > > > > > On Jul 28, 2017, at 1:55 PM, Tom Arneson wrote: > > > > > > Bob, When I tried jig, I got the following error. > > > > > > load'debug/jig' > > > not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/ > run.ijs > > > |file name error: script > > > | 0!:0 y[4!:55<'y' > > > > > > -Original Message- > > > From: Programming [mailto:programming-boun...@forums.jsoftware.com] On > > Behalf Of robert therriault > > > Sent: Friday, July 28, 2017 15:15 > > > To: Programming forum > > > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and > > j806 > > > > > > Greetings everyone, > > > > > > I have just completed uploading a new addon that I have named Jig. It > > takes the standard J text display and upgrades it to an interactive SVG > > display that allows quick access to type and shape and a host of other > > information about the results of J sentences. > > > > > > I have posted a short video (1 minute) demo here: > > https://youtu.be/dK1y_V07214 > > > > > > Once you have updated using Package Manager you should be able to run > it. > > > > > > There is also a lab in the 'debug' category that will check that your > > system is running the full version of the QT ide required for web > displays > > like Jig. > > > > > > I find it most useful when I have assigned a function key to it as > > described in the second last chapter of the lab. Just make sure that > > assigning the function key does not put you in conflict with any start up > > scripts that you may be running. > > > > > > This is my first addon so I hope that I have not made too big a mess of > > things and I look forward to your feedback. > > > > > > Cheers, bob > > > > > > > > > > > > -- > > > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Great concept, Bob. Just watching your YouTube makes me wonder why we persist in using a tty paradigm from the 1960s for conversational use of J – which we like to think of as an advanced language. Perhaps we just like playing Mastermind with ourselves when we play with J? It shows us how smart we are. :-P It's no longer true that all this good stuff is too expensive to compute for every line of input. Every line of operational code, maybe. But far more than the basic "tty" paradigm comes for free with Mathematica – and has done for the last 20 years. Where've we been all that time? Actually you've beaten me to it. But I guess I will still complete my toy "tty++", because I think it will help to have the session window immediately display the missing information you correctly identify, without the user needing to go asking for it. I find myself using my "crex" utility so often I'd like my session manager to routinely crex every phrase I enter. You might consider adding crex to Jig, or something like it. Example: z This is a line of text. This is another. zz This is a line of text. This is another. zzz This is a line of text. This is another. crex z 'This is a line of text.',LF,'This is another.',LF crex zz 3 23$'This is a line of text.This is another. ' crex zzz 3 25$'This is a line of text. This is another. ' On Fri, Jul 28, 2017 at 10:40 PM, robert therriaultwrote: > Whoops, I left my test file hooked up. I have updated and it should run > now, when it has been updated through the package manager. > > Thanks Tom, I really appreciate the heads up on that one. > > Cheers, bob > > > On Jul 28, 2017, at 1:55 PM, Tom Arneson wrote: > > > > Bob, When I tried jig, I got the following error. > > > > load'debug/jig' > > not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/run.ijs > > |file name error: script > > | 0!:0 y[4!:55<'y' > > > > -Original Message- > > From: Programming [mailto:programming-boun...@forums.jsoftware.com] On > Behalf Of robert therriault > > Sent: Friday, July 28, 2017 15:15 > > To: Programming forum > > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and > j806 > > > > Greetings everyone, > > > > I have just completed uploading a new addon that I have named Jig. It > takes the standard J text display and upgrades it to an interactive SVG > display that allows quick access to type and shape and a host of other > information about the results of J sentences. > > > > I have posted a short video (1 minute) demo here: > https://youtu.be/dK1y_V07214 > > > > Once you have updated using Package Manager you should be able to run it. > > > > There is also a lab in the 'debug' category that will check that your > system is running the full version of the QT ide required for web displays > like Jig. > > > > I find it most useful when I have assigned a function key to it as > described in the second last chapter of the lab. Just make sure that > assigning the function key does not put you in conflict with any start up > scripts that you may be running. > > > > This is my first addon so I hope that I have not made too big a mess of > things and I look forward to your feedback. > > > > Cheers, bob > > > > > > > > -- > > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Whoops, I left my test file hooked up. I have updated and it should run now, when it has been updated through the package manager. Thanks Tom, I really appreciate the heads up on that one. Cheers, bob > On Jul 28, 2017, at 1:55 PM, Tom Arnesonwrote: > > Bob, When I tried jig, I got the following error. > > load'debug/jig' > not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/run.ijs > |file name error: script > | 0!:0 y[4!:55<'y' > > -Original Message- > From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf > Of robert therriault > Sent: Friday, July 28, 2017 15:15 > To: Programming forum > Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 > > Greetings everyone, > > I have just completed uploading a new addon that I have named Jig. It takes > the standard J text display and upgrades it to an interactive SVG display > that allows quick access to type and shape and a host of other information > about the results of J sentences. > > I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 > > Once you have updated using Package Manager you should be able to run it. > > There is also a lab in the 'debug' category that will check that your system > is running the full version of the QT ide required for web displays like Jig. > > I find it most useful when I have assigned a function key to it as described > in the second last chapter of the lab. Just make sure that assigning the > function key does not put you in conflict with any start up scripts that you > may be running. > > This is my first addon so I hope that I have not made too big a mess of > things and I look forward to your feedback. > > Cheers, bob > > > > -- > 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: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
Bob, When I tried jig, I got the following error. load'debug/jig' not found: C:/users/bobtherriault/j64-806-user/projects/enhanced/run.ijs |file name error: script | 0!:0 y[4!:55<'y' -Original Message- From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of robert therriault Sent: Friday, July 28, 2017 15:15 To: Programming forumSubject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806 Greetings everyone, I have just completed uploading a new addon that I have named Jig. It takes the standard J text display and upgrades it to an interactive SVG display that allows quick access to type and shape and a host of other information about the results of J sentences. I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 Once you have updated using Package Manager you should be able to run it. There is also a lab in the 'debug' category that will check that your system is running the full version of the QT ide required for web displays like Jig. I find it most useful when I have assigned a function key to it as described in the second last chapter of the lab. Just make sure that assigning the function key does not put you in conflict with any start up scripts that you may be running. This is my first addon so I hope that I have not made too big a mess of things and I look forward to your feedback. Cheers, bob -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jprogramming] Jig - an augmented display for jqt in j805 and j806
Greetings everyone, I have just completed uploading a new addon that I have named Jig. It takes the standard J text display and upgrades it to an interactive SVG display that allows quick access to type and shape and a host of other information about the results of J sentences. I have posted a short video (1 minute) demo here: https://youtu.be/dK1y_V07214 Once you have updated using Package Manager you should be able to run it. There is also a lab in the 'debug' category that will check that your system is running the full version of the QT ide required for web displays like Jig. I find it most useful when I have assigned a function key to it as described in the second last chapter of the lab. Just make sure that assigning the function key does not put you in conflict with any start up scripts that you may be running. This is my first addon so I hope that I have not made too big a mess of things and I look forward to your feedback. Cheers, bob -- For information about J forums see http://www.jsoftware.com/forums.htm