ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
The Alteryx Community will be temporarily unavailable for a time due to scheduled maintenance on Thursday, April 22nd. Please plan accordingly.

General Discussions

Discuss a wide range of topics! Questions about the Alteryx Platform should be directed to the appropriate Product discussion forum.

Advent of Code 2020 - BaseA Style (Day 24)

Jean-Balteryx
14 - Magnetar

Discussion thread for day 24 of the Advent of Code : https://adventofcode.com/2020/day/24

jdunkerley79
16 - Nebula
16 - Nebula

This one would be up @JesseC street.

 

Went for the plain old iterative macro for part 2...

Spoiler
jdunkerley79_0-1608797456710.png

jdunkerley79_1-1608797473278.png

 

 

Greg_Murray
12 - Quasar

This was a fun one. Took me a little bit to figure out how to create coordinates for the hex grid, but after that was sorted both parts were similar to previous days. 

Spoiler

workflow

Greg_Murray_0-1608821493463.png

iterative macro

Greg_Murray_1-1608821535154.png

 

dsmdavid
11 - Bolide

I think my approach is similar to those above. I spent quite some time debugging why a join was not returning the correct items for numbers that was set as decimals 19.6 I couldn't figure out why so just rescaled my coordinates a little bit. 

Spoiler
Alteryx_Day_24.png
Alteryx_Day_24b.png 
The decimals were throwing me off, so I changed the step from 1, sqrt(3) to (1, 173), funny shaped hex I imagine, but works