Re: [Pharo-users] Lost access in Smalltalkhub

2017-03-03 Thread Stephane Ducasse
esteban will fix it. Contact him. On Fri, Mar 3, 2017 at 7:13 PM, Juan Manuel Vallejos < juanmanuelvallej...@gmail.com> wrote: > Hi, > > I lost access to my smalltalkhub account and wanted to ask if you know who > I should contact to solve my problem. > > Regards. > > Juan Manuel Vallejos >

[Pharo-users] Voyage and Date

2017-03-03 Thread Hilaire
Hi, Not sure it is related to this: http://forum.world.st/Possible-bug-with-Voyage-Mongo-date-tt4735597.html But a date 1966-2-17 is persisted as a DateAndtime of value 1966-02-16T23:00:00+00:00 in the repository, which when retrieve will then be 1996-16-2, and so on Exactly the utc time for

[Pharo-users] Lost access in Smalltalkhub

2017-03-03 Thread Juan Manuel Vallejos
Hi, I lost access to my smalltalkhub account and wanted to ask if you know who I should contact to solve my problem. Regards. Juan Manuel Vallejos

Re: [Pharo-users] Voyage and instances retrieving

2017-03-03 Thread Hilaire
Some more clues: in my application if I go in other part where these attributes are used for some simulation, the attributes are resolved as expected. Then when I go back the other part the select is working. On more hints: the attribute collection seems to resolve fine, so proxy is working, howev

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Pablo R. Digonzelli
Hi Steven . For the moment i just want to understand how it is possible. In the future may be i can apply this mechanism for future projects. Pablo Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Dividato SA 25 de Mayo 521 San Miguel de Tucumán Email: pdigonze...@softsargenti

Re: [Pharo-users] Voyage and instances retrieving

2017-03-03 Thread Esteban Lorenzano
> On 3 Mar 2017, at 17:24, Hilaire wrote: > > I don't understand why I should use a query! > I already have an instance of the object fetched from the repo but its > attributes are not resolved when read from an iterator block: I can't > pick up the one I want. mmm, attributes have to be solved

Re: [Pharo-users] Voyage and instances retrieving

2017-03-03 Thread Hilaire
I don't understand why I should use a query! I already have an instance of the object fetched from the repo but its attributes are not resolved when read from an iterator block: I can't pick up the one I want. These attributes are not root, to the contrary to what I wrote initially. Hilaire Le 03

[Pharo-users] Please commit/fix GAMysqlBinReader>>#timeStampFrom:

2017-03-03 Thread Holger Freyther
Hi, on Pharo5 and "latest"(?) stable release of Garage it is implemented as: timeStampFrom: aStream "ByteStream" | dt | dt := self dateTimeFrom: aStream. ^ dt ifNil: [nil] ifNotNil: [dt asTimeStamp] There is no implementor of asTimeStamp. From what I read is a TimeStamp i

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Steven Costiou
Hi, could you describe why you need this ? Do you have a usecase ? Just interested to know, as i work on similar mechanisms. Steven. Le 2017-03-03 14:55, Pablo R. Digonzelli a écrit : > Thanks Denis, I will take a look . I think this is what i need. > > Tia > > ---

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Pablo R. Digonzelli
Thanks Denis, I will take a look . I think this is what i need. Tia Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Dividato SA 25 de Mayo 521 San Miguel de Tucumán Email: pdigonze...@softsargentina.com pdigonze...@gmail.com Cel: 5493815982714 De: "Denis Kudriashov" Par

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Denis Kudriashov
Hi. Look at project Talents https://github.com/tesonep/pharo-talents. Idea is to implement behaviour (also with state) in normal way with classes and then dynamically install it to any existing objects 2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli : > Hi all. I need to know how can i do if i wa

[Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Pablo R. Digonzelli
Hi all. I need to know how can i do if i want add new behaviour ( a new method ) to a single instance object of a class. It means not to add new selector to the class but i want a single instance responds that mesage. Where can i read about it? Tia Ing. Pablo Digonzelli Software Solutions

Re: [Pharo-users] Voyage and instances retrieving

2017-03-03 Thread Esteban Lorenzano
> On 3 Mar 2017, at 12:17, Hilaire wrote: > > Hi Esteban, > > I could, but I don't understand why the attribute does not resolve to an > object equals to the other one in memory. if you have objects in memory you can do MyRoot selectAll select: [ :each | whateverYouWantBecauseYouAreInPharo ]

Re: [Pharo-users] Voyage and instances retrieving

2017-03-03 Thread Hilaire
Hi Esteban, I could, but I don't understand why the attribute does not resolve to an object equals to the other one in memory. If I add an inspect to the attributes, it resolves correctly and code work as expected: myObjectInRepo select: [ :each | each anAttribute inspect. someObjects includ

Re: [Pharo-users] Voyage and instances retrieving

2017-03-03 Thread Esteban Lorenzano
> On 3 Mar 2017, at 10:00, Hilaire wrote: > > Hi Esteban, > > I want to select some objects with code Smalltalk selectors, as bellow. why? you cannot transform that into a mongo query? something like: myObjectInRepo select: [ :each | (each at: ‘attribute’) in: someObjectsCollection ] Este

[Pharo-users] Voyage: VOToOneDescription or VOMongoToOneDescription

2017-03-03 Thread Hilaire
Hi, VOToOneDescription or VOMongoToOneDescription, that is the question? I am confuse because: This one works: mongoStartDate ^ VOToOneDescription new attributeName: 'startDate'; accessor: (MAPluggableAccessor read: [:loan | loan startDate] write: [:loan :dateAndTime | loan s

Re: [Pharo-users] Voyage and instances retrieving

2017-03-03 Thread Hilaire
Hi Esteban, I want to select some objects with code Smalltalk selectors, as bellow. In the code bellow, myObjectInRepo is already fetched from the repo (so it is in the image), but the select: return an empty list, but it should not be empty. myObjectInRepo select: [ :each | someObjects inclu