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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I know it’s just hot air until I actually do it but when/if I find the time I’d like to do a Knapsack example.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="139719" 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/genex-genetic-algorithms-in-elixir/24430/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-139719" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="139719"
                     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="139845" data-post-id="139845">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="seanmor5" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/seanmor5/120/20610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  seanmor5
                    <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 class="user-title">
									<span>Author of Genetic Algorithms in Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for putting this in here! I’m trying to formulate how I can seamlessly integrate this into my library/if it’s even worth it.</p>
<p>Anybody have any thoughts?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="139845" 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/genex-genetic-algorithms-in-elixir/24430/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-139845" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="139845"
                     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="139846" data-post-id="139846">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="seanmor5" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/seanmor5/120/20610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  seanmor5
                    <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 class="user-title">
									<span>Author of Genetic Algorithms in Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Check out the Knapsack example I just pushed to <code>master</code>. I think it’s got some flaws. The optimal answer is 15 I believe. Let me know if you can improve it!</p>
<p>Also beware that the code might look slightly different as I’m working through some changes with the library right now.</p>
<p>Stay tuned!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="139846" 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/genex-genetic-algorithms-in-elixir/24430/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-139846" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="139846"
                     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="140005" data-post-id="140005">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I have submitted a small PR for you to examine the Knapsack problem. It is of course sensitive to the pseudo-random nature of the algorithm and for the test problems it sometimes finds the optimum and others times not.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="140005" 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/genex-genetic-algorithms-in-elixir/24430/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-140005" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="140005"
                     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="140017" data-post-id="140017">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="seanmor5" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/seanmor5/120/20610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  seanmor5
                    <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 class="user-title">
									<span>Author of Genetic Algorithms in Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>A quick decision I would like some input on.</p>
<p>I have rewritten the way in which algorithms are configured in the library. The new way allows for configuration outside of the module which in turn supports the ability to configure the same problem with different parameters for easier comparison. The new style is also more “Elixir-y” in that it supports piping configuration options into the <code>run</code> function.</p>
<p>One thing I like about this is that it can help separate the algorithm from the problem definition. I’ve always viewed the implementation module as your definition and encoding of your problem and I believe this style does a better job separating the “how” from the “what.” That being said, this might not always make sense in cases where some parts of the algorithm are included in the implementation module (like a custom crossover method).</p>
<p>Basically, my question is: does it make sense to require configuration be done OUTSIDE of the implementation module rather than inside? Is there room for both configuration styles? Which makes more sense to you?</p>
<h1><a name="p-140017-old-style-1" class="anchor" href="#p-140017-old-style-1" aria-label="Heading link" rel="nofollow"></a>Old Style</h1>
<pre data-code-wrap="elixir"><code class="lang-elixir">defmodule MyGA do
   use Genex, crossover_type: :two_point
                       ...other opts...
</code></pre>
<h1><a name="p-140017-new-style-2" class="anchor" href="#p-140017-new-style-2" aria-label="Heading link" rel="nofollow"></a>New Style</h1>
<pre data-code-wrap="elixir"><code class="lang-elixir">defmodule MyGA do
   use Genex
   ...Implementation...
end

[population_size: 1000]
|&gt; use_crossover(:two_point)
|&gt; use_selection(:random)
|&gt; MyGA.run()
</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="140017" 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/genex-genetic-algorithms-in-elixir/24430/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-140017" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="140017"
                     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="140029" data-post-id="140029">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>My preference after playing around with the code is the <strong>New Style</strong>. There would be a temptation to (falsely) tinker with the basic algorithm parts in order to “tune” a particular problem and tie its formulation too much to the solution approach. Other optimisation libraries keep the problem definition separate from the algorithm chosen to solve that problem.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="140029" 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/genex-genetic-algorithms-in-elixir/24430/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-140029" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="140029"
                     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="142324" data-post-id="142324">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="seanmor5" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/seanmor5/120/20610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  seanmor5
                    <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 class="user-title">
									<span>Author of Genetic Algorithms in Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey guys, sorry I haven’t been able to put much time into this library due to school; however, I have a quick announcement and update.</p>
<p>First, I added a new function <code>interactive/2</code> up on the master branch for creating Interactive Genetic Algorithms. Basically, you call <code>interactive/2</code> in your <code>fitness_function/1</code> definition.</p>
<p>The function accepts <code>chromosome</code> and <code>view</code> which is a function for displaying the Chromosome struct. It defaults to <code>IO.inspect</code>.</p>
<p>This came from a paper I read on Web Design Optimization using GAs. Basically, each Chromosome is displayed to a user and THEY determine the fitness based on some arbitrary criteria. In the case of web pages, it was on how appealing the page looked.</p>
<p>This concept was pretty cool to me so I added the functionality to Genex. You can see the example in the <code>examples</code> directory.</p>
<h1><a name="p-142324-v10-update-1" class="anchor" href="#p-142324-v10-update-1" aria-label="Heading link" rel="nofollow"></a>v1.0 Update</h1>
<p>I am pushing towards v1.0 slowly but surely. This will include major restructuring of the library and introduce a bunch of new and exciting concepts including Multi-Objective Optimization, Multiple Populations, Customizable Evolutions, different reinsertion strategies, etc. I’m also working on a Web Visualizer of GAs using Phoenix Live View.</p>
<p>I expect v1.0 to be pretty full featured and well-tested when it’s released, and because my time is limited with school, I don’t anticipate it will be out for another month or two.</p>
<p>I plan to use this library for some Academic Research (not just trivial examples like I have been), so expect some pretty cool things in the near future!</p>
<p>If anybody wants to help out, let me know!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="142324" data-batch-url="/posts/batch_likers">
                        6
                      </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/genex-genetic-algorithms-in-elixir/24430/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-142324" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="142324"
                     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="168306" data-post-id="168306">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="seanmor5" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/seanmor5/120/20610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  seanmor5
                    <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 class="user-title">
									<span>Author of Genetic Algorithms in Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<h1><a name="p-168306-genex-v100-beta-released-1" class="anchor" href="#p-168306-genex-v100-beta-released-1" aria-label="Heading link" rel="nofollow"></a>Genex v1.0.0-beta Released</h1>
<p><a href="https://github.com/seanmor5/genex/releases/tag/v1.0.0-beta" rel="noopener nofollow ugc">source</a><br>
<a href="https://hex.pm/genex" rel="nofollow">hex</a></p>
<p>Hey everbody, I’m not sure if anybody actually uses this library, but I have a ton of fun developing it and I’ve used it for some research projects too.</p>
<p>Anyway, I’ve just released the beta version of v1.0.0. It’s beta because there’s not much documentation or testing done, but the design of the library will pretty much remain the same. v1.0 has some major breaking changes, but it’s super powerful and I’m really excited about what you can do with Genex right now.</p>
<h2><a name="p-168306-whats-new-2" class="anchor" href="#p-168306-whats-new-2" aria-label="Heading link" rel="nofollow"></a>What’s New</h2>
<ul>
<li>Changed <code>encoding/0</code> to <code>genotype/0</code>. Semantic change for correctness.</li>
<li>New Crossover, Selection, Mutation Operators.</li>
<li>Support for Multi-Objective Optimization</li>
<li>Ability to fully customize every step of an evolution.</li>
<li>Hall of Fame to track best solutions.</li>
<li>Ability to save and load evolutions.</li>
<li>Ability to represent solutions as any Enum datatype.</li>
<li>Addition of several convenient generation functions.</li>
<li>Addition of several benchmark functions for GP, SOC, MOC, Binary GAs, etc.</li>
<li>Addition of penalty functions for constraint problems.</li>
<li>Addition of interactive genetic algorithms.</li>
<li>Ability to create custom visualizations through visualization behaviour.</li>
</ul>
<h2><a name="p-168306-whats-next-3" class="anchor" href="#p-168306-whats-next-3" aria-label="Heading link" rel="nofollow"></a>What’s Next</h2>
<p>I have a lot of really cool things planned, but my time is pretty off and on with school and other obligations. I plan to start posting about some of the awesome things you can do with Genex soon, time willing.</p>
<p>If anybody wants to see anything in particular added in, or has any questions about the library, please feel free to reach out to me. I hope somebody out there finds some use out of this, if only to mess around and have fun!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="168306" 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/genex-genetic-algorithms-in-elixir/24430/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-168306" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="168306"
                     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="168309" data-post-id="168309">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I probably already told you this buy I did a genetic algorithm in university for the backpack problem (in Java, don’t laugh that’s all I knew at the time) and it was a ton of fun. I truly think the potential of genetic algorithms has yet to be realized. Thanks for this.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="168309" 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/genex-genetic-algorithms-in-elixir/24430/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-168309" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="168309"
                     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>
    <div class="postbit" id="168312" data-post-id="168312">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="seanmor5" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/seanmor5/120/20610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  seanmor5
                    <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 class="user-title">
									<span>Author of Genetic Algorithms in Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I agree! I believe Genetic Algorithms will play a hand in some ground breaking developments in the future - they’re so simple, but they can do so much.</p>
<p>Most of this library is for my own research and discovery. I find things in papers, other libraries, etc. that I like and try to implement them. I’m happy other people get some enjoyment out of it as well.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="168312" 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/genex-genetic-algorithms-in-elixir/24430/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-168312" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="168312"
                     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>
</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/24430/load_more?page=3">Load more posts (1 remaining)</a>
</div></template></turbo-stream>