[Twisted-Python] Flash AMF and Twisted

Hi all,
Re. this message: http://twistedmatrix.com/pipermail/twisted-python/2007-May/015373.html
Has any work been done here? I'm facing a project that requires two-way communication between a Flex/Apollo app and a Twisted server. In my initial tests I used http and comet-like techniques but I'm not sure they are the most efficient way.
I'm willing to help with the project - I've already dabbled a little in the DjangoAMF stuff.
Arnar

FYI, we started coding, check out http://dev.collab.com/twisted-rtmp/ for more info.
Thijs
On Jun 12, 2007, at 2:06 PM, Arnar Birgisson wrote:
Hi all,
Re. this message: http://twistedmatrix.com/pipermail/twisted-python/2007-May/015373.html
Has any work been done here? I'm facing a project that requires two-way communication between a Flex/Apollo app and a Twisted server. In my initial tests I used http and comet-like techniques but I'm not sure they are the most efficient way.
I'm willing to help with the project - I've already dabbled a little in the DjangoAMF stuff.
Arnar
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

On Mon, 18 Jun 2007 00:59:33 +0200, Thijs Triemstra | Collab lists@collab.nl wrote:
FYI, we started coding, check out http://dev.collab.com/twisted-rtmp/ for more info.
Thijs
Looks cool. It's nice you've got examples up already :)
I hate to have to ask, but could you change the name of the project to not include "twisted" and take the Twisted logo down? These are marks of the Twisted Matrix Labs team. They aren't for general use by projects which make use of or otherwise depend on Twisted.
Thanks,
Jean-Paul

Hi Jean-Paul,
I hate to have to ask, but could you change the name of the project to not include "twisted" and take the Twisted logo down? These are marks of the Twisted Matrix Labs team. They aren't for general use by projects which make use of or otherwise depend on Twisted.
Ah ok, sorry about that. The name changed and the project can now be found on http://dev.collab.com/rtmpy
Thijs

On Mon, 18 Jun 2007 02:41:15 +0200, Thijs Triemstra | Collab lists@collab.nl wrote:
Hi Jean-Paul,
I hate to have to ask, but could you change the name of the project to not include "twisted" and take the Twisted logo down? These are marks of the Twisted Matrix Labs team. They aren't for general use by projects which make use of or otherwise depend on Twisted.
Ah ok, sorry about that. The name changed and the project can now be found on http://dev.collab.com/rtmpy
Thanks :)

On 02:23 am, exarkun@divmod.com wrote:
On Mon, 18 Jun 2007 02:41:15 +0200, Thijs Triemstra | Collab lists@collab.nl wrote:
Hi Jean-Paul,
I hate to have to ask, but could you change the name of the project to not include "twisted" and take the Twisted logo down? These are marks of the Twisted Matrix Labs team. They aren't for general use by projects which make use of or otherwise depend on Twisted.
Ah ok, sorry about that. The name changed and the project can now be found on http://dev.collab.com/rtmpy
Thanks :)
Thanks, too, for changing this so readily :).
It makes me think, though, that maybe we should have a suggested prefix for things-which-use-Twisted, since "py" is a little confusing there. Python has PyXXX, maybe Twisted should have TwiXXX or similar?

On Jun 18, 2007, at 1:05 PM, glyph@divmod.com wrote:
Thanks, too, for changing this so readily :).
It makes me think, though, that maybe we should have a suggested prefix for things-which-use-Twisted, since "py" is a little confusing there. Python has PyXXX, maybe Twisted should have TwiXXX or similar?
Personally speaking , It would be nice if Twisted a) had a suggested prefix b) had 2 logos put into the public domain i. a form of the logo for people who want to show support on their sites that run twisted ii. a "powerd by" logo for applicaitons built on twisted.
This would be similar to what Mozilla did with the firefox logos.
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClick Networks | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | Founder/CTO/CVO | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

+1 for the logos!
-1 for suggested prefix, especially if it's "Twi" - this renders virtually any project name unpronounceable. ;-)
Anyway, the Twisted coding guidelines are largely about creative, unambiguous naming. I for one find "py-" names obnoxious, especially since they actually *increase* the chance of a google namespace collision. (What would you name your twisted-based IRC bot? twibot? Too bad three other people did that.)
_____________________
*Cory Dodt* basileus augustus codesaurus
decipher 5250 n palm ave, ste 220 fresno, ca 93704
t: +1 559 256 0463 f: +1 559 436 6944
www.decipherinc.com http://decipherinc.com/
On 6/30/07, Jonathan Vanasco twisted-python@2xlp.com wrote:
On Jun 18, 2007, at 1:05 PM, glyph@divmod.com wrote:
Thanks, too, for changing this so readily :).
It makes me think, though, that maybe we should have a suggested prefix for things-which-use-Twisted, since "py" is a little confusing there. Python has PyXXX, maybe Twisted should have TwiXXX or similar?
Personally speaking , It would be nice if Twisted a) had a suggested prefix b) had 2 logos put into the public domain i. a form of the logo for people who want to show support on their sites that run twisted ii. a "powerd by" logo for applicaitons built on twisted.
This would be similar to what Mozilla did with the firefox logos.
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| CEO/Founder SyndiClick Networks | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| Founder/CTO/CVO | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

On Mon, Jul 02, 2007 at 04:12:01PM -0700, Cory Dodt wrote:
Anyway, the Twisted coding guidelines are largely about creative, unambiguous naming. I for one find "py-" names obnoxious, especially since they actually *increase* the chance of a google namespace collision. (What would you name your twisted-based IRC bot? twibot? Too bad three other people did that.)
bezalel :)
[ot] i'm going to publish the code, but it's just project for fun and to learn twisted

On Tuesday 03 July 2007, Cory Dodt wrote:
-1 for suggested prefix, especially if it's "Twi" - this renders virtually any project name unpronounceable. ;-)
Is there really a need for a prefix?
In case of the "py" prefix, it seems packages can be divided into two categories: 1. applications that happen to be implemented in Python 2. things Python developers can use, such as Python bindings for an existing C/C++ library
In my opinion, category 1 is just developers who can't think of a good name. For the end user the implementation language is mostly irrelevant, so the "py" prefix does not really add information, it just turns a word into a name. I know it's hard to find a good name for a project, but should they be offered an excuse to give up trying?
For category 2, maybe a prefix is useful, for example for wrapping a library so it uses Deferreds, or for integrating event loops. Are there many projects like this? The only one I know of is sAsync. Projects like Nevow that are not a layer around something existing would not really benefit from a prefix, I think, since they would still need a name to apply the prefix to.
One possible approach for a package-for-Twisted naming convention would be to use "-ed" as a postfix. Most base names will likely be nouns, but those can be verbed for extra silliness. For example the IRC bot would be named "Botted".
Having a convention like that acts as an extra incentive to a developer to come up with an original name that does not use the conventional postfix. ;)
Bye, Maarten

I only read this message today. About a month ago, I started playing a little with such a project myself. Actually the project is (the millionth) media player on the Wii, but since progressive download on the Wii works only for flv-files smaller than about 100M (it runs out of memory else), I needed a streaming flv server.
I'm still trying to get a feel for best practices in Python, however it does get the work done, it can streams flvs to flash player.
http://code.google.com/p/wiidiaplayer/
Just wanted to let you know.
On 2007-06-12 12:06, Arnar Birgisson wrote:
Hi all,
Re. this message: http://twistedmatrix.com/pipermail/twisted-python/2007-May/015373.html
Has any work been done here? I'm facing a project that requires two-way communication between a Flex/Apollo app and a Twisted server. In my initial tests I used http and comet-like techniques but I'm not sure they are the most efficient way.
I'm willing to help with the project - I've already dabbled a little in the DjangoAMF stuff.
Arnar

On 7/14/07, Reinoud Elhorst twisted@claude.nl wrote:
I only read this message today. About a month ago, I started playing a little with such a project myself. Actually the project is (the millionth) media player on the Wii, but since progressive download on the Wii works only for flv-files smaller than about 100M (it runs out of memory else), I needed a streaming flv server.
I'm still trying to get a feel for best practices in Python, however it does get the work done, it can streams flvs to flash player.
http://code.google.com/p/wiidiaplayer/
Just wanted to let you know.
Thanks!
Uhh.. I just took a look at your code and though "he's doing this stuff exactly as we did" - until I realized it was my code :/ - I guess that's partly our fault for not including the license disclaimer in our experimental files. To be clear, you are free to copy the code as you like - but please include the copyright notice somewhere (our code is MIT licensed).
On the other hand, your RTMP stuff is something we are planning on implementing in RTMPy. I would much appreciate it if you were willing to join our project and help us out, since your input would definitely be of great value. Our page is at http://dev.collab.com/rtmpy (seems to be down atm) and our ML is at http://lists.collab.com/mailman/listinfo/rtmpy.
Arnar

Arnar Birgisson wrote:
On 7/14/07, Reinoud Elhorst twisted@claude.nl wrote:
I only read this message today. About a month ago, I started playing a little with such a project myself. Actually the project is (the millionth) media player on the Wii, but since progressive download on the Wii works only for flv-files smaller than about 100M (it runs out of memory else), I needed a streaming flv server.
I'm still trying to get a feel for best practices in Python, however it does get the work done, it can streams flvs to flash player.
http://code.google.com/p/wiidiaplayer/
Just wanted to let you know.
Thanks!
Uhh.. I just took a look at your code and though "he's doing this stuff exactly as we did" - until I realized it was my code :/ - I guess that's partly our fault for not including the license disclaimer in our experimental files. To be clear, you are free to copy the code as you like - but please include the copyright notice somewhere (our code is MIT licensed).
On the other hand, your RTMP stuff is something we are planning on implementing in RTMPy. I would much appreciate it if you were willing to join our project and help us out, since your input would definitely be of great value. Our page is at http://dev.collab.com/rtmpy (seems to be down atm) and our ML is at http://lists.collab.com/mailman/listinfo/rtmpy.
Arnar
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
OK, Sorry about the copyright message. I was using Django's AMF parser, but it had a bug (undefined type 6, by now I realise that it should just return None), I put in your amf parser yesterday to see how it would go (and, too be honest, didn't know the details of the MIT licence...). What is the exact wording of the copyright you'd like me to include? (Actually I guess I should double check django's code license too.....)
The rest of the rtmpcode is a port from http://code.google.com/p/haxevideo/, mixed with a lot of my own to server specific file types.
I joined the rtmpy lists, hopefully I can be of some value!
Reinoud
participants (9)
-
Arnar Birgisson
-
Cory Dodt
-
glyph@divmod.com
-
Jean-Paul Calderone
-
Jonathan Vanasco
-
Maarten ter Huurne
-
Marco Giusti
-
Reinoud Elhorst
-
Thijs Triemstra | Collab