General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2020 - BaseA Style (Day 7)

Jean-Balteryx
16 - Nebula
16 - Nebula

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

16 REPLIES 16
NedHarding
7 - Meteor

Similar solution to other people.  Brain not working today so had to fight through an off by 1 bug (I counted the outermost bag.)

 

But at least my input macro worked perfectly and saved me a few seconds...  https://community.alteryx.com/t5/General-Discussions/Advent-of-code-2020/m-p/676655/highlight/true#M...

 

 

Spoiler
NedHarding_0-1607351903833.png

 

 Find it at https://github.com/NedHarding/Advent2020

 

danilang
19 - Altair
19 - Altair

That's quite a lot of bags.  Exactly how thick at the walls of these bags...and how big are the planes

 

Spoiler
danilang_0-1607354034249.png

 

Dan

estherb47
15 - Aurora
15 - Aurora

A good iterative macro challenge to get the brain moving!

 

Nothing novel here, took the same building from inside out and then outside in that most did.

 

Spoiler
EstherB47_0-1607366703832.png

 

Balders
11 - Bolide

Quite happy with this, one iterative macro for both parts. Nothing earth shattering but re-use where you can!

Spoiler

AoC 07p1.pngAoC 07p2.png

 

Aguisande
15 - Aurora
15 - Aurora

Finally got the time to post...

Here's my approach, tried to solve both parts with the same kit of macros, until realized that I had to switch inner and outer bags for one of the parts.

So I decided to Save as.. one of the macros, modified as needed and incorporate it (easier way).

Spoiler
aguisande_0-1607383063920.png

This is the pre-iteration macro (used for both parts):

aguisande_1-1607383194961.png

And the two iterative ones:

aguisande_2-1607383255942.png
(Almost identical, but with a twist in the Join Tool)
aguisande_3-1607383288662.png

 

 

OllieClarke
15 - Aurora
15 - Aurora

Part 1 took me a few minutes. Part 2 took me hours to work out that had I just connected to data rather than a text input, everything would be golden 😫

Spoiler
WorkflowWorkflow
Part 1Part 1Part 2Part 2
joshbennett
11 - Bolide
11 - Bolide

This one hurt my brain a little - used an iterative macro, similar to others.

 

Part 1:

 

Spoiler
joshbennett_0-1607403438453.png



Macro:

joshbennett_1-1607403458427.png

 

 

Part 2:

Spoiler
joshbennett_2-1607403478830.png

Slightly modified macro from part 1:

joshbennett_3-1607403496773.png

 

Labels