Re: [Twisted-Python] Forking after starting AsyncioSelectorReactor: Supported?

2018-08-28 Thread David Foster
Thank you for the detailed research Tim. Indeed it seems we’ll have to either change the order of {start reactor, fork} or use a different reactor type, since this problem seems likely to remain so long as asyncio uses the kqueue primitive on macOS, which seems unlikely to change. - David

[Twisted-Python] Forking after starting AsyncioSelectorReactor: Supported?

2018-08-27 Thread David Foster
. Also if I use SelectReactor rather than AsyncioSelectorReactor then it doesn't matter which order I fork in. So my question is, does Twisted support being forked after starting a reactor or not? -- David Foster | Seattle, WA, USA P.S. For more details see this Django Channels thread:

[Twisted-Python] Cannot access raise ticket in Issue Tracker

2017-06-19 Thread David Worenklein
ogin I get an Error: Not Found Thanks in advance, David This communication may contain privileged and/or confidential information. If you are not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or

Re: [Twisted-Python] announcing: txmix, a twisted python mixnet library

2017-02-19 Thread David Stainton
ssive adversary Unlike tor which is stream oriented, low latency and most definitely vulnerable to global passive adversaries. (Mixnets were invented in 1981 by David Chaum, there's a lot of research papers but not a lot of examples we can use.) It's funny that anonymity properties mak

[Twisted-Python] announcing: txmix, a twisted python mixnet library

2017-02-19 Thread David Stainton
the defense against certain known active attacks against some mix types. questions, code review and pull requests welcome. David Stainton ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Stdout from child of ProcessProtocol not propogating

2016-01-14 Thread David Bolen
rompts (which want to prevent echoing), curses like applications, or even in unexpected places for Y/N prompts in some utilities (like SC's default help, or NET TIME /SET's confirmation). Of course if you're just implementing the ssh server portion, you should be able to

Re: [Twisted-Python] AMP with a long-lived connection - results and deferred?

2015-10-28 Thread David Ripton
called when the remote call succeeds or fails. On success, the callback will receive an argument equal to the return value of the remote callable that you called. On failure, the errback will receive an error argument. I have an old GUI (PyGTK, not Kivy) chat over AMP example at https://gith

Re: [Twisted-Python] understanding IConsumer

2015-09-03 Thread David Stainton
I'm not the best person to respond here but I think you should not want or need to implement your own consumer... Twisted transports and protocols are implemented using producers and consumers. On Thu, Sep 3, 2015 at 3:08 AM, Roshan Cherian wrote: > Hi Team, > > I am sorry if this is coming off a

Re: [Twisted-Python] please can haz code review -> Tor-ified Twisted Python HTTP proxy server - txtorhttpproxy

2015-08-13 Thread David Stainton
Dear Aaon Gallagher, Thanks for the helpful observation. i'm going to make the correction soon and then we'll be underscore free. On Wed, Aug 12, 2015 at 7:06 AM, Aaron Gallagher <_...@habnab.it> wrote: > David Stainton writes: > >> If I get rid of this last terrible

Re: [Twisted-Python] Proposal -- Code of Conduct

2015-08-12 Thread David Reid
What needs to happen to move this proposal forward? -David On Sun, Jul 19, 2015 at 10:28 PM, Kevin Turner wrote: > I was chatting with some people at the Community Leadership Summit today > about the Recurse Center's social rules > <https://www.recurse.com/manual#sec-en

[Twisted-Python] please can haz code review -> Tor-ified Twisted Python HTTP proxy server - txtorhttpproxy

2015-08-11 Thread David Stainton
Sincerely, David Stainton ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Proposal -- Code of Conduct

2015-06-23 Thread David Reid
I definitely meant "I don't think that should block adoption". -David On Tue, Jun 23, 2015 at 7:12 PM, Glyph wrote: > > On Jun 23, 2015, at 1:49 PM, David Reid wrote: > > So while it'd be nice for the PSF CoC to be updated such that it was > enforceable I th

Re: [Twisted-Python] Proposal -- Code of Conduct

2015-06-23 Thread David Reid
g that any updates to the CoC would also need to be approved by a vote of the membership. So while it'd be nice for the PSF CoC to be updated such that it was enforceable I think that should block adoption of a CoC by the Twisted Project. I'm a +1 on adopting the Django CoC. -David On Tue,

Re: [Twisted-Python] Proposal -- Code of Conduct

2015-06-23 Thread David Reid
I'm going to come out strongly against using the PSF CoC. It is woefully inadequate, it includes no mechanisms for reporting, and as any PSF member who has been on certain mailing lists knows it is actually completely unenforceable. -David On Tue, Jun 23, 2015 at 11:47 AM, Stephen Thorne

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-19 Thread David Ripton
ions can install SCL, then use pip to install new Twisted. IOW, I wouldn't worry about it. Drop support for Python 2.6 when it makes sense for Twisted. -- David Riptondrip...@ripton.net ___ Twisted-Python mailing list Twisted-Python@twistedmatrix

[Twisted-Python] Using ldapbindingchecker (part of ldaptor) with Twisted.

2015-02-10 Thread David Shepherd
but effectively I still cannot set a password. Can anyone help ? Many thanks, David Shepherd Solutions Architect (Collaboration) Novell Services Tel: +44 (0)1344 724000 e-mail: dsheph...@novell.com For information on Novell Services go to: www.novell.com/services/demo.html N

[Twisted-Python] Looking for anyone interested in maintaining treq.

2015-02-05 Thread David Reid
I'm starting a new job soon which doesn't involve Python. I also have a newborn at home so my free time is pretty much spoken for. If anyone is interested in maintaining treq I'm now accepting applications. If anyone has an alternative to plug this would also be an OK time for that. -dreid _

[Twisted-Python] "serialization" of ListeningPort

2014-07-03 Thread David Stainton
ically saying that each server endpoint type needs a small amount of unique code in order to serialize into a client endpoint descriptor string... because there are various IAddress implementations with different attributes. Cheers, David signature.asc Description: Digital signature

[Twisted-Python] twistedcat - twisted endpoint concatenator

2014-06-21 Thread David Stainton
here is this: $ ./twistedcat.py tor:timaq4ygg2iegci7.onion:80 -s onion:80:hiddenServiceDir=/home/human/hs Which of course proxies requests from my new onion to timaq4ygg2iegci7.onion... the onion address of the txtordoc documentation website. But this is crazy... um how many hops is that exactly

Re: [Twisted-Python] Why would someone need SSHTransportAddress?

2014-05-19 Thread David Stainton
It seems like a fairly common idiom to setup some sort of TCP server with a kernel selected port via an endpoint descriptor like this: def getListeningPort(listeningPort): address = listeningPort.getHost() endpointDesc = convertAddressToEndpointDesc(address) sendAnnouncement(endpointDe

Re: [Twisted-Python] TCP and ICMP

2014-05-11 Thread David Stainton
f trouble with dropped packets reusing a twisted interface I found for NFQUEUE; this might've been a problem with the queued packets not getting consumed quick enough before the queue limit was reached... not sure. Cheers, David On Sat, May 10, 2014 at 2:29 PM, Jay Shah wrote: > Hiee A

Re: [Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-06 Thread David Stainton
> The endpoint constructor should do _construction_. The endpoint parser > should do _parsing_. The task of parsing is of taking strings and producing > meaningful values. Ah yeah I see what you mean. OK... I changed it: https://github.com/david415/txtorcon/commit/1e96d550c40bef1be1b45c3c975c0da

Re: [Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-05 Thread David Stainton
OK... I decided that txtorcon's endpoint constructor should only take string arguments besides the reactor arg... because serverFromString passes only str args to the endpoint constructor. I wrote the endpoint parser to be as simple as possible. The endpoint's `listen` method now handles the tor c

Re: [Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-02 Thread David Stainton
ch this soon. For now my hacky development/testing flow works OK. On Fri, May 2, 2014 at 9:18 PM, Glyph Lefkowitz wrote: > > On May 2, 2014, at 6:59 AM, David Stainton wrote: > > Today I wrote an endpoint parser for Meejah's txtorcon Tor Hidden > Service endpoint. > > > This i

Re: [Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-02 Thread David Stainton
Ah yeah... twisted endpoints that support udp... Perhaps when Yawning Angel finishes Lightweight Obfuscated Datagram Protocol (LODP) there will be interesting things we can do with this... and a more immediate perceived need for twisted datagram endpoint interfaces. On Fri, May 2, 2014 at 9:16 PM

Re: [Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-02 Thread David Stainton
to establish the socks connection to tor. Or maybe it'll be the same endpoint that behaves according to the arguments it's passed. > Another point for this is that "someday" tor will have UDP support... > > thanks, > meejah cheers, david ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-02 Thread David Stainton
Ah ha! Of course it is so obvious now that you point it out to me. The onion endpoint parser can do this setup work in it's `listen` method which returns a `Deferred`. Thanks for your observation/advice! Cheers! David On Fri, May 2, 2014 at 3:01 PM, wrote: > On 02:53 pm, d

Re: [Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-02 Thread David Stainton
descriptors from the user and passes them to foolscap. On Fri, May 2, 2014 at 2:20 PM, Tristan Seligmann wrote: > On 2 May 2014 15:59, David Stainton wrote: >> This will work fine for the txsocksx tor client endpoint parser I >> wrote... However the txtorcon Tor Hidden Service

[Twisted-Python] tor hidden service endpoint parser returns a deferred

2014-05-02 Thread David Stainton
all cd examples # CWD is now /home/human/projects/txtorcon/examples cp hiddenservice_endpoint_parser.py /home/human/virtenv-endpoints-test/lib/python2.7/site-packages/twisted/plugins # and then run the example code that uses this endpoint parser python

Re: [Twisted-Python] adding endpoint plugins

2014-04-30 Thread David Stainton
-endpoints-test/local/lib/python2.7/site- >> packages/twisted/internet/endpoints.py", >> >> line 1737, in clientFromString >>raise ValueError("Unknown endpoint type: %r" % (aname,)) >> ValueError: Unknown endpoint type: 'tor' >> >> >> I wonde

Re: [Twisted-Python] adding endpoint plugins

2014-04-30 Thread David Stainton
I wonder if I am having a deployment problem here or if my code has got problems. https://github.com/david415/txsocksx/blob/endpoint_parsers/examples/tor_client_endpoint_parser.py https://github.com/david415/txsocksx/blob/endpoint_parsers/examples/tor-http.py Cheers! David On Wed, Apr 30, 2014

[Twisted-Python] adding endpoint plugins

2014-04-30 Thread David Stainton
s we are interested in supporting... and get Tahoe-LAFS to register them so that serverFromString and clientFromString will return the expected endpoint objects. Cheers! David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted 14.0.0pre5 Announcement

2014-04-28 Thread David Reid
build currently running: https://travis-ci.org/dreid/treq/builds/23955777 -David On Sat, Apr 26, 2014 at 1:35 AM, HawkOwl wrote: > Hi everyone, just a few changed bytes to fix some news file entries. > > Tarballs for this prerelease can be found at < > http://twistedmatrix.com/Rel

Re: [Twisted-Python] improving foolscap's use of Twisted

2014-03-08 Thread David Stainton
Thanks! That's just what I needed. On Sat, Mar 8, 2014 at 12:52 PM, wrote: > On 10:02 am, dstainton...@gmail.com wrote: >> >> >> >> Greetings, >> >> My goal is to get Brian Warner's foolscap library ported to Twisted >> endpoints instead of the older Twisted api interfaces it currently >> uses (

[Twisted-Python] improving foolscap's use of Twisted

2014-03-08 Thread David Stainton
ens.NegotiationError: no connection established within client timeout foolscap.test.test_appserver.RunCommand.test_run --- Ran 1 tests in 60.576s FAILED (errors=1) foolscap$ Ch

[Twisted-Python] Sending feedback on SSH authentication failures

2014-02-04 Thread David Timothy Strauss
Is there a straightforward way to send text feedback to users when their authentication fails? At Pantheon, we use a custom implementation of IRealm. I'm hoping there's a way to send or return the output from there. We particularly need this because users will have various two-factor authenticatio

Re: [Twisted-Python] Setting socket options before bind/listen

2014-02-04 Thread David Timothy Strauss
You can also accomplish this using systemd socket activation with the ReusePort= option [1]. Twisted supports inheriting such sockets from systemd. [1] http://www.freedesktop.org/software/systemd/man/systemd.socket.html ___ Twisted-Python mailing list T

Re: [Twisted-Python] Ticket #1330 - Socks V5 functionality

2013-11-16 Thread David Stainton
riven development. I'll give it a try and implement the SOCKSv5 server functionality... Cheers! David On Sat, Nov 16, 2013 at 11:44 AM, wrote: > On 06:14 pm, dstainton...@gmail.com wrote: >> >> Hi, I'd like to help out and write unit tests for the Socks v5 co

[Twisted-Python] Ticket #1330 - Socks V5 functionality

2013-11-16 Thread David Stainton
erver code merged to mainline Twisted with unit tests. Cheers, David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] twisted irc client + packet capturing

2013-11-08 Thread David Stainton
picks up via iptables rules like this: iptables -A INPUT -p tcp --dport 22 -j NFLOG Cheers! David On Fri, Nov 8, 2013 at 12:50 AM, Edmund Wong wrote: > Hi, > > I've created a script that would log on to an irc server, while > capturing packets. > > I came across

Re: [Twisted-Python] FTP without the protocol

2013-10-25 Thread David Bolen
ompletely discarded if something goes wrong. But I have the luxury of having tight control of the client (who is an audio post-production house publishing jobs for clients to review), so failures between the client and the server in my case are actually reasonably rare. -- David __

Re: [Twisted-Python] FTP without the protocol

2013-10-23 Thread David Bolen
you wished. BTW, passive FTP should be quite firewall friendly, unless you're talking about really locked down locations where the only thing allowed out is HTTP or something. But if you're not using passive mode yet, that might also be a

Re: [Twisted-Python] Flow-control for Pipes / Unix Domains Sockets?

2013-10-21 Thread David Stainton
UN and UDP using producers and consumers: https://github.com/david415/hushVPN/blob/master/hushVPN_service.py Perhaps later on I could add flow control... by having the consumers pause the producers when need be. For now I just churn packets as fast as possible. David On Mon, Oct 21, 2013 at 1:48

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-05 Thread David Stainton
, David Stainton wrote: > > I'm glad I found the doc about producers/consumers... I should actually > finish a transport so I can see this thing churn data. > Thanks for pointing out that decorator. > > > > On Sat, Oct 5, 2013 at 8:46 PM, Glyph wrote: > >>

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-05 Thread David Stainton
I'm glad I found the doc about producers/consumers... I should actually finish a transport so I can see this thing churn data. Thanks for pointing out that decorator. On Sat, Oct 5, 2013 at 8:46 PM, Glyph wrote: > > On Oct 5, 2013, at 10:50 AM, David Stainton > wrote: > >

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-05 Thread David Stainton
/documents/12.2.0/core/howto/producers.html So far I really love Twisted! On Wed, Oct 2, 2013 at 3:14 AM, Phil Mayers wrote: > On 02/10/13 09:25, David Stainton wrote: > >> >> In examples of Twisted UDP clients they all do this: >> >> reactor.listenUDP(3000,**MyPro

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-02 Thread David Stainton
pkt) pkt = self.nflog.send(True) if pkt is NFWouldBlock: break My nflog reader seems to work great. On Wed, Oct 2, 2013 at 12:26 AM, Phil Mayers wrote: > On 10/02/2013 07:14 AM, David Stainton wrote: > >> Hi, >> >> I am wondering how I should combine various twi

[Twisted-Python] twisted linux netfilter_log protocol

2013-10-01 Thread David Stainton
of this is the most high performance and general solution to utilizing netfilter_log in twisted... David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] raw socket IWriteDescriptor

2013-10-01 Thread David Stainton
Oh I was having trouble because my fileno() method was not returning the correct descriptor. But I fixed it... Thanks for the excellent suggestion for improving performance! I've implemented that change. It works great! On Tue, Oct 1, 2013 at 5:38 AM, wrote: > On 07:30 am, dstainton...@gmail.

Re: [Twisted-Python] raw socket IWriteDescriptor

2013-10-01 Thread David Stainton
of the constructor? On Tue, Oct 1, 2013 at 12:54 AM, Phil Mayers wrote: > On 10/01/2013 08:30 AM, David Stainton wrote: > >> >> Hi, >> >> I'm trying to implement an IWriteDescriptor using raw sockets. >> So far this is what I wrote... but it doesn't

[Twisted-Python] raw socket IWriteDescriptor

2013-10-01 Thread David Stainton
ly without Twisted. Cheers! David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Clean pb solution for two-way object sync?

2013-09-27 Thread David Ripton
preference. One piece of advice: do the network code first and always exercise it, even when playing on a single computer. Every time I've written a single-machine game first then tried to add networking later, the networking has been a

Re: [Twisted-Python] AMQP listening and user-facing daemon

2013-07-09 Thread David Serafini
.. Justin Chiu TRIUMF -- David Serafini | ConsultingMTS | Oracle | david.seraf...@oracle.com | 408-276-0486 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] is twisted compatible with pickle?

2013-03-28 Thread David Reid
esults of https://www.google.com/search?q=pickle+execute+arbitrary+code for examples of these dangers. -David On Thu, Mar 28, 2013 at 6:24 PM, succer...@tiscali.it wrote: > I have made 2 application: > The client extract data from a sql server (10k lines), and send every line > pickled to a "

Re: [Twisted-Python] Twisted Names strings

2013-01-17 Thread David Reid
Honestly, if you have comprehensive automated testing and plan to upgrade Twisted regularly or to try and support the latest release it is worth the effort to setup testing against Twisted trunk. https://github.com/dreid/treq/blob/master/.travis.yml shows how I do this with travis-ci. -David

Re: [Twisted-Python] Layer 2 and Twitsted

2013-01-16 Thread David Serafini
> Date: Tue, 15 Jan 2013 14:38:47 -0500 > From: outcast > > Don't want to use tap type of devices. Want to be able to handle packets > natively from the interface with minimal amount of overhead. Basically want > my own rx_handler to python call back. Yes I want the raw ethernet frames. > Looking

Re: [Twisted-Python] git repo maintenance

2012-10-22 Thread David Reid
sted/network (That graph indicates that no one has actually done any substantial work based on the old repository.) I'm inclined to say do it. I'm a little concerned about how you ended up with a thing that which wasn't mergeable? Could we start by you documenting

Re: [Twisted-Python] Adding mock as a test suite dependency

2012-10-22 Thread David Reid
d rather see some energy put into things like a verified fake Request object and a ResourceTraversingAgent. -David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] how to daemonize twisted...and detatch from shell process

2012-10-18 Thread David Strauss
I also recommend looking at systemd and Upstart, even in combination with twistd. Twisted's twistd will daemonize the process, but it won't give you named services and a clean environment. -- David Strauss | da...@davidstrauss.net _

Re: [Twisted-Python] interface kombu with twisted

2012-09-13 Thread David Serafini
Thanks, Jan. On Thu, Sep 13, 2012 at 12:10 PM, Jan Urbański wrote: > On 13/09/12 21:04, David Serafini wrote: > >> How did you implement this? Did you use txamqp as a model or develop your >> own approach? >> > > No, I took pika (that already implements AMQP),

[Twisted-Python] interface kombu with twisted

2012-09-11 Thread David Serafini
I know about txAMQP. Has anyone done any work interfacing the kombu API with twisted? thanks in advance, ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] twisted/python3/ubuntu 12.10

2012-06-26 Thread David Strauss
On Thu, Jun 14, 2012 at 8:17 AM, Gavin Panella wrote: > It's on the Ubuntu 12.04 Server CD; see > http://cdimages.ubuntu.com/ubuntu-server/precise/daily/current/precise-server-amd64.list Canonical's Landscape tool uses Twisted AMQP. -- David Strauss    | da...@

Re: [Twisted-Python] Log file ownership

2012-06-26 Thread David Strauss
You can also bind to privileged ports now using listeners like systemd (and, presumably xinetd). -- David Strauss    | da...@davidstrauss.net ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman

Re: [Twisted-Python] feedback on next version of Fireshark using twisted framework....

2012-05-03 Thread David Strauss
On Thu, May 3, 2012 at 1:05 PM, Glyph wrote: > Actually, you're better off using twisted.python.filepath.FilePath.child :). > > That documentation has quite the personality. ___

Re: [Twisted-Python] Twisted 12.0.0 released

2012-02-11 Thread David Ripton
ock solid for me for a couple of weeks, and now 12.0.0 has been equally stable for me for a couple of minutes. -- David Riptondrip...@ripton.net ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman

Re: [Twisted-Python] Problem passing objects with perspective broker

2012-01-28 Thread David Ripton
may turn into dirty > code ... If you make bClass inherit from pb.Copyable and do pb.setUnjellyableForClass(bClass, bClass) then everything should work. Twisted knows how to do what you want, but it's refusing to do because you haven't marked bClass as safe to pass over the wire. -- David Riptondrip...@ripton.net ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] [Twisted] #5272: In the core doc, do not call reactor.stop directly in processEnded

2011-09-29 Thread David Kao
OK I marked mine as duplicate. I think yours seem like a better description anyways. David Kao On Fri, Sep 30, 2011 at 12:05 PM, David Kao wrote: > My bad. I filed > > http://twistedmatrix.com/trac/ticket/5274 > > You can close either. > > David Kao > > > >

Re: [Twisted-Python] [Twisted] #5272: In the core doc, do not call reactor.stop directly in processEnded

2011-09-29 Thread David Kao
My bad. I filed http://twistedmatrix.com/trac/ticket/5274 You can close either. David Kao On Fri, Sep 30, 2011 at 11:52 AM, Glyph Lefkowitz wrote: > > On Sep 26, 2011, at 9:27 AM, exar...@twistedmatrix.com wrote: > > This strikes me as a bug.  Can you file a new ticket for thi

Re: [Twisted-Python] Bug in Finger Tutorial?

2011-09-29 Thread David Kao
On Fri, Sep 30, 2011 at 6:10 AM, Dorian Raymer wrote: > > > On Thu, Sep 29, 2011 at 2:44 PM, David Kao wrote: >> >> I'll take care of the first question. >> >> From The Evolution of Finger: making a finger library, >> >> h = internet.TCPServer(

Re: [Twisted-Python] Bug in Finger Tutorial?

2011-09-29 Thread David Kao
ally, so most of the time the code is repeated so you can just skim through it if you had started from the beginning. David Kao On Fri, Sep 30, 2011 at 5:28 AM, Dorian Raymer wrote: > Hello, > I am confused about how the FingerService gets started in the > finger/finger.py makeService

Re: [Twisted-Python] How do I know the server from reactor.listenTCP already started listening?

2011-09-27 Thread David Kao
within 1 sec of running twistd the port is being listened. Or perhaps check it using netstat or something from the outside ... ugly. I have gone through almost the entire tutorial. I am looking for the **source code** for internet.TCPServer David Kao On Tue, Sep 27, 2011 at 5:53 PM, Enrique

Re: [Twisted-Python] How do I know the server from reactor.listenTCP already started listening?

2011-09-27 Thread David Kao
not been able to find code for internet.TCPServer. I would like to be able to trace the code top down. Can someone help? Thanks! David Kao On Tue, Sep 27, 2011 at 5:12 PM, Enrique Samson Jr. wrote: > On Tue, Sep 27, 2011 at 4:33 PM, David Kao wrote: >> >> When the call to list

[Twisted-Python] How do I know the server from reactor.listenTCP already started listening?

2011-09-27 Thread David Kao
most starting a server and a client back-to-back that connects to each other. I would like to know if the server is in "listening" state before my client attempts to connect. Thanks. David Kao ___ Twisted-Python mailing list Twisted-Pyth

Re: [Twisted-Python] [Twisted] #5272: In the core doc, do not call reactor.stop directly in processEnded

2011-09-26 Thread David Kao
;, "hello"], childFDs={0:0, 1:1, 2:2}) [root@master1 play]# python fun.py hello Process ended [root@master1 play]# But once again, on a different VM, I only see "hello" and processEnded isn't called. Both VMs run Python 2.7.1 and Twisted 11.0.0 What is going

Re: [Twisted-Python] I see, remote_method can also return a deferred. Perhaps we could document that?

2011-09-22 Thread David Kao
Or we could just use Brian's example. David Kao On Thu, Sep 22, 2011 at 9:19 PM, David Kao wrote: > I almost gave up choosing twisted until I found this explanation > > http://twistedmatrix.com/pipermail/twisted-python/2004-April/007517.html > > which basically says a remo

[Twisted-Python] I see, remote_method can also return a deferred. Perhaps we could document that?

2011-09-22 Thread David Kao
x.html and I do not remember picking this subtlety up. (Or you can point me the right place in doc.) (great doc btw.) Should I submit an improvement ticket for this? I could also make the server side example using Echoer, remote_echo, and deferToThread just so that whoever fixes the ticket can just co

[Twisted-Python] trivial typo in core doc

2011-09-20 Thread David Kao
for me to open a ticket or fix it myself, but for now I am simply recording this typo. David Kao ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Moving Twisted off Trac and SVN to somewhere nicer

2011-07-06 Thread David
On 07/06/2011 07:19 AM, Kevin Horn wrote: > On Tue, Jul 5, 2011 at 5:31 AM, Laurens Van Houtven <_...@lvh.cc> wrote: > > On Tue, Jul 5, 2011 at 12:22 PM, David <mailto:da...@silveregg.co.jp>> wrote: > > Most people who stay on windows do not find cygw

Re: [Twisted-Python] Moving Twisted off Trac and SVN to somewhere nicer

2011-07-05 Thread David
nd I say that as someone who find git UI significantly better and easier then either bzr or hg). The situation on windows is consistantly improving though, with tools like smartgit which feel much more native to the typical windows user/developer. cheers, David _

Re: [Twisted-Python] SURVEY: Have you submitted a patch to Twisted and it never got in?

2011-07-01 Thread David Ripton
hieving consensus, and then getting your feature in before consensus is lost. -- David Riptondrip...@ripton.net ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Looking for Devs to answer noob questions on6/22 & 6/23 POSTPONED UNTIL AUGUST

2011-06-21 Thread David Shein
Hi Glyph & Jean-Paul & Whomever else volunteered, My partner for POSSE had a family health emergency on Friday, so we have had to postpone the boot-camp. We will be doing POSSE RIT in the second week of August. So our code sprint is now scheduled be on August 9th and 10th. I will ping t

[Twisted-Python] Handling application initialization synchronously

2011-06-20 Thread David
urrent solution is to use non-twisted, blocking API, but there may be a more elegant solution ? My main issue with using blocking API is that I sometimes have to write the same kind of code twice (one blocking, one non blocking). cheers, David ___ Twist

Re: [Twisted-Python] Looking for Devs to answer noob questions on 6/22 & 6/23

2011-06-16 Thread David Shein
Thanks Jean-Paul. : ) Dave Shein On Jun 16, 2011, at 2:32 PM, exar...@twistedmatrix.com wrote: > On 05:54 pm, gl...@twistedmatrix.com wrote: >> >> On Jun 15, 2011, at 4:10 PM, David Shein wrote: >>> I'm looking to get a half dozen devs who will commit to being o

Re: [Twisted-Python] Looking for Devs to answer noob questions on 6/22 & 6/23

2011-06-16 Thread David Shein
SSE's goal. Dave Shein On Jun 16, 2011, at 1:54 PM, Glyph Lefkowitz wrote: On Jun 15, 2011, at 4:10 PM, David Shein wrote: I'm looking to get a half dozen devs who will commit to being on the Twisted IRC channel next Wed and Thurs during biz hours to answer noobish queries

Re: [Twisted-Python] Looking for Devs to answer noob questions on 6/22 & 6/23

2011-06-15 Thread David Shein
Thanks Andrew! Business hours, Eastern Standard Time (- 5 hrs GMT). Dave On Jun 15, 2011, at 8:08 PM, Andrew Bennetts wrote: > David Shein wrote: >>Hey Twisted Developers, >> >>I'm looking to get a half dozen devs who will commit to being >> on the &g

[Twisted-Python] Looking for Devs to answer noob questions on 6/22 & 6/23

2011-06-15 Thread David Shein
ns, perhaps via IRC in real time. If this is of interest to you please contact me at your earliest convenience. I hope that we can work together soon. David Malcom Shein Rochester Institute of Technology IRC# ProfSheinRIT on freenode___ Twisted-Python m

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-22 Thread David
On 04/22/2011 03:03 PM, Glyph Lefkowitz wrote: > > On Apr 21, 2011, at 9:01 PM, David wrote: > >> You can take a look at bento, which is my own response to the distutils >> issues we have in the scipy community (but I would expect twisted and >> most big python libra

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-22 Thread David
On 04/22/2011 03:41 PM, anatoly techtonik wrote: > On Fri, Apr 22, 2011 at 4:01 AM, David wrote: >> On 04/22/2011 06:21 AM, anatoly techtonik wrote: >>> On Thu, Apr 21, 2011 at 4:48 AM, Kevin Hornwrote: >>>> >>>> cluster. So he rewrote di

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-22 Thread David
On 04/22/2011 12:13 PM, Mikhail Terekhov wrote: > On Thu, Apr 21, 2011 at 9:01 PM, David <mailto:da...@silveregg.co.jp>> wrote: > > On 04/22/2011 06:21 AM, anatoly techtonik wrote: > > On Thu, Apr 21, 2011 at 4:48 AM, Kevin Horn <mailto:ke

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-21 Thread David
backend (waf, but you can add support for a different one if you want). cheers, David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Understanding deferred and error handling

2011-04-21 Thread David
s", but more in a way to get more informations of our tool stack bugs when run in production. I guess what I am looking for is some good practices for dealing with errors, then. Maybe a piece of code in twisted itself ? cheers, David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Understanding deferred and error handling

2011-04-20 Thread David Cournapeau
On Thu, Apr 21, 2011 at 2:31 AM, Phil Mayers wrote: > On 04/20/2011 05:28 AM, David wrote: >> Hi, >> >> I have a hard time figuring out error handling with deferred in twisted. >> More exactly, I don't understand how to always get meaningful tracebacks >>

[Twisted-Python] Understanding deferred and error handling

2011-04-19 Thread David
how to at least make sure unexpected errors are being shown (and fixed later). cheers, David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-06 Thread David
On 04/07/2011 03:34 PM, Tim Allen wrote: > > Who'd have guessed it'd be so complicated to associate keys with values? If that's the only thing you need, .ini would work fine. Another solution would be python files with only literals, parsed through the ast module for sa

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-06 Thread David
it does not support comments. The syntax is also a bit too strict: enough to be annoying in something you want to edit all the time and easily in my experience. cheers, David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://tw

[Twisted-Python] Pantheon sponsorship logo

2011-01-13 Thread David Strauss
Hi Twisters, I recently sent in a $1000/silver sponsorship to the Twisted project from Pantheon Systems, my new company. For the sponsor listing, I've attached a logo with the specified dimensions. Please link to our home page [1]. Thanks, and happy 2011. [1] http://getpantheon.com/ --

Re: [Twisted-Python] job server project

2011-01-03 Thread David Strauss
7;m still working on it. As long as you're in Python land, you might want to check out Celery. -- David Strauss | da...@davidstrauss.net | +1 512 577 5827 [mobile] signature.asc Description: This is a digitally signed message part ___ Tw

Re: [Twisted-Python] process output modulation

2010-12-21 Thread David
re the producer-related method calls are. David On Tue, Dec 21, 2010 at 11:51 AM, wrote: > On 06:14 pm, dvkee...@gmail.com wrote: >>We are streaming a large amount of program output to the browser via a >>twisted app, and we are seeing huge memory consumption. >> >>We ha

[Twisted-Python] process output modulation

2010-12-21 Thread David
We are streaming a large amount of program output to the browser via a twisted app, and we are seeing huge memory consumption. We have a database process that generates large amounts of data to stdout, and we are streaming that to the browser through a twisted web2 app. We are using web2 because

Re: [Twisted-Python] twisted.web, url -> resource mapping and isLeaf questions

2010-11-30 Thread David
or the twisted-web list.) I did not know there was a twisted.web specific list - will refer to that list from now on, cheers, David ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

  1   2   >