<div dir="ltr"><div>Hi,</div><div><br></div><div>What am I missing here  ?</div><div>All morphs already show their hash.</div><div><br></div><div>Morph new printString 'a Morph(3577889)'<br>Object new printString 'an Object'</div><div><br></div><div><br></div><div>Morph>>printOn: aStream <br>  | aName |<br>     super printOn: aStream.<br>       (aName := self knownName) notNil <br>             ifTrue: [aStream nextPutAll: '<' , aName , '>'].<br>        aStream nextPutAll: '('.<br>      aStream<br>               print: self identityHash;<br>             nextPutAll: ')'</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 5, 2020 at 1:55 PM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>

<div id="gmail-m_-4658287290379457419divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Preference would be better than enforcing this change, IMO.</p>
<div id="gmail-m_-4658287290379457419Signature">
<div id="gmail-m_-4658287290379457419divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="divtagdefaultwrapper">
<div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody">
<div id="gmail-m_-4658287290379457419Item.MessageUniqueBody" style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont">
<div dir="ltr">
<div id="gmail-m_-4658287290379457419divtagdefaultwrapper"><font face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols">
<div id="gmail-m_-4658287290379457419Signature">
<div style="margin:0px"><font style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont">
<div><font size="3" color="black"><span style="font-size:12pt"><a href="http://www.hpi.de/" rel="noopener noreferrer" id="gmail-m_-4658287290379457419LPNoLP" target="_blank"><font size="2"><span id="gmail-m_-4658287290379457419LPlnk909538"><font color="#757B80"></font></span></font></a></span></font></div>
</font></div>
</div>
</font></div>
</div>
</div>
</div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><br>
</div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody">> <span>It may also be sufficient to show the first N digits of the hash.</span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span><br>
</span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span>Hm, how "unique" would that be? That could be confusing if you are inspecting two different objects that have similar hashes.</span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span><br>
</span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span>Just another idea (but this one would probably rather belong into a new tool): By sending an universal message such as #flash to an object, all open inspectors/explorers could visually signalize that they
 are referring to this particular instance. Maybe this message could be sent also automatically whenever you focus an inspector as well ... Similar to that feature you know from many editors to highlight all occurrences of the selected token, just with windows:</span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span><img size="1174" id="gmail-m_-4658287290379457419img354285" style="max-width: 99.9%;" src="cid:1728477a02ff456b1e51"></span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span><br>
</span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span>Best,</span></div>
<div id="gmail-m_-4658287290379457419Item.MessagePartBody"><span>Christoph</span></div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-4658287290379457419divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Fabio Niephaus <<a href="mailto:lists@fniephaus.com" target="_blank">lists@fniephaus.com</a>><br>
<b>Gesendet:</b> Freitag, 5. Juni 2020 13:48:18<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] Object>>printOn: refined.</font>
<div> </div>
</div>
<div>
<div><br>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 5 Jun 2020 at 1:45 pm, Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div id="gmail-m_-4658287290379457419m_6282354936303940037divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>personally, I am not convinced by displaying the identityHash in each and every inspector window title as shown in Trygve's screenshot. They just make the overall inspector experience a lot more cryptical, compared to a rather small benefit. Also, in my
 image #asOop returns seven-digit numbers which would cost too much space in the title bars. I think identity comparison is only actually redundant in certain domains or situations, most time you will only open a few inspectors at all.</p>
<p><br>
</p>
<p>Isn't there any possibility to show these IDs only on demand? Or can we find a better way to visualize identity than numbers? Maybe a small individual pixel pattern, or shorter IDs that are only unique amongst the class of the inspected object?</p>
</div>
</div>
</blockquote>
<div dir="auto">Make it a preference? It may also be sufficient to show the first N digits of the hash. Could be just one preference: "Number of hash digits shown in inspectors".</div>
<div dir="auto"><br>
</div>
<div dir="auto">Fabio</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div id="gmail-m_-4658287290379457419m_6282354936303940037divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p></p>
<p><br>
</p>
<p>Also, please note that having the #<span>reuseWindows preference enabled, this hash is redundant at all because it is not possible to inspect the same object twice.</span></p>
<p><span><br>
</span></p>
<p><span>Best,</span></p>
<p><span>Christoph</span></p>
<div id="gmail-m_-4658287290379457419m_6282354936303940037Signature">
<div id="gmail-m_-4658287290379457419m_6282354936303940037divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="divtagdefaultwrapper">
<div>
<div id="gmail-m_-4658287290379457419m_6282354936303940037Item.MessagePartBody">
<div id="gmail-m_-4658287290379457419m_6282354936303940037Item.MessageUniqueBody" style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont">
<div dir="ltr">
<div id="gmail-m_-4658287290379457419m_6282354936303940037divtagdefaultwrapper"><font face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols">
<div id="gmail-m_-4658287290379457419m_6282354936303940037Signature">
<div style="margin:0px"><font style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont">
<div><font size="3" color="black"><span style="font-size:12pt"><a href="http://www.hpi.de/" rel="noopener noreferrer" id="gmail-m_-4658287290379457419m_6282354936303940037LPNoLP" target="_blank"><font size="2"><span id="gmail-m_-4658287290379457419m_6282354936303940037LPlnk909538"><font color="#757B80"></font></span></font></a></span></font></div>
</font></div>
</div>
</font></div>
</div>
</div>
</div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-4658287290379457419m_6282354936303940037divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>>
 im Auftrag von Chris Muller <<a href="mailto:ma.chris.m@gmail.com" target="_blank">ma.chris.m@gmail.com</a>><br>
<b>Gesendet:</b> Donnerstag, 4. Juni 2020 21:58:51<br>
<b>An:</b> Taeumel, Marcel<br>
<b>Cc:</b> squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] Object>>printOn: refined.</font>
<div> </div>
</div>
</div>
<div>
<div>
<div dir="ltr">
<div dir="ltr"></div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div id="gmail-m_-4658287290379457419m_6282354936303940037gmail-m_4079852454106995457__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0)">
> <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">You +1'd the idea of sending #asOop from #printOn:.</span>
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br>
</span></div>
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Nope. I +1'd the idea to be applied to #defaultLabelForInspector because of that "super" issue.</span></div>
</div>
</blockquote>
<div><br>
</div>
<div>Ah, I beg your pardon.  My mistake.</div>
<div> - Chris</div>
</div>
</div>
</div>
</div>
<br>
</blockquote>
</div>
</div>
</div>
</div>

<br>
</blockquote></div>