Re: Is read_file() always called after an activity __init__?

2008-02-29 Thread Tomeu Vizoso
On Thu, Feb 28, 2008 at 10:56 PM, Gary C Martin [EMAIL PROTECTED] wrote:
  It does seem like read_file() is only triggered if you have
   previously
   saved an actual file to filesystem, if you just have metadata, no
   call
   is ever made to read_file() so it's a rather bad place to pick-up the
   metadata. At least this is what I'm seeing here – I've just created a
   0 size file in my write_file() and now a resume from that journal
   entry is triggering read_file() every time.
  
   You are right again. Perhaps we should add a read_metadata() method?
   An alternative would be to have a 'datastore-loaded' method, but that
   would be less consistent with the current API.

  Hmmm, so if my activity needs it's preferences before it can display
  anything to the user, potential future lazy loading of the data-store
  (to try and speed up general activity start-up time) is going to leave
  folks watching my activity with a blank screen for a lazy while? Ouch.

Well, metadata loading shouldn't be as slow as for the user to notice.
But if you add this to all the other initializations, it is
significant. Also, the user wouldn't see a blank screen, just startup
will be (say) 100ms slower than for an activity that can start without
reading the metadata.

   But the determining reason would be that metadata properties other
   than the custom ones are not preserved across reboots :/
  
   http://dev.laptop.org/ticket/4662

  Oooh thanks, double ouch, I hadn't spotted that gotcha yet!

  I'm getting the distinct feeling I should avoid current metadata
  interactions by an activity (too flakey and in transition just now)
  and just create a custom preference like file format, it only needs to
  store two key/value pairs at the moment, probably will eventually need
  only half a dozen at the most for future display options. Though I
  guess even that's still going to be a problem if lazy data-store
  loading is ever implemented (though every activity that needs to load
  a file for display will suffer there).

  Leave the metadata alone for the Journal and lower level activity
  class behaviours.  Pity, metadata looked like a nice solution for
  storing simple custom activity state information, maybe in update. 2...

Right, metadata in journal entries was thought exactly for that. Using
some other kind of preferences file may be the best for now.

Regards,

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


Localization of TurtleArt

2008-02-29 Thread Alexander Todorov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hello everybody,
I've spent some time thinking about this ticket:
http://dev.laptop.org/ticket/3585

TurtleArt developer(s) have decided to use gif images that represent different
shapes with text inside. What we need is a helper script that will take the
translations from the PO file and apply them on no-text image to produce the
localized image.

pseudo_code

helper(base image, text from PO) = localized image

/pseudo_code

The idea is simple but I still hit some issues. Any help or ideas will be
appreciated.

1) Most of the images have a single word or couple of words next to each other.
Some of them like if-then or if-then-else have text which is not on a single
line. e.g.

if
  - then


if
 - then

 - else

I'm not sure how we can automate that easily without specifying coordinates
where the text should appear. A possible solution is to divide all these strings
into different layers and make the helper/PO aware of them.

2) There are some block images that show all available blocks for the chosen
category. I guess they fall in 1) if we talk about automating their 
localization.

3) The source files are Photoshop PSD ones. Is that an open format? I don't
really know but still haven't found a tool that can work with them properly
except GIMP. And isn't against OLPC vision to use commercial software to produce
 an OLPC activity? I'm willing to implement the helper mentioned above but I'd
prefer some graphics format that I can manipulate easily in code. We can also
upload the base images to git.

4) What will happen with all the localized images? How they will be distributed.
We certainly don't want all other languages hanging around and occupying disk
space when they are not necessary. At present the English ones are 728KB.
Multiply that by 10/20 languages and we're talking about MBs here.

Thanks,
Alexander.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFHx+eyhmd3WOiFct4RCgmGAJ4iWC/clQZBTyPezgsqMkPk4Lc5swCguJLz
SryyS4/fBw1wt4U1xI3ObtY=
=2vdk
-END PGP SIGNATURE-
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: libpciaccess patch

2008-02-29 Thread Bernardo Innocenti
Bernardo Innocenti wrote:

 If you're not in a hurry, I'll try to do this after the
 FOSDEM.  I also need this in order to upgrade to X 1.5 on
 the OLPC.

Yesterday me and aleph completed the pciaccess rework for
the amd_drv.

But as we rebased on the latest xserver git head, we
stumbled into the dev-privates rework.  We currently
have an unfinished, untested patch which will be
hopefully complete by this weekend.

Both patches are intended to keep backwards compatibility
with older xservers.  It would be nice if someone could test
it on Xorg 1.4 and let me know.

You can pull my working tree from here:
  http://www.codewiz.org/~bernie/git/xf86-amd-devel.pcirework.git/

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Localization of TurtleArt

2008-02-29 Thread Walter Bender
I'm a bit rusty, but you can use the Gimp to do this, using Scheme
scripts. I did have a bit of trouble with positioning on some RTL
scripts as the Gimp is using fairly antiquated text rendering
internally, but it is generally OK.

-walter

On Fri, Feb 29, 2008 at 6:08 AM, Alexander Todorov
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA512

  Hello everybody,
  I've spent some time thinking about this ticket:
  http://dev.laptop.org/ticket/3585

  TurtleArt developer(s) have decided to use gif images that represent 
 different
  shapes with text inside. What we need is a helper script that will take the
  translations from the PO file and apply them on no-text image to produce the
  localized image.

  pseudo_code

  helper(base image, text from PO) = localized image

  /pseudo_code

  The idea is simple but I still hit some issues. Any help or ideas will be
  appreciated.

  1) Most of the images have a single word or couple of words next to each 
 other.
  Some of them like if-then or if-then-else have text which is not on a single
  line. e.g.

  if
   - then


  if
   - then

   - else

  I'm not sure how we can automate that easily without specifying coordinates
  where the text should appear. A possible solution is to divide all these 
 strings
  into different layers and make the helper/PO aware of them.

  2) There are some block images that show all available blocks for the 
 chosen
  category. I guess they fall in 1) if we talk about automating their 
 localization.

  3) The source files are Photoshop PSD ones. Is that an open format? I don't
  really know but still haven't found a tool that can work with them properly
  except GIMP. And isn't against OLPC vision to use commercial software to 
 produce
   an OLPC activity? I'm willing to implement the helper mentioned above but 
 I'd
  prefer some graphics format that I can manipulate easily in code. We can also
  upload the base images to git.

  4) What will happen with all the localized images? How they will be 
 distributed.
  We certainly don't want all other languages hanging around and occupying disk
  space when they are not necessary. At present the English ones are 728KB.
  Multiply that by 10/20 languages and we're talking about MBs here.

  Thanks,
  Alexander.
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.5 (GNU/Linux)
  Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

  iD8DBQFHx+eyhmd3WOiFct4RCgmGAJ4iWC/clQZBTyPezgsqMkPk4Lc5swCguJLz
  SryyS4/fBw1wt4U1xI3ObtY=
  =2vdk
  -END PGP SIGNATURE-
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel




-- 
Walter Bender
One Laptop per Child
http://laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Google Summer of Code and OLPC

2008-02-29 Thread Sayamindu Dasgupta
Hi,
Is there a wiki page (specific to SoC 2008) which can be used to build
up a list of ideas ?
I have been involved in the Summer of Code in 2007 (as a student under
GNOME) - and I would love to help organize the SoC efforts from OLPC
this year.
Thanks,
Sayamindu


2008/2/29 Samuel Klein [EMAIL PROTECTED]:
 Thanks, Martin.  That's a great idea; every project should list their needs
 and think of them in terms of work interns can do.  We should also start
 looking for experienced mentors now who can take on 1-3 projects and give
 the interns serious feedback.

 SJ



 On Thu, Feb 28, 2008 at 8:28 PM, Martin Langhoff [EMAIL PROTECTED]
 wrote:
  Last year OLPC mentored a couple of GSoC projects - as documented at
  http://wiki.laptop.org/wiki/OLPC_Google_Summer_of_Code - I think we
  could have a lot more projects. This year, GSoC is starting early, so
  we should be getting in motion asap.
 
  From the School Server side of things, there's a lot to do, and many
  of those tasks can be broken down in small steps that can be tackled
  by a GSoC student. I would like to setup a few tasks there for OLPC,
  and I am prepared to mentor a few well-picked students. I have
  mentored students for the Moodle project last year, and that had
  excellent results.
 
  The moodle team is already on the move preparing things for their GSoC
  2008, that's how I caught wind of the early start ;-)
 
  cheers,
 
 
 
  m
  ___
  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





-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Localization of TurtleArt

2008-02-29 Thread Alexander Todorov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Walter Bender wrote:
 I'm a bit rusty, but you can use the Gimp to do this, using Scheme
 scripts. I did have a bit of trouble with positioning on some RTL
 scripts as the Gimp is using fairly antiquated text rendering
 internally, but it is generally OK.
 

I will give GIMP a try although I was thinking of ImageMagic and the like.

 -walter
 
 On Fri, Feb 29, 2008 at 6:08 AM, Alexander Todorov
 [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA512

  Hello everybody,
  I've spent some time thinking about this ticket:
  http://dev.laptop.org/ticket/3585

  TurtleArt developer(s) have decided to use gif images that represent 
 different
  shapes with text inside. What we need is a helper script that will take the
  translations from the PO file and apply them on no-text image to produce the
  localized image.

  pseudo_code

  helper(base image, text from PO) = localized image

  /pseudo_code

  The idea is simple but I still hit some issues. Any help or ideas will be
  appreciated.

  1) Most of the images have a single word or couple of words next to each 
 other.
  Some of them like if-then or if-then-else have text which is not on a single
  line. e.g.

  if
   - then


  if
   - then

   - else

  I'm not sure how we can automate that easily without specifying coordinates
  where the text should appear. A possible solution is to divide all these 
 strings
  into different layers and make the helper/PO aware of them.

Looks like the images already contain the text in separate layers so it will be
easy.

  2) There are some block images that show all available blocks for the 
 chosen
  category. I guess they fall in 1) if we talk about automating their 
 localization.

  3) The source files are Photoshop PSD ones. Is that an open format? I don't
  really know but still haven't found a tool that can work with them properly
  except GIMP. And isn't against OLPC vision to use commercial software to 
 produce
   an OLPC activity? I'm willing to implement the helper mentioned above but 
 I'd
  prefer some graphics format that I can manipulate easily in code. We can 
 also
  upload the base images to git.

  4) What will happen with all the localized images? How they will be 
 distributed.
  We certainly don't want all other languages hanging around and occupying 
 disk
  space when they are not necessary. At present the English ones are 728KB.
  Multiply that by 10/20 languages and we're talking about MBs here.

  Thanks,
  Alexander.
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.5 (GNU/Linux)
  Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

  iD8DBQFHx+eyhmd3WOiFct4RCgmGAJ4iWC/clQZBTyPezgsqMkPk4Lc5swCguJLz
  SryyS4/fBw1wt4U1xI3ObtY=
  =2vdk
  -END PGP SIGNATURE-
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel

 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFHyA4Ehmd3WOiFct4RCpgGAJ9v5w02msE/74Av1B7/IWouv7bgjwCgp8K0
v4txJxT9AQpO4YLuSO2vZxo=
=Besv
-END PGP SIGNATURE-
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Localization of TurtleArt

2008-02-29 Thread Walter Bender
As I recall (it was a while ago) ImageMagic had lots of issues with
non-Latin scripts. But it would be an easier route than the Gimp.

-walter

On Fri, Feb 29, 2008 at 8:52 AM, Alexander Todorov
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA512


 Walter Bender wrote:
   I'm a bit rusty, but you can use the Gimp to do this, using Scheme
   scripts. I did have a bit of trouble with positioning on some RTL
   scripts as the Gimp is using fairly antiquated text rendering
   internally, but it is generally OK.
  

  I will give GIMP a try although I was thinking of ImageMagic and the like.



   -walter
  
   On Fri, Feb 29, 2008 at 6:08 AM, Alexander Todorov
   [EMAIL PROTECTED] wrote:
   -BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
  
