Live data from Hacker News

Advent of Code 2022 is nigh

adventofcode.com

11–20 of 150 posts

Re: Advent of Code 2022 is nigh

#11

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.

Re: Advent of Code 2022 is nigh

#13
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.

There was one about piecing together data from multiple under-water sensors regarding the locations of mines or something. With the data being rotated in various orientations (in right angle increments) thus having to correlate the overlapping data items. I think it was 19. I wrote quite a log of code to brute force this:

https://www.kylheku.com/cgit/advent/tree/2021/19

Some people's solutions used some linear algebra libraries in ways I don't understand; one day I will revisit that.

Re: Advent of Code 2022 is nigh

#15
Elixir ended up being a great choice last year. I contemplated using ocaml, sbcl, or guile this go round but ultimately decided to see how far I can get with awk. I'm feeling confident I can get by with awk using getline as needed, we'll see how long I endure...

Best of luck to everyone!

Re: Advent of Code 2022 is nigh

#17

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.

Thanks, I'll check it out. Definitely close to my definition of fun :D

I also cannot tolerate hard problems so probably will stop around the same number.

Re: Advent of Code 2022 is nigh

#19

Earlier quoted context omitted.

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.

Thanks, I'll check it out. Definitely close to my definition of fun :D I also cannot tolerate hard problems so probably will stop around the same number.

If you enjoy that, the same guy made Synacor Challenge: http://challenge.synacor.com

Similar basic problem as the intcode VM but less need to dive into concurrency.

Re: Advent of Code 2022 is nigh

#20
post #15

Elixir ended up being a great choice last year. I contemplated using ocaml, sbcl, or guile this go round but ultimately decided to see how far I can get with awk. I'm feeling confident I can get by with awk using getline as needed, we'll see how long I endure... Best of luck to everyone!

Yes! I did two years in awk (https://github.com/tomberek/advent) and loved the ability to dig in and truly grok the language. The performance wasn’t bad, but the multidimensional array support and ergonomics were…meh. I’m contemplating Elixir.
Post reply on HN