Re: [Pharo-users] Crash in Athens

2017-03-04 Thread Alexander Samoylovich
Hi Ronie, Esteban. Ronie's suggestion in the form Esteban presented it helped. After implementing the fix I failed to crash my application any more. Will anybody be so kind to explain me what actually happens and why the fix works? It looks so innocent. As far as I understand we do one

Re: [Pharo-users] why is concat of Symbols a string?

2017-03-04 Thread Igor Stasenko
Hmm.. symbols is usually treated like immutable object(s) in system. They tend to stay while rest of data changes.. This could explain why authors of this method purposedly picked to use ByteString for its species to discourage using symbols for collection manipulation(s).. Else, if you would need

Re: [Pharo-users] Lost access in Smalltalkhub

2017-03-04 Thread Juan Manuel Vallejos
Thank you. What is Stephen's mail? Juan Manuel Vallejos 2017-03-04 4:17 GMT-03:00 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

Re: [Pharo-users] [Modeling with Pharo] How to model a simple human interaction.

2017-03-04 Thread Paul DeBruicker
This may be overkill for your use but would love to have an MIT licensed set of classes that allow for/enable something like this: https://medium.com/assist/theres-a-dozen-ways-to-order-a-coffee-why-do-dumb-bots-only-allow-one-27230542636d#.laljhpyt5 sergio ruiz wrote > Hey all.. > > I got

Re: [Pharo-users] Voyage and Date

2017-03-04 Thread stepharong
I would love to have a digest of the problems you encountered and the solution. Because like that we could write a better documentation. I cannot because I do not face the problems (since I'm not developing real apps for lack of time/concentration). Stef On Sat, 04 Mar 2017 12:15:39

Re: [Pharo-users] [Modeling with Pharo] How to model a simple human interaction.

2017-03-04 Thread stepharong
Hi sergio Hey all.. I got my first paying gig that i am able to use pharo with, and i am on the last leg before calling it complete. super! I'm really happy for you. just this makes pharo and all our effort worth it. Here’s what I need to do.. This application accepts SMS text messages.

Re: [Pharo-users] [Pharo-dev] [ANN] XML Metadata Interchange (XMI) for Pharo

2017-03-04 Thread stepharong
On Thu, 02 Mar 2017 10:02:04 +0100, Peter Uhnak wrote: We spoke briefly on Tuesday. I need to take a look (also at his EMF generator) and see how the tools could benefit from each other. I think it could simplify some of my code or streamline the use of it. super cool

Re: [Pharo-users] [Pharo-dev] [ANN] Regex Tester Tool for Pharo

2017-03-04 Thread stepharong
And I think that his remark makes sense. I was wondering if we should not ressurect the RePlugin to make sure that users can use perlish regexp and do not feel that our world is strange. +1 +23 I've been using regexes casually for years and yet every time I use them in Pharo I have

Re: [Pharo-users] Arduino

2017-03-04 Thread stepharong
Hi Olivier, You probably have a few of these references, but since you don't mention which you have, I'll list what I found from a quick sweep... I read [1] that the Firmata protocol "uses the MIDI message format." Pharo seems to have removed the MIDI related code after it forked from

[Pharo-users] [Modeling with Pharo] How to model a simple human interaction.

2017-03-04 Thread sergio ruiz
Hey all.. I got my first paying gig that i am able to use pharo with, and i am on the last leg before calling it complete. Here’s what I need to do.. This application accepts SMS text messages. It allows the user to send images via MMS and place an order to a print house for those images..  

Re: [Pharo-users] Voyage and Date

2017-03-04 Thread Norbert Hartl
I think sticking to a date string is the safest thing to do. Especially if you use iso -mm-dd because the database indexes are predix based and are able to sort and build ranges. So you don't loose much. The problem is regarding the conceptually incompatible offset and #asDate. #asDate just

Re: [Pharo-users] why is concat of Symbols a string?

2017-03-04 Thread Clément Bera
Hi, All symbols are interned in the Symbol table. If one does (#foo , #bar , #baz) and each returned value would be a symbol, then both #foobar and #foobarbaz would be registered in the symbol table. I would guess that's why the concatenated value is a string and not a symbol, to avoid

Re: [Pharo-users] Voyage: VOToOneDescription or VOMongoToOneDescription

2017-03-04 Thread Sabine Manaa
Hi Hilaire, https://github.com/pharo-nosql/voyage/issues/56 The classes have been renamed. VOToOneDescription is new VOMongoToOneDescription is old Regards Sabine 2017-03-03 11:08 GMT+01:00 HilaireFernandes [via Smalltalk] < ml-node+s1294792n4936998...@n4.nabble.com>: > Hi, > >

Re: [Pharo-users] Voyage and duplicated entry

2017-03-04 Thread Sabine Manaa
Hi Hilaire, did you do VORepository current reset in the meantime? If yes, this could be the reason. If you do this, the smalltalk cache of the objects is reset and the next time the objects are loaded again from mongo and then they are no longer "the same" objects within smalltalk. I had a

Re: [Pharo-users] Voyage and Date

2017-03-04 Thread Sabine Manaa
Hi Hilaire, it is interesting to see your posts and having similar topics as me when starting to use voyage. I ended up with saving ZTimestamps. But I will think about storing strings too, because this is more readable when having direct look into mongo. There was a discussion in slack a few days

[Pharo-users] Voyage and duplicated entry

2017-03-04 Thread Hilaire
Hi, I have strange behavior when saving object: when I edit then save, I got a duplicated entry in the repository collection. Some description about the object: This object class is part of a hierarchy class, where the top is defined as voyage root. In this object, hash and = are redefined. Any

[Pharo-users] why is concat of Symbols a string?

2017-03-04 Thread Peter Uhnak
Hi, why is the concatenation of symbols a string? e.g. #desc, #Name -> 'descName' this means that I have to always wrap in parentheses and recast, or stream it, e.g. (#desc, #Name) asSymbol -> #descName Symbol streamContents: [ :s | s << #desc; << #Name ] -> #descName both of which introduce

Re: [Pharo-users] Voyage and Date

2017-03-04 Thread Hilaire
Concerning this problem, one option I found is to get far away of the Voyage/Mongo Date/DateAndTime representation/conversion and stick to string, not really efficience, but well... mongoBirthday ^ VOToOneDescription new attributeName: 'birthday'; accessor: (MAPluggableAccessor

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

2017-03-04 Thread stepharong
It is really possible and we are working on a new implementation of talents based on anonymous classes. Now what you should know is that - i would use this mechanism for debugging/tooling - i would try to avoid this as much as possible for domain modeling because it breaks all the hidden

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

2017-03-04 Thread stepharong
Pablo I would not use talents. You can use an anonymous classes. Have a look at the chapter of https://ci.inria.fr/pharo-contribution/view/Books/job/BuildingLanguageKernels/4/artifact/build/book.pdf Thanks Denis, I will take a look . I think this is what i need. Tia Ing. Pablo