I have found part 2 wicked hard though!
day 14 felt like it should have been super terse in J, but it ended up being my longest day yet in terms of lines! https://gist.github.com/jcmorrow/59e864fc664e0552375d724152f05dc0
Literally a thousand times better: https://gist.github.com/jcmorrow/5cd4401b22e13236be67b8ec349f1877
Was able to finish all of today's #adventofcode . When all you have is a for loop, everything looks like a list
However, short of making a custom stencil for each cell, I have absolutely no clue how to do part 2 in J, so that will have to wait!
I'm pretty proud of my J solution to part one of today's advent of code.
It's probably not as terse as a seasoned J programmer might go, but the way that tile, is, pad, unpad and count all work together is really nice IMHO.
okay, it's on my blog now https://leetusman.com/nosebook/programing-patching with a synth / desk photo
But I'm still not sure how to apply dyadic verbs to arrays 🤔
not so bad after some cleanup: https://gist.github.com/jcmorrow/d95113066f69ffb1a69de4b63f03e900
Well, this problem wasn't bad, and it was my second day in a row of solving the problem in J in less than an hour, but it feels like I'm not quite doing things the proper J-way 😞
it was a good one! I have gotten *much* better at J in the past week. Although I did use `if`s a bit more than I would have liked.
hahaha, I can count. I meant Day 8 😃
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.