Re: [Twisted-Python] Deferreds and progress

2012-07-27 Thread Reza Lotun
On Jul 26, 2012, at 11:49 AM, Tobias Oberstein wrote: >>> On Thu, Jul 26, 2012 at 1:51 PM, Tobias Oberstein >>> wrote: >>> With Twisted, a Deferred can have it's callback only triggered once. >>> >>> With Deferreds in popular JavaScript libraries (when.js, jQuery Deferred, >>> upcoming JS Prom

Re: [Twisted-Python] Twisted/PyPy rocks!

2012-03-01 Thread Reza Lotun
nts on that front). Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: rlo...@twitter.com @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Twisted on PyPy

2011-11-21 Thread Reza Lotun
used it? Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: rlo...@twitter.com @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted enterprise deployment models

2011-10-20 Thread Reza Lotun
? > Sure. It's one approach. You can also use Redis and txRedis - https://github.com/rlotun/txRedis. Redis has pub-sub functionality that's much simpler than AMQP (but not as powerful - for example you can't do something like ACK a task). But for basic pub-sub it's awesome. We

Re: [Twisted-Python] Autobahn WebSockets - Twisted based WS implementation

2011-09-12 Thread Reza Lotun
to be txWebsocket of course - it'd be great if the core of Autobahn could be contributed...) Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: rlo...@twitter.com @rlotun ___ Twisted-Python mailing list Twisted-

Re: [Twisted-Python] A problem with very long blocking thread in Twisted

2011-08-10 Thread Reza Lotun
thread, the thread isn't actually "killed", there just isn't a join() called, so it gets claimed by the OS. This may be no different to what you want, but it's useful to keep it in mind. Reza -- Reza Lotun mobile: +44 (0)7521 310 763 e

Re: [Twisted-Python] New TLS Code *Could* Cause Problems

2011-07-19 Thread Reza Lotun
I had no idea calls weren't cached locally. Let that be a lesson, I guess. Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: rlo...@twitter.com @rlotun ___ Twisted-Python mailing list Twisted-Pytho

[Twisted-Python] New TLS Code *Could* Cause Problems

2011-07-19 Thread Reza Lotun
ake a lot of DNS calls in a Twisted server running this code, you too could experience problems if you're not running a local caching nameserver. Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: rlo...@twitter.c

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

2011-07-01 Thread Reza Lotun
y to maintain high quality code though - isn't Combinator just tool over subversion to make branching easier? At least with most DVCS's branching is cheap, so there wouldn't need to be yet another tool to setup to get the development process started for new developers. Rez

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

2011-07-01 Thread Reza Lotun
b hosted website, which itself would be a repo. Oh, and the wikis are git repos too. Given all these tools, I see mappings for all of Twisted's bits and pieces (unless I'm missing something). Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 31

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

2011-05-19 Thread Reza Lotun
; Web: http://www.hybrid-cluster.com/ >> Hybrid Web Cluster - cloud web hosting >> >> Phone: +447791750420 >> >> >> >> ___ >> Twisted-Python mailing list >> Twisted-Python@twistedmatrix.com >> http://twist

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

2011-05-10 Thread Reza Lotun
criptors number gets reached the system > becomes unstable. It also has been launche using '-r epoll' option. Any other > idea? -- Reza Lotun mobile: +44 (0)7521 310 763 email:  rlo...@gmail.com work:   r...@tweetdeck.com twitter: @rlotun __

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

2011-05-08 Thread Reza Lotun
', or permanently by editing /etc/security/limits.conf and rebooting/opening a new login shell. Hope that clears it up. Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Tw

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

2011-05-05 Thread Reza Lotun
Also, I'd be happy to contribute a TCP tuning note to the Twisted docs. These are absolutely essential for any production deploy. Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun __

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

2011-05-05 Thread Reza Lotun
about 99 - it's just some big number conveniently bigger than 1024. Enjoy. Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedm

Re: [Twisted-Python] Question regarding the working of twisted python with celery

2011-03-02 Thread Reza Lotun
CP connection to your twisted server. This is similar to the above idea, except HTTP isn't involved and you have to come up with your own client-server protocol Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email:  rlo...@gmail.com work:   r

Re: [Twisted-Python] WebSocket Support #4173

2010-07-18 Thread Reza Lotun
against that regarding Twisted WebSocket support. As soon as the spec settles down we can bring the discussion back to the ticket for proper review etc. Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email:  rlo...@gmail.com work:   r...@tweetdeck.com twit

[Twisted-Python] WebSocket Support #4173

2010-07-16 Thread Reza Lotun
s comments it seems that while his patch may contain a more elegant implementation (to be honest, I haven't looked carefully at it yet), my patch seems to work against the dev version of chromium. Is there any way we can work to combine the patches, and extend the unit tests? Cheers, Reza

Re: [Twisted-Python] Twisted HTTP client supporting failover for multiple A records?

2010-07-15 Thread Reza Lotun
st? Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email:  rlo...@gmail.com work:   r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted HTTP client supporting failover for multiple A records?

2010-07-15 Thread Reza Lotun
tely resolved via socket.gethostbyname. I think you really want the support provided by socket.gethostbyname_ex (http://docs.python.org/library/socket.html#socket.gethostbyname_ex). It's a good question though. I'm sure a core dev will come along and give a proper answer soon ;-) Cheers, Reza -- Reza Lo

Re: [Twisted-Python] 10.1 release follow-up

2010-07-05 Thread Reza Lotun
ol. Coming from the perspective of a Twisted *user* I'd love to see a small snippet of how to use deferred cancellation or endpoints without necessarily having to hunt down the full documentation. Anyway, good job everyone on this release! Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 31

Re: [Twisted-Python] twistedmatrix.com renewal

2010-06-24 Thread Reza Lotun
On 24 Jun 2010, at 23:39, Glyph Lefkowitz wrote: > On Jun 24, 2010, at 7:21 AM, Reza Lotun wrote: > >> It appears that the twistedmatrix.com domain has expired! > > I think it's pretty funny that you sent this to a twistedmatrix.com address > :). Heh, right. Forgot

[Twisted-Python] twistedmatrix.com renewal

2010-06-24 Thread Reza Lotun
It appears that the twistedmatrix.com domain has expired! -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http

Re: [Twisted-Python] Job Opening - TweetDeck Backend Engineer - London, UK

2010-06-07 Thread Reza Lotun
-) Hi Laurens, You'll notice we're already listed on the Sucess Stories page ;-) Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twis

[Twisted-Python] Job Opening - TweetDeck Backend Engineer - London, UK

2010-06-07 Thread Reza Lotun
consumed by our desktop and mobile clients, and Django for our web site. Send your CV to Reza Lotun (j...@tweetdeck.com) with the subject "Backend Engineer". Web: http://www.tweetdeck.com/jobs Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com

Re: [Twisted-Python] mercurial branch

2010-04-20 Thread Reza Lotun
ystem off the core svn repo, all development actions could be automated and unified. I'm fairly confident that such a system could be implemented - again, I'd enjoy helping out on this if the core devs think this would be useful. Chee

Re: [Twisted-Python] Question about processes in python

2010-04-12 Thread Reza Lotun
oint and took the path of least resistance. Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatri

Re: [Twisted-Python] Question about processes in python

2010-04-12 Thread Reza Lotun
hon -c. Any ideas on how I could do this? You don't have to write it to disk - you can use cStringIO. -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing li

Re: [Twisted-Python] Question about processes in python

2010-04-12 Thread Reza Lotun
a python piece of code > in a new process? Well, the only way to run Python code is to run the Python interpreter in a process and feed it the python code you want to run (using the -c option). Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweet

Re: [Twisted-Python] Network newbie

2010-04-07 Thread Reza Lotun
e that their clients connect to. Not that the P2P problem isn't fun ;-) Here's one of many solutions: get one or more publicly available servers, and stick some XMPP software (twisted.words, Punjab, ejabberd, whatever). Turn on SSL. Now you have a secure, centralized communications system.

Re: [Twisted-Python] Noob alert - Looking for a framework for creating a long polling service

2010-04-03 Thread Reza Lotun
avily JITed and optimized Javascript VM). > Very cool, I hadn't seen that before. Yes, very neat. Haven't done much with it, but I think it's a real winner when you're doing something simple like long-polling/ broadcasting from a queue. Cheers, Reza -- Reza Lotun mobile: +

Re: [Twisted-Python] Noob alert - Looking for a framework for creating a long polling service

2010-03-31 Thread Reza Lotun
er *in general*, I highly suggest nginx_http_push - an addon module for the popular C-based asynchronous web server nginx (http://pushmodule.slact.net/). Start with Orbited though, and see where it takes you ;-) Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r.

Re: [Twisted-Python] Creating a daemon from my application

2010-03-15 Thread Reza Lotun
On Mon, Mar 15, 2010 at 6:03 PM, gary clark wrote: > Yeh I have to install them and create a setup.py to find the path. You only need to set your PYTHONPATH environment variable. e.g. $ export PYTHONPATH=/path/to/dir/containing/code -- Reza Lotun mobile: +44 (0)7521 310 763 email:

Re: [Twisted-Python] Creating a daemon from my application

2010-03-15 Thread Reza Lotun
ce = get_service() service.setServiceParent(application) Also, keep in mind you might want to use twistd in conjunction with a process runner (http://dustin.github.com/2010/02/28/running-processes.html). That is, if you're using something like Ubuntu, you probably want to run twistd using upstart

Re: [Twisted-Python] Newbie question: Is this possible with twisted?

2010-02-24 Thread Reza Lotun
mewhere. When a client connects, you issue a task, and return the task id back to the client. By and by the job is picked up by some worker, and the result is stored in some persistent database, like MySQL or Redis. Celery also has excellent integration with Django. Hope that helps you out. Cheer

Re: [Twisted-Python] Running twisted app in a different thread

2010-01-05 Thread Reza Lotun
7;re going to have to be very careful about calling code in the Twisted thread from other threads as Twisted isn't threadsafe. To do this properly take a look at reactor.callFromThread. Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.co

Re: [Twisted-Python] lore2sphinx themeing

2010-01-04 Thread Reza Lotun
Hi Kevin, > Thanks to a quick patch from Michael Thompson, the current output of > the Sphinx conversion [1] now matches the color scheme and > typographic style of the main twisted site. It's using the layout > of the 'default' sphinx theme (previously was using the 'sphinxdoc' > theme).

Re: [Twisted-Python] How to profiling twisted web?

2009-12-28 Thread Reza Lotun
by looking at request.content which exposes a File-like API (that is, threat it like you would an open file in Python). If you want to *send* a file via Twisted, take a look at: http://twistedmatrix.com/documents/current/core/howto/producers.html and http://twistedmatrix.com/documents/9.0.0/api/tw

Re: [Twisted-Python] Memcache client issues

2009-12-18 Thread Reza Lotun
ash function. If I were integrating with other apps sharing the same memcached pool - like a Django web app - I would use the python-memcache server hash for sure. Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetde

Re: [Twisted-Python] Memcache client issues

2009-12-17 Thread Reza Lotun
Hi, You might want to take a look at the txmemcache project: https://launchpad.net/tx.memcache Keep in mind that it might be more useful to use the server hash function used in python-memcache/cmemcache: http://www.tummy.com/Community/software/python-memcached/ Reza -- Reza Lotun mobile: +44

Re: [Twisted-Python] long-polling channels with Twisted

2009-11-19 Thread Reza Lotun
ed) and nginx and the plugin take care of pushing out the message to clients. Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@t

Re: [Twisted-Python] Multiple deferreds that depend on each other

2009-11-17 Thread Reza Lotun
ome_initial_arg) rpc_res = yield xmlrpc_call(res) db_res = yield db_call(rpc_res) In the above example, it's all still asynchronous (if not parallel), but it looks like it's synchronous, using the magic of decorators and Python 2.5+'s ability to retrieve results from yield statemen

Re: [Twisted-Python] Multi-reactor architecture

2009-11-13 Thread Reza Lotun
o you roll the whole thing out in Twisted. As time progresses, you may rewrite certain systems in, say, erlang or something and move forward. So, it's hard to say, really. At least, I'd like to know myself ;-) That's what makes the wheel field so interesting - there's a certain c

Re: [Twisted-Python] Multi-reactor architecture

2009-11-13 Thread Reza Lotun
4 settings (google is your friend on the best settings, coupled with testing) Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@tw

Re: [Twisted-Python] Multi-reactor architecture

2009-11-12 Thread Reza Lotun
ny examples of reverse proxying servers all over the place - google "nginx reverse proxy" for many examples. Hope that helps. Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun __

Re: [Twisted-Python] Multi-reactor architecture

2009-11-12 Thread Reza Lotun
n twistd processes, one per core and have a reverse proxy process listening on a port and distributing connections to each twistd process. Of course, you can extend this architecture to multiple machines. Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@twee

Re: [Twisted-Python] Twisted web

2009-11-09 Thread Reza Lotun
out and web is *the* web project of twisted (as it should be ;-). Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Pytho

Re: [Twisted-Python] Regarding Twisted Matrix

2009-10-27 Thread Reza Lotun
ojects/core/documentation/howto/process.html#auto2 Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatr

Re: [Twisted-Python] Twisted Python vs. "Blocking" Python: Weird performance on small operations.

2009-10-13 Thread Reza Lotun
r sync example, you're wrapping everything up in deferreds and starting a reactor - it's definitely going to be a bit slower than the pure synchronous version for this case. Hope that makes sense. Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rl

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread Reza Lotun
ed, but all the information is there to debug, etc. > Thanks for your help. No problem. Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-09 Thread Reza Lotun
On Fri, Oct 9, 2009 at 10:53 AM, Reza Lotun wrote: > won't return returns. What you have to do is create your own slightly I meant won't return headers ;-) Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twi

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-09 Thread Reza Lotun
e (i.e. it could be as simple as going 'print result.getTraceback()'). Cheers, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatri

Re: [Twisted-Python] Happy Twisted User

2009-08-18 Thread Reza Lotun
sted services over the Amazon cloud - specifically, we use EC2 and SimpleDB. Writing a REST api service used by hundreds of thousands active users was a snap with Twisted. We'll continue to use Twisted as we broaden our server-side processing goals. -- Reza Lotun, Software Engineer, TweetDeck Inc.

Re: [Twisted-Python] Happy Twisted User

2009-08-17 Thread Reza Lotun
I just post the blurb to the list, or email you personally? Thanks, Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com

[Twisted-Python] Happy Twisted User

2009-08-17 Thread Reza Lotun
k user and ever thought about organizing tweets maybe check it out? Just to let you know - it's available in two client favours, one for iPhone and one a cross-platform Adobe AIR client. http://www.tweetdeck.com/ Ok, that's all ;-) Thanks, Reza -- Reza Lotun mobile: +44 (0)7521

Re: [Twisted-Python] How to do basic authentication on twisted web

2009-08-17 Thread Reza Lotun
of the *running* of it has to be made in that file - that is, you shouldn't have to explicity choose what reactor you're using since that's more of a deployment question. I don't really know of a more comprehensive source for twistd and .tac files - I suppose if you fancy dong

Re: [Twisted-Python] How to do basic authentication on twisted web

2009-08-17 Thread Reza Lotun
[guard.BasicCredentialFactory('yoursite.com')]) reactor.listenTCP(8080, server.Site( resource = wrapper)) reactor.run() if __name__ == '__main__': main() This should basically run (though I haven't tes

Re: [Twisted-Python] How to do basic authentication on twisted web

2009-08-17 Thread Reza Lotun
able to *verify* credentials. Anyway, to each their own. Reza -- Reza Lotun mobile: +44 (0)7521 310 763 email: rlo...@gmail.com work: r...@tweetdeck.com twitter: @rlotun ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://

Re: [Twisted-Python] How to do basic authentication on twisted web

2009-08-17 Thread Reza Lotun
8080, server.Site(resource=wrapper)) I'll probably contribute the Htaccess style checker to twisted at some point, as I've found it useful in the past and others may too. Cheers, Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___

Re: [Twisted-Python] OS for Twisted Framework to run on

2009-08-04 Thread Reza Lotun
Hi, > is there any significant reason/advantage to run the Twisted Framework > on Linux or on FreeBSD? On Linux you can use the epoll reactor. FreeBSD's equivalent is kqueue and I don't think that reactor is as stable as the epoll one. I could be wrong though. Cheers, Reza --

Re: [Twisted-Python] Questions about adding documentation

2009-07-31 Thread Reza Lotun
vin (plus I want to learn it :P). I haven't yet looked at lore or sphinx, but is there a way to support sphinx via lore? Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Questions about adding documentation

2009-07-31 Thread Reza Lotun
e a repository of various tips and tricks we happen to find, and maybe it can even be a staging ground for documentation that makes it into Twisted proper. Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Twisted-Python mailin

Re: [Twisted-Python] http.Request and JSON

2009-06-30 Thread Reza Lotun
>> .seek(0,0). > > You should probably do the seek/read instead, since I don't believe > this is guaranteed to be a cStringIO; it might be an actual file on > disk, or something else. If that's true then there really should be a .get_body() method on the request ob

Re: [Twisted-Python] http.Request and JSON

2009-06-30 Thread Reza Lotun
seek(0,0). Cheers, Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted book(s)?

2009-06-03 Thread Reza Lotun
) > > Of course noone would complain about a community edited book like what > the Django project has, either. :) > > Robert > > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bi

Re: [Twisted-Python] Automatic test for Twisted

2009-05-29 Thread Reza Lotun
you can just write 'asserts'. However, there are some caveats - namely that twisted is actually started in another thread. So, if you plan to run a server to test calls against (say in your setup_module) you need to make a wrapper around any connection maker to use reactor.callFromThread. Hope

Re: [Twisted-Python] My twisted web server fall down

2009-05-24 Thread Reza Lotun
take a look at your kernel settings in sysctl and check that your fs.file-max setting is something suitably high (this is assuming you're using linux...). Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Twisted-Python mai

Re: [Twisted-Python] How do I turn off certain log messages?

2009-05-14 Thread Reza Lotun
ate for this. " So, I really should have mentioned that because HAProxy doesn't currently support persistent connections, I want to force them to be off. Cheers, Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Twis

Re: [Twisted-Python] Recompiling _epoll.pyx

2009-05-14 Thread Reza Lotun
> I noticed in the documentation for _epoll.pyx that the corresponding > .c file was generated using pyrex 0.9.4.1. On a whim I downloaded > 0.9.8.5 and regenerated the file and rebuilt python. I'm currently Sorry, meant to say "rebuilt twisted". -- Reza Lotun

[Twisted-Python] Recompiling _epoll.pyx

2009-05-14 Thread Reza Lotun
of which seemed marked with "bug fix" and "more efficient code" - I'm currently stress testing my server and wanted to see what sort of changes could be induced by modifying different parts of the system. Anyway, just wondering. Cheers, Reza -- Reza Lo

Re: [Twisted-Python] How do I turn off certain log messages?

2009-05-14 Thread Reza Lotun
ricks people could offer? ;-) I'm particularly concerned with squeezing some performance out of the web.server and also web.client. Thanks! Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Twisted-Python mailing list Twisted-Python@twisted

[Twisted-Python] How do I turn off certain log messages?

2009-05-13 Thread Reza Lotun
itions *without* anything extraneous creeping in. What are the idioms and best practices? Thanks, Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin

[Twisted-Python] Twisted HTTP 1.1 Web Client

2009-05-08 Thread Reza Lotun
Hi, Just curious, but what's the roadmap for the new web client (http://twistedmatrix.com/trac/ticket/886)? As I understand it only the finalization of a public api remains? Cheers, Reza -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.com ___ Tw

Re: [Twisted-Python] Question about deferreds

2009-05-07 Thread Reza Lotun
e following useful in trying to understand task Cooperator: http://oubiwann.blogspot.com/2008/06/async-batching-with-twisted-walkthrough.html It really helped me out when I was learning how to use it. Good luck, Reza -- Reza Lotun +44 (0)7521 310

Re: [Twisted-Python] thread + signal + reactor.stop problem

2009-02-13 Thread Reza Lotun
still have to test if it's > caused by the signal redefinition at all or not. > > Thank you, > Gabriel Rossetti > > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twi

Re: [Twisted-Python] redefine signal handlers

2009-02-04 Thread Reza Lotun
t; problems with windows event)? Is there such a mechanism, something like > setDefaultSig("SIGINT, mySigIntHandler)? One easy way to do it is to reactor.run(installSignalHandlers=False) and then manually install your own signal handlers in the usual way (using the python signal libr

Re: [Twisted-Python] reactor.stop() and thread and wxPython problem

2009-01-16 Thread Reza Lotun
et example should have been: reactor.callFromThread(reactor.callInThread, someCall) Cheers, Reza -- Reza Lotun Senior Software Engineer Peer Technologies Limited r...@getpeer.com ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http:

Re: [Twisted-Python] reactor.stop() and thread and wxPython problem

2009-01-16 Thread Reza Lotun
> Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- Reza Lotun Senior Software Engineer Peer Technologies Limited r...@getpeer.com ___ Twisted-Python mailing lis

Re: [Twisted-Python] Create a standalone Unix executable for a Twisted application?

2008-12-01 Thread Reza Lotun
Sorry, the latest version is http://pypi.python.org/pypi/bbfreeze/0.96.5 On Mon, Dec 1, 2008 at 1:52 PM, Reza Lotun <[EMAIL PROTECTED]> wrote: > Hi Alessio, > > I've found bbfreeze to work quite well for this: > > http://pypi.python.org/pypi/bbfreeze/0.95.4 > >

Re: [Twisted-Python] Create a standalone Unix executable for a Twisted application?

2008-12-01 Thread Reza Lotun
ted (and not even GCC). > > Thank you in advance for any suggestion. > > Regards, > Alessio Pace. > > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/