Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Igor Stasenko
Oh, yeah.. i missed one more kind of shape, you may want to introduce: - clipping shape. For optimizing drawing operations, you may want to define a region, which guarantees, that anything you paint, nothing outside defined region will affect the screen. Because else, you will allow morph to

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Igor Stasenko
On 2 April 2016 at 20:59, stepharo wrote: > > > Le 2/4/16 17:31, Aliaksei Syrel a écrit : > > You don't want to draw a shape, you configure it. Shape can not be drawn, > it is not an AthensPath. > > cell shape: (BlShape new > path: BlCirclePath new; > strokePaint:

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread Ben Coman
All forms of learning involve some degree criticism, and sometimes we learn the most from the hardest task masters. We all want a positive community, but we need to not fall into the trap of... "hacker forums where, out of some misguided sense of hyper-courtesy, participants are banned from

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread Igor Stasenko
On 2 April 2016 at 17:31, stepharo wrote: > > I did not expected such a warm welcome and being in vain for more than a >> year.. >> Thank you all guys, you are great! >> >> Yes, as i said i feel like i want to get some involvement.. So expect >> more acid in future, because

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Tudor Girba
Hi, > On Apr 3, 2016, at 12:46 AM, Aliaksei Syrel wrote: > > I'm pretty sure we don't understand a meaning of composition identically. > This is how I understand it: > > https://en.m.wikipedia.org/wiki/Composition_(visual_arts) > > "In graphic design for press and

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Aliaksei Syrel
I'm pretty sure we don't understand a meaning of composition identically. This is how I understand it: https://en.m.wikipedia.org/wiki/Composition_(visual_arts) "In graphic design for press and desktop publishing composition is commonly referred to as page layout." Design for press is

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Tudor Girba
Hi Stef, I think the example that Alex provided is less advisable and it is misleading :). It’s indeed interesting that you can do what he shows, but I do not think this is the example that people should see first. I got my hands on an image. Here is an example that is composing two elements:

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Tudor Girba
Hi Alex, I think that Stef is looking for a composition example. Could you please provide an example that is more canonical and shows the composition of two elements instead of playing with both drawOnSpartaCanvas and the shape? Cheers, Doru > On Apr 2, 2016, at 8:17 PM, Aliaksei Syrel

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread stepharo
How to make square element with filled circle inside: 1) Subclass BlElement -> BlCell 2) Override drawOnSpartaCanvas: aCanvas super drawOnSpartaCanvas: aCanvas. aCanvas setShape: self localBounds; setStrokePaint: Color blue; stroke 3) Override initialize to have

Re: [Pharo-dev] [bloc] yellow halos

2016-04-02 Thread stepharo
Le 2/4/16 20:07, Aliaksei Syrel a écrit : That was fixed yesterday ;) Do you mean that you fix it and that it was not in the latest jenkins built? I do not understand why if it was fixed yesterday I did not get the fix because I took the latest version today at 4h Stef Cheers, Alex On

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Aliaksei Syrel
How to make square element with filled circle inside: 1) Subclass BlElement -> BlCell 2) Override > drawOnSpartaCanvas: aCanvas > super drawOnSpartaCanvas: aCanvas. > aCanvas > setShape: self localBounds; > setStrokePaint: Color blue; > stroke 3) Override initialize to have circle shape:

Re: [Pharo-dev] [bloc] yellow halos

2016-04-02 Thread Aliaksei Syrel
That was fixed yesterday ;) Cheers, Alex On Sat, Apr 2, 2016 at 7:56 PM, stepharo wrote: > > There is no layout strategy yet to put halos in the corners. Yellow circle > ideally must be in the right bottom corner. > > > I do not know but I cannot grab morph and I get DNU. > >

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Aliaksei Syrel
I don't see any problem here. Rendering in bloc is as complex as athens/cairo, just check what methods AthensCanvas provides and use them. no magic. Cheers, Alex

Re: [Pharo-dev] [bloc] how to get a debugger

