Re: [Sugar-devel] Backup/Restore Sugar implementation

2013-12-06 Thread Gonzalo Odiard
Thanks all by the comments. I will improve the messages in the next
submission.

Gonzalo


On Thu, Dec 5, 2013 at 8:40 PM, Iain Brown Douglas 
i...@browndouglas.plus.com wrote:

 On Fri, 2013-12-06 at 10:26 +1100, James Cameron wrote:
  On Thu, Dec 05, 2013 at 06:02:40PM -0500, Walter Bender wrote:
   Maybe:
  
   Make a copy of the contents of your Journal.

 For safety, make a copy of your journal

  
   Restore the contents of your Journal.

 Restore your journal, from your safe copy

 
  While we programmers perceive the Journal as a thing that has separate
  contents, a learner is more likely to perceive the Journal as the
  contents, and this perception does not need to be corrected.
 
  So I agree with the suggestion, but without the words the contents
  of.
 



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


[Sugar-devel] python_joven

2013-12-06 Thread Flavio Danesse
[image: Imágenes integradas 1]

web https://sites.google.com/site/pythonjoven/
photographshttps://sites.google.com/site/pythonjoven/home/fotografias
videos
and 
interviewshttps://sites.google.com/site/pythonjoven/home/videos-y-entrevistas
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] python_joven

2013-12-06 Thread Code Raguet
Congratulations, Agustín Zubiaga!

Nice work kickstarting and mentoring this kind of students, Flavio, Gonzalo
and Manuel!


On Fri, Dec 6, 2013 at 2:32 PM, Flavio Danesse fdane...@gmail.com wrote:

 [image: Imágenes integradas 1]

 web https://sites.google.com/site/pythonjoven/  
 photographshttps://sites.google.com/site/pythonjoven/home/fotografias videos
 and 
 interviewshttps://sites.google.com/site/pythonjoven/home/videos-y-entrevistas

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


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


Re: [Sugar-devel] python_joven

2013-12-06 Thread Gonzalo Odiard
Python Joven is a example to follow, I hope we see more places doing
something similar.
Is really good have all the tutorials published!
Thanks Flavio!

Gonzalo


On Fri, Dec 6, 2013 at 2:32 PM, Flavio Danesse fdane...@gmail.com wrote:

 [image: Imágenes integradas 1]

 web https://sites.google.com/site/pythonjoven/  
 photographshttps://sites.google.com/site/pythonjoven/home/fotografias videos
 and 
 interviewshttps://sites.google.com/site/pythonjoven/home/videos-y-entrevistas

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


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


[Sugar-devel] Unrelated, but funny remixes!

2013-12-06 Thread Sameer Verma
https://www.facebook.com/media/set/?set=a.10151878858388752type=1l=47b3242b14

Thx to Christoph, Bernie, Mike Lee, Martin Abente, and Adam Holt.

cheers,
Sameer
-- 
Sameer Verma, Ph.D.
Professor, Information Systems
San Francisco State University
http://verma.sfsu.edu/
http://commons.sfsu.edu/
http://olpcsf.org/
http://olpcjamaica.org.jm/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] python_joven

2013-12-06 Thread Rogelio Mita
Congratulations!!! Nice work guys =) !


2013/12/6 Gonzalo Odiard gonz...@laptop.org

 Python Joven is a example to follow, I hope we see more places doing
 something similar.
 Is really good have all the tutorials published!
 Thanks Flavio!

 Gonzalo


 On Fri, Dec 6, 2013 at 2:32 PM, Flavio Danesse fdane...@gmail.com wrote:

 [image: Imágenes integradas 1]

 web https://sites.google.com/site/pythonjoven/  
 photographshttps://sites.google.com/site/pythonjoven/home/fotografias 
 videos
 and 
 interviewshttps://sites.google.com/site/pythonjoven/home/videos-y-entrevistas

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



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




-- 
Roger

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


[Sugar-devel] [PATCH] Stopwatch: Replace cPickle by json

2013-12-06 Thread Ignacio Rodríguez
From: Ignacio Rodríguez ignaciorodrig...@sugarlabs.org

---
 activity.py | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/activity.py b/activity.py
index 6660fa7..7a88367 100644
--- a/activity.py
+++ b/activity.py
@@ -28,7 +28,11 @@ import stopwatch
 import gobject
 import dobject
 
-import cPickle
+try:
+import json
+except ImportError:
+import simplejson as json
+
 import gtk.gdk
 
 SERVICE = org.laptop.StopWatch
@@ -169,7 +173,7 @@ class StopWatchActivity(Activity):
 
 def read_file(self, file_path):
 f = open(file_path, 'r')
-q = cPickle.load(f)
+q = json.loads(f.read())
 f.close()
 self.gui.set_all(q)
 
@@ -177,7 +181,8 @@ class StopWatchActivity(Activity):
 self.metadata['mime_type'] = 'application/x-stopwatch-activity'
 q = self.gui.get_all()
 f = open(file_path, 'w')
-cPickle.dump(q, f)
+data = json.dumps(q)
+f.write(data)
 f.close()
 
 def _active_cb(self, widget, event):
-- 
1.8.1.2

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


[Sugar-devel] Sugar Digest 2013-12-06

2013-12-06 Thread Walter Bender
==Sugar Digest==

1. A typical evening on the #sugar irc channel:

[19:59]  * walterbender heads to dinner... no more reviews for a few hours
[20:00] Foo I'm tired :P
[20:00] Bar By the way, How old are you
[20:00] Foo Bar, 14 :P
[20:00] Bar oh, I am 10
[20:00] Foo :)
[20:00] Foo mini hacker :P
[20:01] Bar :)
[20:01] Bar lol
[20:01] Foo :P
[20:02] Bar So besides this, what do you do for fun?
[20:02] Foo in linux? None :P
[20:03] Foo Programming in python is fun :)
[20:03] Foo In windows play games (WoW)
[20:03] Bar Oh nice, I play ambit of Wow
[20:03] Foo :P
[20:03] Bar a bit lol
[20:03] Foo I didn't like lol
[20:03] Foo (Its #OT)
[20:04] Bar lol? the key or the game xD
[20:04] Foo the game :P
[20:06] Bar lol, I ment I play a bit of Wow, so I said a bit lol
since I said ambit wow
[20:06] Foo :P
[20:06] Bar xD
[20:06] Foo what are building now?
[20:07] Bar umm.
[20:07] Foo dnarvaez, I founded a bug in sugar-build
[20:07] Bar So far Volo
[20:08] Foo Bar, ok
[20:10] Foo dnarvaez, http://sugarlabs.org/~ignacio/Archivos/Volume1.png
[20:10] Foo http://sugarlabs.org/~ignacio/Archivos/Volume.png
[20:14] Bar how big is karma?
[20:14] Foo I don't know
[20:22] Bar ignacio, so far I am at the Sugar tool kit
[20:44] Foo Bar, works?
[20:48] Bar yup
[20:49] Foo Bar, if you need more help, sent me a mail

1. Free software gives its users the license to make changes. Sugar
tries to go a step further. It gives its users the means to make
changes. And there is evidence that in fact our users do make changes.

2. I got off the plane from Malaysia just in time to get on line for
the start of Google Code In. We've been at it two and 1/2 weeks and we
have almost 70 tasks completed by 29 participants. (There are many
more students working on their first task.)

3. Had a chance to visit some old friends and colleagues in Brazil
last week, Jose Valente and Cecilia Baranauskas. I gave the keynote at
CBIE 2013 at UNICAMP and had a chance to talk about Sugar and
pedagogy. Because it was Thanksgiving week, I could not resist showing
a picture of Bernie in front of a table full of pies. I then explained
the Thanksgiving tradition of family, friends, and food. I bake
special pies and cakes for Thanksgiving and I use tools that I only
take out ofr special occassions. These tools are on a high shelf in my
kitchen. So I have to reach for them. Those of you who know me, know
that my coffee maker is an everyday tool, so it lives in a place of
honor on a low shelf, where I have easy access. What should be on
every learner's low shelf? What should be ready at hand? I spent the
rest of the talk arguing that programming should be on every learner's
low shelf.

=== In the community ===

4. Many thanks to Danishka Navin, Jeff Plaman, and the faculty at
UWCSEA [1], where we held a Turtle Art Day on November 15. A classroom
full of fifth graders spent their morning programming. I quote on of
the students below:

:In a program called Sugar we learnt to make lots of different
patterns by commanding the turtle to do things. E.g. Arc 90o and go
forward. Using this we could create many different things including
paint which you could control using your voice! I really enjoyed it
because I never knew something so complicated could be really fun and
quite simple as using a comande [SIC]!  I never thought I could be
quite capable of doing something like that.

Lunch was Indian food from the cafeteria, including freshly baked nan.
If food was that good when I was in school, I may have been more
attentive.

The afternoon was spent in discussions with teachers about pedagogy
and strategy for introducing/leveraging Sugar in both UWCSEA and the
various programs that the students encounter through their community
service efforts. One attraction of Sugar is that it presents a level
playing field.

That evening we piled into a van and drove to Malacca.

5. TK Kang organized olpc BaseCamp @ Malacca 2013 [2] from November 16
to 18. We met up with many old friends (Bernie, whom I never see in
Cambridge, was in Malacca). We spent a lot of time with both turtle
and pedagogy. I ran a very fast-paced workshop and then joined a
thoughtful discussion of next steps in outreach to and support for
teachers. Jeff will be organizing a regular series of learning team
meetings for people in the region (East Asia) to complement the
meeting we hold in Spanish in the West.

=== Tech Talk ===

6. Flavio Danesse shared the Python Joven site with me [3]. I am super
impressed and super jealous of their cool logo.

7. Please visit the Testing page [4] for Sugar set up by Gonzalo.

6. Aleksey Lim has set up a new stats server for Sugar [5].

=== Sugar Labs ===

6. Please visit our planet [6].



[1] https://www.uwcsea.edu.sg
[2] http://olpcbasecamp.blogspot.com/
[3] https://sites.google.com/site/pythonjoven/
[4] http://wiki.sugarlabs.org/go/0.100/Testing
[5] http://stats.sugarlabs.org/activities.sugarlabs.org/
[6] http://planet.sugarlabs.org


-walter

-- 
Walter Bender
Sugar Labs

[Sugar-devel] [ASLO] Release Butiá Firmware-6

2013-12-06 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4621

Sugar Platform:
0.82 - 0.100

Download Now:
http://activities.sugarlabs.org/downloads/file/28834/butia_firmware-6.xo

Release notes:
-fixing the memory check error - skip first 64bytes
-get firmware name and version dinamically
-update binaries for ARM, 32 and 64 bits
-new translations


Sugar Labs Activities
http://activities.sugarlabs.org

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