Live data from Hacker News

Advent of Code 2024

adventofcode.com

201–210 of 580 posts

Re: Advent of Code 2024

#202

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

Have you ever tried the LeetCode live competitions? I found those to be really fun with a great community. Just grinding problems in isolation can definitely be depressing.

Re: Advent of Code 2024

#204
post #176

I still haven't made my way through all of the 2015 problems yet. But I don't play the game correctly any way: instead of trying to solve the problems as fast as I can, I try to write well-documented easily maintained code which runs fast. Balancing 'easily maintained' and 'runs fast' takes a little more time than 'just solve it' _and_ I'm planning on working my way through the problems chronologically, so I doubt I'…

That’s one of the many ways to do Advent of Code.

Re: Advent of Code 2024

#205

Work on a side project this December instead of doing this. Solving advent of code just keeps you in your comfort zone. Creates a false sense of accomplishment. Redirect all the positive energy to something that will make you proud when you are old or help with an earlier retirement. This won't.

Advent of Code is fun, I like having fun! I have no shortage of challenges and things to be proud of, but when I’m old I don’t want to look back and realize I didn’t take the time to find little moments of joy along the way. Everyone’s different, and it sounds like AoC isn’t for you, but remember not everyone is you :)

That's fair. Just sending the message out to folks who are in similiar space and might do a reconsideration.

Re: Advent of Code 2024

#207
post #100

The tiny thin gray font on black background is impossible to read on a mobile device :(

On iOS you can switch to Reader view, and I imagine Android has something similar.

Yes on Android it's already readable in Firefox, but that may be due to ad-blocking plugin. Even so, Firefox reader mode makes it even better.

Re: Advent of Code 2024

#208

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.

One reason I didn't enjoy it was that I felt the days don't build on each other well. So you get little code reuse. It was continually changing requirements, so it was especially like work.

Re: Advent of Code 2024

#210

This years challenge for me: write it in C without the standard library or an allocator. Has to be runnable on an STM32 with 32kb of SRAM. I tried doing it in Assembly two years ago, ended up spending hours and hours writing an Assembly standard library, then gave up and switched to Rust...

Good luck! Personally, I'm still going with CL but decided to try it in all the languages I "know" for the first day. Including C which doesn't have hash tables (inb4 hsearch)... what a pain, let me tell you.

https://git.sr.ht/~q3cpma/aoc2024/tree/master/item/01

If you could post a repo link so I can look at some of the progress, I'd be grateful.

Post reply on HN