Tom -
Just wanted to thank you for your help. I got everything ported over to
Twisted on Friday, and the responsiveness of the web site is 10 times
better. Also the number of lines of (my) code declined, which is great.
Thanks much.
On Wed, Aug 28, 2013 at 6:40 AM, Tom Sheffler wrote:
>
> Hi
Phil -
I am aware of LoopingCall. I saw the mention of cooperate/coiterate on some
page somewhere, and actually went off trying to find an explanation /
example but did not find anything. If you have a link with some details, I
would like to take a look.
Thanks
On Wed, Aug 28, 2013 at 6:54 AM,
SOrry - last reply was meant for Tom!
On Wed, Aug 28, 2013 at 8:47 PM, Matthew Humphrey wrote:
> Phil - Thanks so much. This is pretty much exactly what I was looking for.
> I tried the approach you suggested for timer events, and it seems very
> clean and works quite well. I was able to get it
Phil - Thanks so much. This is pretty much exactly what I was looking for.
I tried the approach you suggested for timer events, and it seems very
clean and works quite well. I was able to get it working very consistently
with intervals < 10ms (way more than I need).
I haven't tried the process man
On 28/08/13 14:40, Tom Sheffler wrote:
Hi Matthew -
I have a couple of idioms I use for #2 and #3 in your message. Here
they are.
#2)
For timer events, I create a function that when called, continuously
schedules itself again in the reactor, does some work for the curren
Are you aware of t
Hi Matthew -
I have a couple of idioms I use for #2 and #3 in your message. Here they
are.
#2)
For timer events, I create a function that when called, continuously
schedules itself again in the reactor, does some work for the current
tick, and then exits. I've used this down to 1-second interv
(Reply to Matt Haggard)
Matt - I was getting the emails delivered in digest form, so I am having to
reply to my original email instead of to your reply. I have added your
email directly to make sure you get it.
> I am not familiar with how you communicate with hardware on a
> Raspberry PI. Can y
On Mon, Aug 26, 2013 at 9:06 PM, Matthew Humphrey wrote:
> 2) A thread that runs a loop which manages the hardware. It does this with a
> simple state machine composed of a base class and subclasses for all the
> states that the hardware can be in (starting, idle, displaying status on the
> lcd, d
I recently created a small automated, remote (via web) controlled pet
feeder using a Raspberry Pi single-board computer. The software is all in
Python, and uses the simple HTTP server that is part of the Python
libraries. I discovered Twisted about 2/3 of the way through the project,
and now that I