[Pharo-users] [ANN] QRCode on github

2020-04-13 Thread Renaud de Villemeur via Pharo-users
--- Begin Message --- Need to generate a QRCode ? An old (but still relevant) project was available on smalltalkhub. As I wasn't aware if it was already available elsewhere, I moved it to Github, including load instruction: https://github.com/rvillemeur/QRCode Unit test are all green on Linux.

Re: [Pharo-users] Minimality

2020-04-13 Thread Erik Stel
Hi Cedreek, (Part of this I mentioned on Discord as well, but not all readers will be on Discord) I'm working with a tiny Smalltalk image (currently around 150Kb) which contains basic classes (very similar to PharoCandle, but with the regular Smalltalk names without PC-prefix, see

[Pharo-users] Minimality

2020-04-13 Thread Cédrick Béler
Just a reflexion that I’d like to share here. When Hilaire talks about complexity. I have to agree too, even if I like the progress under the hood, and explored spaces like GToolkit. But how to change such legacy beast, the pharo image ? Potential is huge but resistance is also tough for so

Re: [Pharo-users] Discussions on method categories (Was: Moving/rolling average implementations ?)

2020-04-13 Thread Cédrick Béler
(this is not really noise, at least useful one ie. an information like the +1 :) ) At least, I think we need « standard » protocols list, at least for the most used ones. Some conventions too. For instance, all the initialize* (+ class side)… I can cope with that but this is clearly a brain

Re: [Pharo-users] Discussions on method categories (Was: Moving/rolling average implementations ?)

2020-04-13 Thread Guillermo Polito
> El 13 abr 2020, a las 11:17, Cédrick Béler escribió: > > >> Used consistently and well, method categories are not only a >> navigation aid, helping you to find methods you do not know the names >> of, but a helpful documentation aid. For example, #runningMeans: is >> in the 'summarising'

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-13 Thread Guillermo Polito
> El 13 abr 2020, a las 11:00, Richard O'Keefe escribió: > > Concerning method categories: > VIsualAge Smalltalk manages without them. Of all the Smalltalk > systems available to me, it's the only one where I don't enjoy using > the browser. It carves up the world of methods another way,

[Pharo-users] Discussions on method categories (Was: Moving/rolling average implementations ?)

2020-04-13 Thread Cédrick Béler
> Used consistently and well, method categories are not only a > navigation aid, helping you to find methods you do not know the names > of, but a helpful documentation aid. For example, #runningMeans: is > in the 'summarising' category. In my Smalltalk, that means > - it inspects every

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-13 Thread Cédrick Béler
And maybe another one to show deviation problem ? testRunningMeansDeviation | result1 result2 col1 col2 | col1 := #(0.3s1 1s1 0.1s1 0.3s1 1s1 0.1s1 0.3s1 1s1 0.1s1). result1 := col1 runningMeans: 2. col2 := #(0.3 1 0.1 0.3 1 0.1 0.3 1 0.1).

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-13 Thread Richard O'Keefe
Concerning method categories: VIsualAge Smalltalk manages without them. Of all the Smalltalk systems available to me, it's the only one where I don't enjoy using the browser. It carves up the world of methods another way, which I find of little or no help. That in no way detracts from it being

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-13 Thread Cédrick Béler
What about this test (in OrderedCollectionTest - it suggests a Trait too) ? testRunningMeans | result col | col := #(1 1 2 2 3 3) asOrderedCollection. result := col runningMeans: 2. self assert: (result = {1. (3/2). 2. (5/2). 3}). self assert: