Re: [Pharo-dev] [Ann] Concurrent Programming in Pharo is available

2020-02-10 Thread Eliot Miranda
Hi Stef,

  here's my review/feedback

On Sun, Feb 9, 2020 at 5:05 AM Stéphane Ducasse 
> wrote:
> >
> > On http://books.pharo.org/booklet-ConcurrentProgramming/
>


In fig 1.1 there needs to be a back arrow from Executing to Runnable which
is labelled "Preempted by a higher priority process" or similar.

In the label for fig 1.2 the word "pending" should be replaced with
"runnable".

Page 8, section "Process Priorities"
"At any time only one process is executed." should read "At any time only
one process is executing."
The line starting "Next table lists..." in the last paragraph on page 8
should read "The following table lists...".
The section might want to state some thing like "there that the current
implementation of the Pharo scheduler has process priorities from 1 to
100.  Only some of these are named.  But the programmer is free to use any
priority within that range that they see fit."  It would be good to include
examples which did things like "forkAt: Processor userPriority + 1", etc.

In the label for Fig 2.1 "ressources" should read "resources".  But
throughout that section I would word it that "processes need to share
resources", but "the process is waiting to acquire the resource".  So use
the plural for the general case and the singular for the specific case.
Sentences such as this: "P0 has finished to use the resources." should read
"P0 has finished using the resource."

In Section 2.1 Conclusion
"Semaphores are the lower synchronisation mechanisms." should read
"Semaphores are the lowest level synchronisation mechanisms."

Chapter 3, "Scheduler's Principles" should state that
"The Smalltalk scheduler is a real-time, cooperative, preemptive across
priorities, non-preemptive within priorities, scheduler."

The title to Chapter 4.5 "ShareQueue: a nice semaphore example" should read
"Share*d*Queue: a nice semaphore example"

Most of the paragraphs on page 49 in section 4.5 are still in French and
need translating.


> S.
>
> 
> Stéphane Ducasse
> http://stephane.ducasse.free.fr / http://www.pharo.org
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
>

-- 
_,,,^..^,,,_
best, Eliot


Re: [Pharo-dev] [Ann] Concurrent Programming in Pharo is available

2020-02-10 Thread ducasse
You are welcome. 
This is really one of the few resources on the topic and at this level in the 
ecosystem. 
In the future I plan to learn and explain monitors because they are better than 
semaphores or mutexes
but I have the learn about them before :).


> On 10 Feb 2020, at 20:46, Todd Blanchard  wrote:
> 
> 
> From: Todd Blanchard 
> Subject: Re: [Pharo-dev] [Ann] Concurrent Programming in Pharo is available
> Date: 10 February 2020 at 20:46:46 CET
> To: Pharo Development List 
> Cc: Any question about pharo is welcome 
> 
> 
> I have wanted a clean explanation of semaphores and process scheduling for a 
> long time.
> 
> Thanks for this.
> 
> 
>> On Feb 9, 2020, at 3:58 AM, Stéphane Ducasse > > wrote:
>> 
>> On http://books.pharo.org/booklet-ConcurrentProgramming/ 
>> 
>> 
>> 
>> S.
>> 
>> 
>> Stéphane Ducasse
>> http://stephane.ducasse.free.fr  / 
>> http://www.pharo.org  
>> 03 59 35 87 52
>> Assistant: Julie Jonas 
>> FAX 03 59 57 78 50
>> TEL 03 59 35 86 16
>> S. Ducasse - Inria
>> 40, avenue Halley, 
>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>> Villeneuve d'Ascq 59650
>> France
>> 
> 
> 
> 



Re: [Pharo-dev] [Ann] Concurrent Programming in Pharo is available

2020-02-10 Thread Todd Blanchard via Pharo-dev
--- Begin Message ---
I have wanted a clean explanation of semaphores and process scheduling for a 
long time.

Thanks for this.


> On Feb 9, 2020, at 3:58 AM, Stéphane Ducasse  
> wrote:
> 
> On http://books.pharo.org/booklet-ConcurrentProgramming/ 
> 
> 
> 
> S.
> 
> 
> Stéphane Ducasse
> http://stephane.ducasse.free.fr  / 
> http://www.pharo.org  
> 03 59 35 87 52
> Assistant: Julie Jonas 
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley, 
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
> 

--- End Message ---


Re: [Pharo-dev] [Ann] Concurrent Programming in Pharo is available

2020-02-10 Thread ducasse



> On 10 Feb 2020, at 18:28, Sean P. DeNigris  wrote:
> 
> Thanks! And thanks in general for your tireless documentation efforts. I know
> it can be a lonely pursuit but is s important :)

:)
Just pay me in PRs :)
Now working on the new Spec20 book. 
S. 
> 
> 
> 
> -
> Cheers,
> Sean
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
> 





Re: [Pharo-dev] [Ann] Concurrent Programming in Pharo is available

2020-02-10 Thread Sean P. DeNigris
Thanks! And thanks in general for your tireless documentation efforts. I know
it can be a lonely pursuit but is s important :)



-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html



[Pharo-dev] [Pharo 9.0] Build #53: 5650-Make-unclosable-in-SystemWindow-does-not-work-revert-PR-5552

2020-02-10 Thread ci-pharo-ci-jenkins2
There is a new Pharo build available!
  
The status of the build #53 was: FAILURE.

The Pull Request #5659 was integrated: 
"5650-Make-unclosable-in-SystemWindow-does-not-work-revert-PR-5552"
Pull request url: https://github.com/pharo-project/pharo/pull/5659

Issue Url: https://github.com/pharo-project/pharo/issues/5650
Build Url: 
https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%20and%20branch%20Pipeline/job/Pharo9.0/53/


[Pharo-dev] [ANN] Pharo TechTalk Feb 20: The Colony

2020-02-10 Thread Marcus Denker
A regular chat about Pharo. Happens on Discord.

This month a bit a special TechTalk, not about Pharo but about a tool that 
might be interesting for us to use.

Topic: The Colony https://colony.io

Introduction to "The Colony", a new platform to Organize and 
Incentivize Collaborators, Contributors, and Communities.
Short demo, followed by some Q, help to get people onboarded.


https://association.pharo.org/event-3697011
 
20 Feb 2020 •  
1:30 PM - 2:30 PM (EST)

NOTE: this is EST time, for Europe, this is 19:30 (the easiest is to download 
the calendar entry)


Re: [Pharo-dev] [Mm10s] 2020-02-10

2020-02-10 Thread ducasse
and we will start to write a booklet see
https://github.com/SquareBracketAssociates/Booklet-PharoVirtualMachine

S. 

>> 
>> Monday morning, time for the weekly mail meeting in 10 seconds!
>> (just reply, inserting bullet points)
>> 
>> ### Last week:
>> 
>> - PharoVM wiki
> 
> Is this publicly accessible?  Can we have a link?
> 
> Thanks!
> Alistair
> 





Re: [Pharo-dev] [Mm10s] 2020-02-10

2020-02-10 Thread Alistair Grant
Thanks!

On Mon, 10 Feb 2020 at 11:10, teso...@gmail.com  wrote:
>
> It's under construction, but here it is
> https://github.com/pharo-project/opensmalltalk-vm/wiki
>
> On Mon, Feb 10, 2020 at 10:46 AM Alistair Grant  wrote:
> >
> > Hi Pablo,
> >
> >
> > On Mon, 10 Feb 2020 at 10:31, teso...@gmail.com  wrote:
> > >
> > >  Monday morning, time for the weekly mail meeting in 10 seconds!
> > >  (just reply, inserting bullet points)
> > >
> > >  ### Last week:
> > >
> > > - PharoVM wiki
> >
> > Is this publicly accessible?  Can we have a link?
> >
> > Thanks!
> > Alistair
> >
>
>
> --
> Pablo Tesone.
> teso...@gmail.com
>



Re: [Pharo-dev] [Mm10s] 2020-02-10

2020-02-10 Thread teso...@gmail.com
It's under construction, but here it is
https://github.com/pharo-project/opensmalltalk-vm/wiki

On Mon, Feb 10, 2020 at 10:46 AM Alistair Grant  wrote:
>
> Hi Pablo,
>
>
> On Mon, 10 Feb 2020 at 10:31, teso...@gmail.com  wrote:
> >
> >  Monday morning, time for the weekly mail meeting in 10 seconds!
> >  (just reply, inserting bullet points)
> >
> >  ### Last week:
> >
> > - PharoVM wiki
>
> Is this publicly accessible?  Can we have a link?
>
> Thanks!
> Alistair
>


-- 
Pablo Tesone.
teso...@gmail.com



Re: [Pharo-dev] [Mm10s] 2020-02-10

2020-02-10 Thread Alistair Grant
Hi Pablo,


On Mon, 10 Feb 2020 at 10:31, teso...@gmail.com  wrote:
>
>  Monday morning, time for the weekly mail meeting in 10 seconds!
>  (just reply, inserting bullet points)
>
>  ### Last week:
>
> - PharoVM wiki

Is this publicly accessible?  Can we have a link?

Thanks!
Alistair



[Pharo-dev] [Mm10s] 2020-02-10

2020-02-10 Thread Esteban Lorenzano
### Last week:

* [objcbridge] finish migration of ObjCBridge to TFFI. Now everything works 
as expected, proxies
inclusive (chich was absent before)
* [spec2] fix a problem in the build of toolbars from commands (this one 
was new... it was
working before).
* [spec2] I spent some time figuring out what we need to fix the "sorted 
table+selection item"
problem. Basically, selectedItem needs to be retrieved from sorted 
collection, not from original
model. But this is problem because sorted collection lives in adapter part 
(or even worst on
gtk).
* Spec2: implement SpToolBarToggleButton
* Spec2-doc: SpLabelPresenter
* Spec2: bug: error mapping of $^ in gtk backend.
* building a small tool to help me find image leaks. For now, is just a 
simpler way to visualise
amount of instances (no graphics, just numbers). I may add other stuff 
later. It can be found at 
https://github.com/estebanlm/WAMO (WAMO=Where Are My Objects)
* [newtools] I added some settings to change the default toolbar display 
mode. I like small
icons, Stef likes big ones... like this we are all happy :)
* [big images] testing different heuristics to make a big image (and 
killing my machine in the
process)

### This week

* More on work on speed up of big images (finish migration to notebook 
morph, start looking improvements on senders/implementors)
* Work on idle vm
* Spec2: work on dynamic layouts

[Pharo-dev] [Mm10s] 2020-02-10

2020-02-10 Thread teso...@gmail.com
 Monday morning, time for the weekly mail meeting in 10 seconds!
 (just reply, inserting bullet points)

 ### Last week:

- PharoVM wiki
- [Idle VM] Fix Allocation problem in Linux with MMAP
- [TFFI] Fixing the build for use a given VM, so we can have different versions
- [TFFI] Adding another development branch
- [Pharo9] Retaking the Sista bytecode recompilation PR
- [Idle VM] Make the idle VM uses the Pthread plugin supporting the
main thread scheduling.
- [PharoCOM] Making it work in 32 / 64 bits Pharo 8
- [PharoCOM] Making extensions for using Access API
- Compiling VM for Linux in Ubuntu 18.03
- [Doc] Pass on VM booklet: Callback chapter
- [LargeImages] Working on image generation
- [LargeImages] Improving Speed of senders and implementors.

### This week (starting 2020-02-10), a.k.a the pipeline:

- [Pharo9] Propose a PR for Fuel to support Sista
- [VM] Fixing Tests in Idle
- [Doc] Pass on VM booklet: Callback chapter / Preface
- [VM] Documenting GC, participating in the GC code dojo.
- [LargeImages] Working on improving the speed and responsiveness of
large images.
- [VM] SDL Plugin for Idle
- [VM] Improving Speed of TFFI
- [VM] REPL example  / Interacting with an image from outside (?)
- [PharoCOM] Fixing Pharo COM for Pharo8’s UFFI
- [PharoCOM] Making it run with TFFI
- [VM] Writing tests for JIT generation
- [VM] Promote VM a Stable

-- 
Pablo Tesone.
teso...@gmail.com