Re: multilingual googletalk

2008-01-28 Thread Guillaume Desmottes

Le vendredi 25 janvier 2008 à 13:29 -0600, Todd Kelsey a écrit :
 Hi - you may already know about this but evidently as of mid december
 you can now invite chat bots into googletalk, in order to have instant
 messaging conversations with people in different languages. (widget
 version also supports group chat).
 

Don't know how these bots work but the Chat activity is already using
XMPP/Jabber when XO's are connected to Internet. So there is no need to
create yet another chat activity.



G.

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


Re: New joyride build 1591

2008-01-28 Thread Guillaume Desmottes

Le samedi 26 janvier 2008 à 05:38 +, [EMAIL PROTECTED] a écrit :
 On Fri, 25 Jan 2008, Build Announcer v2 wrote:
 
  http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1591
 
  Changes in build 1591 from build: 1590
 
 this build appears to break WEP (I upgraded from build 689)
 

That's probably this bug: http://dev.laptop.org/ticket/5485


G.


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


Re: status of GRUB on XO

2008-01-28 Thread Robert Millan
On Mon, Jan 28, 2008 at 09:52:10AM +0100, Marco Gerards wrote:
 
- Missing some parts of AT keyboard driver (arrows don't work).
 
 Is this a general issue with your driver?  For arrow keys you need to
 process multiple scancodes, IIRC.

Yes.  Other keys that are composed in the same way aren't captured either.
Should be trivial to fix but I haven't had time so far :-/

- Can only access SD cards (via OFW callbacks), in any of the filesystems
  supported by GRUB.  Accessing the NAND or USB drives will require adding
  new drivers (I expect the latter will come soon, since it is also needed
  on i386-pc).
 
 What kind of interface does the NAND drive have?  ATA? ;-)

No way, there's no room for legacy cruft in such a small laptop ;-)

- Supports serial terminal (I couldn't try this on real hardware, but I
  assume it works).
 
 So this is not an issue now?

Real hardware has a serial port, but only if you have an adaptor (which I
don't).

- Loader only supports Multiboot2 images for now.
 
 There are multiboot kernels already? :-)

I wrote two of them, hang.S and crash.S.  They aren't very useful but serve as
testcase most of the time.

-- 
Robert Millan

GPLv2 I know my rights; I want my phone call!
DRM What use is a phone call… if you are unable to speak?
(as seen on /.)
/* Trivial multiboot2 program.

   gcc -fno-builtin -nostdinc -m32 -nostdlib -Wl,-N -Wl,-Ttext -Wl,0x10 -o 
hang hang.S
*/

.file   startup.S
.text
.globl  _start

_start:
jmp _start

.long   0xe85250d6
.long   0
.long   -0xe85250d6
/* Trivial multiboot2 program.

   gcc -fno-builtin -nostdinc -m32 -nostdlib -Wl,-N -Wl,-Ttext -Wl,0x10 -o 
crash crash.S
*/

.file   startup.S
.text
.globl  _start

_start:
.long   0xe85250d6
.long   0
.long   -0xe85250d6
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH] RFC: ReadActivity fullscreen, paging changes

2008-01-28 Thread Tomeu Vizoso
Hi,

On Sun, 2008-01-27 at 17:42 -0600, Klaus Weidner wrote:
 On Sun, Jan 27, 2008 at 02:17:04PM -0500, Michael Stone wrote:
  While I can't say how your efforts will wind up being used, I very much
  want to thank you for stepping up to work on these issues and for
  submitting such clear patches.
 
 You're welcome, I'm happy if I can contribute something to such a cool
 project :-)
 
  Keep up the hard work, and let everyone know if you'd like help
  packaging your changes (to ease testing) or in working with the upstream
  maintainers of Read and Evince.
 
 I've bundled up the activity and library and put them on my web server, in
 case anyone wants to test them:
 
   http://www.pocketworkstation.org/xo/
 
 The activity is a normal .xo bundle. For the shared library, extract it
 from the '/' directory:
 
   tar xvzf libevince-*.tar.gz
 
 Yes, I'd like help who to contact and how best to submit changes for the
 upstream code. 

In general, having the proposed patches attached to an existing ticket
in trac is the best way. This puts the patches in context, help with
tracking and will probably reach the maintainer faster.

See http://wiki.laptop.org/go/Sugar_Patches .

That said, I think it makes sense to post the patches to the mailing
list if some discussion needs to happen.

In this concrete case, we still miss a decision about how we want to
express this new functionality in the UI. We have had already some
discussion in this list about the different approaches we can take, but
before we can accept an implementation, Eben should specify clearly how
he thinks it should be implemented.

 If I understand it right, the evince library currently used is
 temporarily forked, and I'm not sure which parts of it are ready to be
 upstreamed. I can separate out the scrolling-backwards-in-noncontinuous-mode
 fix which I've reproduced in the desktop evince, so that could be submitted
 separately to the original evince project. 

Yes, I haven't looked in detail at your patches, but if it was possible
to add this feature to Read without modifying evince, it would be much
better. We don't want to maintain this fork of evince forever, so we try
to maintain the differences to a minimum because at some point we'll
need to merge with upstream.

Have you already considered handling the key binding in
ReadActivity._key_press_event_cb() instead?

Thanks,

Tomeu

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


Re: Tentative Plans for Nepal's School Server and related infrastructure

2008-01-28 Thread Luke Gorrie
Ivan Krstić [EMAIL PROTECTED] writes:

 On Jan 22, 2008, at 10:28 PM, Bryan Berry wrote:
 We really need the incremental backup feature. That is a core
 requirement that came up many times in last week's OLPC Learning
 Conference.

 I'll see about finishing it up for you, then. Please ping me from time  
 to time to make sure this doesn't drop off my radar.

Just out of curiosity: would having the XOs periodically (cron)
rsync-over-ssh /home/olpc to the school server be hopelessly naive for
some reason?


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


Re: firmware q2d10

2008-01-28 Thread Ricardo Carrano
 I upgraded to the joyride version with this firmware, couldn't reach my
 network, so rebooted to 689, repeated the process with 690, same
 WEP problem so rebooted to 689 where I had the problem reported above.


WEP is broken since (about) 653.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Battery charging and display intensity in joyride-1594

2008-01-28 Thread Mark Bauer

G1G1 program (thanks guys)
upgraded to joyride-1594
firmware Q2D10

Plugged in after about 2 hours of use  just sitting there on the  
sugar screen
that shows what apps are running.  Battery shows not charging (it did  
when I first
plugged it in).  Putting mouse over battery symbol, and it is says  
battery fully charged.

But the charge light is still amber,  It used to go back to green (or  
yellow).

