« first day (2320 days earlier)      last day (327 days later) » 

7:32 AM
@Adám yet another problem that would benefit from a pair primitive
 
 
2 hours later…
9:41 AM
Is there a better way to check that there aren't consecutive zeros in a matrix (both rows and columns) than this f←(⍉∨⍥(∨/∘,0 0∘⍷)⊢)∘×?
 
 
6 hours later…
3:58 PM
Feel like there should be some nice way with ⍸ and then comparing the co-ordinates but not managing to get anywhere
 
 
4 hours later…
7:36 PM
rm←{((⍵-1)↑⍺),(⍵↓⍺)}
(b rm)¨ 1 2 3
why I can not get 2 3 1 3 1 3 ?
what I want: 1 2 3 => remove 1, => 23
1 2 3 => remove 2, => 1 3
1 2 3 => remove 3, => 1 2
so I should get 2 3 1 3 1 2 ?
b ← 1 2 3
remove 1st, 2nd, 3rd from a given vector 1 2 3
b rm¨ 1 2 3
2 3 0
I expect I get 2 3 1 3 1 2
 
 
1 hour later…
9:07 PM
@1234 you'll need to bind b to rm so b∘rm¨1 2 3 then.
otherwise b rm¨1 2 3 pairs each element together so 1 rm 1, 2 rm 2, 3 rm 3
@1234 this also isn't quite the output you're getting - try doing ]display b rm¨1 2 3 to see the 3 vectors produced
{b rm ⍵}¨1 2 3 would also work
 
9:44 PM
@Adám is ]box disabled on tryapl because of having to send the state?
 
10:42 PM
@Silas ]box isn't disabled as such. There are no commands at all. All the apparent commands are faked.
 

« first day (2320 days earlier)      last day (327 days later) »