« first day (1886 days earlier)      last day (1065 days later) » 

04:00
@xpqz is that all of the phase 1 problems from 2013-2021? cool
att
att
04:49
ok I've finally started learning APL thanks to the competition
Managed to finish phase 1 but it still feels like a struggle
 
2 hours later…
06:46
@att If you managed to finish phase 1 you’re off to a good start.
07:19
@att wow you finished phase 1, ... i am still stuck lol
att
att
08:04
Is there a better way to do {⍺⍵}?
08:33
@att ,⍥⊂ is one char shorter, but not really much better
 
6 hours later…
14:08
codegolf.stackexchange.com/questions/245570/… time to bring out the life builtin?
 
4 hours later…
17:38
I thought it was not possible to write affine image transformation in APL. But now I did it.
 res←m affine img;x;y;g;m;idx;⎕IO
 ⍝ affine transformation
 ⎕IO←0
 (x y)←⍴img
 g←¯1↓⍉⌊m+.×⍤99 1⊢⍉(1 x y⍴⍳y)⍪(⍉y x 1⍴⍳x)⍪1
 m←,∧⌿(x y>⍤0 2⊢g)∧0<g
 res←x y⍴(0,,img)[m×1+,+⌿y 1×⍤0 2⊢g]
 
5 hours later…
22:15
 ⍝ An improved one
 affine←{
     ⍝ affine transformation
     ⎕IO←0 ⋄ (x y)←⍴⍵
     g←¯1↓⍉⌊⍺+.×⍤99 1⊢(y/⍳x),∘1⍤,⍥⍪(x×y)⍴⍳y
     m←∧⌿(x y>⍤0 1⊢g)∧0<g
     x y⍴(0,,⍵)[m×1++⌿y 1×⍤0 1⊢g]
 }
22:45
@BrianBED Wouldn't that just be monadic ,?

« first day (1886 days earlier)      last day (1065 days later) »