Re: [Sugar-devel] [XSCE] XOVis posts

2014-06-27 Thread Martin Dluhos
On 06/24/2014 05:18 PM, Tim Moody wrote:
> That's great.  Does someone plan to update the xovis pull request for xsce?

I will take a look at it, but others are welcome to jump in as well.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing Sugar 0.102 on XO-1

2014-05-23 Thread Martin Dluhos
On 05/20/2014 05:01 PM, Martin Abente wrote:

> Since Sugar 0.102, gsettings must be used to set these configs.

I see. I've tried:

gsettings set org.sugarlabs maximum-number-of-open-activities 1

and got an error:

failed to commit changes to dconf: Error spawning command line
dbus-launch --autolaunch= --binary-syntax --close-stderr:
Child process exited with code 1

Any ideas on this issue?

> These webservices are like plugins, none of them comes with Sugar. The image I
> provided you is from AU that is why includes harvest (only).

Makes sense. Thanks for clarifying. It would be useful if the screen included a
link to where one can find other web services to install.

Thanks,
Martin
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing Sugar 0.102 on XO-1

2014-05-23 Thread Martin Dluhos
On 05/20/2014 12:31 PM, James Cameron wrote:
> On Tue, May 20, 2014 at 12:08:28PM +0545, Martin Dluhos wrote:
>> * It would be useful if there was a 'deselect all' button when
>> listing software updates in control panel.
> 
> Hmm, I thought there once was, using a right-click.  Does not work?

Right-clicking where? I don't see any option to deselect all with a left-click
or a right-click.

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Testing Sugar 0.102 on XO-1

2014-05-19 Thread Martin Dluhos
Hi,

I've just installed 0.102 on an XO-1 in the office and here are my first
observations:

* I've tried setting limits for the maximum number of open activities using
gconftool as described on the feature page, but they were never honored. I
remember that this worked for me before when testing 0.100 on XO-4. Also,
limiting activity launches to a single instance isn't working either.

* It would be useful if there was a 'deselect all' button when listing software
updates in control panel.

* I only see Harvest among the available web services. The screenshot from
release notes suggests
that I should be able to see more than one icon. Is that correct or do do others
need to be enabled in some way?

Cheerios,
Martin
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugar 0.102 testing images (34002)

2014-05-16 Thread Martin Dluhos
On 04/13/2014 02:41 AM, Martin Abente wrote:
> Hello Everyone,
> 
> I have created new testing images for all XO models. To help us test, please,
> download these images from [1].

Could you please upload the CRC file for the XO-1 image?

Thanks,
Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [support-gang] How to create a keyboard shortcut?

2014-04-06 Thread Martin Dluhos
On 4.4.2014 17:41, Gonzalo Odiard wrote:
> With sugar 0.100 or better, you can use Collections (the .xol files)
> just as activities. Are displayed in the Home, can be updated, 
> uninstalled, and so.
> I imagine that can be useful for you.

Thanks for the tip- I will keep that in mind. For this school program, we are
sticking with Sugar 0.96 for now.

Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [support-gang] How to create a keyboard shortcut?

2014-04-04 Thread Martin Dluhos
On 4.4.2014 16:26, Gonzalo Odiard wrote:
> Nice. Just for curiosity, what is the shortcut needed?

My goal was to make launching E-Paath, a collection of interactive activities
based on Nepali curriculum, as easy as possible. I had difficulty converting it
into a sugarized activity on 12.1.0, so I opted for this solution. With a
shortcut, I launch firefox using Python subprocess library , which then runs
flash-based EPaath applications.

Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [support-gang] How to create a keyboard shortcut?

2014-04-03 Thread Martin Dluhos
On 2.4.2014 17:49, Gonzalo Odiard wrote:
> I don't think that has changed,
> try /usr/share/sugar/extensions/globalkey 

Thanks a bunch. That worked for me!

Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [support-gang] How to create a keyboard shortcut?

