Re: [kamaelia-list] Nifty uses and features.

2010-08-11 Thread Matt Hammond
On Wed, 11 Aug 2010 11:18:09 +0100, Sylvain Hellegouarch wrote: On Wed, Aug 11, 2010 at 12:16 PM, Matt Hammond wrote: The attraction to me if the simplicity of use and the lower overheads compared to using a threaded component to send timing signalling. With the understanding of blo

Re: [kamaelia-list] Nifty uses and features.

2010-08-11 Thread Sylvain Hellegouarch
On Wed, Aug 11, 2010 at 12:16 PM, Matt Hammond wrote: > The attraction to me if the simplicity of use and the lower overheads >>> compared to using a threaded component to send timing signalling. >>> >> > With the understanding of blocking the whole Python process (hence the >> scheduler) by not

Re: [kamaelia-list] Nifty uses and features.

2010-08-11 Thread Matt Hammond
The attraction to me if the simplicity of use and the lower overheads compared to using a threaded component to send timing signalling. With the understanding of blocking the whole Python process (hence the scheduler) by not using a thread for the timer. It doesn't block the scheduler. It use

Re: [kamaelia-list] Nifty uses and features.

2010-08-11 Thread Sylvain Hellegouarch
On Wed, Aug 11, 2010 at 11:55 AM, Matt Hammond wrote: > On Wed, 11 Aug 2010 10:18:50 +0100, Sylvain Hellegouarch > wrote: > > I'm usually not a massive fans of mixins as I find they recreate what is >> the >> core nature of Axon: composability. If I was using my threaded monitor >> above, I'd ha

Re: [kamaelia-list] Nifty uses and features.

2010-08-11 Thread Matt Hammond
On Wed, 11 Aug 2010 10:18:50 +0100, Sylvain Hellegouarch wrote: I'm usually not a massive fans of mixins as I find they recreate what is the core nature of Axon: composability. If I was using my threaded monitor above, I'd have something like: Pipeline(ThreadedMonitor(), TestComponent(),

Re: [kamaelia-list] Nifty uses and features.

2010-08-11 Thread Sylvain Hellegouarch
On Wed, Aug 11, 2010 at 1:06 AM, Matt Hammond wrote: > >> An unrelated question: What is the best way to set a timer inside of a > >> component? I am using the threaded Timer, but it is problematic inside > >> of > >> the component, it only fires once and cannot be restarted without error. > >> I

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Matt Hammond
>> An unrelated question: What is the best way to set a timer inside of a >> component? I am using the threaded Timer, but it is problematic inside >> of >> the component, it only fires once and cannot be restarted without error. >> It >> looks like it's underlying thread handling is botching up th

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Sylvain Hellegouarch
> > Matt, thank you, this is really great! I will respond in more detail once I > test this out. I am certain you've saved me huge amounts of time. > > An unrelated question: What is the best way to set a timer inside of a > component? I am using the threaded Timer, but it is problematic inside of

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Gloria W
On 08/10/2010 12:13 PM, Matt Hammond wrote: I am having a similar epiphany now that I found the coordinating assistance tracker (under Axon). This is precisely what I need: a dynamic way to register and de-register available components that aren't linked to each other. This can also be used t

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Matt Hammond
I am having a similar epiphany now that I found the coordinating assistance tracker (under Axon). This is precisely what I need: a dynamic way to register and de-register available components that aren't linked to each other. This can also be used to handle global data. Nifty! The document

[kamaelia-list] Nifty uses and features.

2010-08-10 Thread Gloria W
On 08/10/2010 08:59 AM, Jim Easterbrook wrote: On 09/08/10 08:24, Matt Hammond wrote: If what you are after doing is swapping out a single component and replacing it with a new one, then the Carousel component might help you: http://www.kamaelia.org/Components/pydoc/Kamaelia.Chassis.Carousel.h