Hi sergio
This is great to hear that you will deploy your app. I really want that we
really improve the deployment of Pharo App. Could you log and report to us
what worked with you and what did not work.
I would like that the community build and share some scripts.
Sven in the past shared with us
oki
On Fri, May 26, 2017 at 6:38 PM, Hilaire wrote:
> No, I mean #definedClasses also returns the traits of the package, then
> requesting instVar to those traits seems to brake things, but I did not
> investigated further as I bypassed the problem by discarding Traits.
>
>
> Le 26/05/2017 à 13
> On 26 May 2017, at 21:47, sergio ruiz wrote:
>
> Hey, all..
>
> I have a Pharo application that I ready to deploy to production. I haven’t
> done this in a lot of years, so I thought I might check around on what the
> current best practices are.
>
> The app is a Teapot(REST) based applicat
2017-05-26 11:42 GMT+02:00 Hilaire :
> "Buggy"
> org := MyClass organization protocolOrganizer.
> org addProtocolNamed: 'code'.
> org allProtocols do: [:aProtocol | org moveMethodsFrom: aProtocol name
> to: 'code'].
> org removeEmptyProtocols.
>
In Pharo 6 we introduced tags API:
(MyClass metho
2017-05-26 19:22 GMT+02:00 Thierry Goubier :
>
> This should work:
>
> org := (RPackageOrganizer default packageNamed: 'MyPackage').
> tag := org addClassTag: #Classes.
> org definedClasses do: [ :aClass |
> aClass category: tag categoryName ].
In Pharo 6 there is new tag API for class
2017-05-27 13:58 GMT+02:00 Denis Kudriashov :
>
> 2017-05-26 19:22 GMT+02:00 Thierry Goubier :
>
>>
>> This should work:
>>
>> org := (RPackageOrganizer default packageNamed: 'MyPackage').
>> tag := org addClassTag: #Classes.
>> org definedClasses do: [ :aClass |
>> aClass category: tag ca
2017-05-27 14:15 GMT+02:00 Thierry Goubier :
> Will:
>
> #MyPackage asPackage definedClasses do: [:each | each tagWith: #MyPackage]
>
> put the classes in the #MyPackage or in the #MyPackage-MyPackage system
> category?
>
#tagWith: not touches package of class. It only adds receiver into package
2017-05-27 14:45 GMT+02:00 Denis Kudriashov :
>
> 2017-05-27 14:15 GMT+02:00 Thierry Goubier :
>
>> Will:
>>
>> #MyPackage asPackage definedClasses do: [:each | each tagWith: #MyPackage]
>>
>> put the classes in the #MyPackage or in the #MyPackage-MyPackage system
>> category?
>>
>
> #tagWith: not
Yes, I did. I found it difficult to understand. It would be nice to have some
clear examples in the documentation, for example, really simple and common
situations such as a C function returning an integer in a
passed-by-reference argument.
Speaking of documentation, in "Pharo by Example 50," I fo
2017-05-27 15:05 GMT+02:00 Thierry Goubier :
> The problem I foresee is that at a certain point in the future, not
> advertised, that semantic will change to not mean 'remove existing tag'.
>
> If I start using that API, I'll need to add a test in my stuff that will
> flag that API semantic change
Thanks Thierry
Le 26/05/2017 à 19:22, Thierry Goubier a écrit :
>
> This should work:
--
Dr. Geo
http://drgeo.eu
Pharo5, sorry.
I used a different code to make it work:
org := aClass organization protocolOrganizer.
org addProtocolNamed: 'code'.
org allMethods do: [:aMethod | org classify: aMethod
inProtocolNamed: 'code'].
org removeEmptyProtocols.
Le 27/05/2017 à 03:37, Ben Coman a
Hi
I'm looking for an implementation of dictionary whose value is also a
dictionary.
Stef
On sam. 27 mai 2017 at 20:29, Stephane Ducasse
wrote:
> Hi
>
> I'm looking for an implementation of dictionary whose value is also a
> dictionary.
>
> Stef
>
Hi!
I don't remember the exact name but I know that an algo at synectique use
such a collection. The name is something like Ktree or somet
Looks like a JsonObject
On Sat, May 27, 2017 at 8:28 PM, Stephane Ducasse
wrote:
> Hi
>
> I'm looking for an implementation of dictionary whose value is also a
> dictionary.
>
> Stef
>
On sam. 27 mai 2017 at 20:35, Cyril Ferlicot
wrote:
>
> On sam. 27 mai 2017 at 20:29, Stephane Ducasse
> wrote:
>
>> Hi
>>
>> I'm looking for an implementation of dictionary whose value is also a
>> dictionary.
>>
>> Stef
>>
> Hi!
>
> I don't remember the exact name but I know that an algo at sy
Stef
Cyril is right; there is a class KeyedTree which is a subclass of Dictionary
and is in effect a set of nested dictionaries. There was a brief discussion of
this in April, initiated by Markus Böhm, who wanted a neat way of looking up
entries in nested dictionaries. KeyedTree uses the ide
hi,
i'm using a multi-valued dictionary
https://github.com/vonbecmann/multi-valued-dictionary
in the following way
itemsByKey := MultiValuedDictionary dictionary: IdentityDictionary
collection: IdentityDictionary
so i can check the existence of an item by its key (an ordered pair)
(itemsByKe
You could just use a regular Dictionary, but with association keys:
dict
at: outerKey -> innerKey
put: innerValue
Hi Aik-Siong,
(Moving to pharo-users as Serge suggestion)
On Sat, May 27, 2017 at 08:22:27PM -0700, askoh wrote:
> Wonderful contribution. Having full control of an internet browser will give
> Smalltalk more freedom to innovate.
>
> Now, can we make Pharo be a web server on demand? Then we can
(Moving to pharo-users as Serge suggested)
Sending the email also made me realise that it would be possible to
check for the presence of a particular node while waiting for Chrome to
load the page, which would avoid the long timeout. I'll look at adding
this later.
Cheers,
Alistair
On Sun, May
21 matches
Mail list logo