<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.lang.smalltalk.squeak.general">
    <title>gmane.comp.lang.smalltalk.squeak.general</title>
    <link>http://blog.gmane.org/gmane.comp.lang.smalltalk.squeak.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129158"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129157"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129156"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129155"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129154"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129153"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129152"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129151"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129150"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129149"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129148"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129147"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129146"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129145"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129144"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129143"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129142"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129141"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129140"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129139"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129158">
    <title>Re: Re: Making a better Compiler for all</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129158</link>
    <description>
</description>
    <dc:creator>David Zmick</dc:creator>
    <dc:date>2008-09-08T01:02:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129157">
    <title>Re: Re: Making a better Compiler for all</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129157</link>
    <description>
</description>
    <dc:creator>Eliot Miranda</dc:creator>
    <dc:date>2008-09-07T22:54:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129156">
    <title>Re: Re: Making a better Compiler for all</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129156</link>
    <description>
</description>
    <dc:creator>Kjell Godo</dc:creator>
    <dc:date>2008-09-07T22:39:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129155">
    <title>Re: Possible approaches for rendering in Morphic 3</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129155</link>
    <description>Juan,

you might find my proposal for adaptive rendering interesting:

http://www.lsi.usp.br/~jecel/gmodel.html

</description>
    <dc:creator>Jecel Assumpcao Jr</dc:creator>
    <dc:date>2008-09-07T21:43:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129154">
    <title>Re: Possible approaches for rendering in Morphic 3</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129154</link>
    <description>That's fine, it makes sense.  I was thinking that you might be doing
something more complicated than you are (which would be fun to go into
over a beer, but I'm sure that I would fail to get it across via email).


Neat idea!  The Larrabee paper at SIGGRAPH (which I seem to constantly
be recommending to people) describes a tile-based rendering pipeline
that is similar to this.

http://softwarecommunity.intel.com/UserFiles/en-us/File/larrabee_manycore.pdf


Are you planning to use the same transform on the whole screen, or do
you have ideas about how to use different transforms in different parts
of the screen (or different sub-trees of the morph hierarchy)?  If the
latter, I can imagine explicitly referring to outer transforms to
transform some properties (eg: circle radius) while letting others use
the default transform for that context (eg: the circle's center would
use the logarithmic transform).  If there were reified slots, like in
Tweak, then the transform to use could be attached to the slot (with nil
meaning the default transform w/in that context).

Half-baked, I know :-)

Cheers,
Josh




</description>
    <dc:creator>Joshua Gargus</dc:creator>
    <dc:date>2008-09-07T20:38:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129153">
    <title>Re: Re: Making a better Compiler for all</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129153</link>
    <description>
</description>
    <dc:creator>Kjell Godo</dc:creator>
    <dc:date>2008-09-07T19:22:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129152">
    <title>Re: Execute on Launch?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129152</link>
    <description>
On Sep 7, 2008, at 5:13 PM, Bert Freudenberg wrote:


It's fair to mention that you can indicate where in the sequence of  
startup items you would like to start
addToStartUpList:after:

Obviously if you are fiddling with the font system (aka Sophie) you  
want to do that *before* the Morphic/Tweak UI
startup: runs...


--
= 
= 
= 
========================================================================
John M. McIntosh &lt;johnmci&lt; at &gt;smalltalkconsulting.com&gt;
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================




</description>
    <dc:creator>John M McIntosh</dc:creator>
    <dc:date>2008-09-07T18:58:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129151">
    <title>Re: Using V8 for other languages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129151</link>
    <description>

Yes, that's what I meant too.  They can afford a fast nonoptimizing
compiler, at least now.

Paolo


</description>
    <dc:creator>Paolo Bonzini</dc:creator>
    <dc:date>2008-09-07T15:50:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129150">
    <title>Re: Execute on Launch?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129150</link>
    <description>
Oops! Well, I guess that must be the reason for step 3 ;)

Dave



</description>
    <dc:creator>David T. Lewis</dc:creator>
    <dc:date>2008-09-07T15:36:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129149">
    <title>Re: Execute on Launch?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129149</link>
    <description>
Am 07.09.2008 um 17:09 schrieb David T. Lewis:


#startUp: works better ;)

- Bert -




</description>
    <dc:creator>Bert Freudenberg</dc:creator>
    <dc:date>2008-09-07T15:13:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129148">
    <title>Re: Execute on Launch?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129148</link>
    <description>
Step one:
On the class side of your class, implement #startup: and have
your #startup: method do whatever needs to be done on image startup.
The parameter to the #startup: method will indicate whether the
image is being restarted (versus resuming after an image save), so
test for this (resuming ifTrue: [do my startup stuff]).

Step two:
In a #initialize class method for your class, add the line:
Smalltalk addToStartUpList: self.
Evaluate this one time to add your class to the system startup
list. This causes your #startup: method to be called whenever
the image is restarted.

Step three:
Save your image, restart, and see if it works.

Dave



</description>
    <dc:creator>David T. Lewis</dc:creator>
    <dc:date>2008-09-07T15:09:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129147">
    <title>Execute on Launch?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129147</link>
    <description>How do I get a method in one of my own classes to fire when Squeak first 
launches?

-Thanks, Jim


</description>
    <dc:creator>Jim Rosenberg</dc:creator>
    <dc:date>2008-09-07T14:41:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129146">
    <title>Re: The Squeak Random Number Generator</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129146</link>
    <description>This one seems to work well::
http://xkcd.com/221/

On Saturday Sep 6, 2008 AD, at 22:45, Jim Rosenberg wrote:




</description>
    <dc:creator>Frank Caggiano</dc:creator>
    <dc:date>2008-09-07T14:17:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129145">
    <title>Re: Re: Using V8 for other languages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129145</link>
    <description>
</description>
    <dc:creator>Eliot Miranda</dc:creator>
    <dc:date>2008-09-07T14:14:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129144">
    <title>Re: Re: Using V8 for other languages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129144</link>
    <description>
</description>
    <dc:creator>David Griswold</dc:creator>
    <dc:date>2008-09-07T11:56:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129143">
    <title>Re: Using V8 for other languages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129143</link>
    <description>

You can use a simple 1-pass compilation (without even register
allocation) that takes just a few ms for any reasonable amount of code.
 Don't forget that V8 runs (mainly) in a browser--if the browser is
sufficiently snappy, the user won't notice a compilation pause of a few
milliseconds.

Paolo


</description>
    <dc:creator>Paolo Bonzini</dc:creator>
    <dc:date>2008-09-07T11:22:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129142">
    <title>Re: Using V8 for other languages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129142</link>
    <description>

GNU Smalltalk has 22 opcodes that are very close to Eliot's list (I
marked the changes with notes on the right):

  SEND (n, super, num_args);        &lt;&lt; Eliot's "send" and "send super"
  PUSH_TEMPORARY_VARIABLE (n);
  PUSH_OUTER_TEMP (n, scopes);
  PUSH_LIT_VARIABLE (n);            &lt;&lt; could be push constant + #value
  PUSH_RECEIVER_VARIABLE (n);
  STORE_TEMPORARY_VARIABLE (n);
  STORE_OUTER_TEMP (n, scopes);
  STORE_LIT_VARIABLE (n);           &lt;&lt; could be #value:
  STORE_RECEIVER_VARIABLE (n);
  JUMP (ofs);                       &lt;&lt; could be done with sends
  POP_JUMP_TRUE (ofs);              &lt;&lt; likewise
  POP_JUMP_FALSE (ofs);             &lt;&lt; likewise
  PUSH_INTEGER (n);                 &lt;&lt; could be push constant
  PUSH_SELF;
  PUSH_SPECIAL (n);                 &lt;&lt; could be push constant
  PUSH_LIT_CONSTANT (n);
  POP_INTO_NEW_STACKTOP (n);        &lt;&lt; Eliot's make array
  POP_STACK_TOP;
  MAKE_DIRTY_BLOCK;
  RETURN_METHOD_STACK_TOP;
  RETURN_CONTEXT_STACK_TOP;
  DUP_STACK_TOP;

(24 counting the "line number" mark and a special "exit interpreter"
bytecode used by only one method in the entire system) distributed over
58 bytecodes.  There are 6 unused bytecodes, and 192 more bytecodes are
used for "composite" operations like

  PUSH_LIT_CONSTANT (arg);
  MAKE_DIRTY_BLOCK ();

or

  DUP_STACK_TOP ();
  PUSH_TEMPORARY_VARIABLE (arg);
  PUSH_INTEGER (1);
  PLUS_SPECIAL ();

My 2 cents,

Paolo


</description>
    <dc:creator>Paolo Bonzini</dc:creator>
    <dc:date>2008-09-07T11:18:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129141">
    <title>Re: The Squeak Random Number Generator</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129141</link>
    <description>John M McIntosh a écrit :

If underlying floating point arithmetic unit is compliant with IEEE 754, 
then the algorithm implemented in Random should return same values as 
the Integer form.

Float (that is double precision) are able of performing exact arithmetic 
up to 53 bits.

Operations performed in Random&gt;&gt;initialize and Random&gt;&gt;#nextValue are 
crafted to involve no more than 31 bit arithmetic on Integer values.
I mean intermediate results will never axceed 31 bits.
And all these Integer values can be represented exactly in Float.
Here are the highest bits involved:
   a highBit -&gt; 15
   m highBit -&gt; 31
   q highBit -&gt; 17
   r highBit -&gt; 12
This will result in highest possible bits:
   hi highBit -&gt; 14
   lo highbit -&gt; 17
   aLoRHi highBit -&gt; 31

Rewriting #theItsCompletelyBrokenTest more explicitely:

| seed a m rng c1 c2 |
seed := 2345678901.
a := 16r000041A7.
m := 16r7FFFFFFF.
rng := Random new.
rng seed: seed.
c1 := (1 to: 100) collect: [:i | rng next hex].
c2 := (1 to: 100) inject: seed into: [:prevSeed :i | prevSeed * a \\ m].
c2 := c2 collect: [:nextSeed | (nextSeed/m) asFloat hex].
^c1 = c2

I get no problem on my PC. Of course, if you subclassed Random with less 
care, that could be a problem.

Nicolas



</description>
    <dc:creator>nicolas cellier</dc:creator>
    <dc:date>2008-09-07T11:17:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129140">
    <title>Re: Using class indexes instead of reference in oopheader (in COG)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129140</link>
    <description>Hi Kjell,

On Sun, Sep 7, 2008 at 4:32 AM, Kjell Godo &lt;squeaklist&lt; at &gt;gmail.com&gt; wrote:

so did lots of people before you, I believe. Ever heard of CLOS? ;-)

scnr,

Michael


</description>
    <dc:creator>Michael Haupt</dc:creator>
    <dc:date>2008-09-07T09:12:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129139">
    <title>Re: The Squeak Random Number Generator</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129139</link>
    <description>At the time when David N Smith provided it, it replaced a very flawed  
implementation.

 From the comments you can see it's a:
"This Random Number Generator graciously contributed by David N.  
Smith.  It is an adaptation of the Park-Miller RNG which uses Floats  
to avoid the need for LargeInteger arithmetic.:

Normally it would return integers, but as you see it returns floats,  
to avoid the creation and time needed to deal with large integer  
objects.

The theItsCompletelyBrokenTest method returns values that don't match  
for some of the entries due to rounding. Someone with a powerpc  
machine would need
to cross check using an older VM. We altered the current VMs a few  
years back to align floating point rounding rules when it was  
discovered they gave different results on the
platforms for Croquet.


On Sep 7, 2008, at 4:45 AM, Jim Rosenberg wrote:


--
= 
= 
= 
========================================================================
John M. McIntosh &lt;johnmci&lt; at &gt;smalltalkconsulting.com&gt;
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================




</description>
    <dc:creator>John M McIntosh</dc:creator>
    <dc:date>2008-09-07T07:49:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129138">
    <title>Re: Possible approaches for rendering in Morphic 3</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/129138</link>
    <description>Yes!

Cheers,
Juan Vuletich


</description>
    <dc:creator>Juan Vuletich</dc:creator>
    <dc:date>2008-09-07T03:06:09</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.smalltalk.squeak.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.smalltalk.squeak.general</link>
  </textinput>
</rdf:RDF>
