Re: Journal integration for Scratch

2009-01-12 Thread Philipp Kocher


Tomeu Vizoso wrote:
 On Thu, Jan 8, 2009 at 04:50, Philipp Kocher philipp.koc...@gmx.net wrote:
 Bert Freudenberg wrote:
 On 18.12.2008, at 08:08, Philipp Kocher wrote:
 One more thing, the scratch icon is not shown in the journal for files
 with the scratch mimetype. I think the file
 /usr/share/sugar/data/mime.defaults has to be adapted to include the
 scratch-mimetype.

 It just has to be listed in the activity bundle's info file:

 http://wiki.laptop.org/go/Activity_bundles#.info_File_Format

 - Bert -


 I added the mime_types attribute to the activities.info file and the
 icon attribute is set as well. But still the Scratch icon is not shown
 in the Journal (the default octet-stream icon is shown) even so the
 Scratch mime-type is set in the metadata file in the datastore.

 I think the problem is connected to the gtk theme (gtk-update-icon-cache
 and update-mime-database). e.g. etoys has file etoys.xml in
 /usr/share/mime/packages and probably the icon in the icon cache.

 How can I put the icon in the icon-cache?
 
 Hi, Sugar will put it there for you when the .xo bundle is installed.
 That means that if the activity bundle gets installed from outside
 Sugar, the mime db won't be updated.
 
 So, I would recommend you to uninstall Scratch from Sugar, then
 installing the .xo bundle by downloading it with Browse or by copying
 it into the journal from an usb stick.
 
 HTH,
 
 Tomeu
 

Thanks for the input, but I wasn't successful.

I tried the following:
1. Extracted the files of Scratch-12.xo
2. Added the line mime_types = application/x-scratch-project to the 
activity.info file
2. Created a new archive file Scratch-12_mime.xo with the change
3. Erased activity Scratch on the XO
4. Copied the file Scratch-12_mime.xo to the Journal
5. Started/Installed Scratch-12_mime.xo
6. Copied Scratch project to the Journal with copy-to-journal test.sb 
-m 'application/x-scratch-project' -t test.sb

test.sb still has the standard icon and not the Scratch cat icon in the 
Journal.

Which activity is using the mime db update feature? I would expect a new 
timestamp for the file /usr/share/mime/mime.cache after installing the 
activity.
Can I execute the mime db update on the command line?

Regards,
Philipp
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Tomeu Vizoso
[adding sugar-devel to the cc list]

On Mon, Jan 12, 2009 at 09:42, Philipp Kocher philipp.koc...@gmx.net wrote:


 Tomeu Vizoso wrote:

 On Thu, Jan 8, 2009 at 04:50, Philipp Kocher philipp.koc...@gmx.net
 wrote:

 Bert Freudenberg wrote:

 On 18.12.2008, at 08:08, Philipp Kocher wrote:

 One more thing, the scratch icon is not shown in the journal for files
 with the scratch mimetype. I think the file
 /usr/share/sugar/data/mime.defaults has to be adapted to include the
 scratch-mimetype.

 It just has to be listed in the activity bundle's info file:

 http://wiki.laptop.org/go/Activity_bundles#.info_File_Format

 - Bert -


 I added the mime_types attribute to the activities.info file and the
 icon attribute is set as well. But still the Scratch icon is not shown
 in the Journal (the default octet-stream icon is shown) even so the
 Scratch mime-type is set in the metadata file in the datastore.

 I think the problem is connected to the gtk theme (gtk-update-icon-cache
 and update-mime-database). e.g. etoys has file etoys.xml in
 /usr/share/mime/packages and probably the icon in the icon cache.

 How can I put the icon in the icon-cache?

 Hi, Sugar will put it there for you when the .xo bundle is installed.
 That means that if the activity bundle gets installed from outside
 Sugar, the mime db won't be updated.

 So, I would recommend you to uninstall Scratch from Sugar, then
 installing the .xo bundle by downloading it with Browse or by copying
 it into the journal from an usb stick.

 HTH,

 Tomeu


 Thanks for the input, but I wasn't successful.

 I tried the following:
 1. Extracted the files of Scratch-12.xo
 2. Added the line mime_types = application/x-scratch-project to the
 activity.info file
 2. Created a new archive file Scratch-12_mime.xo with the change
 3. Erased activity Scratch on the XO
 4. Copied the file Scratch-12_mime.xo to the Journal
 5. Started/Installed Scratch-12_mime.xo
 6. Copied Scratch project to the Journal with copy-to-journal test.sb -m
 'application/x-scratch-project' -t test.sb

Ok, what you just did will tell Sugar that Scratch is able to open
files with the mime type 'application/x-scratch-project'. But this
will not affect the icon of those files.

 test.sb still has the standard icon and not the Scratch cat icon in the
 Journal.

 Which activity is using the mime db update feature?

Don't know myself :/

 I would expect a new
 timestamp for the file /usr/share/mime/mime.cache after installing the
 activity.

Well, activities are installed by a normal user so that file won't be
modified. Instead, the cache will live in ~/.local/share/mime

 Can I execute the mime db update on the command line?

Yes: update-mime-database ~/.local/share/mime

If you want to get the details and fully understand how this is done,
you can check this code:

http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/bundle/activitybundle.py#line318

That gets executed when a bundle is unpacked and registered in the
shell. As you can see, if a file activity/mimetypes.xml is found in
the exploded dir, a symlink will be made to this file form the mime
dir and the updater script will be run.

HTH,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: child protection + anti-cheating

2009-01-12 Thread Carol Farlow Lerche
This exists in http://italc.sourceforge.net/home.php

