Re: [Pharo-users] Bloc Space within a Space

2017-09-29 Thread Tudor Girba
Hi, Indeed, this was a focus since the very beginning. However, at present time, it is not possible to do it in practice out of the box and you cannot control the cursor either. This is something we still need to add, but it is definitely a top interest to get this working. Cheers, Doru > On

Re: [Pharo-users] Bloc Space within a Space

2017-09-26 Thread Stephane Ducasse
Start to play with Bloc. This is the moment to play and give feedback. I will start around December/January. Stef On Tue, Sep 26, 2017 at 3:28 AM, Sean P. DeNigris wrote: > Stephane Ducasse-3 wrote >> with multiple little worlds showing windows inside and to control all >> the events. > > That

Re: [Pharo-users] Bloc Space within a Space

2017-09-25 Thread Sean P. DeNigris
Stephane Ducasse-3 wrote > with multiple little worlds showing windows inside and to control all > the events. That sounds awesome! Smalltalk is at heart a simulation bench and the inability to simulate the IDE itself has felt like heavy shackles when I tried to implement several possible-blue-pla

Re: [Pharo-users] Bloc Space within a Space

2017-09-24 Thread Stephane Ducasse
Hi sean normally with bloc you should be able to build the expose mode on mac os X. with multiple little worlds showing windows inside and to control all the events. It was the goal of alain now I do not know but it should Stef BlUniverse I am the lowest level in Bloc. My responsibility is to ma

Re: [Pharo-users] Bloc Space within a Space

2017-09-23 Thread Sean P. DeNigris
Pharo Smalltalk Users mailing list wrote >> But how to drive it? e.g. simulate events > > ok, so we agree here. Bloc is done in that perspective. > For now, you have to implement your own BlocSpace with an adequate > #processEvents method, > your can also implement your own main loop manager (pol

Re: [Pharo-users] Bloc Space within a Space

2016-02-16 Thread stepharo
Le 15/2/16 11:26, John Pfersich a écrit : +1 - I've been doing TDD commercially since 2003 and as far as I can tell it's a great way to squash bugs. I'd be willing to write tests. you see if you write tests for Pharo we will welcome them :) Sent from my iPad On Feb 15, 2016, at 01:36, S

Re: [Pharo-users] Bloc Space within a Space

2016-02-16 Thread Sean P. DeNigris
Pharo Smalltalk Users mailing list wrote > ok, so not infeasible but we are not there today... lets do it step by > step. Okay :) Thanks for thinking through this with me. I've had an idea for years which I'm very excited about that requires this functionality, and I've been waiting for a tool pow

Re: [Pharo-users] Bloc Space within a Space

2016-02-16 Thread Alain Plantec via Pharo-users
--- Begin Message --- > > But how to drive it? e.g. simulate events ok, so we agree here. Bloc is done in that perspective. For now, you have to implement your own BlocSpace with an adequate #processEvents method, your can also implement your own main loop manager (polymorphic with BlMainLoop

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread Sean P. DeNigris
Pharo Smalltalk Users mailing list wrote > looking at your code…now I think that Alex answer was the right one :) Hopefully I can convince you otherwise ;) Pharo Smalltalk Users mailing list wrote > in fact one should be able to open a world in a world. That was always a wish of mine in Morph

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread Sean P. DeNigris
Pharo Smalltalk Users mailing list wrote > please do not ask too much... I can't help it! Pharo has spoiled me ha ha Pharo Smalltalk Users mailing list wrote > Reaching this state requires a huge amount of work but we are almost there > :) Thank you for all that work. It is exciting to hear th

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello again Sean, looking at your code…now I think that Alex answer was the right one :) in fact one should be able to open a world in a world. one should be able to script a space, thus, one should be able to write a test with a local BlocSpace, adding elements into it an

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Sean, Thanks for your remarks. I think that the current space design has the adequate abstractions to do the kind of tests you want. And you’re right, it should be possible. But please do not ask too much. Before having this kind of TDD possible we have to reach a poi

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread John Pfersich
+1 - I've been doing TDD commercially since 2003 and as far as I can tell it's a great way to squash bugs. I'd be willing to write tests. Sent from my iPad > On Feb 15, 2016, at 01:36, Sven Van Caekenberghe wrote: > > >> On 15 Feb 2016, at 10:27, stepharo wrote: >> >> Sean I agree that TDD

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread Sven Van Caekenberghe
> On 15 Feb 2016, at 10:27, stepharo wrote: > > Sean I agree that TDD would really make sure that we can script such object. > I do not know how to motivate people to do so. > In bloc I started to write tests and I immediately found bugs. > So it was positive and may be we should have a group of

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread stepharo
Sean I agree that TDD would really make sure that we can script such object. I do not know how to motivate people to do so. In bloc I started to write tests and I immediately found bugs. So it was positive and may be we should have a group of people writing tests. Now I have to finish the mooc and

Re: [Pharo-users] Bloc Space within a Space

2016-02-14 Thread stepharo
But I thought that space/universe was done so that we could build multidesktop with mini space to select where to jump and we can imagine that such mini space would be running. So what sean wants to do should be possible. At least I thought that alain planed it. stef Le 14/2/16 16:51, Aliaks

Re: [Pharo-users] Bloc Space within a Space

2016-02-14 Thread Sean P. DeNigris
Aliaksei Syrel wrote > Space is not something you want to embed in another space. That's where you're wrong ;-) That's exactly what I want to do! Aliaksei Syrel wrote > Space manages UI thread, event fetching, alarms and many other low level > stuff Yes! That's all the stuff I want to stub out

Re: [Pharo-users] Bloc Space within a Space

2016-02-14 Thread Aliaksei Syrel
I'm not sure I understand what you want to archive with provided code :) Space is not something you want to embed in another space. Space manages UI thread, event fetching, alarms and many other low level stuff. Universe contains spaces and there can be only one running space at a time - read there

[Pharo-users] Bloc Space within a Space

2016-02-14 Thread Sean P. DeNigris
I always wanted to do this in Morphic, but it made too many assumptions about the World's environment e.g. use of globals like ActiveHand and World. I gave it a shot (see below). The new space did appear in the current world, but the rectangle seemed to open in the container world, not in the new w