Re: [Jprogramming] 806 beta-6 available

2017-09-27 Thread bill lam
Release package zips for raspberry are also available now. These builts are linked with openmp runtime so that it might need to install the libgomp package. eg on debian $ sudo apt-get install libgomp1 On Wed, Sep 27, 2017 at 5:47 AM, Eric Iverson wrote: > Release package zips for Windows/Linux/

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Jose Mario Quintana
Hi Erling, You are right, the adverb (At) produces tacit sentences but it is really an implementation of Dan's pipeline proposal using strand notation via a Curried adverb (aka, recurrent adverb and multiple adverb). However, I have written (tacitly) a tacit Curried adverb (xi) which, using a lam

Re: [Jprogramming] zeromq addon

2017-09-27 Thread 'Pascal Jasmin' via Programming
installing vs2013 did not immediately fix issue, but restarting windows uncovered that avast anti-virus wanted to try to stop jqt, and when I told it not to, jqt unfroze. jcs "help commands" ran ok up to runz__c '' (may have waited less than 9 seconds). Hangs jqt session. on restart and af

Re: [Jprogramming] print an array

2017-09-27 Thread robert therriault
And there is a calendar verb in the standard library that may be able to produce what you want. calendar 2017 4 ┌─┐ │ Apr │ │ Su Mo Tu We Th Fr Sa│ │1│ │ 2 3 4 5 6 7 8│ │ 9 10 11 12 13 14 15│ │ 16 17 18 19 20 21 22│ │ 23 24 25 2

Re: [Jprogramming] print an array

2017-09-27 Thread Roger Hui
If you are making a calendar you may find the following of interest: http://www.jsoftware.com/papers/eem/qq101.htm . It's APL but the ideas translate pretty readily into J. On Wed, Sep 27, 2017 at 8:57 AM, Rudolf Sykora wrote: > Hello, > > I have an array of integers > > 0 0 0 0 0 0 1

Re: [Jprogramming] print an array

2017-09-27 Thread Devon McCormick
Assuming a is a numeric matrix: a=. ":a (a='0')}a,:' ' 1 2 3 4 5 6 7 8 9 1 11 12 13 14 15 16 17 18 19 2 21 22 23 24 25 26 27 28 29 3 31 On Wed, Sep 27, 2017 at 1:44 PM, chris burke wrote: > a=. (a<32) * a=. 0 >. _5 + i.6 7 > > > 'b<>3.0' (8!:2) a

Re: [Jprogramming] zeromq addon

2017-09-27 Thread Eric Iverson
I doubt there is a firewall problem at that stage. The code is just trying to establish the instance data and is failing because of a mismatch with mscr runtime. On Wed, Sep 27, 2017 at 6:21 PM, bill lam wrote: > Is it firewall related? > > On Sep 28, 2017 4:49 AM, "'Pascal Jasmin' via Programmi

Re: [Jprogramming] zeromq addon

2017-09-27 Thread bill lam
Is it firewall related? On Sep 28, 2017 4:49 AM, "'Pascal Jasmin' via Programming" < programm...@jsoftware.com> wrote: version_jzmq_'' 4 0 4 though, all of the programs (exes) in zeromq's install folder fail complaining msvcr100.dll is missing. (new computer... I think this is vc++ 2010 redistri

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Tacit programming, wikipedia. https://en.wikipedia.org/wiki/Tacit_programming /Erling On 2017-09-27 13:34, Erling Hellenäs wrote: "A tacit expression is a sequence of J operations, which can be separated from its arguments." http://code.jsoftware.com/wiki/Essays/Tacit_Expressions *Tacit Defini

Re: [Jprogramming] zeromq addon

2017-09-27 Thread Eric Iverson
Pascal, Interesting. You are on the right track. That is, you need the right mscrxxx.dll for your system. Look at lib_jzmq_ and you will see that it has hard wired: "c:/program files/zeromq 4.0.4/bin/libzmq-v120-mt-4_0_4.dll" There are probably other dll files in the "zeromq 4.0.4" folder built w

Re: [Jprogramming] zeromq addon

2017-09-27 Thread 'Pascal Jasmin' via Programming
version_jzmq_'' 4 0 4 though, all of the programs (exes) in zeromq's install folder fail complaining msvcr100.dll is missing. (new computer... I think this is vc++ 2010 redistributable), but hang/stall still persists after I installed this. Do I perhaps need vc++ 2013 to match the 120 version?

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! I think that as long as you don't use any mutable variables, what Henry want's to do might be very similar to what I'm asking for. It even has some functionality which is an improvement compared to tacit expressions and which still is within the bounds you try to stay within in modern

Re: [Jprogramming] 806 beta-6 avx versions

2017-09-27 Thread John Baker
The SHA foreign 128!:6 is appreciated. They seem to work as advertised on Win64 setups. This will eliminate the nuisance of tempering where the SHA routines are on various OSS. Sent from my iPhone > On Sep 27, 2017, at 9:36 AM, Eric Iverson wrote: > > Zip packages have been fixed to include t

Re: [Jprogramming] zeromq addon

2017-09-27 Thread Eric Iverson
We are still working on the announcement and some fine tuning. net/jcs is a related addon that builds on top of zmq. net/jcs/jcs_lab.ijs is a lab for jcs. jcs/zmq will be used in Jd to provide high-performance server. most people should wait a bit for the announcement :) *I** Not immediately o

[Jprogramming] zeromq addon

2017-09-27 Thread 'Pascal Jasmin' via Programming
this addon is very welcome, but the command, ctx_new_jzmq_ '' returns a pointer but hangs the j session (0% cpu use) on windows 10. is there an example program/session? -- For information about J forums see http://www.jsoftware.c

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! I think the main difference between explicit J and tacit expressions is that these do not have mutable state and I think they have no or rarely have side effects. Since you can't pass functions as results in runtime tacit expressions are not really functional, as I see it. They could

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! My request is only an equivalent to tacit J, but with right to left execution modified by parenthesis like in explicit J. I can't really do this investigation, but it was very interesting to see this paper. Fantastic how these expressions have evolved from the little FIX editor Ken

Re: [Jprogramming] print an array

2017-09-27 Thread chris burke
a=. (a<32) * a=. 0 >. _5 + i.6 7 'b<>3.0' (8!:2) a 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 On Wed, Sep 27, 2017 at 10:13 AM, 'Mike Day' via Programming < programm...@jsoftware.com> wrote: > Assuming a

Re: [Jprogramming] print an array

2017-09-27 Thread 'Mike Day' via Programming
Assuming a is an integer array, not character, how about:    ($$rplc & (' 0';'  ')) @: ": a    1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 ? (Leading zeros should only appear for zero itself). Though isn't there a print/format fun

Re: [Jprogramming] 806 beta-6 available

2017-09-27 Thread 'Pascal Jasmin' via Programming
performance on ryzen 1600x is much faster when cores not busy on something else, 5 timespacex '_3&(128!:6)&":"0 i.1'0.00591519 658560 5 timespacex '3&(128!:6)&":"0 i.1'0.00655284 1.1831e6 From: 'Pascal Jasmin' via Programming To: "programm...@jsoftware.com" Sent: Tuesday, Septe

Re: [Jprogramming] print an array

