The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
Mar 12, 2021 17:03
@Adám Oh, thanks! I didn't realise that it was better implemented as ⍸
Mar 12, 2021 17:00
@Adám Not quite - that finds the index on each row; I wanted to get the row information as well (as well as any higher coordinates)
Mar 12, 2021 16:56
Hello - in j (or apl, if it's not a builtin and I can try translating) is there an idiom for the coordinates of a boolean in a matrix? i.e. if I have (0 1 0;1 0 0; 0 0 0) I want to get (0 1;1 0) as a result
Mar 2, 2021 09:37
@Adám github.com/icendoan/aoc is my motley collection of AoC solutions
Mar 2, 2021 09:31
No - I got caught up working/the problems became harder than I could solve in time and had to abandon ship. I did the first couple of weeks, and then ran into performance troubles and switched to rust, which I know better. Outside of December there isn't much motivation to fix them up
Mar 2, 2021 09:28
@Adám Oh hello! Yes; I'm more familiar with k, but I enjoyed using apl for the advent of code last year.