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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="cjbottaro" data-post="682" data-topic="113">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/cjbottaro/48/1469_2.png" class="avatar"> cjbottaro:</div>
<blockquote>
<p>and is easy to horizontally scale in a Kuberentes environment.</p>
</blockquote>
</aside>
<p>I want to expound on this. Most of our “RPC” and API Elixir services do not have a queue of any sort. Similar to Phoenix, when a web request comes in, a task/process is spawned to handle it. If there are 1000 requests, then 1000 tasks/processes are spawned; nothing is queued.</p>
<p>This works well with Kubernetes and its HPA (horizontal pod autoscaling) feature which is (can be) triggered off of CPU usage.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="259965" 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/what-elixir-related-stuff-are-you-doing/113/683">Post #682</a>
	                </div>
	            </div>
              <div id="likers-container-259965" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="259965"
                     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 #682"></div>
  </section>
</div>
    <div class="postbit" id="259971" data-post-id="259971">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><img src="https://forum.elixirforum.com/images/emoji/apple/joy.png?v=15" title=":joy:" class="emoji" alt=":joy:" loading="lazy" width="20" height="20"> <a href="https://github.com/filipmnowak/ex_tic_tac_toe" class="inline-onebox" rel="noopener nofollow ugc">GitHub - filipmnowak/ex_tic_tac_toe: Elixir, MapSet-based, variable board size, Tic-tac-toe implementation (WIP) · GitHub</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="259971" 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/what-elixir-related-stuff-are-you-doing/113/684">Post #683</a>
	                </div>
	            </div>
              <div id="likers-container-259971" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="259971"
                     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 #683"></div>
  </section>
</div>
    <div class="postbit" id="260860" data-post-id="260860">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Actually learning Phoenix by making an RSS feed</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="260860" 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/what-elixir-related-stuff-are-you-doing/113/685">Post #684</a>
	                </div>
	            </div>
              <div id="likers-container-260860" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="260860"
                     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 #684"></div>
  </section>