2017-09-27 Thread Brian Schott
a =: 0 : 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 0 0 0 0 0 ) $b =: ".;._2 a 6 7 >,each ;/(3&":`(' '"_))@.(0=])"0"1 b 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Marc Simpson
Great. Erling, how does your proposal differ from the above (glossing over specifics like using [, ] etc.)? On Wed, Sep 27, 2017 at 9:06 AM, Henry Rich wrote: > You have my proposal right. It is like d-fns. There is no new added > functionality - in fact there can't be, because every (. ). fun

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Henry Rich
You have my proposal right.  It is like d-fns.  There is no new added functionality - in fact there can't be, because every (. ). function is converted to an explicit definition. The benefit is ease of creating explicit entities, even if they are anonymous, multiline, or nested within other en

[Jprogramming] print an array

2017-09-27 Thread Rudolf Sykora
Hello, I have an array of integers 0 0 0 0 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 0 0 0 0 0 and I want to have it printed (to a string, say) without the zeros. I.e, I want to replace each isolated 0 with a space. How can I do i

[Jprogramming] 806 beta-6 avx versions

2017-09-27 Thread Eric Iverson
Zip packages have been fixed to include the proper avx binaries where appropriate. -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Marc Simpson
Simple question (avoiding the tacit-v, tacit-t etc. terminology so that we're all on the same page): Are you essentially proposing something akin to Dyalog's d-fns? See, for example, https://www.dyalog.com/uploads/documents/Papers/dfns.pdf. (We don't have lexical scope in J, so the comparison isn't

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
It's hard to understand what could possibly remain to explain. Well, lets see if something more happens in the discussion. I'll give up on the second and third question. /Erling On 2017-09-27 16:23, Henry Rich wrote: I am sorry, but I have not been able to make sense of the last several messag

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Henry Rich
I am sorry, but I have not been able to make sense of the last several messages.  JWithATwist is outside my area of interest.  If you can describe this idea fairly precisely, and explain why it should be implemented, I will try to understand it. To me, yes, what you can do with a language is t

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
So it would be relevant to discuss this request in terms of programmer productivity? Any opinions? /Erling? On 2017-09-27 16:01, Don Guinn wrote: If you want the most powerful programming language it has to be assembly. It can do everything that every other programming language can do and so mu

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Don Guinn
If you want the most powerful programming language it has to be assembly. It can do everything that every other programming language can do and so much more. But what is the purpose of languages like J and C++? They are to make people more productive, not computers. On Sep 27, 2017 7:34 AM, "Erlin

Re: [Jprogramming] 806 beta-6 available

2017-09-27 Thread Eric Iverson
We messed it up yet again. All the 64 packages are without avx. One part of the automated process was out of step with another. Will let you know when you can try again. On Tue, Sep 26, 2017 at 11:56 PM, Xiao-Yong Jin wrote: > No avx again? > >JVERSION > Engine: j806/j64/darwin > Beta-6: com

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! See comments below. There are still two unanswered questions. You are not required to answer them, of course. Cheers, Erling Hellenäs On 2017-09-27 13:36, Henry Rich wrote: The syntax is that of explicit J but missing some things, like control words and assignment, and perhaps the

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread 'Pascal Jasmin' via Programming
jpp is J with (major feature) syntax sugar to simplify dsls/extensions with a preparser similar to (. ). sparked re-discussion. Any extension is (most) easily created by defining an adverb that is passed quoted text. Multiline definitions is one way to simplify quoting (with one level of embed

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Henry Rich
The syntax is that of explicit J but missing some things, like control words and assignment, and perhaps the ability to write multiline expressions.  If it produces tacit J, it's also not going to be able to define modifiers. I just don't see that having a new way to write tacit verbs is a cha

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
"A tacit expression is a sequence of J operations, which can be separated from its arguments." http://code.jsoftware.com/wiki/Essays/Tacit_Expressions *Tacit Definition* Thedefinition of atacit verb

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! Here is a related blog post: https://erlhelinfotech.wordpress.com/2016/08/01/jwithatwist-or-tacit-j/ Cheers, Erling On 2017-09-27 12:25, Erling Hellenäs wrote: Hi all ! See comments below. Henry, you answered one of three questions. Cheers, Erling On 2017-09-27 11:09, Henry Rich

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! See comments below. Henry, you answered one of three questions. Cheers, Erling On 2017-09-27 11:09, Henry Rich wrote: I have trouble contributing to this because I don't understand your proposal as written.  One thing I don't understand is why you call your new verbs 'tacit'.  It ap

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all! I am not sure I understood this fully, but I understand that I could create a parser in J so that I could write explicit J code and get a tacit result. I just want it included in the J language. As we can see here, Jpp addresses another tacit J problem with the 'double/multi adverbs' e

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! Pascal, I will come back to your post later. Here is a little compiler written in Jx and compiling, as I understand it, tacit code with explicit J syntax into tacit J. I did not test it, I just read the post. http://www.jsoftware.com/pipermail/programming/2017-August/048143.html The

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Henry Rich
I have trouble contributing to this because I don't understand your proposal as written.  One thing I don't understand is why you call your new verbs 'tacit'.  It appeared to me that they used ] and [ as tokens indicating the input arguments.  That would make them explicit, by the definition of

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all! It seems like fast function definitions is only for creating explicit J verbs, adverbs and conjunctions? This means it is only vaguely related to my proposal of tacit verbs with explicit J syntax? Maybe the fast function definition discussion should therefore have it's own thread?

Re: [Jprogramming] Tacit Expressions with Explicit J Syntax

2017-09-27 Thread Erling Hellenäs
Hi all ! Eric, since we link the request in this discussion, can I move it when the discussion is over? There is a blog at https://erlhelinfotech.wordpress.com/ and a twitter account at https://twitter.com/erlheldata where this is also discussed. If we did not care to block the possibility of

Re: [Jprogramming] Compatibility report + some comparisons

2017-09-27 Thread Joey K Tuttle
Yep. Sent from my iPhone > On Sep 27, 2017, at 00:10, bill lam wrote: > > So an iPhone 8+ (with A11?) is as fast as a MacBook pro with core i5? > > >> On Sep 27, 2017 2:11 PM, "Joey K Tuttle" wrote: >> >> >> >>> On 2017Sep 16, at 20:50, Joey K Tuttle wrote: >>> >>> Not surprising, but

Re: [Jprogramming] Compatibility report + some comparisons

2017-09-27 Thread bill lam
So an iPhone 8+ (with A11?) is as fast as a MacBook pro with core i5? On Sep 27, 2017 2:11 PM, "Joey K Tuttle" wrote: > > > > On 2017Sep 16, at 20:50, Joey K Tuttle wrote: > > > > Not surprising, but jconsole, and jqt work just fine in OS X 10.13 (High > Sierra). > > > > Also reporting good ne