Just uploaded an updated version of viewmat which tries to workaround the cache problem. Please test again and report any problems. Thanks.
Чт, 18 сен 2014, Linda Alvord написал(а): > Raul, I'm a great fan of "start over". This is when I discovered there were > ghosts in the closet! Starting over does not rid you of the images that you > just created. They will pop up when you run another script. > > The exciting thing about the beta version is that you can create inages in > JHS as part of a dialog. You create the image as you would using viewmat in > jqt. However, now it does not appear in a little wrapper that you can copy > and paste in paint. Then you save it as a jpg and it is understood in the > "real world" It is ready to be pasted in a Word document. > > In paint, one of the issues is that you must get rid of the image before you > can use it to process another image, similar to the ghosts I am describing. > > Now, however, in JHS, the image acts just like a regular terminal in regard > to images. A=:3 4$i.12 creates a table. With a color palette of colors, > like crayons you can make an image. It appears without the wrapper. It is 3 > rows of 4 columns of color. It appears right under the table of data. This > is great. You can create one image after another happily. The trouble comes > when you capture the sequence in a script. ( or two scripts). Once you use > the first one, it seems to remember some of the images. Now it uses then in > the next script with the wrong data array. > > As a side feature, it is creating a png for each image which is landing in > the temp folder. Now I tried removing all those images and started over > again. However, the old images persist. > > That’s when I went for: > > erase 'A' > > and got a 1. I was happy. However when I ran the bad script again the > images were still mixed up. Thus my concern with the fact that a second use > of (erase 'A') and it seemed strange to get another 1. > > In all the years I have known that there are many verbs defined in locales. > It has never occurred to me that I might want to erase them. However, ie I > use "each" I sometimes erase it from my active terminal, but that is about it > for using erase. It has always seemed odd to me, but it worked well enough > for data arrays so I could live with it. > > I guess that about sums up the answer to your "why question" My earlier post > were in the beta forum but somehow this got into the programming forum. > > Linda > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Raul Miller > Sent: Wednesday, September 17, 2014 11:22 PM > To: Programming forum > Subject: Re: [Jprogramming] OOJ and calling a verb from another locale > > Hmm... > > Usually when I want a clean slate, I start J over again. > > This way, if I need something, that I forgot to put in the script, I > can pull it out of the old J. And then I can shut it down when myi. > tests are working well enough. > > This works better with jqt than with jhs. > > And you are right - I doubt many children would find interesting most > of the things I play with. Actually, that's probably true of most > people. > > Thanks, > > -- > Raul > > On Wed, Sep 17, 2014 at 10:59 PM, Linda Alvord <[email protected]> > wrote: > > Raul, My way of thinking about J is as a form of dialog. As I enter I use > > varialble on the fly. A=: allows me to use A until I change it's value. > > However often I just want to get rid of it. Often I keep scripts of the > > sentences I am using to develop an idea. When I am ready to use the scrip > > entirely I erase all names that I have used and get a bunch of ones. I > > assume that it has erased all the names I have used. However in this > > insance, as in most I have no interest in other locales. And have never seen > > a need to erase them anyway. > > > > So I have assigned names to images or in some cases have not assigned names > > to them. What is happening is that If I use a C in one script and then a C > > in another script I don't get the image that agrees with the new data in the > > new script. > > > > In my simplistic way of thinking about the old image is that it must be on a > > clipboard somewhere. If running a new script could get rid of the old images > > that are hidden somewhere? > > > > I can see many ways for young children to make an study images that will > > teach them many things about tables and arrays. However, the suggestions > > about cache and some of your suggestions would be stumbling blocks to > > simplicidty. > > > > I may be naïve but it seems like a housekeeping chore that J could be good > > at. > > > > Linda > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Raul Miller > > Sent: Wednesday, September 17, 2014 2:01 PM > > To: Programming forum > > Subject: Re: [Jprogramming] OOJ and calling a verb from another locale > > > > Reading that article, I stall when you say > > > > "Even if they are defined with 1 : or 2 : , the first 2 types of > > modifiers should be considered tacit," > > > > I do not know what you are referring to by the phrase "the first 2 > > types of modifiers". Do you mean "the first 2 types of adverbs (or > > conjunctions)" or are you referring to nounconj and nounconj2? If the > > latter, I think the statement is erroneous. If the former, I'm a bit > > dubious about the distinction. > > > > The concept of tacit is slippery enough that it's probably worth > > quoting the definition you are using, and describing what it is about > > the context that makes "tacit" a relevant concept whenever we talk > > about it. > > > > Anyways, I got stuck there, and I thought you should know. > > > > Thanks, > > > > -- > > Raul > > > > On Wed, Sep 17, 2014 at 12:54 PM, 'Pascal Jasmin' via Programming > > <[email protected]> wrote: > >> You may find this article helpful: > > http://www.jsoftware.com/jwiki/PascalJasmin/3%20types%20of%20adverbs%20conju > > nctions%20and%20binding > >> > >> These are indeed issues you understand by surprise (why is this code not > > doing what I meant it to do) comming from other languages. > >> > >> > >> ----- Original Message ----- > >> From: Brian Schott <[email protected]> > >> To: Programming forum <[email protected]> > >> Cc: > >> Sent: Wednesday, September 17, 2014 12:05 PM > >> Subject: Re: [Jprogramming] OOJ and calling a verb from another locale > >> > >> Pascal, > >> > >> I especially liked the point you made below. I think such a point would be > >> very appreciated by new J programmers and may not be well known. > >> > >> > >> > >> > >> "... In J, the verb (2 + myvar"_) will produce a constant verb based on > >> the value of myvar at definition, while (2 + 3 : 'myvar') will obtain the > >> latest value of myvar. ..." > >> > >> > >> > >> > >> -- > >> (B=) > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
