<br><br><div class="gmail_quote">On Thu, Jul 23, 2009 at 6:26 PM, John McKeon <span dir="ltr">&lt;<a href="mailto:p3anoman@gmail.com">p3anoman@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Jul 23, 2009 at 12:11 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Gary,<br><br><div class="gmail_quote"><div><div></div><div>On Thu, Jul 23, 2009 at 3:28 AM, Gary Dunn <span dir="ltr">&lt;<a href="mailto:osp@aloha.com" target="_blank">osp@aloha.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2009-07-23 at 00:19 -0400, John McKeon wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 21, 2009 at 12:57 PM, Gary Dunn &lt;<a href="mailto:osp@aloha.com" target="_blank">osp@aloha.com</a>&gt; wrote:<br>
&gt;         I was reading about SqueakMap and came across the Swiki page<br>
&gt;         for Alice<br>
&gt;<br>
&gt;         <a href="http://wiki.squeak.org/squeak/1861" target="_blank">http://wiki.squeak.org/squeak/1861</a><br>
&gt;<br>
&gt;         Is anyone actively using Alice in Squeak?<br>
&gt;<br>
&gt;            - The page was last edited in 2004<br>
&gt;<br>
&gt;            - The first link is dead<br>
&gt;<br>
&gt;            - The second link goes to the new, improved Sun sponsored<br>
&gt;         all Java<br>
&gt;         version of Alice, which appears to be healthy<br>
&gt;<br>
&gt;            - The third link downloads a Ph.D. dissertation from 1997<br>
&gt;<br>
&gt;            - After the outdated info is a rant on the shortcomings of<br>
&gt;         OpenGL.<br>
&gt;         It just starts up, mid stream, &quot;There is a serious design flaw<br>
&gt;         in the<br>
&gt;         lighting or rather the shading.&quot; This should be removed.<br>
&gt;<br>
&gt;            - A search on the Swiki for Alice includes a page on Falice<br>
&gt;         which<br>
&gt;         links to <a href="http://www.falice.com" target="_blank">www.falice.com</a> which is a parked domain.<br>
&gt;<br>
&gt;         Last but not least, when I try to load &quot;FullImageProjectAlice&quot;<br>
&gt;         I get<br>
&gt;         errors. Very likely I am doing something wrong.<br>
&gt;<br>
&gt;         Is this worth pursuing, or has Alice in Squeakland wandered<br>
&gt;         off?<br>
&gt;<br>
&gt; Aloha Gary,<br>
&gt; I remember the first time I saw Squeak, A;ice was pre-loaded in the<br>
&gt; image, so I did some digging.<br>
&gt; If  you are really interested go to <a href="http://ftp.squeak.org" target="_blank">ftp.squeak.org</a> and download a a<br>
&gt; 2.x version of Squeak.<br>
&gt; The 2.8 distribution has it installed. Be warned, the older Squeak<br>
&gt; interface might disappoint you ;)<br>
&gt;<br>
&gt; Regards<br>
&gt; John McKeon<br>
<br>
Thanks, John. I downloaded the 2.8 image and changes files, and the V2<br>
sources, and launched squeak with those. It opens fine, if old looking,<br>
and Alice is in there. I did a Wonderland new. and ran into an error:<br>
<br>
mustBeBoolean<br>
        &quot;Catches attempts to test truth of non-Booleans.  This message is sent<br>
from the<br>
        interpreter.&quot;<br>
<br>
        self error: &#39;NonBoolean receiver--proceed for truth.&#39;.<br>
        ^true<br>
<br>
The offending code is<br>
<br>
areasRemainingToFill: aRectangle<br>
        ^myCamera drawSceneBackground<br>
                ifTrue:[aRectangle areasOutside: self bounds]<br>
                ifFalse:[Array with: aRectangle]<br>
<br>
where &quot;bounds&quot; in the ifTrue branch is highlighted.</blockquote><div><br></div></div></div><div>This looks as if myCamera drawSceneBackground is not returning a boolean.  Certain messages, in particular ifTrue: ifFalse: ifTrue:ifFalse: whileTrue: and whileFalse: are inlined by the compiler into conditional branch instructions which operate on the object on top of stack.  The conditional branches expect either true or false, the sole instances of True and False respectively.  When they encounter something other than true or false the VM sends mustBeBoolean to that object.  So look in the debugger at the object that has received mustBeBoolean.  This was the result that <span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">myCamera drawSceneBackground returned, whereas areasRemainingToFill: expected a boolean.</span></div>


<div><font face="arial, sans-serif"><span style="border-collapse: collapse;"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse: collapse;">HTH</span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse: collapse;">Eliot</span></font></div></div></blockquote></div></div></div></blockquote><div><br>Those errors disappear with the latest code in a 3.10 image. <br>
</div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
A little more digging reveals that senders of bounds have something to<br>
do with AlignmentMorph, which is old stuff -- is the problem that ny VM<br>
is too &quot;new.?&quot;<br>
<br>
Any suggestions as to how to proceed? Is there a way to cast &quot;bounds&quot; to<br>
the Boolean requirement? Sorry, that&#39;s my C showing.</blockquote></div></div></blockquote></div></div><div><br>I believe that is what makes Smalltalk a *strongly* typed language. No typecasting. <br><br>Loading the latest Baloon3D code from Squeaksource yields somewhat better results but there is a bit of post load actions that appear to be required.</div>
</div></blockquote><div> </div><div>Sorry, prematurely sent.<br><br>I evaluated all of the following the first two of which are definitely needed but I am not sure of the other two.<br>     WonderlandConstants initialize.<br>
     WonderlandConstants recompileUsers.<br>     B3DHardwareEngine initialize.<br>     B3DAcceleratorPlugin new initialiseModule.<br><br>I am able to get Wonderland new to run. But a warning message tells me that B3DPrimitiveEngine is not enabled (and I cannot as yet figure out how to enable it). Once Alice is running no graphics are rendered, just a blue screen(!) :)<br>
<br>Then mousing over Wonderland throws errors in WonderlandCamera&gt;&gt;pickAt: aPoint when it calls<br>   B3DRenderEngine defaultForPlatformOn: nil  <br>where nil should be(?) a Form object. BitBlt eventually tries to access the boundingBox of this undefined <a href="http://object.in">object.in</a> BitBlt&gt;&gt;setDestForm: aForm causing an MNU<br>
<br>Thats as far as I have gotten for now,<br>John<br><br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote">
<div><br>  <br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
<font color="#888888"><br>
--<br>
Gary Dunn, Honolulu<br>
<a href="mailto:osp@aloha.com" target="_blank">osp@aloha.com</a><br>
<a href="http://openslate.net/" target="_blank">http://openslate.net/</a><br>
<a href="http://e9erust.blogspot.com/" target="_blank">http://e9erust.blogspot.com/</a><br>
Sent from Slate001<br>
<br>
<br>
</font></blockquote></div></div><br>
<br><br>
<br></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st" target="_blank">http://jmck.seasidehosting.st</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a><br>