Live data from Hacker News

Advent of Code 2023 is nigh

adventofcode.com

61–70 of 319 posts

Re: Advent of Code 2023 is nigh

#61
post #7

It's a tough day 1, I hope it doesn't scare off too many people. Normally day 1 is just some variation of "add numbers in a list", but this year has a mean pt 2 and a few traps for people to fall into. I wonder how long the global leaderboard will stay up before it gets hidden due to people solving with ChatGPT?

This year they politely ask people not to use LLM solutions until the days leaderboard is full.

But is there any way to know the difference?

Re: Advent of Code 2023 is nigh

#62
post #28

Another year and another Advent of Code that I don't have enough time in my life to do. One year I'll actually finish!

It's really the worst time of the year for something like this. I hardly remember a time when I wasn't completely swamped with tasks before Christmas. A summer puzzle would be much more doable...

The puzzles are up year round. You can go back and do prior year puzzles any time. There just won't be any of the community from doing it during the event.

Re: Advent of Code 2023 is nigh

#64
post #61
post #7

Earlier quoted context omitted.

This year they politely ask people not to use LLM solutions until the days leaderboard is full.

But is there any way to know the difference?

Not really when all they check is the solution output. They just ask politely knowing cheaters gonna cheat.

Re: Advent of Code 2023 is nigh

#65
post #24

Part two was exceptionally hard. Many people on reddit reporting they were hit by one edge case that's not covered in the examples. But my implementation passed these edge cases too. I was hit by another edge case. So there are at least two edge-cases (which are in the actual data) that aren't covered in the examples or the description.

Ok, I'll be that guy... what edge case?

My part 2 was 4-line addition to part 1 (see code below, if inappropriate let me know and I'll remove it), and it worked first try. On the other hand, I made a mistake in part one and got it right only on a second attempt...

    (definition of nums[] omitted)
    for (j = 1; j 

Re: Advent of Code 2023 is nigh

#68

Earlier quoted context omitted.

It's really the worst time of the year for something like this. I hardly remember a time when I wasn't completely swamped with tasks before Christmas. A summer puzzle would be much more doable...

The first half of the month is swamped because everybody takes the second half off of work.

The real problem for me is that once the last few days of the puzzle roll around, I'm too busy running around to different Christmas events to have time to squeeze them in.

I completed it in 2020 and felt extremely accomplished. I doubt I'll get through all of them this year before losing interest, got too many other projects going, but I always have fun with them.

Re: Advent of Code 2023 is nigh

#69

I think I’d like to try this year’s in a language I haven’t touched before. What languages should I consider if I want something paradigmatically different from Go, Python, etc?

I do them in Elixir and I find it to be a great language for this kind of thing.

I'm not a very sophisticated Elixir programmer, but I think my solutions are decent enough (and readable, for the most part!). I have a repo which has solutions for quite a few of the puzzles, along with some nifty little mix tasks to help set up a skeleton for each day's puzzle and automatically fetch the input file.

If you're interested: https://github.com/epiccoleman/advent_of_code_ex

Post reply on HN