Second issue..  Not touching the system, the display intensity keeps  
jumping up and down.
I am still on AC, no need to dim the display,  it is just a bit  
annoying.

Thanks for the good work.

Mark

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


New joyride build 1600

2008-01-28 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1600

Changes in build 1600 from build: 1597

Size delta: 0M

-Read 41
+Read 42

--- Changes for Read 42 from 41 ---
  + Add mimetypes for djvu/tiff

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC library] 'OLPC-Health' takes off !!- MATLAB for OLPC?

2008-01-28 Thread drew einhorn
The person to ask about this is Cleve Moler [EMAIL PROTECTED],
the original author of MATLAB.

On Jan 28, 2008 8:34 AM, Brown, Henry, DoIT [EMAIL PROTECTED] wrote:



 OLPC + MATLAB - Tricorder for developing world

 Could Matlab create Greene Chip DNA microarray software to run on OLPC?
 http://www.mailman.hs.columbia.edu/news/Lipkin_GreeneChip.html
 http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=2573
 http://laptop.org/
 http://www.sciencedaily.com/releases/2008/01/080121100909.htm

 If the MATLAB software could run on OLPC it could be used to monitor disease
 in the field.
 I worked with AIDS patients and child nutrition programs while in the Peace
 Corps.
 We saw kids die every week from RSV and dehydration caused by diarrhea.
 We did not know what antibiotic to give.
 OLPC could use MATLAB software to integrate DNA array results to diagnosis.
 An expert system similar to Mycin could then be used to diagnose disease in
 the field via the web.
 http://en.wikipedia.org/wiki/Mycin



 Henry Brown
 [EMAIL PROTECTED]
 cell 795-3680
 office 505 827-2509

  
  From: [EMAIL PROTECTED] on behalf of Arjun Sarwal
 Sent: Fri 1/25/2008 4:23 PM
 To: [EMAIL PROTECTED]; devel@lists.laptop.org
 Subject: 'OLPC-Health' takes off !!


 Hi all,

 There has been a lot of interest from various groups to develop/explore
 medical applications around the XO laptop. While a number of people/groups
 have already undertaken efforts in a number of areas, there are also many
 more people interested in volunteering and helping out.

 While people have put in great efforts into many projects, our efforts would
 be much more effective once we get a little organized amongst ourselves so
 that we can co-ordinate on our projects, avoid duplication of efforts, and
 discuss with people with field experience to comment and feedback on our
 efforts.


 The reach of our efforts and projects is promising and the potential to
 impact kids and communities around the world is huge --  all this is
 possible due to the scale and reach of XO deployments.



 One can broadly break down efforts into the following three areas -


 (1) Content
 Creating a Library/repository of information that would be shipped on the XO
 laptop as part of the default software on it. This would be a ready
 reference for preliminary diagnosis of diseases and a reference for
 symptoms. This would also include general information on an array of topics
 such as hygiene, nutrition, balanced diets, etc.

 (2) Hardware
 Developing and using hardware peripherals that connect to the XO laptop.
 These include, but are not limited to the build-in camera (with the
 possibility of add-on optical elements; an EKG; and a pulse oxymeter.

 (3) Software
 Developing software that asks the user a series of questions and helps in a
 preliminary diagnosis. Links to useful websites and online portals.


 David Greisen, Seth Woodworth, Pascal Scheffers, Benjamin Schwartz are some
 of the people that have been working on Content

 Ian Daniher, Rafael Ortiz, IMSA OLPC chapter participants (Scott Swanson,
 Kevin, April Hope) are some of the people working on Hardware

 Please add onto this list and let everyone know what you've been working
 upon.



 David Greisen and Mika Matsuzaki are co-ordinating efforts on the content
 related projects.
 Ian Daniher and Kevin(IMSA) are co-ordinating efforts on hardware projects
 We still need volunteers to co-ordinate efforts on the software projects


 Apart from that, we need to setup an advisory board comprising of Doctors,
 field workers, medical professionals etc. to guide the efforts in all three
 areas.



 How you can start participating in the OLPC Health efforts --

 (1) Send an email to library mailing list[1] with a short introduction of
 yourself.

 If you'd like to head/undertake projects, please put up project proposals
 and let all know that you're looking for participants/volunteers/developers

 If you'd like to volunteer in projects, please mention your area of
 experience and/or what areas you'd be interested to volunteer in.

 (2) Categorize the list of volunteers on the wiki page
 http://wiki.laptop.org/go/Health and add your name into the appropriate
 category. Please create other categories if content, hardware, software
 don't seem to represent the efforts very well.

 (3) Help the OLPC Health team connect with field workers, MDs , Doctors,
 Physicians towards the formation of an advisory group

 (4)  There is a conference call that we have on the 10th of February. Please
 propose agenda items!
 For people in Boston/Cambridge area -- please help  me organize the
 call/meeting !



 That was a long email! Thank you for your patience in reading through it.

 best,
 Arjun Sarwal

 ps - please avoid ccing the devel mailing list further. Let's continue this
 discussion only on the library mailing list[1].
 pps - join library mailing list[1]

 [1] Library mailing list - 

New joyride build 1601

2008-01-28 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1601

Changes in build 1601 from build: 1600

Size delta: 0M

-olpc-library-core 1-20
+olpc-library-core 1-21

--- Changes for olpc-library-core 1-21 from 1-20 ---
  + linkfix in bundle archive
  + howto and bundle-archive cleanup, better categories
  + selection/index fixes, es translation
  + rm extra xo-guide, reupload new rpm.

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Battery charging and display intensity in joyride-1594

2008-01-28 Thread Paul Swartz
 From: Mark Bauer [EMAIL PROTECTED]
 To: devel@lists.laptop.org
 Date: Mon, 28 Jan 2008 09:47:08 -0600
 Subject: Battery charging and display intensity in joyride-1594

  G1G1 program (thanks guys)
  upgraded to joyride-1594
  firmware Q2D10

  Plugged in after about 2 hours of use  just sitting there on the
  sugar screen
  that shows what apps are running.  Battery shows not charging (it did
  when I first
  plugged it in).  Putting mouse over battery symbol, and it is says
  battery fully charged.

  But the charge light is still amber,  It used to go back to green (or
  yellow).

I'm having the same issue: http://dev.laptop.org/ticket/6227

-p
-- 
Paul Swartz
paulswartz at gmail dot com
http://z3p.livejournal.com/
AIM: z3penguin
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC library] 'OLPC-Health' takes off !!- MATLAB for OLPC?

2008-01-28 Thread Simon Schampijer
AFAIK Matlab is not open source. You can use octave 
http://www.gnu.org/software/octave/ or scilab http://www.scilab.org/ to 
get the job done.

