Re: [Jprogramming] j901-release-e

2020-01-30 Thread ethiejiesa via Programming
Fair enough. Thank you for the clarity. Henry Rich wrote: > My build setup depends on considerations that transcend this > discussion.  Take it as given. > > Henry Rich > > On 1/30/2020 10:43 PM, ethiejiesa via Programming wrote: > > Hrm. That's quite odd. > > > > The workaround is quite easy,

Re: [Jprogramming] What is the best stack for Linux J programming?

2020-01-30 Thread Devon McCormick
What little J under *nix I've done was in emacs which is best for me. On Thu, Jan 30, 2020 at 12:54 PM 'Sergey Kamenev' via Programming < programm...@jsoftware.com> wrote: > 30.01.2020 20:31, Raul Miller: > > "Best" requires context. > > > > I probably use the jqt environment the most, but there

Re: [Jprogramming] How are boolean arrays stored in memory?

2020-01-30 Thread Devon McCormick
There's a simple verb to display the internal representation of a object at the end of the essay on J's internal representation at https://code.jsoftware.com/wiki/User:Devon_McCormick/Data/JInternalRepresentation . On Thu, Jan 30, 2020 at 6:28 PM Raul Miller wrote: > 3!:3 y gives you a hex dump

Re: [Jprogramming] j901-release-e

2020-01-30 Thread Henry Rich
My build setup depends on considerations that transcend this discussion.  Take it as given. Henry Rich On 1/30/2020 10:43 PM, ethiejiesa via Programming wrote: Hrm. That's quite odd. The workaround is quite easy, but any other J package maintainers for linux distributions are likely to run in

Re: [Jprogramming] higher-order function

2020-01-30 Thread Henry Rich
Start with x u c v y where c is an explicit definition. The first execution is (u c v).  This has available the text of c, and the values of u and v. If the text of c does not refer to x or y, it is simply executed on the given u/v and can produce any part of speech. But if the text of c

Re: [Jprogramming] j901-release-e

2020-01-30 Thread ethiejiesa via Programming
Hrm. That's quite odd. The workaround is quite easy, but any other J package maintainers for linux distributions are likely to run into this. Since it seems to have been introduced recently between d and e, ideally, we could find a way to smooth over the quirk that breaks neither your nor path-agn

Re: [Jprogramming] higher-order function

2020-01-30 Thread Devon McCormick
Also, including an offending piece of code usually will make it clearer what the issue is. On Thu, Jan 30, 2020 at 10:05 PM bill lam wrote: > If you are writing adverb and conjunction using explicit > definition, then you are actually defining them using verbs > and a verb must return a noun oth

Re: [Jprogramming] higher-order function

2020-01-30 Thread bill lam
If you are writing adverb and conjunction using explicit definition, then you are actually defining them using verbs and a verb must return a noun otherwise syntax error. I usually debug using dbr 1 but others may prefer gui debug ctrl-k. Fri, 31 Jan 2020, Raoul Schorer написал(а): > Hi, > > I

[Jprogramming] higher-order function

2020-01-30 Thread Raoul Schorer
Hi, I wrote a dyadic conjunction, that I call as: x u conj v y, where x u v y are all nouns However, I get the error "noun result was required". My conjunction actually yields a "suspended function" (thunk) in the form of a string wrapped in the "_ verb, as in ('recursive_function')"_ I have two

Re: [Jprogramming] How are boolean arrays stored in memory?

2020-01-30 Thread Raul Miller
3!:3 y gives you a hex dump of y, including the array header. So, for example, you could inspect a "boolean" array for yourself: 3!:3]1 p: i.99 Or: the "boolean" array type is represented as C bytes. (This is because bits are not addressable and for typical cases the consequence of a packed b

[Jprogramming] How are boolean arrays stored in memory?

2020-01-30 Thread 'Sergey Kamenev' via Programming
Hi! I read https://code.jsoftware.com/wiki/System/ReleaseNotes/J901. It says about improving the performance of Boolean arrays. Is it due to the fact that it is stored in memory as bits, or as bytes, or still as integers? Sergey.

[Jprogramming] J icons

2020-01-30 Thread 'Jim Russell' via Programming
I managed to delete my Jjhs desktop icon from my Mac mini, and failed to recreate it. I finally had to do a complete reinstall of J to recover. Any ideas what MacOS magic I was missing? -- For information about J forums see http:

Re: [Jprogramming] j901-release-e

2020-01-30 Thread Henry Rich
The funny includes are required on the build system I use.  If you put your source under a /jsource directory you will be able to use the files as is. Henry Rich On 1/29/2020 11:47 PM, ethiejiesa via Programming wrote: Compilation on linux breaks for me: ../../../../jsrc/cip.c:6:10: fat

Re: [Jprogramming] What is the best stack for Linux J programming?

2020-01-30 Thread 'Sergey Kamenev' via Programming
30.01.2020 20:31, Raul Miller: "Best" requires context. I probably use the jqt environment the most, but there are some tasks where jhs is just a better interface. But, also, if I'm targeting a unix command line environment, I might be using vi+jconsole I have never used Kate+konsole for j pro

Re: [Jprogramming] What is the best stack for Linux J programming?

2020-01-30 Thread Raul Miller
"Best" requires context. I probably use the jqt environment the most, but there are some tasks where jhs is just a better interface. But, also, if I'm targeting a unix command line environment, I might be using vi+jconsole I have never used Kate+konsole for j programming. FYI, -- Raul On Thu

[Jprogramming] What is the best stack for Linux J programming?

2020-01-30 Thread 'Sergey Kamenev' via Programming
Hi! 1) JQt 2) Kate + konsole 3) your option Sergey. -- For information about J forums see http://www.jsoftware.com/forums.htm