[Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread lb
Thank you, Sven gradually clear. 1. Symbol as String subclass, only guarantees a symbol object only one in system, use ==; 2. keywords (selector name method name) are spectial symbols, without space or forbided characters; 3. perform: aSymbol, means perform: aKeyword, Should we add asKeyword to

Re: [Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread Sven Van Caekenberghe
> On 11 Feb 2017, at 09:41, lb wrote: > > Thank you, Sven > gradually clear. > 1. Symbol as String subclass, only guarantees a symbol object only one in > system, use ==; > 2. keywords (selector name method name) are spectial symbols, without space > or forbided characters; > 3. perform: aSym

Re: [Pharo-users] Unable to find the compiler

2017-02-11 Thread serge . stinckwich
You should replace also NameOfsubclass with MyCounter. Envoyé de mon iPhone > Le 11 févr. 2017 à 00:32, Cyril Ferlicot D. a > écrit : > >> On 10/02/2017 23:58, Mark Neagu wrote: >> Hi, >> >> I'm starting my first exrcise in Pharo Mooc. I just wrote the definition of >> MyCounter (picture 1)

Re: [Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread Denis Kudriashov
2017-02-11 8:51 GMT+01:00 Sven Van Caekenberghe : > The concept of 'meaning' is defined by the user, the usage, not by the > Symbol itself. A Symbol with a space cannot be a selector (message/method) > name But it could be: Point methodDict at: #'name with space' put: Point>>#x. 2@3 perform: #

Re: [Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread Sven Van Caekenberghe
> On 11 Feb 2017, at 15:18, Denis Kudriashov wrote: > > > 2017-02-11 8:51 GMT+01:00 Sven Van Caekenberghe : > The concept of 'meaning' is defined by the user, the usage, not by the Symbol > itself. A Symbol with a space cannot be a selector (message/method) name > > But it could be: > > Poin

Re: [Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread Ben Coman
Hi Bing Liang, Thanks for your comments. Fresh eyes provide interesting perspectives on things we take for granted. On Sat, Feb 11, 2017 at 4:41 PM, lb wrote: > Thank you, Sven > gradually clear. > 1. Symbol as String subclass, only guarantees a symbol object only one in > system, use ==; > 2.

Re: [Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread Ben Coman
On Sun, Feb 12, 2017 at 12:39 AM, Ben Coman wrote: > Hi Bing Liang, > > Thanks for your comments. Fresh eyes provide interesting perspectives > on things we take for granted. > > On Sat, Feb 11, 2017 at 4:41 PM, lb wrote: >> Thank you, Sven >> gradually clear. >> 1. Symbol as String subclass, on

[Pharo-users] Citezen bug MessageNotUnderstood: Metaclass>>allMethodsInCategory:

2017-02-11 Thread Offray Vladimir Luna Cárdenas
Hi, I'm adding some Zotero[1] integration for my Grafoscopio project, now that I'm preparing a couple of papers for my PhD. For that, I'm using Citezen, but when I try to run the renderers to create bibTeX outputs I got the error "MessageNotUnderstood: Metaclass>>allMethodsInCategory:". How c

Re: [Pharo-users] Citezen bug MessageNotUnderstood: Metaclass>>allMethodsInCategory:

2017-02-11 Thread Offray Vladimir Luna Cárdenas
Thanks to Cyril I have fixed the bug. Now is called #allSelectorsInProtocol. How can I propose a bug fix for the citezen package? Is good to have a chat channel for this knowledge... it's a shame that all this will be lost, like "tears in the rain" because we're relying on privative infrastru

Re: [Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread lb
Hi Ben, Thank you very much, your answer make me clear like water. My question aimed on where, which type errors occur when perform a message. My usecase. when perform: aMessage(with a space), get DNU error , cannot find out by eyes directly. asMessage is better than asSymbol. Cheers Bing At

[Pharo-users] About asSymbol message , some questions in my mind

2017-02-11 Thread lb
Hi, Dnenis Thank you. Your sample gives me some tips on AI , NLP. Cheers Bing 在 2017-02-11 22:18:14,"Denis Kudriashov" 写道: 2017-02-11 8:51 GMT+01:00 Sven Van Caekenberghe : The concept of 'meaning' is defined by the user, the usage, not by the Symbol itself. A Symbol with a space c