On Sun, Jan 11, 2009 at 9:33 PM, Wade Brainerd wad...@gmail.com wrote:

 Something I hope will end up in Sugar someday are more classroom
 management tools.

 Maine's Apple-based classroom laptop system gives the teacher the
 ability to remotely watch the screens of all the kids in the room.  No
 need to stand at the back of the classroom.

 Just the knowledge that the teacher is capable of doing this is
 usually enough to keep kids from IMing answers to each other.

 Perhaps a 'Classroom' activity will make it onto the AT proposals list :)

 -Wade

 On 1/10/09, Martin Langhoff martin.langh...@gmail.com wrote:
  On Sat, Jan 10, 2009 at 11:25 PM, Chris Ball c...@laptop.org wrote:
 How do we prevent cheating between students?
 
  You can't prevent this.
 
  Exactly. I've been working with online tools for education for ~8
  years now, and it's interesting to note - paper+pen technology does
  not prevent cheating either.
 
  A few times I've been confronted with this cannot possibly be used in
  education until there is no way of cheating with it, ignoring that
  books, pen and paper are *great* for cheating. And also for smuggling
  questionable printed materials into school too -- books and folders
  can hide magazines with porn or political manifestos.
 
  Ban paper, put anyone who owns a printer in jail :-)
 
  cheers,
 
 
 
  martin
  --
   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
  ___
  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




-- 
Don't think for a minute that power concedes. We have to work like our
future depends on it.  -- Barack Obama
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] XS L10n

2009-01-12 Thread Martin Langhoff
On Sat, Jan 10, 2009 at 1:32 AM, Chris Leonard cjlhomeaddr...@gmail.com wrote:
 Just out of curiousity.  Are the UI strings in the XS builds beginning to
 stabilize to the point that it might make sense to create a POT file for the
 localization community to start working on?

(Chris - your question is very good, timely and relevant, so CC'ing
server-devel, hope that's ok)

There are 2 parts that may be localised...

  - The commandline tools - low priority, only exposed to the sysadmin
team that manages the deployment. They have to be unix/linux geeks
anyway...

  - The XS UI: Moodle. This is what's worthwhile translating. We'll
use Moodle with a couple of customisations. The customisations are
still evolving but Moodle's strings are well established. The problem
is that it doesn't use Pootle, it uses its own translation strings
stuff. I've been discussing this... see

   Some discussion on Moodle.org (use the login-as-guest button)
   http://moodle.org/mod/forum/discuss.php?d=93360

   Discussion on server-devel
   http://www.mail-archive.com/server-de...@lists.laptop.org/msg01419.html

   Look for 'pootle' in this irc meeting log
   http://wiki.laptop.org/go/XS_Conf_08_MAR_25_Notes

   Googling right now, I see someone has a pootle-to-moodle
translation tool, w00t!?
   http://osdir.com/ml/misc.translate.devel/2007-07/msg00018.html

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
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg
On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

Is there a way to assign icons for files other than by saving it in an  
activity?

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Tomeu Vizoso
On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de wrote:
 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it in an
 activity?

Currently, only by changing the mime-type.

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Eben Eliason
This is something I've briefly discussed with Marco in the past.  It
seems a natural extension of the idea of objects as first class
citizens of Sugar to allow those objects to have custom icons and
identities.  Right now, we have no such support.

The most natural way (at least for me, as a Mac user) to visualize
this idea is in the form of type/creator associations, by which an
object would be assigned the icon for type t as defined by its creator
c. This scheme is nice because it makes the effort on the part of
activities rather simple (most importantly, static): define your set
of icons and the mime-types the represent within your activity bundle,
and the system will always apply the correct icons.

However, it seems this can't work for Sugar.  I suppose we could
simply allow an activity to assign an icon to a given object at will,
as you mention.  It might be the best way to achieve a similar effect,
albeit with more effort on the part of activities.

- Eben


On Mon, Jan 12, 2009 at 10:52 AM, Bert Freudenberg b...@freudenbergs.de wrote:
 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it in an
 activity?

 - Bert -


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

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg

On 12.01.2009, at 17:03, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg  
 b...@freudenbergs.de wrote:
 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it in  
 an
 activity?

 Currently, only by changing the mime-type.


Maybe I misunderstood then. How is the icon for a mime type such as  
application/x-scratch-project found then?

- Bert -

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Tomeu Vizoso
On Mon, Jan 12, 2009 at 17:38, Bert Freudenberg b...@freudenbergs.de wrote:

 On 12.01.2009, at 17:03, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de
 wrote:

 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it in an
 activity?

 Currently, only by changing the mime-type.


 Maybe I misunderstood then. How is the icon for a mime type such as
 application/x-scratch-project found then?

We are using the xdg mime database, the mimetypes.xml file contained
in activities is added to that database. So that's the mechanism
through which activities can associate icons to mime types.

In a python shell inside strace -e open:

 gio.content_type_get_icon('image/png')
open(/home/tomeu/.local/share//mime/mime.cache, O_RDONLY|O_LARGEFILE) = 3
open(/home/tomeu/sugar-jhbuild/install/share/mime/mime.cache,
O_RDONLY|O_LARGEFILE) = 3
open(/usr/share/mime/mime.cache, O_RDONLY|O_LARGEFILE) = 3
open(/usr/local/share//mime/aliases, O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open(/usr/local/share//mime/subclasses, O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open(/usr/local/share//mime/icons, O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open(/usr/local/share//mime/generic-icons, O_RDONLY|O_LARGEFILE) =
-1 ENOENT (No such file or directory)
open(/usr/share//mime/mime.cache, O_RDONLY|O_LARGEFILE) = 3
open(/usr/share/gdm//mime/aliases, O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open(/usr/share/gdm//mime/subclasses, O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open(/usr/share/gdm//mime/icons, O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open(/usr/share/gdm//mime/generic-icons, O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
gio.ThemedIcon at 0xb7de8c84: image-png, gnome-mime-image-png, image-x-generic

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg

On 12.01.2009, at 17:55, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 17:38, Bert Freudenberg  
 b...@freudenbergs.de wrote:

 On 12.01.2009, at 17:03, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de 
 
 wrote:

 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it  
 in an
 activity?

 Currently, only by changing the mime-type.


 Maybe I misunderstood then. How is the icon for a mime type such as
 application/x-scratch-project found then?

 We are using the xdg mime database, the mimetypes.xml file contained
 in activities is added to that database. So that's the mechanism
 through which activities can associate icons to mime types.


So what would the Scratch activity have to do so files put into the  
Journal (maybe by downloading) are displayed using a Scratch icon  
rather than the generic document icon?

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Tomeu Vizoso
On Mon, Jan 12, 2009 at 18:07, Bert Freudenberg b...@freudenbergs.de wrote:

 On 12.01.2009, at 17:55, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 17:38, Bert Freudenberg b...@freudenbergs.de
 wrote:

 On 12.01.2009, at 17:03, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de
 wrote:

 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it in an
 activity?

 Currently, only by changing the mime-type.


 Maybe I misunderstood then. How is the icon for a mime type such as
 application/x-scratch-project found then?

 We are using the xdg mime database, the mimetypes.xml file contained
 in activities is added to that database. So that's the mechanism
 through which activities can associate icons to mime types.


 So what would the Scratch activity have to do so files put into the Journal
 (maybe by downloading) are displayed using a Scratch icon rather than the
 generic document icon?

Shipping a mimetypes.xml file inside the bundle as explained here:

http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure

Sugar will call update-mime-database and will merge that file into the
xdg mime database.

I think that John is already trying this.

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Eben Eliason
On Mon, Jan 12, 2009 at 12:11 PM, Tomeu Vizoso to...@sugarlabs.org wrote:
 On Mon, Jan 12, 2009 at 18:07, Bert Freudenberg b...@freudenbergs.de wrote:

 On 12.01.2009, at 17:55, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 17:38, Bert Freudenberg b...@freudenbergs.de
 wrote:

 On 12.01.2009, at 17:03, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de
 wrote:

 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it in an
 activity?

 Currently, only by changing the mime-type.


 Maybe I misunderstood then. How is the icon for a mime type such as
 application/x-scratch-project found then?

 We are using the xdg mime database, the mimetypes.xml file contained
 in activities is added to that database. So that's the mechanism
 through which activities can associate icons to mime types.


 So what would the Scratch activity have to do so files put into the Journal
 (maybe by downloading) are displayed using a Scratch icon rather than the
 generic document icon?

 Shipping a mimetypes.xml file inside the bundle as explained here:

 http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure

 Sugar will call update-mime-database and will merge that file into the
 xdg mime database.

What does this merge do with conflicts?  It seems we might need a way
for the most recent activity which has used a given object to apply
its own icon for it, which isn't covered by this case.  Would the most
recently installed activity trump the rest?

- Eben


 I think that John is already trying this.

 Regards,

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

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Tomeu Vizoso
On Mon, Jan 12, 2009 at 18:16, Eben Eliason e...@laptop.org wrote:
 On Mon, Jan 12, 2009 at 12:11 PM, Tomeu Vizoso to...@sugarlabs.org wrote:
 On Mon, Jan 12, 2009 at 18:07, Bert Freudenberg b...@freudenbergs.de wrote:

 On 12.01.2009, at 17:55, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 17:38, Bert Freudenberg b...@freudenbergs.de
 wrote:

 On 12.01.2009, at 17:03, Tomeu Vizoso wrote:

 On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de
 wrote:

 On 12.01.2009, at 10:16, Tomeu Vizoso wrote:

 Ok, what you just did will tell Sugar that Scratch is able to open
 files with the mime type 'application/x-scratch-project'. But this
 will not affect the icon of those files.

 Is there a way to assign icons for files other than by saving it in an
 activity?

 Currently, only by changing the mime-type.


 Maybe I misunderstood then. How is the icon for a mime type such as
 application/x-scratch-project found then?

 We are using the xdg mime database, the mimetypes.xml file contained
 in activities is added to that database. So that's the mechanism
 through which activities can associate icons to mime types.


 So what would the Scratch activity have to do so files put into the Journal
 (maybe by downloading) are displayed using a Scratch icon rather than the
 generic document icon?

 Shipping a mimetypes.xml file inside the bundle as explained here:

 http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure

 Sugar will call update-mime-database and will merge that file into the
 xdg mime database.

 What does this merge do with conflicts?  It seems we might need a way
 for the most recent activity which has used a given object to apply
 its own icon for it, which isn't covered by this case.  Would the most
 recently installed activity trump the rest?

Not sure about what we can do regarding this while not having to cook
our own mime info stuff. This is the spec implemented by the tools we
are using:

http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec

Regards,

Tomeu

 - Eben


 I think that John is already trying this.

 Regards,

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


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg
On 12.01.2009, at 18:11, Tomeu Vizoso wrote:

 So what would the Scratch activity have to do so files put into the  
 Journal
 (maybe by downloading) are displayed using a Scratch icon rather  
 than the
 generic document icon?

 Shipping a mimetypes.xml file inside the bundle as explained here:

 http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure

 Sugar will call update-mime-database and will merge that file into the
 xdg mime database.

 I think that John is already trying this.


Guess I'm confused then - I thought that's exactly what Philipp had  
done.

And I just checked and it does work with Etoys projects. When  
downloading one it indeed gets an etoys icon (although at a smaller  
size - why is that?)

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


XOCamp 2, Day 1 update

2009-01-12 Thread Samuel Klein
Dear all,

We're in the middle of day 1 of XOCamp.  You can take part in a few ways; we are
 * streaming over the web at justin.tv  (search for xocamp and olpc),
 * on an call-in conference line (see the wiki page for details)
 * on IRC in the  #olpc channel on freenode.net.

For those without irc clients, you can use your browser: visit
http://forum.laptop.org/chat
to open #olpc-help, then type  /join #olpc

For the current week's agenda, and slides for many talks, please see:
http://wiki.laptop.org/go/XOCamp_2

We have a few sessions of open hacking, and are glad to include new
brief sessions or discussion topics; we can also present slides for
you if you can't do it in person / want to engage remotely.

Finally, we are archiving the conference media and transcripts; if you
have general questions about OLPC, our communities and deployments,
getting involved, or Sugar and hardware development, feel free to ask
them on the event's talk page and we will make sure your questions get
answered.
http://wiki.laptop.org/go/Talk:XOCamp_2


Regards,
SJ
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Journal integration for Scratch

2009-01-12 Thread Tomeu Vizoso
On Mon, Jan 12, 2009 at 18:50, Bert Freudenberg b...@freudenbergs.de wrote:
 On 12.01.2009, at 18:11, Tomeu Vizoso wrote:

 So what would the Scratch activity have to do so files put into the
 Journal
 (maybe by downloading) are displayed using a Scratch icon rather than the
 generic document icon?

 Shipping a mimetypes.xml file inside the bundle as explained here:

 http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure

 Sugar will call update-mime-database and will merge that file into the
 xdg mime database.

 I think that John is already trying this.


 Guess I'm confused then - I thought that's exactly what Philipp had done.

I think he just changed the mime_types field in the .info file.

 And I just checked and it does work with Etoys projects. When downloading
 one it indeed gets an etoys icon (although at a smaller size - why is that?)

No idea, though I think that the mime database is updated in the etoys
rpm and not in the bundle, am I right?

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


About to start talking with Ed about QA - join on IRC, review notes, etc.

2009-01-12 Thread Mel Chua
About to have Big Conversation with Ed about Community QA moving 
forward, and I think I've finished my Big Braindump at 
http://wiki.laptop.org/go/XOCamp_2#QA - review appreciated!

The IRC backchannel is #olpc in case you want to join in, I'll try to 
get someone to transcribe since I'll likely be in the middle of a lot of 
this discussion.

Please holler if any of this or any of the resources I've linked to are 
unclear (I'm writing this a bit frantically at the last moment so my 
coherence is potentially dubious.)

--Mel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Eben Eliason
On Mon, Jan 12, 2009 at 2:23 PM, Bert Freudenberg b...@freudenbergs.de wrote:
 On 12.01.2009, at 19:30, Tomeu Vizoso wrote:

 And I just checked and it does work with Etoys projects. When downloading
 one it indeed gets an etoys icon (although at a smaller size - why is
 that?)

 No idea, though I think that the mime database is updated in the etoys
 rpm and not in the bundle, am I right?


 Yes. Though I can't imagine how that would affect the icon size:




 Or is it intentional?

Definitely not intentional.

- Eben



 - Bert -

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


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fedora Desktop on XO

2009-01-12 Thread Erik Garrison
Here is an image builder which makes Fedora 10-based desktop images
for the XO.  They use XFCE.  Currently there is at least one
outstanding bug, which is that network manager applet won't start
because of security configuration problems with consolekit.

http://dev.laptop.org/git/users/erik/rpmxo

On Sun, Jan 11, 2009 at 12:55 PM, Christoph Wickert
christoph.wick...@googlemail.com wrote:
 Am Dienstag, den 06.01.2009, 17:31 -0500 schrieb Erik Garrison:
 On Tue, Jan 06, 2009 at 10:54:24PM +0100, Bert Freudenberg wrote:
 
  On 06.01.2009, at 22:34, Benjamin M. Schwartz wrote:
 
   Carlos Nazareno wrote:
  
   Guys, maybe this can help. I whipped up a flash CPU benchmarking tool
  
   Currently, we are assuming that the issue will be RAM consumption, not
   CPU.  I personally have no reason to expect either system to behave
   differently in terms of background CPU overhead or cost of common
   operations.
 
 
  At 25c3 I bumped into a guy from LXDE. It's said to be a lot lighter
  on resources than even XFCE. Unfortunately I did not stay long enough
  to see it run on the XO, but maybe someone else did already?

 Yes. AFAICS it runs nice and very fast, although/because it is not
 feature complete as Gnome or Xfce.

 My impression from playing around with it is that it's significantly
 less polished than Gnome or XFCE.  Polish takes time, users, and
 development... it just seems that LXDE hasn't had enough yet.

 You can just look at the age of the projects:

   GNOME  1999-03-03 (initial release)
   XFCE   1996 (project start date)
   LXDE   2006 (initial release)

 This is only partly true since a lot of the LXDE components are older,
 for example lxpanel, pcmanfm and openbox.

 [dates pulled from Wikipedia]

 As far as I know all these projects have been under development
 continuously since their inception.  Two, GNOME and XFCE, have had
 extremely large user bases.  It does not seem that LXDE has.

 The Xfce user base is not that large as one might think. On the other
 hand LXDE is very popular in Asia, for example in Taiwan. In Brasil
 several vendors offer netbooks with LXDE and Mandriva preinstalled.


 Erik

 Regards,
 Christoph

 (Fedora package maintainer for both Xfce and LXDE)


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


QA talk with Ed postponed to 15:30EST (42 minutes from now)

2009-01-12 Thread Mel Chua
This just in: http://wiki.laptop.org/go/XOCamp_2#QA is slated for 42 
minutes from now, at 3:30pm EST. It will be 45 minutes; the double 
whammy of keep meetings on track skillz of Ed and Mel will make sure 
of that. ;)

Please join us! #olpc, agenda at the link above; add questions, etc. - 
and we could *really* use a volunteer to be the IRC-to-1cc link, if 
you're interested (best: if you're not intensely interested in the 
discussion but want to be of great help in a few minutes - that way you 
can focus on this and the participants can focus on talking.)

--Mel

Mel Chua wrote:
 About to have Big Conversation with Ed about Community QA moving 
 forward, and I think I've finished my Big Braindump at 
 http://wiki.laptop.org/go/XOCamp_2#QA - review appreciated!
 
 The IRC backchannel is #olpc in case you want to join in, I'll try to 
 get someone to transcribe since I'll likely be in the middle of a lot of 
 this discussion.
 
 Please holler if any of this or any of the resources I've linked to are 
 unclear (I'm writing this a bit frantically at the last moment so my 
 coherence is potentially dubious.)
 
 --Mel
 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Nand blaster with 30 XOs

2009-01-12 Thread Ricardo Carrano
Mitch,

Nandblaster is a blast! We updated 29 XOs in less than 30 minutes
(most in less than 20 minutes).
Just one XO froze (two times), but this unit seems problematic anyway.
I am attaching the stats for the other 28.

There is a minor caveat (that is not actually related to the
nandblaster): Once you finish updating the XO that will be replicated
it woud be useful to put it in a state such that the XO-name and color
will be asked again after boot (otherwise you finsh with a lot of xos
with the same name and color). It is probably a matter of removing a
file.

Cheers!
Ricardo


nandblaster_29-Xos.csv
Description: Binary data
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Nand blaster with 30 XOs

2009-01-12 Thread pgf
ricardo wrote:
  Mitch,
  
  Nandblaster is a blast! We updated 29 XOs in less than 30 minutes
  (most in less than 20 minutes).

neat.

  Just one XO froze (two times), but this unit seems problematic anyway.
  I am attaching the stats for the other 28.
  
  There is a minor caveat (that is not actually related to the
  nandblaster): Once you finish updating the XO that will be replicated
  it woud be useful to put it in a state such that the XO-name and color
  will be asked again after boot (otherwise you finsh with a lot of xos
  with the same name and color). It is probably a matter of removing a
  file.

if you've booted the XO, there's more than that that's been
cloned which might be a problem.  (ssh host key, for example.)
you should really nandblast images that haven't been booted. 
(erikg:  did you finish your audit of what exactly gets changed?)

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] XS L10n

2009-01-12 Thread Chris Leonard
On Mon, Jan 12, 2009 at 10:05 AM, Martin Langhoff martin.langh...@gmail.com
 wrote:

  On Sat, Jan 10, 2009 at 1:32 AM, Chris Leonard cjlhomeaddr...@gmail.com
 wrote:
  Just out of curiousity.  Are the UI strings in the XS builds beginning to
  stabilize to the point that it might make sense to create a POT file for
 the
  localization community to start working on?

 (Chris - your question is very good, timely and relevant, so CC'ing
 server-devel, hope that's ok)

 There are 2 parts that may be localised...

  - The commandline tools - low priority, only exposed to the sysadmin
 team that manages the deployment. They have to be unix/linux geeks
 anyway...

  - The XS UI: Moodle. This is what's worthwhile translating. We'll
 use Moodle with a couple of customisations. The customisations are
 still evolving but Moodle's strings are well established. The problem
 is that it doesn't use Pootle, it uses its own translation strings
 stuff. I've been discussing this... see

   Some discussion on Moodle.org (use the login-as-guest button)
   http://moodle.org/mod/forum/discuss.php?d=93360

   Discussion on server-devel
   http://www.mail-archive.com/server-de...@lists.laptop.org/msg01419.html

   Look for 'pootle' in this irc meeting log
   http://wiki.laptop.org/go/XS_Conf_08_MAR_25_Notes

   Googling right now, I see someone has a pootle-to-moodle
 translation tool, w00t!?
   http://osdir.com/ml/misc.translate.devel/2007-07/msg00018.html


Martin,

I think the magic that will be needed to address the Moodle PHP files is
going to be:

php2po (and po2php) from the Translate toolkit.

http://translate.sourceforge.net/wiki/toolkit/php2po


cjl
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: child protection + anti-cheating

2009-01-12 Thread Carlos Nazareno
On Mon, Jan 12, 2009 at 10:51 PM, Carol Farlow Lerche c...@msbit.com wrote:
 This exists in http://italc.sourceforge.net/home.php

Coolness! Can someone wikify all these software solutions discussed in
the thread?
We should make a resource list of all these things.

I'd like to, but I'm catching up with a lot of work backlog and am not
very good with editing wikis yet.

Best,

-Naz

-- 
Carlos Nazareno
http://twitter.com/naz404
http://www.object404.com
--
interactive media specialist
zen graffiti studios
http://www.zengraffiti.com
--
User Group Manager
Phlashers: Philippine Flash ActionScripters
Adobe Flash/Flex User Group
http://www.phlashers.com
--
if you don't like the way the world is running,
then change it instead of just complaining.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: goodbye olpc (jobs available)

2009-01-12 Thread Gary Oberbrunner
I'm sorry to see some familiar names gone from this list.  My G1G1 XO is 
sad today.

But hopefully a brighter for those recently laid off: my company, 
GenArts, is also hiring.  We make high-end special effects software for 
movies and TV (www.genarts.com).  We are between Central and Harvard 
squares on Mass Ave in Cambridge, which may be a draw for some folks on 
this list.  We are looking for a QA/Release Engineer; a programmer with 
GPGPU and image-processing experience; and an experienced web 
application developer with Ruby and strong C++ coding skills.  Please 
respond to j...@genarts.com, and if you'd like to forward this to folks 
who may already be gone from the devel list, please feel free to do so.

-- 
. . . . . . . . . . . . . . . . . . . . . . . . .
Gary Oberbrunnerga...@genarts.com
GenArts, Inc.   Tel: 617-492-2888
955 Mass. Ave   Fax: 617-492-2852
Cambridge, MA 02139 USA www.genarts.com
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Nand blaster with 30 XOs

2009-01-12 Thread Ricardo Carrano
Hi Paul,

   Just one XO froze (two times), but this unit seems problematic anyway.
   I am attaching the stats for the other 28.
  
   There is a minor caveat (that is not actually related to the
   nandblaster): Once you finish updating the XO that will be replicated
   it woud be useful to put it in a state such that the XO-name and color
   will be asked again after boot (otherwise you finsh with a lot of xos
   with the same name and color). It is probably a matter of removing a
   file.

 if you've booted the XO, there's more than that that's been
 cloned which might be a problem.  (ssh host key, for example.)
 you should really nandblast images that haven't been booted.
 (erikg:  did you finish your audit of what exactly gets changed?)


True. I was so anxious to use the method that I didn't pay much
attention to that.
But If we don't boot the XO  before the copying we'll lost the
opportunity to add some stuff.
If erikg has such a list, and we can revert some things, that would be awesome!

Cheers!
Ricardo
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


What keeps me going...

2009-01-12 Thread Sameer Verma
So, a lot of people have been asking me this lately in the OLPC
context. What keeps you going? Of course, this question has been
asked by different people with different intentions. Some are
genuinely surprised that I have so much free time, while others
suspect a hidden treasure. So, I decided to shoot off this e-mail to
the lists for two reasons. One, I am not sure which list is
appropriate, and two, I think many of us do question the merits of
this project from time to time, and I want to share my sentiments with
you all. Feel free to delete if you don't like it.

During my visit to India a long time friend asked me this question.
What keeps you going with a project like this? He wanted to know
where I got all this free time from. Well, the assumption is a bit
off. A lot of the time I put into the project aligns with my
profession as well. Sustainable IT, network infrastructure, software
development, collaboration, etc. are all parts of my research stream.
so is FOSS development, adoption and use. So, finding time isn't that
much of a stretch. Its a two way street. I am able to bring these
things into my classroom and into my research. Of course, without
support from my family, this would be extremely difficult. For
instance, when I am off, gallivanting in Jamaica and working on a
pilot there, my wife has to cover for me and she does so with a lot of
effort, but we think its all for a good cause. We hope some of this
will make a difference in the lives of communities there.

Others, such as some of my students, have asked me the same question
but with a little wink wink glint in their eye. They think there is
something ulterior or somehow I am getting paid or I am bucking the
system (wonder where they got that idea from). Getting across the
volunteer ethic is very hard. Either you get it or you don't. Of
course, volunteer-ism is driven by many things including ego, fame,
and little green laptops. It is also driven by a desire to make a
difference in the system. Sometimes the system doesn't want that
change, but we still push for it. But that's another e-mail.

Then there are some of us who have an addictive desire to take things
apart. You know who I'm taking about! Take apart and put back together
things that most people would leave untouched. People who subscribe to
Make magazine or own a soldering iron would know. Its a strange itch,
but its an ethic that brings people together. Its hard to explain
these things to people who've never opened a radio, or a watch. On the
other hand, if you are the Maker type, you would instantly know. We
were surprised at the courage of attendees at the December OLPC-SF
meeting. They took their XOs apart and put them back together. Well,
most of us did. Only Robert needed some help from a 7 year old
attendee :-) (Sorry Robert. Couldn't resist!)

I think its a lot of these reasons that keep us all together in this
project and its offshoots, but one experience has captured my
enthusiasm unlike any other. This was a trip to Khairat, India's first
pilot site (http://wiki.laptop.org/go/Khairat_school). I had seen
pictures, and even videos and news clips of Khairat. But driving out
there with the folks from Reliance (the pilot partner) was a turning
point. Seeing five year olds handling their XOs with ease was just
amazing. Seeing them document their lives and showing me photos via
the journal suddenly made a lot of sense. All discussions of a lack of
a file manager were moot at that point. Rahul and Manisha sure don't
need a file manager to show me what they did! They could care less
about /etc or /usr/local/  I wish I could get the journal on my Ubuntu
Thinkpad laptop.

They had documented a tight rope walker who visited Khairat. They had
documented Gandhi's birthday (2nd Oct) and showed me the photos. They
didn't care that Sugar was slow. After all, for them to know that
Sugar is slow, they would have to know something faster! They love
their XOs and it shows. Then there is Mr. Surve, the teacher at
Khairat. With very little training, this man gets his gang going. He's
built solar system animations in e-toys and precipitation cycle in
Paint. He has made his own lesson plans in Write and is constantly
yelling in Marathi (local language) Go to the neighborhood. Join the
mesh. Who woulda thunk it? In the middle-of-nowhere-Khairat, a
teacher is yelling a his kids to join the mesh. A draft version of
802.11s has made it that far! Of course Rahul and Manisha don't know
that. And they don't need to, because we have a team of do-gooders who
take care of all that. And that's where my respect and unconditional
support for this group comes from. I've met very few of you in person.
But, my sentiments for this group as a whole are always equated with
the joy that is now in the lives of kids like Rahul and Manisha.

OLPC brings a level of hope that is rare in projects. Netbooks, while
an offshoot of what OLPC has done, still fail to address key issues.
They still have embedded Wi-Fi 

Sad to see some folks leaving: jobs available

2009-01-12 Thread Gary Oberbrunner
I'm sorry to see some familiar names gone from this list.  My G1G1 XO is
sad today.

But hopefully a brighter for those recently laid off: my company,
GenArts, is also hiring.  We make high-end special effects software for
movies and TV (www.genarts.com).  We are between Central and Harvard
squares on Mass Ave in Cambridge, which may be a draw for some folks on
this list.  We are looking for a QA/Release Engineer; a programmer with
GPGPU and image-processing experience; and an experienced web
application developer with Ruby and strong C++ coding skills.  Please
respond to j...@genarts.com, and if you'd like to forward this to folks
who may already be gone from the devel list, please feel free to do so.

-- 
. . . . . . . . . . . . . . . . . . . . . . . . .
Gary Oberbrunnerga...@genarts.com
GenArts, Inc.   Tel: 617-492-2888
955 Mass. Ave   Fax: 617-492-2852
Cambridge, MA 02139 USA www.genarts.com
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: What keeps me going...

2009-01-12 Thread quozl
+1
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: HTML-based/Browser apps (was Re: anti-cheating)

2009-01-12 Thread Sameer Verma
On Mon, Jan 12, 2009 at 2:15 AM, S Page i...@skierpage.com wrote:
 Carlos Nazareno wrote:

 - I'd also like to see more work done on a method to easily bundle
 Gnash or HTML-based/Browser applications as stand-alone activities, or
 at least launch the browser with the wrapped activity loaded upon
 startup.

 See the Help activity in 8.2.0, it instantiates the WebView from hulahop
 that underlies Browse and points it at help/XO_Introduction.html.

 But is it so bad to make your HTML-based application an installable
 collection that shows up in the OLPC Library navigation on the Browse
 home page?  See http://wiki.laptop.org/go/Creating_a_collection.  Just
 because most library content is static non-interactive ebook material is
 no reason really cool browser apps shouldn't go in the OLPC Library.

 One thing that might make collections more appealing and feel like
 applications is if the collection's library.info icon (which seems
 otherwise unused?!) or the web site's favicon would appear in the
 Journal instead or as well as the generic globe icon of Browse.  I filed
 a confused ticket #9188 for this enhancement.

 - Using a local daemon or service of some sort, the method I
 previously outlined can also be used here for standalone mode of the
 tests. This way, the learner can also practice with them and learn
 outside of class hours.

 The WikiBrowse activity (WikipediaEN.activity on G1G1 8.2 laptops)
 starts a local python Web server and fires up a WebActivity (Browse)
 instance pointing at it.

 Better, Browse's engine is XULRunner 1.9 and it has support for most of
 the HTML 5 offline application spec
 http://www.w3.org/TR/2008/WD-html5-20080122/#offline.
 E.g. http://starkravingfinkle.org/projects/offline/todo.html is an
 expanding form you can fill out while offline that will update the web
 server when next online.  It should work on an XO (I can't try it, my
 wireless router is bust! :-( ).

 I concur with where you're going.  *Never* ever bet against the browser.
  Browse or a custom WebView activity can do everything that Firefox 3
 can do, without worrying about compatibility with abysmal MS Internet
 Explorer that's keeping the web stuck in 2004.
 E.g. http://wiki.laptop.org/go/FindTheCountry -- why bother with crappy
 static PDF atlases when interactive technology like that is available?
 And you can View  Source it!


This is one of the coolest things I've seen in a long time!!! This is
definitely going down in the SVG examples section for my class in
Spring.

Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fedora Desktop on XO

2009-01-12 Thread Christoph Wickert
Am Montag, den 12.01.2009, 14:41 -0500 schrieb Erik Garrison:
 Here is an image builder which makes Fedora 10-based desktop images
 for the XO.  They use XFCE.  Currently there is at least one
 outstanding bug, which is that network manager applet won't start
 because of security configuration problems with consolekit.

Is this bug still present in Fedora? Has it ever been? Have you filed a
bug? Where can I find any details or what else can I do to help you?

TIA,
Christoph


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: HTML-based/Browser apps (was Re: anti-cheating)

2009-01-12 Thread S Page
Sameer Verma wrote:
 E.g. http://wiki.laptop.org/go/FindTheCountry -- why bother with crappy
 static PDF atlases when interactive technology like that is available?
 And you can View  Source it!
 
 This is one of the coolest things I've seen in a long time!!! This is
 definitely going down in the SVG examples section for my class in
 Spring.
   
http://wiki.laptop.org/go/SVG#Resources also lists
* http://www.carto.net/papers/svg/samples/canvas.shtml is code to 
show/hide map layers.

With advanced HTML you can imagine scalable interactive SVG maps, 
science texts with interactive JavaScript + canvas physics simulations 
(like the WIMS stuff but running in the browser), biology texts with 
layers that show and hide different anatomical systems... All with quiz 
modules that work offline and online.  Unfortunately collaborative 
editing on wiki pages and Flossmanuals doesn't support that level of 
interactivity, and the people with skills to do it are rare.

--
=S
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Nand blaster with 30 XOs

2009-01-12 Thread James Cameron
On Mon, Jan 12, 2009 at 10:57:04PM -0500, Ian Daniher wrote:
 Something which would be nice to have is a publically accessible
 webroot with a clean os767 build, chown -R'ed 444(read-only for all)

There's this:

rsync rsync://updates.laptop.org/build-767/root/

Not web, and not 444, but useful all the same.

For instance, say you wanted to know what the file /etc/ntpdate looked
like on that build ...

rsync -avPz rsync://updates.laptop.org/build-767/root/etc/sysconfig/ntpdate 
/tmp/

-- 
James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: HTML-based/Browser apps (was Re: anti-cheating)

2009-01-12 Thread Carlos Nazareno
 the people
 with skills to do it are rare.

The Flash Platform is the easiest way to do all of that. I haven't
seen anything that can tie up interactive media as easy with scalable
complexity like Flash has.

Some early pioneers were John Maeda, Joshua Davis, Yugo Nakamura,
Robert Hodgins, and Ze Frank. Back then, what you said was true, but
today you only need look at the growing army of Flash game developers
for starters.

You can go with Processing (http://www.processing.org/) but Java is a
bit problematic on the XO.

Why put yourself through unnecessary pain with the
HTML5/Javascript/CSS/SVG/whathaveyouforaudiovideowebcam combo? Add
to that the added headache of the standards fragmented browser
landscape. (whatever we develop for the XO re:OLPC goals, I hope we
can bring to other platforms as well.)

Why reinvent the wheel? Flash gets the job done, and gets it done easy.

For those who have a problem with proprietary technology, there's
always Gnash and SWFDec, and numerous open source tools to generate
SWFs (including some that come directly from Adobe like the free Flex
SDK).

Use the best tool for the job, pending personal comfort zones and
preferences. Get the job done, and get it done efficiently.

Peace out

-Naz

-- 
Carlos Nazareno
http://twitter.com/naz404
http://www.object404.com
--
interactive media specialist
zen graffiti studios
http://www.zengraffiti.com
--
User Group Manager
Phlashers: Philippine Flash ActionScripters
Adobe Flash/Flex User Group
http://www.phlashers.com
--
if you don't like the way the world is running,
then change it instead of just complaining.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Grassroots-l] What keeps me going...

2009-01-12 Thread sapan kadakia
Hey,

Well wriiten mail  with lot of motivation and a whole new source of
energy for every volunteer to work for . lets hope to join the
missing dots all over and try to achieve all the tagets of this
project.

cheers,
sapan

On Tue, Jan 13, 2009 at 3:28 AM, Sameer Verma sve...@sfsu.edu wrote:

 So, a lot of people have been asking me this lately in the OLPC
 context. What keeps you going? Of course, this question has been
 asked by different people with different intentions. Some are
 genuinely surprised that I have so much free time, while others
 suspect a hidden treasure. So, I decided to shoot off this e-mail to
 the lists for two reasons. One, I am not sure which list is
 appropriate, and two, I think many of us do question the merits of
 this project from time to time, and I want to share my sentiments with
 you all. Feel free to delete if you don't like it.

 During my visit to India a long time friend asked me this question.
 What keeps you going with a project like this? He wanted to know
 where I got all this free time from. Well, the assumption is a bit
 off. A lot of the time I put into the project aligns with my
 profession as well. Sustainable IT, network infrastructure, software
 development, collaboration, etc. are all parts of my research stream.
 so is FOSS development, adoption and use. So, finding time isn't that
 much of a stretch. Its a two way street. I am able to bring these
 things into my classroom and into my research. Of course, without
 support from my family, this would be extremely difficult. For
 instance, when I am off, gallivanting in Jamaica and working on a
 pilot there, my wife has to cover for me and she does so with a lot of
 effort, but we think its all for a good cause. We hope some of this
 will make a difference in the lives of communities there.

 Others, such as some of my students, have asked me the same question
 but with a little wink wink glint in their eye. They think there is
 something ulterior or somehow I am getting paid or I am bucking the
 system (wonder where they got that idea from). Getting across the
 volunteer ethic is very hard. Either you get it or you don't. Of
 course, volunteer-ism is driven by many things including ego, fame,
 and little green laptops. It is also driven by a desire to make a
 difference in the system. Sometimes the system doesn't want that
 change, but we still push for it. But that's another e-mail.

 Then there are some of us who have an addictive desire to take things
 apart. You know who I'm taking about! Take apart and put back together
 things that most people would leave untouched. People who subscribe to
 Make magazine or own a soldering iron would know. Its a strange itch,
 but its an ethic that brings people together. Its hard to explain
 these things to people who've never opened a radio, or a watch. On the
 other hand, if you are the Maker type, you would instantly know. We
 were surprised at the courage of attendees at the December OLPC-SF
 meeting. They took their XOs apart and put them back together. Well,
 most of us did. Only Robert needed some help from a 7 year old
 attendee :-) (Sorry Robert. Couldn't resist!)

 I think its a lot of these reasons that keep us all together in this
 project and its offshoots, but one experience has captured my
 enthusiasm unlike any other. This was a trip to Khairat, India's first
 pilot site (http://wiki.laptop.org/go/Khairat_school). I had seen
 pictures, and even videos and news clips of Khairat. But driving out
 there with the folks from Reliance (the pilot partner) was a turning
 point. Seeing five year olds handling their XOs with ease was just
 amazing. Seeing them document their lives and showing me photos via
 the journal suddenly made a lot of sense. All discussions of a lack of
 a file manager were moot at that point. Rahul and Manisha sure don't
 need a file manager to show me what they did! They could care less
 about /etc or /usr/local/  I wish I could get the journal on my Ubuntu
 Thinkpad laptop.

 They had documented a tight rope walker who visited Khairat. They had
 documented Gandhi's birthday (2nd Oct) and showed me the photos. They
 didn't care that Sugar was slow. After all, for them to know that
 Sugar is slow, they would have to know something faster! They love
 their XOs and it shows. Then there is Mr. Surve, the teacher at
 Khairat. With very little training, this man gets his gang going. He's
 built solar system animations in e-toys and precipitation cycle in
 Paint. He has made his own lesson plans in Write and is constantly
 yelling in Marathi (local language) Go to the neighborhood. Join the
 mesh. Who woulda thunk it? In the middle-of-nowhere-Khairat, a
 teacher is yelling a his kids to join the mesh. A draft version of
 802.11s has made it that far! Of course Rahul and Manisha don't know
 that. And they don't need to, because we have a team of do-gooders who
 take care of all that. And that's where my respect and 

Re: Journal integration for Scratch

2009-01-12 Thread Philipp Kocher


Tomeu Vizoso wrote:
 On Mon, Jan 12, 2009 at 18:50, Bert Freudenberg b...@freudenbergs.de wrote:
 On 12.01.2009, at 18:11, Tomeu Vizoso wrote:
 So what would the Scratch activity have to do so files put into the
 Journal
 (maybe by downloading) are displayed using a Scratch icon rather than the
 generic document icon?
 Shipping a mimetypes.xml file inside the bundle as explained here:

 http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure

 Sugar will call update-mime-database and will merge that file into the
 xdg mime database.

 I think that John is already trying this.

 Guess I'm confused then - I thought that's exactly what Philipp had done.
 
 I think he just changed the mime_types field in the .info file.
 
 And I just checked and it does work with Etoys projects. When downloading
 one it indeed gets an etoys icon (although at a smaller size - why is that?)
 
 No idea, though I think that the mime database is updated in the etoys
 rpm and not in the bundle, am I right?
 
 Regards,
 
 Tomeu
 

Thanks Tomeu to lead me to the /home/olpc/.local directory. However, the
mimetypes.xml is not necessary to get the icon in the journal. I just
had to copy the scratch icon file in the activity directory to
application-x-scratch-project.svg (also in the scratch activity
dirctory). The Memorize Activity is a good example for using that feature.
Sugar has to be restarted after installing Scratch to show the icon.

John, could you please make the following changes in the next Scratch
version:
- add the line mime_types = application/x-scratch-project to the
activity.info file
- copy the scratch icon to application-x-scratch-project.svg in the
activity directory

Etoys gets configured by different packages. e.g. the rpm
etoys-3.0.2153-1.noarch is adding the file
/usr/share/mime/packges/etoys.xml and the rpm 
sugar-artwork-0.82.3-1.olpc3 is
adding the file
/usr/share/icons/sugar/scalable/mimetypes/application-x-squake-project.svg.

Regards,
Philipp

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Nand blaster with 30 XOs

2009-01-12 Thread Erik Garrison
Please see: http://lists.laptop.org/pipermail/devel/2009-January/022334.html

I hope that is enough to get started.  I don't know if the best place
to continue discussion is in this thread or that.  In any case I will
be happy to help.  The thread already has some good commentaries
analyzing the results, so perhaps we should continue there.

Best,
Erik

On Mon, Jan 12, 2009 at 4:48 PM, Ricardo Carrano carr...@laptop.org wrote:
 Hi Paul,

   Just one XO froze (two times), but this unit seems problematic anyway.
   I am attaching the stats for the other 28.
  
   There is a minor caveat (that is not actually related to the
   nandblaster): Once you finish updating the XO that will be replicated
   it woud be useful to put it in a state such that the XO-name and color
   will be asked again after boot (otherwise you finsh with a lot of xos
   with the same name and color). It is probably a matter of removing a
   file.

 if you've booted the XO, there's more than that that's been
 cloned which might be a problem.  (ssh host key, for example.)
 you should really nandblast images that haven't been booted.
 (erikg:  did you finish your audit of what exactly gets changed?)


 True. I was so anxious to use the method that I didn't pay much
 attention to that.
 But If we don't boot the XO  before the copying we'll lost the
 opportunity to add some stuff.
 If erikg has such a list, and we can revert some things, that would be 
 awesome!

 Cheers!
 Ricardo
 ___
 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