2014-04-01 Thread Martin Dluhos
On 1.4.2014 20:18, Gonzalo Odiard wrote:
> Look in sugar/extensions/globalkey directory.
> You can drop a file there, a simple example is viewsource.py
> This is a development question, would be better ask in sugar-devel mailing 
> list

Thanks, Gonzalo. I forgot to mention that I would like to do this on Sugar 0.96
on XO-1. I didn't find such directory in that version of sugar, so I imagine the
mechanism there is different. Do you know how to set it on 0.96?

Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Feedback on using 0.100 in deployment

2014-03-17 Thread Martin Dluhos
On 17.3.2014 03:46, Gonzalo Odiard wrote:
> Hi Martin,
> AU has been using sugar 0.100 images (with a few other fixes we are trying to
> push upstream in 0.102)
> from the beginning of the year, first in a few schools, now is being deployed
> massively.
> The few issues we have found were solved. 

That's very encouraging to hear. OLE's next deployment was originally scheduled
for end of April, but I've just heard might be postponed by a month or two. We
are really looking forward to taking advantage of the new features in 0.100 like
Journal multi-select.

> What hardware are you using?

We are using XO-4 Touch, which comes with OLPC 13.2.

> We are starting the work to create testing images for 0.102, with the 
> objective
> of deploy
> these images in the middle of the year. 
> Would be good know about your plans to share experiences, testing and work.

We will set up a build environment and begin integrating our customizations for
Nepal. We will report back what we find out during this process.

Thanks for the info,
Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Feedback on using 0.100 in deployment

2014-03-16 Thread Martin Dluhos
Hi everyone,

Here at OLE Nepal, we are intending to use Sugar 0.100 as the base image for our
next XO-4 deployment. Is Sugar 0.100 considered stable now? I've been playing
with the latest image a little bit and haven't run into any major issues, so I
am inclined to recommend it to OLE.

I know AU has been using Sugar 0.100 in the recent XO-4 deployments. Can anyone
provide any feedback on using 0.100 in a live deployment in AU or anywhere else?
It would be very useful for us at OLE to know if there are any potential issues
with 0.100 to be aware of before we deploy it in the field.

Thanks in advance for any info.

Cheers,
Martin
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Best time format for logging?

2014-03-06 Thread Martin Dluhos
On 28.2.2014 19:57, Walter Bender wrote:
> It seems time on activity is an oft-requested feature. IMHO, we should
> maintain those data in the activity instance metadata like we do
> launch times et al. Should be a fairly straight-forward patch.

I second this request. Elapsed activity time is what I've been really missing
when looking at Sugar statistics in Nepal. This info is available as part of
sugar-stats, but that is currently not being used in deployments with the
exception of Sameer's India deployment.

Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] The quest for data

2014-01-13 Thread Martin Dluhos
On 12.1.2014 10:12, Sameer Verma wrote:

> Has anyone created the wiki page as yet?

Just created the wiki page:

http://wiki.sugarlabs.org/go/Education_Team/Quest_for_Data

Please help me expand it as you gather feedback from other deployments.

Cheers,
Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] The quest for data

2014-01-10 Thread Martin Dluhos
On 10.1.2014 11:55, Anish Mangal wrote:
> Sorry for being late to the party. Clearly the "quest for data" is a commonly
> shared one, with many different approaches, questions, and reporting/results.
> 
> One of the already mentioned solutions is the sugar-stats package, originally
> developed by Aleksey, which have now been part of dextrose-sugar builds for 
> over
> a year, and the server side (xsce). 
> 
> http://wiki.sugarlabs.org/go/Platform_Team/Usage_Statistics
> 
> The approach we followed was to collect as much data as possible without
> interfering with sugar-apis or code. The project has made slow progress on the
> visualization front, but the data collection front has already been field 
> tested.
> 
> 
> I for one think there are a few technical trade-offs, which lead to larger
> strategy decisions:
> * Context v/s Universality ... Ideally we'd like to collect (activity) context
> specific data, but that requires tinkering with the sugar api itself and each
> activity. The other side is we might be ignoring the other types of data a
> server might be collecting ... internet usage and the various other logfiles 
> in
> /var/log
> 
> * Static v/s Dynamic ... Analyzing journal backups is great, but they are
> ultimately limited in time resolution due to the datastore's design itself. So
> the key question being "what's valuable?" ... a) Frequency counts of 
> activities?
> b) Data such as upto the minute resolution of what activities are running, 
> which
> activity is active (visible & when), collaborators over time ... etc ... 
> 
> In my humble opinion, the next steps could be: 
> 1 Get better on the visualization front. 
> 2 Search for more context. Maybe arm the sugar-datastore to collect higher
> resolution data. 

