Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-30 Thread Daniel Drake
On 30 November 2010 07:11, Bernie Innocenti ber...@codewiz.org wrote: Each GET, even if content is in the squid cache requires a remote HTTP query to check for stale data in the cache. With the typical ping times of 500-1000ms, you end up waiting a couple of seconds. Sure, we could

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Daniel Drake
On 29 November 2010 03:06, Bernie Innocenti ber...@codewiz.org wrote: If the size were only needed at download time, then there would be no need to perform a separate query: the size is already present in Content-Length header. I think Anish wants to know the size beforehand to show it in the

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Simon Schampijer
On 11/20/2010 06:59 AM, Anish Mangal wrote: Hi, I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format compliant with the 'activity microformat specification' [2]. Hi Anish, so this would basically mean that the microformat

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Anish Mangal
On Mon, Nov 29, 2010 at 1:48 PM, Daniel Drake d...@laptop.org wrote: On 29 November 2010 03:06, Bernie Innocenti ber...@codewiz.org wrote: If the size were only needed at download time, then there would be no need to perform a separate query: the size is already present in Content-Length

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Anish Mangal
On Mon, Nov 29, 2010 at 2:45 PM, Simon Schampijer si...@schampijer.dewrote: On 11/20/2010 06:59 AM, Anish Mangal wrote: Hi, I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format compliant with the 'activity microformat

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Simon Schampijer
On 11/29/2010 10:17 AM, Anish Mangal wrote: On Mon, Nov 29, 2010 at 2:45 PM, Simon Schampijersi...@schampijer.dewrote: On 11/20/2010 06:59 AM, Anish Mangal wrote: Hi, I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Daniel Drake
On 29 November 2010 09:16, Anish Mangal anishmangal2...@gmail.com wrote: In my little testing experience, this takes a lot more than 1-2 seconds for a group of activities (such as this [1]). But the only case in which you'd have to run so many queries would be when you have *none* of those

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Bernie Innocenti
On Mon, 2010-11-29 at 08:18 +, Daniel Drake wrote: OK. If it's really important to save 1-2 seconds of update time From Paraguay it was more like 1-2 seconds per activity. (on a download thats then going to take probably more than a minute, perhaps substantially more) I'd suggest just

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-28 Thread Daniel Drake
On 20 November 2010 05:59, Anish Mangal anishmangal2...@gmail.com wrote: I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format compliant with the 'activity microformat specification' [2]. While writing the updater code, I

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-28 Thread Bernie Innocenti
On Sun, 2010-11-28 at 23:03 +, Daniel Drake wrote: Activities are generally megabytes in size, or at least hundreds of kilobytes. This transfer would follow the size query. Your proposal would just shave off a handful of bytes. If the size were only needed at download time, then there

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-22 Thread Bernie Innocenti
On Mon, 2010-11-22 at 07:23 +, Aleksey Lim wrote: You can try microformat ASLO updater from http://activities-testing.sugarlabs.org/services/micro-format.php?name=fructose Nice! I'm not sure about the size in KB... bytes would be more natural for machine parsing, but kilobytes look better

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-22 Thread C. Scott Ananian
On Mon, Nov 22, 2010 at 9:37 AM, Bernie Innocenti ber...@codewiz.org wrote: On Mon, 2010-11-22 at 07:23 +, Aleksey Lim wrote: You can try microformat ASLO updater from http://activities-testing.sugarlabs.org/services/micro-format.php?name=fructose Nice! I'm not sure about the size in

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-22 Thread C. Scott Ananian
(oh, and the .zip file already has a checksum, it's not clear why you'd need another one.) --scott --                          ( http://cscott.net/ ) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-22 Thread Bernie Innocenti
On Mon, 2010-11-22 at 10:51 -0500, C. Scott Ananian wrote: I avoided doing this in the original specification because I meant the microformat to be human-writable, and I didn't expect humans to be able to reliably update these fields correctly. The field is optional, though. Besides, the

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-20 Thread Sascha Silbe
Excerpts from Anish Mangal's message of Sat Nov 20 06:59:36 +0100 2010: Let's keep the discussion exclusively on sugar-devel, please. Cross-posting can cause thread fragmentation. I also don't see any value in discussing all Dextrose-related technical decisions on two lists in parallel. I've

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-20 Thread Anish Mangal
On Sat, Nov 20, 2010 at 1:58 PM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Excerpts from Anish Mangal's message of Sat Nov 20 06:59:36 +0100 2010: Let's keep the discussion exclusively on sugar-devel, please. Cross-posting can cause thread fragmentation. I also don't see any

[Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-19 Thread Anish Mangal
Hi, I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format compliant with the 'activity microformat specification' [2]. While writing the updater code, I realized that I have to make lots of time and bandwidth consuming http