Re: [Sugar-devel] OT: determining memory usage of short-lived processes

2009-06-07 Thread Sascha Silbe
On Sun, Jun 07, 2009 at 12:28:58AM +0200, Martin Langhoff wrote: [ps_mem.py] Perhaps you knew it already -- it's a good tool worthy of promotion so... Got to know it only recently and it's indeed very useful, even though it requires root access (for obvious reasons). Run the whole thing

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread James Zaki
Hey Benjamin, Taking a guess with the information you've given perhaps a hash tablehttp://en.wikipedia.org/wiki/Hash_tablecould help? Fast lookup/retrieval, but just have to consider what you would enumerate as the key, and loading. Let me know if you want some help applying this, memories of a

[Sugar-devel] personalisation and collaboration

2009-06-07 Thread David Van Assche
Something has been in the back of my head for a while now, ever since I've seen the impressive capabilities of being able to share an activity with your neighbourhood. Being able to cooperatively use applications brings a new level of playability to it all, and it reminds me of when I first saw

Re: [Sugar-devel] [IAEP] personalisation and collaboration

2009-06-07 Thread Walter Bender
On Sun, Jun 7, 2009 at 7:00 AM, David Van Asschedvanass...@gmail.com wrote: Something has been in the back of my head for a while now, ever since I've seen the impressive capabilities of being able to share an activity with your neighbourhood. Being able to cooperatively use applications brings

Re: [Sugar-devel] [IAEP] [Marketing] [SoaS] Request for Artwork: Boot Screen

2009-06-07 Thread Sebastian Dziallas
Hi all, looking at the wiki page, I'm really impressed - great work! :) I also really like the idea of switching the logo color for each release - this shouldn't be hard and is an interesting approach. Has there already been some kind of agreement on which version we're going to use for the

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread Benjamin M. Schwartz
James Zaki wrote: Taking a guess with the information you've given perhaps a hash tablehttp://en.wikipedia.org/wiki/Hash_tablecould help? Python uses the term Dict to describe its built-in hash table. I do think a hash table could be helpful, for example, to maintain the reverse lookup mapping

Re: [Sugar-devel] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread Sean DALY
Hmmm I'm not sure a BIOS will be wiling to boot from a USB port on a card. However, combined with a CD boot helper might do the trick. Reconditioning older PCs (even just adding RAM or a USB card) is a bit of a thankless job :-( I'm wondering if there's a way for SoaS to automatically report

Re: [Sugar-devel] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread Caroline Meeks
On Sun, Jun 7, 2009 at 9:49 AM, Sean DALY sdaly...@gmail.com wrote: Hmmm I'm not sure a BIOS will be wiling to boot from a USB port on a card. However, combined with a CD boot helper might do the trick. I have to use the CD at this point anyway. My goal is to have it boot more quickly and

Re: [Sugar-devel] [IAEP] [Marketing] [SoaS] Request for Artwork: Boot Screen

2009-06-07 Thread Gary C Martin
Hi Sebastian, On 7 Jun 2009, at 14:37, Sebastian Dziallas wrote: Hi all, looking at the wiki page, I'm really impressed - great work! :) I also really like the idea of switching the logo color for each release - this shouldn't be hard and is an interesting approach. Has there already

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread Sean DALY
Have you looked into an awk associative array? I understand it is stored internally as a hash table. I remember reading about a simulated multidimensional array (index,subscript); inserting a record in that case didn't involve any reindexing. Older awks were considered slow though, I have no idea

Re: [Sugar-devel] [IAEP] [Marketing] [SoaS] Request for Artwork: Boot Screen

2009-06-07 Thread Sean DALY
Yes Gary by all means, the deadline is this weekend Sebastian, earlier in the thread we discussed how part of keeping a clean-looking boot involves getting more information (logos) on the About My Computer page, is that difficult to do? Sean On Sun, Jun 7, 2009 at 4:13 PM, Gary C

