Advertisement · 728 × 90

Posts by Jeff Snow

Day seven feels like one of the easiest if you write it in your most fluent language. Part two almost follows directly from part 1. There's little change needed. Most of the challenge for me came from using a language I don't use hardly ever.

1 year ago 1 0 0 0
Day 7 - Advent of Code 2024

I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/7

Woot.
github.com/thisisjeffsn...

1 year ago 55 0 4 0

Nothing wrong with them, just wasn't using them correctly at first, can't overwrite chars in an array of strings, for example. Difference between [a, b] and [a][b] indexing for 2d arrays. Just quirky stuff I'm picking up.

1 year ago 0 0 0 0

Today is C, but haven't gotten far yet on the puzzle. I'm still in familiar territory but it's getting less and less comfortable.

1 year ago 1 0 1 0

Agreed. Using hash sets to determine a loop (x, y, dir) on visited cells and it runs instantly in C#.

1 year ago 3 0 2 0
Day 6 - Advent of Code 2024

I just completed "Guard Gallivant" - Day 6 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/6

Oof. Finally.

1 year ago 54 0 3 0

Good to know. Thanks!

1 year ago 0 0 0 0
Advertisement

What do you mean they're going to get harder? 🥺 I thought someone said they don't necessarily increase in difficulty. I'm still stuck on P2 for today. Ugh.

1 year ago 0 0 1 0
Preview
a dog is riding a merry go round at a playground Alt: a dog is riding a merry go round at a playground in circles, it's white and circular with blue handles. The dog appears to be a Collie and happy to run in circles opposite of the motion of the merry go round.

The guards in D6P2 be like...

Which is ironic, because this was me trying to figure out P1 and why I was in an endless loop not hitting my exit condition. Turns out C# has jagged and rigid arrays. +1 for learning

#AdventOfCode

1 year ago 25 0 1 0

In some sense, medieval people were much better prepared for AGI (or whatever). They already believed in higher entities—kings, emperors, gods—and weren’t afraid of the unknown. Modern humans: “We’re doomed, AI will conquer!” Medieval folks: “Meh, one more god. No big deal.”

1 year ago 8 3 3 0

Nice one. That set you up quite well for part 2.

1 year ago 1 0 0 0

Interesting how the frequency and volume stays consistent even with aggressive banning of addresses.

1 year ago 2 0 0 0

Sorry for your loss. Deepest condolences. 😔

1 year ago 1 0 0 0

They should do a Calculator App Wrapped where it shows you the dumbest calculations you did this year. Real moron stuff like 20% off 20, or 1x8, or 6+9

1 year ago 7 5 1 0
Advertisement

Excellent! 👌

1 year ago 1 0 1 0
Preview
mr. burns from the simpsons says excellent Alt: mr. burns from the simpsons says excellent
1 year ago 2 0 0 0

If this post gets 10 likes, I will do #AdventOfCode in Python. If it gets 20 likes, I will do it in C. If it gets 40 likes, I will do it in Assembly.

1 year ago 75 6 13 0
Day 5 - Advent of Code 2024

I've completed "Print Queue" - Day 5 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/5

And there was much rejoicing github.com/thisisjeffsn...

1 year ago 55 0 1 0
Preview
a man is sitting in the back seat of a car and saying `` please no '' . Alt: a man is sitting in the back seat of a car and saying "please no" with an anxious expression

Ahhh, spent all morning uncomfortably in Java for day 5 part 1... done. What could they possibly make me do for part two? Ohhh... #AdventOfCode

1 year ago 16 0 4 0

The sample could be much clearer by demonstrating exactly which strings were valid by circling them just like you would in a word search. Agreed.

1 year ago 2 0 0 0

Thank you. I neglected to read that. The repo and commit history have been updated to exclude input data. I appreciate you!

1 year ago 1 0 0 0

For day 4 part 1? No, the word XMAS has its letters adjacent to one another in either a row, or column, or diagonal.

1 year ago 1 0 1 1
Advertisement

Absolutely! My favorite for Day 4 so far has been @patascientist.bsky.social using complex numbers as a form of rotation for the different string orientations in the grid. I like how so many people are open about showing their code, so you get to see a lot of different perspectives.

1 year ago 3 0 1 0

How festive. That's so cool!

1 year ago 1 0 0 0

Right, I gave you my solution for day two instead of day three like you asked. I used regex for day 3 and just iterated the matches carefully with toggle.

1 year ago 0 0 0 0

Yep, I need to relearn my integers. Oof.

1 year ago 0 0 0 0

Just subtly foreshadowing skynet's existence, no worries. Lol... 🙃

1 year ago 0 0 1 0

Four. Two rows. One column. One negative diagonal.

1 year ago 1 0 1 0

Adorable! 🥰

1 year ago 0 0 0 0

Not yet, is there performance to be gained from that? Probably right? If I iterate character by character?

1 year ago 0 0 1 0
Advertisement