<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">I'm doing the Advent of Code and failed to spot the connection too.</div><div class="gmail_default" style="font-family:monospace,monospace">When I got to the day in question, I began to wonder why I was bothering.</div><div class="gmail_default" style="font-family:monospace,monospace">It was actually dead simple once I stopped trying to be clever.</div><div class="gmail_default" style="font-family:monospace,monospace">The key insight was that the input does NOT consist of numbers.</div><div class="gmail_default" style="font-family:monospace,monospace">(Part 1 was 18 lines of Smalltalk and part 2 was 25. I felt a bit sad</div><div class="gmail_default" style="font-family:monospace,monospace">at using so much code, but now that I *have* an APL system I find that</div><div class="gmail_default" style="font-family:monospace,monospace">my APL skills are rusty in the extreme.) Or was the key insight that</div><div class="gmail_default" style="font-family:monospace,monospace">the input is a matrix that you need to process by COLUMNS, not rows?</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 10 Dec 2021 at 23:04, Roger Lipscombe <<a href="mailto:roger@differentpla.net">roger@differentpla.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 10 Dec 2021 at 08:36, Hugo Mills <<a href="mailto:hugo@carfax.org.uk" target="_blank">hugo@carfax.org.uk</a>> wrote:<br>
> Unless I'm very much mistaken, this code is for this year's Advent<br>
> of Code problems. (<a href="https://adventofcode.com/2021/about" rel="noreferrer" target="_blank">https://adventofcode.com/2021/about</a>), so the set-up<br>
> is somewhat contrived.<br>
<br>
I'm *doing* this year's advent of code, and I didn't spot the connection... :)<br>
<br>
I did day 3 in Elixir:<br>
<a href="https://github.com/rlipscombe/advent-2021/blob/main/03/day03ex/lib/day03ex.ex" rel="noreferrer" target="_blank">https://github.com/rlipscombe/advent-2021/blob/main/03/day03ex/lib/day03ex.ex</a>,<br>
and I dealt with it character-by-character.<br>
</blockquote></div>