On 22 January 2018 at 00:47, Stephane Ducasse wrote:
> Hi Ben and Clement
>
> I have a collection (a dictionary in my case) and I want to get
> maximum 5 bindings out of it and iterate on them.
> I want keysAndValuesDo: or do: but only up to 5 elements.
>
> aDict atMax: 5 do: [:each | ]
"atMax" s
SomeCollection every: 5 do: [:subset | subset collect: [:each | ...]]
etc.
If you want the first five only, return from the do: block.
Possibly, #every: by itself answers an iterator / collection conforming
instance.
On Jan 21, 2018 14:47, "James Foster" wrote:
> Since ‘atMax:’ doesn’t seem as
Since ‘atMax:’ doesn’t seem as clear to me, I’d prefer ‘upToMax:’ or ‘withMax:’
or (especially) the following:
upTo: anInteger timesDo: aBlock
upTo: anInteger timesSelect: aBlock
upTo: anInteger timesCollect: aBlock
James Foster
> On Jan 21, 2018, at 8:56 AM, Stephane Ducasse wrote:
>
> I tho
Hi,
> On Jan 21, 2018, at 10:37 PM, Ben Coman wrote:
>
> On 21 January 2018 at 23:55, Tudor Girba wrote:
>> Hi,
>>
>> There is a difference in performance. The Announcement is slower (about 2-3x
>> slower). However, for 1M events the difference is measured in a 200-400ms,
>> which is very sm
On 22 January 2018 at 00:47, Stephane Ducasse wrote:
> Hi Ben and Clement
>
> I have a collection (a dictionary in my case) and I want to get
> maximum 5 bindings out of it and iterate on them.
> I want keysAndValuesDo: or do: but only up to 5 elements.
>
> aDict atMax: 5 do: [:each | ]
>
> So I l
On 21 January 2018 at 23:55, Tudor Girba wrote:
> Hi,
>
> There is a difference in performance. The Announcement is slower (about 2-3x
> slower). However, for 1M events the difference is measured in a 200-400ms,
> which is very small.
So you mean each event <1ms difference?
btw, what is the big
Cédrick Béler wrote:
> Yes sure. But at this is an important requirement for me, I prefer to
> talk about it first :)
Distributed systems design is a different subject. Different constraints,
different solutions.
Stephan
Ok so we redid everything in parallel. Too bad anyway I will continue
and my changes are in my clone.
I will update the booklet once I get it.
Stef
On Sun, Jan 21, 2018 at 6:05 PM, Cédrick Béler wrote:
>
> HI cedrick
>
>
> I tried to start a booklet with Stephane but it is too complicated right
Now an iterator getting atMax: x elements could be better because we
could them combined it with collect:, detect:...
Stef
On Sun, Jan 21, 2018 at 5:56 PM, Stephane Ducasse
wrote:
> I thought about something like that...
>
> SequenceableCollection >> atMax: numberOfItems do: aBlock
> "Execut
Hi Cédrick,
2018-01-21 8:04 GMT-03:00 Cédrick Béler :
> Hi Hernan,
>
> I decided to give a try to Aare or Workflow in Pharo 6, following
> instructions in https://github.com/Netstyle/Workflow .
>
>
> Cool :)
>
> I started but had to stop until the semester is finish. Next month should be
> ok to c
I thought about something like that...
SequenceableCollection >> atMax: numberOfItems do: aBlock
"Execute the iteration with at the maximum numberOfItems. If the
receiver contains less than numberOfItems iterate them all."
1 to: (numberOfItems min: self size) do: [:index | aBlock value:
(s
Hi Ben and Clement
I have a collection (a dictionary in my case) and I want to get
maximum 5 bindings out of it and iterate on them.
I want keysAndValuesDo: or do: but only up to 5 elements.
aDict atMax: 5 do: [:each | ]
So I learned from:to:do:
aCollection atMax: 5 do: [:each | ]
Does it make
>
>
> Cedrick
>
> My goal is one step at a time.
> I do not want grand plan. Just something working in one image.
Yes sure. But at this is an important requirement for me, I prefer to talk
about it first :)
> Stef
>
> On Sun, Jan 21, 2018 at 12:19 PM, Cédrick Béler wrote:
>> Besides all su
Hi,
There is a difference in performance. The Announcement is slower (about 2-3x
slower). However, for 1M events the difference is measured in a 200-400ms,
which is very small.
The benefit of using Announcement is that we can reuse the tooling around
Announcement, such as blogging and debuggin
Hi,
Here is an update of the work on Bloc and GT. As always, please do let us know
what you think.
Bloc:
- Eventing saw a deep overhaul. They are now dispatched using the Announcements
engine. The previous mechanism is still in place in order to help people
compare the impact. In the process,
Now I got all the TestGraphs green by commenting the graphiz dependencies.
On Sun, Jan 21, 2018 at 3:33 PM, Stephane Ducasse
wrote:
> I got all the WfTestFlow green.
> So now we can study the execution a bit better.
>
> On Sun, Jan 21, 2018 at 3:28 PM, Stephane Ducasse
> wrote:
>> HI cedrick
>>
I got all the WfTestFlow green.
So now we can study the execution a bit better.
On Sun, Jan 21, 2018 at 3:28 PM, Stephane Ducasse
wrote:
> HI cedrick
>
>
>> To solve this « pb », just create WADynamicVariable as a subclass of
>> DynamicVariable already in Pharo.
>
> Ok I will do it. What is impor
HI cedrick
> To solve this « pb », just create WADynamicVariable as a subclass of
> DynamicVariable already in Pharo.
Ok I will do it. What is important is to *share* knowledge and code.
So I changed and publish the code in my branch to make
CurrentWorkflowManager an dynamic variable.
Before I j
On 21 January 2018 at 15:14, Sanjay Minni wrote:
> The message "... cannot write changes ... check that you have write
> permissions ..." is still there but I I install packages I can see .changes
> file increasing in size
Right. This isn't a fix, it just opens the files after the initial
attemp
On Sun, Jan 21, 2018 at 3:06 PM, Stephane Ducasse
wrote:
> Cedrick
>
> My goal is one step at a time.
> I do not want grand plan. Just something working in one image.
>
Yes be able to reproduce/run old cold is the first step.
There was some discussions some months ago about resurrecting
mic
The message "... cannot write changes ... check that you have write
permissions ..." is still there but I I install packages I can see .changes
file increasing in size
regards
Sanjay
Alistair Grant wrote
> Hi Sanjay,
>
> On 21 January 2018 at 12:10, Sanjay Minni <
> sm@
> > wrote:
>> Hullo
>>
On Sun, Jan 21, 2018 at 9:02 AM, Hernán Morales Durand <
hernan.mora...@gmail.com> wrote:
> Hi,
>
> I decided to give a try to Aare or Workflow in Pharo 6, following
> instructions in https://github.com/Netstyle/Workflow . However, the
> installation script raised a Warning about missing WADynamic
Cedrick
My goal is one step at a time.
I do not want grand plan. Just something working in one image.
Stef
On Sun, Jan 21, 2018 at 12:19 PM, Cédrick Béler wrote:
> Besides all suggested ideas on the previous mail, what’s very important to me
> is being able to run processes between several imag
I don't think we do. Do you need it on SequenceableCollection or
HashedCollection too ?
Recently I was trying to iterate over the first N elements of a collection
and since there was no #first:do: I used #from:to:do:. I guess you could
use that too:
aCollection from: 1 to: (aCollection size min:
Hi Sanjay,
On 21 January 2018 at 12:10, Sanjay Minni wrote:
> Hullo
>
> Can someone help with fixing this issue,
> I am unable to use Pharo 7 image on windows 10 till this is done
I'm not regularly using Windows, but a workaround is to create a
startup file with:
SourceFiles close; ensureOpen
Besides all suggested ideas on the previous mail, what’s very important to me
is being able to run processes between several images considering 1 image = 1
actor.
At first, we can consider both actor being on the same image (what Stephane
wants first) but my requirement number 1 is having 1 act
Hullo
Can someone help with fixing this issue,
I am unable to use Pharo 7 image on windows 10 till this is done
regards
Alistair Grant wrote
> Hi Sanjay,
>
> You're not the only one. :-) This problem has been reported on the
> pharo-dev mailing list as well.
>
> Cheers,
> Alistair
>
>
> On
Hi Hernan,
> I decided to give a try to Aare or Workflow in Pharo 6, following
> instructions in https://github.com/Netstyle/Workflow .
Cool :)
I started but had to stop until the semester is finish. Next month should be ok
to continue on that.
> However, the
> installation script raised a Wa
I‘m in there, too, because I feel the same importance. Need to allocate some
time
Norbert
> Am 21.01.2018 um 11:46 schrieb Stephane Ducasse :
>
> Hi hernan
>
> I will try to allocate more time to understand the execution because I
> think that this is important
> for our community to get a wor
Hi hernan
I will try to allocate more time to understand the execution because I
think that this is important
for our community to get a workflow engine.
So I take it as a reverse engineering exercise. Now I'm super busy so
I will get slow on it.
Stef
On Sun, Jan 21, 2018 at 9:31 AM, Hernán Mora
On 21 January 2018 at 18:36, Stephane Ducasse wrote:
> Hi
>
> I would like to iterate at max on a certain amount of elements in a
> collection.
> And I was wondering if we have such iterator.
I'm not clear what functionality your asking for. Could you present
it as code & result if you assumed
Hi
I would like to iterate at max on a certain amount of elements in a collection.
And I was wondering if we have such iterator.
Stef
Hi Stef,
2018-01-21 5:17 GMT-03:00 Stephane Ducasse :
> Hi hernan
>
> I started to clean the code in my fork.
> If you want to contribute let me know.
I don't know enough about workflow implementations yet. However I know
how to run or what to expect from them.
So I could give some feedback from
I would like to have calypso built on top of spec so that we can
rearrange some elements.
Denis is starting to check the missing element of spec.
Stef
On Sat, Jan 20, 2018 at 9:40 PM, Peter Uhnák wrote:
> Hi,
>
> how modular is Calypso in respect to:
>
> * taking the UI apart and compositing it
Hi hernan
I started to clean the code in my fork.
If you want to contribute let me know.
I started to clean all misclassified methods to force me to read the
code. (I used them as a marker to know if I passed on the code).
For the moment I made sure that the code loads.
- I created the variable a
Hi,
I decided to give a try to Aare or Workflow in Pharo 6, following
instructions in https://github.com/Netstyle/Workflow . However, the
installation script raised a Warning about missing WADynamicVariable
class. Should I install Seaside?
I've been using a couple of bioinformatics workflows the
36 matches
Mail list logo