Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-13 Thread James Broadhead
Hey there -- One way would be to use virtualenv to gather the dependencies without installing them globally: mkdir -p ~/venv virtualenv ~/venv/twisted_docs # `sudo pip install virtualenv` first if you don't have this command source ~/venv/twisted_docs/bin/activate pip install sphinx twisted cd

Re: [Twisted-Python] twistedmatrix.com TLS certificate

2017-03-12 Thread James Broadhead
Just ran into this. For interested parties, Chrome 58 is due to go stable on Apr 25th [1] [1] https://www.chromium.org/developers/calendar On 7 March 2017 at 03:19, Glyph Lefkowitz wrote: > > On Mar 6, 2017, at 12:16 AM, Cory Benfield wrote: > > > On 6 Mar 2017, at 07:22, Tristan Seligmann

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

2017-02-25 Thread James Broadhead
On 24 February 2017 at 10:25, Hynek Schlawack wrote: > > ... Contrary I’m not a super fan of having one opaque blob on server; the > transparent structure of a virtualenv is something I learned to appreciate. > ... > A zipfile containing a virtualenv (pex) isn't all that opaque -- with the right

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

2017-02-23 Thread James Broadhead
On 23 February 2017 at 08:36, Glyph Lefkowitz wrote: > > > Go's build toolchain has many features worth envying but most of its > advantages have to do with deployments _outside_ of containers, where you > have to ship to customer environments with fraught and unknown system > configurations. If

Re: [Twisted-Python] gRPC support in Twisted Python

2016-09-29 Thread James Broadhead
If you're planning on working on this, it'd probably be worth taking a look at the Twisted bindings for Thrift (a competing RPC system from FB, based on the Google PB paper). The generator[2] isn't the best place to start (imperative C++ that outputs python), but the code that it generates served

Re: [Twisted-Python] buildbot.twistedmatrix.com is down a lot

2016-07-18 Thread James Broadhead
On 17 July 2016 at 07:21, Amber Brown wrote: > It's OOMing (...) > Have you considered something like monit[1] to detect & restart in cases like this? [1] https://mmonit.com/monit/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http

Re: [Twisted-Python] getting rid of semantic newlines

2015-03-06 Thread James Broadhead
On 6 March 2015 at 14:06, Adi Roiban wrote: > I don't care what standard is used, just make sure that it is not > stated on a page with 99% of obsolete info and in a section named > "XHTML Layout" like it is now on > <3 Enforcement by tooling would be better again. _

Re: [Twisted-Python] Unit testing, trail, inlineCallbacks, deferreds and mocking

2015-01-27 Thread James Broadhead
Hey I raised a similar question a while ago: http://twistedmatrix.com/pipermail/twisted-python/2013-July/027241.html Since then, our approach has evolved into the below, which may be useful. https://github.com/jamesbroadhead/bttrtwisted/blob/master/bttrtwisted/testing.py Usage: expected = Foo(

Re: [Twisted-Python] Silverberg CQL Driver

2015-01-01 Thread James Broadhead
On 29 December 2014 at 19:11, Jason J. W. Williams < jasonjwwilli...@gmail.com> wrote: > Hi James, > > Have you guys tried Silverberg? Wondering if its less flakly. > > -J > We haven't -- when I said that, I meant "on some occasions, after 3 years of continuous use". It's a sporadic failure mode,

Re: [Twisted-Python] Silverberg CQL Driver

2014-12-29 Thread James Broadhead
We (TweetDeck@Twitter) have been using a patched version of Telephus for 3 years now. We've had problems in the past where it would cause problems with down and flaky seed hosts, so ymmv. It's available here: https://github.com/tweetdeck/Telephus On 3 December 2014 at 20:03, Jason J. W. Williams

Re: [Twisted-Python] Bristol (England!) sprint hosted by HybridCluster

2013-11-08 Thread James Broadhead
Sounds exciting -- there have been some changes to trial that I've been thinking about for a little while, so this would be a great opportunity. Would you mind if I distributed this email farther afield? To python...@python.org for instance (or are you waiting until you have a fixed venue?) On 5

Re: [Twisted-Python] Twisted as a House for Sale

2013-08-22 Thread James Broadhead
This was hilarious, thank you for sharing it. Forwarded the link to my whole team. JB ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Trial & the mock library

2013-07-25 Thread James Broadhead
Hey all - I've recently started working with the 'mock' library in our trial tests, and am looking for some best-practice advice. I'm really just starting to get used to the library, so it might well have functionality that I'm unaware of or am misusing. I very quickly ran into a problem where I

Re: [Twisted-Python] EuroPython Sprint Ideas?

2013-06-29 Thread James Broadhead
On 28 June 2013 01:39, wrote: > > One project which is massively parallelizable is emptying this page: > > > http://twistedmatrix.com/trac/**report/15 > > Instructions for doing so, in some great detail, are available at: > > > http://twistedmatrix

[Twisted-Python] EuroPython Sprint Ideas?

2013-06-27 Thread James Broadhead
Hi guys, EuroPython is just around the corner, so I was wondering if there are a few people from this list going, and whether any of you have suggestions for a sprinting session. There are around 60 people with the 'Twisted' tag on the EuroPython site, so we could probably put together a moderate-