Re: [Twisted-Python] A resizable cooperator class for queuing and dispatching jobs

2009-12-10 Thread Dave Peticolas
Terry Jones wrote: >> "Dave" == Dave Peticolas writes: > Dave> This is really nifty. I know I could use this. > > Great. Me too :-) > >>> There's also the issue about what to do when the dispatch function hits >>> an error. An option could be added to re-queue the job, but it's >>> perhaps

Re: [Twisted-Python] Deferred on PyPI

2009-12-10 Thread Jonathan Lange
On Thu, Dec 10, 2009 at 8:01 AM, Mikhail Terekhov wrote: > On Wed, Dec 9, 2009 at 3:27 AM, Jonathan Lange wrote: > ... >> >> I completely screwed up with the advanced English usage then. :( >> > > IMHO it is very simple: extracting Deferreds out of Twisted would benefit  (if > at all) only people

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread James Y Knight
On Dec 10, 2009, at 5:29 PM, Mikhail Terekhov wrote: > That is all true but it is very close to Joel's reasoning, kind of a > manager's point of view. It is too business/money oriented and doesn't > exhaust all the reasons why people write software in open source world in > particular. And what

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread Mikhail Terekhov
On Thu, Dec 10, 2009 at 2:41 PM, Phil Christensen wrote: > > I think that's debatable. Mozilla was terrible for a long time, there just > wasn't much alternative. You could make the (arguable) point that Mozilla's > rewrite happened at the cost of disengaging from the web community, leading > p

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread Phil Christensen
On Dec 10, 2009, at 2:21 PM, Mikhail Terekhov wrote: > Just some unrelated rant about Joel&Co : > > Joel talks about big _commercial_ projects and _commercial_ failures. > May be he is right here, may be not. But it is this rewrite from scratch that > gave birth to Mozilla - number one web/email s

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread Mikhail Terekhov
On Thu, Dec 10, 2009 at 12:25 PM, wrote: > > Web2 was a sort of from scratch rewrite.  I don't usual defer to Joel, > but his article is the first hit for the phrase "from scratch rewrite" > and he basically gets it right: > >  http://www.joelonsoftware.com/articles/fog69.html > Just som

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread Glyph Lefkowitz
On Dec 10, 2009, at 1:21 PM, Jared Gisin wrote: > Excellent. Yes, it helps greatly. > > What I'm in need of is the ability to allow PUTs of arbitrarily large > entity-bodies which I will write to a file system on the server. The problem > with twisted.web right now is that before my Resource.

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread Jared Gisin
Excellent. Yes, it helps greatly. What I'm in need of is the ability to allow PUTs of arbitrarily large entity-bodies which I will write to a file system on the server. The problem with twisted.web right now is that before my Resource.render_ hander is called to process the request, the http.R

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread Christopher Armstrong
On Thu, Dec 10, 2009 at 11:40 AM, Jared Gisin wrote: > I’m curious if anyone can shed some light on the  following sentence which > is taken from “http://twistedmatrix.com/trac/wiki/WebDevelopmentWithTwisted” > > “We decided this was a mistake and development focus has shifted to porting > the bes

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread exarkun
On 04:40 pm, jared.gi...@isilon.com wrote: >I'm curious if anyone can shed some light on the following sentence >which is taken from >"http://twistedmatrix.com/trac/wiki/WebDevelopmentWithTwisted"; > >"We decided this was a mistake and development focus has shifted to >porting the best parts of Tw

[Twisted-Python] web vs web2 clarification

2009-12-10 Thread Jared Gisin
I'm curious if anyone can shed some light on the following sentence which is taken from "http://twistedmatrix.com/trac/wiki/WebDevelopmentWithTwisted"; "We decided this was a mistake and development focus has shifted to porting the best parts of Twisted Web 2 back to Twisted Web where existing

Re: [Twisted-Python] A resizable cooperator class for queuing and dispatching jobs

2009-12-10 Thread sstein...@gmail.com
On Dec 10, 2009, at 1:46 AM, Terry Jones wrote: > glyph> Heh. For something in a pastebin, that's all I got :). Stick it in > glyph> version control somewhere! > > Will do. I'm just adding pause/resume, following the suggestion of Dave > Peticolas (thanks Dave). Cool. I could put this to go

Re: [Twisted-Python] HTML shoudl not be baked into twisted.web HTTPimplementation

2009-12-10 Thread Tristan Seligmann
On Thu, Dec 10, 2009 at 3:10 AM, Jared Gisin wrote: > It's unambiguously the correct default if you incorrectly assume that > you're always dealing with a web browser client, which is an invalid > assumption. Web browser clients are the most common case, at least at this point in time. On the fli

Re: [Twisted-Python] A resizable cooperator class for queuing and dispatching jobs

2009-12-10 Thread Terry Jones
> "Dave" == Dave Peticolas writes: Dave> This is really nifty. I know I could use this. Great. Me too :-) >> There's also the issue about what to do when the dispatch function hits >> an error. An option could be added to re-queue the job, but it's >> perhaps better to let the dispatch func