Best,
Simon


drew einhorn wrote:
 The person to ask about this is Cleve Moler [EMAIL PROTECTED],
 the original author of MATLAB.
 
 On Jan 28, 2008 8:34 AM, Brown, Henry, DoIT [EMAIL PROTECTED] wrote:


 OLPC + MATLAB - Tricorder for developing world

 Could Matlab create Greene Chip DNA microarray software to run on OLPC?
 http://www.mailman.hs.columbia.edu/news/Lipkin_GreeneChip.html
 http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=2573
 http://laptop.org/
 http://www.sciencedaily.com/releases/2008/01/080121100909.htm

 If the MATLAB software could run on OLPC it could be used to monitor disease
 in the field.
 I worked with AIDS patients and child nutrition programs while in the Peace
 Corps.
 We saw kids die every week from RSV and dehydration caused by diarrhea.
 We did not know what antibiotic to give.
 OLPC could use MATLAB software to integrate DNA array results to diagnosis.
 An expert system similar to Mycin could then be used to diagnose disease in
 the field via the web.
 http://en.wikipedia.org/wiki/Mycin



 Henry Brown
 [EMAIL PROTECTED]
 cell 795-3680
 office 505 827-2509

  
  From: [EMAIL PROTECTED] on behalf of Arjun Sarwal
 Sent: Fri 1/25/2008 4:23 PM
 To: [EMAIL PROTECTED]; devel@lists.laptop.org
 Subject: 'OLPC-Health' takes off !!


 Hi all,

 There has been a lot of interest from various groups to develop/explore
 medical applications around the XO laptop. While a number of people/groups
 have already undertaken efforts in a number of areas, there are also many
 more people interested in volunteering and helping out.

 While people have put in great efforts into many projects, our efforts would
 be much more effective once we get a little organized amongst ourselves so
 that we can co-ordinate on our projects, avoid duplication of efforts, and
 discuss with people with field experience to comment and feedback on our
 efforts.


 The reach of our efforts and projects is promising and the potential to
 impact kids and communities around the world is huge --  all this is
 possible due to the scale and reach of XO deployments.



 One can broadly break down efforts into the following three areas -


 (1) Content
 Creating a Library/repository of information that would be shipped on the XO
 laptop as part of the default software on it. This would be a ready
 reference for preliminary diagnosis of diseases and a reference for
 symptoms. This would also include general information on an array of topics
 such as hygiene, nutrition, balanced diets, etc.

 (2) Hardware
 Developing and using hardware peripherals that connect to the XO laptop.
 These include, but are not limited to the build-in camera (with the
 possibility of add-on optical elements; an EKG; and a pulse oxymeter.

 (3) Software
 Developing software that asks the user a series of questions and helps in a
 preliminary diagnosis. Links to useful websites and online portals.


 David Greisen, Seth Woodworth, Pascal Scheffers, Benjamin Schwartz are some
 of the people that have been working on Content

 Ian Daniher, Rafael Ortiz, IMSA OLPC chapter participants (Scott Swanson,
 Kevin, April Hope) are some of the people working on Hardware

 Please add onto this list and let everyone know what you've been working
 upon.



 David Greisen and Mika Matsuzaki are co-ordinating efforts on the content
 related projects.
 Ian Daniher and Kevin(IMSA) are co-ordinating efforts on hardware projects
 We still need volunteers to co-ordinate efforts on the software projects


 Apart from that, we need to setup an advisory board comprising of Doctors,
 field workers, medical professionals etc. to guide the efforts in all three
 areas.



 How you can start participating in the OLPC Health efforts --

 (1) Send an email to library mailing list[1] with a short introduction of
 yourself.

 If you'd like to head/undertake projects, please put up project proposals
 and let all know that you're looking for participants/volunteers/developers

 If you'd like to volunteer in projects, please mention your area of
 experience and/or what areas you'd be interested to volunteer in.

 (2) Categorize the list of volunteers on the wiki page
 http://wiki.laptop.org/go/Health and add your name into the appropriate
 category. Please create other categories if content, hardware, software
 don't seem to represent the efforts very well.

 (3) Help the OLPC Health team connect with field workers, MDs , Doctors,
 Physicians towards the formation of an advisory group

 (4)  There is a conference call that we have on the 10th of February. Please
 propose agenda items!
 For people in Boston/Cambridge area -- please help  me organize the
 call/meeting !



 That was a long email! Thank you for your patience in reading through it.

 best,
 Arjun Sarwal

 ps - please 

Update.1 690 poweroffs?

2008-01-28 Thread Martin Dengler
I hate to trac something so vague, but please let me know if this
better belongs there:

I've been running update.1 build 690 on my G1G1 C2 for about 4 days
now, and on 2 of the 3 nights (and one afternoon) since I installed it
I've found it powered off.  It's been connected to AC all three times,
and each time the power button did no good - I had to take out the
battery and disconnet the power to start it up.  Today the battery
light was on (green) but no other lights were on (the other two times
no lights were on).

I've never seen this behavior before.  Anybody else seen this?

Martin


pgpGqDNUWvyHD.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Update.1 690 poweroffs?

2008-01-28 Thread Richard A. Smith
Martin Dengler wrote:

 and each time the power button did no good - I had to take out the
 battery and disconnet the power to start it up.  Today the battery
 light was on (green) but no other lights were on (the other two times
 no lights were on).

Next time it happens please plug and unplug the external power and see 
if your battery status light changes.

Also please edit /etc/syslog.conf and uncomment out the line:

#kern.*

and redirect the data to a file rather than /dev/console  please use a 
nand backed file rather than /var/log which is a ramfs.  I normally use 
/root/kern.log

Then restart syslogd.

That log file is really chatty so it will grow fast. you will want to 
watch it and trim it down on a regular basis.  When it powers off again 
please send that to me.

-- 
Richard Smith  [EMAIL PROTECTED]
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Animation/Python/PyGames vs battery charge

2008-01-28 Thread Kent Loobey
I have set up some test animation code.

Normally games try to take all the cycles they can get.

I am trying to preserve as much battery energy as I can.

So I am setting a specific frame rate and sleeping beyond what it takes to 
maintain that frame rate.

Do you think this will actually reduce the drain on the XO battery?

In other words What does the XO do when apps sleep?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


EC Problem

2008-01-28 Thread Jameson Chema Quinn
Running joyride 1551 and q2d07, I was running a bunch of apps with backlight
off, it went to sleep on me, I tried to wake it up and got a BSOD-like
message about EC problem. (Had logging turned on as described in 5485,
echo 0x6184  /sys/module/libertas/parameters/libertas_debug) I searched
trac but couldn't find it, but it is not much help to just trac it
crashed, so can anybody point me to what logs I should post if I can manage
to reproduce this?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: EC Problem

2008-01-28 Thread John Watlington

There are precious few logs for debugging EC problems, we usually  
instrument
the laptops with logging of their serial ports for debugging EC  
problems.

Several EC bugs have been found and fixed recently, and that
reproducing the bug w. q2d07 would have limited utility.
Please upgrade to q2d10, and if you see the problem again
trac it (w. the exact text of the BSOD-like message).

Thanks,
wad

On Jan 28, 2008, at 4:18 PM, Jameson Chema Quinn wrote:

 Running joyride 1551 and q2d07, I was running a bunch of apps with  
 backlight off, it went to sleep on me, I tried to wake it up and  
 got a BSOD-like message about EC problem. (Had logging turned on  
 as described in 5485, echo 0x6184  /sys/module/libertas/parameters/ 
 libertas_debug) I searched trac but couldn't find it, but it is not  
 much help to just trac it crashed, so can anybody point me to  
 what logs I should post if I can manage to reproduce this?
 ___
 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: EC Problem

2008-01-28 Thread Richard A. Smith
Jameson Chema Quinn wrote:
\ Running joyride 1551 and q2d07, I was running a bunch of apps with
 backlight off, it went to sleep on me, I tried to wake it up and got a 
 BSOD-like message about EC problem.

Yeah.  Thats a known problem with all firmware  q2d08a.

-- 
Richard Smith  [EMAIL PROTECTED]
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Python Development

2008-01-28 Thread Chris Ball
Hi,

The process works fine until I try to create a package and the
system cannot find sugar.activity. I cannot find it with find.

You should ./sugar-jhbuild shell before using other sugar-jhbuild
commands.  (Or perform the commands *inside* the sugar-jhbuild run.)

The way that python module loading works is that . is used to signify
directory hierarchies -- import sugar.activity will look for
something like sugar/activity/__init__.py in $PYTHONPATH.

2. Having failed with Sugar-jhbuild, I put qemu on my laptop and
went that way. Qemu seems to want to run but generates an error
message on trying to open my image:

[EMAIL PROTECTED]:~$ qemu -m 256 -hda /home/olpc/XOimg/os650.img qemu:
could not open hard disk image '/home/olpc/XOimg/os650.img'

This is a jffs2 image, which is a flash filesystem.  You should use
an ext3 image for qemu.  For 650:

   
http://xs-dev.laptop.org/~cscott/olpc/streams/ship.2/build650/devel_ext3/olpc-redhat-stream-ship.2-devel_ext3.img.bz2

You might consider instead using an Update.1 build, which is the build
that we're hoping to release soon:

   
http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/build690/devel_ext3/xo-1-olpc-stream-update.1-devel_ext3.img.bz2

Hope that helps.  Further questions are probably best posted to the
sugar@ list instead of [EMAIL PROTECTED]

- Chris.
-- 
Chris Ball   [EMAIL PROTECTED]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC library] 'OLPC-Health' takes off !!- MATLAB for OLPC?

2008-01-28 Thread Benjamin M. Schwartz
On Mon, 2008-01-28 at 08:34 -0700, Brown, Henry, DoIT wrote:

 Could Matlab create Greene Chip DNA microarray software to run on
 OLPC? 
 http://www.mailman.hs.columbia.edu/news/Lipkin_GreeneChip.html
 http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=2573
 http://laptop.org/
 http://www.sciencedaily.com/releases/2008/01/080121100909.htm
  
 If the MATLAB software could run on OLPC it could be used to monitor
 disease in the field.
 I worked with AIDS patients and child nutrition programs while in the
 Peace Corps.
 We saw kids die every week from RSV and dehydration caused by
 diarrhea.
 We did not know what antibiotic to give.
 OLPC could use MATLAB software to integrate DNA array results to
 diagnosis.
 An expert system similar to Mycin could then be used to diagnose
 disease in the field via the web.
 http://en.wikipedia.org/wiki/Mycin

Creating new software to read and analyze DNA microarrays is not hard.
MATLAB is not required.  If you can make the case for microarray
analysis, appropriate software can be created easily enough.

However, reading a microarray typically requires a high-resolution
digital fluorescence microscope, which is very expensive.  Therefore,
any clinic that can make use of this technology is likely to be able to
afford more appropriate dedicated computing hardware than the XO.

--Ben Schwartz


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


Re: Python Development

2008-01-28 Thread Tomeu Vizoso
Hi,

On Mon, 2008-01-28 at 16:25 -0500, 7150 wrote:
 I am sorry to bother you on this list, but answers seem not to becoming 
 from elsewhere.

You are welcome, questions like this are more than appropriate, but is
better to have them in the sugar mailing list:

http://lists.laptop.org/listinfo/sugar

Also, feel free to drop by #sugar if you want more direct contact:

http://wiki.laptop.org/go/IRC#irc.freenode.net_channels

 1. I built  a Fedora 7 Python development machine. Sugar-jhbuild runs 
 just fine on it. I started the tutorial at:
 
 http://www.ibm.com/developerworks/edu/l-dw-linux-xo-python-i.html
 
 The process works fine until I try to create a package and the system 
 cannot find sugar.activity. I cannot find it with find.

What do you mean by create a package? Can you paste the exact commands?

 Sugar-jhbuild is located in a subdirectory of /home/olpc/.
 
 I am running as the olpc user.

Jhbuild can be hard to set up by the first time, but once it works uses
to last for at least one release ;) Being in F7 you should not have many
problems.

Good luck,

Tomeu

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


Re: Animation/Python/PyGames vs battery charge

2008-01-28 Thread Mike C. Fletcher
Noah Kantrowitz wrote:
 Kent Loobey wrote:
 I have set up some test animation code.

 Normally games try to take all the cycles they can get.

 I am trying to preserve as much battery energy as I can.

 So I am setting a specific frame rate and sleeping beyond what it
 takes to maintain that frame rate.

 Do you think this will actually reduce the drain on the XO battery?

 In other words What does the XO do when apps sleep?

   

 If SDL is actually using a real timed sleep, it would help, but I
 don't think it does. This is often too inaccurate for games, so we may
 need to look at that ourselves. Because pygame is polling driven
 (instead of using async callbacks like GTK) it is unlikely that it
 will ever get as nice a battery life as GTK-based activities.
There are two types of sleep in Pygame, one is:

pygame.time.wait( milliseconds )

which does a process sleep.  The other is:

pygame.time.delay( milliseconds )

which does a busy-loop to provide accurate time-keeping.  OLPCGames also
now has a function which combines wait with a time-based sleep state
where the program is completely suspended if there are no events for a
given period.  The same is true of Pippy's (independent) wrapper.

That said, lots of games, particularly ones which are simulation
based, may need to run all the time.  The XO is also *not* currently
(AFAIK) doing aggressive suspend.  That is, while we would like to get
to the point where the machine can suspend and resume in 10ms range, it
currently takes too long to shut down between frames of a game.  That
is, while eventually micro-sleep may show up, AFAIK we don't yet have
support for it on the laptop, so the processor is likely running at 100%
power (even if in a busy loop in the kernel) (AFAIK there is no
frequency scaling available in the processor).  We might get some
minimal benefit from having less load, but if we're waking up 10 or 15
times a second we're not going to see the kind of power benefits we'd
see with multi-second or multi-minute suspending.

We still want to have the games waiting when they are not needed. 
Eventually we hope to get aggressive suspend such that between frames we
can go to sleep, but until then the power benefits are in allowing other
processes to run, and in shutting down the game entirely after a period
of inactivity.

HTH,
Mike

-- 

  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com

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


Re: Update.1 690 poweroffs?

2008-01-28 Thread Kim Quirk
Thanks for your info, Martin. Are you on Trac? Can you write up a bug for
follow up?
(Or if someone knows of a trac item that Martin can use to add his notes;
that would be great).

Thanks,
Kim

2008/1/28 Martin Dengler [EMAIL PROTECTED]:

 I hate to trac something so vague, but please let me know if this
 better belongs there:

 I've been running update.1 build 690 on my G1G1 C2 for about 4 days
 now, and on 2 of the 3 nights (and one afternoon) since I installed it
 I've found it powered off.  It's been connected to AC all three times,
 and each time the power button did no good - I had to take out the
 battery and disconnet the power to start it up.  Today the battery
 light was on (green) but no other lights were on (the other two times
 no lights were on).

 I've never seen this behavior before.  Anybody else seen this?

 Martin

 ___
 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: [OLPC library] MATLAB for OLPC?

