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


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="APB9785" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/APB9785/120/24101_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  APB9785
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of ECSx</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<blockquote>
<p>I use elem(tuples, tuple_size(tuple, -1))</p>
</blockquote>
<p>Yes I know there is this workaround, but it is not the intended use of tuples.  From the <a href="https://hexdocs.pm/elixir/1.12/Tuple.html" rel="noopener nofollow ugc">docs</a>:</p>
<blockquote>
<p>Tuples are intended as fixed-size containers for multiple elements. To manipulate a collection of elements, use a list instead. <a href="https://hexdocs.pm/elixir/1.12/Enum.html" rel="noopener nofollow ugc"><code>Enum</code></a> functions do not work on tuples.</p>
</blockquote>
<p>…</p>
<blockquote>
<p>But then how will I utilize the :u or :j … Thats a bit of a confusing part. It’s necessary for my structure.</p>
</blockquote>
<p>If you want advice on this, you must give us some more details about <em>why</em> it is necessary (i.e. how this data is used by your API)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="220255" 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/how-to-find-unique-values-by-two-parameters/41079/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-220255" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="220255"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-most-liked cat-most-liked" title="One of the top 3 liked posts in this thread!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>