<div dir="ltr">as i am playing with some Etoys i found this page <br><a href="http://wiki.squeak.org/squeak/3944">http://wiki.squeak.org/squeak/3944</a> . but i don&#39;t get it <br>is there a way i can add vocabulary without touching the &quot;general&quot;player class but just making a Morph subclass .&nbsp; if not can i subclass the player to have myspecial player class for my morph<br>
I am trying to make my vocabulary&nbsp; modification the least intrusive&nbsp; in thye systeme . I am looking for ideas .<br>thanks.<br>Kemal<br><br><br><div class="gmail_quote">On Fri, Sep 19, 2008 at 6:48 AM,  <span dir="ltr">&lt;<a href="mailto:squeak-dev-request@lists.squeakfoundation.org">squeak-dev-request@lists.squeakfoundation.org</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;">Send Squeak-dev mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:squeak-dev-request@lists.squeakfoundation.org">squeak-dev-request@lists.squeakfoundation.org</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:squeak-dev-owner@lists.squeakfoundation.org">squeak-dev-owner@lists.squeakfoundation.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Squeak-dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. Re: &nbsp;MonticelloConfiguration and Installer questions<br>
 &nbsp; &nbsp; &nbsp;(C. David Shaffer)<br>
 &nbsp; 2. Re: &nbsp;MonticelloConfiguration and Installer questions<br>
 &nbsp; &nbsp; &nbsp;(Bert Freudenberg)<br>
 &nbsp; 3. Re: &nbsp;MonticelloConfiguration and Installer questions<br>
 &nbsp; &nbsp; &nbsp;(C. David Shaffer)<br>
 &nbsp; 4. Re: &nbsp;MonticelloConfiguration and Installer questions<br>
 &nbsp; &nbsp; &nbsp;(Bert Freudenberg)<br>
 &nbsp; 5. Re: &nbsp;Re: becomeForward: alternative (Rob Withers)<br>
 &nbsp; 6. Re: &nbsp;Re: becomeForward: alternative (Eliot Miranda)<br>
 &nbsp; 7. Re: &nbsp;Re: becomeForward: alternative (Rob Withers)<br>
 &nbsp; 8. Re: &nbsp;Re: becomeForward: alternative (Eliot Miranda)<br>
 &nbsp; 9. Re: &nbsp;Re: becomeForward: alternative (Randal L. Schwartz)<br>
 &nbsp;10. &nbsp;[ANN] MemoryAccess Slang alternative to &nbsp;sqMemoryAccess.h<br>
 &nbsp; &nbsp; &nbsp;macros (David T. Lewis)<br>
 &nbsp;11. &nbsp;Squeak leadership meeting minutes, 2008-09-17 (Craig Latta)<br>
 &nbsp;12. Re: &nbsp;MonticelloConfiguration and Installer questions<br>
 &nbsp; &nbsp; &nbsp;(C. David Shaffer)<br>
 &nbsp;13. &nbsp;Lisp50@OOPSLA -- Celebrating the 50th birthday of Lisp at<br>
 &nbsp; &nbsp; &nbsp;OOPSLA 2008 (Robert Hirschfeld)<br>
 &nbsp;14. Re: &nbsp;MonticelloConfiguration and Installer questions<br>
 &nbsp; &nbsp; &nbsp;(Bert Freudenberg)<br>
 &nbsp;15. &nbsp;From 3.8-6665-basic to 3.9 (Yoshiki Ohshima)<br>
 &nbsp;16. &nbsp;CSV parser (Markus Fritsche)<br>
 &nbsp;17. &nbsp;Re: unix 3.10-1 VM scrambles #PageUp #PageDown #End &nbsp; &nbsp; &nbsp;keys<br>
 &nbsp; &nbsp; &nbsp;(nicolas cellier)<br>
 &nbsp;18. Re: &nbsp;CSV parser ( Hern?n Morales Durand )<br>
 &nbsp;19. &nbsp;Re: CSV parser (Markus Fritsche)<br>
 &nbsp;20. &nbsp;[Smalltalks 2008] --- Latest news (Andres Valloud)<br>
 &nbsp;21. Re: &nbsp;Re: About Eliot FFi changes (Mariano Martinez Peck)<br>
 &nbsp;22. Re: &nbsp;Re: Send NULL to a C function trough FFI<br>
 &nbsp; &nbsp; &nbsp;(Mariano Martinez Peck)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 18 Sep 2008 08:28:39 -0400<br>
From: &quot;C. David Shaffer&quot; &lt;<a href="mailto:cdshaffer@acm.org">cdshaffer@acm.org</a>&gt;<br>
Subject: Re: [squeak-dev] MonticelloConfiguration and Installer<br>
 &nbsp; &nbsp; &nbsp; &nbsp;questions<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:48D24977.9050301@acm.org">48D24977.9050301@acm.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Bert Freudenberg wrote:<br>
&gt;<br>
&gt;<br>
&gt; Hehe, that attitude pretty much drove MCConfiguration development :)<br>
&gt; It&#39;s TSTTCPW and just gets the job done it was needed for, but as you<br>
&gt; noticed it isn&#39;t well-integrated, it does not do autmatic versioning.<br>
&gt; But I like its simplicity - it really is nothing more than a list of<br>
&gt; package versions and repositories.<br>
&gt;<br>
&gt; - Bert -<br>
&gt;<br>
:-) MCConfiguration is working /very/ well for me. &nbsp;It is a nice<br>
incremental improvement over my manual process. &nbsp;I&#39;m not using the<br>
&quot;Store&quot; capability in the configuration browser, though, because it will<br>
quickly make a mess of my MC repository browser (I&#39;ve already got too<br>
many packages to scroll through there). &nbsp;It seems more sensible to write<br>
my configs to disk during deployment so I can &quot;version&quot; them by release<br>
number. &nbsp;I assume that&#39;s what most people are doing? &nbsp;...or is there a<br>
sensible way to use them in a MCBrowser that I&#39;ve just missed? &nbsp;Maybe a<br>
naming convention that makes the MC browser show only one package entry<br>
per config (as opposed to per /instance/ of a config).<br>
<br>
David<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 18 Sep 2008 15:07:23 +0200<br>
From: Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;<br>
Subject: Re: [squeak-dev] MonticelloConfiguration and Installer<br>
 &nbsp; &nbsp; &nbsp; &nbsp;questions<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:52E8D848-5274-4C13-8C7C-670613E30357@freudenbergs.de">52E8D848-5274-4C13-8C7C-670613E30357@freudenbergs.de</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br>
