Making cultural simulations in Squeak with Kedama

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Making cultural simulations in Squeak with Kedama

Offray Vladimir Luna Cárdenas



Hi all :) .

I have sended this message more that 10 days ago and I have no answer
from the Squeakland mailing list. I'm trying to use Squeak/Kedama for my
thesis but the time of response in the list makes me wonder if this in
the right choice considering the few time I have for it and the fact
that I'm still a beginner with Squeak. So I send the message again to
this list, hoping for the answer. I hope that this will be the right
place (you will see also some other previous discussion, about the
subject, so you can get the context).

-----------------------------

I'm  having problems with Kedama inside Squeak. I don't know if this is
the proper place to put this concerns but the  issue was discuss in this
thread, so I thought that it was (please  if this is not the place point
me in the right direction)

I tried using first the SqueakAtenex.image from the Extremadura project,
because it's what my students and me used the last semester, but
remaking the Epidemic example I found that there is a problem with the
Kedama  menu translation of Kedama in that image. In the english version
you can see four options in the viewer of the Kedama Turtle: "kedama
turtle", "scripts", "kedama turtle breed" and "kedama turtle color". In
the Atenex image you can see four also in that viewer, but one of them
is repeated ("kedama turtle") and "kedama turtle breed" is absent. It
seems that "kedama turtle breed" was translated as "tortuga kedama"
("kedama turtle"), so adding a turtle is possible, but not increasing
the amount of turtles in a breed (at lest not as is explained in the
documentation).

So I tried then the Squeak3.8-6665full.image but Kedama is not available
from the object catalog. Trying to update from server says that no
updates are available from server and using the Squeak Map I can`t find
Kedama either. ¿How can I find/install the Kedama if its not available
in the object catalog of an image?

Then I tried Squeak3.9g-7054.image and Squeak3.9b-7051.image installed
from squeakland directly (without using any deb repository for Ubuntu)
and Kedama is there and I can reproduce the Epidemic simulation example,
but anytime I tried to open a *.pr project I get some error messages
about "MessageNotUnderstood: SmallInteger>>removeKey:ifAbsent:"
and other one about fonts. I can made the pr files run (after getting a
lot of that messages with the "Abandon" window), but some of them can't
run in with the "go" button for example (I need to locate the proper
scripts and make them ticking).

¿There is a image and changes file with Kedama working out of the box,
or there is another way to overcome the problems I show you?

I'm obsessed and passionated with Kedama and multiagents systems. My
master thesis is on collective problem solving and I think that
Kedama/Squeak is the way to go not only in my classroom with the
students as I showed in the SqueakFest, but also in my thesis, so if you
can help me with quick answers, I will be a lot thankful,

Cheers from Colombia,

Offray

Yoshiki Ohshima escribió:

>   Offray,
>
>  
>> ¿Do you think is feasible to implement the same model in Kedama? If
>> yes,    
>
>   My feeling is, yes, it looks feasible.
>
>  
>> ¿Where is the best way to start implementing it?
>>    
>
>   You can drop a Sketch onto a KedamaWorld to "fill" the world with
> turtles.  Then, you create 5 patch variables each of which represents
> a "trait" in your example.  You add properties that is called
> something like "origX" and "origY", and write scripts to save and
> restore the turtles' positions into these.  To cache the traits value,
> turtles should have 5 properties to save the values in the patch
> variables as well (See the example of ForestFire on the web.)
>
>   To initialize the patch variables, the ForestFire example should be
> helpful.  It initializes the map of forest with 1 or 0 value.  In this
> example, the initial values are in the range of 0 to 9 (or 1-10), but
> can be done in a similar manner.
>
>   At each step, the turtles first cache the values in patch variables
> to the own properties.  Then, they move around and compare the values
> in the cache with the values in neighboring patch variables, and
> modify the cached values.  At last, they return to the original
> position, and write back the cached values into the patch variables.
>
>   The modification made to the cached values
> is the core of the program, and it may require some amount of
> tile-scripting, but in principle, this should work.
>
> -- Yoshiki
>
> _______________________________________________
> Squeakland mailing list
> [hidden email]
> http://squeakland.org/mailman/listinfo/squeakland
>
>  



___________________________________

AVISO LEGAL: El presente correo electronico no representa la opinion o el consentimiento oficial de la PONTIFICIA UNIVERSIDAD JAVERIANA. Este mensaje es confidencial y puede contener informacion privilegiada la cual no puede ser usada ni divulgada a personas distintas de su destinatario. Esta prohibida la retencion, grabacion, utilizacion, aprovechamiento o divulgacion con cualquier proposito. Si por error recibe este mensaje, por favor destruya su contenido y avise a su remitente.
En este aviso legal se omiten intencionalmente las tildes.

Este mensaje ha sido revisado por un sistema antivirus, por lo que su contenido esta libre de virus.
This e-mail has been scanned by an antivirus system, so its contents is free of viruses.
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Making cultural simulations in Squeak with Kedama

Marcus Denker
>

> I tried using first the SqueakAtenex.image from the Extremadura  
> project, because it's what my students and me used the last  
> semester, but remaking the Epidemic example I found that there is a  
> problem with the Kedama  menu translation of Kedama in that image.  
> In the english version you can see four options in the viewer of  
> the Kedama Turtle: "kedama turtle", "scripts", "kedama turtle  
> breed" and "kedama turtle color". In the Atenex image you can see  
> four also in that viewer, but one of them is repeated ("kedama  
> turtle") and "kedama turtle breed" is absent. It seems that "kedama  
> turtle breed" was translated as "tortuga kedama" ("kedama turtle"),  
> so adding a turtle is possible, but not increasing the amount of  
> turtles in a breed (at lest not as is explained in the documentation).
>
I think the Kedama in SqueakLand Squeak has been updated from the one  
in the Extramadura version,

> So I tried then the Squeak3.8-6665full.image but Kedama is not  
> available from the object catalog. Trying to update from server  
> says that no updates are available from server and using the Squeak  
> Map I can`t find Kedama either. ¿How can I find/install the Kedama  
> if its not available in the object catalog of an image?
>

Kedama is, as much as I know, not available for 3.8. (maybe there is  
an old version somewhere).

> Then I tried Squeak3.9g-7054.image and Squeak3.9b-7051.image  
> installed from squeakland directly (without using any deb  
> repository for Ubuntu) and Kedama is there and I can reproduce the  
> Epidemic simulation example, but anytime I tried to open a *.pr  
> project I get some error messages about "MessageNotUnderstood:  
> SmallInteger>>removeKey:ifAbsent:"
> and other one about fonts. I can made the pr files run (after  
> getting a lot of that messages with the "Abandon" window), but some  
> of them can't run in with the "go" button for example (I need to  
> locate the proper scripts and make them ticking).
>
In 3.9, we put some effort into merging  all changes from squeakland  
and extramadura into the standard Squeak release.
Sadly 3.9 brakes backwards compatibility for project loading (.pr  
files)... this is unfortunate, and I don't know if this will ever get  
fixed.

A problem is a bit that both the squeakland and extramadura people  
did not join the 3.9 effort in any way, so all the eToy things are  
very likely
not much tested.

       Marcus
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

smime.p7s (5K) Download Attachment