adventofcode

bhauman 2022-12-22T03:00:02.623259Z

@xnooga missing you in here, are you down in the compiler bowels?

๐Ÿ™ 1
nooga 2022-12-22T10:30:29.863549Z

I just have too much stuff going on at my day job lately - will prolly try to catch up before new year ๐Ÿ˜Ž

1
misha 2022-12-22T14:00:04.202659Z

Day 22 - Solutions

bhauman 2023-12-17T03:05:05.587929Z

Finally got around to this. I definitely was a PITA https://github.com/bhauman/advent-of-code-2022/blob/main/src/adv2022/day22/sol.clj

๐Ÿ‘๐Ÿป 1
Felipe 2022-12-27T11:48:46.776789Z

@zelark nice, considering it! it's Blender for the 3D part, Figma for the texture

๐Ÿค๐Ÿป 1
misha 2022-12-27T16:28:45.392709Z

It seems to me like you have โ€œjust: New corner plus old offsetโ€ but some times it is โ€œnew corner plus width (50) minus old offsetโ€ E.g. 47 -> 100+50-47=103

misha 2022-12-27T16:29:23.950379Z

Not 47->147

nooga 2022-12-22T14:02:29.106659Z

did you mean day22?

๐Ÿ‘ 1
Callum Oakley 2022-12-22T14:10:29.663329Z

https://github.com/callum-oakley/advent-of-code/blob/main/src/aoc/2022/22.clj well it's the first time I've made a physical model this year ๐Ÿ˜‚ I hard coded the joins between the faces for the cube, but I was quite pleased with the compactness of the representation (only 7 joins, which get expanded out to the full joins between all the tiles)

1
Callum Oakley 2022-12-22T14:36:28.661609Z

some people solved the problem in general by doing the folding in 3d... which I really didn't want to do (hence the hard coding), but I like this alternative! very nice: https://www.reddit.com/r/adventofcode/comments/zsct8w/comment/j184mn7/?utm_source=share&utm_medium=web2x&context=3

2022-12-22T17:54:01.799269Z

aoc finally took it's toll on me last night. I had to stop mid-part2 and sleep. Now I'm trying to squeeze in some prep while at work ...

2022-12-22T20:50:11.952839Z

https://gitlab.com/maximoburrito/advent2022/-/blob/main/src/day22/main.clj finally done, after getting bit by bit done during the day. By cube transitions are hardcoded for my input, so it doesn't work for the sample. I assume different people's inputs have different layouts too, so mine may be just for me... Who knows...

Aleks 2022-12-22T21:10:32.652889Z

I cut it out ^_^

2022-12-22T21:11:44.424119Z

You had the same layout as me... Did everyone get this layout?

๐Ÿ˜ 1
โž• 1
Aleks 2022-12-22T21:19:37.545859Z

A friend of mine said he had a different unfolding

Felipe 2022-12-26T18:13:45.913679Z

now stuck in part 2. did a digital model, checked the edges one by one but something's wrong. think I'm giving up and celebrating this is the farthest I ever got

Aleks 2022-12-26T21:59:34.900939Z

@felipecortezfi This one is tough, the next ones are much easier, just skip it and go on! You can go back to the cube later.

Aleks 2022-12-26T21:59:57.464679Z

What software did you use to create the model?

Felipe 2022-12-23T18:08:47.297029Z

stuck in part 1. did a little viz to check if the wrapping is wrong, but it seems fine

Aleks 2022-12-23T18:10:41.947189Z

Oh, man, good luck! Especially with part 2.

1
๐Ÿ˜† 1
Felipe 2022-12-23T18:53:57.459929Z

off by one error facepalm was considering my map had one less column than it actually did

misha 2022-12-29T13:31:56.876329Z

There is also โ€œy becomes xโ€ in some transitions. If you can decipher my mapping - can compare it with yours (first link in this thread). Look at transitions where x and y switch places, and at the plus/minus signes

Felipe 2022-12-28T17:20:30.183189Z

@misha 4->2 uses a reverse range to map 100-149 to 49->0 which I think does this, but I'll recheck

Apple 2022-12-22T21:28:37.105089Z

Day 22 - What if the map is like this

...     ...#  ...     ...#
...     .#..  ...     .#..
..#     #...  ..#     #...
...     ....  ...     ....
...#.......#  ...#.......#
........#...  ........#...
..#....#....  ..#....#....
..........#.  ..........#.
        ...#....
        .....#..
        .#......
        ......#.

Miฤทelis Vindavs 2022-12-23T09:34:50.898409Z

Is that a hypercube? ๐Ÿ˜