<br>
<br>
Am 18.09.2008 um 14:28 schrieb C. David Shaffer:<br>
<br>
&gt; Bert Freudenberg wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hehe, that attitude pretty much drove MCConfiguration<br>
&gt;&gt; development :) It&#39;s TSTTCPW and just gets the job done it was<br>
&gt;&gt; needed for, but as you noticed it isn&#39;t well-integrated, it does<br>
&gt;&gt; not do autmatic versioning. But I like its simplicity - it really<br>
&gt;&gt; is nothing more than a list of package versions and repositories.<br>
&gt;&gt;<br>
&gt;&gt; - Bert -<br>
&gt;&gt;<br>
&gt; :-) MCConfiguration is working /very/ well for me. &nbsp;It is a nice<br>
&gt; incremental improvement over my manual process. &nbsp;I&#39;m not using the<br>
&gt; &quot;Store&quot; capability in the configuration browser, though, because it<br>
&gt; will quickly make a mess of my MC repository browser (I&#39;ve already<br>
&gt; got too many packages to scroll through there). &nbsp;It seems more<br>
&gt; sensible to write my configs to disk during deployment so I can<br>
&gt; &quot;version&quot; them by release number. &nbsp;I assume that&#39;s what most people<br>
&gt; are doing? &nbsp;...or is there a sensible way to use them in a MCBrowser<br>
&gt; that I&#39;ve just missed? &nbsp;Maybe a naming convention that makes the MC<br>
&gt; browser show only one package entry per config (as opposed to per /<br>
&gt; instance/ of a config).<br>
<br>
<br>
I just overwrite a single config in the repo every time I make a new<br>
release. So this config is the &quot;head&quot; of the development tree.<br>
<br>
- Bert -<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 18 Sep 2008 09:23:18 -0400<br>
From: &quot;C. David Shaffer&quot; &lt;<a href="mailto:cdshaffer@acm.org">cdshaffer@acm.org</a>&gt;<br>
Subject: Re: [squeak-dev] MonticelloConfiguration and Installer<br>
 &nbsp; &nbsp; &nbsp; &nbsp;questions<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:48D25646.6040303@acm.org">48D25646.6040303@acm.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Bert Freudenberg wrote:<br>
&gt;<br>
&gt;<br>
&gt; I just overwrite a single config in the repo every time I make a new<br>
&gt; release. So this config is the &quot;head&quot; of the development tree.<br>
&gt;<br>
&gt; - Bert -<br>
&gt;<br>
I see...so you can&#39;t reconstruct an old release? &nbsp;Also, it doesn&#39;t seem<br>
that MC will allow you to overwrite an MCM stored in an HTTP repo so<br>
this only works for file-based repos? &nbsp;(Still just verifying that I&#39;m<br>
not doing something stupid with the tools.)<br>
<br>
David<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 18 Sep 2008 15:33:48 +0200<br>
From: Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;<br>
Subject: Re: [squeak-dev] MonticelloConfiguration and Installer<br>
 &nbsp; &nbsp; &nbsp; &nbsp;questions<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:1935EF03-D2B6-4701-8353-7EF819363AEB@freudenbergs.de">1935EF03-D2B6-4701-8353-7EF819363AEB@freudenbergs.de</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br>
<br>
<br>
Am 18.09.2008 um 15:23 schrieb C. David Shaffer:<br>
<br>
&gt; Bert Freudenberg wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I just overwrite a single config in the repo every time I make a<br>
&gt;&gt; new release. So this config is the &quot;head&quot; of the development tree.<br>
&gt;&gt;<br>
&gt;&gt; - Bert -<br>
&gt;&gt;<br>
&gt; I see...so you can&#39;t reconstruct an old release? &nbsp;Also, it doesn&#39;t<br>
&gt; seem that MC will allow you to overwrite an MCM stored in an HTTP<br>
&gt; repo so this only works for file-based repos? &nbsp;(Still just verifying<br>
&gt; that I&#39;m not doing something stupid with the tools.)<br>
<br>
<br>
Works fine with an http squeaksource server for me.<br>
<br>
- Bert -<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 18 Sep 2008 12:09:06 -0400<br>
From: &quot;Rob Withers&quot; &lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt;<br>
Subject: Re: [squeak-dev] Re: becomeForward: alternative<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;FCED72EC543B48E5B9030C928C191800@Quotar&gt;<br>
Content-Type: text/plain; format=flowed; charset=&quot;iso-8859-1&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;reply-type=original<br>
<br>
<br>
----- Original Message -----<br>
From: &quot;Paolo Bonzini&quot; &lt;<a href="mailto:bonzini@gnu.org">bonzini@gnu.org</a>&gt;<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Sent: Tuesday, September 16, 2008 3:59 PM<br>
Subject: [squeak-dev] Re: becomeForward: alternative<br>
<br>
<br>
&gt; Rob Withers wrote:<br>
&gt;&gt; I am trying to becomeForward with an object and a small integer. &nbsp;This<br>
&gt;&gt; of course doesn&#39;t work. &nbsp;Is there an alternative that would allow me to<br>
&gt;&gt; do this?<br>
&gt;<br>
&gt; There&#39;s actually no reason why the *destination* of a becomeForward:<br>
&gt; cannot be a SmallInteger. &nbsp;It&#39;s a VM bug in my opinion.<br>
&gt;<br>
<br>
Thanks, Paolo.<br>
<br>
I tried looking into this a bit and here is what I have found. &nbsp;First off,<br>
this will only work with<br>
 &nbsp; &nbsp;#elementsForwardIdentityTo: anArrayWithSmallIntegers copyHash: false.<br>
It would not work to copy the source hash to a SmallInteger.<br>
<br>
Next is understanding forwarding blocks and the process of remapping objects<br>
using them. &nbsp;There are three steps:<br>
 &nbsp; &nbsp;1) #prepareForwardingTableForBecoming:with:twoWay: &nbsp;&quot;create and init<br>
forwarding blocks, and install into original headers&quot;<br>
 &nbsp; &nbsp;2) #mapPointersInObjectsFrom:to: &nbsp;&quot;point pointers to forwarded oop&quot;<br>
 &nbsp; &nbsp;3) #restoreHeadersAfterForwardBecome: &quot;restore original headers&quot;<br>
The question seems to come down to the following. &nbsp;Can forwarding blocks<br>
point to SmallIntegers?<br>
<br>
Rob<br>
<br>
&gt; Paolo<br>
&gt;<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Thu, 18 Sep 2008 09:41:38 -0700<br>
From: &quot;Eliot Miranda&quot; &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;<br>
Subject: Re: [squeak-dev] Re: becomeForward: alternative<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:3ac5ce8a0809180941u57b6f118kbb4d0ea88504807b@mail.gmail.com">3ac5ce8a0809180941u57b6f118kbb4d0ea88504807b@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Things work fine provided the become is one-way and hashes are not copied.<br>
&nbsp;Simply change<br>
 &nbsp; &nbsp; &nbsp; &nbsp;(self containOnlyOops: array1 and: array2) ifFalse: [^false]<br>
