[sugar] Idea: Aerial photographs of all villages where XO's are deployed

2008-06-30 Thread Urko Fernandez
I have this idea while reading an article about OLPC published on
businessweek* 
They talked, among other things, about a boy who seemed to think
Internet was inside the XO-1, and I thought it could be a good idea to
have this boy's village or town in google maps so he could learn in a
simple glance where in the world he is, the size and proportions of his
hometown, his country and the world itself.

This would help children assimilate better those concepts, as they have
as a starting point something they know very well, and they could see
what they are being taught. This would make also their imagination go
wild. As google is a member of the OLPC foundation, they could at least
integrate aerial photos easily if they're available. Governments could
use helicopters or airplanes to take those pics.

There's no OpenGL yet in sugar, and the application (google earth)
relays heavily in internet traffic, but internet prices would eventually
be cheap and this could be useful to teach some concepts. It's just an
idea, I wanted to share it before I forget it, it happens to me
everytime.

*http://www.businessweek.com/magazine/content/08_24/b4088048125608.htm

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


[sugar] Idea: Aerial photographs of all villages where XO's are deployed

2008-06-06 Thread Urko Fernandez
I have this idea while reading an article about OLPC published on
businessweek* 
They talked, among other things, about a boy who seemed to think
Internet was inside the XO-1, and I thought it could be a good idea to
have this boy's village or town in google maps so he could learn in a
simple glance where in the world he is, the size and proportions of his
hometown, his country and the world itself.

This would help children assimilate better those concepts, as they have
as a starting point something they know very well, and they could see
what they are being taught. This would make also their imagination go
wild. As google is a member of the OLPC foundation, they could at least
integrate aerial photos easily if they're available. Governments could
use helicopters or airplanes to take those pics.

There's no OpenGL yet in sugar, and the application (google earth)
relays heavily in internet traffic, but internet prices would eventually
be cheap and this could be useful to teach some concepts. It's just an
idea, I wanted to share it before I forget it, it happens to me
everytime.

*http://www.businessweek.com/magazine/content/08_24/b4088048125608.htm


___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Idea: Aerial photographs of all villages where XO's are deployed

2008-06-06 Thread Urko Fernandez

 
 can the XO can access Google maps?
 
I don't have an XO-1, but Google Maps works in the browse activity
under sugar-jhbuild.

 
 Beware: there's people who are afraid of Big Brother and might mind 
 their villages being in the public's eye.  (Apparently the Germans have 
 some law about that)
 
There's people also afraid of being photographed, they said the camera
steals their soul. That's just a cultural issue, it's just a picture,
albeit a very descriptive and informative one. Security through
obscurity never works.

Urko

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Collaboration in an activity

2008-05-17 Thread Urko Fernandez
I've implemented some sort of collaboration on my activity. Code is in
the repository
(http://dev.laptop.org/git?p=activities/assimilate;a=summary) 

Whenever users are collaborating, everything works more or less, signals
are send and received and all partners have the same content on their
instances, but if a user goes offline, what's the best way to keep
content in sync when she joins again the activity? Is there a way to
store signals+data somewhere?

I would like to know the best approach before I start coding anything in
this regard, merging two async-ed activities seems a daunting task.
Thanks again for all the help, I've ended up using D-Bus tubes to send
the file at the beginning.
Cheers,

Urko

 
 Fyi: This is what Write does. It sends binary data over D-Bus tubes,
 which sometimes (on the initial join, just like in your situation)
 happens to be an entire word processing file. We never send Python
 objects over the D-Bus tube.
 
   Marc
 

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


[sugar] Collaboration in an activity

2008-04-30 Thread Urko Fernandez
Hi, 

Before I start coding any collaboration implementation for my activity,
I would like to know which approach is best for what I'm willing to do.
In my scenario, if a user joins an activity for the first time, she
downloads the file, which in my case is an SQLite database. Next time,
she would ask for new content to fill/merge her database, so I was
thinking about sending query results.
For sending files I've seen that stream tubes are used in Read activity,
and many examples use D-Bus tubes (Write, Web, Connect...) for sending
python objects. Can I send binary files using D-Bus tubes? Is it
possible to send any python object through dbus? I could send the
database in some more complex python data type.

Best regards,

Urko.

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] jhbuild issues

2008-04-20 Thread Urko Fernandez
I've build it from scratch on Ubuntu Hardy Heron (64bit). Compilation
went flawlessly, but there's no Journal and I need to replace a file in
Ubuntu's system library (ticket #6827) to make it work.

On Sun, 2008-04-20 at 04:14 +0200, Marco Pesenti Gritti wrote:
 On Sat, Apr 19, 2008 at 11:13 PM, anthony taranto
 [EMAIL PROTECTED] wrote:
 
  2. sugar-jhbuild run
 
  when i reun sugar-jhbuild run i get this:
 
  Traceback (most recent call last):
File /home/voltron/proj/olpc/sugar-jhbuild/build/bin/sugar-she
  n module
  from main import main
 File /home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
  line 35, in module
  import view.Shell
File /home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
  .py, line 38, in module
   from view.frame import frame
File /home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
  /frame.py, line 30, in module
  from view.frame.activitiestray import ActivitiesTray
File /home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
   /activitiestray.py, line 24, in module
  from sugar.graphics.tray import HTray
File /home/voltron/proj/olpc/sugar-jhbuild/build/lib/python2.5
  sugar/graphics/tray.py, line 22, in module
   from sugar.graphics.palette import Palette, ToolInvoker
File /home/voltron/proj/olpc/sugar-jhbuild/build/lib/python2.5
  sugar/graphics/palette.py, line 29, in module
  from sugar.graphics.icon import Icon
 File /home/voltron/proj/olpc/sugar-jhbuild/build/lib/python2.5
  sugar/graphics/icon.py, line 28, in module
  from sugar.graphics.palette import Palette, CanvasInvoker
  ImportError: cannot import name Palette
 
 
 This is a circular dep, I pushed a work around.
 
 Marco
 ___
 Sugar mailing list
 Sugar@lists.laptop.org
 http://lists.laptop.org/listinfo/sugar

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar