This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-22
Channels
- # adventofcode (25)
- # aleph (34)
- # announcements (10)
- # babashka (71)
- # beginners (80)
- # biff (7)
- # calva (1)
- # cider (4)
- # cljdoc (12)
- # clojure (8)
- # clojure-belgium (1)
- # clojure-europe (11)
- # clojure-nl (3)
- # clojure-norway (18)
- # clojure-sg (3)
- # clojure-sweden (2)
- # clojurescript (18)
- # clojutre (4)
- # conjure (1)
- # core-logic (4)
- # datahike (1)
- # datascript (3)
- # emacs (27)
- # exercism (1)
- # gratitude (12)
- # introduce-yourself (4)
- # joyride (1)
- # lsp (46)
- # malli (3)
- # membrane (2)
- # nbb (1)
- # off-topic (3)
- # other-languages (7)
- # pedestal (4)
- # portal (3)
- # practicalli (1)
- # rdf (33)
- # re-frame (11)
- # releases (1)
- # ring (1)
- # scittle (34)
- # shadow-cljs (10)
- # squint (12)
- # tools-deps (89)
- # tree-sitter (2)
- # xtdb (14)
I just have too much stuff going on at my day job lately - will prolly try to catch up before new year 😎

this was tiresome https://github.com/akovantsev/adventofcode/blob/master/src/adventofcode/y2022/day22.clj#L145-L202
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)

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
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 ...
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...
I cut it out ^_^
A friend of mine said he had a different unfolding
stuck in part 1. did a little viz to check if the wrapping is wrong, but it seems fine
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
@UA2U3KW0L This one is tough, the next ones are much easier, just skip it and go on! You can go back to the cube later.
What software did you use to create the model?
@U067R559Q nice, considering it! it's Blender for the 3D part, Figma for the texture
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
@U051HUZLD 4->2 uses a reverse range to map 100-149 to 49->0 which I think does this, but I'll recheck
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
Day 22 - What if the map is like this
... ...# ... ...#
... .#.. ... .#..
..# #... ..# #...
... .... ... ....
...#.......# ...#.......#
........#... ........#...
..#....#.... ..#....#....
..........#. ..........#.
...#....
.....#..
.#......
......#.
Is that a hypercube? 😁