Re: Semaphore Techniques

2009-07-28 Thread David Bolen
John D Giotta writes: > I'm looking to run a process with a limit of 3 instances, but each > execution is over a crontab interval. I've been investigating the > threading module and using daemons to limit active thread objects, but > I'm not very successful at grasping the documentation. > > Is i

Re: fast video encoding

2009-07-31 Thread David Bolen
gregorth writes: > I am a novice with video encoding. I found that few codecs support > gray scale images. Any hints to take advantage of the fact that I only > have gray scale images? I don't know that there's any good way around the fact that video encoding is simply one of the heavier CPU-bou

Re: Networked Broadcast Messaging

2009-08-11 Thread David Bolen
"squishywaf...@gmail.com" writes: > * Machines can come and go. Since messages are not directly sent to a > specific IP address from our Python script, the messages are simply > broadcasted to those who are there to listen. If nobody is subscribed > to the message type being sent, nothing happens

Re: Need cleanup advice for multiline string

2009-08-12 Thread David Bolen
Robert Dailey writes: > Hey guys. Being a C++ programmer, I like to keep variable definitions > close to the location in which they will be used. This improves > readability in many ways. However, when I have a multi-line string > definition at function level scope, things get tricky because of t

Re: Date Parsing Question

2010-09-03 Thread David Bolen
Gavin writes: > python-dateutil seems to work very well if everything is in English, > however, it does not seem to work for other languages and the > documentation does not seem to have any information about locale > support. Probably because I don't think there is much built in. You'll want t

<    1   2