<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jaromir,<br>
<br>
On 7/15/2022 3:24 PM, Jaromir Matas via Cuis-dev wrote:
<blockquote
cite="mid:BYAPR03MB4072E2806F4F9F608344BC63EE8B9@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,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many thanks for sharing your opinion. I
agree a UI busy with a long computation is a bit different
situation (and complexity level most likely) than an idle UI
being blocked. I'm thrilled you've made it possible for a
system to keep interacting even if its UI is blocked on a
semaphore (or a condition variable in a general case). I think
this is a very nice improvement from a user perspective; I
remember it baffled me some computations worked differently
when run forked compared to "straight" (without fork). Then
someone explained "yeah, that's because it is run in the UI"
and it really didn't help me understand why the difference :)
Now I know, of course, but for a beginner (or at least for me)
the concept of running a Workspace example "in the UI" is far
from trivial.</p>
</div>
</blockquote>
<br>
:) You already contributed lots of stuff that are not "beginner
level" at all!<br>
<br>
<blockquote
cite="mid:BYAPR03MB4072E2806F4F9F608344BC63EE8B9@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">> The base image doesn't even include
networking code. It will only access local files.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you :)</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">> Letting the old Morphic process end by
itself may mean that there is more than one process trying to
draw the world. And if some higher priority process wakes up,
maybe the other morphic process is scheduled next. Just pushed
a couple of tweaks to reduce the risk as much as possible.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">That helped indeed :) A little new glitch
appeared though: </p>
<p class="MsoNormal">When you do</p>
<p class="MsoNormal">self halt</p>
<p class="MsoNormal">the world redraw's incomplete or something
- see attached snip. Clicking World Menu -> Restore Display
fixes it.</p>
</div>
</blockquote>
<br>
Fixed. Now at GitHub.<br>
<br>
<blockquote
cite="mid:BYAPR03MB4072E2806F4F9F608344BC63EE8B9@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p><br>
</o:p></p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">A small suggestion: the old UI process
still identifies as 'Morhic UI' in the Process Browser; would
it make sense to rename the old UI to e.g. 'Inactive Morphic
UI' ?</p>
</div>
</blockquote>
<br>
Fixed too.<br>
<br>
<blockquote
cite="mid:BYAPR03MB4072E2806F4F9F608344BC63EE8B9@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p> <br>
</o:p></p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">Then there's something I believe has
nothing to do with the latest UI modifications but I only
noticed it recently by accident:</p>
<p class="MsoNormal">If you open an image and then open the same
image again (to be precise: in my case I doubleclick on
squeak.exe, the image opens, then I doubleclick squeak.exe
again) then the second OS process starts running in the
background taking 100% of one CPU's core capacity (and nothing
opens) and it needs to be killed from the OS (Windows process
explorer etc)</p>
<p class="MsoNormal">It happens in my image Cuis6.0.5171 with
the latest VM 3184 but doesn't in Cuis6.0.5069 with VM 3184
(I've just checked - it's regardless of the VM)</p>
</div>
</blockquote>
<br>
Truth is that I don't know how to do this in a reliable and portable
way. Has any other dialect in the Squeak family already fixed this?<br>
<br>
<blockquote
cite="mid:BYAPR03MB4072E2806F4F9F608344BC63EE8B9@BYAPR03MB4072.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">Juan, thanks so much for this experience! I
look forward to studying your code :)</p>
<p class="MsoNormal">best,</p>
<p class="MsoNormal">Jaromir</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNoSpacing"><span lang="CS">--</span></p>
<p class="MsoNoSpacing"><strong><span style="font-family:
"Calibri Light",sans-serif; color: rgb(51, 51,
51); font-weight: normal;">Jaromír Matas</span></strong><span
style="font-family: "Calibri Light",sans-serif;
color: rgb(85, 85, 85);"><o:p></o:p></span></p>
<p class="MsoNoSpacing"><span style="font-family: "Calibri
Light",sans-serif; color: rgb(46, 117, 182);"><a class="moz-txt-link-abbreviated" href="mailto:mail@jaromir.net">mail@jaromir.net</a></span></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>