[Sugar-devel] A small request.

C. Scott Ananian cscott at laptop.org
Mon Feb 2 21:46:53 EST 2009


On Mon, Feb 2, 2009 at 4:34 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> On Tue, Feb 3, 2009 at 1:20 AM, C. Scott Ananian <cscott at laptop.org> wrote:
>> I don't understand your problem.
>
> How does the XS know what URLs to mask?
>
> For example, say the current version of Foo.xo (which the XS has) has
> a url of http://sugarlabs.org/activities/ in its metadata but _old_
> versions of the same activity are set to
> http://wiki.laptop.org/go/Activities/ .
>
>  - Should Foo.xo metadata contain a growing history of all urls for
> the XS to intercept?
>  - Should the XS contain a growing cheatsheet of urls to intercept?
>  - For laptop.org -> SL is easy, how about all the other activity
> authors using random personal servers?
>
> All this specialcasing and cheat-sheet exceptions on the XS is just
> plain horrible. And only ever works with HTTP. Se do need a service
> discovery means for anything that is not as amenable to abuse as HTTP.

"Only works with HTTP" -- that's why were are careful to make our
protocols only use HTTP.  That's like saying that talking as a means
of communication only works if both parties share a common language.
Sure, but that doesn't make it not useful!

It's not a cheat sheet: it's a list of cached content.  If your
activities are coming from lots of different sources, then your update
URLs will be different.  What's wrong with that?  It would actually be
a serious bug (IMO) if they *couldn't* be all different.
 --scott

-- 
                         ( http://cscott.net/ )


More information about the Sugar-devel mailing list