I think that you are absolutely right, Anish. In my project, I am currently
focused on the former point, but I am running into limitations regarding the
data stored in the datastore. As Sameer suggested, let's create a wiki page with
a list of the data that's the community finds important and then compare that
list with what's currently collected in the datastore.

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] The quest for data

2014-01-10 Thread Martin Dluhos
On 7.1.2014 01:49, Sameer Verma wrote:
> On Mon, Jan 6, 2014 at 12:28 AM, Martin Dluhos  wrote:
>> For visualization, I have explored using LibreOffice and SOFA, but neither of
>> those were flexible to allow for customization of the output beyond some a 
>> few
>> rudimentary options, so I started looking at various Javascript libraries, 
>> which
>> are much more powerful. Currently, I am experimenting with Google Charts, 
>> which
>> I found the easiest to get started with. If I run into limitations with 
>> Google
>> Charts in the future, others on my list are InfoVIS Toolkit
>> (http://philogb.github.io/jit) and HighCharts (http://highcharts.com). Then,
>> there is also D3.js, but that's a bigger animal.
> 
> Keep in mind that if you want to visualize at the school's local
> XS[CE] you may have to rely on a local js method instead of an online
> library.

Yes, that's a very good point.  Originally, I was only thinking about collecting
and visualizing the information centrally, but there is no reason why it
couldn't be viewed by teachers and school administrators on the schoolserver
itself. Thanks for the warning.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] The quest for data

2014-01-06 Thread Martin Dluhos
On 4.1.2014 10:44, Sameer Verma wrote:

> True. Activities do not report end times, or whether the frequency
> count is for the number of times a "new" activity was started, or if
> it was simply a resumption of the previous instance. Walter had
> indicated that thre is some movement in this direction to gather end
> times. 

This would be indeed very useful. Is anyone working on implementing these 
features?

> Yes, the methods that use the datastore as a source rely on the
> Journal, but the sugar-stats system does not. I believe it collects in
> GNOME as well.

Have you done any processing, analysis, or visualization of the sugar-stats
data? Is that something that you are planning to integrate into OLPC Dashboard?

> 4) The reporting can be done either via visualization, and/or by
> generating periodic reports. The reporting should be specific to the
> person(s) looking at it. No magic there.

I think that many questions (some of which we already mentioned above) can be
answered with reports and visualizations, which are not deployment specific. For
example, those you are targeting with OLPC dashboard.

> 
> How the data will be used remains to be seen. I have not seen it being
> used in any of the projects that I know of. If others have seen/done
> so, it would help to hear from them. I know that in conversations and
> presentations to decision makers, the usual sore point is "can you
> show us what you have so far?" For Jamaica, we have used a basic
> exploratory approach on the Journal data, corroborated with structured
>  interviews with parents, teachers, etc. So, for instance, the data we
> have shows a relatively large frequency of use of TuxMath (even with
> different biases). However, we have qualitative evidence that supports
> both usage of TuxMath and improvement in numeracy (standardized test).
> We can support strong(er) correlation, but cannot really establish
> causality. The three data points put together make for a compelling
> case. 

I think this is a really important point to emphasize: None of these approaches
to evaluation provides the complete picture, but all of these used in aggregate
can provide useful insights. Here at OLE Nepal, we already use standardized
testing to compare students performance before and after the program launch. We
also follow up with teachers through conversations using surveys on regular
support visit. I agree with Sameer that supplementing those with statistical
data can make for a much stronger case.

Martin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] The quest for data

2014-01-06 Thread Martin Dluhos
On 3.1.2014 04:09, Sameer Verma wrote:
> Happy new year! May 2014 bring good deeds and cheer :-)
> 
> Here's a blog post on the different approaches (that I know of) to data
> gathering across different projects. Do let me know if I missed anything.
> 
> cheers,
> Sameer
> 
> http://www.olpcsf.org/node/204

Thanks for putting together the summary, Sameer. Here is more information about
my xo-stats project:

The project's objective is to determine how XOs are used in Nepalese
classrooms, but I am intending for the implementation to be general enough, so
that it can be reused by other deployments as well. Similarly to other projects
you've mentioned, I separated the project into four stages:

1) collecting data from the XO Journal backups on the schoolserver
2) extracting the data from the backups and storing it in an appropriate format
for analysis and visualization
3) statistically analyzing and visualizing the captured data
4) formulating recommendations for improving the program based on the analysis.

Stage 1 is already implemented on both the server side as well as the client
side, so I first focused on the next step of extracting the data. Initially, I
wanted to reuse an existing script, but I eventually found that none of them
were general enough to meet my criteria. One of my goals is to make the script
work on any version of Sugar.

Thus, I have been working on process_journal_stats.py, which takes a '/users'
directory with XO Journal backups as input, pulls out the Journal metadata and
outputs them in a CSV or JSON file as output.

Journal backups can be in a variety of formats depending on the version
of Sugar. The script currently supports backup format present in Sugar versions
0.82 - 0.88 since the laptops distributed in Nepal are XO-1s running Sugar
0.82. I am planning to add support for later versions of Sugar in the next
version of the script.

The script currently supports two ways to output statistical data. To produce
all statistical data from the Journal, one row per Journal record:

process_journal_stats.py all

To extract statistical data about the use of activities on the system, use:

process_journal_stats.py activity

The full documentation with all the options are described in README at:

https://github.com/martasd/xo-stats

One challenge of the project has been determining how much data processing to do
in the python script and what to leave for the data analysis and visualization
tools later in the workflow. For now, I stopped adding features to the script
and I am  evaluating the most appropriate tools to use for visualizing the data.

Here are some of the questions I am intending to answer with the visualizations
and analysis:

* How many times do installed activities get used? How does the activity use
differ over time?
* Which activities are children using to create files? What kind of files are
being created?
* Which activities are being launched in share-mode and how often?
* Which part of the day do children play with the activities?
* How does the set of activities used evolve as children age?

I am also going to be looking how answers to these questions vary from class to
class, school to school, and region to region.

As Martin Abente and Sameer mentioned above, our work needs to be informed by
discussions with the stakeholders- children, educators, parents, school
administrators etc. We do have educational experts among the staff at OLE, who
have worked with more than 50 schools altogether, and I will be talking to them
as I look beyond answering the obvious questions.

For visualization, I have explored using LibreOffice and SOFA, but neither of
those were flexible to allow for customization of the output beyond some a few
rudimentary options, so I started looking at various Javascript libraries, which
are much more powerful. Currently, I am experimenting with Google Charts, which
I found the easiest to get started with. If I run into limitations with Google
Charts in the future, others on my list are InfoVIS Toolkit
(http://philogb.github.io/jit) and HighCharts (http://highcharts.com). Then,
there is also D3.js, but that's a bigger animal.

Alternatively or perhaps in parallel, I am also willing to join efforts to
improve the OLPC Dashboard, which is trying to answer very similar questions to
mine.

I am looking forward to collaborating with everyone who is interested in
exploring ways to analyze and visualize OLPC/Sugar data in a interesting and
meaningful way.

Cheers,
Martin
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Public Journal Backup Data

2013-12-03 Thread Martin Dluhos
I am interested in testing scripts which pull out activity metadata from Journal
backups rsynced to a schoolserver by ds-backup. Does anyone know where I could
download some sample dummy or real Journal backups of a least 10 XOs?

Thanks,
Martin
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel