The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
Dec 14, 2022 09:33
Finally! All that work on TAO paid off.
4
Jun 30, 2022 09:10
⎕←{,⍨⍵,⎕UCS 39}'{,⍨⍵,⎕UCS 39}'
Apr 3, 2019 09:28
@dzaima That's a bug in ↓ in NARS: forum.nars2000.org/prototype-of-1-1-2-3-t623.html
Apr 25, 2018 11:14
"Normal" usage of variables is O(1). There is no run-time searching of stacks or symbol tables or anything like that. Cases that might go slower include:
- referring to a variable via a character vector containing its name, e.g. ⎕NC'foo'. This has to search a symbol table.
- using the same name in different namespaces, e.g. referring to both ns1.foo and ns2.foo. The last namespace a name was seen in is cached; on a cache miss we have to search a symbol table. This also applies to OO-heavy code, which almost inevitably switches into different namespaces all over the place.
Feb 15, 2018 09:08
@H.PWiz Yes when JOT behaves as a DOP it binds the same as any other DOP.
Feb 15, 2018 09:08
@H.PWiz Yes I believe JOT MOP → F is a crude attempt to model the outer product syntax. In Dyalog APL the MOP must be of the form ". something", but NARS2000 has generalised this so that you can use JOT as a generic null operand to any operator.
Feb 1, 2018 14:08
@betseg I've raised a RIDE issue:github.com/Dyalog/ride/issues/321
Feb 1, 2018 13:57
@betseg (You can also leave the working directory box blank if you don't care)
Feb 1, 2018 13:55
@betseg Ah! Interesting. I'm not sure why ~ wouldn't work. It would certainly be nice if it gave you a useful error message.
Feb 1, 2018 13:54
There are more hard links you may be missing. See the entries I've marked with ####:

/opt/mdyalog/16.0/64/unicode$ ls -li aplkeys/ apltrans/ fonts/
aplkeys/:
total 40
3408428 -rw-r--r-- 2 root root 7774 Feb 1 03:00 default ####
3408427 -rw-r--r-- 2 root root 575 Feb 1 03:00 file ####
3408374 -rw-r--r-- 1 root root 6731 Feb 1 03:00 file_siso
3408427 -rw-r--r-- 2 root root 575 Feb 1 03:00 utf8 ####
3408424 -rw-r--r-- 1 root root 8173 Feb 1 03:00 utf8codes
3408428 -rw-r--r-- 2 root root 7774 Feb 1 03:00 xterm ####
Feb 1, 2018 13:36
@betseg Does your mapl script definitely have executable permissions?
Feb 1, 2018 13:36
@betseg If you hit F12 in RIDE after it has failed to start the interpreter, you can get a Javascript console. Are there any useful error messages there?
Feb 1, 2018 13:33
@betseg Does the drop-down box just above that say "v16.0, 64-bit, Unicode" ?
Feb 1, 2018 13:02
@betseg OK, but I think the hard links are a separate problem. Running post-install scripts will not fix them.
Feb 1, 2018 12:55
@betseg Did you use rpm2cpio? If so, I think the problem is that it doesn't preserve hard links. aplkeys/default and apltrans/default should each be a link to the "xterm" file in the same directory.