Live data from Hacker News

Advent of Code 2024

adventofcode.com

161–170 of 580 posts

Re: Advent of Code 2024

#161

I can't explain why but doing AoC is always interesting, and doing LeetCode which is supposed to be similar is always very depressing. Wishing everyone a fun challenge. This year I will be practicing F# and hope some of you will give it a try too :) https://github.com/neon-sunset/AOC24/blob/master/day1.fsx

I’m also doing them in F# (again). Hoping to best my past attempts, never gone beyond day 12 before!

I’m never gonna do it fast but I enjoy using fparsec to get the input text in whatever format I need each time, even if writing and debugging the parsers sometimes takes up way too much of my time!

Re: Advent of Code 2024

#162
post #89

I would love it if the first star of the day was required, but the second was a bonus. I love Advent of Code, but I don't have the time to get 50 stars.

Same. Especially when it gets really hard later on. Despite studying CS, I still struggle with it.

Re: Advent of Code 2024

#163
post #153

Am I alone in thinking that measuring time to get answer is the worst possible metric? I have not participated because of that (yet). If there is a community for those who use other rules to compare actual solutions instead of answers I would be interested to hear about it. I am coming from low level C++ gamedev side so I understand that most people here use different tools to solve different problems.

Here's a website that appears to be about competing on the performance of each solution: https://codspeed.io/advent

>Participants have 36 hours

Looks like it is for young people who have dedicated time for it everyday.

Personally I would like to do anything like this with no time limit and probably no monetary prizes. I think the only value of those puzzles is to fire up rarely used neurons that hopefully are still there after another year of shipping corporate products xD. I might appreciate fresh point of view from young people and new programming languages though.

Re: Advent of Code 2024

#164

Last year I got stuck on Day 12 for a full week, and thinking about how to solve it consumed my every waking moment. I think this year, I'm going to be kind to myself and not participate so I can really enjoy the winter break from work.

All things in moderation! Now if I can just make it through the winter without installing the new Factorio DLC...

this comment actually prompted me to finally download and install the factorio demo, been hearing so many things about how it takes over lives! :)

Re: Advent of Code 2024

#166
post #164

Earlier quoted context omitted.

All things in moderation! Now if I can just make it through the winter without installing the new Factorio DLC...

this comment actually prompted me to finally download and install the factorio demo, been hearing so many things about how it takes over lives! :)

So, you want it to take over your life?

Re: Advent of Code 2024

#167

Am I alone in thinking that measuring time to get answer is the worst possible metric? I have not participated because of that (yet). If there is a community for those who use other rules to compare actual solutions instead of answers I would be interested to hear about it. I am coming from low level C++ gamedev side so I understand that most people here use different tools to solve different problems.

It could be interesting to find the shortest solution. But the site is not set up for verifying solutions in various languages.

Re: Advent of Code 2024

#169
post #153

Earlier quoted context omitted.

Here's a website that appears to be about competing on the performance of each solution: https://codspeed.io/advent

>Participants have 36 hours Looks like it is for young people who have dedicated time for it everyday. Personally I would like to do anything like this with no time limit and probably no monetary prizes. I think the only value of those puzzles is to fire up rarely used neurons that hopefully are still there after another year of shipping corporate products xD. I might appreciate fresh point of view from young people…

Because only young people can make time for things.

There are plenty of professionals with jobs and families making time for AOC because they enjoy it. Doing the problems at the same time as everyone else is a VERY different experience from doing them whenever you'd like.

If you don't want to make the time for it, power to you. I'd recommend most people to drop off after the first 10ish days. But don't delude yourself by ascribing this as the domain of "young people" or those without responsibilities. You're making a decision. Own it.

Re: Advent of Code 2024

#170

Earlier quoted context omitted.

There's a graph here of the "hardness" of each day/task, based on how long the 100th place on the leaderboard used. https://aoc.xhyrom.dev/ So it's not linear, and also based on your own knowledge. So perfectly fine to skip some days and still it's possible to solve some of the next ones!

> So perfectly fine to skip some days and still it's possible to solve some of the next ones! You try telling that to my brain. That guy doesn’t listen to me.

This is why I usually do the simpler ones and then stop... Otherwise, I just can’t skip, it’s stronger than me.
Post reply on HN