<div dir="ltr"><div><div><div><div>It sounds like a left over...</div><div>no time stamp in Squeak, so it must be old.</div><div>Display reverse; reverse means we wanted to catch when such oddity was necessary.<br></div>(I would do it differently with an Exception and a MessageTally like I already exhibited several times)<br></div>The fact that reverse; reverse was commented is more difficult to interpret... Is it really necessary?</div><div>I removed the method in a Squeak image, and so fare nothing wrong happened, but it does not prove anything.<br></div>The best is to ask in Squeak lists, maybe someone can remember...<br></div>Or carefully analyze all senders of suspend...<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-18 22:36 GMT+01:00 Aliaksei Syrel <span dir="ltr"><<a href="mailto:alex.syrel@gmail.com" target="_blank">alex.syrel@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I was looking at <font color="#b45f06" face="monospace, monospace">nil</font> (already funny) and found a very interesting method:</div><div><br></div><div><pre class="m_-8820131352990008828gmail-rich-diff-level-zero" style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:10px 20px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;margin-left:15px;color:rgb(36,41,46)">suspend
   <span class="m_-8820131352990008828gmail-pl-c m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(106,115,125)"><span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span>Kills off processes that didn't terminate properly<span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span></span>
   <span class="m_-8820131352990008828gmail-pl-c m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(106,115,125)"><span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span>Display reverse; reverse.<span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span></span>  <span class="m_-8820131352990008828gmail-pl-c m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(106,115,125)"><span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span><-- So we can catch the suspend bug<span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span></span>
   <span class="m_-8820131352990008828gmail-pl-c1 m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(0,92,197)">Processor</span> terminateActive</pre></div><div>It means that the following code is probably the shortest way to kill your image (save first!)</div><div><br></div><div><pre class="m_-8820131352990008828gmail-rich-diff-level-zero" style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:10px 20px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;margin-left:15px;color:rgb(36,41,46)"><span class="m_-8820131352990008828gmail-pl-c1 m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(0,92,197)">nil</span> suspend</pre></div><div>It terminates a UI process if evaluated from anywhere using CMD+d :D</div><br clear="all"><div><div class="m_-8820131352990008828gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Cheers,<div>Alex</div></div></div></div></div></div></div></div>
</div>
</blockquote></div><br></div>