Still haven't finished part two of yesterday's AoC, but I learned a lot about J from it. Today's was... very ugly. Lots of brute forcing my way through affine transformations. For example:

turn =: dyad : '((>(4|x){ (0 1;1 0;0 1;1 0)) { y) * (>(4|x){ (1 1;_1 1;_1 _1;1 _1))'

That is not elegant 😂

Sign in to participate in the conversation

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.