Re: 13.1.0 feature freeze reminder
Hi Walter, On 28 Sep 2012, at 01:18, Walter Bender walter.ben...@gmail.com wrote: On Thu, Sep 27, 2012 at 5:46 PM, Daniel Drake d...@laptop.org wrote: Hi, Just a quick reminder that we move to bug-fixes-only for 13.1.0 on October 11th which is exactly 2 weeks from now. I have a new feature I would like to propose. maintain a list of launch times in the metadata. This will be useful for datastore analysis in the client. (The sugar-stats package [1] developed and maintained by alsroot can also be used to capture these data, but I posit that having these data as part of the datastore will facilitate data visualizations within Sugar itself.) The attached patch, also shown inline here to sugar-toolkit/src/sugar/activity/activity.py adds a timestamp each time an activity is launched. These timestamps can be used to answer questions such as how often an activity has been used? in school or at home, et al. that are being asked by teachers and also used to provide feedback to the child as to when and where they are working. +1 for the goal of more auto captured Journal metadata, this has come up for discussion numerous times so would be good to finally make at least this one step improvement (and will nudge me towards making an achievements Activity for Journal visualisation in Sugar). I'll leave to others to review your implementation. Regards, --Gary --- a/activity.py +++ b/activity.py @@ -324,6 +324,14 @@ class Activity(Window, gtk.Container): if 'share-scope' in self._jobject.metadata: share_scope = self._jobject.metadata['share-scope'] +if 'launch-times' in self._jobject.metadata: +self._jobject.metadata['launch-times'] = '%s, %d' % ( +self._jobject.metadata['launch-times'], +int(time.time())) +else: +self._jobject.metadata['launch-times'] = \ +str(int(time.time())) + self.shared_activity = None self._join_id = None @@ -376,6 +384,7 @@ class Activity(Window, gtk.Container): jobject.metadata['preview'] = '' jobject.metadata['share-scope'] = SCOPE_PRIVATE jobject.metadata['icon-color'] = icon_color +jobject.metadata['launch-times'] = str(int(time.time())) jobject.file_path = '' # FIXME: We should be able to get an ID synchronously from the DS, http://wiki.laptop.org/go/13.1.0/Release_plan Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org [1] http://git.sugarlabs.org/server/client/trees/master launch-time.patch___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 13.1.0 feature freeze reminder
On Thu, Sep 27, 2012 at 6:18 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Sep 27, 2012 at 5:46 PM, Daniel Drake d...@laptop.org wrote: Hi, Just a quick reminder that we move to bug-fixes-only for 13.1.0 on October 11th which is exactly 2 weeks from now. I have a new feature I would like to propose. This kind of thing needs to go in through Sugar - i.e. you'd need to get it into Sugar-0.98 for it to be included. Thanks Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 13.1.0 feature freeze reminder
On Fri, Sep 28, 2012 at 10:06 AM, Daniel Drake d...@laptop.org wrote: On Thu, Sep 27, 2012 at 6:18 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Sep 27, 2012 at 5:46 PM, Daniel Drake d...@laptop.org wrote: Hi, Just a quick reminder that we move to bug-fixes-only for 13.1.0 on October 11th which is exactly 2 weeks from now. I have a new feature I would like to propose. This kind of thing needs to go in through Sugar - i.e. you'd need to get it into Sugar-0.98 for it to be included. Will try to in time for your deadline. -walter Thanks Daniel -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Auckland Testing Summary 1 September 2012
Only a few weeks late! Auckland Testing Summary 1 September 2012 Who: Fabiana, John, Tabitha, Tom Build 12.1.0 for xo-1.75 (build 21) and also on XO-1.5 Physics: Still doing that odd refresh thing at the top of the screen. Calculate When you do x-1 it shows x-1 (not as superscript - so looks like a subtraction). xy - it is anti-intuitive that the format is eg pow(2,5) - when you call the function it shows pow() so I tend to put eg 2pow(5) - perhaps putting the comma between the brackets when the function is called might make it more explicit. Especially since the reported error provides no hint as to the expected syntax. All trigonometric functions seem to respond but have not checked accuracy of answers. The error reporting provides no information as to what is wrong with either the syntax or the values used thought. For example - asin(3) returns”error at 1: math domain error’. why not explicitly say what values the function is defined for? I think that adding some kind of link to help would be useful - eg not clear how to make a plot, other than trial and error. Measure seems ok. Paint seems ok. Browse can read a page in NZ herald ok. Memorise plays all levels ok - did not try making game Get Books - Icon does not show colour after use, works otherwise Read, when rotated can legibly display a full page of The Metamorphosis by Kafka from Feedbooks, but page down moves slightly less than one page, meaning the inter-page gap moves across the screen as you page down. Should there be a fit page mode so you can read page by page. Browse seems to be blocking popups. This makes replying to email in zimbra difficult. Open link in new window also doesn’t work Wikipedia works. Tam Tam Mini works Record high qual issue Memorize works Ivy XO-1.5 The following activities start and pass basic play test Moon Help Clock Paint Stopwatch Measure Typing turtle Speak Maze Fototoon Memorize Tamtam mini Implode Physics Record Chart Ruler Labyrinth Shutdown from centre of ring doesn’t work powerlogs.tar.bz2 Description: application/bzip ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel