Re: [Twisted-Python] Broken Javascript on https://twistedmatrix.com ?

2020-09-16 Thread L. Daniel Burr
tab (an anchor tag with a relative href) is not being executed, either because it is being blocked by the browser, or as a side-effect of other things being blocked. Hope this helps, Daniel -- L. Daniel Burr ldanielb...@me.com (312) 656-8387 > On Sep 16, 2020, at 4:36 PM, Craig Rodrigues wr

Re: [Twisted-Python] Block TLS 1.0 and TLS 1.1 support on windows

2020-08-31 Thread L. Daniel Burr
ption and parser to handle the new CertificateOptions arguments. That might be the right thing to implement. Hope this helps, L. Daniel Burr > On Aug 31, 2020, at 12:02 PM, John Aherne wrote: > > Thanks. That was quick. > > Just wondering how I can add that to my endpoint_description creat

Re: [Twisted-Python] Block TLS 1.0 and TLS 1.1 support on windows

2020-08-31 Thread L. Daniel Burr
Hope this helps, L. Daniel Burr > On Aug 31, 2020, at 10:47 AM, John Aherne wrote: > > I'm using twisted 20.3 and python3.6.8 and Windows 10 > > I'm using endpoint_description with a tac file to start up a server. > > But I need to disable tls 1.0 and 1.1.

Re: [Twisted-Python] Form based auth - problem with credential checker

2018-07-12 Thread L. Daniel Burr
Hi Jonah, I commented on your Gist.  tl;dr - your requestAvatarId method isn’t returning the Deferred you create for the database query, to which your callback is attached. Hope this helps, Daniel -- L. Daniel Burr ldanielb...@me.com (312) 656-8387 On July 11, 2018 at 10:38:47 PM, Jonah

Re: [Twisted-Python] How to use the TimeoutProtocol policy?

2018-06-14 Thread L. Daniel Burr
Hi Martin, On June 14, 2018 at 8:29:45 AM, Martin van Es (mrva...@gmail.com) wrote: Hi, I'm trying to timeout a really simple LineReceiver protocol. It's function is to connect to a daemon, receive a line that's to be displayed to an end-user upon which the user should undertake some action. Th

Re: [Twisted-Python] Waiting for a contended resource

2018-03-12 Thread L. Daniel Burr
Hi Richard, On March 12, 2018 at 1:49:41 PM, Richard van der Hoff (rich...@matrix.org) wrote: Hi folks, I thought I'd poll the list on the best way to approach a problem in  Twisted. The background is that we have a number of resources which can be  requested by a REST client, and which are cal

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-17 Thread L. Daniel Burr
nally, I don’t mind the weaker approach, but if you wanted to be completely explicit, I’d look at modifying the connectionLost method of both the protocol and the protocol wrapper to break circular references. Thanks for consideration Best regards,     Ilya Hope this helps, Daniel -- L. Daniel

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-27 Thread L. Daniel Burr
Hi Clayton, On February 27, 2017 at 6:07:14 PM, Clayton Daley (clayton.da...@gmail.com) wrote: [SNIP] Obviously Glyph couldn't answer this question so his interjection came off as condescendingly unhelpful.  Perhaps it's not an impression he deserves, but he got off to a horrible start when

Re: [Twisted-Python] twisted eats the error

2017-02-13 Thread L. Daniel Burr
Hi Steven, On February 13, 2017 at 12:01:49 PM, steven meiers (commercial...@yahoo.de) wrote: > Sorry, your code example and your explanation don’t make clear what > you expect to happen, and when.  When you say “the first method that > is called from my code”, are you referring to  aSillyBlock

Re: [Twisted-Python] twisted eats the error

2017-02-13 Thread L. Daniel Burr
aSillyBlockingMethod call. Example: # this will "sleep" for x seconds d = threads.deferToThread(aSillyBlockingMethod, 'some argument’) d.addCallback(runEverySecond) d.addCallback(printResult) d.addErrback(printError) Hope this helps,

Re: [Twisted-Python] [Twisted-web] Twisted 16.2.0pre1 Release Announcement

2016-05-10 Thread L. Daniel Burr
On May 9, 2016 at 9:26:31 AM, Amber Hawkie Brown (hawk...@atleastfornow.net) wrote: Hi everyone! Time for another Twisted prerelease!  Our release cadence stays steady, and this prerelease should bring some new nice features! The highlights include:  - twisted.protocols.haproxy.proxyEndpoint, a

Re: [Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-23 Thread L. Daniel Burr
Hi Glyph, On March 23, 2016 at 1:39:53 PM, Glyph (gl...@twistedmatrix.com) wrote: On Mar 23, 2016, at 9:22 AM, L. Daniel Burr wrote: My concern is that, should these classes be converted into hybrids via the @oldStyle decorator, my service may experience some reduction in the number of

Re: [Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-23 Thread L. Daniel Burr
Hi Glyph, On March 22, 2016 at 11:27:10 PM, Glyph (gl...@twistedmatrix.com) wrote: On Mar 22, 2016, at 12:33 PM, L. Daniel Burr wrote: Hi all, Hi Daniel, I tried to comment on the ticket, but SpamBayes rejected it as spam. The spam-monitoring queue is empty, which means another admin

Re: [Twisted-Python] Sending disconnect messages to clients

2016-03-22 Thread L. Daniel Burr
ption during the callback chain.  Can you come up with an minimal example the demonstrates the problem? Daniel — L. Daniel Burr ldanielb...@me.com (312) 656-8387 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cg

Re: [Twisted-Python] Sending disconnect messages to clients

2016-03-22 Thread L. Daniel Burr
e better sense to add the call the self.transport.loseConnection() to your Deferred’s callback chain. Hope this helps, Daniel -- L. Daniel Burr ldanielb...@me.com (312) 656-8387___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-22 Thread L. Daniel Burr
from both new- and old-style classes are extremely slow; avoid at all costs." Thanks, Daniel -- L. Daniel Burr ldanielb...@me.com (312) 656-8387___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailma

Re: [Twisted-Python] Returning a deferred from buildProtocol t.i.p.Factory

2013-11-16 Thread L. Daniel Burr
'. [SNIP] Have you considered using https://pypi.python.org/pypi/txLoadBalancer as the basis for your load-balancer? It supports random, round-robin, least-connections, and weighted, so perhaps it would suit your needs. Hope this helps, L. Daniel Burr _

Re: [Twisted-Python] transport.write performance.

2013-08-01 Thread L. Daniel Burr
Here's one: http://liangnuren.wordpress.com/2012/08/13/python-json-performance/ - L. Daniel Burr ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] regarding classes and functions in twisted.python.reflect

2011-12-29 Thread L. Daniel Burr
eflect that is not used within twisted itself does not mean that applications written using twisted are not using that code. I think, in general, everyone likes the notion of making a codebase smaller, but you always have to measure the benef

Re: [Twisted-Python] Twisted-Python Digest, Vol 90, Issue 16

2011-09-20 Thread L. Daniel Burr
a protocol might simplify things a bit in terms of coordination. Hope this helps, L. Daniel Burr ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted-Python Digest, Vol 90, Issue 16

2011-09-19 Thread L. Daniel Burr
rap Twisted around Django… hum… > You could run django as a wsgi application inside twisted. Hope this helps, L. Daniel Burr ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] How can LoopCall not be defined?

2011-09-07 Thread L. Daniel Burr
Exit(); > File "/usr/sbin/fireshark.py", line 68, in dirtyExit > self.checkIfFirefoxWasKilledLoop = > LoopCall(self.checkIfFirefoxWasKilled) > exceptions.NameError: global name 'LoopCall' is not defined Are you talking about task.LoopingCall, or is LoopCall

Re: [Twisted-Python] stopping LoopCall and check if running

2011-09-05 Thread L. Daniel Burr
tting errors, errors when I try to call stop > when stop perhaps has already been called. Try checking your LoopingCall's .running attrbute in your code; that should allow you to avoid spurious calls to .stop() Hope this helps, L. Daniel Burr __

Re: [Twisted-Python] Twisted vs jQuery Deferreds (was Re: RPC design questions)

2011-08-24 Thread L. Daniel Burr
I thought it might be worth mentioning, even though it isn't part of a widely-adopted JS lib. Hope this helps, L. Daniel Burr ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] twisted.cred implementation for LDAP, anyone?

2011-06-17 Thread L. Daniel Burr
nt > looking. > Thanks for the link, I had no idea ldaptor was still being maintained. That's great news. As an aside, I recall that ldaptor never could become part of twisted, due to its licensing. I didn't see any license information in the new repo; I assume the