Re: [Jprogramming] Difference between jqt and JHS

2017-04-16 Thread David Mitchell
Linda, I have found that the newer version of Outlook can often put incoming messages in the Clutter and Junk Email folders. I have recently located missing incoming messages that I had been looking for in those folders. David Mitchell On 4/15/2017 21:38, Linda A Alvord wrote: Thanks for y

Re: [Jprogramming] Dictionary with Strings as Keys

2017-04-16 Thread Ian Clark
Raul is right: there's no native concept of a "dictionary" in J. But dictionaries, as you see them used in Python & Swift, are alive and well in J. They are employed by the J system itself for just the same purposes as Apple does. (Xcode users: I'm referring to NSDictionary and Property Lists (.pl

Re: [Jprogramming] Difference between jqt and JHS

2017-04-16 Thread Björn Helgason
Could be interesting to run a verbin qt and get the jhs results in a browser. Especially table. On 16 Apr 2017 01:05, "Linda A Alvord" wrote: > I took an example from one of Cliff's lab. It works in jqt, but wd is not > available in JHS so it will not work there. > > > > load '~addons/graphics

Re: [Jprogramming] Dictionary with Strings as Keys

2017-04-16 Thread Herbert Weissenbaeck // Privat
Thank you, Ian. Most helpful. > On 16 Apr 2017, at 12:36, Ian Clark wrote: > > Raul is right: there's no native concept of a "dictionary" in J. > > But dictionaries, as you see them used in Python & Swift, are alive and > well in J. They are employed by the J system itself for just the same > p

[Jprogramming] J weirdness #1

2017-04-16 Thread Michael Goodrich
All, In using 'readtable' as defined in the primer I find the following situation: Reading in a square matrix from a file with each row of numbers on a line I always get the 'correct' answer when asking about the shape of the read in data, EXCEPT when the data has only one value per line ie is a

Re: [Jprogramming] J weirdness #1

2017-04-16 Thread Don Guinn
It keeps it in simplest form; however, to force it to a 1 by n array, do: z=:(0 : 0) 1 2 3 4 ) z2=:(0 : 0) 1 2 2 3 3 4 4 5 ) (,@".);._2 z 1 2 3 4 (,@".);._2 z2 1 2 2 3 3 4 4 5 On Sun, Apr 16, 2017 at 12:26 PM, Michael Goodrich < [email protected]> wrote: > All, > > In usin

Re: [Jprogramming] J weirdness #1

2017-04-16 Thread chris burke
Please feel free to ask such questions. This is the purpose of the forum. J does allow 1-column matrices, e.g. i.4 1 0 1 2 3 What is happening in your example is that you are reading in a table of character data, where each row is the character string representing a single number. The functio

Re: [Jprogramming] J weirdness #1

2017-04-16 Thread Don Guinn
Oops! I meant force to n by 1 by using (,@".);._2 z I had shown 1 by n in previous post. On Sun, Apr 16, 2017 at 12:53 PM, chris burke wrote: > Please feel free to ask such questions. This is the purpose of the forum. > > J does allow 1-column matrices, e.g. > >i.4 1 > 0 > 1 > 2 > 3 > > Wh

Re: [Jprogramming] J weirdness #1

2017-04-16 Thread Henry Rich
Focusing on the final question: Why does J not treat a column of numbers as a N by 1 'matrix' ie a vector rather than a list? If you had asked 'Why does readtable not...' I would have answered that it might be a bug in readtable, or that you should have some intermediate verb that would gu

Re: [Jprogramming] J weirdness #1

2017-04-16 Thread Raul Miller
On Sun, Apr 16, 2017 at 2:26 PM, Michael Goodrich wrote: > Why does J not treat a column of numbers as a N by 1 'matrix' ie a vector > rather than a list? From my point of view, J does treat a column of numbers as an N by 1 matrix. But perhaps it is better to go over specific examples (like othe

Re: [Jprogramming] J805 COM Server not registering

2017-04-16 Thread bill lam
I installed vs2017 parallel to vs2013, adding reference failed in both vs2013 and vs107. The situation was very confusing. Some posts over the net said installation of vs2017 break windows path for locating command line programs. I found a workaround is to manually generate the proxy dll for j.dl

Re: [Jprogramming] J805 COM Server not registering

2017-04-16 Thread bill lam
I assume you are using c#. Adding reference in vs is optional, wrapper class can also be written by hand see jdllserverlib.cs in jwiki * http://code.jsoftware.com/wiki/Guides/OLE_Server_for_CSharp include jdllserverlib.cs into your source tab of project. the proxy dll which contains auto generat