Is: '/Users/avi/Downloads/aplcart-AviFS-tsv' the right format? I know last time the issues were with weird file formats demanded by APL, but I don't remember the alternatives...
@matt So / is not just notation, but actually a higher-order function. APLers call such higher-order functions operators. This one (as you know) takes a function on its left and reduces the array on the right with that function.
one of my biggest stumbling blocks with APLCart is a personal problem, I have trouble recognizing that the solution description describes what I am searching for
@matt Note also the parenthesis. This is because, as you've seen, APL lists (we like to call them vectors) are formed by simple juxtaposition (1 2 3) so here we have to separate 3 and 10 so that the ⍣ operator can "grab" 3 and leave 10 as the proper argument.
@ab5tract It is hard to describe things in a general enough manner and still have it be recognised. Sometimes I duplicate entries because of that, so I can have two descriptions.
@matt A really useful operator (but one that should be used with care) is ¨ which takes a function on its left only (we call that a monadic operator) and applies the function to each element of the argument or pairs up the elements of the arguments.
There's one special operator that is very useful. We call it outer product, and it is spelled ∘.f where f is any function. It simply applies f between all combinations of arguments (rather than pairing them up), and places the results in an appropriate table. For example, a multiplication table:
How about if it had to just concatenate them in their current positions, i.e. a user-defined function equivalent to ,? (Hint: you are allowed to use ,)
@Adám If it's ever longer, than you want to put here. @dzaima made a great APL (and BQN) paste bin with syntax highlighting and some basic customization!
@Adám Of course you are. I'm so sorry; what kind of narcissistic prick are you taking me for? 😂 That was for @matt, but responding to your message re: alternatives
@Adám True, even better! Although I did the stream of 9s because @matt did that to me, so insider-ish-thing-ish, haha
@Adám What an idiot! I sent the message but then I lost wifi and it didn't go through. So before refreshing the page, I copied the message so I wouldn't lose it
Then I pasted it without looking at it. That's quite amusing!
Note to self: I'm noticing more and more each second how terrible texting is for conveying humor, and the dangers of self-deprecating humor over text. For instance, there's no reason 'What an idiot!' shouldn't be read as being targeted to you. Especially since it immediately succeeds an '@Adam' tag. This just gets worse and worse...
I'm going to end up seriously offending someone one of these days ⍨
@matt Yes. I assume you wrote ∘.,⍨ but being that these operators in general take what's on their left as operand. ⍨ sees ∘., as it's operand, while you just want it to swap the arguments of ,
> “Hell” isn't a “swear word” but it was considered not something you should speak of, like the old saying “speak of the devil and he will appear”, which is sort of a weird thing to say, for if it were true, you just invoked the devil. Hell is a sort of swear word to some of us.
@Adám I like the way how the main page links to /quiz and how the /quiz page links back to the first and I can see you fixed the issue I pointed to earlier.
I also see you have underlined some letters to hint at keyboard shortcuts to reveal the solution/get the next task; how do I trigger those? I'm pretty sure the /quiz page is in focus; I tried S, CTRL-S, SHIFT-S, ALT-S.
Would also like to point out that changing theme and then navigating to the page I am not at resets the theme; in a perfect world it wouldn't. Is this difficult to "fix"?