</div>
    <div class="postbit" id="261355" data-post-id="261355">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Starting to extract the notification and reminder system from my Reservations Calendar (<a href="https://reservationscalendar.com" rel="noopener nofollow ugc">https://reservationscalendar.com</a>) to be its own external service.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="261355" 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/what-elixir-related-stuff-are-you-doing/113/686">Post #685</a>
	                </div>
	            </div>
              <div id="likers-container-261355" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="261355"
                     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 #685"></div>
  </section>
</div>
    <div class="postbit" id="268803" data-post-id="268803">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Mostly feature development for <a href="http://Paraxial.io" rel="noopener nofollow ugc">Paraxial.io</a>, published a few blog posts about Elixir/Phoenix security, going deeper on LiveView.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="268803" 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/what-elixir-related-stuff-are-you-doing/113/687">Post #686</a>
	                </div>
	            </div>
              <div id="likers-container-268803" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="268803"
                     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 #686"></div>
  </section>
</div>
    <div class="postbit" id="275084" data-post-id="275084">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Bumping this thread that I always enjoy reading.</p>
<p>I make optics and build telescopes for a hobby, and surprisingly found myself building my next telescope with Elixir ! This one is special as it will be used as a daytime camera, so it won’t see a star and will work with finite object distances (stars are considered to be at optical infinity).</p>
<p>First, I dug a bit of optical theory and papers (since I don’t have a math background) and wrote small utilities to calculate the best mirror shape for this terrestrial scope. Then, 2D raytracing (in the optical sense, not in the graphics sense) calculations for a parabolic mirror, then a depth of field simulation that allowed me to play a bit more with Rustler.<br>
The project evolved to simulate the future scope with a three.js scene representing the telescope, controlled by a web UI with websockets and a genserver holding and transitioning telescope state.<br>
Now, I’m digging into doing serial from Elixir to communicate with the arduino that will be responsible of moving the physical telescope and live-displaying a picture.</p>
<p>All of this will run on a MangoPi, a small single-core 1GHz RISC-V board. What really excites me is how the current phoenix “telescope simulator” runs on it. Despite the weak single core, I can run a heavy picture generation task in the background taking ~15s while the websocket communicaton stays snappy. Both the background task and the foreground tasks are a bit slowed down, but everything stays responsive on this €25 board.</p>
<p>When I’m done, I’ll do a full write-up on that. Currently preparing a blog post for each step, but it’ll be better to share the whole thing.</p>
<p>So, as of jan 2023, I still think my 2018 decision to go all-in on Elixir was a good one, despite being able to identify what I’d like to be different, or what I’m missing from other languages.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="275084" data-batch-url="/posts/batch_likers">
                        9
                      </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/what-elixir-related-stuff-are-you-doing/113/688">Post #687</a>
	                </div>
	            </div>
              <div id="likers-container-275084" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="275084"
                     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 #687"></div>
  </section>
</div>
    <div class="postbit" id="275086" data-post-id="275086">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="gus" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/gus/120/37315_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  gus
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Nerves Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>That sounds really cool! Would you mind elaborating more on how you managed to integrate your 3D CAD design with the LiveView simulator and three.js? I’m about to embark on a similar task to use elixir/nerves to control hardware via an Arduino, and I’m looking into ways of showing the current hardware position on the user interface. My friend is supplying the CAD files, so I don’t have much experience with the modeling.</p>
<p>Thanks!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="275086" 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/what-elixir-related-stuff-are-you-doing/113/689">Post #688</a>
	                </div>
	            </div>
              <div id="likers-container-275086" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="275086"
                     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 #688"></div>
  </section>
</div>
    <div class="postbit" id="275087" data-post-id="275087">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi ! I’m not using LiveView here.</p>
<p>Basically, I have a GenServer representing telescope state : current altitude position, current azimuth position. When I click on the UI button to move left in azimuth, a “turn left” event is sent to this GenServer, which enters a loop simulating movement at 0.1deg each 16ms. Each state update is broadcast on the websocket. When I release the button, a “stop moving” event is sent, breaking the loop. This mimics how the physical buttons will be used.</p>
<p>On the UI side, I “just” listen to websocket events and update the rotation of the two scope parts (base moving in azimuth, arm moving in altitude). It’s really rough at the moment and looks like this, but the POC works :</p>
<p>          <a href="https://lucassifoni.info/pics/photoscope_6/03.png" target="_blank" rel="noopener nofollow ugc" class="onebox">
            <img src="https://lucassifoni.info/pics/photoscope_6/03.png" width="690" height="328">
          </a>
</p>
<p>On the physical telescope, I’ll have position encoders (and endstops : I need endstops to avoid a code mistake breaking something) filling this role of updating state, so Elixir will be able to know the absolute position of the telescope.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="275087" 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/what-elixir-related-stuff-are-you-doing/113/690">Post #689</a>
	                </div>
	            </div>
              <div id="likers-container-275087" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="275087"
                     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 #689"></div>
  </section>
</div>
    <div class="postbit" id="275179" data-post-id="275179">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Recently got vulnerability management shipped in <a href="http://Paraxial.io" rel="noopener nofollow ugc">Paraxial.io</a>, here’s the announcement post: <a href="https://paraxial.io/blog/vuln-scan" class="inline-onebox" rel="noopener nofollow ugc">Announcing Vulnerability Scanning and Management for Elixir</a></p>
<p>It tracks findings from Sobelow (application code vulnerabilities), mix deps.audit (for vulnerable dependencies) and mix hex.audit (for dependencies that are retired). There are a few other vendors on the market that do something similar, like Snyk, but that only tracks vulnerable dependencies.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="275179" data-batch-url="/posts/batch_likers">
                        7
                      </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/what-elixir-related-stuff-are-you-doing/113/691">Post #690</a>
	                </div>
	            </div>
              <div id="likers-container-275179" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="275179"
                     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 #690"></div>
  </section>
</div>
    <div class="postbit" id="277888" data-post-id="277888">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’ve started to create a location based web app to help locate mobile pharmacies and hospitals for the earthquake that happened in Turkey, on Feb 6th, 2023. Help needed. Thank you.</p>
<p><a href="https://github.com/nesimtunc/sahraeczane" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/nesimtunc/sahraeczane</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="277888" data-batch-url="/posts/batch_likers">
                        8
                      </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/what-elixir-related-stuff-are-you-doing/113/692">Post #691</a>
	                </div>
	            </div>
              <div id="likers-container-277888" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="277888"
                     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 #691"></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/113/load_more?page=69">Load more posts (237 remaining)</a>
</div></template></turbo-stream>