Hello everybody,
I've spent some time thinking about this ticket:
http://dev.laptop.org/ticket/3585
  
TurtleArt developer(s) have decided to use gif images that represent 
 different
shapes with text inside. What we need is a helper script that will take 
 the
translations from the PO file and apply them on no-text image to produce 
 the
localized image.
  
pseudo_code
  
helper(base image, text from PO) = localized image
  
/pseudo_code
  
The idea is simple but I still hit some issues. Any help or ideas will be
appreciated.
  
1) Most of the images have a single word or couple of words next to each 
 other.
Some of them like if-then or if-then-else have text which is not on a 
 single
line. e.g.
  
if
 - then
  
  
if
 - then
  
 - else
  
I'm not sure how we can automate that easily without specifying 
 coordinates
where the text should appear. A possible solution is to divide all these 
 strings
into different layers and make the helper/PO aware of them.
  
  Looks like the images already contain the text in separate layers so it will 
 be
  easy.



2) There are some block images that show all available blocks for the 
 chosen
category. I guess they fall in 1) if we talk about automating their 
 localization.
  
3) The source files are Photoshop PSD ones. Is that an open format? I 
 don't
really know but still haven't found a tool that can work with them 
 properly
except GIMP. And isn't against OLPC vision to use commercial software to 
 produce
 an OLPC activity? I'm willing to implement the helper mentioned above 
 but I'd
prefer some graphics format that I can manipulate easily in code. We can 
 also
upload the base images to git.
  
4) What will happen with all the localized images? How they will be 
 distributed.
We certainly don't want all other languages hanging around and occupying 
 disk
space when they are not necessary. At present the English ones are 728KB.
Multiply that by 10/20 languages and we're talking about MBs here.
  
Thanks,
Alexander.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
  
iD8DBQFHx+eyhmd3WOiFct4RCgmGAJ4iWC/clQZBTyPezgsqMkPk4Lc5swCguJLz
SryyS4/fBw1wt4U1xI3ObtY=
=2vdk
-END PGP SIGNATURE-
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel
  
  
  
  

  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.5 (GNU/Linux)
  Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

  iD8DBQFHyA4Ehmd3WOiFct4RCpgGAJ9v5w02msE/74Av1B7/IWouv7bgjwCgp8K0
  v4txJxT9AQpO4YLuSO2vZxo=
  =Besv
  -END PGP SIGNATURE-




-- 
Walter Bender
One Laptop per Child
http://laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: libpciaccess patch

2008-02-29 Thread Bernardo Innocenti
Martin-Éric Racine wrote:

 This needs to be rebased with our upstream AMD driver git. We're
 already a couple of commits after 2.7.7.6, while this tree is based
 upon 2.7.7.5.

Yes.  To begin with, I worked on the old OLPC fork because its
my known-good codebase, and I was unsure whether the Xorg tree
already contains all the patches needed to work out of the
box on the OLPC.

Jordan, what do you think?

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/

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


Re: libpciaccess patch

2008-02-29 Thread Jordan Crouse
On 29/02/08 16:28 +0100, Bernardo Innocenti wrote:
 Martin-Éric Racine wrote:
 
  This needs to be rebased with our upstream AMD driver git. We're
  already a couple of commits after 2.7.7.6, while this tree is based
  upon 2.7.7.5.
 
 Yes.  To begin with, I worked on the old OLPC fork because its
 my known-good codebase, and I was unsure whether the Xorg tree
 already contains all the patches needed to work out of the
 box on the OLPC.
 
 Jordan, what do you think?

We have just a few patches outstanding, but nothing serious.

I don't know if Jim is ready to move OLPC to a newer X,
but I do know that *we* are ready to move, so the logical move
would be to base it on our tree, and then merge the rest of the OLPC
tree in at our leisure and transition you guys to that.

I'll pass the question on to Warren, since he'll end up being the
maintainer of the final product in Fedora.  Are you ready for OLPC
to bang on your drum?

Jordan

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.

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


Re: libpciaccess patch

2008-02-29 Thread Jim Gettys

On Fri, 2008-02-29 at 08:43 -0700, Jordan Crouse wrote:

 
 We have just a few patches outstanding, but nothing serious.
 
 I don't know if Jim is ready to move OLPC to a newer X,
 but I do know that *we* are ready to move, so the logical move
 would be to base it on our tree, and then merge the rest of the OLPC
 tree in at our leisure and transition you guys to that.

Move; we have a forked build for update.1 and just won't put the X bits
into it...

 - Jim

-- 
Jim Gettys
One Laptop Per Child


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


Re: [sugar] Journal: two quick suggestions

