[Pharo-dev] Error in MonitorDelay#signalLock:afterMSecs:inMonitor:queue:

2015-02-24 Thread Juraj Kubelka
Hi! I have a problem in the recent Pharo 4 image: the method MonitorDelay#signalLock:afterMSecs:inMonitor:queue: returns a boolean instead of MonitorDelay object. And in the method Monitor#exitAndWaitInQueue:maxMilliseconds: it raises message not understood on #unschedule. Pharo #40505.

Re: [Pharo-dev] Error in MonitorDelay#signalLock:afterMSecs:inMonitor:queue:

2015-02-24 Thread Nicolai Hess
2015-02-24 20:45 GMT+01:00 Juraj Kubelka juraj.kube...@gmail.com: Well, basically it is enough to add #yourself in to the class method: signalLock: aSemaphore afterMSecs: anInteger inMonitor: aMonitor queue: anOrderedCollection anInteger 0 ifTrue: [self error: 'delay times cannot be

[Pharo-dev] How Far We've Come!

2015-02-24 Thread Sean P. DeNigris
It was so much fun watching the Pharo Days videos! Thanks for recording them and I hope to be there next time :) Somewhere halfway through the playlist, it hit me how easily I was downloading all the projects and images being talked about. I was copy/pasting one-line Metacello scripts out of

[Pharo-dev] Doubt about NumericalMethods package

2015-02-24 Thread Sebastian Tleye
Hi, I've installed the NumericalMethods package and I am trying to use the class DhbMultiVariableGeneralOptimizer to optimize a function. If I run the code of the test it works perfectly | fBlock finder result | fBlock := [ :x | |r| r := x * x. r = 0 ifTrue: [ 1] ifFalse: [ r sqrt sin / r] ].

Re: [Pharo-dev] Error in MonitorDelay#signalLock:afterMSecs:inMonitor:queue:

2015-02-24 Thread Juraj Kubelka
Well, basically it is enough to add #yourself in to the class method: signalLock: aSemaphore afterMSecs: anInteger inMonitor: aMonitor queue: anOrderedCollection anInteger 0 ifTrue: [self error: 'delay times cannot be negative']. ^ (self new setDelay: anInteger forSemaphore:

[Pharo-dev] Torch repo?

2015-02-24 Thread Yuriy Tymchuk
Hi, is there anywhere a repo of the Torch project by Veronica? Uko

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread Yuriy Tymchuk
But for configuration everyone anyway uses ‘CoufigurationOf…’ asClass load no? Uko On 24 Feb 2015, at 08:57, stepharo steph...@free.fr wrote: Doru and Yuriy String is not a good API for reflective operations. This is what you are doing with asPackage. When I want to access to a

Re: [Pharo-dev] convention for protocol names

2015-02-24 Thread stepharo
I did a pass on an automicaCategoriser that I would like to run on the complete system but I never got the time to make sure that it handles well *- If you want to have a look this is in http://smalltalkhub.com/#!/~StephaneDucasse/AutomaticMethodCategorizer I should put it back on my list. stef

[Pharo-dev] Spotter does not respect the selected fonts

2015-02-24 Thread stepharo
Hi guys yesterday I gave a presentation and spotter fonts were not updated to the font changes Stef

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread Marcus Denker
Yes why not. The question is: late-bind onto whom? Since bindings can be changed without recompilation, I’m not sure that late-bound global have a lot of added value. In the sense that I can write MyNonExistingClass new. and get a runtime error. Marcus

Re: [Pharo-dev] MCVersionInfo: 10% of the image

2015-02-24 Thread Marcus Denker
On 20 Feb 2015, at 18:11, Chris Muller asquea...@gmail.com wrote: Chris, didn't you do something about this in Squeak? It would be nice to keep consistent if possible... Yes, but no one liked it because it employed the Proxy design-pattern and requires a become. Perhaps if I'd gotten

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread stepharo
I wonder why we do not just late-bind global access. They have something in that vein in VW: literal binding or something like that and to me this is better than poor string. Stef

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread stepharo
That’s close to one of the first thing I tried when I started with Pharo, and I liked it (you didn’t back then ;) ). ;) Packages were globals (so no dashes in their name unfortunately) and answered #import: #import:as: #load #unload #@… Each package was defining an environment for its

[Pharo-dev] [pharo-project/pharo-core]

2015-02-24 Thread GitHub
Branch: refs/tags/40504 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread Camille
On 24 Feb 2015, at 10:06, Marcus Denker marcus.den...@inria.fr wrote: On 24 Feb 2015, at 09:58, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com mailto:nicolas.cellier.aka.n...@gmail.com wrote: 2015-02-24 9:48 GMT+01:00 Sven Van Caekenberghe s...@stfx.eu mailto:s...@stfx.eu:

[Pharo-dev] [pharo-project/pharo-core] 1aa5d3: 40504

2015-02-24 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 1aa5d3e8e3390d4fcda678dda52bd6132c38dd7a https://github.com/pharo-project/pharo-core/commit/1aa5d3e8e3390d4fcda678dda52bd6132c38dd7a Author: Jenkins Build Server bo...@pharo-project.org Date:

[Pharo-dev] about dark theme

2015-02-24 Thread stepharo
just some feedback because I was forced to use it because the projector quality was not great. and now I cannot use it on my machine :) the caret is black as well as the window cross and it is really difficult to see them on my machine. Stef

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread Camille
On 24 Feb 2015, at 08:18, stepharo steph...@free.fr wrote: Interesting idea. We should have a guy trying. That’s close to one of the first thing I tried when I started with Pharo, and I liked it (you didn’t back then ;) ). Packages were globals (so no dashes in their name unfortunately)

Re: [Pharo-dev] Spotter does not respect the selected fonts

2015-02-24 Thread Marcus Denker
On 24 Feb 2015, at 13:11, stepharo steph...@free.fr wrote: Hi guys yesterday I gave a presentation and spotter fonts were not updated to the font changes Yes, this is the editor (Rubric). The font setting is just for the old one. There are already two issues on the issue tracker

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread Camille
On 24 Feb 2015, at 13:22, Marcus Denker marcus.den...@inria.fr wrote: Yes why not. The question is: late-bind onto whom? Since bindings can be changed without recompilation, I’m not sure that late-bound global have a lot of added value. In the sense that I can write

Re: [Pharo-dev] about dark theme

2015-02-24 Thread p...@highoctane.be
Check the rubric cursor color in the prefs as this may be the reason why. On Tue, Feb 24, 2015 at 1:13 PM, stepharo steph...@free.fr wrote: just some feedback because I was forced to use it because the projector quality was not great. and now I cannot use it on my machine :) the caret is

Re: [Pharo-dev] Issue 12970 - 16 steps to get through #halt - PROPOSED FIX

2015-02-24 Thread Ben Coman
All, Please take a moment to comment on how you like the current behaviour of executing the following snippet then Step Over three times to get to the line c := 3. a := 1. self halt. b := 2. self halt. c := 3. cheers -ben

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread Sean P. DeNigris
stepharo wrote I wonder why we do not just late-bind global access. ...and to me this is better than poor string. Yes!!! This would be really nice. It's one of those gotcha places where the system isn't quite turtles all the way down, like optimized methods that you can't override. It would be

Re: [Pharo-dev] Issue 12970 - 16 steps to get through #halt - PROPOSED FIX

2015-02-24 Thread Marcus Denker
On 24 Feb 2015, at 15:21, Ben Coman b...@openinworld.com wrote: All, Please take a moment to comment on how you like the current behaviour of executing the following snippet then Step Over three times to get to the line c := 3. a := 1. self halt. b := 2. self halt. c := 3.

Re: [Pharo-dev] [pharo-project/pharo-core] 3fabea: 40497

2015-02-24 Thread Tudor Girba
Hi, On Tue, Feb 24, 2015 at 8:57 AM, stepharo steph...@free.fr wrote: Doru and Yuriy String is not a good API for reflective operations. This is what you are doing with asPackage. When I want to access to a class I do Class or Smalltalk globals classNamed: 'Point' As I said,

[Pharo-dev] [pharo-project/pharo-core]

2015-02-24 Thread GitHub
Branch: refs/tags/40505 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] bae6b6: 40505

2015-02-24 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: bae6b613b78ba1afa63218d5768c46808fae0cea https://github.com/pharo-project/pharo-core/commit/bae6b613b78ba1afa63218d5768c46808fae0cea Author: Jenkins Build Server bo...@pharo-project.org Date:

Re: [Pharo-dev] Super fast delay

2015-02-24 Thread Ben Coman
I've updated this fix for build 40504. The following slice is read for review. SLICE-Issue-14353-Delay-refactoring-part-2---change-from-milliseconds-to-microseconds-BenComan.6 Even if you do not feel up to reviewing the code, it would be good for a few people to merge this to get a broad sample

[Pharo-dev] OSProcess bug ?

2015-02-24 Thread jannik laval
Hi pharoers, I am playing with OSProcess. I am using an example, and I am annoyed with a strange bug: Here is the code I want to execute, and does not work: |thread process output| myCmd := 'rostopic bw /turtle1/pose'. thread := [process := (PipeableOSProcess command: myCmd) ] fork. 3

[Pharo-dev] [pharo-project/pharo-core] 0797fd: 40506

2015-02-24 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 0797fd97e70c33eaede50bc03cf323d3a1542fbc https://github.com/pharo-project/pharo-core/commit/0797fd97e70c33eaede50bc03cf323d3a1542fbc Author: Jenkins Build Server bo...@pharo-project.org Date:

[Pharo-dev] [pharo-project/pharo-core]

2015-02-24 Thread GitHub
Branch: refs/tags/40506 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] How Far We've Come!

2015-02-24 Thread Sven Van Caekenberghe
Thanks, Sean, for these nice words. I especially like all the young people covering a wide range of projects, there is too much to track in detail. And, yes, we missed you ! On 24 Feb 2015, at 22:28, Sean P. DeNigris s...@clipperadams.com wrote: It was so much fun watching the Pharo Days

Re: [Pharo-dev] OSProcess bug ?

2015-02-24 Thread David T. Lewis
On Tue, Feb 24, 2015 at 08:33:41PM +0100, jannik laval wrote: Hi pharoers, I am playing with OSProcess. I am using an example, and I am annoyed with a strange bug: Here is the code I want to execute, and does not work: |thread process output| myCmd := 'rostopic bw /turtle1/pose'.

Re: [Pharo-dev] Torch repo?

2015-02-24 Thread Stephan Eggermont
On 24/02/15 10:41, Yuriy Tymchuk wrote: Hi, is there anywhere a repo of the Torch project by Veronica? Sure, it is still on squeaksource Stephan

[Pharo-dev] Bug? JPEG reading ignores EXIF Orientation

2015-02-24 Thread J.F. Rick
A lot of mobile phone cameras use the EXIF metadata of JPEG to indicate the orientation of the image (i.e., vertical vs horizontal, upside down, etc.). In Pharo 3 (I doubt it has changed in Pharo 4), that data is ignored. So, when you convert a photo taken from a mobile device to a form, it will

Re: [Pharo-dev] How Far We've Come!

2015-02-24 Thread Tudor Girba
Thanks Sean. And thank you everyone else around here as well :) Doru On Tue, Feb 24, 2015 at 11:06 PM, Sven Van Caekenberghe s...@stfx.eu wrote: Thanks, Sean, for these nice words. I especially like all the young people covering a wide range of projects, there is too much to track in