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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Updated version using my own ETS cache, much quicker which is interesting . . .</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Solution for 2024 day 11
part_one: **193607** in **3.71ms**
part_two: **229557103025807** in **59.43ms**
</code></pre>
<pre data-code-wrap="elixir"><code class="lang-elixir">
defmodule Aoc2024.Solutions.Y24.Day11 do
  require Integer
  alias AoC.Input

  def parse(input, _part) do
    Input.read!(input)
    |&gt; String.trim()
    |&gt; String.split(" ", trim: true)
    |&gt; Enum.map(&amp;String.to_integer/1)
  end

  def part_one(problem) do
    :ets.new(:apply_rules_cache, [:named_table, :public, :set, :protected])

    result =
      Enum.reduce(problem, 0, fn stone, acc -&gt;
        acc + apply_rules(stone, 0, 25)
      end)

    :ets.delete(:apply_rules_cache)
    result
  end

  def part_two(problem) do
    :ets.new(:apply_rules_cache, [:named_table, :public, :set, :protected])

    result =
      Enum.reduce(problem, 0, fn stone, acc -&gt;
        acc + apply_rules(stone, 0, 75)
      end)

    :ets.delete(:apply_rules_cache)
    result
  end

  def apply_rules(stone, count, target) do
    case :ets.lookup(:apply_rules_cache, {stone, count, target}) do
      [{_, result}] -&gt;
        result

      [] -&gt;
        result =
          if count == target do
            1
          else
            target_stones = rule(stone)

            case target_stones do
              [_first, _second] -&gt;
                Enum.reduce(target_stones, 0, fn stone, acc -&gt;
                  acc + apply_rules(stone, count + 1, target)
                end)

              stone -&gt;
                apply_rules(stone, count + 1, target)
            end
          end

        :ets.insert(:apply_rules_cache, {{stone, count, target}, result})
        result
    end
  end

  def rule(stone) do
    if stone == 0 do
      1
    else
      stone_length = Integer.digits(stone)
      num_digits = length(stone_length)
      # stone_string = Integer.to_string(stone)
      # digits = byte_size(stone_string)

      case Integer.is_even(num_digits) do
        true -&gt;
          stone_string = Integer.to_string(stone)
          mid = div(num_digits, 2)
          &lt;&lt;left::binary-size(mid), right::binary&gt;&gt; = stone_string
          [String.to_integer(left), String.to_integer(right)]

        _ -&gt;
          stone * 2024
      end
    end
  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="349446" 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-2024-day-11/68028/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-349446" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349446"
                     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 #21"></div>
  </section>
</div>
    <div class="postbit" id="349448" data-post-id="349448">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>My part 2 is <em>really</em> slow, but I did get it down from “it’ll never finish” to “bearable”.  Definitely going to take a closer look at some of the better solutions in this thread.<br>
<a href="https://github.com/joelheaps/aoc24/blob/main/day11.livemd" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/joelheaps/aoc24/blob/main/day11.livemd</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="349448" 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-2024-day-11/68028/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-349448" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349448"
                     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 #22"></div>
  </section>
</div>
    <div class="postbit" id="349457" data-post-id="349457">
  <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>You don’t need memoization or a cache.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="349457" 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-2024-day-11/68028/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-349457" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349457"
                     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 #23"></div>
  </section>
</div>
    <div class="postbit" id="349461" data-post-id="349461">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I took the naive solution bait for part 1:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">#!/usr/bin/env elixir