2008-01-28 Thread Ivan Krstić
On Jan 28, 2008, at 8:04 PM, Cleve Moler wrote:
 (I doubt that MATLAB runs in the OLPC, but I'm not sure.)


According to the system requirements[0] for MATLAB 7.5, it won't run  
on the XO laptop due to insufficient RAM (256MB present, 512MB  
required). In a perfect world, that would mean you'd pick an older  
version that runs on our hardware and consider open sourcing it, like  
EA did with the tremendously popular SimCity[1]. The latter made  
gamers around the world rejoice -- perhaps MathWorks could do the same  
for us math-heads; getting some real numerical analysis tools into the  
kids' hands would be awfully exciting.

Cheers,
Ivan.



[0] http://www.mathworks.com/support/sysreq/current_release/linux.html
[1] 
http://arstechnica.com/news.ars/post/20071110-original-sim-city-donated-to-one-laptop-per-child-project.html
 
 

--
Ivan Krstić [EMAIL PROTECTED] | http://radian.org

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


RE: [OLPC library] 'OLPC-Health' takes off !!- MATLAB for OLPC?

2008-01-28 Thread Cleve Moler
I am passing this on to Bob Bemis, who wrote the microarray demo on
MATLAB Central.  (I doubt that MATLAB runs in the OLPC, but I'm not
sure.)
  -- Cleve

-Original Message-
From: drew einhorn [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 28, 2008 11:22 AM
To: Brown, Henry, DoIT
Cc: Arjun Sarwal; [EMAIL PROTECTED]; devel@lists.laptop.org;
Eul-Shik Hong; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Cleve Moler
Subject: Re: [OLPC library] 'OLPC-Health' takes off !!- MATLAB for OLPC?

The person to ask about this is Cleve Moler
[EMAIL PROTECTED],
the original author of MATLAB.

On Jan 28, 2008 8:34 AM, Brown, Henry, DoIT [EMAIL PROTECTED]
wrote:



 OLPC + MATLAB - Tricorder for developing world

 Could Matlab create Greene Chip DNA microarray software to run on
OLPC?
 http://www.mailman.hs.columbia.edu/news/Lipkin_GreeneChip.html

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId
=2573
 http://laptop.org/
 http://www.sciencedaily.com/releases/2008/01/080121100909.htm

 If the MATLAB software could run on OLPC it could be used to monitor
disease
 in the field.
 I worked with AIDS patients and child nutrition programs while in the
Peace
 Corps.
 We saw kids die every week from RSV and dehydration caused by
diarrhea.
 We did not know what antibiotic to give.
 OLPC could use MATLAB software to integrate DNA array results to
diagnosis.
 An expert system similar to Mycin could then be used to diagnose
disease in
 the field via the web.
 http://en.wikipedia.org/wiki/Mycin



 Henry Brown
 [EMAIL PROTECTED]
 cell 795-3680
 office 505 827-2509

  
  From: [EMAIL PROTECTED] on behalf of Arjun Sarwal
 Sent: Fri 1/25/2008 4:23 PM
 To: [EMAIL PROTECTED]; devel@lists.laptop.org
 Subject: 'OLPC-Health' takes off !!


 Hi all,

 There has been a lot of interest from various groups to
develop/explore
 medical applications around the XO laptop. While a number of
people/groups
 have already undertaken efforts in a number of areas, there are also
many
 more people interested in volunteering and helping out.

 While people have put in great efforts into many projects, our efforts
would
 be much more effective once we get a little organized amongst
ourselves so
 that we can co-ordinate on our projects, avoid duplication of efforts,
and
 discuss with people with field experience to comment and feedback on
our
 efforts.


 The reach of our efforts and projects is promising and the potential
to
 impact kids and communities around the world is huge --  all this is
 possible due to the scale and reach of XO deployments.



 One can broadly break down efforts into the following three areas -


 (1) Content
 Creating a Library/repository of information that would be shipped on
the XO
 laptop as part of the default software on it. This would be a ready
 reference for preliminary diagnosis of diseases and a reference for
 symptoms. This would also include general information on an array of
topics
 such as hygiene, nutrition, balanced diets, etc.

 (2) Hardware
 Developing and using hardware peripherals that connect to the XO
laptop.
 These include, but are not limited to the build-in camera (with the
 possibility of add-on optical elements; an EKG; and a pulse oxymeter.

 (3) Software
 Developing software that asks the user a series of questions and helps
in a
 preliminary diagnosis. Links to useful websites and online portals.


 David Greisen, Seth Woodworth, Pascal Scheffers, Benjamin Schwartz are
some
 of the people that have been working on Content

 Ian Daniher, Rafael Ortiz, IMSA OLPC chapter participants (Scott
Swanson,
 Kevin, April Hope) are some of the people working on Hardware

 Please add onto this list and let everyone know what you've been
working
 upon.



 David Greisen and Mika Matsuzaki are co-ordinating efforts on the
content
 related projects.
 Ian Daniher and Kevin(IMSA) are co-ordinating efforts on hardware
projects
 We still need volunteers to co-ordinate efforts on the software
projects


 Apart from that, we need to setup an advisory board comprising of
Doctors,
 field workers, medical professionals etc. to guide the efforts in all
three
 areas.



 How you can start participating in the OLPC Health efforts --

 (1) Send an email to library mailing list[1] with a short introduction
of
 yourself.

 If you'd like to head/undertake projects, please put up project
proposals
 and let all know that you're looking for
participants/volunteers/developers

 If you'd like to volunteer in projects, please mention your area of
 experience and/or what areas you'd be interested to volunteer in.

 (2) Categorize the list of volunteers on the wiki page
 http://wiki.laptop.org/go/Health and add your name into the
appropriate
 category. Please create other categories if content, hardware,
software
 don't seem to represent the efforts very well.

 (3) Help the OLPC Health team connect with field workers, MDs ,
Doctors,
 Physicians towards the formation of an advisory group

Re: [OLPC library] MATLAB for OLPC?

2008-01-28 Thread C. Scott Ananian
On Jan 28, 2008 5:24 PM, Ivan Krstić [EMAIL PROTECTED] wrote:
 On Jan 28, 2008, at 8:04 PM, Cleve Moler wrote:
  (I doubt that MATLAB runs in the OLPC, but I'm not sure.)

There are a number of open-source replacements for MATLAB, including
GNU Octave ( http://www.gnu.org/software/octave/ ) and Maxima (
http://maxima.sourceforge.net/ ).
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC library] MATLAB for OLPC?

2008-01-28 Thread Greg DeKoenigsberg
On Mon, 28 Jan 2008, Marcus Leech wrote:

 I was just about to say the same thing.

 There's also R (The open-source replacement for 'S').

I know someone who would be more than happy to help bring R and OLPC 
together.

/me looks meaningfully at Mr. Michael Tiemann...

--g

-- 
Greg DeKoenigsberg
Community Development Manager
Red Hat, Inc. :: 1-919-754-4255
To whomsoever much hath been given...
...from him much shall be asked
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC library] MATLAB for OLPC?

2008-01-28 Thread Marcus Leech
C. Scott Ananian wrote:
 On Jan 28, 2008 5:24 PM, Ivan Krstić [EMAIL PROTECTED] wrote:
   
 On Jan 28, 2008, at 8:04 PM, Cleve Moler wrote:
 
 (I doubt that MATLAB runs in the OLPC, but I'm not sure.)
   

 There are a number of open-source replacements for MATLAB, including
 GNU Octave ( http://www.gnu.org/software/octave/ ) and Maxima (
 http://maxima.sourceforge.net/ ).
  --scott

   
I was just about to say the same thing.

There's also R (The open-source replacement for 'S').

When my daughter was taking introductory algebra, I showed here the
  algebraic solver in xMaxima.  She said that's cheating :-)
ex

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


Re: non-Sugar but core software?

2008-01-28 Thread Bernardo Innocenti
Holger Levsen wrote:

 for Debian I've started http://wiki.debian.org/DebianEdu/OLPC/ToDo yesterday, 
 to document what is working and whats not and what work needs to be done.
 
 In general, a document describing how the XO-1-fedora installation differs 
 from a plain fedora would be very much appreciated, also by the OpenWRT 
 developers.

A quick (although low-level) way to find out, is going through
the Fedora pkgdb to find the complete list of packages we've
forked in the OLPC-2 collection:

  https://admin.fedoraproject.org/pkgdb/collections/

For each one of these, you can checkout the cvs source:

  cvs -d :pserver:[EMAIL PROTECTED]/cvs/pkgs co PACKAGE

Then you can diff between the version in F-7 and the one in
OLPC-2.  Many changes are not OLPC specific and will hopefully
be merged back with our upstreams as soon as the relevant
maintainers find the time to clean them up.  I've been doing
some of this work for my packages, but I'm afraid there's a
lot more to be done, especially in Xorg.  Feel free to beat me!

This list does not include a small number of packages that need
to be moved to koji and have not made it yet for various
reasons.  You can find all these by grepping for olpc-joyride
in our build logs:

  
http://xs-dev.laptop.org/cscott/olpc/streams/joyride/latest/devel_jffs2/build.log

Finally, while I have no time to do much of this work myself,
I'm glad to help integrate our customizations into Debian,
OpenWRT, or any other distro willing to support the XO.

-- 
 \___/
 |___|   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: [OLPC library] MATLAB for OLPC?

2008-01-28 Thread Rafael Enrique Ortiz Guerrero
2008/1/28 C. Scott Ananian [EMAIL PROTECTED]:

 On Jan 28, 2008 5:24 PM, Ivan Krstić [EMAIL PROTECTED]
 wrote:
  On Jan 28, 2008, at 8:04 PM, Cleve Moler wrote:
   (I doubt that MATLAB runs in the OLPC, but I'm not sure.)

 There are a number of open-source replacements for MATLAB, including
 GNU Octave ( http://www.gnu.org/software/octave/ ) and Maxima (
 http://maxima.sourceforge.net/ ).
  --scott




 --

Another interesting open source math project also pointed as a replacement
of matlab is Sage
*
http://www.sagemath.org/**   *



-- 
Rafael Enrique Ortiz Guerrero
One Laptop Per Child
[EMAIL PROTECTED]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC library] MATLAB for OLPC?

2008-01-28 Thread M. Edward (Ed) Borasky
Rafael Enrique Ortiz Guerrero wrote:
 
 
 2008/1/28 C. Scott Ananian [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
 
 On Jan 28, 2008 5:24 PM, Ivan Krstić
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   On Jan 28, 2008, at 8:04 PM, Cleve Moler wrote:
(I doubt that MATLAB runs in the OLPC, but I'm not sure.)
 
 There are a number of open-source replacements for MATLAB, including
 GNU Octave ( http://www.gnu.org/software/octave/ ) and Maxima (
 http://maxima.sourceforge.net/ ).
  --scott
 
  
 
 
 --
 
 Another interesting open source math project also pointed as a 
 replacement of matlab is Sage
 *
 http://www.sagemath.org/**   *

My turn:

1. Both Maxima/XMaxima/wxMaxima and R run on my XO out of the box 
courtesy of yum. With the Maximae, you get your choice of Lisp run 
times. I've successfully used both the clisp and SBCL runtimes. They do 
have a lot of dependencies, however, so watch your flash space.

2. Maxima is a Computer Algebra System and R is a graphical and 
statistical/numeric package. Both will do number crunching, but 
they're two different beasts, and both fundamentally different beasts 
from Matlab.

3. There are two and a half free Matlab clones. Someone mentioned 
Octave, but there is also Freemat, and a half-free package called 
SciLab. I call SciLab half-free because I don't know its exact 
license. You can download it freely, but I'm not sure all of the GPL 
freedoms are in place on it. I have used exactly none of these -- I 
learned R and don't see the need for another number cruncher.

4. On to Sage -- Sage is a wonderful package. It is written in Python 
and wraps many specialized and more general math packages. Its goal is 
to replace Mathematica, Maple, and some other less-well-known math 
packages. However -- it's huge. And it installs everything independently 
of whether you have the same package already as part of your distro.

I loaded it once, but there were only two or three rather specialized 
packages in Sage that weren't in my Gentoo repositories already. I think 
it's modular -- you don't have to load the whole enchilada. I might load 
the base on my virtual XO just to see how much space the core takes, 
because it's really an excellent collection.

If you can only load *one* math package, I highly recommend wxMaxima 
with the clisp run time. That's going to give you the most bang for your 
flash space. You don't really need XMaxima -- wxMaxima is a much better 
UI. By the way, wxMaxima also runs on Windows!!

Well ... so does R. In fact, the Windows UI for R is better than the 
core Linux UI. :)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC library] OLPC+MATLAB+Greene DNA Chip = Disease Tricorder for developing world

2008-01-28 Thread M. Edward (Ed) Borasky
M. Edward (Ed) Borasky wrote:
 R has several server options, although I've never used them. 

http://www.rforge.net/Rserve/

http://cran.r-project.org/src/contrib/Descriptions/R.rsp.html

and if you absolutely positively *must* use Windows,

http://cran.r-project.org/contrib/extra/dcom/RSrv135.html


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


Re: tcp/ip assumptions

2008-01-28 Thread Thomas Tuttle
I'm confused as to what you mean by a relay system.  If you mean it's
a router, then it should route the NTP packets fine.  If you mean it's
an HTTP proxy, then NTP simply doesn't work over an HTTP proxy.

I don't understand why you expect the XO to magically figure out how you
want your network to work.  NTP is routed over TCP/IP.  If you want it
to work, you have to provide TCP/IP routing to the server!  If you don't
want to, you can run an NTP server on your relay system.

There's nothing wrong with the XO making assumptions as to the external
services available, as the school servers will have NTP servers, and if
the laptop is on the mesh network, it will have access to the server.

If I've made an incorrect assumption here, or made a mistake, please let
me know.

Thanks,

Thomas Tuttle

On Mon, 28 Jan 2008 20:56:46 -0500, Mikus Grinbergs [EMAIL PROTECTED]
said:
 I have a G1G1, which communicates via a local LAN to a relay 
 system, which communicates to the internet.  The server facilities 
 (*just* for the XO - not needed by the regular systems on my LAN) 
 I've now set up in the relay station are minimal (e.g., for DNS). 
   The result is that many XO requests are not fulfilled by my 
 relay system (for instance, a separate dialog may be needed - 
 between the relay system and a *real* server out on the internet).
 
 I was looking at a trace of the packets on my local LAN.  In the 
 case of DNS, the XO issues three Type 28 requests (which my 
 minimal relay station does not support), before issuing a Type 
 01, to which it eventually does get an answer.  In the case of NTP, 
 the XO issues scattershot requests to all server addresses it was 
 able to extract [but receives no responses, because it tries to 
 contact them directly, rather than going through the 'proxy' 
 function in my relay system].
 
 
 My conclusion:  The tcp/ip function in the XO makes a number of 
 assumptions as to the type (and timeliness) of the external SERVICES 
 it expects to have been provided.  I would have been happier if I 
 had known about these beforehand, rather than having to discover 
 what does or does_not work in the environment I currently have. 
 [Might some setups in a target country be as minimal as mine?]
 
 mikus
 
 ___
 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: tcp/ip assumptions

2008-01-28 Thread James Cameron
G'day Mikus,

I agree with Thomas ... if your relay system is not providing  
transparent proxy for TCP/IP then there are certainly some things in  
the XO software that will not work.  Perhaps your relay does not  
support the XO.

I have looked at the DNS requests made by the XO and they are  
correct.  If your relay does not support them, it may be time to  
fix it.

The XO software certainly makes assumptions, but these are so  
trivially provided by a school server and internet connection that I  
don't see these assumptions as a problem.

--
James Cameron

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


New joyride build 1604

2008-01-28 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1604

Changes in build 1604 from build: 1601

Size delta: 1M

-etoys 2.3.1870-1
+etoys 2.3.1882-1
-Etoys 74
+Etoys 75
-Measure 15
+Measure 16

--- Changes for etoys 2.3.1882-1 from 2.3.1870-1 ---
  + updated translations from pootle
  + added bn, pt_BR, sv translations
  + fixed unplayable movie in example project
  + (re-)disable key generation on startup
  + fix resuming a midi file
  + ability to create .xo bundle
  + support localization in bundles

--- Changes for Etoys 75 from 74 ---
  + remove audio/mpeg and video/mpeg mimetypes
  + add application/x-squeak-archive mimetype

--- Changes for Measure 16 from 15 ---
  + Included translations added via pootle - pl, te, mn, ff, ff_AF,

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


huge init footprint

2008-01-28 Thread Bernardo Innocenti
Hello,

I just noticed that our init uses up an unusual amount
of memory (5MB!), almost as if it was a Python process.

And in fact, it seems to be really a python process
spawned by our initrd.  And since the initrd cannot
possibly use the system libraries from the jffs2 partition,
almost all these mappings are unshared.

Now, to conserve resources, it would be nice if we could
exec() the real init just before passing control to the
rc scripts.

-- 
 \___/
 |___|   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: Battery charging and display intensity in joyride-1594

2008-01-28 Thread Bernardo Innocenti
Mark Bauer wrote:

 Second issue..  Not touching the system, the display intensity keeps  
 jumping up and down.

This is ohm suspending the laptop after 20 seconds of inactivity,
and network traffic waking it up shortly after.

I guess we could fix it by not undimming the display if
we wake up just because of network activity?


 I am still on AC, no need to dim the display,  it is just a bit  
 annoying.

There's no (easy) way to tell whether your AC has an
infinite amount of cheap energy or of your grandpa is
cranking to keep the laptop going.

I also find it annoying, and I guess we could make the idle
timeout tunable somehow.  For now, you can tune it by
killing ohm.

-- 
 \___/
 |___|   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: Speak activity and speech synthesisor

2008-01-28 Thread Joshua Minor
Speak uses the speech synthesizer espeak which includes support for  
adding languages.  Here is a place to start:

http://espeak.sourceforge.net/add_language.html

You may want to contact the espeak developers directly.  Their contact  
info is at the top of this page: http://espeak.sourceforge.net/


-josh

On Jan 28, 2008, at 9:36 PM, David Leeming wrote:

I am interested in how to localise the XO for our Pacific Islands  
region in terms of the Speak activity and speech synthesis  
generally. Most languages here are phonetic with each letter being  
pronounced, so it should be simple. Any pointers to how to do this  
would appreciated.


David Leeming
Technical Advisor, People First Network
Honiara, Solomon Islands, South Pacific

___
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


Speak activity and speech synthesisor

2008-01-28 Thread David Leeming
I am interested in how to localise the XO for our Pacific Islands region in
terms of the Speak activity and speech synthesis generally. Most languages
here are phonetic with each letter being pronounced, so it should be simple.
Any pointers to how to do this would appreciated.

 

David Leeming

Technical Advisor, People First Network

Honiara, Solomon Islands, South Pacific

 

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


Re: huge init footprint

2008-01-28 Thread James Cameron
On 29/01/2008, at 4:20 PM, Bernardo Innocenti wrote:
 I just noticed that our init uses up an unusual amount
 of memory (5MB!), almost as if it was a Python process.

I'm at a conference where anyone with an XO gets urgently questioned  
about their version management, so I've not got one with me right  
now ... what does lsof(1) say this init process has open, and what  
does /proc/1/stat* say about the memory cost?

I do recall there was a really good reason why our init is in  
Python ... activation and so forth.  Does it deserve recoding just to  
save 5Mb?

--
James Cameron

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


Re: tcp/ip assumptions

2008-01-28 Thread Mikus Grinbergs
Thomas Tuttle wrote:
 I don't understand why you expect the XO to magically figure out how you
 want your network to work.

What I want to know (i.e., to figure out) is how __I__ can make the 
XO work well in my network.  For instance, are there environmental 
variables I can use that will help my setup?  [I do NOT expect the 
__XO__ to magically figure out things.]  But it looks to me that 
the way to find out about what is lacking in my network has been 
try it and see.  I *wish* that topics such as 'proxies' had been 
better described when the XO was released (G1G1) for anyone's use.

 NTP simply doesn't work over an HTTP proxy

I may be mistaken, but I believe I've read Linux descriptions of NTP 
which allowed the server URL to be prepended with a proxy-URL.  I do 
not know whether something like that is supported by fedora (or XO).

 If you want it to work, you have to provide TCP/IP routing to the server!

The reason I called it a relay system is because it intermediates 
between my local LAN and the internet.  This system already provides 
several 'servers' for my local LAN, plus several kinds of 'proxies'.

But I also had to define things in the XO, such as RSYNC_PROXY (that 
allows 'olpc-update' over my network by my XO).

An example of a current problem I have is that I have not figured 
out how to provide off-LAN TCP/IP routing to the sugar-control-panel 
specified server from the XO's 'jabber' support.

 There's nothing wrong with the XO making assumptions as to the external
 services available, as the school servers will have NTP servers

But were the G1G1 recipients told the XO assumes there will be an 
NTP server?  And were they told how the XO would behave if that was 
not true?  [Note that even school servers may be temporarily down.]


Thanks,  mikus






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


Re: New joyride build 1591

2008-01-28 Thread Bernardo Innocenti
Build Announcer v2 wrote:
 http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1591
 
 Changes in build 1591 from build: 1590
 
 Size delta: 1M

Could we keep the decimals for this figure?  Maybe
I'm too being picky :-)


 -sugar-evince-python 2.20.1.1-1.olpc2
 +sugar-evince-python 2.20.1.1-2.olpc2
 -bootfw q2d09-3.olpc2.unsigned
 +bootfw q2d10-1.olpc2.unsigned
 +desktop-file-utils 0.12-4.fc7
 +djvulibre 3.5.18-2.olpc2
 -sugar-evince 2.20.1.1-1.olpc2
 +sugar-evince 2.20.1.1-2.olpc2
 +xdg-utils 1.0.2-3.fc7

What's dragging in djvulibre, desktop-file-utils and
xdg-utils?

-- 
 \___/
 |___|   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: tcp/ip assumptions

2008-01-28 Thread Hal Murray

 I may be mistaken, but I believe I've read Linux descriptions of NTP
 which allowed the server URL to be prepended with a proxy-URL.  I do
 not know whether something like that is supported by fedora (or XO). 

NTP doesn't use URLs so one of us is really confused.  (I'm assuming you are 
talking about Network Time Protocol.)


 The reason I called it a relay system is because it intermediates
 between my local LAN and the internet.  This system already provides
 several 'servers' for my local LAN, plus several kinds of 'proxies'. 

I'm familiar with 2 types of typical setups.  One uses a router.  The other 
uses a NAT box.

The router just forwards packets.  The pure router doesn't look inside the 
packets.

Some routers have firewalls added to try to prevent malicious activities.  
Some of them look inside the packets and keep track of what's going on.  It's 
often easier to do that sort of work with a proxy.

A NAT box is similar to a router but it patches the IP Addresses of packets 
that it forwards.  The initial motivation was to allow several systems in the 
inside to share a single outside facing IP Address.  This is typical of DSL 
and cable boxes that are often called routers.  NAT works OK as long as you 
don't send your IP address or port numbers inside the packets.  (or include 
it in any crypto hashing or...)

NAT gives you some of a firewall for free since unsolicitedincoming packets 
don't get forwarded.  Solicited includes two cases.  One is packets that are 
part of an existing conversation (replies to an outgoing packet).  The other 
is packets to a server where you have setup a table entry telling the NAT box 
where to send packets for that port number.  (aka the server is)
 


A proxy is a box that listens on one side and processes packets at the 
application (web/HTTP) level and replays the requests out another side.  
Sometimes those sides are two different ethernet interfaces.

Proxys are often used in corporate environments because they can do logging 
and web filtering...


For NTP, the usual solution is to run an NTP server on the inside network and 
then setup your systems to talk to it rather than someplace outside.  You 
might run it on the proxy but larger organizations probably have a dedicated 
machine.



ntpd on my XO works just fine through a NAT box.



-- 
These are my opinions, not necessarily my employer's.  I hate spam.



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