Re: [Twisted-Python] Boston Twisted Sprint

2009-09-21 Thread Itamar Shtull-Trauring
On Sun, 2009-09-20 at 23:33 -0400, Christopher Armstrong wrote: > On Sun, Sep 20, 2009 at 10:09 PM, Jessica McKellar > wrote: > > I'm cool with that if you're cool with that. Are you cool with that? Please > > send me an e-mail off-list with: > > 1. if you'd attend, and if so which days > > 2. reg

Re: [Twisted-Python] twistd plugin or .tac file?

2009-09-02 Thread Itamar Shtull-Trauring
On Tue, 2009-09-01 at 13:39 -0400, Martin-Louis Bright wrote: > Which is the recommended or preferred way to deploy an app that will > leverage twistd: designing the app as a twistd plugin or creating a > Service and using a .tac file? A plugin is nicer in that you can have command-line options,

Re: [Twisted-Python] Questions about adding documentation

2009-07-31 Thread Itamar Shtull-Trauring
On Fri, 2009-07-31 at 15:37 -0400, Ying Li wrote: > version (currently 8.2.0) but this is meaningless to me. I think a > big improvement would be putting in a small bit of context around the > documentation , such as: > > * when the howto/tutorial was last updated > * what version (of deferreds/

Re: [Twisted-Python] Deferred documentation rewrite

2009-07-31 Thread Itamar Shtull-Trauring
On Fri, 2009-07-31 at 18:40 -0400, Edward Z. Yang wrote: > You can view an initial draft of the rewrite here: > > http://ezyang.com/twisted/defer2.html > > For reference, this is the planned outline (X means done, ? means > almost done): > > X Synchronous to Asynchronous: The Method to the Madne

Re: [Twisted-Python] Possible Twisted sprint

2009-07-20 Thread Itamar Shtull-Trauring
I asked, and ITA seems willing to provide a conference room or two with Internet for sprinters. I will try for official signoff given more details like dates and # of people. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twiste

Re: [Twisted-Python] Possible Twisted sprint

2009-07-17 Thread Itamar Shtull-Trauring
I am not quite sure I can make it, I probably can for at least part of the time. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Possible Twisted sprint

2009-07-16 Thread Itamar Shtull-Trauring
So how many people are we expecting, if this happens? Number would impact possible locations for the event. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] http.Request and JSON

2009-06-30 Thread Itamar Shtull-Trauring
On Tue, 2009-06-30 at 21:56 +0800, Vincent Gulinao wrote: > In my case at least it's cStringIO, and getvalue() sufficed. > > Sorry, subscribing to twisted-web now. > > Thanks everyone. One last followup, for those not on twisted-web: DO NOT use getvalue(). The promised interface is file-like. An

Re: [Twisted-Python] High Concurrency

2009-06-17 Thread Itamar Shtull-Trauring
> Hi, > I want to use twisted to write a server which is to get purchase orders > from > about tens of thousands clients sent by wireless net work (tcp protocol) > and > store the orders into a DBMS system. I wonder if it is possible and how to > deal with the high concurrency. It is possible. De

Re: [Twisted-Python] serial port protocols

2009-06-15 Thread Itamar Shtull-Trauring
On Sat, 2009-06-13 at 21:13 +1000, Brendan Simon wrote: > Can twisted be used to access a serial port on OS X, MS Windows, linux, > etc ??? Yes, via the twisted.internet.serial module. > Is there any support for serial protocols (eg. BISYNC, PPP, etc) ??? You'd have to write them yourself, excep

Re: [Twisted-Python] Question about File Descriptors

2009-06-15 Thread Itamar Shtull-Trauring
On Fri, 2009-06-12 at 06:50 -0700, Andrew Francis wrote: > What are the memory ramifications (i.e, I raise the max descriptor > count to 65535)? The memory in use by your own Python objects will probably take the most memory, so you'll need to figure that out on your own. > Also should I move t

Re: [Twisted-Python] Reactor callback from the wrong thread

2009-05-29 Thread Itamar Shtull-Trauring
On Fri, 2009-05-29 at 09:02 +0200, Lars Ivar Igesund wrote: > Thanks for the tip, > > however - in which version was blockingCallFromThread added? Post-2.5.0 apparently. I suggest at least reading the code so you can see how it works. ___ Twisted-Pyt

Re: [Twisted-Python] Reactor callback from the wrong thread

2009-05-28 Thread Itamar Shtull-Trauring
On Thu, 2009-05-28 at 14:04 +0200, Lars Ivar Igesund wrote: > If anyone has a good advice, then I'd appreciate it. You can call any reactor API from another thread using reactor.callFromThread, or the more useful twisted.internet.threads.blockingCallFromThread. So just wrap all places that call i

Re: [Twisted-Python] Upcoming Sprint

2009-05-28 Thread Itamar Shtull-Trauring
I should be there for some of the day, at least. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] File persistence without blocking the main event loop?

2009-05-18 Thread Itamar Shtull-Trauring
On Mon, 2009-05-18 at 19:34 +0800, Arun Thampi wrote: > Hi guys - I'm just beginning to learn about Twisted and was wondering > if there is a way to use the built-in Twisted persistence libraries > such as dirdbm etc. without blocking the main event loop? I read about > an approach which uses defer

Re: [Twisted-Python] How do I turn off certain log messages?

2009-05-14 Thread Itamar Shtull-Trauring
On Thu, 2009-05-14 at 12:04 +0100, Reza Lotun wrote: > - setting request.channel.persistent = False to force non persistent > connections > I'm particularly concerned with squeezing some performance out of the > web.server and also web.client. Those two things are contradictory - persistent con

Re: [Twisted-Python] can't get a simple client/server example to work!

2009-05-13 Thread Itamar Shtull-Trauring
Have you read the client-side howto? http://twistedmatrix.com/projects/core/documentation/howto/clients.html ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] RTFM about custom reactors

2009-05-04 Thread Itamar Shtull-Trauring
On Mon, 2009-05-04 at 02:15 -0400, Mohamed Lrhazi wrote: > Hello all, > > I was wondering if someone could point me in the right direction > > I am attempting to connect a proprietary network OS plugin system to > Python, to allow for writing traffic handling plugins in Python, and > was wond

Re: [Twisted-Python] handling CTRL-C

2009-04-30 Thread Itamar Shtull-Trauring
On Thu, 2009-04-30 at 14:44 +0200, Fabrizio Mancini wrote: > Hi, > i know twisted already manage CTRL-C keystroke, but i'd like to add > some other action when CTRL-C is pressed. > I've implemented a perspective broker server, which have a > DeferredQueue and a lot of elements in it. > I'd like to

Re: [Twisted-Python] How to hook at StandardIO factory to a twistd app

2009-04-08 Thread Itamar Shtull-Trauring
> Hi Twisted! > > Could a kind soul provide me an example of how to connect my StandardIO > factory to a twistd app? Here is an overview of my code > > class MyProtocol(basic.LineReceiver): > # Blah Blah > > class MyFactory( stdio.StandardIO ): > def __init__(self, protocol): >

Re: [Twisted-Python] Twistd and application framework questions

2009-04-02 Thread Itamar Shtull-Trauring
On Wed, 2009-04-01 at 13:16 -0400, Nadav Aharony wrote: > 1) The program uses multiple UDP/TCP clients and servers that are > currently launched with reactor.listenTCP / UDP connectTCP/UDP etc. I've > been using MultiService, according to the twisted documentation. > Some of these services were

Re: [Twisted-Python] What kind of throughput can we expect to achieve when using DatagramProtocol (UDP)

2009-03-30 Thread Itamar Shtull-Trauring
On Mon, 2009-03-30 at 15:07 -0700, John Draper wrote: > We have an application we intend to release where we intend to have > about a million applications sending UDP packets to a Twisted Python > server which needs to process incoming data (Approx 128 bytes of text) > per packet, which a BAC

Re: [Twisted-Python] strange server crash

2009-03-22 Thread Itamar Shtull-Trauring
On Sat, 2009-03-21 at 20:02 -0700, Alec Matusis wrote: > File "/nail/live/im/myserv/service.py", line 1199, in logout > > if self.nick in session.sellers: > > exceptions.AttributeError: WLResultSet instance has no > attribute 'sellers' > > > > This last error re

Re: [Twisted-Python] too many file descriptors in select

2009-03-03 Thread Itamar Shtull-Trauring
John Aherne wrote: I have started to get this message coming up on a fairly regular basis now. I have an application that is very simple and has run by and large without problem for about 7 months. But over the pas 4 - 6 weeks has started to produce this error 'too many file descriptors in se

Re: [Twisted-Python] Twisted developers: please donate your time!

2009-03-02 Thread Itamar Shtull-Trauring
On Tue, 2009-02-24 at 21:25 +1300, Michael Hudson wrote: > 2009/2/24 Itamar Shtull-Trauring : > > As part of the TSF's fundraising efforts, we are trying to get upfront > > donations of time you will spend developing Twisted. It will then get > > matched by a donor, if we

[Twisted-Python] Twisted developers: please donate your time!

2009-02-23 Thread Itamar Shtull-Trauring
As part of the TSF's fundraising efforts, we are trying to get upfront donations of time you will spend developing Twisted. It will then get matched by a donor, if we are successful in getting this grant. So if you're planning on working on Twisted anyway this year, your work will count twice as mu

[Twisted-Python] Available for short-term Twisted consulting, e.g. training, design (but not coding)

2009-02-17 Thread Itamar Shtull-Trauring
he Israel Museum in Jerusalem: http://itamarst.org/resume.html Send me an e-mail if you're interested. -- Itamar Shtull-Trauring ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Test, please ignore

2009-02-17 Thread Itamar Shtull-Trauring
___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted Sprint in February

2009-01-27 Thread Itamar Shtull-Trauring
On Tue, 2009-01-27 at 14:30 -0500, Christopher Armstrong wrote: > I could sprint this weekend. The trip is two weeks, so I could > feasibly also sprint on the Sunday the 22nd (with the chance of > jetlag). Any other weekend is probably good, I'm just unavailable 7th > through 21st. This Saturday