<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 2009-07-24 00:41, John McKeon wrote:
<blockquote
 cite="mid:40f637ec0907231541h4fb5c5afvd8aabe9164e46a60@mail.gmail.com"
 type="cite"><br>
  <br>
  <div class="gmail_quote">On Thu, Jul 23, 2009 at 6:26 PM, John McKeon
  <span dir="ltr">&lt;<a moz-do-not-send="true"
 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 class="h5">On Thu, Jul 23, 2009 at 12:11 PM, Eliot Miranda <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 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>On Thu, Jul 23, 2009 at 3:28 AM, Gary Dunn <span dir="ltr">&lt;<a
 moz-do-not-send="true" 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
 moz-do-not-send="true" href="mailto:osp@aloha.com" target="_blank">osp@aloha.com</a>&gt;
wrote:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I was reading about SqueakMap and came across the Swiki
page<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; for Alice<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="http://wiki.squeak.org/squeak/1861" target="_blank">http://wiki.squeak.org/squeak/1861</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Is anyone actively using Alice in Squeak?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- The page was last edited in 2004<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- The first link is dead<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- The second link goes to the new, improved Sun
sponsored<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; all Java<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; version of Alice, which appears to be healthy<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- The third link downloads a Ph.D. dissertation from
1997<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- After the outdated info is a rant on the shortcomings
of<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; OpenGL.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; It just starts up, mid stream, "There is a serious design
flaw<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; in the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; lighting or rather the shading." This should be removed.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- A search on the Swiki for Alice includes a page on
Falice<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; which<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; links to <a moz-do-not-send="true"
 href="http://www.falice.com" target="_blank">www.falice.com</a> which
is a parked domain.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Last but not least, when I try to load
"FullImageProjectAlice"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I get<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; errors. Very likely I am doing something wrong.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Is this worth pursuing, or has Alice in Squeakland wandered<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; 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 &nbsp;you are really interested go to <a moz-do-not-send="true"
 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>
&nbsp; &nbsp; &nbsp; &nbsp;"Catches attempts to test truth of non-Booleans. &nbsp;This message
is sent<br>
from the<br>
&nbsp; &nbsp; &nbsp; &nbsp;interpreter."<br>
        <br>
&nbsp; &nbsp; &nbsp; &nbsp;self error: 'NonBoolean receiver--proceed for truth.'.<br>
&nbsp; &nbsp; &nbsp; &nbsp;^true<br>
        <br>
The offending code is<br>
        <br>
areasRemainingToFill: aRectangle<br>
&nbsp; &nbsp; &nbsp; &nbsp;^myCamera drawSceneBackground<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ifTrue:[aRectangle areasOutside: self bounds]<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ifFalse:[Array with: aRectangle]<br>
        <br>
where "bounds" in the ifTrue branch is highlighted.</blockquote>
      <div><br>
      </div>
      </div>
      </div>
      <div>This looks as if&nbsp;myCamera drawSceneBackground is not
returning a boolean. &nbsp;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. &nbsp;The conditional branches expect either true or false, the
sole instances of True and False respectively. &nbsp;When they encounter
something other than true or false the VM sends mustBeBoolean to that
object.&nbsp;&nbsp;So&nbsp;look&nbsp;in&nbsp;the&nbsp;debugger&nbsp;at&nbsp;the&nbsp;object&nbsp;that&nbsp;has&nbsp;received&nbsp;mustBeBoolean.&nbsp;&nbsp;This&nbsp;was&nbsp;the&nbsp;result&nbsp;that&nbsp;<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>&nbsp;</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 "new.?"<br>
        <br>
Any suggestions as to how to proceed? Is there a way to cast "bounds" to<br>
the Boolean requirement? Sorry, that'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>&nbsp;</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>
&nbsp;&nbsp;&nbsp;&nbsp; WonderlandConstants initialize.<br>
&nbsp;&nbsp;&nbsp;&nbsp; WonderlandConstants recompileUsers.<br>
&nbsp;&nbsp;&nbsp;&nbsp; B3DHardwareEngine initialize.<br>
&nbsp;&nbsp;&nbsp;&nbsp; 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>
  </div>
  </div>
</blockquote>
Do you have the Squeak3D plugin in the SqueakVM directory ?<br>
<a class="moz-txt-link-freetext" href="http://squeakvm.org/win32/release/Squeak3D.zip">http://squeakvm.org/win32/release/Squeak3D.zip</a><br>
<br>
Karl<br>
<blockquote
 cite="mid:40f637ec0907231541h4fb5c5afvd8aabe9164e46a60@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div><br>
Then mousing over Wonderland throws errors in
WonderlandCamera&gt;&gt;pickAt: aPoint when it calls<br>
&nbsp;&nbsp; B3DRenderEngine defaultForPlatformOn: nil&nbsp; <br>
where nil should be(?) a Form object. BitBlt eventually tries to access
the boundingBox of this undefined <a moz-do-not-send="true"
 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>
&nbsp;<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>
&nbsp; <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 moz-do-not-send="true" href="mailto:osp@aloha.com"
 target="_blank">osp@aloha.com</a><br>
        <a moz-do-not-send="true" href="http://openslate.net/"
 target="_blank">http://openslate.net/</a><br>
        <a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://jmck.seasidehosting.st"
 target="_blank">http://jmck.seasidehosting.st</a><br>
    </font></blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
  <a moz-do-not-send="true" href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a><br>
  <pre wrap="">
<hr width="90%" size="4">

  </pre>
</blockquote>
<br>
</body>
</html>