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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="hashtag-cooked" href="/tag/genserver/1929" data-type="tag" data-slug="genserver" data-id="1929" data-style-type="icon" data-icon="tag" rel="nofollow"><span class="hashtag-icon-placeholder"><svg class="fa d-icon d-icon-square-full svg-icon svg-node"><use href="#square-full"></use></svg></span><span>genserver</span></a><br>
Here is the complete article with a clean explanation which removes your confusion on when &amp; where to use the server callbacks explaining with live examples.</p>
<p><a href="https://medium.com/blackode/when-and-where-to-use-cast-cal-info-messages-in-elixir-erlang-genserver-9baf937b6494#.qrls86a0w" rel="noopener nofollow ugc"><img src="https://forum.elixirforum.com/uploads/default/original/2X/3/386ce732f07094934ec43b8959b5935d89848f68.png" width="690" height="383"></a><br>
<a href="https://medium.com/blackode/when-and-where-to-use-cast-cal-info-messages-in-elixir-erlang-genserver-9baf937b6494#.qrls86a0w" rel="noopener nofollow ugc">medium article</a></p>
<p>Happy coding !!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="37391" data-batch-url="/posts/batch_likers">
                        5
                      </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/elixir-blog-posts/150/143">Post #142</a>
	                </div>
	            </div>
              <div id="likers-container-37391" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="37391"
                     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 #142"></div>
  </section>
</div>
    <div class="postbit" id="37394" data-post-id="37394">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<h1><a name="p-37394-medium-article-1" class="anchor" href="#p-37394-medium-article-1" aria-label="Heading link" rel="nofollow"></a>Medium Article</h1>
<p>Here I wrote an article over <a href="https://medium.com/blackode/elixir-fishy-coding-lines-and-snippets-7cdd995e5ad4#.zddf7ko1q" rel="noopener nofollow ugc">medium.com</a><br>
Here is Video You can find about explaining the article and  executing the code lines with brief Explanation</p>
<p>Click on <a href="https://www.youtube.com/watch?v=G0KkZC2vXDo" rel="noopener nofollow ugc">YouTube</a><br>
As I just started to share what I learned in Elixir need your valuable feedback. <img src="https://forum.elixirforum.com/images/emoji/apple/bouquet.png?v=15" title=":bouquet:" class="emoji" alt=":bouquet:" loading="lazy" width="20" height="20"> <img src="https://forum.elixirforum.com/images/emoji/apple/bouquet.png?v=15" title=":bouquet:" class="emoji" alt=":bouquet:" loading="lazy" width="20" height="20"></p>
<p>I receive your feedback with great honor.</p>
<p>Thank U.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="37394" data-batch-url="/posts/batch_likers">
                        5
                      </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/elixir-blog-posts/150/144">Post #143</a>
	                </div>
	            </div>
              <div id="likers-container-37394" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="37394"
                     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 #143"></div>
  </section>
</div>
    <div class="postbit" id="37397" data-post-id="37397">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just wrote an article specially for beginners explaining each and every part in clear about GenServer &amp;  GenServer Testing. I just wrote while I am learning in parallel.  If I missed anything or anything is wrong means just review it. It is very long which I haven’t expected that it could lead me to write such big one.</p>
<blockquote>
<p>Your Time is so precious. Read only when you are free.<br>
<a href="https://medium.com/@blackode/live-example-of-genserver-and-genserver-testing-ed55c8eb4f76#.el9sv81c9" rel="noopener nofollow ugc">https://medium.com/@blackode/live-example-of-genserver-and-genserver-testing-ed55c8eb4f76#.el9sv81c9</a></p>
</blockquote>
<p>I welcome your reviews with great honor.<br>
Thank you.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="37397" data-batch-url="/posts/batch_likers">
                        5
                      </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/elixir-blog-posts/150/145">Post #144</a>
	                </div>
	            </div>
              <div id="likers-container-37397" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="37397"
                     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 #144"></div>
  </section>
</div>
    <div class="postbit" id="37400" data-post-id="37400">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<h2><a name="p-37400-building-elixir-packages-and-publishing-1" class="anchor" href="#p-37400-building-elixir-packages-and-publishing-1" aria-label="Heading link" rel="nofollow"></a>Building Elixir Packages and Publishing.</h2>
<p>Just now Published an article in the medium on the this topic hope this helps the beginners to enhance their ability.</p>
<h2><a name="p-37400-highlights-of-the-article-2" class="anchor" href="#p-37400-highlights-of-the-article-2" aria-label="Heading link" rel="nofollow"></a><strong>Highlights of the article</strong></h2>
<ol>
<li>Complete guide</li>
<li>Deep explanation of elixir project</li>
<li>Publishing Process</li>
<li>Each and Every file Explanation</li>
<li>Neat sketching</li>
<li>Explained from very basic</li>
<li>Screenshots.</li>
</ol>
<h2><a name="p-37400-to-whom-it-is-for-3" class="anchor" href="#p-37400-to-whom-it-is-for-3" aria-label="Heading link" rel="nofollow"></a>To whom it is for?</h2>
<p>Every one .<br>
specially for <strong>beginners</strong> as Explanation is concentrated in deep</p>
<p><a href="https://medium.com/@blackode/how-to-write-elixir-packages-and-publish-to-hex-pm-8723038ebe76#.vgul2bmmk" rel="noopener nofollow ugc">Build and Publish Your first Elixir Package</a></p>
<p>This is the complete guide. Click on the Image it will take you to the article.</p>
<p><a href="https://medium.com/@blackode/how-to-write-elixir-packages-and-publish-to-hex-pm-8723038ebe76#.vgul2bmmk" rel="noopener nofollow ugc"><img src="https://forum.elixirforum.com/uploads/default/original/2X/0/04d67120f326ee2274b9147d93dd8ab279fbddfd.png" width="690" height="388"></a></p>
<p>Hope this helps the beginners to write their own packages.<br>
I welcome your feed back with honor <img src="https://forum.elixirforum.com/images/emoji/apple/bouquet.png?v=15" title=":bouquet:" class="emoji" alt=":bouquet:" loading="lazy" width="20" height="20"> <img src="https://forum.elixirforum.com/images/emoji/apple/bouquet.png?v=15" title=":bouquet:" class="emoji" alt=":bouquet:" 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="37400" data-batch-url="/posts/batch_likers">
                        4
                      </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/elixir-blog-posts/150/146">Post #145</a>
	                </div>
	            </div>
              <div id="likers-container-37400" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="37400"
                     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 #145"></div>
  </section>
