« first day (2017 days earlier)      last day (655 days later) » 

11:50 AM
I just found out that FreeBSD has a reshape (rs) command (and, by extension, MacOS?). The pipeline looks almost like APL :) :
$ jot 20 1  | rs 3 5
1   2   3   4   5
6   7   8   9   10
11  12  13  14  15
 
What is jot then?
 
@Adám Jot primarily generates sequences of numbers, each number being on it's own line.
$ jot 5
1
2
3
4
5
The 1 in my first example is superfluous, a copy-paste laziness from my side.
A couple of examples:
$ jot - 0 100 25
0
25
50
75
100

$ jot -w "letter %c" 10 a
letter a
letter b
letter c
letter d
letter e
letter f
letter g
letter h
letter i
letter j
 
12:10 PM
Basically a fancy
 
@Adám Yes, that's right. The man page says: "The name jot derives in part from iota, a function in APL." It's been in BSD since around 1983, from what I can tell.
 
@BojanPetrović Nice find. Should be added to aplwiki.com/wiki/Index_Generator#Outside_of_APL
 
@Adám Thanks, I should wright something up on the wiki.
*write
 
12:39 PM
That's awesome.
 
1:31 PM
Can confirm it works on a (brand new) mac:
stefan@Stefans-MacBook-Pro-2 ~ % jot 20 1  | rs 3 5
1   2   3   4   5
6   7   8   9   10
11  12  13  14  15
 
One might think this conflates and , but jot is an archaic name for the Hebrew letter that corresponds to the Greek letter iota.
 
It only does rank 2:
stefan@Stefans-MacBook-Pro-2 ~ % jot 8 1  | rs 2 2 2
rs: too many arguments
 
1:57 PM
@Adám In Swedish: jota
 
"an iota" or "to jot down" comes from both iota and and the Hebrew letter yod being the smallest letters.
 
2:21 PM
Does it look like this: י?
Hard to see.
My Hebrew is somewhat lacking.
 
Yes.
 
 
5 hours later…
7:18 PM
Hey all!
Does the bot here also run BQN?
 
no
 
:(.
Thanks anyways.
 
Does anyone have a suggestion for giving someone a browser window in which to run APL? I was looking at this line of code from the Reddit r/apljk group
((N÷⍳N)=(⌊N÷⍳N))/⍳N←⎕
 
tryapl.org; you'll have to replace with the input you want to give though (e.g. ((N÷⍳N)=(⌊N÷⍳N))/⍳N←10), as TryAPL doesn't support taking user input from
 
Yes, I guessed that might be what was meant by "NOT PERMITTED: Illegal token".
I could run it in a limited fashion in plj541.github.io/APL.js - it accepts the quad and asks for input but the expression as a whole fails unless I first assign "N" and run it without the quad.
Playing around with it, I see that the quad input seems to give a literal value as if it were quote-quad input.
 
7:38 PM
@DevonMcC that appears to be based on ngn/apl, and an old version at that; latest (from 2018, ngn's stopped developing it) has evaluating the input, but that appears to require an explicit ⎕← if there's any input-taking ; note that APL implementations are quite different from one another
 
 
2 hours later…
10:02 PM
 

« first day (2017 days earlier)      last day (655 days later) »