Alistair Beith
abeith.bsky.social
Alistair Beith
@abeith.bsky.social
Research Fellow in Hearing Sciences at University of Nottingham | Speech | Communication | #Rstats
Day 23 #AdventOfCode #rstats

Sorry. Sometimes you just have to get the star.
December 23, 2024 at 11:34 AM
Day 22 #AdventOfCode #rstats

I feel like I could have lived without knowing that raw vectors in R are little-endian.
December 22, 2024 at 5:32 PM
Day 20 #AdventOfCode #rstats

Quite proud of this one.
December 20, 2024 at 6:22 PM
Day 19 #AdventOfCode #rstats

Fun way to learn that overlapping regex is hard in R.
December 20, 2024 at 6:22 PM
Day 15 #AdventOfCode #rstats

Too many lines of code for this one so I'm just sharing a video instead.
December 20, 2024 at 6:22 PM
Day 14 #AdventOfCode #rstats

My favourite day so far!
December 14, 2024 at 10:27 AM
Day 13 #AdventOfCode #rstats

I resisted the urge to use complex numbers for the coordinates in part 1 only to find out that was the solution to part 2!
December 13, 2024 at 10:09 PM
Day 12 #AdventOfCode #rstats

There was a beautiful base R solution that worked with the sample input, but I gave up and used a package.
December 13, 2024 at 10:09 PM
Day 11 #AdventOfCode #rstats

I shouldn't admit to this one. How long is a blink? Because the last blink in my loop was almost 14 seconds.
December 11, 2024 at 7:18 PM
Day 10 #AdventOfCode #rstats

First use of curly-curly.
December 10, 2024 at 10:36 AM
Day 9 (Part 2) #AdventOfCode #rstats
December 9, 2024 at 6:26 PM
Day 9 (Part 1) #AdventOfCode #rstats

In spite of the evidence I'm still convinced this is a run-length encoding problem!
December 9, 2024 at 6:26 PM
Day 8 #AdventOfCode #rstats

Finally caught up!
December 8, 2024 at 12:13 PM
Day 7 #AdventOfCode #rstats

Yes, the `%||%` operator is a relic of a failed eval(parse(text = x)) approach.
December 8, 2024 at 12:03 PM
Day 6 #AdventOfCode #rstats

Resorted to brute force and patience for part 2 in the end. Probably only a couple of conditionals away from being a not terrible solution!
December 8, 2024 at 11:55 AM
Day 5 #AdventOfCode #rstats

Messy solution in the tidyverse!
December 5, 2024 at 12:25 PM
Day 4
December 4, 2024 at 11:24 AM
Day 3
December 3, 2024 at 10:52 AM
Day 2
December 3, 2024 at 10:52 AM
Here's a thread of my #aoc solutions in #rstats.

Day 1
December 3, 2024 at 10:49 AM
At this point the Twin Peaks fans are saying "Wow, Bob, wow", and they're right! We could break these limits by changing the direction of speech as long as we're retiming a phonological palindrome. Unfortunately, it turns out the direction of the phones is also important.
November 22, 2024 at 12:48 PM