<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks you all Folks.<br>
<br>
Cheers,<br>
Juan Vuletich<br>
<br>
On 4/30/2016 1:51 PM, Eliot Miranda wrote:
<blockquote
cite="mid:CAC20JE0=P5cRV-u70SP+FhKAGUV4dfQK2UezfyUHgJDzO=76mA@mail.gmail.com"
type="cite">
<pre wrap=""> </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<div dir="ltr">Um, ignore that last message. I see the problem
staring me in the face. Thanks for the fix, Nicolas.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Apr 30, 2016 at 9:49 AM, Eliot
Miranda <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div dir="ltr">Juan, Nicolas,
<div><br>
</div>
<div> which versions are broken? I want to see the
source for the broken version, and so I'd like to know
the svn revision number for a broken version. I'll take
them off my site. I'll build new VMs and upload some
time this weekend.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Apr 28, 2016 at 12:46 PM,
Juan Vuletich <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:JuanVuletich@zoho.com" target="_blank">JuanVuletich@zoho.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> <br>
<div bgcolor="#ffffff" text="#000000"><span class="">
On 4/28/2016 4:39 PM, Nicolas Cellier via Cuis-dev
wrote:
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Moreover, as long as you write
primitive: 110 in cog, you don't invoke
primitive 110.<br>
</div>
You rather invoke genPrimitiveIdentical.<br>
</div>
<div>Please try the snippet on a StackVM.<br>
</div>
<div><br>
</div>
</div>
</blockquote>
<br>
</span> Sure. Can you provide a link to such VM? It
should be based on VMMaker.oscog-eem.1370/r3386 or
later, as the problem doesn't happen with any Cog
older than that.<br>
<br>
Thanks,<br>
Juan Vuletich<br>
<br>
<blockquote type="cite"><span class="">
<div dir="ltr">
<div>genPrimitiveIdentical has been slightly
refactored, but I see no obvious problem by
just reading code.<br>
</div>
<div>Moreover, when you use Object = you'll
also call same methods in the end...<br>
</div>
<div>This would deserve experimenting
VMSimulator... (I don't have the Bochs
plugin working now)<br>
</div>
</div>
</span>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span class="">2016-04-28
21:21 GMT+02:00 Nicolas Cellier <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:nicolas.cellier.aka.nice@gmail.com"
target="_blank">nicolas.cellier.aka.nice@gmail.com</a>></span>:<br>
</span>
<blockquote class="gmail_quote" style="margin:
0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><span class="">Hi Juan, then
how do you explain:</span><span><br>
<br>
<span class=""> "Just to clarify: the
issue was experienced only when
running on Cog...<br>
current versions of the Stack VM
performed as expected."<br>
<br>
</span></span></div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span
class="">2016-04-28 21:10
GMT+02:00 Juan Vuletich <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:JuanVuletich@zoho.com"
target="_blank">JuanVuletich@zoho.com</a>></span>:<br>
</span>
<div>
<div class="h5">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid
rgb(204, 204, 204);
padding-left: 1ex;"><br>
On 4/28/2016 2:13 PM, Phil
(list) wrote:<br>
<blockquote
class="gmail_quote"
style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px
solid rgb(204, 204, 204);
padding-left: 1ex;"> <br>
On Thu, 2016-04-28 at 12:58
-0400, Phil (list) wrote:<br>
<blockquote
class="gmail_quote"
style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px
solid rgb(204, 204, 204);
padding-left: 1ex;"> On
Thu, 2016-04-28 at 16:43
+0200, Clément Bera wrote:<br>
<blockquote
class="gmail_quote"
style="margin: 0pt 0pt
0pt 0.8ex; border-left:
1px solid rgb(204, 204,
204); padding-left:
1ex;"> Have you tried
on latest VM ? I
remembered fixing a bug
on #==<br>
primitive like a month
ago. The problem was
when performing #==<br>
primitive with the
argument being a
forwarder to an
immediate.<br>
<br>
</blockquote>
The problem still existed
as of Cog #3686 (Juan
found the fix<br>
yesterday.) On my system,
Cuis last worked perfectly
with 3370,<br>
mostly<br>
worked with 3390, somewhat
worked with 3427 and did
not work after<br>
that<br>
until we found the
Character>>#=
bug/fix.<br>
</blockquote>
Just to clarify: the issue
was experienced only when
running on Cog...<br>
current versions of the
Stack VM performed as
expected.<br>
</blockquote>
<br>
Fortunately I work with Gera
Richarte @ Satellogic, and it
didn't take long for him to
suggest an explanation: Maybe
prim 110 is broken in recent
Cog VMs, but nobody notices it
because the only sender is #==
that is already optimized by
the jitter, so prim 110 is
never really called. And I
realized we can test that
theory. First, we add this
method to Character:<br>
<br>
=== aCharacter<br>
<primitive: 110><br>
self halt<br>
<br>
Then the following snippet (in
latest Cuis, #2744):<br>
<br>
0 to: 255 do: [ :i1 | 0
to: 255 do: [ :i2 | i1 = i2
ifFalse: [(Character value:
i1) === (Character value: i2)
ifTrue: [{i1.i2} print ]]]]<br>
<br>
prints nothing if run with Cog
3370, but prints a lot of
pairs in more recent Cog. So I
think Gera is right.<br>
<br>
Thanks,<br>
Juan Vuletich<br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Cuis-dev mailing list
<a moz-do-not-send="true" href="mailto:Cuis-dev@cuis-smalltalk.org" target="_blank">Cuis-dev@cuis-smalltalk.org</a>
<a moz-do-not-send="true" href="http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-smalltalk.org" target="_blank">http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-smalltalk.org</a>
</pre>
</blockquote>
<br>
</div>
<br>
</blockquote>
</div>
<span class="HOEnZb"><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div><span style="font-size: small;
border-collapse: separate;">
<div>_,,,^..^,,,_<br>
</div>
<div>best, Eliot</div>
</span></div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div><span style="font-size: small; border-collapse:
separate;">
<div>_,,,^..^,,,_<br>
</div>
<div>best, Eliot</div>
</span></div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>