<br>
in ObjectMemory&gt;&gt;become:with:twoWay:copyHash: to<br>
<br>
(twoWayFlag or: [copyHashFlag])<br>
ifTrue: [(self containOnlyOops: array1 and: array2) ifFalse: [^false]]<br>
ifFalse: [(self containOnlyOops: array1) ifFalse: [^false]].<br>
<br>
along with the obvious implementation of containOnlyOops:.<br>
If so,<br>
| foo bar |<br>
foo := 1@2.<br>
bar := { foo. foo }.<br>
foo becomeForward: 0 copyHash: false.<br>
{ foo. bar }<br>
produces<br>
#(0 #(0 0))<br>
<br>
On Thu, Sep 18, 2008 at 9:09 AM, Rob Withers &lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; ----- Original Message ----- From: &quot;Paolo Bonzini&quot; &lt;<a href="mailto:bonzini@gnu.org">bonzini@gnu.org</a>&gt;<br>
&gt; To: &quot;The general-purpose Squeak developers list&quot; &lt;<br>
&gt; <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
&gt; Sent: Tuesday, September 16, 2008 3:59 PM<br>
&gt; Subject: [squeak-dev] Re: becomeForward: alternative<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;Rob Withers wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; I am trying to becomeForward with an object and a small integer. &nbsp;This<br>
&gt;&gt;&gt; of course doesn&#39;t work. &nbsp;Is there an alternative that would allow me to<br>
&gt;&gt;&gt; do this?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; There&#39;s actually no reason why the *destination* of a becomeForward:<br>
&gt;&gt; cannot be a SmallInteger. &nbsp;It&#39;s a VM bug in my opinion.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; Thanks, Paolo.<br>
&gt;<br>
&gt; I tried looking into this a bit and here is what I have found. &nbsp;First off,<br>
&gt; this will only work with<br>
&gt; &nbsp; #elementsForwardIdentityTo: anArrayWithSmallIntegers copyHash: false.<br>
&gt; It would not work to copy the source hash to a SmallInteger.<br>
&gt;<br>
&gt; Next is understanding forwarding blocks and the process of remapping<br>
&gt; objects using them. &nbsp;There are three steps:<br>
&gt; &nbsp; 1) #prepareForwardingTableForBecoming:with:twoWay: &nbsp;&quot;create and init<br>
&gt; forwarding blocks, and install into original headers&quot;<br>
&gt; &nbsp; 2) #mapPointersInObjectsFrom:to: &nbsp;&quot;point pointers to forwarded oop&quot;<br>
&gt; &nbsp; 3) #restoreHeadersAfterForwardBecome: &quot;restore original headers&quot;<br>
&gt; The question seems to come down to the following. &nbsp;Can forwarding blocks<br>
&gt; point to SmallIntegers?<br>
&gt;<br>
&gt; Rob<br>
&gt;<br>
&gt; &nbsp;Paolo<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/c86cfa2a/attachment-0001.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/c86cfa2a/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Thu, 18 Sep 2008 12:44:35 -0400<br>
From: &quot;Rob Withers&quot; &lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt;<br>
Subject: Re: [squeak-dev] Re: becomeForward: alternative<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;864AD7BCB7F04625819D40D20821A510@Quotar&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
:-)<br>
<br>
I just compiled with:<br>
<br>
&nbsp;(twoWayFlag not and: [copyHashFlag not])<br>
 &nbsp;ifTrue: [(self containOnlyOops: array1) ifFalse: [^false]]<br>
 &nbsp;ifFalse: [(self containOnlyOops: array1 and: array2) ifFalse: [^false]].<br>
<br>
but I like your positive logic better. &nbsp;Thanks!<br>
<br>
Rob<br>
 &nbsp;----- Original Message -----<br>
 &nbsp;From: Eliot Miranda<br>
 &nbsp;To: The general-purpose Squeak developers list<br>
 &nbsp;Sent: Thursday, September 18, 2008 12:41 PM<br>
 &nbsp;Subject: Re: [squeak-dev] Re: becomeForward: alternative<br>
<br>
<br>
 &nbsp;Things work fine provided the become is one-way and hashes are not copied. &nbsp;Simply change<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(self containOnlyOops: array1 and: array2) ifFalse: [^false]<br>
<br>
<br>
 &nbsp;in ObjectMemory&gt;&gt;become:with:twoWay:copyHash: to<br>
<br>
<br>
<br>
 &nbsp;(twoWayFlag or: [copyHashFlag])<br>
 &nbsp;ifTrue: [(self containOnlyOops: array1 and: array2) ifFalse: [^false]]<br>
 &nbsp;ifFalse: [(self containOnlyOops: array1) ifFalse: [^false]].<br>
<br>
<br>
 &nbsp;along with the obvious implementation of containOnlyOops:.<br>
 &nbsp;If so,<br>
 &nbsp;| foo bar |<br>
 &nbsp;foo := 1@2.<br>
 &nbsp;bar := { foo. foo }.<br>
 &nbsp;foo becomeForward: 0 copyHash: false.<br>
 &nbsp;{ foo. bar }<br>
 &nbsp;produces<br>
 &nbsp;#(0 #(0 0))<br>
<br>
<br>
 &nbsp;On Thu, Sep 18, 2008 at 9:09 AM, Rob Withers &lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt; wrote:<br>
<br>
<br>
 &nbsp; &nbsp;----- Original Message ----- From: &quot;Paolo Bonzini&quot; &lt;<a href="mailto:bonzini@gnu.org">bonzini@gnu.org</a>&gt;<br>
 &nbsp; &nbsp;To: &quot;The general-purpose Squeak developers list&quot; &lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
 &nbsp; &nbsp;Sent: Tuesday, September 16, 2008 3:59 PM<br>
 &nbsp; &nbsp;Subject: [squeak-dev] Re: becomeForward: alternative<br>
<br>
<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp;Rob Withers wrote:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;I am trying to becomeForward with an object and a small integer. &nbsp;This<br>
 &nbsp; &nbsp; &nbsp; &nbsp;of course doesn&#39;t work. &nbsp;Is there an alternative that would allow me to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;do this?<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp;There&#39;s actually no reason why the *destination* of a becomeForward:<br>
 &nbsp; &nbsp; &nbsp;cannot be a SmallInteger. &nbsp;It&#39;s a VM bug in my opinion.<br>
<br>
<br>
<br>
<br>
 &nbsp; &nbsp;Thanks, Paolo.<br>
<br>
 &nbsp; &nbsp;I tried looking into this a bit and here is what I have found. &nbsp;First off, this will only work with<br>
 &nbsp; &nbsp; &nbsp;#elementsForwardIdentityTo: anArrayWithSmallIntegers copyHash: false.<br>
 &nbsp; &nbsp;It would not work to copy the source hash to a SmallInteger.<br>
<br>
 &nbsp; &nbsp;Next is understanding forwarding blocks and the process of remapping objects using them. &nbsp;There are three steps:<br>
 &nbsp; &nbsp; &nbsp;1) #prepareForwardingTableForBecoming:with:twoWay: &nbsp;&quot;create and init forwarding blocks, and install into original headers&quot;<br>
 &nbsp; &nbsp; &nbsp;2) #mapPointersInObjectsFrom:to: &nbsp;&quot;point pointers to forwarded oop&quot;<br>
 &nbsp; &nbsp; &nbsp;3) #restoreHeadersAfterForwardBecome: &quot;restore original headers&quot;<br>
 &nbsp; &nbsp;The question seems to come down to the following. &nbsp;Can forwarding blocks point to SmallIntegers?<br>
<br>
 &nbsp; &nbsp;Rob<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp;Paolo<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/4127c4de/attachment-0001.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/4127c4de/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Thu, 18 Sep 2008 09:57:12 -0700<br>
From: &quot;Eliot Miranda&quot; &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;<br>
Subject: Re: [squeak-dev] Re: becomeForward: alternative<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:3ac5ce8a0809180957w7b13621ctbeab1afbf9c163e6@mail.gmail.com">3ac5ce8a0809180957w7b13621ctbeab1afbf9c163e6@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
On Thu, Sep 18, 2008 at 9:44 AM, Rob Withers &lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt; wrote:<br>
<br>
&gt; &nbsp;:-)<br>
&gt;<br>
&gt; I just compiled with:<br>
&gt;<br>
&gt; &nbsp;(twoWayFlag not and: [copyHashFlag not])<br>
&gt; &nbsp; ifTrue: [(self containOnlyOops: array1) ifFalse: [^false]]<br>
&gt; &nbsp; ifFalse: [(self containOnlyOops: array1 and: array2) ifFalse: [^false]].<br>
&gt; but I like your positive logic better. &nbsp;Thanks!<br>
&gt;<br>
<br>
Forgive me, you&#39;ve got me started :) &nbsp;I hate it when people don&#39;t cut down<br>
on their conditionals. &nbsp;I saw this the other day (won&#39;t tell you where) and<br>
it drives me *batty*.<br>
<br>
 &nbsp; &nbsp;if((options &amp; LINK_OPTION_PRIVATE) == LINK_OPTION_PRIVATE)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;object_image-&gt;image.private = TRUE;<br>
 &nbsp; &nbsp;else<br>
 &nbsp; &nbsp; &nbsp; &nbsp;object_image-&gt;image.private = FALSE;<br>
<br>
the following takes 25% of the vertical real estate and says it better.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;object_image-&gt;image.private = options &amp; LINK_OPTION_PRIVATE) ==<br>
LINK_OPTION_PRIVATE;<br>
<br>
Even worse is the following idiom:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;if(print_addresses == TRUE)<br>
<br>
I mean if you&#39;re that doubtful surely you want to use belt-and-braces and<br>
write<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;if(((print_addresses == TRUE) == TRUE) == TRUE)<br>
<br>
to be free of anxiety.<br>
<br>
<br>
&gt; Rob<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; *From:* Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;<br>
&gt; *To:* The general-purpose Squeak developers list&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
&gt; *Sent:* Thursday, September 18, 2008 12:41 PM<br>
&gt; *Subject:* Re: [squeak-dev] Re: becomeForward: alternative<br>
&gt;<br>
&gt; Things work fine provided the become is one-way and hashes are not copied.<br>
&gt; &nbsp;Simply change<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; (self containOnlyOops: array1 and: array2) ifFalse: [^false]<br>
&gt;<br>
&gt; in ObjectMemory&gt;&gt;become:with:twoWay:copyHash: to<br>
&gt;<br>
&gt; (twoWayFlag or: [copyHashFlag])<br>
&gt; ifTrue: [(self containOnlyOops: array1 and: array2) ifFalse: [^false]]<br>
&gt; ifFalse: [(self containOnlyOops: array1) ifFalse: [^false]].<br>
&gt;<br>
&gt; along with the obvious implementation of containOnlyOops:.<br>
&gt; If so,<br>
&gt; &nbsp;| foo bar |<br>
&gt; foo := 1@2.<br>
&gt; bar := { foo. foo }.<br>
&gt; foo becomeForward: 0 copyHash: false.<br>
&gt; { foo. bar }<br>
&gt; produces<br>
&gt; #(0 #(0 0))<br>
&gt;<br>
&gt; On Thu, Sep 18, 2008 at 9:09 AM, Rob Withers &lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; ----- Original Message ----- From: &quot;Paolo Bonzini&quot; &lt;<a href="mailto:bonzini@gnu.org">bonzini@gnu.org</a>&gt;<br>
&gt;&gt; To: &quot;The general-purpose Squeak developers list&quot; &lt;<br>
&gt;&gt; <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
&gt;&gt; Sent: Tuesday, September 16, 2008 3:59 PM<br>
&gt;&gt; Subject: [squeak-dev] Re: becomeForward: alternative<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Rob Withers wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I am trying to becomeForward with an object and a small integer. &nbsp;This<br>
&gt;&gt;&gt;&gt; of course doesn&#39;t work. &nbsp;Is there an alternative that would allow me to<br>
&gt;&gt;&gt;&gt; do this?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; There&#39;s actually no reason why the *destination* of a becomeForward:<br>
&gt;&gt;&gt; cannot be a SmallInteger. &nbsp;It&#39;s a VM bug in my opinion.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; Thanks, Paolo.<br>
&gt;&gt;<br>
&gt;&gt; I tried looking into this a bit and here is what I have found. &nbsp;First off,<br>
&gt;&gt; this will only work with<br>
&gt;&gt; &nbsp; #elementsForwardIdentityTo: anArrayWithSmallIntegers copyHash: false.<br>
&gt;&gt; It would not work to copy the source hash to a SmallInteger.<br>
&gt;&gt;<br>
&gt;&gt; Next is understanding forwarding blocks and the process of remapping<br>
&gt;&gt; objects using them. &nbsp;There are three steps:<br>
&gt;&gt; &nbsp; 1) #prepareForwardingTableForBecoming:with:twoWay: &nbsp;&quot;create and init<br>
&gt;&gt; forwarding blocks, and install into original headers&quot;<br>
&gt;&gt; &nbsp; 2) #mapPointersInObjectsFrom:to: &nbsp;&quot;point pointers to forwarded oop&quot;<br>
&gt;&gt; &nbsp; 3) #restoreHeadersAfterForwardBecome: &quot;restore original headers&quot;<br>
&gt;&gt; The question seems to come down to the following. &nbsp;Can forwarding blocks<br>
&gt;&gt; point to SmallIntegers?<br>
&gt;&gt;<br>
&gt;&gt; Rob<br>
&gt;&gt;<br>
&gt;&gt; Paolo<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; &nbsp;------------------------------<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/7655acaf/attachment-0001.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/7655acaf/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Thu, 18 Sep 2008 10:03:27 -0700<br>
From: <a href="mailto:merlyn@stonehenge.com">merlyn@stonehenge.com</a> (Randal L. Schwartz)<br>
Subject: Re: [squeak-dev] Re: becomeForward: alternative<br>
To: &quot;Eliot Miranda&quot; &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;<br>
Cc: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:86bpylbd40.fsf@blue.stonehenge.com">86bpylbd40.fsf@blue.stonehenge.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
&gt;&gt;&gt;&gt;&gt; &quot;Eliot&quot; == Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; writes:<br>
<br>
Eliot&gt; &nbsp; &nbsp; if((options &amp; LINK_OPTION_PRIVATE) == LINK_OPTION_PRIVATE)<br>
object_image-&gt; image.private = TRUE;<br>
Eliot&gt; &nbsp; &nbsp; else<br>
object_image-&gt; image.private = FALSE;<br>
<br>
Eliot&gt; the following takes 25% of the vertical real estate and says it better.<br>
<br>
Eliot&gt; object_image-&gt; image.private = options &amp; LINK_OPTION_PRIVATE) ==<br>
Eliot&gt; LINK_OPTION_PRIVATE;<br>
<br>
For an endless supply of these, check out <a href="http://thedailywtf.com" target="_blank">thedailywtf.com</a>, which should be<br>
mandatory reading for anyone involved in code creation, review, or<br>
maintenance, with &quot;Don&#39;t let your code end up here!&quot; as the goal.<br>
<br>
--<br>
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095<br>
&lt;<a href="mailto:merlyn@stonehenge.com">merlyn@stonehenge.com</a>&gt; &lt;URL:<a href="http://www.stonehenge.com/merlyn/" target="_blank">http://www.stonehenge.com/merlyn/</a>&gt;<br>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.<br>
See <a href="http://methodsandmessages.vox.com/" target="_blank">http://methodsandmessages.vox.com/</a> for Smalltalk and Seaside discussion<br>
<br>
<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Thu, 18 Sep 2008 13:39:11 -0400<br>
From: &quot;David T. Lewis&quot; &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;<br>
Subject: [squeak-dev] [ANN] MemoryAccess Slang alternative to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;sqMemoryAccess.h macros<br>
To: <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>
Cc: <a href="mailto:vm-dev@discuss.squeakfoundation.org">vm-dev@discuss.squeakfoundation.org</a><br>
Message-ID: &lt;<a href="mailto:20080918173911.GA82094@shell.msen.com">20080918173911.GA82094@shell.msen.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
MemoryAccess is a small addition to VMMaker that provides a Smalltalk Slang<br>
implemention of the memory access macros (or static inline functions) that<br>
are normally defined in sqMemoryAccess.h. By implementing these methods in<br>
Smalltalk, they may be directly translated to C code by the Slang translator,<br>
with Slang inlining providing performance similar to that of traditional<br>
C preprocessor macros. The resulting C code is directly visible to C debuggers<br>
and profiling tools, and the use of C code rather than macros is helpful in<br>
exposing problems such as improper type declarations and 32bit/64bit word<br>
size issues.<br>
<br>
I did my testing only with VMMaker from SqueakSource, but I expect MemoryAccess<br>
to work correctly with any of the several VM development projects currently<br>
in play, given that a few relevant patches are collected from Mantis.<br>
<br>
Change set, platform diffs, and a more complete description are at<br>
&nbsp;<a href="http://wiki.squeak.org/squeak/6081" target="_blank">http://wiki.squeak.org/squeak/6081</a><br>
<br>
- Dave<br>
<br>
(cross-posted to squeak-dev and vm-dev, replies should go to vm-dev if possible)<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 11<br>
Date: Thu, 18 Sep 2008 10:48:49 -0700<br>
From: Craig Latta &lt;<a href="mailto:craig@netjam.org">craig@netjam.org</a>&gt;<br>
Subject: [squeak-dev] Squeak leadership meeting minutes, 2008-09-17<br>
To: <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>
Message-ID: &lt;gau4a3$e0m$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
<br>
Squeak leadership meeting minutes, 2008-09-17:<br>
<br>
present: Craig, Randal, Bert, Yoshiki<br>
<br>
Craig got new signed agreements from VPRI.<br>
<br>
Yoshiki has code for cleanup and for gathering contributors, will give<br>
to release team.<br>
<br>
Yoshiki will also work with the web team to put the right disclaimer for<br>
all future contributions.<br>
<br>
<br>
-C<br>
<br>
--<br>
Craig Latta<br>
improvisational musical informaticist<br>
<a href="http://www.netjam.org" target="_blank">www.netjam.org</a><br>
Smalltalkers do: [:it | All with: Class, (And love: it)]<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 12<br>
Date: Thu, 18 Sep 2008 14:14:05 -0400<br>
From: &quot;C. David Shaffer&quot; &lt;<a href="mailto:cdshaffer@acm.org">cdshaffer@acm.org</a>&gt;<br>
Subject: Re: [squeak-dev] MonticelloConfiguration and Installer<br>
 &nbsp; &nbsp; &nbsp; &nbsp;questions<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:48D29A6D.7020809@acm.org">48D29A6D.7020809@acm.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Bert Freudenberg wrote:<br>
&gt;<br>
&gt;<br>
&gt; Works fine with an http squeaksource server for me.<br>
&gt;<br>
Ah, that&#39;s it. &nbsp;Apache/WebDAV servers produce:<br>
<br>
HTTP/1.1 204 No Content<br>
<br>
when a PUT is issued on top of an existing file. &nbsp;This appears to be OK,<br>
as far as the specification doesn&#39;t really indicate what successful<br>
status code should be used. &nbsp;Anyway, this causes MC to produce a<br>
walkback even though the PUT was successful. &nbsp;I suggest (only last two<br>
lines changed):<br>
<br>
MCHttpRepository&gt;&gt;writeStreamForFileNamed: aString replace:<br>
ignoreBoolean do: aBlock<br>
 &nbsp; &nbsp;| stream response statusLine code |<br>
 &nbsp; &nbsp;stream := RWBinaryOrTextStream on: String new.<br>
 &nbsp; &nbsp;aBlock value: stream.<br>
 &nbsp; &nbsp;response := HTTPSocket<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;httpPut: stream contents<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to: (self urlForFileNamed: aString)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;user: self user<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;passwd: self password.<br>
<br>
 &nbsp; &nbsp;statusLine := response copyUpTo: Character cr.<br>
 &nbsp; &nbsp;code := (statusLine findTokens: &#39; &#39;) second asInteger.<br>
 &nbsp; &nbsp;(#(200 201 204) includes: code)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ifFalse: [self error: response].<br>
<br>
<br>
but I&#39;m not enough of an MC guru to know if this is a bad idea or not.<br>
If I don&#39;t hear any objections I&#39;ll post the patch.<br>
<br>
David<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 13<br>
Date: Thu, 18 Sep 2008 20:37:53 +0200<br>
From: Robert Hirschfeld &lt;<a href="mailto:robert.hirschfeld@gmx.net">robert.hirschfeld@gmx.net</a>&gt;<br>
Subject: [squeak-dev] Lisp50@OOPSLA -- Celebrating the 50th birthday<br>
 &nbsp; &nbsp; &nbsp; &nbsp;of Lisp at OOPSLA 2008<br>
To: <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>, <a href="mailto:etoys@laptop.org">etoys@laptop.org</a>,<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:squeak-ev@lists.squeakfoundation.org">squeak-ev@lists.squeakfoundation.org</a>, <a href="mailto:croquet-dev@duke.edu">croquet-dev@duke.edu</a><br>
Message-ID: &lt;<a href="mailto:48D2A001.3060407@gmx.net">48D2A001.3060407@gmx.net</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Lisp50@OOPSLA<br>
...celebrating the 50th birthday of Lisp at OOPSLA 2008<br>
<br>
Monday, October 20, 2008<br>
Nashville, Tennessee, USA<br>
co-located with OOPSLA 2008<br>
participation is free for all OOPSLA participants<br>
registration for at least one conference day at OOPSLA is required<br>
<br>
URL: http:<a href="http://www.lisp50.org" target="_blank">www.lisp50.org</a><br>
Feed: <a href="http://lisp50.blogspot.com" target="_blank">http://lisp50.blogspot.com</a><br>
<br>
<br>
Invited Speakers<br>
<br>
+ William Clinger, Northeastern University, USA<br>
+ Pascal Costanza, Vrije Universiteit Brussel, Belgium<br>
+ Richard Gabriel, IBM Research, USA<br>
+ Rich Hickey, Independent Consultant, USA<br>
+ Alan Kay, Viewpoints Research Institute, USA<br>
+ Fritz Kunze, USA<br>
+ Ora Lassila, Nokia Research Center, USA<br>
+ John McCarthy, USA<br>
+ Kent Pitman, PTC, USA<br>
+ Guy Steele, Sun Microsystems Laboratories, USA<br>
+ Herbert Stoyan, University of Erlangen, Germany<br>
+ Warren Teitelman, Google Inc., USA<br>
+ JonL White, USA<br>
<br>
Titles, abstracts, biographies and schedule will be announced at the<br>
Lisp50 webpage and blog in the coming days and weeks.<br>
<br>
<br>
Abstract<br>
<br>
In October 1958, John McCarthy published one in a series of reports about<br>
his then ongoing effort for designing a new programming language that<br>
would be especially suited for achieving artificial intelligence. That<br>
report was the first one to use the name LISP for this new programming<br>
language. 50 years later, Lisp is still in use. This year we are<br>
celebrating Lisp&#39;s 50th birthday. OOPSLA 2008 is an excellent venue for<br>
such a celebration, because object-oriented programming benefited heavily<br>
from Lisp ideas and because OOPSLA 2008 takes place in October, exactly<br>
50 years after the name Lisp has been used publicly for the first time.<br>
We will have talks by John McCarthy himself, and numerous other<br>
influential Lispers from the past five decades. We will also take a look<br>
at the next 50 years of Lisp.<br>
<br>
<br>
Organizers<br>
<br>
+ Pascal Costanza, Vrije Universiteit Brussel, Belgium<br>
+ Richard Gabriel, IBM Research, Hawthorne, NY, USA<br>
+ Robert Hirschfeld, Hasso-Plattner-Institut, Potsdam, Germany<br>
+ Guy Steele, Sun Microsystems Laboratories, Burlington, MA, USA<br>
<br>
Sponsored by ACM SIGPLAN<br>
<br>
Supported by<br>
+ IBM Research<br>
+ LispWorks Ltd<br>
+ Franz Inc.<br>
+ Clozure Associates<br>
<br>
--<br>
<br>
Robert Hirschfeld<br>
<a href="mailto:hirschfeld@acm.org">hirschfeld@acm.org</a><br>
<a href="http://www.hirschfeld.org" target="_blank">www.hirschfeld.org</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 14<br>
Date: Thu, 18 Sep 2008 20:43:51 +0200<br>
From: Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;<br>
Subject: Re: [squeak-dev] MonticelloConfiguration and Installer<br>
 &nbsp; &nbsp; &nbsp; &nbsp;questions<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:CD25A3CD-48AB-4252-B360-5CEFA9EEB508@freudenbergs.de">CD25A3CD-48AB-4252-B360-5CEFA9EEB508@freudenbergs.de</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br>
<br>
<br>
Am 18.09.2008 um 20:14 schrieb C. David Shaffer:<br>
<br>
&gt; Bert Freudenberg wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Works fine with an http squeaksource server for me.<br>
&gt;&gt;<br>
&gt; Ah, that&#39;s it. &nbsp;Apache/WebDAV servers produce:<br>
&gt;<br>
&gt; HTTP/1.1 204 No Content<br>
&gt;<br>
&gt; when a PUT is issued on top of an existing file. &nbsp;This appears to be<br>
&gt; OK, as far as the specification doesn&#39;t really indicate what<br>
&gt; successful status code should be used. &nbsp;Anyway, this causes MC to<br>
&gt; produce a walkback even though the PUT was successful. &nbsp;I suggest<br>
&gt; (only last two lines changed):<br>
&gt;<br>
&gt; MCHttpRepository&gt;&gt;writeStreamForFileNamed: aString replace:<br>
&gt; ignoreBoolean do: aBlock<br>
&gt; &nbsp; | stream response statusLine code |<br>
&gt; &nbsp; stream := RWBinaryOrTextStream on: String new.<br>
&gt; &nbsp; aBlock value: stream.<br>
&gt; &nbsp; response := HTTPSocket<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpPut: stream contents<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; to: (self urlForFileNamed: aString)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; user: self user<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; passwd: self password.<br>
&gt;<br>
&gt; &nbsp; statusLine := response copyUpTo: Character cr.<br>
&gt; &nbsp; code := (statusLine findTokens: &#39; &#39;) second asInteger.<br>
&gt; &nbsp; (#(200 201 204) includes: code)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ifFalse: [self error: response].<br>
&gt;<br>
&gt;<br>
&gt; but I&#39;m not enough of an MC guru to know if this is a bad idea or<br>
&gt; not. &nbsp;If I don&#39;t hear any objections I&#39;ll post the patch.<br>
<br>
<br>
Actually, all 2xx codes mean okay:<br>
<br>
<a href="http://www.w3.org/Protocols/HTTP/HTRESP.html" target="_blank">http://www.w3.org/Protocols/HTTP/HTRESP.html</a><br>
<br>
- Bert -<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 15<br>
Date: Thu, 18 Sep 2008 13:04:56 -0700<br>
From: Yoshiki Ohshima &lt;<a href="mailto:yoshiki@vpri.org">yoshiki@vpri.org</a>&gt;<br>
Subject: [squeak-dev] From 3.8-6665-basic to 3.9<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:u1vzhkyon.wl%25yoshiki@vpri.org">u1vzhkyon.wl%yoshiki@vpri.org</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII<br>
<br>
 &nbsp;Hello,<br>
<br>
 &nbsp;I&#39;m getting curious to see the full history of changes so what I&#39;m<br>
now trying to do is to update 3.8-6665-full image to 3.9 alpha. &nbsp;I did a<br>
little magic incantation to set the version, and doing updates.<br>
<br>
 &nbsp;As 6675InstallPkgsWarning-dew.cs warns, it *really* takes long<br>
time... &nbsp;I&#39;m on it for a few hours. &nbsp;It could be because of the slow<br>
network connection I have, but does anybody have an idea about how<br>
long should it take, in a ballpark figure, with a one-year old laptop<br>
computer?<br>
<br>
-- Yoshiki<br>
<br>
<br>
------------------------------<br>
<br>
Message: 16<br>
Date: Thu, 18 Sep 2008 22:17:52 +0200<br>
From: Markus Fritsche &lt;<a href="mailto:fritsche.markus@gmx.net">fritsche.markus@gmx.net</a>&gt;<br>
Subject: [squeak-dev] CSV parser<br>
To: <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>
Message-ID: &lt;d20aqi3eddau$.<a href="mailto:129ouavk3n0c4.dlg@40tude.net">129ouavk3n0c4.dlg@40tude.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hello,<br>
<br>
has somebody got a CSV parser implemented in squeak? I was looking for<br>
something to parse CSV (excel exported) text files and did not find<br>
something so far.<br>
<br>
Kind regards, Markus<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 17<br>
Date: Thu, 18 Sep 2008 23:30:23 +0200<br>
From: nicolas cellier &lt;<a href="mailto:ncellier@ifrance.com">ncellier@ifrance.com</a>&gt;<br>
Subject: [squeak-dev] Re: unix 3.10-1 VM scrambles #PageUp #PageDown<br>
 &nbsp; &nbsp; &nbsp; &nbsp;#End &nbsp; &nbsp;keys<br>
To: <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>
Message-ID: &lt;gauh9g$meg$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Yoshiki Ohshima a écrit :<br>
&gt; At Wed, 17 Sep 2008 17:35:59 -0700,<br>
&gt; Yoshiki Ohshima wrote:<br>
&gt;&gt; &nbsp; Could you compile the VM with the line:<br>
&gt;&gt;<br>
&gt;&gt; static unsigned short const sqSpecialKey[] = {1, 28, 30, 29, 31, 5, 11, 12, 4};<br>
&gt;&gt;<br>
&gt;&gt; changed to perhaps:<br>
&gt;&gt;<br>
&gt;&gt; static unsigned short const sqSpecialKey[] = {1, 28, 30, 29, 31, 11, 12, 4, 5};<br>
&gt;<br>
&gt; &nbsp; Ok... I fixed my laptop and tried it. &nbsp;The correct line should be:<br>
&gt;<br>
&gt; static unsigned short const sqSpecialKey[] = {1, 28, 30, 29, 31, 11, 12, 4, 1};<br>
&gt;<br>
<br>
Thank you very much Yoshiki, this change made my squeak hours easier!<br>
<br>
<br>
&gt; &nbsp; The first 1 may well be off; the array could be one short and the<br>
&gt; offset could be adjusted, but I think behavior that is &quot;forgiving&quot;<br>
&gt; makes sense here.<br>
&gt;<br>
&gt; -- Yoshiki<br>
&gt;<br>
&gt;<br>
<br>
Hmm, my #home key did work as expected before change.<br>
I would have guessed the last 1 would map to another key (which one?).<br>
No matter, thanks again!<br>
<br>
Nicolas<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 18<br>
Date: Thu, 18 Sep 2008 18:37:33 -0300<br>
From: &quot; Hern?n Morales Durand &quot; &lt;<a href="mailto:hernan.morales@gmail.com">hernan.morales@gmail.com</a>&gt;<br>
Subject: Re: [squeak-dev] CSV parser<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:70da5dd20809181437r55e6f99fj33c1312915669e3e@mail.gmail.com">70da5dd20809181437r55e6f99fj33c1312915669e3e@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
<a href="http://www.squeaksource.com/CSV.html" target="_blank">http://www.squeaksource.com/CSV.html</a><br>
<br>
2008/9/18 Markus Fritsche &lt;<a href="mailto:fritsche.markus@gmx.net">fritsche.markus@gmx.net</a>&gt;<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; has somebody got a CSV parser implemented in squeak? I was looking for<br>
&gt; something to parse CSV (excel exported) text files and did not find<br>
&gt; something so far.<br>
&gt;<br>
&gt; Kind regards, Markus<br>
&gt;<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/5d3f23a4/attachment-0001.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080918/5d3f23a4/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 19<br>
Date: Thu, 18 Sep 2008 23:41:13 +0200<br>
From: Markus Fritsche &lt;<a href="mailto:fritsche.markus@gmx.net">fritsche.markus@gmx.net</a>&gt;<br>
Subject: [squeak-dev] Re: CSV parser<br>
To: <a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>
Message-ID: &lt;e4gkbivakbya$.zbbzigrw91yx$.<a href="mailto:dlg@40tude.net">dlg@40tude.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Am Thu, 18 Sep 2008 18:37:33 -0300 schrieb Hernán Morales Durand:<br>
<br>
&gt; <a href="http://www.squeaksource.com/CSV.html" target="_blank">http://www.squeaksource.com/CSV.html</a><br>
<br>
Doh!<br>
<br>
Thanks<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 20<br>
Date: Thu, 18 Sep 2008 14:55:25 -0700<br>
From: Andres Valloud &lt;<a href="mailto:AVALLOUD@roadrunner.com">AVALLOUD@roadrunner.com</a>&gt;<br>
Subject: [squeak-dev] [Smalltalks 2008] --- Latest news<br>
To: The general-purpose Squeak developers list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:48D2CE4D.4010009@roadrunner.com">48D2CE4D.4010009@roadrunner.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hello,<br>
<br>
We would like to share the latest news about the Smalltalks 2008 conference.<br>
<br>
1. &nbsp;We have opened the submission process for talks. &nbsp;The URL is below,<br>
<br>
<a href="http://neuquina.lifia.info.unlp.edu.ar:8001/Smalltalks-2008" target="_blank">http://neuquina.lifia.info.unlp.edu.ar:8001/Smalltalks-2008</a><br>
<br>
The form can be found under the section &quot;Talks&quot;. &nbsp;We are looking forward<br>
to hear about different types of presentations, whether they be<br>
industry, research or education related. &nbsp;The submission deadline is<br>
October 13th.<br>
<br>
<br>
2. &nbsp;Furthermore, we have also opened the submission process for<br>
tutorials. &nbsp;The URL is the same as above, only the form is under the<br>
section &quot;Tutorials&quot;. &nbsp;The deadline is also October 13th.<br>
<br>
<br>
3. &nbsp;Finally, we would like to remind you that the coding contest rules<br>
and regulations, as well as the problem, will be published on October<br>
1st. &nbsp;For more information check the section &quot;Coding Contest&quot; in the<br>
conference&#39;s web site.<br>
<br>
<br>
We look forward to see you at the conference!<br>
Smalltalks 2008 Organization Committee<br>
<br>
<br>
------------------------------<br>
<br>
Message: 21<br>
Date: Fri, 19 Sep 2008 01:39:40 -0300<br>
From: &quot;Mariano Martinez Peck&quot; &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;<br>
Subject: Re: [squeak-dev] Re: About Eliot FFi changes<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:a38fadc50809182139k633a47a8o98b20afc95dd5ed8@mail.gmail.com">a38fadc50809182139k633a47a8o98b20afc95dd5ed8@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Ok, perfect. Many thanks Eliot<br>
<br>
Mariano<br>
<br>
On Wed, Sep 17, 2008 at 1:57 PM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;wrote:<br>
<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Sep 16, 2008 at 10:00 PM, Mariano Martinez Peck &lt;<br>
&gt; <a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Sorry, but these are &quot;changes&quot; or &quot;refactors&quot; ?.<br>
&gt;&gt;<br>
&gt;<br>
&gt; It is an alternative FFI.<br>
&gt;<br>
&gt;<br>
&gt;&gt; I mean, do these changes affect FFI uses, public interface or something?<br>
&gt;&gt; Suppose I am using FFI in a project, should I care about this ?<br>
&gt;&gt;<br>
&gt;<br>
&gt; No. &nbsp;It is being used in the Newspeak system and I will probably use<br>
&gt; elements of it in my work at Qwaq and eventually it may be used to augment<br>
&gt; or reimplement parts of the existing FFI. &nbsp;But that&#39;s in the future and so<br>
&gt; you don&#39;t need to worry about it yet.<br>
&gt;<br>
&gt; HTH<br>
&gt; Eliot<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; many thanks,<br>
&gt;&gt;<br>
&gt;&gt; mariano<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Sep 4, 2008 at 12:38 AM, Andreas Raab &lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Just FYI (and in case someone wonders), I spoke to Eliot today and it<br>
&gt;&gt;&gt; seems indeed to have been a very noisy restaurant ;-) Eliot was referring to<br>
&gt;&gt;&gt; his &quot;Alien&quot; work which is an FFI replacement (which we have spoken about on<br>
&gt;&gt;&gt; some occasions) but as far as I am aware the code has not been published<br>
&gt;&gt;&gt; anywhere.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It certainly was never sent to the VM maintainers.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt; &nbsp;- Andreas<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Andreas Raab wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; stephane ducasse wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Eliot told me (from memory so can be wrong)<br>
&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;dan, john, andreas, tim,<br>
&gt;&gt;&gt;&gt;&gt; but this was in a noisy restaurant (but good)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;m not sure what you&#39;re referring to but I&#39;ll ask Eliot when he&#39;s back.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt; &nbsp;- Andreas<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp;On Aug 30, 2008, at 12:38 PM, Bert Freudenberg wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Am 30.08.2008 um 12:26 schrieb stephane ducasse:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &nbsp;Hi all<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I discussed at ESUG with Eliot and he told us that he sent a while<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ago<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; his changes to get a much nicer FFI implementation to the VM<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; maintainers.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I do not remember seeing this on the vm-dev list:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.google.com/search?q=ffi+eliot+site%3Ahttp%3A%2F%2Flists.squeakfoundation.org%2Fpipermail%2Fvm-dev%2F" target="_blank">http://www.google.com/search?q=ffi+eliot+site%3Ahttp%3A%2F%2Flists.squeakfoundation.org%2Fpipermail%2Fvm-dev%2F</a><br>

&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Whom did he sent it to exactly?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; - Bert -<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080919/a991f8a5/attachment-0001.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080919/a991f8a5/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 22<br>
Date: Fri, 19 Sep 2008 01:47:57 -0300<br>
From: &quot;Mariano Martinez Peck&quot; &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;<br>
Subject: Re: [squeak-dev] Re: Send NULL to a C function trough FFI<br>
To: &quot;The general-purpose Squeak developers list&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:a38fadc50809182147r17cd9f04g202e7d9327400cb4@mail.gmail.com">a38fadc50809182147r17cd9f04g202e7d9327400cb4@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
On Wed, Sep 17, 2008 at 2:26 AM, Andreas Raab &lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt; wrote:<br>
<br>
&gt; Mariano Martinez Peck wrote:<br>
&gt;<br>
&gt;&gt; Igor: I tried what you said but I get the same error. Here is more<br>
&gt;&gt; information:<br>
&gt;&gt;<br>
&gt;&gt; The C function is like this:<br>
&gt;&gt; &nbsp;int *odbx_result*(<br>
&gt;&gt; &nbsp; &nbsp;odbx_t* /*handle*/,<br>
&gt;&gt; &nbsp; &nbsp;odbx_result_t** /*result*/,<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp;struct timeval* /*timeout*/,<br>
&gt;&gt; &nbsp; &nbsp;unsigned long /*chunk*/ )<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; My method with FFI is this:<br>
&gt;&gt;<br>
&gt;&gt; apiQueryResult: connectionHandle handle: handle timeout: timeout chunk:<br>
&gt;&gt; chunk<br>
&gt;&gt; &nbsp; &nbsp;&lt;cdecl: long &#39;odbx_result&#39; (ulong ulong* DBXTimeSpec ulong) module:<br>
&gt;&gt; &#39;opendbx&#39;&gt;<br>
&gt;&gt; &nbsp; &nbsp;^self externalCallFailed<br>
&gt;&gt;<br>
&gt;<br>
&gt; The reason it doesn&#39;t work is that the FFI spec doesn&#39;t match the C<br>
&gt; function declaration. Both the first and third argument are declared<br>
&gt; pointers in C, and not declared pointers in the FFI. This is particularly<br>
&gt; problematic with the struct timeval since the FFI now expects you to pass<br>
&gt; the struct timeval by value (since you haven&#39;t declared it as being a<br>
&gt; pointer) and will not accept nil as argument (since it would have to<br>
&gt; dereference the pointer and consequently crash). Try the following<br>
&gt; declaration instead:<br>
&gt;<br>
&gt; &lt;cdecl: long &#39;odbx_result&#39; (ulong* ulong* DBXTimeSpec* ulong) module:<br>
&gt; &#39;opendbx&#39;&gt;<br>
&gt;<br>
&gt; This will accept nil as the parameter for the timeout value.<br>
&gt;<br>
<br>
<br>
Andreas: You were right. It was that. I changed to DBXTimeSpec* and now I<br>
can send nil.<br>
<br>
Many thanks,<br>
<br>
mariano<br>
<br>
<br>
<br>
&gt;<br>
&gt; Cheers,<br>
&gt; &nbsp;- Andreas<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080919/36094bdc/attachment.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080919/36094bdc/attachment.htm</a><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Squeak-dev mailing list<br>
<a href="mailto:Squeak-dev@lists.squeakfoundation.org">Squeak-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-dev</a><br>
<br>
End of Squeak-dev Digest, Vol 69, Issue 28<br>
******************************************<br>
</blockquote></div><br></div>