<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jaromir,<br>
<br>
On 7/5/2022 7:41 AM, Jaromir Matas via Cuis-dev wrote:
<blockquote
cite="mid:BYAPR03MB407200615E90332EDF011647EE819@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
{mso-style-priority:1;
margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Hi Juan,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you very much; I learn a lot from
your feedback.</p>
</div>
</blockquote>
<o:p><br>
Thank you too. I'm also learning from these exercises. It is nice
to use Smalltalk as it is meant to be used: a place to experiment,
learn and build, and share as we do it. Doing it as a bunch is
much better than by oneself!<br>
<br>
</o:p>
<blockquote
cite="mid:BYAPR03MB407200615E90332EDF011647EE819@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">Question: Did you leave your previous
update #5347 off from #newProcessIfUI: intentionally or by
mistake? The example in the comment now blocks the UI... I'm
attaching a simplified version of the previous proposal just
in case... </p>
</div>
</blockquote>
<br>
My intention was to remove the call to #terminate, as it is now
superfluous thanks to your better #mainLoop. I also removed the call
to #newUIProcessIfNeeded by mistake. I kind of integrated your
change, adding it back.<br>
<br>
<blockquote
cite="mid:BYAPR03MB407200615E90332EDF011647EE819@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">but frankly, I barely know what I'm
doing... it's so interrelated and I can't foresee possible
impact of even a small change, sorry if I missed something.</p>
</div>
</blockquote>
<br>
Since you have started contributing to Cuis, you pushed me a little
beyond my comfort zone each time. It is easy to miss some detail! We
go, step by step, carefully. As we go, Cuis keeps improving and we
keep learning. Thanks for that.<br>
<br>
<blockquote
cite="mid:BYAPR03MB407200615E90332EDF011647EE819@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">One more question: in your previous update
#5346 you changed the return value from UIProcess to
oldUIProcess: I can't figure out why... in case you have a
spare minute :)</p>
</div>
</blockquote>
<br>
The old ui process can be taken "as the one the user tried to
interrupt with cmd + .". Answering the new UIProcess was a mistake.
In the update I just pushed I added comments and renamed variables
in the involved methods, trying to make all this clearer.<br>
<br>
I think the logic to pick which process to interrupt may still be
improved, we need to figure out how.<br>
<br>
<blockquote
cite="mid:BYAPR03MB407200615E90332EDF011647EE819@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">> [...] it is no longer possible to have
2 different worlds running in different processes.
<o:p></o:p></p>
<p class="MsoNormal">> Well the UIProcess class variable
already precludes this. When we work on enabling multiple
worlds, each with its own running process, we'll see.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">yes, that's what I thought... no harm done
at the moment; later, each world might need to have it's own
"UIProcess" variable.<o:p></o:p></p>
</div>
</blockquote>
<br>
Exactly!<br>
<br>
<blockquote
cite="mid:BYAPR03MB407200615E90332EDF011647EE819@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">Thanks again,<o:p></o:p></p>
<p class="MsoNormal">best,<o:p></o:p></p>
<p class="MsoNormal">Jaromir<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<br>
</div>
</blockquote>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</body>
</html>