<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Advent of Code 2021 Day 5 (BaseA Style) in General Discussions</title>
    <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853036#M5154</link>
    <description>&lt;P&gt;I guess my teachers were right and we did need to remember y = mx + b. A great opportunity to use the generate rows tool!&lt;/P&gt;&lt;LI-SPOILER&gt;Step 1: Parse out the lines&lt;BR /&gt;&lt;STRONG&gt;Challenge 1:&lt;/STRONG&gt;&lt;BR /&gt;Step 2: Fitler for just horizontal and vertical&lt;BR /&gt;Step 3: Generate X positions&lt;BR /&gt;Step 4: Generate Y Positions&lt;BR /&gt;Step 4: Group by X,Ys of generated positions and count&lt;BR /&gt;Step 5: Filter for any &amp;gt; 1&lt;BR /&gt;&lt;STRONG&gt;Challenge 2:&lt;BR /&gt;&lt;/STRONG&gt;Step 2: Calculate m and b&lt;BR /&gt;Step 3: Generate X positions&lt;BR /&gt;Step 4: Calculate y using y = mx + b&lt;BR /&gt;Step 4: Group by X,Ys of generated positions and count&lt;BR /&gt;Step 5: Filter for any &amp;gt; 1'&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bflick_0-1638682527368.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213010iC2CBDD6BCFDBB53C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bflick_0-1638682527368.png" alt="bflick_0-1638682527368.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Dec 2021 05:35:58 GMT</pubDate>
    <dc:creator>bflick</dc:creator>
    <dc:date>2021-12-05T05:35:58Z</dc:date>
    <item>
      <title>Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853009#M5152</link>
      <description>&lt;P&gt;Discussion thread for day 5 of the Advent of Code - &lt;A href="https://adventofcode.com/2021/day/5" target="_blank" rel="noopener"&gt;https://adventofcode.com/2021/day/5&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 22:17:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853009#M5152</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2021-12-04T22:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853036#M5154</link>
      <description>&lt;P&gt;I guess my teachers were right and we did need to remember y = mx + b. A great opportunity to use the generate rows tool!&lt;/P&gt;&lt;LI-SPOILER&gt;Step 1: Parse out the lines&lt;BR /&gt;&lt;STRONG&gt;Challenge 1:&lt;/STRONG&gt;&lt;BR /&gt;Step 2: Fitler for just horizontal and vertical&lt;BR /&gt;Step 3: Generate X positions&lt;BR /&gt;Step 4: Generate Y Positions&lt;BR /&gt;Step 4: Group by X,Ys of generated positions and count&lt;BR /&gt;Step 5: Filter for any &amp;gt; 1&lt;BR /&gt;&lt;STRONG&gt;Challenge 2:&lt;BR /&gt;&lt;/STRONG&gt;Step 2: Calculate m and b&lt;BR /&gt;Step 3: Generate X positions&lt;BR /&gt;Step 4: Calculate y using y = mx + b&lt;BR /&gt;Step 4: Group by X,Ys of generated positions and count&lt;BR /&gt;Step 5: Filter for any &amp;gt; 1'&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bflick_0-1638682527368.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213010iC2CBDD6BCFDBB53C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bflick_0-1638682527368.png" alt="bflick_0-1638682527368.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 05:35:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853036#M5154</guid>
      <dc:creator>bflick</dc:creator>
      <dc:date>2021-12-05T05:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853040#M5156</link>
      <description>&lt;P&gt;Lots of Generate Rows!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-12-04 at 10.41.49 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213012i619FA866BF08860C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-12-04 at 10.41.49 PM.png" alt="Screen Shot 2021-12-04 at 10.41.49 PM.png" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 05 Dec 2021 05:42:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853040#M5156</guid>
      <dc:creator>clmc9601</dc:creator>
      <dc:date>2021-12-05T05:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853043#M5157</link>
      <description>&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgoodman3_0-1638684091836.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213013i68BF9209CC760561/image-size/large?v=v2&amp;amp;px=999" role="button" title="cgoodman3_0-1638684091836.png" alt="cgoodman3_0-1638684091836.png" /&gt;&lt;/span&gt;&lt;P&gt;Again another day where the part two wasn't that much more difficult than the first part. I just got stuck down a rabbit hole as the first attempt at building it out I had forgotten that there could be diagonals in both directions, so it's not just as case of generating the x.y co-ordinates as you need to factor in increasing and decreasing values in x and y and because I was using a join based on position instead of calculating the order needed to get my ordering correct. So while most of the time it is beneficial being able to use assumed sort in Alteryx if you are relying on a particular order you can't! So that resulted in the second part taking much longer than the first!&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 05 Dec 2021 06:06:04 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853043#M5157</guid>
      <dc:creator>cgoodman</dc:creator>
      <dc:date>2021-12-05T06:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853046#M5158</link>
      <description>&lt;P&gt;Solved for stars and then played tool golf to get it down to this combination... Though I'm a bit disappointed in myself now that I see&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/55156"&gt;@bflick&lt;/a&gt;&amp;nbsp;bringing back y=mx+b. Missed out on an opportunity to &lt;EM&gt;finally&lt;/EM&gt; use that particular tidbit of knowledge!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicoleJohnson_0-1638684557445.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213015i7E74557FF191C874/image-size/large?v=v2&amp;amp;px=999" role="button" title="NicoleJohnson_0-1638684557445.png" alt="NicoleJohnson_0-1638684557445.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 06:12:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853046#M5158</guid>
      <dc:creator>NicoleJohnson</dc:creator>
      <dc:date>2021-12-05T06:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853050#M5159</link>
      <description>&lt;P&gt;I use only one Generate Row tool to make&amp;nbsp;diagonal line. It is a pretty forceful way. But it took long time to make the condition expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AkimasaKajitani_0-1638685989345.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213016i2C8715D6937E6E23/image-size/large?v=v2&amp;amp;px=999" role="button" title="AkimasaKajitani_0-1638685989345.png" alt="AkimasaKajitani_0-1638685989345.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;GitHub&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AkimasaKajitani/AdventOfCode" target="_blank"&gt;https://github.com/AkimasaKajitani/AdventOfCode&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 06:37:55 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853050#M5159</guid>
      <dc:creator>AkimasaKajitani</dc:creator>
      <dc:date>2021-12-05T06:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853052#M5160</link>
      <description>&lt;P&gt;Wow, taking me back to HS math.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;abs(ATAN2([y1]-[y2], [x1]-[x2]))*180/3.14 (to find 45 degree diagonal lines)&lt;/P&gt;&lt;P&gt;y=mx+b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution resembles&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/55156"&gt;@bflick&lt;/a&gt;&amp;nbsp;'s solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="estherb47_0-1638687525016.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213017i472BD09828CB0EF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="estherb47_0-1638687525016.png" alt="estherb47_0-1638687525016.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 05 Dec 2021 06:58:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853052#M5160</guid>
      <dc:creator>estherb47</dc:creator>
      <dc:date>2021-12-05T06:58:49Z</dc:date>
    </item>
    <item>
      <title>Betreff: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853069#M5161</link>
      <description>&lt;P&gt;Very straight forward this time. Could have simplified the first one, but I'll need breakfast first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grossal_0-1638694919824.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213024iCE34D8179D31B299/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grossal_0-1638694919824.png" alt="grossal_0-1638694919824.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 05 Dec 2021 09:02:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853069#M5161</guid>
      <dc:creator>grossal</dc:creator>
      <dc:date>2021-12-05T09:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853084#M5165</link>
      <description>&lt;LI-SPOILER&gt;Thought this could be a good fun for spatial or golf. Went with golf...&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dsmdavid_0-1638702661719.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213030i1CA642581C3A9CD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="dsmdavid_0-1638702661719.png" alt="dsmdavid_0-1638702661719.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&lt;A href="https://github.com/dsmdavid/AdventCode2021" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/dsmdavid/AdventCode2021&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 11:12:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853084#M5165</guid>
      <dc:creator>dsmdavid</dc:creator>
      <dc:date>2021-12-05T11:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853088#M5167</link>
      <description>&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrick_digan_0-1638707649454.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213031iD708A767FA0E1A00/image-size/large?v=v2&amp;amp;px=999" role="button" title="patrick_digan_0-1638707649454.png" alt="patrick_digan_0-1638707649454.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 05 Dec 2021 12:35:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853088#M5167</guid>
      <dc:creator>patrick_digan</dc:creator>
      <dc:date>2021-12-05T12:35:18Z</dc:date>
    </item>
    <item>
      <title>Betreff: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853090#M5168</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/123220"&gt;@grossal&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt; going the extra step to use a count records instead of being lazy and using browse anywhere to get the total records.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 12:40:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853090#M5168</guid>
      <dc:creator>cgoodman</dc:creator>
      <dc:date>2021-12-05T12:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853092#M5169</link>
      <description>&lt;P&gt;Lulling us into a false sense of security with a relatively easy one on Day 5!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I've forgotten even if I went to high school, let alone any math I may have done there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;The delta on the diagonals is always +/- 1 along both axes.&amp;nbsp; Once you generate the points along one axis, you can use a multi-row(one of my favorite tools) to number the points and use the point number to calculate the offset from the start along the other.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danilang_0-1638708804592.png" style="width: 720px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213032i5531733802A7F82E/image-dimensions/720x295?v=v2" width="720" height="295" role="button" title="danilang_0-1638708804592.png" alt="danilang_0-1638708804592.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Edit: I guess I did go to high school and something stuck since I used the word "delta" in the spoiler&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 12:57:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853092#M5169</guid>
      <dc:creator>danilang</dc:creator>
      <dc:date>2021-12-05T12:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853106#M5170</link>
      <description>&lt;P&gt;I have to pass today, I couldn't understand the problem.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 14:34:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853106#M5170</guid>
      <dc:creator>Aguisande</dc:creator>
      <dc:date>2021-12-05T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853112#M5171</link>
      <description>&lt;P&gt;Nice one for today &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sin título.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213040i56CFC8A80E02E718/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sin título.png" alt="Sin título.png" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 05 Dec 2021 15:18:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853112#M5171</guid>
      <dc:creator>afv2688</dc:creator>
      <dc:date>2021-12-05T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853159#M5175</link>
      <description>&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5 - 1.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213059i655668522533ADC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="5 - 1.png" alt="5 - 1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5 - 2.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213060i3F3516682D01D437/image-size/large?v=v2&amp;amp;px=999" role="button" title="5 - 2.png" alt="5 - 2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5 - 3.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213061i33F103AC59A772F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="5 - 3.png" alt="5 - 3.png" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Realise using straight line formula will probably made it easier. Since direction doesn't seem to matter, sort from low value to higher value may simplify things as well.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 00:25:05 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853159#M5175</guid>
      <dc:creator>leozhang2work</dc:creator>
      <dc:date>2021-12-06T00:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853766#M5200</link>
      <description>&lt;P&gt;Have you ever found yourself making a macro for 15-20 minutes on auto-pilot before you realize you don't need a macro? Huh? Oh yeah, me neither...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ugh, I struggled a bit initially with part 2 until my wife (who teaches math/science) was gracious enough to re-teach me y=mx+b (which she was quite excited to see make an appearance "out in the wild", let me tell you). After thinking about it through this lens, it was frustratingly simple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshbennett_0-1638857033851.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/213312iA6E6947D145FFCD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="joshbennett_0-1638857033851.png" alt="joshbennett_0-1638857033851.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 06:11:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/853766#M5200</guid>
      <dc:creator>joshbennett</dc:creator>
      <dc:date>2021-12-07T06:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/878677#M5285</link>
      <description>&lt;P&gt;My solution is very similar to&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/76174"&gt;@afv2688&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/2387"&gt;@patrick_digan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(oh, and I'm using a few of the shared macros that folk have posted like the downloader and the switcher - thank you!)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;&lt;BR /&gt;- First split out the data into unique X&amp;amp;Y values using a regex&lt;BR /&gt;- Then split this into rows which are horizontal (constant Y) vs. any other line&lt;BR /&gt;- For the horizontal lines - iterate over Y since X does not vary - for example, the line Y=3&lt;BR /&gt;- For all other lines - iterate over X using the formula Y =&amp;nbsp; mX + C.&amp;nbsp; &amp;nbsp; m is found using the (Y2-Y1)/(X2-X1) gradient function; and then c can be found by substituting any known X,Y combination into the formula above once m is known&lt;BR /&gt;&lt;BR /&gt;- Once you've created all the points - you then just need to count how many times any given point occurs - so Part 1 is identical to part 2, but part 1 just excludes diagonals.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeanAdams_0-1639241231366.png" style="width: 794px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/214104iC0D5E33B5C7E08A6/image-dimensions/794x211?v=v2" width="794" height="211" role="button" title="SeanAdams_0-1639241231366.png" alt="SeanAdams_0-1639241231366.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:48:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/878677#M5285</guid>
      <dc:creator>SeanAdams</dc:creator>
      <dc:date>2021-12-11T16:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/880759#M5410</link>
      <description>&lt;P&gt;From now on I'm building something that works with the example data, then plugging in my data. Saves so much time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="caitlynmcintyre_0-1639626491403.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/214887iCC16F005F3FAED25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="caitlynmcintyre_0-1639626491403.png" alt="caitlynmcintyre_0-1639626491403.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;BR /&gt;I'm sure there's a more mathematically sound way to do this but it works!&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 03:49:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/880759#M5410</guid>
      <dc:creator>caitlynmcintyre</dc:creator>
      <dc:date>2021-12-16T03:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 5 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/881865#M5439</link>
      <description>&lt;P&gt;I guess I took more of a brute-force approach; similar to other solutions, but didn't use y=mx+b (been WAY too long since school).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mchappell67_0-1639934385779.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215317i913195A6954A8E54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mchappell67_0-1639934385779.png" alt="Mchappell67_0-1639934385779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, well - got the right answers...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 17:20:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-5-BaseA-Style/m-p/881865#M5439</guid>
      <dc:creator>Mchappell67</dc:creator>
      <dc:date>2021-12-19T17:20:58Z</dc:date>
    </item>
  </channel>
</rss>