2016-04-02 Thread Aliaksei Syrel
On Sat, Apr 2, 2016 at 7:55 PM, stepharo wrote: > so then why do you have this method in BlElement >> drawOnAthensCanvas: > aCanvas no, you are mistaking something. I specifically removed it 4 builds ago knowing that you may be confused ;) Even in the image that used for

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread stepharo
Le 2/4/16 17:31, Aliaksei Syrel a écrit : You don't want to draw a shape, you configure it. Shape can not be drawn, it is not an AthensPath. cell shape: (BlShape new path: BlCirclePath new; strokePaint: (BlStrokePaint new paint: Color blue; width: 1)). cell extent: 50@50.

Re: [Pharo-dev] [bloc] yellow halos

2016-04-02 Thread stepharo
There is no layout strategy yet to put halos in the corners. Yellow circle ideally must be in the right bottom corner. I do not know but I cannot grab morph and I get DNU. Stef Try to inspect and send extent: to an element you want to resize On Apr 2, 2016 4:45 PM, "stepharo"

Re: [Pharo-dev] [bloc] how to get a debugger

2016-04-02 Thread stepharo
I use the latest version on the jenkins build 26 Le 2/4/16 17:26, Aliaksei Syrel a écrit : Hi What version do you use? In bloc drawing stuff happens in drawOnSpartaCanvas, not athensCanvas. so then why do you have this method in BlElement >> drawOnAthensCanvas: aCanvas I'm sorry to

[Pharo-dev] GSoC alternative: SOCIS

2016-04-02 Thread Skip
Hi everyone, I just came across an alternative to GSoC called SOCIS. It's run by the ESA (European Space Agency): http://sophia.estec.esa.int/socis/ Maybe you can try applying there? Deadline is April 10th. And maybe you all know already about this, in that case feel free to let this thread

Re: [Pharo-dev] [bloc] how to get a debugger

2016-04-02 Thread Aliaksei Syrel
Could you add me to the repo of laser game? I would like to check and correct :) Cheers, Alex On Sat, Apr 2, 2016 at 5:26 PM, Aliaksei Syrel wrote: > Hi > > What version do you use? In bloc drawing stuff happens in > drawOnSpartaCanvas, not athensCanvas. > > Also

Re: [Pharo-dev] [bloc] yellow halos

2016-04-02 Thread Aliaksei Syrel
There is no layout strategy yet to put halos in the corners. Yellow circle ideally must be in the right bottom corner. Try to inspect and send extent: to an element you want to resize On Apr 2, 2016 4:45 PM, "stepharo" wrote: > Hi > > I created a simple morph and when I try to

Re: [Pharo-dev] [bloc] shape size?

2016-04-02 Thread Aliaksei Syrel
You don't want to draw a shape, you configure it. Shape can not be drawn, it is not an AthensPath. cell shape: (BlShape new path: BlCirclePath new; strokePaint: (BlStrokePaint new paint: Color blue; width: 1)). cell extent: 50@50. On Apr 2, 2016 4:57 PM, "stepharo"

[Pharo-dev] [bloc] how to get a debugger

