Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time

2014-06-26 Thread p...@highoctane.be
I use it. Now,  how can one paste text in the lower pane? I can't get that
working and it is frustrating. Especially when I do have long external
samples.

I also got some out of memory errors when a grammar loops on itself in a
wrong way.  Which is what happend when trying things out.
There should be a kind of limit one could customize. Especially when
hitting 'example'tab... :-)

I should have a shot at GT...

I am using Pharo3.

Phil
Le 26 juin 2014 00:52, Tudor Girba tu...@tudorgirba.com a écrit :

 If you want to use PetitParser at full speed, you should take a look at
 the dedicated PetitParser browser: PPBrowser open.

 And if you want to really go into it, you can also use the dedicated
 inspector and debugger from GT.

 Cheers,
 Doru


 On Tue, Jun 24, 2014 at 2:25 PM, p...@highoctane.be p...@highoctane.be
 wrote:

 Thanks, didn't knew about this.

 BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

 Phil




 On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:

 What if you put your gofer expression to load PetitParser in a block
 closure and then:

 SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ]

 ?

 (I don't know what Pharo version you are using...but if that doesn't
 work check in BlockClosure for doSilently: or something similar).

 Best,


 On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be
 wrote:

 Looks like there is an announcement for added methods that is used by
 Voyage when loading packages.

 I was loading PetitParser and the image appeared unresponsive for quite
 a while.

 Is there a way to disable that check temporarily?

 Phil





 --
 Mariano
 http://marianopeck.wordpress.com





 --
 www.tudorgirba.com

 Every thing has its own flow



Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time

2014-06-26 Thread Tudor Girba
Hi,



On Thu, Jun 26, 2014 at 8:45 AM, p...@highoctane.be p...@highoctane.be
wrote:

 I use it.

Great


 Now,  how can one paste text in the lower pane? I can't get that working
 and it is frustrating. Especially when I do have long external samples.


What do you mean? Cmd+v should work. It works for me. Does it not work for
you?


  I also got some out of memory errors when a grammar loops on itself in a
 wrong way.  Which is what happend when trying things out.
 There should be a kind of limit one could customize. Especially when
 hitting 'example'tab... :-)

That would be quite nice indeed. I would not know how to do it though :(.


 I should have a shot at GT...

 I am using Pharo3.


Let me know if I can be of help.

Cheers,
Doru



 Phil
 Le 26 juin 2014 00:52, Tudor Girba tu...@tudorgirba.com a écrit :

 If you want to use PetitParser at full speed, you should take a look at
 the dedicated PetitParser browser: PPBrowser open.

 And if you want to really go into it, you can also use the dedicated
 inspector and debugger from GT.

 Cheers,
 Doru


 On Tue, Jun 24, 2014 at 2:25 PM, p...@highoctane.be p...@highoctane.be
 wrote:

 Thanks, didn't knew about this.

 BTW, PetitParser is really awesome. Up and running in a couple hours.
 Wow.

 Phil




 On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:

 What if you put your gofer expression to load PetitParser in a block
 closure and then:

 SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ]

 ?

 (I don't know what Pharo version you are using...but if that doesn't
 work check in BlockClosure for doSilently: or something similar).

 Best,


 On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be
  wrote:

 Looks like there is an announcement for added methods that is used by
 Voyage when loading packages.

 I was loading PetitParser and the image appeared unresponsive for
 quite a while.

 Is there a way to disable that check temporarily?

 Phil





 --
 Mariano
 http://marianopeck.wordpress.com





 --
 www.tudorgirba.com

 Every thing has its own flow




-- 
www.tudorgirba.com

Every thing has its own flow


Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time

2014-06-25 Thread Tudor Girba
If you want to use PetitParser at full speed, you should take a look at the
dedicated PetitParser browser: PPBrowser open.

And if you want to really go into it, you can also use the dedicated
inspector and debugger from GT.

Cheers,
Doru


On Tue, Jun 24, 2014 at 2:25 PM, p...@highoctane.be p...@highoctane.be
wrote:

 Thanks, didn't knew about this.

 BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

 Phil




 On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:

 What if you put your gofer expression to load PetitParser in a block
 closure and then:

 SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ]

 ?

 (I don't know what Pharo version you are using...but if that doesn't work
 check in BlockClosure for doSilently: or something similar).

 Best,


 On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be
 wrote:

 Looks like there is an announcement for added methods that is used by
 Voyage when loading packages.

 I was loading PetitParser and the image appeared unresponsive for quite
 a while.

 Is there a way to disable that check temporarily?

 Phil





 --
 Mariano
 http://marianopeck.wordpress.com





-- 
www.tudorgirba.com

Every thing has its own flow


Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time

2014-06-24 Thread Mariano Martinez Peck
What if you put your gofer expression to load PetitParser in a block
closure and then:

SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ]

?

(I don't know what Pharo version you are using...but if that doesn't work
check in BlockClosure for doSilently: or something similar).

Best,


On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be
wrote:

 Looks like there is an announcement for added methods that is used by
 Voyage when loading packages.

 I was loading PetitParser and the image appeared unresponsive for quite a
 while.

 Is there a way to disable that check temporarily?

 Phil





-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time

2014-06-24 Thread p...@highoctane.be
Thanks, didn't knew about this.

BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

Phil




On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck 
marianop...@gmail.com wrote:

 What if you put your gofer expression to load PetitParser in a block
 closure and then:

 SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ]

 ?

 (I don't know what Pharo version you are using...but if that doesn't work
 check in BlockClosure for doSilently: or something similar).

 Best,


 On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be
 wrote:

 Looks like there is an announcement for added methods that is used by
 Voyage when loading packages.

 I was loading PetitParser and the image appeared unresponsive for quite a
 while.

 Is there a way to disable that check temporarily?

 Phil





 --
 Mariano
 http://marianopeck.wordpress.com



Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time

2014-06-24 Thread Esteban Lorenzano
yes the announcement is taking care of flushing caches when a 
mongoDescription is added/deleted.
probably things can be speed up, but I do not recommend to use  
#suspendAllWhile: (that will stop announce everything). 
Instead, you can simply do: 

VOMongoRepository unregisterToNotifications.

Esteban



On 24 Jun 2014, at 09:25, p...@highoctane.be wrote:

 Thanks, didn't knew about this.
 
 BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.
 
 Phil
 
 
 
 
 On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:
 What if you put your gofer expression to load PetitParser in a block closure 
 and then:
 
 SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] 
 
 ?
 
 (I don't know what Pharo version you are using...but if that doesn't work 
 check in BlockClosure for doSilently: or something similar).
 
 Best,  
 
 
 On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be 
 wrote:
 Looks like there is an announcement for added methods that is used by Voyage 
 when loading packages.
 
 I was loading PetitParser and the image appeared unresponsive for quite a 
 while.
 
 Is there a way to disable that check temporarily?
 
 Phil
 
 
 
 
 
 -- 
 Mariano
 http://marianopeck.wordpress.com