<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="195982" data-post-id="195982">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="faried" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/faried/120/17538_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  faried
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Ugly, but it worked.  I didn’t consider <a class="mention" href="/u/mexicat" rel="nofollow">@mexicat</a>’s <code>throw/catch</code> idea – that makes it a lot cleaner.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">defmodule Day01 do
  def readinput() do
    File.stream!("1.input.txt")
    |&gt; Enum.map(fn numstr -&gt; numstr |&gt; String.trim() |&gt; String.to_integer() end)
  end

  def part1(numbers \\ readinput()) do
    find2020_2(numbers, tl(numbers))
  end

  def part2(numbers \\ readinput()) do
    find2020_3(numbers, tl(numbers), tl(tl(numbers)))
  end

  defp find2020_2(numbers, []) when tl(numbers) == [], do: :barf

  defp find2020_2(numbers, []), do: find2020_2(tl(numbers), tl(tl(numbers)))

  defp find2020_2([n1 | _nums1] = numbers, [n2 | nums2]) do
    if n1 + n2 == 2020, do: n1 * n2, else: find2020_2(numbers, nums2)
  end

  defp find2020_3(numbers, [], []) when length(numbers) &lt; 3, do: :barf

  defp find2020_3(numbers, [], []),
    do: find2020_3(tl(numbers), tl(tl(numbers)), tl(tl(tl(numbers))))

  defp find2020_3(numbers1, numbers2, []) when tl(numbers2) == [], do: find2020_3(numbers1, [], [])

  defp find2020_3(numbers1, numbers2, []), do: find2020_3(numbers1, tl(numbers2), tl(tl(numbers2)))

  defp find2020_3([n1 | _nums1] = numbers1, [n2 | _num2] = numbers2, [n3 | nums3]) do
    if n1 + n2 + n3 == 2020, do: n1 * n2 * n3, else: find2020_3(numbers1, numbers2, nums3)
  end
end
</code></pre>
<p>I later tried these libraries:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">{:combination, "~&gt; 0.0.3"},
{:math_combinations, "~&gt; 0.2.0"},
{:comb, git: "https://github.com/tallakt/comb.git", tag: "master"}
</code></pre>
<p>They were all very slow.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195982" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-195982" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195982"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="195983" data-post-id="195983">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="adamu" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/adamu/120/31482_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  adamu
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>What happens if you let it run the full comprehension, without throwing, then just take the first result? Just wondering if <code>try</code> has significant overhead compared to the benefits of short-circuiting <img src="https://forum.elixirforum.com/images/emoji/apple/thought_balloon.png?v=15" title=":thought_balloon:" class="emoji" alt=":thought_balloon:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195983" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-195983" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195983"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="195984" data-post-id="195984">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="faried" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/faried/120/17538_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  faried
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I timed it.  The <code>for</code> comprehension for part 2 is noticeably slower on my 2018 15" MBP (i7 processor).  That’s why I stuck with my ugly hack.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195984" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-195984" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195984"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="195985" data-post-id="195985">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LostKobrakai" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LostKobrakai/120/3072_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LostKobrakai
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The short circuit (at least for the given dataset) is considerably faster:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Comparison: 
optimized                        16803.28
optimized, no short circuit        473.86 - 35.46x slower +2.05 ms
first solution                     163.47 - 102.79x slower +6.06 ms
no short circuit                     8.52 - 1971.12x slower +117.25 ms
</code></pre>
<p>Afaik throw/catch on the beam is meant exactly for such cases, so there should not be to much overhead in it.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195985" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-195985" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195985"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="195993" data-post-id="195993">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="egze" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/egze/120/13522_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  egze
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Did it with streams:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">defmodule Aoc.Y2020.D1 do
  use Aoc.Boilerplate,
    transform: fn raw -&gt; raw |&gt; String.split() |&gt; Enum.map(&amp;String.to_integer(&amp;1)) end

  def part1(input \\ processed()) do
    [{x, y}] =
      Stream.flat_map(input, fn i -&gt;
        Stream.flat_map(input, fn j -&gt;
          [{i, j}]
        end)
      end)
      |&gt; Stream.filter(fn {x, y} -&gt;
        x + y == 2020
      end)
      |&gt; Enum.take(1)

    x * y
  end

  def part2(input \\ processed()) do
    [{x, y, z}] =
      Stream.flat_map(input, fn i -&gt;
        Stream.flat_map(input, fn j -&gt;
          Stream.flat_map(input, fn k -&gt;
            [{i, j, k}]
          end)
        end)
      end)
      |&gt; Stream.filter(fn {x, y, k} -&gt;
        x + y + k == 2020
      end)
      |&gt; Enum.take(1)

    x * y * z
  end
