Re: [Twisted-Python] Possible Twisted sprint

2009-07-16 Thread Ray Cote
And I hope to be there for a day or two.
--Ray


- Original Message -
From: "Steve Steiner (listsin)" 
To: "Twisted general discussion" 
Sent: Thursday, July 16, 2009 6:09:12 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Twisted-Python] Possible Twisted sprint

>
> I'll be there too.  So far, we've got jml, exarkun, therve, glyph,
> itamar: that's 5 people.  Anyone I forgot to count?

I'l be there if I can be of any use.

S
aka/ssteiner


___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Anyone working on a Twisted txRiak?

2010-03-30 Thread Ray Cote
Curious to know if anyone is working on an interface between Twisted and Riak.
  

Before we started one, thought I'd reach out first to ensure we're not 
duplicating efforts.
--Ray



___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Anyone working on a Twisted txRiak?

2010-03-31 Thread Ray Cote
I guess coding starts this morning! 
Yes, we'll make sure it ends up on the wiki. 
--Ray


- Original Message -
From: "Glyph Lefkowitz" 
To: "Ray Cote" , "Twisted general discussion" 

Sent: Wednesday, March 31, 2010 12:01:24 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Twisted-Python] Anyone working on a Twisted txRiak?


On Mar 30, 2010, at 3:22 PM, Ray Cote wrote:

> Curious to know if anyone is working on an interface between Twisted and Riak.
>  <http://basho.com/Riak.html>
> 
> Before we started one, thought I'd reach out first to ensure we're not 
> duplicating efforts.
> --Ray

I can't say for sure, but given that archives of this mailing list post are 
already showing up as the top hit for "txriak" and "twisted riak" for me, I 
think you're pretty safe on getting started with it :).

Be sure to mention when you have a release so we can add it to 
<http://twistedmatrix.com/trac/wiki/ProjectsUsingTwisted>.


-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Anyone working on a Twisted txRiak?

2010-04-16 Thread Ray Cote
Hi Laurens: 

I hope to have a repository up next week. 

We're just finishing up initial implementation. 

The Basho folk helped us address a last failing unit test yesterday so our new 
txRiak now runs the same set of unit tests as the Basho riak.py file. 

I'll announce on this list when it is available. 
Thanks for your interest. 
(looking forward to other eyes reviewing the code) 

--Ray 

- Original Message - 
From: "Laurens Van Houtven"  
To: "Ray Cote" , "Twisted general discussion" 
 
Sent: Friday, April 16, 2010 7:58:26 AM GMT -05:00 US/Canada Eastern 
Subject: Re: [Twisted-Python] Anyone working on a Twisted txRiak? 

Hey Ray, 




I'm pretty interested in txRiak. I couldn't find it at https://launchpad.net/tx 
. Is the repo up somewhere yet? 


Thanks 
Laurens 

-- 
Ray Cote, President 
Appropriate Solutions, Inc. 
We Build Software 
603.924.6079 
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] txriak module released.

2010-04-24 Thread Ray Cote
Hello Twisted:

An initial release of txriak has been posted to PyPI:
  <http://pypi.python.org/pypi/txriak/0.1.1>

txriak is a Twisted module for communicating with Basho Technology's Riak data 
store via the HTTP interface. 
Written in Python, it requires Python 2.5 since it uses the yield version of 
deferreds.
Initial release was written to match as closely as possible the 0.9 riak.py 
Python module released by Basho Technologies. 

Hope others find this to be useful. 
Look forward to comments and feedback. 
--R


-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] txriak module released.

2010-04-26 Thread Ray Cote
Will do. 
--Ray

- Original Message -
From: "Jason J. W. Williams" 
To: "Ray Cote" , "Twisted general discussion" 

Sent: Saturday, April 24, 2010 9:16:12 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Twisted-Python] txriak module released.

Put this up on http://twistedmatrix.com/trac/wiki/ProjectsUsingTwisted  ?

On Sat, Apr 24, 2010 at 3:18 PM, Ray Cote
 wrote:
> Hello Twisted:
>
> An initial release of txriak has been posted to PyPI:
>  <http://pypi.python.org/pypi/txriak/0.1.1>
>
> txriak is a Twisted module for communicating with Basho Technology's Riak 
> data store via the HTTP interface.
> Written in Python, it requires Python 2.5 since it uses the yield version of 
> deferreds.
> Initial release was written to match as closely as possible the 0.9 riak.py 
> Python module released by Basho Technologies.
>
> Hope others find this to be useful.
> Look forward to comments and feedback.
> --R
>
>
> --
> Ray Cote, President
> Appropriate Solutions, Inc.
> We Build Software
> 603.924.6079
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>

-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] txriak module released.

2010-05-11 Thread Ray Cote
Hi Petr: 
Glad to hear you're finding the txriak module useful. 
Guess I need to make sure that all the listing pages are pointing to each 
other, and that they eventually point to the bitbucket sources. 

Look forward to hearing feedback. 
Thanks
--Ray

- Original Message -
From: "Petr Mifek" 
To: "Twisted general discussion" 
Cc: "Ray Cote" 
Sent: Tuesday, May 11, 2010 4:01:14 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Twisted-Python] txriak module released.

Ah, scratch that. Found the 0.2.1 update with bitbucket homepage set ;)

Petr Mifek wrote:
> Hi Ray,
>
> that is a great news! I'm already using it in a project. Did I miss a 
> wiki/page for it or so far none exists? Considered putting the source up 
> to http://github.com or similar site to allow for easy following the 
> code, extending & fixing issues?
>
> Cheers, Petr
>
> Ray Cote wrote:
>   
>> Hello Twisted:
>>
>> An initial release of txriak has been posted to PyPI:
>>   <http://pypi.python.org/pypi/txriak/0.1.1>
>>
>> txriak is a Twisted module for communicating with Basho Technology's Riak 
>> data store via the HTTP interface. 
>> Written in Python, it requires Python 2.5 since it uses the yield version of 
>> deferreds.
>> Initial release was written to match as closely as possible the 0.9 riak.py 
>> Python module released by Basho Technologies. 
>>
>> Hope others find this to be useful. 
>> Look forward to comments and feedback. 
>> --R
>>
>>
>>   
>>     
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>   

-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Dropping Python 2.4 support on Windows after 10.1

2010-06-09 Thread Ray Cote

We have quite a bit of Twisted/Windows code and it has all been ported over to 
2.5 or 2.6. 
I find it easier to upgrade Pythons on Windows since the bulk of our Windows 
products are shipped as py2exe containing their own interpreter. Cleaner than 
dealing with CentOS (for example) which has 2.4 in the base install. 

So, one positive vote for removing 2.4 support in Windows. 
I prefer your Windows support be focused  moving forward to 2.7. 

--Ray


- Original Message -
From: exar...@twistedmatrix.com
To: twisted-python@twistedmatrix.com
Sent: Wednesday, June 9, 2010 12:20:30 AM GMT -05:00 US/Canada Eastern
Subject: [Twisted-Python] Dropping Python 2.4 support on Windows after 10.1

Hey all,

I would like to propose that after Twisted 10.1 is released, we cease to 
claim support for Python 2.4 on any version of Windows.  This seems 
reasonable to me considering that Python 2.5 was first released in 
September of 2006 and that either Windows Python installations can be 
upgraded easily or very likely no upgrades are possible at all 
(specifically, no upgrades of Twisted).

The motivation for this is that we do not have the hardware resources to 
continue to test Twisted on Python 2.4 on Windows, particularly 
considering we will shortly want to begin testing on Python 2.7 on 
Windows.  If Windows/Python 2.4 support is important enough to anyone 
that they can offer to host the build slaves necessary to continue 
testing, then I'll withdraw the suggestion.

Lastly, I am not proposing dropping Python 2.4 support on any other 
platform (ie, Debian and Fedora).

Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] py2exe cannot find zope.interface -- fixed

2010-12-18 Thread Ray Cote
We're in the process of upgrading to all the latest Twisted goodness on Windows.
All went smoothly until we tried to build Twisted with py2exe. The final 
executable gave an error that zope.interface could not be found. 

When we tried adding 'zope.interface' to the includes in setup.py, py2exe threw 
an error that 'zope' could not be found during the build process.

The trick is go to into the installed zope module and add an empty __init__.py 
file in the zope directory. The build process now recognizes that as a valid 
module and all is happy. 

We found a number of people asking about this problem (not necessarily in 
regards to Twisted) but did not find a good thread with an answer. So, we're 
posting this in the hope it will save someone an hour or two of problem 
solving. 

--Ray

-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] buildbot celebration!

2015-05-05 Thread Ray Cote
So pretty to see all those green Windows builds...

On Tue, May 5, 2015 at 8:26 PM, Glyph Lefkowitz 
wrote:

> Thanks to the efforts of Adi Roiban and HawkOwl, we now have our first
> 100% supported green trunk run in a while:
>
>
> https://buildbot.twistedmatrix.com/boxes-supported?branch=trunk&num_builds=10
>
> Care and feeding for the build farm is an often thankless and invisible
> job; things can often start failing for irrelevant reasons outside of
> changes to Twisted and it requires work to get it back on track and keep
> our quality where it should be, so I just wanted to call it out
> specifically and say THANK YOU for fixing the builder configuration and
> getting us back to where we should be :).
>
> Hooray!
>
> -glyph
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted 15.2 Prerelease Announcement

2015-05-12 Thread Ray Cote
Great news on the release and the ever forward march to more Python 3
compatibility.
I'm finally starting to move over a lot of projects to Python 3.4 and plan
to try moving my first small Twisted project in about three months.
Looking forward to digging in.
--Ray


On Mon, May 11, 2015 at 8:54 AM, HawkOwl  wrote:

> Hello everyone! It's about time that the owl-themed release management
> simulation kicked into high-gear, and as such, I delivereth to you all the
> first prerelease of Twisted 15.2.
>
> Bringing not only headlining features but also a lot of incremental
> improvements, this release has got plenty to like:
>
> - twisted.logger has landed! This is a brand-new, feature-rich logging
> framework.
> - Python 3.4 is now a supported platform for all the Py3 ported modules.
> - twisted.trial.unittest.TestCase's assertEqual, assertTrue, and
> assertFalse methods now pass through the standard library's more
> informative failure messages.
> - twisted.python.filepath.FilePath now supports Unicode (text) paths
> properly, and includes as{Bytes,Text}Mode methods for interacting with APIs
> that require a text/bytes-only FilePath.
> - twisted.mail.smtp.sendmail now supports ESMTP and provides a high-level
> interface for sending mail.
> - The following parts of Twisted are now ported to Python 3:
> - twisted.internet.process
> - twisted.cred.credentials
> - twisted.python.modules
> - twisted.internet.kqreactor
> - twisted.internet.endpoints.ProcessEndpoint
> - twisted.web.static
>
> As usual, tarballs can be found at
> http://twistedmatrix.com/Releases/pre/15.2.0pre1/ , and the full NEWS
> file can be found at
> http://twistedmatrix.com/Releases/pre/15.2.0pre1/NEWS.txt .
>
> On a personal note, I'd like to thank Tavendo for sponsoring a majority of
> my Py3 porting work, and everyone who reviewed tickets for getting it
> landed.
>
> Please test out the new prerelease :)
>
> Twisted regards,
> Amber "Hawkie" Brown
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>


-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted on Windows, parts 2 and 3

2015-05-18 Thread Ray Cote
Hi Christian:

Thanks for the three great articles (turned into my lunch-time reading).
I've been running Twisted on Windows with the built-in service module for
some time now -- but it has been a pain to build both a service and
non-service version of the app. Had bookmarked NSSM for research, but I'd
not yet had time to dig into the details.

Appreciate the detailed walk-through of installation and permissions
(always a trick on modern Windows).
Looking forward to reading the three articles several more times and
working through the details as an exercise.

Regards
--Ray

On Mon, May 18, 2015 at 1:19 PM, Christian Long 
wrote:

> I added to my series of posts about running Twisted on Windows.
>
> Part 2 is about virtual service accounts
>
>
> http://www.christianlong.com/blog/twisted-on-windows-2015-edition-part-2.html
>
>
> Part 3 is about permissions
>
>
> http://www.christianlong.com/blog/twisted-on-windows-2015-edition-part-3.html
>
>
> Let me know if you have any corrections or improvements.
>
> Christian
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Should the CFFI wrapper and functions for win32 be a separate project?

2015-06-15 Thread Ray Cote
On Sun, Jun 14, 2015 at 1:36 PM, Oliver Palmer 
wrote:

> As the subject says, could the CFFI wrappers around the win32 functions
> that Twisted needs be a separate project? This came up briefly in
> https://twistedmatrix.com/trac/ticket/7889 so I thought I might pose the
> question to a larger audience.
>
> Generally speaking, the idea of making it a separate project to me seems
> like a logical step in many ways.  Since the code is not specific to
> Twisted keeping it outside of the Twisted project, much like pywin32 is,
> makes it easier for contributors and consumers alike to reuse or expand on
> the cffi wrapper in the future.  I don't think the objective would be to
> replace all of pywin32 initially but to provide enough to be usable by the
> Twisted project.
>
> Besides Twisted I know there are some other projects out there that could
> benefit from making this a separate project.  But before taking this
> approach however I'm wondering if this would be reasonable from Twisted's
> perspective?
>
> ---Oliver
>

I think a separate Windows CFFI project is definitely the way to go.
Allows you to focus on the core interfaces required by Twisted and let's
others focus on their own specific areas of interest without duplicating
effort.
I know we'd make use of CFFI into the Windows Crypto modules, for example.
--Ray

-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] [Twisted-web] Twisted 15.3.0 Prerelease 1 Announcement

2015-07-24 Thread Ray Cote
The number of 'ported to Python 3' items in this release is exciting.
Looks like I can start moving my first small legacy Twisted project over to
3.4 next month.
Looking forward to see how it goes.
--Ray


On Thu, Jul 23, 2015 at 4:09 AM, Amber "Hawkie" Brown <
hawk...@atleastfornow.net> wrote:

> Hi everyone!
>
> Another Twisted release cycle dawns, and I bring you the first prerelease
> of Twisted 15.3.
>
> This release is characterised by cleanups and porting, with at least ten
> modules ported to Python 3, and the removal of Lore, Twisted's use of
> Hotshot, and various other smaller deprecated classes and functions.
> Twisted has also shed its usage of "subprojects" -- there is now only one
> Twisted (long may it reign).
>
> The tarball and the newsfile summarising all the changes can be downloaded
> from .
>
> Enjoy, and test! If no issues are found, 15.3 will be released sometime
> next week.
>
> Twisted Regards,
>
> Amber "Hawkie" Brown
> GPG: https://keybase.io/hawkowl
>
>
> ___
> Twisted-web mailing list
> twisted-...@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>
>


-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] An error occurred with twisted 15.2.1 & python 3.4.3 on windows

2015-07-29 Thread Ray Cote
On Tue, Jul 28, 2015 at 8:38 PM, Glyph Lefkowitz 
wrote:

> No.  For this reason, technically Twisted only supports Python 3 on
> Linux.  Does anyone feel like volunteering to set up a 3 builder?  I wonder
> if HawkOwl has already done this...
>

I know I don't have the personal bandwidth to deploy and manage a
Python3/Windows Buildbot, but I (my company) can kick-in for an A0 Azure
instance to run a Buildbot:

.

--Ray


-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] [Twisted-web] Changes to Twisted's binary distribution

2015-10-13 Thread Ray Cote
On Mon, Oct 12, 2015 at 9:33 PM, Amber "Hawkie" Brown <
hawk...@atleastfornow.net> wrote:

> Just letting everyone know, the next release (Twisted 15.5) will not
> include MSI or EXE installers for Windows, only binary wheels, and
> installation through pip or from source dist will be the only supported
> method of installation. The exe/msi installers didn't work well (or at
> all?) for virtualenvs, and when we (eventually) start shipping binary
> wheels for OS X, it'll make everything more consistent.
>

This is tremendously welcome news. Congrats!


-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] [Twisted-web] Changing the Twisted Compatibility Policy

2015-10-25 Thread Ray Cote
This is a reasonable change.

I say that as someone who rarely tracks individual Twisted releases. We
typically upgrade client-deployed applications every three to five years
(at the moment, I’m working on upgrading several projects from 12.1 to
15.4).

For us, being able to easily track back through release notes to understand
why specific methods are no longer available is extremely important as our
upgrade cycle frequently exceeds the deprecation/removal timeframe. These
long update times work for us because our typical Twisted deploy is
embedded deep inside an environment and not exposed directly to public
hazards. As such, we’re not quite as sensitive to public attack vectors —
and our clients typically prefer long-term stable environments.
—Ray

On Sun, Oct 25, 2015 at 8:48 PM, Amber "Hawkie" Brown <
hawk...@atleastfornow.net> wrote:

> Hi everyone,
>
> As many know, one of the things that makes the Twisted project so unique
> is our conformance to our Compatibility Policy. This policy means that
> users of Twisted can freely upgrade between versions with all
> incompatibilities being warned about before causing code to break. However,
> for a while, one part of the compatibility policy has caused issues - what
> we do with code that has been deprecated for a long time, and at least the
> release +  2 & 1 year after.
>
> The existing policy states:
>
> "Removal should happen once the deprecated API becomes an additional
> maintenance burden. For example, if it makes implementation of a new
> feature more difficult, if it makes documentation of non-deprecated APIs
> more confusing, or if its unit tests become an undue burden on the
> continuous integration system. Removal should not be undertaken just to
> follow a timeline."
>
> This makes the only reasonable cause for any code being removed from
> Twisted is if it is a maintenance burden, but does not take into account
> the effect that keeping large amounts of deprecated code has on new,
> existing, and future Twisted users. It does specify that it should be
> removed if it makes documentation of non-deprecated APIs confusing, but by
> its very existence, it makes what should be "best practice" more confusing
> -- especially if the deprecated API is "simpler" at first glance, but was
> deprecated because of vast underlying issues,
>
> Discussions have come to the conclusion that the exact reverse of this
> policy should be instated:
>
> "Removal of code should occur as soon as the deprecation grace period has
> ended."
>
> The reason for this is that a leaner Twisted is a better Twisted -- we
> should strive to not break existing applications, but we have the
> deprecation policy in place to ensure that breakage is, if all goes to
> plan, never out of the blue. Less code surface means that Twisted is easier
> to learn for new users and Twisted-using projects onboarding new people,
> easier to use for established users with a clear best practice, and easier
> to maintain because the codebase is not a web of things we deprecated and
> then never removed. We believe this change benefits everyone.
>
> This is also similar to the deprecation policy of another time-based
> releasing project, Django (
> https://docs.djangoproject.com/en/1.8/internals/release-process/#internal-release-deprecation-policy),
> where releases are every 9 months and code is *always* removed in Release
> where deprecated + 2, giving them a deprecation grace period of up to 1 and
> a half years.
>
> If you have any opinions on this change, please let me know, and we'll
> take it all into account before changing the policy.
>
> Twisted Regards,
> Amber "Hawkie" Brown
> Twisted Release Manager
>
> ___
> Twisted-web mailing list
> twisted-...@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>
>


-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] INCOMPATIBLE CHANGE: removing dependency on PyCrypto

2015-11-01 Thread Ray Cote
On Sun, Nov 1, 2015 at 1:16 AM, Glyph Lefkowitz 
wrote:

> here are a few places within Conch which currently export PyCrypto objects
> as part of a public interface in Twisted.
>
> These include:
>
>- twisted.conch.ssh.keys.Key.keyObject
>- twisted.conch.ssh.keys.objectType
>
> I'm working on a ticket - https://twistedmatrix.com/trac/ticket/7413 - to
> eliminate the dependency on PyCrypto.  Right now, in that branch, those
> objects are Cryptography key objects instead of PyCrypto key objects.
>
> It is *possible* to preserve compatibility with keyObject, and we could
> deprecate and then remove objectType, with conditional dependencies on
> PyCrypto.  But before I go through the effort there, I'm wondering if any
> users of conch actually care.
>

We have a custom SFTP server based on conch.
In reviewing the code, it looks like I don’t care about the change (aside
from appreciating one less dependency).
In reviewing our code, the only key references are as follows:

from twisted.conch.ssh.factory import SSHFactory
public_key = getRSAKey('id_rsa.pub')
private_key = getRSAKey(‘id_rsa')factory = SSHFactory()
factory.publicKeys = {'ssh-rsa': public_key}
factory.privateKeys = {'ssh-rsa': private_key}
—Ray



-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Python 2.7 on CentOS 6

2015-12-15 Thread Ray Cote
We have a fair bit of Python 2.7 Twisted code deployed on RHEL and CentOS 5
and 6.
In each case, we build from source and do a make altinstall so we’re
running a Python separate from the system’s.
Just takes a few minutes to get everything installed and running.

On Tue, Dec 15, 2015 at 6:30 AM, Phil Mayers 
wrote:

> On 15/12/15 04:16, Amber "Hawkie" Brown wrote:
>
> There is a solution to this, and Nick Coghlan has mentioned it to me
>> many times -- Software Collections for RHEL and CentOS. Software
>> Collections is RH's answer to "new software" on "stable
>> distributions" --  SCLs operate side-by-side with system packages, so
>> it won't break anything. Since you're a CentOS 6.7 user, the standard
>> SCL should work (it's 6.5+).
>>
>
> I really disliked the SCLs when I looked at it. The supported use-case
> seems to be a kind of hugely over-engineered set of wrapper/environment
> setup scripts:
>
> scl enable python2.7 pip install blah
>
> ...ad infinitum.
>
> Personally - and I guess for others as well - the SCLs will be
> off-putting. It's a shame there isn't a simpler solution, namely EPEL
> python2.7 - having a 2nd python in a different path is quite safe, we do it
> routinely.
>
> It's hugely annoying that RHEL6 and derivatives missed out on Python 2.7
> :o(
>
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] 16.0.0 32-bit wheels for Windows

2016-03-30 Thread Ray Cote
On Wed, Mar 30, 2016 at 2:59 PM, Glyph  wrote:

> I think that, especially in virtualized environments, 32-bit windows is
> still quite popular; we should probably keep shipping 32-bit wheels, and
> it's definitely possible to generate them on a 64-bit guest.
>

Triple double up vote on the 32-bit wheels.
Tried moving several of my legacy Windows projects to 64-bits three months
ago and there was much bewailing from the client base. :}


-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] dropping old pyOpenSSL versions

2016-07-08 Thread Ray Cote
On Thu, Jul 7, 2016 at 7:00 PM, Glyph Lefkowitz 
wrote:

> 2) How does this impact regulated industries.  In healthcare (my current
> industry), changing a library (especially cryptography) could mean:
>
>- An internal review to select a new version of the library
>- An internal change management process
>- Technical testing (perhaps a 3rd party audit)
>- A notification to clients of the change
>- Secondary reviews/testing at clients
>
> The intensity of this process depends on the risk level of the system and
> this could be a long and complicated process for some organizations.  Seems
> like a more deliberate deprecation policy would make it easier to plan
> ahead.
>
>
Contrast this with a standard such as PCI (credit card security compliance)
where the assessors are required to check if you’re running the latest
version of all components.
Need to be up to date if you want to be compliant.



-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Running a twisted application as windows service

2018-04-12 Thread Ray Cote
On Thu, Apr 12, 2018 at 12:12 PM, Thomas Westfeld <
thomas.westf...@currenta.de> wrote:

> Hello all,
>
> I have written a nice twisted-based TCP-server as a twistd plugin or an
> application as a .tac file and I would like to run it as a windows service.
>

Hi Thomas:
Recommend you take a look at this service manager utility for Windows:
https://nssm.cc/
We've moved away from implementing Twisted as a service and instead run it
under NSSM.
NSSM provides additional capabilities such as automatic restarts on
failure, redirected stdout/stderr, and easily setting dependency groups,
etc.
Our Twisted binaries are installed at a number of fairly large companies
and so far none of them have had any concern about running the NSSM service
manager.
Its made our life much simpler.
(Lousy product name, though...)

--Ray


-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype:
ray.cote
Schedule a meeting: https://calendly.com/ray_cote/60min/
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] 100% CPU on high opened descriptors

2011-04-26 Thread Ray Cote
- Original Message -
> From: "Luke Marsden" 
> To: "Twisted general discussion" 
> Sent: Tuesday, April 26, 2011 2:08:40 PM
> Subject: Re: [Twisted-Python] 100% CPU on high opened descriptors
> On Tue, 2011-04-26 at 17:42 +0200, Juan Antonio Ibañez Santorum wrote:
> > Hello!
> >I have a Linux box serving my twisted app. All works ok except
> > after some days running (where I can see my CPU going to 100%). I
> > saw
> > that CPU goes 100% usage when the app reaches to 1024 opened
> > descriptors (sockets).

I assume that using a reverse proxy (Apache, nginx, etc.) in front of Twisted 
removes this problem? 
(or at least displaces it from being Twisted's problem to being the proxies 
problem.)

Is it recommended to always run Twisted behind a proxy? 
We've been doing that simply to offload delivery to the final client, but I'm 
thinking it may have a 
more general need.

--Ray

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Did anyone use twisted on windows (IOCP)?

2011-04-27 Thread Ray Cote
From: "Dfgqq Dfgqq"  


To: Twisted-Python@twistedmatrix.com 
Sent: Wednesday, April 27, 2011 3:28:12 AM 
Subject: [Twisted-Python] Did anyone use twisted on windows (IOCP)? 

Hi All 


Currently, i am planning rewrite some parts with twisted & iocp. These parts 
are related 
to Tcp connection without SSL. I want to know whether IOCP is ready for 
production or not. 


I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many 
problems. I haven't give a try with 11.0. What is the progress for windows 
support? 




Thanks 


gelin yan 
We're using IOCP with SSL on Windows with Twisted 10.2 and have not encountered 
any problems. 
Still shaking it down in test. 
--Ray 


-- 


Ray Cote, President Appropriate Solutions, Inc. 
We Build Software 
www.AppropriateSolutions.com 603.924.6079 
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] 100% CPU on high opened descriptors

2011-04-27 Thread Ray Cote




No. It's recommended to fix bugs in Twisted that affect you :). Well, that too. 
:} 

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Non-PDF version of the Twisted book?

2012-03-02 Thread Ray Cote
Is there any interest in taking the existing Twisted documentation and moving 
it to a collaborative ePub environment like Booktype? 
<http://www.sourcefabric.org/en/booktype/> 

And yes, if the core Twisted team sees value in that, I'd be happy to volunteer 
to do the conversion. 
--Ray 

- Original Message -

> From: "Itamar Turner-Trauring" 
> To: "Twisted general discussion" 
> Sent: Thursday, March 1, 2012 8:18:00 PM
> Subject: Re: [Twisted-Python] Non-PDF version of the Twisted book?

> On 03/01/2012 07:47 PM, Daniel Bryan wrote:
> > I'm new to Twisted and very interested in learning more, and I
> > learn
> > best with something like a book.
> 

> > I came across this:
> 

> > twisted matrix.com/documents/current/core/howto/ book .pdf
> 

> > I was wondering if there's a copy of it available in a form other
> > than PDF? I'd like to read it on my Kindle, so if there's a version
> > in an eBook format or even just HTML that'd be superb!
> 

> There's
> http://twistedmatrix.com/documents/current/core/howto/index.html ,
> but that's not a single HTML file.

> _______
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-- 

Ray Cote, President 
Appropriate Solutions, Inc. 
We Build Software 
603.924.6079 
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] buildbot hosting

2012-04-19 Thread Ray Cote
How many IPs does this require? 
Is this a standard tower-type system or rack mount. 
If it is just a case of plugging it into the net, we can move that up to our 
office in the interim. 
However, we really don't have rack mount capability. 
NH, but I figure that's close enough--:} 

- Original Message -

> From: "Glyph" 
> To: "Twisted general discussion" 
> Sent: Wednesday, April 18, 2012 4:31:02 PM
> Subject: [Twisted-Python] buildbot hosting

> I'm leaving my home in the Boston metro area, and moving
> cross-country. This move should take at least a couple of weeks.

> I currently host buildbots for many of our supported platforms;
> everything with a 'bot-glyph-*' in front of it on this page: <
> http://buildbot.twistedmatrix.com/buildslaves >, and also
> bot-exarkun-1. So, when I move (at the latest, 6 weeks from now)
> these will all go offline.

> We need a volunteer who either:

> 1. lives somewhere in massachusetts and can plug these in to an
> ethernet port
> 2. wants to re-set-up all of these buildbots on some new hosting

> The somewhat less palatable option 3 is to just let much of our build
> infrastructure be offline for a month.

> -glyph
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-- 

Ray Cote, President 
Appropriate Solutions, Inc. 
We Build Software 
603.924.6079 
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] buildbot hosting

2012-04-20 Thread Ray Cote
Hi Glyph: 
That sounds reasonable -- and a trip to Cambridge to pick it up is no problem. 
Parking, on the other hand is always an exciting prospect as I tend to drive 
larger vehicles 
(probably take our Sprinter Van for this trip). 

If you decide to have us do the temporary hosting I'm sure we can at least find 
a loading zone to pack up the systems. 
What sort of timeframe are you looking at (and we can take this off-list to 
exchange details). 
--Ray 

- Original Message -

> From: "Glyph" 
> To: "Ray Cote" , "Twisted general
> discussion" 
> Sent: Thursday, April 19, 2012 2:31:01 PM
> Subject: Re: [Twisted-Python] buildbot hosting

> On Apr 19, 2012, at 1:53 PM, Ray Cote wrote:

> > How many IPs does this require?
> 

> Just one.

> > Is this a standard tower-type system or rack mount.
> 

> Standard tower.

> > If it is just a case of plugging it into the net, we can move that
> > up
> > to our office in the interim.
> 

> Yeah. We just need the one inbound port (SSH) to fix stuff if it
> breaks. The actual buildbot connections are all outgoing.

> > However, we really don't have rack mount capability.
> 
> > NH, but I figure that's close enough--:}
> 

> If you want to drive down to Cambridge to pick it up, I'll buy you
> dinner while you're here :-).

> -glyph

> > - Original Message -
> 

> > > From: "Glyph" < gl...@twistedmatrix.com >
> > 
> 
> > > To: "Twisted general discussion" <
> > > twisted-python@twistedmatrix.com
> > > >
> > 
> 
> > > Sent: Wednesday, April 18, 2012 4:31:02 PM
> > 
> 
> > > Subject: [Twisted-Python] buildbot hosting
> > 
> 

> > > I'm leaving my home in the Boston metro area, and moving
> > > cross-country. This move should take at least a couple of weeks.
> > 
> 

> > > I currently host buildbots for many of our supported platforms;
> > > everything with a 'bot-glyph-*' in front of it on this page: <
> > > http://buildbot.twistedmatrix.com/buildslaves >, and also
> > > bot-exarkun-1. So, when I move (at the latest, 6 weeks from now)
> > > these will all go offline.
> > 
> 

> > > We need a volunteer who either:
> > 
> 

> > > 1. lives somewhere in massachusetts and can plug these in to an
> > > ethernet port
> > 
> 
> > > 2. wants to re-set-up all of these buildbots on some new hosting
> > 
> 

> > > The somewhat less palatable option 3 is to just let much of our
> > > build
> > > infrastructure be offline for a month.
> > 
> 

> > > -glyph
> > 
> 
> > > _______
> > 
> 
> > > Twisted-Python mailing list
> > 
> 
> > > Twisted-Python@twistedmatrix.com
> > 
> 
> > > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> > 
> 

> > --
> 

> > Ray Cote, President
> 
> > Appropriate Solutions, Inc.
> 
> > We Build Software
> 
> > 603.924.6079
> 
> > ___
> 
> > Twisted-Python mailing list
> 
> > Twisted-Python@twistedmatrix.com
> 
> > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 

-- 

Ray Cote, President 
Appropriate Solutions, Inc. 
We Build Software 
603.924.6079 
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted in a multicore environment

2012-07-12 Thread Ray Cote
Hi Augusto:

You don't mention the protocol you're implementing in Twisted, but if is is 
HTTP...

The way we address this problem with an HTTP protocol is to put 
multiple copies of Twisted behind nginx. 

On two and four core machines, we set the number of nginx worker processes 
equal 
to the number of CPU cores (as recommend by nginx docs). 
We then install one Twisted server instance per core.
We then have nginx round-robin proxy into the Twisted instances.

On a larger system (such as eight cores) we'd set up four nginx worker processes
and four Twisted services; or perhaps two nginx worker processes and six Twisted
services. Particularly when we're running HTTPS and the 
nginx Web Application Firewall which can consume a fair bit of CPU. 

Final balancing between nginx and Twisted core is obviously dependent on where 
the
heaviest computation appears. 

We find this balancing act works well and, since we know the number of 
cores on a box when we're deploying, we're rarely interested in the ability to 
add/remove Twisted instances on the fly. 

--Ray


- Original Message -
> From: "Augusto Mecking Caringi" 
> To: "Twisted general discussion" 
> Sent: Tuesday, July 10, 2012 11:14:27 AM
> Subject: [Twisted-Python] Twisted in a multicore environment
> 
> Hi,
> 
> I'm researching the best way to implement/use a Twisted-based
> server in a multicore environment...
> 
> There is the Ampoule project, that I realize is considered the
> best way to do that. Right?
> 
> I'm also reading about the internals of Nginx HTTP server. This
> server utilizes the same reactor pattern of Twisted (epoll based)...
> 
> "What resulted is a modular, event-driven, asynchronous,
> single-threaded, non-blocking architecture which became the
> foundation
> of nginx code." http://www.aosabook.org/en/nginx.html
> 
> But to maximize the use of processors in a multicore environment,
> Nginx do this:
> 
> "nginx doesn't spawn a process or thread for every connection.
> Instead, worker processes accept new requests from a shared "listen"
> socket and execute a highly efficient run-loop inside each worker to
> process thousands of connections per worker"
> 
> My question: There is something similar in Twisted? Or do you
> think that is easy to implement something like that?
> 
> Thanks!
> 
> --
> Augusto Mecking Caringi
> 
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 

-- 
Ray Cote, President
Appropriate Solutions, Inc.
We Build Software
603.924.6079

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Limiting cipher options for SSH/SFTP

2013-10-29 Thread Ray Cote
I need to limit the ciphers offered for an ssh/sftp connection. 

class ESFTPServerForUnixConchUser(SFTPServerForUnixConchUser):
"""Main local proxy class for file transfer access.

Many methods are overriden to support file encryption and
encrypted file name mappings.
"""

def __init__(self, avatar):
"""Initialize class with avatar representing user information"""
SFTPServerForUnixConchUser.__init__(self, avatar)

I'm unclear as to how to restrict which ciphers to use at this level.
--Ray

-- 
Ray Cote, President Appropriate Solutions, Inc. 
We Build Software 
www.AppropriateSolutions.com 603.924.6079 

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Limiting cipher options for SSH/SFTP

2013-10-30 Thread Ray Cote
Thanks Nacim: 

I had found the supported ciphers. 
However, I'm unclear as to how to present a subclassed SSHTransport to the 
SFTPServer. 

(And, once I understand how I will issue a documentation bug with details...) 
--Ray 

- Original Message -

> From: "Flint" 
> To: "Ray Cote" , "Twisted general
> discussion" 
> Sent: Wednesday, October 30, 2013 5:39:44 AM
> Subject: Re: [Twisted-Python] Limiting cipher options for SSH/SFTP

> Hi

> I have not used it myself but this seems what you're looking for:
> http://twistedmatrix.com/documents/13.0.0/api/twisted.conch.ssh.transport.SSHTransportBase.html#supportedCiphers

> I guess you need to subclass SSHTransport and give it the list of
> ciphers you want.

> --

> Nacim.

> 2013/10/29 Ray Cote < rgac...@appropriatesolutions.com >

> > I need to limit the ciphers offered for an ssh/sftp connection.
> 

> > class ESFTPServerForUnixConchUser(SFTPServerForUnixConchUser):
> 
> > """Main local proxy class for file transfer access.
> 

> > Many methods are overriden to support file encryption and
> 
> > encrypted file name mappings.
> 
> > """
> 

> > def __init__(self, avatar):
> 
> > """Initialize class with avatar representing user information"""
> 
> > SFTPServerForUnixConchUser.__init__(self, avatar)
> 

> > I'm unclear as to how to restrict which ciphers to use at this
> > level.
> 
> > --Ray
> 

> > --
> 
> > Ray Cote, President Appropriate Solutions, Inc.
> 
> > We Build Software
> 
> > www.AppropriateSolutions.com 603.924.6079
> 

> > ___
> 
> > Twisted-Python mailing list
> 
> > Twisted-Python@twistedmatrix.com
> 
> > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 

-- 

Ray Cote, President Appropriate Solutions, Inc. 
We Build Software 
www.AppropriateSolutions.com 603.924.6079 
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted 14.0.0pre3 Announcement

2014-04-26 Thread Ray Cote
I'm very excited to see the HTTPS hostname verification. 
Excellent news! (off to download...)
--Ray

- Original Message -
> From: "HawkOwl" 
> To: "Twisted-Python" 
> Sent: Friday, April 25, 2014 11:40:41 PM
> Subject: [Twisted-Python] Twisted 14.0.0pre3 Announcement
> 
> Hi everyone, here’s a new Twisted 14.0 prerelease for you!
> 
> Tarballs for this prerelease can be found at
> <http://twistedmatrix.com/Releases/pre/14.0.0pre3>, with the
> changelog at
> <http://twistedmatrix.com/Releases/pre/14.0.0pre3/NEWS.txt>.
> 
> Changes from the previous prerelease include:
> 
>   - Making Twisted Agent do HTTPS hostname verification.
> 
> For more information and a full list of changes, check the NEWS.txt
> file.
> 
> Please download the tarballs and test them with your applications, so
> we can make sure we’re all ready for release!
> 
> -hawkowl
> 
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 

-- 
Ray Cote, President Appropriate Solutions, Inc. 
We Build Software 
www.AppropriateSolutions.com 603.924.6079 

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python