Skip to Content.
Sympa Menu

cc-devel - Re: [cc-devel] SoC progress report

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: Jon Phillips <jon AT rejon.org>
  • To: Bruno Dilly <bruno.dilly AT gmail.com>
  • Cc: cc-devel AT lists.ibiblio.org
  • Subject: Re: [cc-devel] SoC progress report
  • Date: Fri, 11 Aug 2006 12:02:03 -0700

On Fri, 2006-08-11 at 13:52 -0300, Bruno Dilly wrote:
> I don't think I have time to extend the API for uploads before SoC
> deadline, but I can do it later. I'll continue developing CC tools.
>
> Really I'm reading the entire file into memory before writing into the
> socket. I don't know how I could do it better, I will study this
> point.
>
> I'm appreciating all these suggestions and discussion.
>
> Thanks,
>
> Bruno

This is also good for newbies to open source to realize how much
different the open source model is in terms of communicating in smaller
increments rather than the school-based approach which is to keep things
closed and in the dark until having one big grand monolithic release...

What I really want to add is some webdav love to ccHost so that ppl. can
mount their account and it will be viewed as a hard drive. With webdav
and apache then we can call some scripts on different events (and check
username/password securely) to both throttle the connection as well as
do some filetype and metadata checking and whatnot...this would be very
useful for large videos and big files (and ppl. on a slow connection)...

Jon

> On 8/11/06, Nathan R. Yergler <nathan AT creativecommons.org> wrote:
> >
> > > I'm not familiar with pythons http lib so I don't know how efficient
> > > that is, I know that the PHP Snoopy lib that we use would read the
> > > *entire* file into memory before writing into the socket which may
> > > just work in most cases but hurts my old fashioned sensibilities.
> >
> > Python's httplib by default would do something similar to this.
> > However, we're going to be moving to Twisted for the FTP stuff in
> > ccPublisher, so we'll have access to its full suite of network classes,
> > which include support for efficient streaming from point a to b (ie,
> > read X bytes from the disk, send it to the socket, repeat).
> >
> > I'd say if you make it "right" using Python's built-in httplib now, we
> > can worry about making it "fast" later.
> >
> >
> > --
> > Nathan R. Yergler
> > Senior Software Engineer
> > Creative Commons
> >
> > http://wiki.creativecommons.org/User:NathanYergler
> > _______________________________________________
> > cc-devel mailing list
> > cc-devel AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/cc-devel
> >
> _______________________________________________
> cc-devel mailing list
> cc-devel AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/cc-devel
>
--
Jon Phillips

San Francisco, CA
USA PH 510.499.0894
jon AT rejon.org
http://www.rejon.org

MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon AT gristle.org
IRC: rejon AT irc.freenode.net

Inkscape (http://inkscape.org)
Open Clip Art Library (www.openclipart.org)
Creative Commons (www.creativecommons.org)
San Francisco Art Institute (www.sfai.edu)





Archive powered by MHonArc 2.6.24.

Top of Page