Re: freebsd and multiprocessing

2010-03-02 Thread Tim Arnold
On Mar 2, 11:52 am, Philip Semanchuk wrote: > On Mar 2, 2010, at 11:31 AM, Tim Arnold wrote: > > > > > > > Hi, > > I'm intending to use multiprocessing on a freebsd machine (6.3 > > release, quad core, 8cpus, amd64). I see in the doc that on

Re: freebsd and multiprocessing

2010-03-02 Thread Tim Arnold
On Mar 2, 12:59 pm, Tim Arnold wrote: > On Mar 2, 11:52 am, Philip Semanchuk wrote: > > On Mar 2, 2010, at 11:31 AM, Tim Arnold wrote: > > > > Hi, > > > I'm intending to use multiprocessing on a freebsd machine (6.3 > > > release, quad core,

multiprocessing on freebsd

2010-03-17 Thread Tim Arnold
onization primitives needed will not function, see issue 3770. thanks for any info, --Tim Arnold -- http://mail.python.org/mailman/listinfo/python-list

Re: multiprocessing on freebsd

2010-03-17 Thread Tim Arnold
On Mar 17, 11:26 am, Philip Semanchuk wrote: > On Mar 17, 2010, at 9:30 AM, Tim Arnold wrote: > > > > > > > Hi, > > I'm checking to see if multiprocessing works on freebsd for any > > version of python. My server is about to get upgraded from 6.3 to 8.

Re: multiprocessing on freebsd

2010-03-18 Thread Tim Arnold
"Martin P. Hellwig" wrote in message news:hnrabj$c4...@news.eternal-september.org... > On 03/17/10 13:30, Tim Arnold wrote: >> Hi, >> I'm checking to see if multiprocessing works on freebsd for any >> version of python. My server is about to get upgraded fro

remote server and effective uid

2010-11-15 Thread Tim Arnold
re a way I can switch the effective uid of the server process without asking clients to login? Or is there a better way to solve the problem? thanks, --Tim Arnold -- http://mail.python.org/mailman/listinfo/python-list

Re: remote server and effective uid

2010-11-15 Thread Tim Arnold
On Nov 15, 10:41 am, Tim Harig wrote: > On 2010-11-15, Tim Arnold wrote: > > > How can I enable the server process to write into the client's > > directories? > > If I change the inetd service to run as 'root', I guess that would > > work, but then t

Re: remote server and effective uid

2010-11-16 Thread Tim Arnold
"Tim Harig" wrote in message news:ibs8h9$jm...@speranza.aioe.org... > On 2010-11-15, Tim Arnold wrote: >> On Nov 15, 10:41 am, Tim Harig wrote: >>> On 2010-11-15, Tim Arnold wrote: >>> >>> > How can I enable the server process to write into

Re: How to pop the interpreter's stack?

2010-12-15 Thread Tim Arnold
"Ethan Furman" wrote in message news:mailman.4.1292379995.6505.python-l...@python.org... > kj wrote: >> The one thing I don't like about this strategy is that the tracebacks >> of exceptions raised during the execution of __pre_spam include one >> unwanted stack level (namely, the one correspondi

pass object or use self.object?

2010-04-06 Thread Tim Arnold
Hi, I have a few classes that manipulate documents. One is really a process that I use a class for just to bundle a bunch of functions together (and to keep my call signatures the same for each of my manipulator classes). So my question is whether it's bad practice to set things up so each method

Re: pass object or use self.object?

2010-04-07 Thread Tim Arnold
On Apr 6, 11:19 am, Jean-Michel Pichavant wrote: > Tim Arnold wrote: > > Hi, > > I have a few classes that manipulate documents. One is really a > > process that I use a class for just to bundle a bunch of functions > > together (and to keep my call signatu

Re: pass object or use self.object?

2010-04-08 Thread Tim Arnold
On Apr 8, 4:20 am, Bruno Desthuilliers wrote: > Lie Ryan a écrit : > > > > > > > On 04/07/10 18:34, Bruno Desthuilliers wrote: > >> Lie Ryan a écrit : > >> (snip) > > >>> Since in function in python is a first-class object, you can instead do > >>> something like: > > >>> def process(document): >

design question

2010-05-03 Thread Tim Arnold
This is a question about system design I guess. I have a django website that allows users to change/view configuration details for documentation builds. The database is very small. The reason I'm using a database in the first place is to make it easy for users to change the configuration of their b

Re: design question

2010-05-04 Thread Tim Arnold
On May 4, 3:39 am, Bruno Desthuilliers wrote: > Alf P. Steinbach a écrit : > (snip) > > > Re efficiency it seems to be a complete non-issue, but correctness is > > much more important: is there any way that the config details can be > > (inadvertently) changed while the build is going on? > > +1

multiprocessing and accessing server's stdout

2010-05-26 Thread Tim Arnold
ine to see the stdout of the process running on the server. Not sure this is doable--I've been unable to google anything useful on this one. thanks, --Tim Arnold -- http://mail.python.org/mailman/listinfo/python-list

Re: multiprocessing and accessing server's stdout

2010-05-27 Thread Tim Arnold
On May 26, 4:52 pm, Adam Tauno Williams wrote: > On Wed, 2010-05-26 at 11:47 -0700, Tim Arnold wrote: > > Hi, > > I'm using multiprocessing's BaseManager to create a server on one > > machine and a client on another. The client fires a request and the > >

Re: multiprocessing and accessing server's stdout

2010-06-01 Thread Tim Arnold
On May 28, 7:47 pm, "Martin P. Hellwig" wrote: > On 05/28/10 21:44, Adam Tauno Williams wrote: > > > On Fri, 2010-05-28 at 15:41 +0100, Martin P. Hellwig wrote: > >> On 05/28/10 13:17, Adam Tauno Williams wrote: > >> > >>> You should be able to point it any any file-like object.  But, again, > >>

Re: Working with PDFs?

2010-08-24 Thread Tim Arnold
about the pdfs after the builds. I'd like to be able to do more with it, like find out whether any fonts in the doc are not embedded for example. --Tim Arnold -- http://mail.python.org/mailman/listinfo/python-list

oNVDL validation docbook 5

2009-08-05 Thread Tim Arnold
r. Any suggestions or pointers welcome. thanks, --Tim Arnold -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python to automate builds

2009-08-05 Thread Tim Arnold
"Kosta" wrote in message news:84d9ae10-3aee-40a8-97ac-05799da0d...@f18g2000prf.googlegroups.com... >I am a Python newbie, tasked with automating (researching) building > Windows drivers using the WDK build environment. I've been looking > into Python for this (instead of writing a bunch of batc

coding for multiple versions of python

2009-08-13 Thread Tim Arnold
Hi, I've got a python based system that has to run on hp unix and red hat linux. The Python version on the HP is 2.4 and the version on the Linux box is 2.6. There's nothing I can do about that. I think that means I must have two different libraries since the pyc files are not cross-version com

Re: coding for multiple versions of python

2009-08-14 Thread Tim Arnold
"Tim Arnold" wrote in message news:h61gld$it...@foggy.unx.sas.com... > Hi, > I've got a python based system that has to run on hp unix and red hat > linux. The Python version on the HP is 2.4 and the version on the Linux > box is 2.6. There's nothing I can do ab

2.6 windows install

2009-08-20 Thread Tim Arnold
ed are set wide-open for everyone. Any ideas on what I'm missing here? thanks, --Tim Arnold -- http://mail.python.org/mailman/listinfo/python-list

using queue

2009-09-01 Thread Tim Arnold
seudocode for what I'm thinking: q = Queue(maxsize=80) for chap in [x.config['name'] for x in self.document.chapter_objects]: c = self.compiler(self.document.config['name'], chap) t = threading.Thread(target=c.compile) t.start() q.put(t) q.join() is that the r

Re: using queue

2009-09-02 Thread Tim Arnold
"MRAB" wrote in message news:mailman.835.1251886213.2854.python-l...@python.org... > Tim Arnold wrote: >> Hi, I've been using the threading module with each thread as a key in a >> dictionary. I've been reading about Queues though and it looks like >&

Re: using queue

2009-09-03 Thread Tim Arnold
"Jan Kaliszewski" wrote in message news:mailman.895.1251958800.2854.python-l...@python.org... > 06:49:13 Scott David Daniels wrote: > >> Tim Arnold wrote: > >>> (1) what's wrong with having each chapter in a separate thread? Too >>> much going o

triangle python user's group?

2010-08-30 Thread Tim Arnold
Hi, Is there a python users group in the Research Triangle Park area (North Carolina, USA)? If there is not one and you're in the area and would be interested, please send an email to jtim.arnold at gmail.com and I'll organize a get-together to get one started. I'll try to find a locale convenien

Re: triangle python user's group?

2010-08-31 Thread Tim Arnold
"Albert Hopkins" wrote in message news:mailman.219.1283200967.29448.python-l...@python.org... > On Mon, 2010-08-30 at 12:38 -0700, Tim Arnold wrote: >> Hi, >> Is there a python users group in the Research Triangle Park area >> (North Carolina, USA)? > >

parsing string into dict

2010-09-01 Thread Tim Arnold
tandard library (I'm running 2.7). Here's what I've got, and it works. I wonder if there's a simpler way? thanks, --Tim Arnold The 'line' is like my example above but it comes in without the ending bracket, so I append one on the 6th lin

Re: parsing combination strings

2007-03-21 Thread Steven D. Arnold
On Mar 21, 2007, at 2:42 PM, PKKR wrote: > I need a fast and efficient way to parse a combination string(digits + > chars) > > ex: s = "12ABA" or "1ACD" or "123CSD" etc > > I want to parse the the above string such that i can grab only the > first digits and ignore the rest of the chacters, A rege

[JOB] Sr. Python Developer, Northern VA

2007-03-21 Thread Steven D. Arnold
Neosynapse is seeking a senior software developer located in or willing to relocate to the Northern VA area to join a project building one of the largest grid computing data platforms in the world. Skill and experience required for this engagement include: * at least 7 years experience in p

<    1   2