end
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195993" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-195993" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195993"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="196000" data-post-id="196000">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="al2o3cr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/al2o3cr/120/3457_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  al2o3cr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’ve been doing a lot of staring at SQL EXPLAIN this week, so I wrote a solution in raw SQL:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">select * from (values (1765), (1742), (1756), etc etc) as t1 (v),
(values (1765), (1742), (1756), etc etc) as t2 (v)
where t1.v + t2.v = 2020;
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="196000" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-196000" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="196000"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="196009" data-post-id="196009">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="romenigld" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/romenigld/120/6200_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  romenigld
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I do this:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">defmodule FindEntries do
  def find(numbers) do
    numbers
    |&gt; read_file()
    |&gt; String.trim()
    |&gt; String.split("\n")
    |&gt;  Enum.map(&amp;String.to_integer/1)
    #|&gt; IO.inspect(label: "Enum.map(&amp;String.to_integer/1 \n")
    |&gt; match_2020()

  end

  def read_file(path) do
    case File.read(path) do
      {:ok, body} -&gt;
          body
      {:error, reason} -&gt;
          reason
    end
  end

  def match_2020(list) do
    [{a, b} | _list] =
            for i &lt;- list, j &lt;- list,
                  i + j == 2020,
                  do: {i, j}

    IO.puts "The sum of two numbers of the list which is equal to 2020 is: \{ #{a}, #{b} \}."
    IO.puts "The multiplication: (#{a} x #{b}) = #{a * b}"

    [{a, b, c} | _] =
            for i &lt;- list, j &lt;- list, k &lt;- list,
              i + j + k == 2020,
              do: {i, j, k}

    IO.puts "The sum of three numbers of the list which is equal to 2020 is: [#{a}, #{b}, #{c}]."
    IO.puts "The multiplication: (#{a} x #{b} x #{c}) = #{a * b * c}"
  end
end

FindEntries.find "./puzzle_input.txt"

</code></pre>
<p>$ elixir find_entries.ex<br>
#=&gt; The sum of two numbers of the list which is equal to 2020 is: { 16, 2004 }.<br>
#=&gt; The multiplication: (16 x 2004) = 32064<br>
#=&gt; The sum of three numbers of the list which is equal to 2020 is: [248, 820, 952].<br>
#=&gt; The multiplication: (248 x 820 x 952) = 193598720</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="196009" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-196009" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="196009"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="196010" data-post-id="196010">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="cpgo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/cpgo/120/25792_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  cpgo
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Whoa I never thought of solving those with  SQL.<br>
Here is my attempt</p>
<pre data-code-wrap="sql"><code class="lang-sql">-- dont know how to `copy` into a cte or temp table
create table table1 (
  input   integer
);
create table table2 (
  input   integer
);

create table table3 (
  input   integer
);


copy table1 from '/input.txt';
copy table2 from '/input.txt';
copy table3 from '/input.txt';


-- part 1
select 
    table1.input * lag(table1.input) over()
from 
	table1, table2 
where 
	table1.input + table2.input = 2020;

-- part 2, had to multiply the result by hand, could not figure out how to multiply  it on the clause
select 
    distinct table1.input
from 
	table1, table2, table3
where 
	table1.input + table2.input + table3.input = 2020;
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="196010" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-196010" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="196010"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="196026" data-post-id="196026">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kwando" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kwando/120/4092_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kwando
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I converted the list of numbers into a <code>MapSet</code> and used the following code to find the pair of numbers.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  @spec find_sum(MapSet.t(), number) :: nil | {number, number}
  def find_sum(numbers, sum) do
    numbers
    |&gt; Enum.find(&amp;MapSet.member?(numbers, sum - &amp;1))
    |&gt; case do
      nil -&gt; nil
      number -&gt; {number, sum - number}
    end
  end
</code></pre>
<p>I could reuse that function to find the 3 numbers in part2 as well like this:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">    sum = 2020

    a =
      numbers
      |&gt; Enum.find(&amp;find_sum(numbers, sum - &amp;1))

    {b, c} = find_sum(numbers, sum - a)

    IO.inspect(a: a, b: b, c: c, sum: a + b + c, product: a * b * c
</code></pre>
<p>Input was small enough so this pretty much run instantly on my machine <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="196026" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-196026" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="196026"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="196049" data-post-id="196049">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="bodgix" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/bodgix/120/9879_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  bodgix
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>For part one, I did sth similar, but forgot about a MapSet so just used a map <code>%{100 =&gt; 100, 999 =&gt; 999, ...}</code><br>
but the rest was pretty much the same although I’m a little rusty in Elixir so I used Enum.reduce_while instead of Enum.find:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  def find_2020(expenses) when is_map(expenses) do
    expenses
    |&gt; Enum.reduce_while(0, fn {expense, expense}, _acc -&gt;
      case Map.fetch!(expenses, 2020 - expense) do
        {:ok, value} -&gt;
          {:halt, value * expense}

        _ -&gt;
          {:cont, 0}
      end
    end)
  end
</code></pre>
<p>Nice idea for the second part, I basically just fell back to list comprehensions for the 2nd part.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="196049" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/advent-of-code-2020-day-1/35917/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-196049" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="196049"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/35917/load_more?page=3">Load more posts (18 remaining)</a>
</div></template></turbo-stream>