2016-04-02 Thread stepharo
Hi I got a red square of death and I can inspect the blMorph but I cannot get a debugger to understand the drawing problem? rawOnAthensCanvas: aCanvas super drawOnAthensCanvas: aCanvas. aCanvas drawShape: (BlShape new strokePaint:

[Pharo-dev] [bloc] shape size?

2016-04-02 Thread stepharo
Hi I want a square morph with a circle or a line at 45 degree inside Now I do not get it. I thought that I needed to specialize drawOnAthensCanvas: so I did BlCell >> drawOnAthensCanvas: aCanvas super drawOnAthensCanvas: aCanvas. aCanvas drawShape: (BlShape new

[Pharo-dev] [bloc] yellow halos

2016-04-02 Thread stepharo
Hi I created a simple morph and when I try to grab it using the yellow halo I get this message self assert: anElement isInWorld. draggedElement: anElement self assert: anElement isNotNil. self assert: anElement isInWorld. "compute distance from hand's position in global

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread stepharo
I did not expected such a warm welcome and being in vain for more than a year.. Thank you all guys, you are great! Yes, as i said i feel like i want to get some involvement.. So expect more acid in future, because that is my energy taking such unordinary form sometimes :) I'm really happy

Re: [Pharo-dev] Xtreams: Which Repository

2016-04-02 Thread stepharo
Hi Sean, I am working on the repository #2, ~juampi/Xtreams. It is a temporal fork from the repo #1. At the moment, I was playing with the configuration of Xtreams to avoid the warnings and/or errors during the load on Pharo5. I think it is ok now for Pharo5. The next steps are: -

Re: [Pharo-dev] Xtreams: Which Repository

2016-04-02 Thread Juan Pablo Sandoval Alcocer
Hi Sean, I am working on the repository #2, ~juampi/Xtreams. It is a temporal fork from the repo #1. At the moment, I was playing with the configuration of Xtreams to avoid the warnings and/or errors during the load on Pharo5. I think it is ok now for Pharo5. The next steps are: - Updating the

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

2016-04-02 Thread GitHub
Branch: refs/tags/50674 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 318127: 50674

2016-04-02 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 318127e889e81acb41e9dbbcf401f343476f2092 https://github.com/pharo-project/pharo-core/commit/318127e889e81acb41e9dbbcf401f343476f2092 Author: Jenkins Build Server Date:

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread Igor Stasenko
On 2 April 2016 at 14:13, Robert Withers wrote: > > > On 04/01/2016 05:40 PM, Aliaksei Syrel wrote: > >> >> Thanks for feedback :) >> >> Nevertheless, later I realized that blocks are evil, ... >> > > btw, why so? > One touch of a block of evil :) > >

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread Robert Withers
On 04/01/2016 05:40 PM, Aliaksei Syrel wrote: Thanks for feedback :) Nevertheless, later I realized that blocks are evil, ... One touch of a block of evil :) https://www.youtube.com/watch?v=Fw9IqUgGlzs -- Robert . .. ...^,^

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread Igor Stasenko
On 2 April 2016 at 12:44, stepharo wrote: > Igor please use your energy helping us. > > I did not expected such a warm welcome and being in vain for more than a year.. Thank you all guys, you are great! Yes, as i said i feel like i want to get some involvement.. So expect more

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread Igor Stasenko
On 2 April 2016 at 12:45, stepharo wrote: > > Hi Igor, >> >> You are more than welcome to come back. >> >> Too much acidity is good neither for you nor for the people around you >> :). Let’s be kind with one another and assume that we all care and we want >> to make this world

[Pharo-dev] Xtreams: Which Repository

2016-04-02 Thread Sean P. DeNigris
There are: 1. http://www.squeaksource.com/Xtreams, from which the Pharo 4 Config Browser loads 2. http://smalltalkhub.com/#!/~juampi/Xtreams/, which claims to be porting Xtreams to "Pharo 6" 3. https://github.com/mkobetic/Xtreams Does anyone know: - Who is working on #2 and what is its status

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread p...@highoctane.be
"Used for centuries to preserve meat and fish, citric acid has innumerable health benefits. It increases the acidity of the bacterial environment, making it difficult for the microbes to survive and, more importantly, to reproduce." Applies to bugs and code smells. Phil On Sat, Apr 2, 2016 at

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread stepharo
Hi Igor, You are more than welcome to come back. Too much acidity is good neither for you nor for the people around you :). Let’s be kind with one another and assume that we all care and we want to make this world a better place, but that at the same time we are still only humans. +1

Re: [Pharo-dev] Catching Exceptions without any notice

2016-04-02 Thread stepharo
Igor please use your energy helping us. Stef Le 1/4/16 22:47, Igor Stasenko a écrit : On 1 April 2016 at 21:52, stepharo > wrote: Hi I do not think that aliaksei is not taking care. He is working a lot to make sure that Pharo will