</div>
    <div class="postbit" id="37543" data-post-id="37543">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>An often confusing topic to new Elixir programmers is comprehensions. In this blog post, we will start from the most basic ideas and examples, and build on that to illustrate some cool patterns of advanced comprehensions widely useful across all sorts of applications.</p>
<p><a href="https://lute.io/getting-comprehensive-with-comprehensions/" class="onebox" target="_blank" rel="noopener nofollow ugc">https://lute.io/getting-comprehensive-with-comprehensions/</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="37543" 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/elixir-blog-posts/150/147">Post #146</a>
	                </div>
	            </div>
              <div id="likers-container-37543" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="37543"
                     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 #146"></div>
  </section>
</div>
    <div class="postbit" id="31024" data-post-id="31024">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I was going to open a new thread after reading this article from the ElixirRadar newsletter. Thank you! It was a great read.</p>
<p>In my programs I usually tend to use <code>map</code>, <code>filter</code> and <code>reduce</code> functions over comprehensions. I wanted to ask about general examples of when you people tend to use comprehensions over those functions.</p>
<p>Is there an <em>idiomatic</em> preference over when to use one over the other?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="31024" 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/elixir-blog-posts/150/148">Post #147</a>
	                </div>
	            </div>
              <div id="likers-container-31024" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="31024"
                     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 #147"></div>
  </section>
</div>
    <div class="postbit" id="31093" data-post-id="31093">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Qqwy" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Qqwy/120/1349_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Qqwy
                    <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>TypeCheck Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The main reason to use a comprehension, is its increased flexibility.</p>
<p>When this flexibility is not necessary, using map/filter/reduce etc… is more idiomatic.<br>
One thing that for-comprehensions can <em>not</em> do, is be pipelined, so in pipelines, the other functions are more frequently used. If you want to perform a slightly more complex manipulation of your data, though, it is good form to extract it to its own (private) function, in which case you can use whatever you want in its internals, of course.</p>
<p>Three things that only for-comprehensions provide are:</p>
<ul>
<li>Iterating over multiple collections at once. (all combinations of elements are then iterated over)</li>
<li>In one go store the result of the comprehension in another thing implementing the Collectable protocol. (The Enum functions are all built on top of <code>reduce</code> and therefore always build an intermediate list representation.)</li>
<li>Have boolean properties to exclude certain fields from the thing you are constructing. With the Enum functions, you usually need to use multiple steps after one-another (e.g. fist filter, then map) to do this.</li>
</ul> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="31093" 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/elixir-blog-posts/150/149">Post #148</a>
	                </div>
	            </div>
              <div id="likers-container-31093" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="31093"
                     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 #148"></div>
  </section>
</div>
    <div class="postbit" id="34097" data-post-id="34097">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Apparently, MS smelled the coffee and  put out   P-lang for IoT:<br>
<a href="https://github.com/p-org/P/blob/master/Doc/Manual/pmanual.pdf" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/p-org/P/blob/master/Doc/Manual/pmanual.pdf</a></p>
<p>Looking at  the syntax, reminds me of Erlang/Elixir…</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="34097" 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/elixir-blog-posts/150/150">Post #149</a>
	                </div>
	            </div>
              <div id="likers-container-34097" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="34097"
                     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 #149"></div>
  </section>
</div>
    <div class="postbit" id="34099" data-post-id="34099">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The IoT fight is on with Gosling lured to AWS: <a href="https://siliconangle.com/blog/2017/05/23/james-gosling-father-java-joins-amazon-web-services/" class="inline-onebox" rel="noopener nofollow ugc">Legendary engineer James Gosling, the 'Father of Java,' joins Amazon Web Services - SiliconANGLE</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="34099" 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/elixir-blog-posts/150/151">Post #150</a>
	                </div>
	            </div>
              <div id="likers-container-34099" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="34099"
                     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 #150"></div>
  </section>
</div>
    <div class="postbit" id="37424" data-post-id="37424">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>New post on the ElixirLuthier:</p>
<p>“While lots of attention is being given to web-based project in Elixir/Phoenix, I thought it might be fun to show how Elixir can be used for IoT projects and low-level hardware control. In this post, I will demonstrate how easy it is to stand up a GenServer that uses a device connected to the i2c bus that senses temperature and humidity (using the SHT31-D device).”</p>
<p>Read More:<br>
<a href="https://lute.io/sensing-hot-behavior/" class="onebox" target="_blank" rel="noopener nofollow ugc">https://lute.io/sensing-hot-behavior/</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="37424" data-batch-url="/posts/batch_likers">
                        5
                      </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/elixir-blog-posts/150/152">Post #151</a>
	                </div>
	            </div>
              <div id="likers-container-37424" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="37424"
                     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 #151"></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/150/load_more?page=15">Load more posts (1082 remaining)</a>
</div></template></turbo-stream>