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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Would there be anyway to have the hints showing in a connected terminal in a new window?</p>
<p>So on starting IEx it might say something like:</p>
<blockquote>
<p>Would you like us to show you hints in a new window? Y for yes or N for no</p>
</blockquote>
<p>If they say yes a new window would open and then every time an event occurs that triggers a hint it would show in that new window.</p>
<p>I think this could prevent any confusion arising from information overload. I am not sure about anyone else but I know that when I first started out things like Vim put me off because there was too much going on/to keep track off. This would also prevent interference with workflow and would make it more likely for experienced devs to turn this on (which will in turn make it more likely to get feedback/contributions).</p>
<p>With regards to hints themselves, if able to do them in a separate linked window like this - I say go to town <img src="https://forum.elixirforum.com/uploads/default/original/2X/6/6c3193d1dd46244da3c8c6f719c9f5e2abdd5ae8.gif?v=15" title=":003:" class="emoji emoji-custom" alt=":003:" loading="lazy" width="20" height="20"> and show a hint for every new item that is encountered:.</p>
<blockquote>
<p>Hey! You just used a List. Did you know Lists in Elixir are linked-lists and have a head and a tail…</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="23619" 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/proposal-iex-hints/3539/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-23619" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="23619"
                     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="23622" data-post-id="23622">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="AstonJ" data-post="32" data-topic="3539">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/48/15_2.png" class="avatar"> AstonJ:</div>
<blockquote>
<p>Would there be anyway to have the hints showing in a connected terminal in a new window?</p>
</blockquote>
</aside>
<p>Cool, but what about when connecting from a text-only terminal?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="23622" 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/proposal-iex-hints/3539/33">Post #32</a>
	                </div>
	            </div>
              <div id="likers-container-23622" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="23622"
                     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="23624" data-post-id="23624">
  <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
                    <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>Creator of Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks everyone for the feedback.</p>
<p>I am closing this proposal until we are aware of more places where a potential hint system would be helpful. Once we have enough hints, then we can discuss display mechanisms, enabling/disabling, etc.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="23624" 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/proposal-iex-hints/3539/34">Post #33</a>
	                </div>
	            </div>
              <div id="likers-container-23624" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="23624"
                     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 #33"></div>
  </section>
</div>
    <div class="postbit" id="23814" data-post-id="23814">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Just saw this thread, so apologies if I’m replying when it’s already closed.</p>
<p>I’ve seen people being puzzled when a struct which implements <code>Inspect</code> (e.g. <code>MapSet</code>) gets printed in a different form, maybe a hint would be useful there.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="23814" 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/proposal-iex-hints/3539/35">Post #34</a>
	                </div>
	            </div>
              <div id="likers-container-23814" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="23814"
                     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="23835" data-post-id="23835">
  <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>The opt-out approach of this feature looks like the way to go IMHO.</p>
<p>A place where I think a hint would be useful is the <code>r</code> function of iex. The documentation says:</p>
<blockquote>
<p>Since typespecs and docs are loaded from the .beam file (they are not loaded in<br>
memory with the module because there is no need for them to be in memory), they<br>
are not reloaded when you reload the module.</p>
</blockquote>
<p>Which I think that could be also a useful hint on the first <code>r</code> invocation.</p>
<p>I’ve also seen some confusion regarding the warning about module redefinition that appears after the module reloading. Some users think that they may have an error in their modules, while the warning is simply telling us that the module being reloaded. I’m talinkg about is this:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">iex(3)&gt; r MyProject.User
warning: redefining module MyProject.User (current version loaded from _build/dev/lib/my_project/ebin/Elixir.MyProject.User.beam)
  apps/my_project/lib/my_project/models/user.ex:1

{:reloaded, MyProject.User, [MyProject.User]}
</code></pre>
<p>This could be made more understandable to users, but I’m not sure if this would fall into the <em>errors must have better error messages</em> rule. What do you think <a class="mention" href="/u/josevalim" rel="nofollow">@josevalim</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="23835" 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/proposal-iex-hints/3539/36">Post #35</a>
	                </div>
	            </div>
              <div id="likers-container-23835" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="23835"
                     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="63222" data-post-id="63222">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Rather than full text hints, could we create some knowledge base on the web?</p>
<p>So iex will just return the link to that knowledge base.</p>
<pre><code>Enum.map([0, 1, 2], &amp; &amp;1 + 10)
'\n\v\f'

Hints: please visit https://elixir-lang.org/kb/45/ascii-char-in-single-quotes
</code></pre>
<p>With this kb, we can have better conversation when referring to hints.</p>
<p>“which hint are you talking about?”<br>
“this one: <a href="https://elixir-lang.org/kb/110/genserver-call-and-cast" rel="nofollow">https://elixir-lang.org/kb/110/genserver-call-and-cast</a>”</p>
<p>and if you want to update the hint, you could just update the kb on the web.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63222" 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/proposal-iex-hints/3539/39">Post #38</a>
	                </div>
	            </div>
              <div id="likers-container-63222" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63222"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></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>