[Sugar-devel] Adding support for new datastore to the XS...
Tomeu, Sugaristas, looking at the new DS as implemented in SoaS. To confirm, is this http://wiki.sugarlabs.org/go/Development_Team/Datastore_Rewrite what is implemented in 0.84? Maybe tagging the wikipage with a version moniker helps? Something at the top that says Sugar 0.88... cheers, m -- Forwarded message -- From: Martin Langhoff martin.langh...@gmail.com Date: Tue, May 5, 2009 at 4:52 PM Subject: Re: [Server-devel] backup : problem opening /library/users//datastore-x/store To: Hamilton Chua hamilton.c...@gmail.com, XS Devel server-de...@lists.laptop.org Hi Hamilton, Let's keep this on the list. Is that from a recent SoaS? The datastore storage format has changed then, and we need to add support to Moodle for it. More work! :-p Sugaristas, if I want to support the 0.84 datastore, is the on-disk layout well explained anywhere? There's many pages, none says what version they are authoritative for... I suspect the right page is: http://wiki.sugarlabs.org/go/Development_Team/Datastore_Rewrite Hamiton's orig email below for reference... m On Tue, May 5, 2009 at 4:38 PM, Hamilton Chua hamilton.c...@gmail.com wrote: Thanks Martin, I think this will be very helpful. I looked at the contents of the data store folder and mine looks like ... [r...@schoolserver1 THW40541797]# cd datastore-latest/ [r...@schoolserver1 datastore-latest]# ls -lah total 15K drwxr-xr-x+ 6 THW40541797 THW40541797 1.0K 2009-04-23 23:24 . drwxr-x---+ 7 THW40541797 THW40541797 1.0K 2009-04-23 23:19 .. drwxr-xr-x+ 3 THW40541797 THW40541797 1.0K 2009-04-24 10:31 5f drwxr-xr-x+ 4 THW40541797 THW40541797 1.0K 2009-04-24 11:02 checksums drwxr-xr-x+ 3 THW40541797 THW40541797 1.0K 2009-04-24 10:36 f6 drwxr-xr-x+ 2 THW40541797 THW40541797 1.0K 2009-04-24 11:03 index -rw-r--r--+ 2 THW40541797 THW40541797 0 2009-04-24 10:30 index_updated -rw-r--r--+ 2 THW40541797 THW40541797 1 2009-04-24 10:30 version there is no store folder, instead there are 4 folders and 2 files. On Tue, Apr 28, 2009 at 12:58 AM, Martin Langhoff martin.langh...@gmail.com wrote: On Mon, Apr 27, 2009 at 3:59 PM, Hamilton Chua hamilton.c...@gmail.com wrote: Thanks so much for replying. I don't have an XO laptop so I'm unable to verify how backup/restore should really work but from your reply below I'm guessing that there really should be a store directory Ah, thought you had one. Sorry. Here's a sample from an XS dev box I have here [r...@schoolserver1 web]# ls -lah /library/users/ total 28K drwxr-xr-x 6 root root 4.0K 2009-04-03 06:51 . drwxr-xr-x 9 root root 4.0K 2009-02-27 17:48 .. drwxr-x---+ 24 CSN7470319B CSN7470319B 4.0K 2009-04-27 10:11 CSN7470319B drwxr-x---+ 10 SHC84601226 SHC84601226 4.0K 2009-04-02 20:02 SHC84601226 drwxr-x---+ 6 SHF80801EE8 SHF80801EE8 4.0K 2009-01-21 12:17 SHF80801EE8 drwx-- 5 SHF8080271C SHF8080271C 4.0K 2009-04-03 06:51 SHF8080271C This is the directory for a specific user - showing the hard-linked snapshots. Names of the dirs are teh UTC time in which the snapshot was completed. The little '+' sign means that they have ACLs (the only ACL is so that apache can read them). [r...@schoolserver1 web]# ls -lah /library/users/CSN7470319B/ total 112K drwxr-x---+ 24 CSN7470319B CSN7470319B 4.0K 2009-04-27 10:11 . drwxr-xr-x 6 root root 4.0K 2009-04-03 06:51 .. -rw-r--r-- 1 CSN7470319B CSN7470319B 18 2008-02-29 09:27 .bash_logout -rw-r--r-- 1 CSN7470319B CSN7470319B 176 2008-02-29 09:27 .bash_profile -rw-r--r-- 1 CSN7470319B CSN7470319B 124 2008-02-29 09:27 .bashrc drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-01-21_15:43 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-03-25_15:06 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-03-26_00:08 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-03-27_00:11 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-03-28_00:02 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-03-29_00:13 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-03-30_09:12 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-03-31_00:06 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-04-01_00:04 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-04-02_16:02 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-04-03_00:02 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-04-10_20:32 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-04-13_10:42 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-04-14_06:14 drwxr-xr-x+ 3 CSN7470319B CSN7470319B 4.0K 2008-05-13 09:43 datastore-2009-04-15_20:19
Re: [Sugar-devel] Sugar Digest 2009-05-03
Great Sugar Digest and pointers, thanks. Walter Bender walter.ben...@gmail.com writes: Diego is of the believe that creativity is a skill that can be taught; For the sake of conceptual clarity, I would myself consider creativity as a meta-skill: the skill to activate other specific skills and make something out of them. Specific skills are those with a specific object/purpose: repair a bike, solve an equation. Creativity is only a generic skill, with no purpose pre-defined. Obvious hypotheses: 1. traditional teaching is good at teaching specific skills; 2. creativity can not be directly taught, only indirectly encouraged; 3. teaching creativity is meaningless unless teaching is creative itself, and focuses on creating the right environment for such a meta-disposition to engage into something interesting. As far as I understand it, Sugar is a digital version of such an environment. ... Food for thought for the next SugarCamp? I would love to hear about Walter's experience and ideas on these topics! best, -- Bastien ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] versus, not
On Wed, May 06, 2009 at 06:26:31AM -0700, Alan Kay wrote: Tim Gallwey is one of the best teachers I've ever observed, and he had a number of extremely effective techniques to help his students learn the real deal very quickly Any links for the google-impaired? I just found loads of general references to his books. Best wishes, Alan Martin pgpAYJFiwhvW8.pgp Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Adding support for new datastore to the XS...
On Wed, May 6, 2009 at 4:00 PM, Sascha Silbe sascha-ml-ui-sugar-de...@silbe.org wrote: On Wed, May 06, 2009 at 01:48:26PM +0200, Martin Langhoff wrote: looking at the new DS as implemented in SoaS. To confirm, is this http://wiki.sugarlabs.org/go/Development_Team/Datastore_Rewrite what is implemented in 0.84? Yes, it is. And to give you an early warning: I'm going to change the data store on-disk format again for 0.86 (see [1]). There's no way around it, sorry. Cool. Can someone with wikiadmin magic then rename that page from 'Datastore rewrite' to 'Datastore 0.82' or similar? New and rewrite often end up being old and deprecated ;-) If we 'soft-version' our plans then it's a lot easier to refer to them... And while we're at it - is 'preview' completely gone? Do you need to access the data store directly on disk or can you go through the API? If the latter, is there anything lacking in the current API that would make your life easier? On the XO side, ds-backup-client uses rsync to... well, rsync to the server. So being rsync friendly, both in atomicity and saving bandwidth by having things in one place. On the XS side, the on-disk structure of the ds gets read by PHP code written by me, so keep it simple, please :-) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Tue, May 5, 2009 at 4:52 PM, Martin Langhoff martin.langh...@gmail.com wrote: Let's keep this on the list. Is that from a recent SoaS? The datastore storage format has changed then, and we need to add support to Moodle for it. More work! :-p Done - not tested much -- the zipfile you've given me didn't have much data. http://dev.laptop.org/git/users/martin/moodle.git/commit/?h=mdl19-xsid=5f522dbef1878284d15ae2ef0872c8dd5caa1953 So I need your help in reporting whether it works well for your SoaS clients. I assume you're already using my moodle branch, so a mere git pull will get you the right code... ;-) Note: It won't list metadata-only entries. If there's no 'data' file, it's not listed. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Wed, May 6, 2009 at 1:23 PM, Martin Langhoff martin.langh...@gmail.comwrote: On Tue, May 5, 2009 at 4:52 PM, Martin Langhoff ... Note: It won't list metadata-only entries. If there's no 'data' file, it's not listed. Consider the use case where the Journal is used as an log for user activity. Faithful reproduction of that record would be valuable (metadata is data). The spurious generation of Journal entries is a problem that the Glucose developers are working on (and might benefit by having some of those Journal logs). Thanks for your great contributions! --Fred ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] TurtleArt-48
== .xo == http://activities.sugarlabs.org/en-US/sugar/downloads/file/26052/turtle_art-48.xo == Source == http://download.sugarlabs.org/sources/sucrose/fructose/TurtleArt/TurtleArt-48.tar.bz2 == Features == * BUG FIX: json incompatibility with F11 * New artwork * New unified (improved?) way of handling media objects * Copy/paste stacks * Better handling of i18n text == Documentation == http://sugarlabs.org/go/Activities/Turtle_Art enjoy and please report any problems -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] versus, not
My take on this over the years has excluded labels and categories for a variety of reasons. But I do think thresholds are important for most areas of learning. For example, at what level would an actually literate person consider a high school graduate to be fluent in literate actions and thinking? At what level would a mathematician consider a high school graduate fluent in mathematical actions and thinking? This is very different from asking questions about the level that a professional would need to attain. At levels below these two, we are talking about areas of study that are neither about literacy nor about mathematics, but something else. The something else could be useful (for example, reading street signs and goods in stores, or adding up simple sums). My main complaint about most schooling processes whether official or grassroots is that for a wide variety of reasons they settle for the something else rather than try to find ways to help the students learn the real deals. If the real deals are chosen, then the interesting question is what kinds of processes will work for what kinds of learners? If it is some non-trivial percentage of direct instruction, then this is what should be done (and depending on the learner, this percentage could range from 0% to a surprisingly high number). However, part of the real deal is being able to *do* the pursuits, not just know something about them, so all pedagogical approaches will have to find ways to get learners to learn how to do what practitioners do who above the two thresholds of fluency and pro. Tim Gallwey is one of the best teachers I've ever observed, and he had a number of extremely effective techniques to help his students learn the real deal very quickly (and almost none of these were direct instruction -- partly because, as he liked to say, The parts of the brain that you need to do the learning very often don't understand English!). But if he could see that the student had gotten on a track that couldn't be influenced by guided discovery, then he would instantly tell them to do it this way. In other words, he was not religious about his own very successful method, but instead did what his students individually needed and that worked the best for them (which happened to be learning by doing). Best wishes, Alan From: Bill Kerr billk...@gmail.com To: Walter Bender walter.ben...@gmail.com Cc: iaep i...@lists.sugarlabs.org; Sugar-dev Devel sugar-devel@lists.sugarlabs.org; community-n...@lists.sugarlabs.org Sent: Monday, May 4, 2009 5:20:50 PM Subject: [IAEP] versus, not On Mon, May 4, 2009 at 7:43 AM, Walter Bender walter.ben...@gmail.com wrote: ===Sugar Digest=== I encourage you to join two threads on the Education List this week: http://lists.sugarlabs.org/archive/iaep/2009-April/005382.html, which has boiled down to an instruction vs construction debate; and http://lists.sugarlabs.org/archive/iaep/2009-April/005342.html, which has boiled down to a debate of catering to local culture vs the Enlightenment. I encourage you to join these discussions. Agree that these are important discussions Need to be careful about the use of the versus depiction of these discussions IMO, this tempting shorthand can create the wrong impression eg. I would see direct instruction as a must for autistic children but don't see that it follows as a general model for all education (special needs are special) or that we should even think it is possible to have a correct general model. I don't think there is one and good teachers swap between multiple models all the time. no one on this list has argued overtly against the enlightenment or that local culture ought not to be taken into account, eg. Ties said think practical, the response was of the nature that our context demands we do a certain course of action however, I do think the roll back of enlightenment principles is not well understood (http://learningevolves.wikispaces.com/nonUniversals) and that a better understanding might persuade more people of the need to keep searching and struggling for different ways to go against some of the tide of local culture - there is a recent interesting comment thread on mark guzdial's blog which is worth reading from this point of view http://www.amazon.com/gp/blog/post/PLNK3F4TMBURELZZK ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
Martin, Thanks, sorry I don't have a lot of activities to backup yet on my test SoaS. I'll give this a go today and report back the results here. Best, Hamilton On Wed, 2009-05-06 at 19:23 +0200, Martin Langhoff wrote: On Tue, May 5, 2009 at 4:52 PM, Martin Langhoff martin.langh...@gmail.com wrote: Let's keep this on the list. Is that from a recent SoaS? The datastore storage format has changed then, and we need to add support to Moodle for it. More work! :-p Done - not tested much -- the zipfile you've given me didn't have much data. http://dev.laptop.org/git/users/martin/moodle.git/commit/?h=mdl19-xsid=5f522dbef1878284d15ae2ef0872c8dd5caa1953 So I need your help in reporting whether it works well for your SoaS clients. I assume you're already using my moodle branch, so a mere git pull will get you the right code... ;-) Note: It won't list metadata-only entries. If there's no 'data' file, it's not listed. cheers, m signature.asc Description: This is a digitally signed message part ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Dictionary everywhere ?
On Thu, May 7, 2009 at 5:40 AM, Sayamindu Dasgupta sayami...@gmail.com wrote: I was wondering about having a global dictionary key in sugar, just like the view source key. When you select a word (or words), and press that key, a window should pop up, showing the meaning of that word (or those words). There can be a control panel entry to choose what dictionary to use (eg: someone might want to have a English-Spanish dictionary instead of a English-English one, etc). Looks like good to have. I take it that you are suggesting that the source - target pattern for the dictionary be set only once and, then on unless changed, adhered to throughout. I daresay that I'd find it a wonderful application for a non-Sugar desktop too :) -- http://www.gutenberg.net - Fine literature digitally re-published http://www.plos.org - Public Library of Science http://www.creativecommons.org - Flexible copyright for creative work Sent from Pune, MH, India ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Dictionary everywhere ?
Sayamindu Dasgupta wrote: I was wondering about having a global dictionary key in sugar, just like the view source key. When you select a word (or words), and press that key, a window should pop up, showing the meaning of that word (or those words). I think it's a great idea, very much in the spirit of the the Sugar UI design. I see a strong parallel to the proposed Text to Speech function, which would allow a user to highlight any text and then ask Sugar to pronounce it, or type text into a field provided by a frame device. In fact, I think that the Dictionary should also be a frame device, and the popup window should be a notification palette connected to that device. The question of key bindings is very interesting. In both cases, the functionality is useful to many users, but not all, so assigning a permanent binding seems excessive. However, clicking through the frame greatly increases the effort needed to use the feature. As a compromise, perhaps we can assign keyboard shortcuts of the form Frame key+letter to frame devices. This formula seems clarifying to the user, while also avoiding the hotly contested Ctrl- and Alt- shortcut spaces. --Ben signature.asc Description: OpenPGP digital signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel