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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I talked chat gpt through writing me a neural network with a exponential decayed potentiation to increase the likely hood of re triggering again after a recent trigger event in elixir. It was on par with a junior ish developer in terms of what mistakes it would make but it was fast and far cheaper than my hiring someone to basic plumbing/setup work. It will be a mistake to overlook this area regardless of the immaturity of the current generation of tooling.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279119" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-279119" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279119"
                     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 #31"></div>
  </section>
</div>
    <div class="postbit" id="279124" data-post-id="279124">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I was pumped by ChatGPT at first, now I’m just worried of the damage it will do. I’ve used it almost daily in the past month, for ideation, code generation (learning Elixir), asking quick facts, and it has a scary high ratio of just giving you garbage super confidently, both with code and simple conversations.</p>
<p>For example, I asked when a certain person won the world championship in some sport. It gave me a wrong answer. But it was so wrong, that it even gave completely fictional details about city &amp; country of contest, athlete names, years. When pressing that the answer is not correct, it made up stuff again. This went on for 5 or 6 rounds, confidently spitting out lies. When this happens with code, especially if it’s generating issues with edge-cases that you don’t realize at first, there’ll be way more time lost than won with the scaffolding.</p>
<p>I’ll park my initial enthusiasm and will revisit ChatGPT &amp; co in a couple of months.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279124" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/33">Post #32</a>
	                </div>
	            </div>
              <div id="likers-container-279124" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279124"
                     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 #32"></div>
  </section>
</div>
    <div class="postbit" id="279137" data-post-id="279137">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="woohaaha" data-post="15" data-topic="53931">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/w/a3d4f5/48.png" class="avatar"> woohaaha:</div>
<blockquote>
<p>Case in point: When we first launched GitHub Copilot for Individuals in June 2022, more than 27% of developers’ code files on average were generated by GitHub Copilot. Today, GitHub Copilot is behind an average of 46% of a developers’ code across all programming languages—and in Java, that number jumps to 61%.</p>
</blockquote>
</aside>
<p>I believe this was written in a confusing way. The <a href="https://github.blog/2023-02-14-github-copilot-now-has-a-better-ai-model-and-new-capabilities/" rel="nofollow">following chart from the article</a> is a bit clearer in that those numbers mean suggestions acceptance rate. So 46% of the suggestions were accepted but this is a quantitative measure and it makes sense they are higher for Java as it has more boilerplate. But here is what I would love to know:</p>
<ol>
<li>
<p>If 54% of the suggestions are rejected, does it mean I need to parse a suggestion and then <em>discard</em> it? Which would mean that most of the time suggestions could be slowing me down?</p>
</li>
<li>
<p>What is the time taken to accept or reject a suggestion?</p>
</li>
<li>
<p>Does Copilot tracks what happens with a suggestion? Maybe it is accepted and then it is immediately changed or removed because it was wrong?</p>
</li>
</ol>
<p>In any case, I believe there are two separate discussions here, and they are getting mixed.</p>
<ol>
<li>
<p>Are the AI tools in a state where we can consider them trustworthy or generally acceptable? To me the answer is no. Besides a huge potential copyright issue on tools like Copilot, which has made some organizations ban certain AI tools altogether, there is still a lot to improve. For example, researchers have found that code generated by OpenAI’s Codex <a href="https://www.theregister.com/2021/08/25/github_copilot_study/" rel="nofollow">contained</a> security vulnerabilities 40% of the time. However, <em>the tools will improve</em> as there is a large amount of techniques and ideas that still have to explored and potentially adopted (such as reinforcement learning with static and security analysis!).</p>
</li>
<li>
<p>That brings us to the second discussion: should we do what is necessary to get Elixir working with more AI tools? To me, the answer is a 100% yes, because it will only get better and it is <a href="https://github.com/microsoft/CodeXGLUE" rel="nofollow">not only about code completion</a>.</p>
</li>
</ol> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279137" data-batch-url="/posts/batch_likers">
                        15
                      </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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/34">Post #33</a>
	                </div>
	            </div>
              <div id="likers-container-279137" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279137"
                     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>
    <div class="postbit" id="279141" data-post-id="279141">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I think we’ve seen this here on the forum as well. Newbies pasting a piece of code and asking why it doesn’t work, without explaining what they were trying to do with it in the first place. Often, the code isn’t even syntactically valid.</p>
<p>Also, I remember reading about somebody asking how to transpose a matrix in Elixir. ChatGPT insisted that there is a <code>transpose</code> function in the standard library. It even generated a working implementation when asked to show the source code.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279141" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/35">Post #34</a>
	                </div>
	            </div>
              <div id="likers-container-279141" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279141"
                     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 #34"></div>
  </section>
</div>
    <div class="postbit" id="279205" data-post-id="279205">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>My last comment on ChatGPT will be this:</p>
<p>I asked a dev on my team to build a pretty simple feature using Phoenix channels. We sketched out the basic architecture, they said they understood, and off they went. Some very long time later they came back with a working prototype, but it did not adhere to our design. Specifically, it was pushing data from one channel to the client, which was sending it back up to a different channel, rather than sending it from one process to another directly as we planned. When I asked what was up with that, they said they couldn’t figure out how to get that piece working, and <strong>they asked ChatGPT which told them it was not possible</strong>. So there was a whole suite of javascript functions responsible only for listening for different data events and sending them right back. This was despite having the relevant documentation at hand. But why fuss with sometimes confusing documentation when you can just ask an elaborate magic 8 ball?</p>
<p>My first experience with “AI” programming in the wild and sadly, yes, probably not my last.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279205" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/36">Post #35</a>
	                </div>
	            </div>
              <div id="likers-container-279205" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279205"
                     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 #35"></div>
  </section>
</div>
    <div class="postbit" id="279209" data-post-id="279209">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="tfwright" data-post="36" data-topic="53931">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/tfwright/48/20299_2.png" class="avatar"> tfwright:</div>
<blockquote>
<p>My first experience with “AI” programming in the wild and sadly, yes, probably not my last.</p>
</blockquote>
</aside>
<p>I can’t wait to write “Write me a state machine in Elixir which can keep track of daily routines” and then “Write me a LiveView frontend for the backend in the visual style of other views” and knowing the code is excellent.</p>
<p>This way I would only have to create really unique things that require human capabilities. No more plumbing, just “snippets on steroids”.</p>
<p>But we are not there yet.</p>
<p>Ps. We better learn how to “ask” best as the quality of the input largely influences the quality of the outcome. For reference: geek vs noob search results <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> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279209" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/37">Post #36</a>
	                </div>
	            </div>
              <div id="likers-container-279209" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279209"
                     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 #36"></div>
  </section>
</div>
    <div class="postbit" id="279266" data-post-id="279266">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I haven’t used this to generate code, but I’ve asked a few Elixir-related questions using <a href="https://phind.com/" rel="noopener nofollow ugc">https://phind.com/</a> and have had great results. The responses all have references, so I’ve found it to be a pretty great “shortcut to the right docs” in a couple cases where it wasn’t clear where to go first.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279266" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/38">Post #37</a>
	                </div>
	            </div>
              <div id="likers-container-279266" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279266"
                     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 #37"></div>
  </section>
</div>
    <div class="postbit" id="279267" data-post-id="279267">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>After reading the posts, it seems that there are mixed opinions, the only question that was not addressed: can a matrix of computed weights (witch such technologies are) that is not capable of understanding concepts be capable of solving a problem? the short answer is no.</p>
<p>If such a technology is capable of replacing people, then it means that the work they do could be automated long ago, AI was never needed for this, all this scaffolding and plumbing problem you are talking about so often seems to be more of an organizational problem than related to the limits of engineering.</p>
<p>As for my last five cents, products like copilot and chatgpt will always be biased, because they are commercial products and their main scope is to make profit, not your life easier, this is true now more than ever, where consumerism is more important than innovation.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279267" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/39">Post #38</a>
	                </div>
	            </div>
              <div id="likers-container-279267" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279267"
                     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 #38"></div>
  </section>
</div>
    <div class="postbit" id="279299" data-post-id="279299">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>That’s crazy. I understand using ChatGPT to test its capabilities and play with them, but there are actually developers using it to help them code?</p>
<p>IMHO most people in this thread underestimate how much AI will disrupt our space, just like artists and designers thought for the longest time that AI would never be a problem for them. Nothing to really worry about for the next few years, but I dread a little being forced to use this kind of tool in order to stay competitive in the future.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279299" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/40">Post #39</a>
	                </div>
	            </div>
              <div id="likers-container-279299" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279299"
                     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 #39"></div>
  </section>
</div>
    <div class="postbit" id="279313" data-post-id="279313">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I think the point is developers can use AI to help them <em>not code</em>. That’s the selling point. It sounds good, because people hear it and think “more productivity, less work”, which is not untrue. Of course, like any tool, there are dangers to being too reliant on it. But in the case of AI, I think the very words we use to describe it, starting with “intelligence,” give the false impression that if you have this tool, you don’t <em>need</em> to know what you’re doing. And that is something we should all be very suspicious of, concerned about even, and not really because we fear for our jobs.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="279313" 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/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/41">Post #40</a>
	                </div>
	            </div>
              <div id="likers-container-279313" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="279313"
                     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 #40"></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/53931/load_more?page=5">Load more posts (46 remaining)</a>
</div></template></turbo-stream>