Advent of Code

Ooops, I forgot all about it. Maybe I’ll go back and do every advent ever at some point.

I did the first few then became unblocked on a project at work. I will
get caught up soon. The ones I did so far have been fun.

The event this year has had some really good problems so far, done up through day 12. I also finished all of 2015 in the last couple weeks, and I feel like the difficulty is higher on average this year than that one. Which is good, the problems get more complex and more interesting, which means more fun.

Man, Day 15 was a pain in the ass to get right. Seems to be the breaking point for a lot of people according to Reddit. I don’t think there was a problem with the problem itself, it was well explained and consistent, but there weren’t any good heuristics to figure out exactly where you’re going wrong.

I’ve been loathing Day 15 since I read it. It’s too much like work. I’m almost done with the basic logic, but unless it works correctly immediately it’s going to be a nightmare to debug.

Update: It worked!

https://www.michaelfogleman.com/aoc18/

I haven’t looked at these answers, but they are here if anyone needs to.

I only just started working through these, but my repo is here. Python BTW bc LIST COMPREHENSION


opera_2018-12-20_23-45-42

:laughing:

1 Like

Cool! My repo is here and I’m writing it in Rust. Don’t forget to join the leaderboard 111686-e01a629f

List comprehensions :heart:

Dictionary comprehension :revolving_hearts:

1 Like

defaultdict :brain::boom:

Ok, back to Advent after holiday break. Skipping day 21 for now because interpreting and hand-optimizing fake assembly is boring. Day 22 part 1 wasn’t a problem, but I’ve got a bug with part 2. Nine stars to go!

I got to day 20 and kind of burned out. I guess trying to do multiple events in the same month will do that to you, I ended up doing over 50 days worth of problems in 20 days. Since coming back from visiting family I have also had the upcoming move on the mind, so I will get back to finishing this at some point, just might be a few weeks/months.

1 Like

Advent of Code 2019 starts tomorrow. The leaderboard code is still 111686-e01a629f.

2 Likes

Since tomorrow is Sunday, I promise to at least do day 1, lol.

1 Like

I thought I had more time. But hey, it’ll be nice to do some Python again for a bit.

I’ve been meaning to learn kotlin so I guess I’ll use that this year.

No shit talk. I’m gonna do it. Just waiting for my dev machine to upgrade.

Completed both stars on day 2