Re: [Pharo-users] Pharo-users Digest, Vol 37, Issue 28

2016-05-10 Thread Vince Refiti
tbux+bgc3anwmaz9a19x...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Tue, May 10, 2016 at 8:52 PM, Franklin Mike > wrote: > > Hi ! > > > > I'm new on pharo and I realy like its vision. To learn more about the >

[Pharo-users] SPLASH 2016: Call for Sponsorships

2016-05-10 Thread Tijs van der Storm
The ACM SIGPLAN conference on Systems, Programming, Languages and Applications: Software for Humanity (SPLASH) embraces all aspects of software construction and delivery to make it the premier conference at the intersection of programming, languages, and software engineering. SPLASH 2016 will take

Re: [Pharo-users] (no subject)

2016-05-10 Thread p...@highoctane.be
There is a camera plugin in the source tree of the VM. pharo-vm/platforms/win32/plugins/CameraPlugin You can copy the dll in the Pharo directory and load the dll with: NativeBoost forCurrentPlatform loadModule: 'CameraPlugin.dll' Anyone having the FFI calls? Maybe Phratch has it built in. Phi

Re: [Pharo-users] (no subject)

2016-05-10 Thread Ben Coman
On Tue, May 10, 2016 at 8:52 PM, Franklin Mike wrote: > Hi ! > > I'm new on pharo and I realy like its vision. To learn more about the system > I decide to write a package that handle Webcam. The package should be able > to : > > - start webcam > - take photo > - record a video. > > The wonderfull

Re: [Pharo-users] Semaphore wait and signal

2016-05-10 Thread Ben Coman
On Tue, May 10, 2016 at 6:31 PM, Vince Refiti wrote: > Hello > > I am playing around with Semaphore, and wrote the following: > > | coll count sem | > coll := Array withAll: (1 to: 100). > count := 0. > sem := Semaphore new. > coll do: [ :each | > count := count + 1. > (count >= 5) >

Re: [Pharo-users] Semaphore wait and signal

2016-05-10 Thread p...@highoctane.be
Transcript output logic is wicked, flush or not. Especially if you Halt now. Check for stepGlobal senders and implmenters and see it in all its glory with flags and all. You can then understand why things are weird. Some World doOneCycle peppered around may confuse things a bit more. Use a log

[Pharo-users] (no subject)

2016-05-10 Thread Franklin Mike
Hi ! I'm new on pharo and I realy like its vision. To learn more about the system I decide to write a package that handle Webcam. The package should be able to : - start webcam - take photo - record a video. The wonderfull thing is that I don't know where to start, Every advice is welcome. Than

Re: [Pharo-users] Semaphore wait and signal

2016-05-10 Thread Johan Fabry
Hi Vince, some of your problem may be in the Transcript buffering some of its output. It is best to add a ; flush to the end of all your printing, e.g. Transcript show: 'waiting...'; cr ; flush. HTH > On May 10, 2016, at 07:31, Vince Refiti wrote: > > Hello > > I am playing around with Sema

[Pharo-users] Semaphore wait and signal

2016-05-10 Thread Vince Refiti
Hello I am playing around with Semaphore, and wrote the following: | coll count sem | coll := Array withAll: (1 to: 100). count := 0. sem := Semaphore new. coll do: [ :each | count := count + 1. (count >= 5) ifTrue: [ Transcript show: 'waiting...'; cr. sem