Alice in latest Squeak, was: Re: [squeak-dev] Balloon3D: not loading in trunk

Levente Uzonyi leves at elte.hu
Tue Oct 4 14:36:07 UTC 2011


On Tue, 4 Oct 2011, Enrico Spinielli wrote:

> The main reason for trying to load Ballooon3D was to get Alice working
> in Squeak,
> if somebody has any suggestions about how to get that working I am all ears...

You can get through the error, by rewriting VRMLStream class >> 
#initialize. Just remove the part that raises an error:

 	0 to: 255 do:[:i|
 		(DigitValues at: i+1) = (Character value: i) digitValue
 			ifFalse:[^self error:'Digit value initialization failed'].
 	].

The cause of the problem is that VRMLStream tries to duplicate a class 
variable of Character (DigitValues), but the code lacks changes done in 
Squeak 4.1, so the values differ. The real solution would be to use 
Character's DigitValues directly instead.

>
> Thanks a lot in advance
> Bye
> Enrico
> PS: why Alice (in Squeak) because it was easy and funny and instructive... ;-)

I could load Balloon3D into Squeak 4.3 (had to fix a syntax error, because 
#. is not a valid symbol anymore), but it's not functional, because it 
relies on stuff that was removed long ago (e.g.: CurrentProjectRefactoring).


Levente

>
> On Tue, Oct 4, 2011 at 15:09, Edgar J. De Cleene <edgardec2005 at gmail.com> wrote:
>>
>>
>>
>> On 10/4/11 10:00 AM, "Chris Cunnington" <smalltalktelevision at gmail.com>
>> wrote:
>>
>> "I got a failure on VRML component as in attached log and got stuck...
>> Any ideas about how to proceed?"
>>
>>
>> Yes, you should abandon using anything that requires VRML. That technology
>> is dead. That project on SqueakSource is dated from 2004.
>> Andreas Raab has moved on from anything related to VRML, and I imagine you
>> might benefit from doing the same. What is he using in
>> it's place now? Probably OpenGL or something.
>>
>> I was looking at Carbon to learn about VMs. I went to ESUG, met the VM
>> maintainers, and I got the message that I should move on to
>> Objective C, because that's where they were going. So that's what I'm doing.
>>
>> I'm involved in helping to bring out the next image. The idea that the new
>> image has to be able to load in any code from anywhere in
>> Squeak's past just depresses me. As a team and a community we only have so
>> many resources and they need to be spent wisely on things
>> like making the image smaller with each iteration.
>>
>> I think expectations about such things need to be managed. At some point
>> we've just got to say that that's the past. If you want to use
>> old code then you need to stick with old images. If 4.3 doesn't accommodate
>> VRML, I don't see how you can expect it to. The prospect
>> exhausts me even before I've started working on the 4.3 release.
>>
>> Please find out what Andreas Raab moved onto and use that.
>>
>> Chris Cunnington
>> SOB member
>>
>>
>> Mostly I agree , but...
>>
>> What is wrong on using some old as long works ?
>>
>> Balloon3D could be loaded with hard work and maybe if we can have it could
>> have a new user.
>>
>> In short time he realize all you said is true and follow your advice.
>>
>> But if we don˙˙t take users wishes , could loose he.
>>
>> So , I try to have Balloon3D  in next FunSqueak, but give me time...
>>
>> Edgar
>>
>>
>>
>
>
>
> -- 
> Enrico Spinielli
> "Do Androids dream of electric sheep?"˙˙ Philip K. Dick
> "Hear and forget; see and remember;do and understand."˙˙Mitchel Resnick
>
>


More information about the Squeak-dev mailing list