Re: [Pharo-users] [Pharo-dev] Explaining Spec2 and why Bloc is on the roadmap

2019-05-02 Thread Eric Gade
Stef, Exciting news all around. Is this s good opportunity to revisit theming? I made a good attempt to wrap my head around themes about a year ago or so, but it's quite complex. If now's not (understandably) the time, how will themes work with this new multiple-backend approach? On Thu, May 2,

Re: [Pharo-users] Creating a dictionary from a list of associations

2019-05-02 Thread K K Subbu
On 02/05/19 9:52 PM, Sven Van Caekenberghe wrote: Dictionary withKeys: words andValues: (words collect: #size) HTH .. Subbu Never saw that one, cool. But it is #newFromKeys:andValues: as far as I can see You're right. I got mixed up. Thanks for the correction .. Subbu

Re: [Pharo-users] Creating a dictionary from a list of associations

2019-05-02 Thread Sven Van Caekenberghe
> On 2 May 2019, at 18:18, K K Subbu wrote: > > On 02/05/19 9:14 PM, Konrad Hinsen wrote: >>| words lengths | >>words := #('abc' 'defg'). >>lengths := Dictionary new. >>words do: >> [ :each | lengths at: each put: each size ]. > > Dictionary withKeys: words andValues:

Re: [Pharo-users] Creating a dictionary from a list of associations

2019-05-02 Thread K K Subbu
On 02/05/19 9:14 PM, Konrad Hinsen wrote: | words lengths | words := #('abc' 'defg'). lengths := Dictionary new. words do: [ :each | lengths at: each put: each size ]. Dictionary withKeys: words andValues: (words collect: #size) HTH .. Subbu

Re: [Pharo-users] Creating a dictionary from a list of associations

2019-05-02 Thread Sven Van Caekenberghe
> On 2 May 2019, at 17:52, Gabriel Cotelli wrote: > > Dictionary newFromPairs: (words collect: [ :each | each -> each size ]). > > On Thu, May 2, 2019 at 12:45 PM Konrad Hinsen > wrote: > Hi everyone, > > About twice a week I start looking for a straightforward way to > turn a list of

Re: [Pharo-users] Creating a dictionary from a list of associations

2019-05-02 Thread Gabriel Cotelli
Dictionary newFromPairs: (words collect: [ :each | each -> each size ]). On Thu, May 2, 2019 at 12:45 PM Konrad Hinsen wrote: > Hi everyone, > > About twice a week I start looking for a straightforward way to > turn a list of associations into a dictionary, spend a while searching, > and give

Re: [Pharo-users] [Pharo-dev] Explaining Spec2 and why Bloc is on the roadmap

2019-05-02 Thread Alexandre Bergel via Pharo-users
--- Begin Message --- Hi Stef, Thanks for this email. Spec 2 really looks great. It is also great to foresee an integration of Bloc/Brick in Pharo. Cheers, Alexandre > On May 2, 2019, at 5:27 AM, ducasse wrote: > > Dear Pharoers > > We would like to explain what is Spec 2.0 and how Bloc is

[Pharo-users] Creating a dictionary from a list of associations

2019-05-02 Thread Konrad Hinsen
Hi everyone, About twice a week I start looking for a straightforward way to turn a list of associations into a dictionary, spend a while searching, and give up, ending up with a messy explicit loop. Example: | words lengths | words := #('abc' 'defg'). lengths := Dictionary new.

[Pharo-users] [ANN] Pharo Consortium New Academic Member: ISCLab

2019-05-02 Thread Marcus Denker
The Pharo Consortium is very happy to announce that ISCLab has joined the Consortium as an Academic Member. About - ISCLab: Intelligent Software Construction Laboratory, Department of Computer Science, FCFM, University of Chile. The ISCLab develops methodologies to build software systems

[Pharo-users] Explaining Spec2 and why Bloc is on the roadmap

2019-05-02 Thread ducasse
Dear Pharoers We would like to explain what is Spec 2.0 and how Bloc is on the Pharo roadmap. Spec is a way to support a way to express and reuse application interaction logic. Spec was first developed by Benjamin van Ryseghem and others while supervised by Stéphane Ducasse. Over the years

Re: [Pharo-users] Getting example images - https://picsum.photos

2019-05-02 Thread Sven Van Caekenberghe
> On 2 May 2019, at 11:12, Guillermo Polito wrote: > > This makes me remember when I was working doing android mobile apps: there is > a kitten placeholder service too. > > https://placekitten.com/ > > And status codes too > > https://http.cat/ > > > ZnEasy getJpeg:

Re: [Pharo-users] Getting example images - https://picsum.photos

2019-05-02 Thread Guillermo Polito
This makes me remember when I was working doing android mobile apps: there is a kitten placeholder service too. https://placekitten.com/ And status codes too https://http.cat/ ZnEasy getJpeg: 'https://placekitten.com/200/300'. :) On Wed, May 1, 2019 at 10:41 AM Franz Josef Konrad wrote: