[Pharo-users] Smalltalks 2018 videos are live

2019-01-16 Thread Gabriel Cotelli
Hi, We finished uploading all the videos of the conference. You can get the links and related info here . Regards, Gabriel in name of FAST

Re: [Pharo-users] [ANN] SETT (Store Export to Tonel Tools) for Pharo6.1

2019-01-16 Thread Sven Van Caekenberghe
Great, thanks for sharing this. > On 16 Jan 2019, at 20:35, Dale Henrichs > wrote: > > GemTalkSystems is pleased to announce SETT (Store Export to Tonel Tools)[1]. > SETT is open source project with an MIT license. > > SETT (Store Export to Tonel Tools) is a set of tools to export Smalltalk c

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Loïc Pagès
Hi Esteban, In the present model, the plant has a tree-like structure. It is a well suited structure, even for a dandelion since the leaves are connected on a shoot. The plant root system has a tree structure as well ! Thank you, Loïc Le 16/01/2019 à 13:52, Esteban Maringolo a écrit : This

Re: [Pharo-users] [ANN] SETT (Store Export to Tonel Tools) for Pharo6.1

2019-01-16 Thread Dale Henrichs via Pharo-users
--- Begin Message --- On 1/16/19 11:56 AM, Esteban Maringolo wrote: This is great! One less fence to move code from one dialect to another. :) I will follow the examples and try to export code from Store and load id in Pharo. Is it mandatory to use Linux? We've only tested with Linux and

Re: [Pharo-users] [ANN] SETT (Store Export to Tonel Tools) for Pharo6.1

2019-01-16 Thread Esteban Maringolo
This is great! One less fence to move code from one dialect to another. :) I will follow the examples and try to export code from Store and load id in Pharo. Is it mandatory to use Linux? Esteban A. Maringolo El mié., 16 ene. 2019 a las 16:38, Dale Henrichs (< dale.henri...@gemtalksystems.com

[Pharo-users] [ANN] SETT (Store Export to Tonel Tools) for Pharo6.1

2019-01-16 Thread Dale Henrichs
GemTalkSystems is pleased to announce SETT (Store Export to Tonel Tools)[1]. SETT is open source project with an MIT license. SETT (Store Export to Tonel Tools) is a set of tools to export Smalltalk code from Store and write into the Tonel file format managed using Git. SETT is: * a Pharo 6

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Jose San Leandro
Being a fan of DDD and Event Sourcing as I am, I'd implement your domain using Aggregates and Events. Basically, your aggregate (Plant?) would respond to external information (or based on a schedule) and as a result, new events are generated ("Flower sprung", "Plant died", ...). If only we had prop

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Joachim Tuchel
+1 about become: Don’t use it for business stuff. Plus it can be very problematic when it comes to persistence mechanisms like O/R mappers... > Am 16.01.2019 um 19:01 schrieb Esteban Maringolo : > >> El mié., 16 ene. 2019 a las 14:49, Ben Coman via Pharo-users >> () escribió: > >> >> >>> On

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Esteban Maringolo
El mié., 16 ene. 2019 a las 14:49, Ben Coman via Pharo-users (< pharo-users@lists.pharo.org>) escribió: > > > On Wed, 16 Jan 2019 at 17:16, Loïc Pagès wrote: > >> >> Maybe a naive question ? >> > > Maybe #become: ... > https://gbracha.blogspot.com/2009/07/miracle-of-become.html > > Although mirac

Re: [Pharo-users] adding instance variables (data) to the Object class

2019-01-16 Thread Stephan Eggermont
Petr Fischer via Pharo-users wrote: Hello! Weird question: why I can't add instance variables to the Object class (for example "oid" or something else)? Is it due to some internal (and different) VM "class layouts"? Or - can I inject my own information to all existing objects (any class)? You mi

Re: [Pharo-users] adding instance variables (data) to the Object class

2019-01-16 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- Petr, Since you seem to want to add this (these) extra instance variable(s) in the context of some kind of persistence (objects being retrieved/created from/to some kind of database), perhaps subclassing all your objects from a PersistentObject class (that inherits from O

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Richard Sargent
On Wed, Jan 16, 2019 at 9:05 AM Loïc Pagès wrote: > Hi Richard, > > You are in the south hemisphere, so ! Temperatures are low here in France. > > Thank you for your comments. > I agree that development is slow if you look at the plant every day, and > in this case we perceive continuous changes.

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Loïc Pagès
Hi Richard, You are in the south hemisphere, so ! Temperatures are low here in France. Thank you for your comments. I agree that development is slow if you look at the plant every day, and in this case we perceive continuous changes. But in models, it might be convenient to define discrete sta

Re: [Pharo-users] adding instance variables (data) to the Object class

2019-01-16 Thread James Foster
> On Jan 16, 2019, at 6:28 AM, Petr Fischer via Pharo-users > wrote: > > > From: Petr Fischer > Subject: Re: [Pharo-users] adding instance variables (data) to the Object > class > Date: January 16, 2019 at 6:28:44 AM PST > To: pharo-users@lists.pharo.org > > > Yes, due to the object layou

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Ben Coman via Pharo-users
--- Begin Message --- On Wed, 16 Jan 2019 at 17:16, Loïc Pagès wrote: > Dear Pharo users, > > I develop software dedicated to the simulation of plant development and > 3D architecture. > > In the past, I used Java, but I am very interested in translating code > in Pharo. I appreciated very much

Re: [Pharo-users] adding instance variables (data) to the Object class

2019-01-16 Thread Petr Fischer via Pharo-users
--- Begin Message --- Yes, due to the object layouts and strong connection of Object with VM, my idea can not be done that easily. I want to add some information (instance variables like OID [object id]) to some objects of any kind (some objects = persistent objects). I can do it with map (iden

[Pharo-users] LOOP book title mismatch

2019-01-16 Thread Richard Kenneth Eng
At http://books.pharo.org/learning-oop/, the title is "Learning Object-Oriented Programming, Design *with* TDD *in* Pharo" but the actual PDF has the title "Learning Object-Oriented Programming, Design *and* TDD *with* Pharo". So which title is correct?

Re: [Pharo-users] adding instance variables (data) to the Object class

2019-01-16 Thread Richard O'Keefe
I am having a little trouble understanding how adding instance variables to Object is supposed to work. Where would an immediate object like a SmallInteger *put* such variables? What does it even *mean* for 0 and 1 to have instance variables? Do you really want to give an extra word of storage t

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Esteban Maringolo
This is a challenging modelling issue, life progress or any other dissipative/emergent structure are "restricted" by the boundaries of your objects (e.g. if you model a flock, and it divides into two flocks, and then merges again, which flock remains? Note: I wouldn't model the Flock at all). So i

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Richard O'Keefe
It seems to me that in the real world, a bud does not get replaced by a flower nor a flower by a fruit, nor is there a definite point at which a thing stops being a bud and starts being a flower, and so on. It's summer now, but spring wasn't that long ago, and I enjoyed watching the imperceptible

Re: [Pharo-users] Transforming objects

2019-01-16 Thread Loïc Pagès
Hi Joachim, Thank you for your reply and for your ideas. I will reply to your questions below. Le 16/01/2019 à 10:25, jtuc...@objektfabrik.de a écrit : Loïc, Am I correct in assuming you are thinking about a model in which a plant can have a growing and shrinking list of organs over time an

Re: [Pharo-users] #select was sent to nil

2019-01-16 Thread Tudor Girba
Thanks for looking into this problem! Doru > On Jan 16, 2019, at 10:57 AM, Andrei Chis wrote: > > The bug seems to have been introduce in > Pharo7.0-SNAPSHOT.build.102.sha.3f660fc.arch.64bit by merging the pull > request https://github.com/pharo-project/pharo/pull/1847 > > On Wed, Jan 16, 2

Re: [Pharo-users] #select was sent to nil

2019-01-16 Thread Andrei Chis
The bug seems to have been introduce in Pharo7.0-SNAPSHOT.build.102.sha.3f660fc.arch.64bit by merging the pull request https://github.com/pharo-project/pharo/pull/1847 On Wed, Jan 16, 2019 at 1:32 AM Hilaire via Pharo-users < pharo-users@lists.pharo.org> wrote: > Indeed, seems to only happen in a

Re: [Pharo-users] Transforming objects

2019-01-16 Thread jtuc...@objektfabrik.de
Loïc, Am I correct in assuming you are thinking about a model in which a plant can have a growing and shrinking list of organs over time and some of them even have (a growing list of) stages? I am not an expert on the matter, but to me the stages idea sounds good. It even allows for historic

[Pharo-users] Transforming objects

2019-01-16 Thread Loïc Pagès
Dear Pharo users, I develop software dedicated to the simulation of plant development and 3D architecture. In the past, I used Java, but I am very interested in translating code in Pharo. I appreciated very much the language and the course. I have a question for you all : During plant deve