Re: [Sugar-devel] [IAEP] [Marketing] [SoaS] Request for Artwork: Boot Screen

2009-06-07 Thread Sebastian Dziallas
Sean DALY wrote: Yes Gary by all means, the deadline is this weekend Sebastian, earlier in the thread we discussed how part of keeping a clean-looking boot involves getting more information (logos) on the About My Computer page, is that difficult to do? Sean I don't think that it would be

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread Lucian Branescu
This http://www.python.org/dev/peps/pep-0372/ might be interesting. Perhaps it could get backported to 2.5. But it still has O(n) deletion. 2009/6/7 Benjamin M. Schwartz bmsch...@fas.harvard.edu: James Zaki wrote: Taking a guess with the information you've given perhaps a hash

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread Benjamin M. Schwartz
Lucian Branescu wrote: This http://www.python.org/dev/peps/pep-0372/ might be interesting. Perhaps it could get backported to 2.5. But it still has O(n) deletion. It also doesn't have insertion at all (only append), and indexing (and reverse indexing) is O(n). --Ben signature.asc

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread Carol Farlow Lerche
hash chaining only approaches order n if the table is very full (because of collisions). On Sun, Jun 7, 2009 at 8:07 AM, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: Lucian Branescu wrote: This http://www.python.org/dev/peps/pep-0372/ might be interesting. Perhaps it could get

Re: [Sugar-devel] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread Frederick Grose
On Sun, Jun 7, 2009 at 10:07 AM, Caroline Meeks carol...@solutiongrove.comwrote: Let me echo Caryl's question. Do we have a page with tasks for new volunteers? http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/TODO has been restored and is ready to be updated, perhaps restructured to cover this

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread Lucian Branescu
Would an ordered dictionary otherwise be all right, or am I misunderstanding your requirements? There are other implementations, like http://www.xs4all.nl/~anthon/Python/ordereddict/ 2009/6/7 Benjamin M. Schwartz bmsch...@fas.harvard.edu: Lucian Branescu wrote: This

Re: [Sugar-devel] I'm looking for a tree...

2009-06-07 Thread Benjamin M. Schwartz
Lucian Branescu wrote: Would an ordered dictionary otherwise be all right, or am I misunderstanding your requirements? There are other implementations, like http://www.xs4all.nl/~anthon/Python/ordereddict/ No, an ordered dictionary is not enough. All these ordered dictionaries are ordered

Re: [Sugar-devel] [GSoC] SSB creator

2009-06-07 Thread Lucian Branescu
1. I don't really want to zip it if I can avoid it. If I do zip it and get an .xo, how can I add it to the Journal programatically? 2. I've changed that. All SSBs are subdomains to org.sugarlabs.ssb (like org.sugarlabs.ssb.GMailActivity) 2009/6/7 Bobby Powers bobbypow...@gmail.com: On Sat, Jun

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread David Van Assche
When it come to older pcs, it really makes sense to try and use LTSP. We have created a kiwi-ltsp usb stick for openSUSE, which gives a portable ltsp server wherever u plug it in. In most cases it would make sense for this to be the most powerful computer. It is as easy as installing the sugar and

Re: [Sugar-devel] [GSoC] SSB creator

2009-06-07 Thread Gary C Martin
On 7 Jun 2009, at 18:18, Lucian Branescu wrote: 1. I don't really want to zip it if I can avoid it. If I do zip it and get an .xo, how can I add it to the Journal programatically? 2. I've changed that. All SSBs are subdomains to org.sugarlabs.ssb (like org.sugarlabs.ssb.GMailActivity)

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread David Farning
On Sun, Jun 7, 2009 at 12:24 PM, David Van Asschedvanass...@gmail.com wrote: When it come to older pcs, it really makes sense to try and use LTSP. We have created a kiwi-ltsp usb stick for openSUSE, which gives a portable ltsp server wherever u plug it in. In most cases it would make sense for

Re: [Sugar-devel] [GSoC] SSB creator

2009-06-07 Thread Carol Farlow Lerche
Also something new and related in Mozilla land: https://jetpack.mozillalabs.com/ On Sun, Jun 7, 2009 at 11:07 AM, Gary C Martin g...@garycmartin.com wrote: On 7 Jun 2009, at 18:18, Lucian Branescu wrote: 1. I don't really want to zip it if I can avoid it. If I do zip it and get an .xo,

Re: [Sugar-devel] [GSoC] SSB creator

2009-06-07 Thread Lucian Branescu
Jetpack is not directly related. It is in fact very similar to Chrome's extension API. 2009/6/7 Carol Farlow Lerche c...@msbit.com: Also something new and related in Mozilla land: https://jetpack.mozillalabs.com/ On Sun, Jun 7, 2009 at 11:07 AM, Gary C Martin g...@garycmartin.com wrote: On

Re: [Sugar-devel] [GSoC] SSB creator

2009-06-07 Thread Carol Farlow Lerche
Much more standard and simpler than the xpi framework, I think. Jetpacks are html, javascript and css, expect you to use canvas and audio, with the underlying jetpack packaged with jquery. On Sun, Jun 7, 2009 at 12:30 PM, Lucian Branescu lucian.brane...@gmail.comwrote: Jetpack is not directly

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread David Van Assche
That's a good point, and I understand the thinking behind it, as if you are not 'changing' anything in an existing setup, people are less afraid that things might go terribly wrong. That's the reason we have ltsp on a usb stick... because you can stick in a server, and test it without installing

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread Caroline Meeks
Thanks David great explanation. and David, I totally agree that LTSP is the right technical solution for this computer lab. Next year, perhaps we will have the level of trust and political clout to implement it. There is yet another reason I want to know if we can speed up these computers and

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread Martin Langhoff
On Sun, Jun 7, 2009 at 7:24 PM, David Van Asschedvanass...@gmail.com wrote: When it come to older pcs, it really makes sense to try and use LTSP. We LTSP is an excellent path. Note that a happy LTSP adventure is conditional on a good network infra and a decent TS machine. Wireless won't do.

Re: [Sugar-devel] [GSoC] SSB creator

2009-06-07 Thread Lucian Branescu
I don't really need a separate activity, just a way to show it in the Home View and a way to share it. However, I do need a way to allow users to customise the web page bundles. Users must be able to add userscripts (greasemonkey), userstyles (custom css) and bookmarklets

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread David Farning
On Sun, Jun 7, 2009 at 2:38 PM, David Van Asschedvanass...@gmail.com wrote: That's a good point, and I understand the thinking behind it, as if you are not 'changing' anything in an existing setup, people are less afraid that things might go terribly wrong. That's the reason we have ltsp on a

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Sun, Jun 07, 2009 at 04:40:31PM -0500, David Farning wrote: On Sun, Jun 7, 2009 at 2:38 PM, David Van Asschedvanass...@gmail.com wrote: That's a good point, and I understand the thinking behind it, as if you are not 'changing' anything in

Re: [Sugar-devel] [IAEP] Getting data about the upgrading older machines and SoaS responsiveness.

2009-06-07 Thread Luke Faraone
On Sun, Jun 7, 2009 at 18:43, Jonas Smedegaard d...@jones.dk wrote: It sound like another great, low impact (I am trying to think of a term like 'carbon foot print' to properly reflect the impact) way of bringing LTSP into the class room. polite or gentle perhaps? or non-invasive?

Re: [Sugar-devel] [IAEP] personalisation and collaboration

2009-06-07 Thread David Van Assche
Having pondered this a bit more, I came up with a practical example. Lets say we have a student in Uruguay, lets call him Fernando, and lets say we have a student in the UK, lets call her Suzy. Suzy's Spanish is not great, as she hasn't had the chance to delve into it practically, nor is she