2008-02-29 Thread Christoph Derndorfer
Eben Eliason schrieb:


 On Thu, Feb 28, 2008 at 3:11 PM, Edward Cherlin [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 On Thu, Feb 28, 2008 at 11:41 AM, Eben Eliason
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
   while toying around with the Journal today I had two ideas
 about the
   anything and anytime filter functions:
  
 
  Both interesting ideas...
 
   anything: Apart from offering activities and file-types as
   filter-options I'm thinking that it might make sense to also
 offer an
   option for different subjects that kids will have at school.
 So things
   like Maths, English, whatever... My thought is that many
 activities
   will be started and resumed in a certain class-context and
 offering
   such a filter could help them to quickly find related matters.
 
  One of our fears here is the proliferation of options within
 this menu,
  which could eventually limit its usefulness, and is the reason
 we chose to
  limit to some primitive types and the installed activities.

 A common way to address this problem is to make the menu customizable
 with user-defined filters and the ability to remove unneeded filters
 (but keep the option to restore them later). Google mail is an
 example, where users can create their own tags and set filters to
 apply them automatically.


 Indeed.  The implied hypothetical at the end of my response alluded to 
 the fact the almost anything is possible, assuming you add additional 
 UI/management tools, but we're trying to find a balance between 
 functionality and management overhead. I'm using Gmail to write this, 
 and their system does work pretty well, but naturally has an entire 
 screen dedicated to both creating labels and assigning filters.

 We've also discussed the possibility of adding saved searches or the 
 like (there are 15 names for this basic idea...) in the future, but 
 there is a lot of basic functionality left to add before we add this 
 form of meta-functionality.  Perhaps the What list is the 
 appropriate place for these saved filters to live, eventually.  Thanks 
 for offering that idea.

I agree, adding those customized filters to the what category would make 
a lot of sense.


 - Eben

 The usual alternative is folders, as in Moodle.

  One can
  imagine that the subject of an activity is actually
 subjectively defined,
  and even when it's relatively clear, we might wind up with some
 for each of
  math, geometry, trigonometry, algebra, etc.
 
  To make a similar functionality available, though, we've chosen
 to allow
  developers to supply a list of tags within the .info file for
 any given
  activities, which could include several subject related words,
 as well as
  more abstract or general terms like game, simulation, or
 language.  We
  hope that the ability to search by broad terms such as math or
 games
  will then turn up a list of appropriately related activities.
 
  Having just typed this and then reviewing the wiki, I notice
 that this part
  of the spec doesn't appear to be there yet!  Can those familiar
 with this
  respond about the presence or absence of this capability?  If
 this isn't
  there, it should get a ticket.  It should be a pretty
 straightforward
  addition and simple to implement, it seems.


Ahhh, that's indeed interesting, I hadn't been aware of this 
functionality before...

Per Eben's question: Does anyone happen to know whether this is already 
implemented or not?

 
 
   anytime: Here it might make sense to add more informal
 filters such
   as 5 grado, 2nd semester or something along these lines.
 
  This one is actually much harder to do in a general way.  We
 chose, on
  purpose, to treat time in the relative sense with respect to the
 Journal.
  Instead of seeing a story you wrote on November 28, 2007 you
 might find a
  story you wrote 3 months ago.  This approach was chosen, in a
 sense, to
  internationalize (or perhaps simply generalize) the Journal with
 respect to
  time, so that school systems with widely different schedules
 (some might
  have class daily for one of every 3 months, for instance) can
 all take
  advantage of it.
 
 
   Of course one could also argue that such information could be
   explicitly added via the tags but I think a more implicit
 mechanism
   could potentially make more sense.
 
  You can see how, in the former case, the tag model is still
 implicit, in a
  sense, when installing an activity.  In the latter case, I don't
 see any
  good way other than explicit tagging that doesn't have additional UI
  overhead/management to function.  I'm open to ideas here.


Mmmm, shouldn't it 

Re: libpciaccess patch

2008-02-29 Thread Bernardo Innocenti
Martin-Éric Racine wrote:

  Actually, no - we're not up to date with OLPC, and nobody has actually
  tested the vanilla driver on the XO.  The status on the wiki is clearly
  incorrect.
 
 The status is correct. It states that the vanilla driver has basic
 support in place but that it needs to be tested by the OLPC community.
 Lack of interest on OLPC's part to test this and report on
 success/failure needs to be resolved ASAP.

Rather than lack of interest, there's lack of resources.

I'm the only X maintainer left at OLPC, and as you know I've
been traveling a lot lately, and I'm planning to travel some
more over the next few weeks.

This limited time has been used to convert the driver to new
interfaces that have been published for a long time.
All other drivers have been converted already by their
respective maintainers, without bothering downstream
distro maintainers like myself.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/

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


Re: libpciaccess patch

2008-02-29 Thread Bernardo Innocenti
Martin-Éric Racine wrote:

 There's plenty more people that could install and test this vanilla
 driver at Debian, Fedora, Ubuntu and countless other distros that have
 decided to create OLPC install targets and yet we never heard from
 them on this issue.

If there are plenty of Xorg distro maintainers interested in
porting to the OLPC, why haven't they ever contacted me or
dropped a single mail on our development lists?

The only efforts I know of are the unofficial Debian port made
by two OLPC engineers in their free time, and some work on
getting Fedora to boot done by two more OLPC engineers in
their free time.

In both cases, they just pulled the verbatim source from
the OLPC git tree and rolled packages with it.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/

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


Re: Localization of TurtleArt

2008-02-29 Thread Jim Gettys
Hmmm... I wonder if just some scripts to take the text and use cairo to
draw it (via inserting the text into SVG files at the right places),
might be a way to completely automate the generation of the images that
are used.

Alternatively, using Cairo (maybe using pango, if we need to support RTL
text) to write the text directly onto the images being used inside
TurtleArt may be a way to skin this cat, and not have to have a lot of
gif's for each language.
- Jim

On Fri, 2008-02-29 at 08:55 -0500, Walter Bender wrote:
 As I recall (it was a while ago) ImageMagic had lots of issues with
 non-Latin scripts. But it would be an easier route than the Gimp.
 
 -walter
 
 On Fri, Feb 29, 2008 at 8:52 AM, Alexander Todorov
 [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA512
 
 
  Walter Bender wrote:
I'm a bit rusty, but you can use the Gimp to do this, using Scheme
scripts. I did have a bit of trouble with positioning on some RTL
scripts as the Gimp is using fairly antiquated text rendering
internally, but it is generally OK.
   
 
   I will give GIMP a try although I was thinking of ImageMagic and the like.
 
 
 
-walter
   
On Fri, Feb 29, 2008 at 6:08 AM, Alexander Todorov
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
   
 Hello everybody,
 I've spent some time thinking about this ticket:
 http://dev.laptop.org/ticket/3585
   
 TurtleArt developer(s) have decided to use gif images that represent 
  different
 shapes with text inside. What we need is a helper script that will 
  take the
 translations from the PO file and apply them on no-text image to 
  produce the
 localized image.
   
 pseudo_code
   
 helper(base image, text from PO) = localized image
   
 /pseudo_code
   
 The idea is simple but I still hit some issues. Any help or ideas will 
  be
 appreciated.
   
 1) Most of the images have a single word or couple of words next to 
  each other.
 Some of them like if-then or if-then-else have text which is not on a 
  single
 line. e.g.
   
 if
  - then
   
   
 if
  - then
   
  - else
   
 I'm not sure how we can automate that easily without specifying 
  coordinates
 where the text should appear. A possible solution is to divide all 
  these strings
 into different layers and make the helper/PO aware of them.
   
   Looks like the images already contain the text in separate layers so it 
  will be
   easy.
 
 
 
 2) There are some block images that show all available blocks for 
  the chosen
 category. I guess they fall in 1) if we talk about automating their 
  localization.
   
 3) The source files are Photoshop PSD ones. Is that an open format? I 
  don't
 really know but still haven't found a tool that can work with them 
  properly
 except GIMP. And isn't against OLPC vision to use commercial software 
  to produce
  an OLPC activity? I'm willing to implement the helper mentioned above 
  but I'd
 prefer some graphics format that I can manipulate easily in code. We 
  can also
 upload the base images to git.
   
 4) What will happen with all the localized images? How they will be 
  distributed.
 We certainly don't want all other languages hanging around and 
  occupying disk
 space when they are not necessary. At present the English ones are 
  728KB.
 Multiply that by 10/20 languages and we're talking about MBs here.
   
 Thanks,
 Alexander.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)
 Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
   
 iD8DBQFHx+eyhmd3WOiFct4RCgmGAJ4iWC/clQZBTyPezgsqMkPk4Lc5swCguJLz
 SryyS4/fBw1wt4U1xI3ObtY=
 =2vdk
 -END PGP SIGNATURE-
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
   
   
   
   
 
   -BEGIN PGP SIGNATURE-
   Version: GnuPG v1.4.5 (GNU/Linux)
   Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
 
   iD8DBQFHyA4Ehmd3WOiFct4RCpgGAJ9v5w02msE/74Av1B7/IWouv7bgjwCgp8K0
   v4txJxT9AQpO4YLuSO2vZxo=
   =Besv
   -END PGP SIGNATURE-
 
 
 
 
-- 
Jim Gettys
One Laptop Per Child


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


Re: libpciaccess patch

2008-02-29 Thread Jordan Crouse
On 29/02/08 08:44 -0700, Jordan Crouse wrote:
 On 29/02/08 17:33 +0200, Martin-Éric Racine wrote:
  On Fri, Feb 29, 2008 at 5:28 PM, Bernardo Innocenti [EMAIL PROTECTED] 
  wrote:
   Martin-Éric Racine wrote:
  
 This needs to be rebased with our upstream AMD driver git. We're
 already a couple of commits after 2.7.7.6, while this tree is based
 upon 2.7.7.5.
  
Yes.  To begin with, I worked on the old OLPC fork because its
my known-good codebase, and I was unsure whether the Xorg tree
already contains all the patches needed to work out of the
box on the OLPC.
  
  Having a look at the commit log or the X.org wiki would have already
  answered this.
 
 Actually, no - we're not up to date with OLPC, and nobody has actually
 tested the vanilla driver on the XO.  The status on the wiki is clearly
 incorrect.

Actually - considering the audience of this email, this would be a great
time to ask for testers.  Debian/Ubuntu users on the XO can and should
pull the latest version of the xserver-xorg-video-amd driver and try it. 
Other distribution users who feel comfortable with building a fresh copy
a fresh copy of the xf86-video-amd driver please do so.

git://anongit.freedesktop.org/git/xorg/driver/xf86-video-amd

One known issue:  The screen saver isn't DCON aware, so your screen will
go very funky on you when DPMS turns on.  We're not aware of any other
issues, but thats why we're calling on you.

Thanks,
Jordan

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.

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


Re: libpciaccess patch

2008-02-29 Thread Bernardo Innocenti
Jordan Crouse wrote:

 I don't know if Jim is ready to move OLPC to a newer X,
 but I do know that *we* are ready to move, so the logical move
 would be to base it on our tree, and then merge the rest of the OLPC
 tree in at our leisure and transition you guys to that.

For now, I'm just upstreaming all our changes to
reduce the delta.

Later, I'm planning to drop the xserver 1.5 in my xtest builds,
so people can test, benchmark and comment. This will give Jim
some feedback on which to make a decision.

From the patch stream I've seen passing by over the 1.5
timeframe, I expect to see EXA performance improvements,
the entity of which is still to be seen.


 I'll pass the question on to Warren, since he'll end up being the
 maintainer of the final product in Fedora.  Are you ready for OLPC
 to bang on your drum?

Fedora 9 already switched on Xorg 1.5.  So at this time
amd_drv is broken (does not even build).

I offered to fix it by upgrading the rpm as soon as we
get a working patchset.

I don't know when (and if) we're going to rebase OLPC on F-9,
but being ready for Xorg 1.5 would make things easier and
allow us to unbranch a good number of RPMs.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Accessing PenTablet coordinates from PyGTK

2008-02-29 Thread Patrick Dubroy
I'm trying to get access to the PenTablet from within a PyGTK
application. Since the PenTablet isn't working in the current system,
I had to modify xorg.conf to use the evdev driver (as in this example:
http://dev.laptop.org/attachment/ticket/2198/new-xorg.conf).

Doing this, I can get the PenTablet to work in relative mode to
control the core pointer. But what I really want to do is to access
the absolute position data from the PenTablet, to be able to draw in a
GTK widget independent of the core pointer.

I've tried setting SendCoreEvents to false, and then creating a GTK
widget and registering for extension events. This allows to receive
motion events from the PenTablet, but the x and y values in the event
object are inf and nan. Anybody know why this would be? Any
suggestions?

Apparently there used to be a method gdk.Window.input_get_pointer that
would allow you to query the location of the pointer for XInput
devices. However, this method appears to be gone in the current
version of GTK. Has it moved somewhere?

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


Re: [sugar] Journal: two quick suggestions

2008-02-29 Thread Tomeu Vizoso
On Fri, Feb 29, 2008 at 5:17 PM, Christoph Derndorfer
[EMAIL PROTECTED] wrote:
One can
imagine that the subject of an activity is actually
   subjectively defined,
and even when it's relatively clear, we might wind up with some
   for each of
math, geometry, trigonometry, algebra, etc.
   
To make a similar functionality available, though, we've chosen
   to allow
developers to supply a list of tags within the .info file for
   any given
activities, which could include several subject related words,
   as well as
more abstract or general terms like game, simulation, or
   language.  We
hope that the ability to search by broad terms such as math or
   games
will then turn up a list of appropriately related activities.
   
Having just typed this and then reviewing the wiki, I notice
   that this part
of the spec doesn't appear to be there yet!  Can those familiar
   with this
respond about the presence or absence of this capability?  If
   this isn't
there, it should get a ticket.  It should be a pretty
   straightforward
addition and simple to implement, it seems.
  

  Ahhh, that's indeed interesting, I hadn't been aware of this
  functionality before...

  Per Eben's question: Does anyone happen to know whether this is already
  implemented or not?

Don't think that the implementation of this has been discussed before.
Eben, can you enter a ticket pointing to a spec?

Thanks,

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


Re: [Xorg-driver-geode] libpciaccess patch

2008-02-29 Thread Andres Salomon
On Fri, 29 Feb 2008 18:20:00 +0200
Martin-Éric Racine [EMAIL PROTECTED] wrote:

 On Fri, Feb 29, 2008 at 6:14 PM, Bernardo Innocenti [EMAIL PROTECTED] wrote:
  Martin-Éric Racine wrote:
 
 Actually, no - we're not up to date with OLPC, and nobody has actually
 tested the vanilla driver on the XO.  The status on the wiki is clearly
 incorrect.
   
The status is correct. It states that the vanilla driver has basic
support in place but that it needs to be tested by the OLPC community.
Lack of interest on OLPC's part to test this and report on
success/failure needs to be resolved ASAP.
 
   Rather than lack of interest, there's lack of resources.
 
   I'm the only X maintainer left at OLPC,
 
 There's plenty more people that could install and test this vanilla
 driver at Debian, Fedora, Ubuntu and countless other distros that have
 decided to create OLPC install targets and yet we never heard from
 them on this issue.
 

If you know of any other folks creating install targets for OLPC, *I'd*
love to hear about that.  I've found myself stalled while working on
a Debian port due to necessary patches not having made their way
upstream. Aside from kernel and xorg, there are a bunch of packages
that either OLPC is (or was) using forked versions, or that Fedora
has patched without the patches getting upstream. Hal, for example..

That makes it pretty darned hard to test an xorg video driver when
you have to fight with X to find your input devices..
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Accessing PenTablet coordinates from PyGTK

2008-02-29 Thread Andres Salomon
On Fri, 29 Feb 2008 12:08:41 -0500
Patrick Dubroy [EMAIL PROTECTED] wrote:

[...]
 I've tried setting SendCoreEvents to false, and then creating a GTK
 widget and registering for extension events. This allows to receive
 motion events from the PenTablet, but the x and y values in the event
 object are inf and nan. Anybody know why this would be? Any
 suggestions?
 

Have you tried using a kernel from the master branch?  In that, the PT
coordinates are ABS by default.


 Apparently there used to be a method gdk.Window.input_get_pointer that
 would allow you to query the location of the pointer for XInput
 devices. However, this method appears to be gone in the current
 version of GTK. Has it moved somewhere?
 
 Pat
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Accessing PenTablet coordinates from PyGTK

2008-02-29 Thread Tomeu Vizoso
On Fri, Feb 29, 2008 at 6:08 PM, Patrick Dubroy [EMAIL PROTECTED] wrote:
 I'm trying to get access to the PenTablet from within a PyGTK
  application. Since the PenTablet isn't working in the current system,
  I had to modify xorg.conf to use the evdev driver (as in this example:
  http://dev.laptop.org/attachment/ticket/2198/new-xorg.conf).

  Doing this, I can get the PenTablet to work in relative mode to
  control the core pointer. But what I really want to do is to access
  the absolute position data from the PenTablet, to be able to draw in a
  GTK widget independent of the core pointer.

  I've tried setting SendCoreEvents to false, and then creating a GTK
  widget and registering for extension events. This allows to receive
  motion events from the PenTablet, but the x and y values in the event
  object are inf and nan. Anybody know why this would be? Any
  suggestions?

  Apparently there used to be a method gdk.Window.input_get_pointer that
  would allow you to query the location of the pointer for XInput
  devices. However, this method appears to be gone in the current
  version of GTK. Has it moved somewhere?

I see it here in line 608:

http://svn.gnome.org/viewvc/pygtk/trunk/gtk/gtk-types.c

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


Re: [Server-devel] Google Summer of Code and OLPC

2008-02-29 Thread Sayamindu Dasgupta
Ok - here's the idea page - http://wiki.laptop.org/go/Summer_of_Code/2008/Ideas

Thanks,
Sayamindu


On Sat, Mar 1, 2008 at 1:22 AM, Shankar Pokharel [EMAIL PROTECTED] wrote:


 On 2/29/08, Sayamindu Dasgupta [EMAIL PROTECTED] wrote:
  Hi,
  Is there a wiki page (specific to SoC 2008) which can be used to build
  up a list of ideas ?

 http://wiki.laptop.org/go/Summer_of_Code/2008
 
 
 
  I have been involved in the Summer of Code in 2007 (as a student under
  GNOME) - and I would love to help organize the SoC efforts from OLPC
  this year.
  Thanks,
  Sayamindu
 
 
  2008/2/29 Samuel Klein [EMAIL PROTECTED]:
 
   Thanks, Martin.  That's a great idea; every project should list their
 needs
   and think of them in terms of work interns can do.  We should also start
   looking for experienced mentors now who can take on 1-3 projects and
 give
   the interns serious feedback.
  
   SJ
  
  
  
   On Thu, Feb 28, 2008 at 8:28 PM, Martin Langhoff
 [EMAIL PROTECTED]
   wrote:
Last year OLPC mentored a couple of GSoC projects - as documented at
http://wiki.laptop.org/wiki/OLPC_Google_Summer_of_Code - I think we
could have a lot more projects. This year, GSoC is starting early, so
we should be getting in motion asap.
   
From the School Server side of things, there's a lot to do, and many
of those tasks can be broken down in small steps that can be tackled
by a GSoC student. I would like to setup a few tasks there for OLPC,
and I am prepared to mentor a few well-picked students. I have
mentored students for the Moodle project last year, and that had
excellent results.
   
The moodle team is already on the move preparing things for their GSoC
2008, that's how I caught wind of the early start ;-)
   
cheers,
   
   
   
m
___
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
  
  
 
 
 
 
  --
  Sayamindu Dasgupta
  [http://sayamindu.randomink.org/ramblings]
  ___
  Server-devel mailing list
  [EMAIL PROTECTED]
  http://lists.laptop.org/listinfo/server-devel
 





-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Google Summer of Code and OLPC

2008-02-29 Thread Shankar Pokharel
On 2/29/08, Sayamindu Dasgupta [EMAIL PROTECTED] wrote:

 Hi,
 Is there a wiki page (specific to SoC 2008) which can be used to build
 up a list of ideas ?


http://wiki.laptop.org/go/Summer_of_Code/2008

I have been involved in the Summer of Code in 2007 (as a student under
 GNOME) - and I would love to help organize the SoC efforts from OLPC
 this year.
 Thanks,
 Sayamindu


 2008/2/29 Samuel Klein [EMAIL PROTECTED]:

  Thanks, Martin.  That's a great idea; every project should list their
 needs
  and think of them in terms of work interns can do.  We should also start
  looking for experienced mentors now who can take on 1-3 projects and
 give
  the interns serious feedback.
 
  SJ
 
 
 
  On Thu, Feb 28, 2008 at 8:28 PM, Martin Langhoff 
 [EMAIL PROTECTED]
  wrote:
   Last year OLPC mentored a couple of GSoC projects - as documented at
   http://wiki.laptop.org/wiki/OLPC_Google_Summer_of_Code - I think we
   could have a lot more projects. This year, GSoC is starting early, so
   we should be getting in motion asap.
  
   From the School Server side of things, there's a lot to do, and many
   of those tasks can be broken down in small steps that can be tackled
   by a GSoC student. I would like to setup a few tasks there for OLPC,
   and I am prepared to mentor a few well-picked students. I have
   mentored students for the Moodle project last year, and that had
   excellent results.
  
   The moodle team is already on the move preparing things for their GSoC
   2008, that's how I caught wind of the early start ;-)
  
   cheers,
  
  
  
   m
   ___
   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
 
 




 --
 Sayamindu Dasgupta
 [http://sayamindu.randomink.org/ramblings]
 ___
 Server-devel mailing list
 [EMAIL PROTECTED]
 http://lists.laptop.org/listinfo/server-devel

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


OLPC.tv and Gnash

2008-02-29 Thread Edward Cherlin
As far as I can tell, none of your videos at olpc.tv will play in the
free Gnash replacement for the proprietary Flash. There is no 64-bit
Flash that I can use on my AMD dual-core Ubuntu system, and the XO
does not ship with proprietary software.

I request that you get with the program. ^_^ If you would care to
discuss this on the Development list (join at
http://lists.laptop.org/) I am sure we can help you to find a mutually
satisfactory solution. Or you can join the gnash mailing lists at
http://www.gnu.org/software/gnash/.

BTW, would you please get Mary Lou Jepsen's presentation from the
Greener Gadget conference?
http://www.scribemedia.org/2008/02/20/greener-gadgets-jepsen/

-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Google Summer of Code and OLPC

2008-02-29 Thread Don Hopkins

Thanks for creating the wiki page!
I just added this to the Summer of Code 2008 Ideas page:
http://wiki.laptop.org/index.php?title=Summer_of_Code/2008


 Micropolis

I have a long list of interesting ways to develop Micropolis 
http://wiki.laptop.org/go/Micropolis, which I have written about on my 
blog http://www.DonHopkins.com!


The source code is on Google Code http://code.google.com/p/micropolis, 
and I've been working on finishing up all the grunt work that requires 
familiarity with the code and would be hard for other people to do, to 
enable other people to work on the higher level stuff that depends on that.


There are two Micropolis projects:

   * The old micropolis-activity which is the original TCL/Tk version
 of SimCity for Unix, which I ported to Linux and adapted to the OLPC.

   * The new MicropolisCore C++/SWIG/Python module that I've cleaned
 up and I have started developing a user interface.

It would be best to put effort into developing the new MicropolisCore 
code for the long term, although there are some small tasks that could 
be done with the old TCL/Tk code for the short term.


-Don Hopkins http://wiki.laptop.org/go/User:Dhopkins


Sayamindu Dasgupta wrote:

Ok - here's the idea page - http://wiki.laptop.org/go/Summer_of_Code/2008/Ideas

Thanks,
Sayamindu

  


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


Re: OLPC.tv and Gnash

2008-02-29 Thread Edward Cherlin
On Sat, Mar 1, 2008 at 5:36 AM,  [EMAIL PROTECTED] wrote:

  Dear Edward Cherlin,

  Several .swf and .flv did not work under OLPC gnash.
  However, I assure you that all flash9 media did work smartly under
  SSS/OLPC that I develop under slackware 12.0 environment.

  I did test http://www.scribemedia.org/2008/02/20/greener-gadgets-jepsen/
  on my SSS/OLPC already before replying to you.

  Furthermore, vdo-conference under OLPC using skype and gsk-streaming also
  did not work, but, it is also working correctly under SSS/OLPC too.

Great.

Can you document this on the OLPC Wiki and OLPCNews.com?

Is this part of any available build?

Can I install from packages with yum?

Are there Debian packages of this software?

  Regards,
  supat
  http://supat.eu.org/



  On Fri, 29 Feb 2008, Edward Cherlin wrote:

   As far as I can tell, none of your videos at olpc.tv will play in the
   free Gnash replacement for the proprietary Flash. There is no 64-bit
   Flash that I can use on my AMD dual-core Ubuntu system, and the XO
   does not ship with proprietary software.
  
   I request that you get with the program. ^_^ If you would care to
   discuss this on the Development list (join at
   http://lists.laptop.org/) I am sure we can help you to find a mutually
   satisfactory solution. Or you can join the gnash mailing lists at
   http://www.gnu.org/software/gnash/.
  
   BTW, would you please get Mary Lou Jepsen's presentation from the
   Greener Gadget conference?
   http://www.scribemedia.org/2008/02/20/greener-gadgets-jepsen/
  
   --
   Edward Cherlin
   End Poverty at a Profit by teaching children business
   http://www.EarthTreasury.org/
   The best way to predict the future is to invent it.--Alan Kay
   ___
   Devel mailing list
   Devel@lists.laptop.org
   http://lists.laptop.org/listinfo/devel
  




-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC.tv and Gnash

2008-02-29 Thread John Gilmore
The versions of gnash in Ship.* and in Update.1 can't play streaming
Ogg videos in a sub-window of a web page yet.  That support is in
current gnash CVS, and will be in next week's gnash-0.8.2 release,
which should be in XO Update.2.

However, the standard Browse in update.1 (and perhaps in Ship.1) can
play streaming ogg videos, taking up the full screen.  Try this URL on
yours:

  http://www.redhat.com/v/magazine/ogg/FUDConWrapup.ogg
or
  http://www.redhat.com/videos/   (click the Ogg links below the Flash boxes)

If the maintainer of http://olpc.tv wanted their videos to be viewable
on a standard, mass production OLPC, they'd have to transcode them
from proprietary codecs (like FLV, which YouTube uses) into the free
Ogg Theora video codec.  (Then again, olpc.tv's audience may be people
who DON'T have an olpc, rather than those who do!)

Today is the first I heard of SSS/OLPC.  From a brief search engine
look, it appears to be a single custom computer built out of a
prototype OLPC circuit board.  If it plays every Flash 9 movie
perfectly, then it's running the proprietary Adobe Flash Player, which
OLPC cannot reproduce, support, or ship.  I'm happy that the owner of
the SSS/OLPC can have fun tinkering with it, but there are hundreds of
thousands of people with ordinary OLPCs who we aim to support -- with
free software -- in the XO software releases and websites.

John Gilmore

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


Re: Is read_file() always called after an activity __init__?

2008-02-29 Thread John Gilmore
 Hmmm, so if my activity needs it's preferences before it can display  
 anything to the user, potential future lazy loading of the data-store  
 (to try and speed up general activity start-up time) is going to leave  
 folks watching my activity with a blank screen for a lazy while? Ouch.

Ahem.  The Grand Unified Theory of OLPC was that the datastore/journal
were going to entirely replace the filesystem (as far as Activites
are concerned).  Activities aren't permitted to read/write the ordinary
Linux filesystem, according to this theory.

If the datastore isn't just as ready, just as fast, and just as
available as the filesystem, e.g. for holding tiny little files that
rapidly keep the Activity's configuation options, then there's
something terribly wrong here.

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


Re: [Server-devel] Google Summer of Code and OLPC

2008-02-29 Thread Edward Cherlin
On Fri, Feb 29, 2008 at 12:01 PM, Sayamindu Dasgupta
[EMAIL PROTECTED] wrote:
 Ok - here's the idea page - 
 http://wiki.laptop.org/go/Summer_of_Code/2008/Ideas

  Thanks,
  Sayamindu

I added a few of the ideas we have discussed on this list, and thought
of a few more. Is there any code we need for localization and
translation work? For example, to match strings between our Pootle and
the one for KhmerOS and automatically populate ours with suggestions?

Projects

* Integrate espeak engine with all activities, not just Speak, and
provide for karaoke coloring. See Mokurai's article on adapting Same
Language Subtitling for literacy to the XO.

* Sugar Factory, an automated method for Sugarizing non-Python
applications. Albert Cahalan has some of this working now.

* Localization and Content conversion, for those who don't code.
Coders can provide tools.

* Document reader with annotation capability

* GIS activity for XO. Engineers Without Borders, Timepedia, and
International Symposium on Digital Earth want to work with OLPC to
create community-based mapping data collection systems that will feed
to global mapping and analysis projects, which will then feed back to
the children and their communities. Environment, health,
agriculture...

* Extend Gnash to read more data formats, in particular those at
OLPC.tv, and Mary Lou Jepsen's presentation at the Greener Gadgets
Conference. Integrate Supat's SSS code and move it upstream.

* Feed generated data from simulations or the software synthesizer
into the Measure activity.

* More generally, support snap-together programming of XO
activities in the manner that Turtle Art and Etoys provide internally.
-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Google Summer of Code and OLPC

2008-02-29 Thread Sayamindu Dasgupta
On Sat, Mar 1, 2008 at 9:03 AM, Edward Cherlin [EMAIL PROTECTED] wrote:
 On Fri, Feb 29, 2008 at 12:01 PM, Sayamindu Dasgupta
  [EMAIL PROTECTED] wrote:
   Ok - here's the idea page - 
 http://wiki.laptop.org/go/Summer_of_Code/2008/Ideas
  
Thanks,
Sayamindu

  I added a few of the ideas we have discussed on this list, and thought
  of a few more. Is there any code we need for localization and
  translation work? For example, to match strings between our Pootle and
  the one for KhmerOS and automatically populate ours with suggestions?

Pootle can use the translation memories used by Khmer OS - I'll look
at the exact method to be used.


  Projects

 * Integrate espeak engine with all activities, not just Speak, and
  provide for karaoke coloring. See Mokurai's article on adapting Same
  Language Subtitling for literacy to the XO.

 * Sugar Factory, an automated method for Sugarizing non-Python
  applications. Albert Cahalan has some of this working now.

 * Localization and Content conversion, for those who don't code.
  Coders can provide tools.


AFAIK - Summer of Code does not support non code related projects.


Thanks,
Sayamindu


-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel