Re: [Twisted-Python] Pyjamas + web2py + twisted vs Django + Pinax

2008-12-18 Thread David Ripton
On 2008.12.19 10:44:49 +0900, Theron D. Huffman wrote: > I'm about to start programming a game in Python. The game will be a web-based > board game with a social aspect, something like http://www.chesspark.com. I > want the game to run in both browsers and as a desktop client. Therefore I'm > wo

[Twisted-Python] Re: Pyjamas + web2py + twisted vs Django + Pinax (Cary Hull)

2008-12-18 Thread Theron D. Huffman
Thanks Cary, Where would Nevow/Athena fit in my strategy? 1, 2, 3 , or 4? Actually I have looked at Nevow/Athena and I'm very afraid of using it because there's only a few examples and a complete lack of documentation. Dan Message: 7 Date: Thu, 18 Dec 2008 17:57:54 -0800 From: "Cary Hull"

Re: [Twisted-Python] Pyjamas + web2py + twisted vs Django + Pinax

2008-12-18 Thread Cary Hull
Have you looked at Nevow/Athena? http://divmod.org/trac/wiki/DivmodNevow -Cary On Thu, Dec 18, 2008 at 5:44 PM, Theron D. Huffman wrote: > I'm about to start programming a game in Python. The game will be a > web-based board game with a social aspect, something like > http://www.chesspark.com. I

[Twisted-Python] Pyjamas + web2py + twisted vs Django + Pinax

2008-12-18 Thread Theron D. Huffman
I'm about to start programming a game in Python. The game will be a web-based board game with a social aspect, something like http://www.chesspark.com. I want the game to run in both browsers and as a desktop client. Therefore I'm wondering what python-based technologies I need. I know that Java

Re: [Twisted-Python] python properties in twisted don't work

2008-12-18 Thread James Y Knight
On Dec 18, 2008, at 3:06 PM, Tristan Seligmann wrote: * Alec Flett [2008-12-18 11:03:48 -0800]: On Dec 18, 2008, at 6:04 AM, Drew Smathers wrote: Protocol is an old-style class - doesn't inherit from object - so property won't work in that context. This won't be a problem in python 3 - o

Re: [Twisted-Python] python properties in twisted don't work

2008-12-18 Thread Tristan Seligmann
* Alec Flett [2008-12-18 11:03:48 -0800]: > > On Dec 18, 2008, at 6:04 AM, Drew Smathers wrote: > >> Protocol is an old-style class - doesn't inherit from object - so >> property won't work in that context. This won't be a problem in >> python 3 - old-style/new-style classes are consolidated. >>

Re: [Twisted-Python] python properties in twisted don't work

2008-12-18 Thread Alec Flett
On Dec 18, 2008, at 6:04 AM, Drew Smathers wrote: Protocol is an old-style class - doesn't inherit from object - so property won't work in that context. This won't be a problem in python 3 - old-style/new-style classes are consolidated. Is there any interest in adding 'object' to some of th

Re: [Twisted-Python] SSH Server with commands filtering

2008-12-18 Thread Tzury Bar Yochay
> Since execCommand is already only called in the reactor thread, this > isn't doing much - but it is slightly changing the timing of when > things happen. That suggests the real problem may be a race between > different parts of your code. It's not obvious what the race might be > between, from

Re: [Twisted-Python] SSH Server with commands filtering

2008-12-18 Thread Jean-Paul Calderone
On Thu, 18 Dec 2008 18:55:12 +0200, Tzury Bar Yochay wrote: On Thu, Dec 18, 2008 at 4:01 PM, Jean-Paul Calderone wrote: On Thu, 18 Dec 2008 15:38:55 +0200, Tzury Bar Yochay wrote: Hi, I am willing to deploy on my server an SSH daemon which I can control what commands can be executed, and by

Re: [Twisted-Python] SSH Server with commands filtering

2008-12-18 Thread Tzury Bar Yochay
On Thu, Dec 18, 2008 at 4:01 PM, Jean-Paul Calderone wrote: > On Thu, 18 Dec 2008 15:38:55 +0200, Tzury Bar Yochay > wrote: >> >> Hi, >> I am willing to deploy on my server an SSH daemon which I can control >> what commands can be executed, and by who. >> After playing with jailkit [link] I reali

Re: [Twisted-Python] XmlStream and addObserver - root element's name?

2008-12-18 Thread Gabriel Rossetti
Gabriel Rossetti wrote: Hello Marcin, Marcin Gliński wrote: 2008/12/17 Alvin Delagon: XmlStream is an implementation of XMPP/Jabber protocol (which is widely used for Instant Messaging). Which XmlStream? I've found two: XMPP: twisted.words.protocols.jabber.xmlstream X-ish: twisted.

Re: [Twisted-Python] XmlStream and addObserver - root element's name?

2008-12-18 Thread Gabriel Rossetti
Hello Marcin, Marcin Gliński wrote: 2008/12/17 Alvin Delagon: XmlStream is an implementation of XMPP/Jabber protocol (which is widely used for Instant Messaging). Which XmlStream? I've found two: XMPP: twisted.words.protocols.jabber.xmlstream X-ish: twisted.words.xish.xmlstream I'v

Re: [Twisted-Python] python properties in twisted don't work

2008-12-18 Thread Gabriel Rossetti
Jean-Paul Calderone wrote: On Thu, 18 Dec 2008 14:35:00 +0100, Gabriel Rossetti wrote: Hello everyone! I have a problem, if I try to use python property in a twisted program, it doesn't really work...the accessor works but as soon as I use the mutator, it no longer uses the property (and doe

Re: [Twisted-Python] python properties in twisted don't work

2008-12-18 Thread Drew Smathers
Protocol is an old-style class - doesn't inherit from object - so property won't work in that context. This won't be a problem in python 3 - old-style/new-style classes are consolidated. -Drew On Thu, Dec 18, 2008 at 8:35 AM, Gabriel Rossetti wrote: > Hello everyone! > > I have a problem, if I

Re: [Twisted-Python] SSH Server with commands filtering

2008-12-18 Thread Jean-Paul Calderone
On Thu, 18 Dec 2008 15:38:55 +0200, Tzury Bar Yochay wrote: Hi, I am willing to deploy on my server an SSH daemon which I can control what commands can be executed, and by who. After playing with jailkit [link] I realised that implementing my own SSH server will give me more power and scalabilit

Re: [Twisted-Python] python properties in twisted don't work

2008-12-18 Thread Jean-Paul Calderone
On Thu, 18 Dec 2008 14:35:00 +0100, Gabriel Rossetti wrote: Hello everyone! I have a problem, if I try to use python property in a twisted program, it doesn't really work...the accessor works but as soon as I use the mutator, it no longer uses the property (and doesn't set the "real" variabl

[Twisted-Python] SSH Server with commands filtering

2008-12-18 Thread Tzury Bar Yochay
Hi, I am willing to deploy on my server an SSH daemon which I can control what commands can be executed, and by who. After playing with jailkit [link] I realised that implementing my own SSH server will give me more power and scalability (especially regarding of users, keys and accounts management)

[Twisted-Python] python properties in twisted don't work

2008-12-18 Thread Gabriel Rossetti
Hello everyone! I have a problem, if I try to use python property in a twisted program, it doesn't really work...the accessor works but as soon as I use the mutator, it no longer uses the property (and doesn't set the "real" variable. I tried an example without twisted, it works, and with the