Re: [Twisted-Python] Twisted Client

2009-11-10 Thread Jarrod Roberson
x you could do away with the polling and use the python bindings to inotify. On OSX there are bindings to FSEvent API. Much better than a polling solution. -- Jarrod Roberson 678.551.2852 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] I found an interisting comment about Twisted vs. Erlang

2009-09-29 Thread Jarrod Roberson
or remote ) and vertically (adding FASTER cpus ) with no code changes. The broad statement that Twisted doesn't possess the capabilities of Erlang/OTP is pretty much accurate. Each solves a different problem. Granted Erlang/OTP is definately a super-set of what Twisted does -- Ja

Re: [Twisted-Python] Documentation

2009-08-12 Thread Jarrod Roberson
On Wed, Aug 12, 2009 at 6:41 AM, John Aherne wrote: > > > On Tue, Aug 11, 2009 at 10:03 PM, Glyph Lefkowitz > wrote: > >> On Mon, Aug 10, 2009 at 2:56 AM, John Aherne wrote: >> >>> Prompted by exarkun, I have put together some simple documentation for >>> beginners starting with Twisted. >>> >>

Re: [Twisted-Python] Really Basic clarification on defers

2009-08-05 Thread Jarrod Roberson
On Wed, Aug 5, 2009 at 6:04 PM, John Aherne wrote: > > > 2. If you have blocking code - *please define blocking* :), then first > think about putting it into deferToThread with appropriate callbacks and > return the deferred. As suggested by Jarrod in his response. > > > blocking code is code th

Re: [Twisted-Python] Really Basic clarification on defers

2009-08-04 Thread Jarrod Roberson
Deferreds don't do what you think they do. They don't do anything to make your code non-blocking. They only adhere to a contract that something will eventually be returned. The most common use of deferred's to make your code non-blocking is to use .deferToThread() or some other mechanism to make th

Re: [Twisted-Python] [Q] Naming Service for Twisted Servers

2009-01-09 Thread Jarrod Roberson
2009/1/9 V S P > Hi, > I am sorry I am reasking the same question I asked before > (but I did not get any replies) > > Basically wanted to know -- for running Twisted on multiple servers > > is there such a thing as a "Naming" server that > would register all the currently running twisted servers

Re: [Twisted-Python] Best place to put application code

2009-01-02 Thread Jarrod Roberson
On Fri, Jan 2, 2009 at 5:14 AM, John Aherne wrote: > One thing that has been puzzling me is where is the best place to put > application code. business logic should go in the "Service" class. ___ Twisted-Python mailing list Twisted-Python@twistedmatri

Re: [Twisted-Python] www.lua.org with twisted.python

2008-12-02 Thread Jarrod Roberson
On Tue, Dec 2, 2008 at 3:27 PM, Sven-Erik Tiberg <[EMAIL PROTECTED]>wrote: > Hi. > > I know it now, put a completly wrong question on this forum. > > The reason are that I'm looking for a protocol to exchange states of > objects in 3D worlds ( web3d.org ) and simulation applications so it can > fo

Re: [Twisted-Python] www.lua.org with twisted.python

2008-12-02 Thread Jarrod Roberson
On Tue, Dec 2, 2008 at 8:45 AM, Sven-Erik Tiberg <[EMAIL PROTECTED]>wrote: > Hi > > Looking at lua as a possbile network protocol for distributed > simulations. > Anyone used www.lua.org in twisted. > Pro and Con? lua is another scripting language, more aimed at embedding than python. so what yo