defmodule Day11.Part1 do
  @blinks 25

  defp parse(str) do
    stones =
      str
      |&gt; String.split([" ", "\n"], trim: true)
      |&gt; Enum.map(&amp;String.to_integer/1)

    stones
  end

  defp blunk(0), do: [1]

  defp blunk(stone) do
    digits =
      stone
      |&gt; Integer.digits()

    size =
      digits
      |&gt; Enum.count()

    half = div(size, 2)
    if rem(size, 2) == 0 do
        left = digits |&gt; Enum.slice(0..(half - 1)) |&gt; Integer.undigits()
        right = digits |&gt; Enum.slice(half..-1//1) |&gt; Integer.undigits()
        [left, right]
    else
        [stone * 2024]
    end
  end

  defp blink(stones) do
    {stones,
     stones
     |&gt; Enum.flat_map(&amp;blunk/1)}
  end

  def solve() do
    File.read!("11/input.txt")
    |&gt; parse()
    |&gt; Stream.unfold(&amp;blink/1)
    |&gt; Stream.drop(@blinks)
    |&gt; Enum.take(1)
    |&gt; List.first()
    |&gt; Enum.count()
    |&gt; IO.puts()
  end
end

Day11.Part1.solve()
</code></pre>
<p>Spent the rest of the day figuring out how to memoize this thing for part 2 after realizing the tree approach was a thing. After many attempts of getting that wrong, I landed on the following:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">#!/usr/bin/env elixir

defmodule Day11.Part2 do
  @blinks 75

  defp parse(str) do
    stones =
      str
      |&gt; String.split([" ", "\n"], trim: true)
      |&gt; Enum.map(&amp;String.to_integer/1)

    stones
  end

  defp digit_count(n) when n &lt; 10, do: 1
  defp digit_count(n), do: 1 + digit_count(div(n, 10))

  def split(n, half) do
    left = div(n, 10 ** half)
    right = rem(n, 10 ** half)
    [left , right]
  end

  defp blink(0), do: 1

  defp blink(stone) do
    size = digit_count(stone)

    half = div(size, 2)

    if rem(size, 2) == 0 do
        split(stone, half)
    else
        stone * 2024
    end
  end

  def blink_count(_stone, 0, _index, seen), do: {1, seen}

  def blink_count(stone, times, index, seen) when is_number(stone) do
    case seen[{stone, index}] do
      nil -&gt;
        case blink(stone) do
          [left, right] -&gt;
            {left_count, updated_seen} = blink_count(left, times - 1, index + 1, seen)
            {right_count, doubly_updated_seen} = blink_count(right, times - 1, index + 1, updated_seen)
            {left_count + right_count, doubly_updated_seen}

          m -&gt;
            blink_count(m, times - 1, index + 1, seen)
        end
        |&gt; (fn {c, final_seen} -&gt; {c, final_seen |&gt; Map.put({stone, index}, c)} end).()
      m -&gt;
        {m, seen}
    end
  end

  def blink_count(stones, times) when is_list(stones) do
    stones
    |&gt; Enum.reduce(
      {0, %{}},
      fn stone, {count, seen} -&gt;
        {blink_count, seen} = blink_count(stone, times, 0, seen)
        {count + blink_count, seen}
      end
    )
    |&gt; elem(0)
  end

  def solve() do
    File.read!("11/input.txt")
    |&gt; parse()
    |&gt; blink_count(@blinks)
    |&gt; IO.puts()
  end
end

Day11.Part2.solve()
</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="349461" 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-2024-day-11/68028/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-349461" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349461"
                     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 #24"></div>
  </section>
</div>
    <div class="postbit" id="349466" data-post-id="349466">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="MikeLindner" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  MikeLindner
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>My initial attempt using lists failed to execute part2 as expected. Had to come here for some inspiration. Switching to a map of counts did the trick nicely.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">defmodule Aoc2024.Day11 do
  @moduledoc false

  def part1(file) do
    get_input(file)
    |&gt; Enum.frequencies()
    |&gt; flutter(25)
    |&gt; Map.values()
    |&gt; Enum.sum()
  end

  def part2(file) do
    get_input(file)
    |&gt; Enum.frequencies()
    |&gt; flutter(75)
    |&gt; Map.values()
    |&gt; Enum.sum()
  end

  defp get_input(file) do
    File.read!(file)
    |&gt; String.trim()
    |&gt; String.split(" ", trim: true)
    |&gt; Enum.map(&amp;String.to_integer/1)
  end

  defp flutter(stones, 0), do: stones

  defp flutter(stones, count) do
    flutter(blink(stones), count - 1)
  end

  defp blink(stones) do
    stones
    |&gt; Map.to_list()
    |&gt; Enum.filter(fn {_, count} -&gt; count &gt; 0 end)
    |&gt; Enum.reduce(stones, fn {stone, count}, acc -&gt;
      removed = Map.update!(acc, stone, &amp;(&amp;1 - count))

      Enum.reduce(change(stone), removed, fn new, map -&gt;
        Map.update(map, new, count, &amp;(&amp;1 + count))
      end)
    end)
  end

  defp change(0), do: [1]

  defp change(stone) do
    if Integer.mod(l = String.length(s = Integer.to_string(stone)), 2) == 0 do
      mid = Integer.floor_div(l, 2)
      [String.to_integer(String.slice(s, 0, mid)), String.to_integer(String.slice(s, mid, l))]
    else
      [stone * 2024]
    end
  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="349466" 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-2024-day-11/68028/26">Post #25</a>
	                </div>
	            </div>
              <div id="likers-container-349466" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349466"
                     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 #25"></div>
  </section>
</div>
    <div class="postbit" id="349468" data-post-id="349468">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="sevenseacat" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sevenseacat/120/23153_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  sevenseacat
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Author of Ash Framework</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="jarlah" data-post="17" data-topic="68028">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jarlah/48/24789_2.png" class="avatar"> jarlah:</div>
<blockquote>
<p>EDIT: finally … so, no need to cache stone splits . .they are so insanely fast anyway.</p>
</blockquote>
</aside>
<p>Yeah I originally had this as well, but the overhead of keeping it and managing other state around made it much less performant than… simply not saving it. *shrug</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="349468" 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-2024-day-11/68028/27">Post #26</a>
	                </div>
	            </div>
              <div id="likers-container-349468" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349468"
                     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 #26"></div>
  </section>
</div>
    <div class="postbit" id="349469" data-post-id="349469">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Fairly straightforward once i realised a cache allowed my naive solution to work for part 2.</p>
<p><a href="https://github.com/rugyoga/aoc2023/blob/main/lib/2024/11.ex" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/rugyoga/aoc2023/blob/main/lib/2024/11.ex</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="349469" 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-2024-day-11/68028/28">Post #27</a>
	                </div>
	            </div>
              <div id="likers-container-349469" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349469"
                     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 #27"></div>
  </section>
</div>
    <div class="postbit" id="349489" data-post-id="349489">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hindsight is 20x20 <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>
<p>Now I’ve seen all the “Just keep track of the qty of stones” posts, there is obviously another way. I do like that about AOC, the learning afterwards, hopefully retaining some of the tricks for next year,</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="349489" 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-2024-day-11/68028/29">Post #28</a>
	                </div>
	            </div>
              <div id="likers-container-349489" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349489"
                     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 #28"></div>
  </section>
</div>
    <div class="postbit" id="349537" data-post-id="349537">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Nice, my attempt with lists failed miserably. I always go with handling lists instead of stopping and thinking about the solution in terms of maps. Lesson learned (hopefully). <img src="https://forum.elixirforum.com/images/emoji/apple/bug.png?v=15" title=":bug:" class="emoji" alt=":bug:" 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="349537" 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-2024-day-11/68028/30">Post #29</a>
	                </div>
	            </div>
              <div id="likers-container-349537" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349537"
                     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 #29"></div>
  </section>
</div>
    <div class="postbit" id="349723" data-post-id="349723">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="antoine-duchenet" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/antoine-duchenet/120/27136_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  antoine-duchenet
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="adamu" data-post="12" data-topic="68028">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/adamu/48/31482_2.png" class="avatar"> adamu:</div>
<blockquote>
<p>Do you think that text is a diversion for AI? It certainly persuaded my natural intelligence to implement the naive solution for part 1.</p>
</blockquote>
</aside>
<p>I don’t think so. It looks like a diversion for humans to me. This requires us to extract the parameters/notions that are truly essential.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="349723" 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-2024-day-11/68028/31">Post #30</a>
	                </div>
	            </div>
              <div id="likers-container-349723" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="349723"
                     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 #30"></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/68028/load_more?page=4">Load more posts (5 remaining)</a>
</div></template></turbo-stream>