Live data from Hacker News

Advent of Code 2022 is nigh

adventofcode.com

31–40 of 150 posts

Re: Advent of Code 2022 is nigh

#31
Last year I completed it in Python, but I'm pretty familiar with the language. This year I want to try in a new language - mostly either zig or rust. Eager to see how far I can get!

Re: Advent of Code 2022 is nigh

#33

Time for my yearly tradition of making it to day 4 in Haskell and feeling very smart before completely giving up on the first hard problem that needs regular arrays :)

I’ll be joining you for “see how far I can Haskell (for great good)” this year!

Then I’ll probably fall back on Python. :)

Re: Advent of Code 2022 is nigh

#35

Last year I went through 8 of them. I wonder what's the theme of this year. Hopefully it's somewhat closer to CPU design (because reading Soul of the new machine)

Not CPU design, but does involve a simple VM, have you checked out 2019? About half (1/3rd?) of the challenges involve a VM for "intcode". First few challenges get it up and running, then concurrency is added, and then challenges are presented inside it.

Really enjoyed that one. I do it in Excel, and moving things around between registers actually maps really well to a spreadsheet.

Re: Advent of Code 2022 is nigh

#37

I wonder how helpful GPT-3 and Copilot will be for this :) Not necessarily to solve the whole puzzle but rather to give hints when I'm stuck with a particular task.

If Microsoft updates the model daily then you could easily get a copy of someone elses solution by the next day.

Re: Advent of Code 2022 is nigh

#38
post #3

I did several of these last year and found them deeply unpleasant. I like puzzles but some puzzles are just...bad. Like the ones that require you to just brute force a solution, or write lots of detailed code to capture the requirements...that shouldn't be what this is. Just my opinion, of course, but like I said I found last year an unpleasant chore that felt more like work. Hope it's not like that this year.

A different kind of programming puzzle: https://BUGFIX-66.com The idea is that you read and understand a small piece of code (full of useful techniques) and make a small change to demonstrate understanding. Games that require you to write the code are limited to rehashing the same old tired algorithms... reverse a string and other sequence techniques, edit distance and dp variants, optimization by binary search and e…

I like this idea! Sounds more relaxing like I could passively work on it while on the train, and also see code examples that I wouldn’t normally be exposed to in my day job.

Seems like it might help me get better at code reviews too. Granted, I don’t like doing code reviews (mostly cus it’s usually pretty uninteresting code). But I do like puzzles! I’ll check it out :)

Re: Advent of Code 2022 is nigh

#39
No, I'm not doing it. At least, I'm not doing it in real time! What a time waster - my family hated me! Sorry, offline holidays and online programming contest don't mix well! Enjoy your life, solve the problems after the holidays!
Post reply on HN