Re: Mermorize -- fixed

2008-03-20 Thread Simon Schampijer
To follow up on this:

the issue was locale related like described in #3165. I applied the same 
workaround for now, setting the NUMERIC locale to 'C'.

A new memorize package is up at:
http://dev.laptop.org/~erikos/Memorize-26.xo

Victor, thanks very much for all your effort to spot this hard to find bug.
Simon

victor wrote:
 I traced the memorize bug and fixed it in games.py. I also
 optmised the csound code in csoundserver.py. I am not sure
 who needs to get this code. Could he/she get in touch with me
 privately?I'll give more details then.
 
 Thanks
 
 Victor
 
 
 
 
 
 ___
 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: [sugar] OLPC Usability Testing Class Project

2008-03-20 Thread Tomeu Vizoso
Hi,

On Thu, Mar 13, 2008 at 11:24 PM, Frederick Grose [EMAIL PROTECTED] wrote:
 This note is a request for the broader community to consider potential topic
 areas that might be prime for some usability testing.

 (Here is a quick review of usability testing,
 http://en.wikipedia.org/wiki/Usability_testing.)

 Professor Keith Karn in the Information Technology Department,
 http://it.rit.edu/it/, of the Rochester Institute of Technology (RIT) in
 Rochester, NY will have 4-5 graduate students (from his class of 20)
 propose, and over the next 10 weeks, execute a usability testing
 consultation around the XO or OLPC project.  The class met for the first
 time on Wednesday 12 March 2008, and will meet, as a whole, every Wednesday
 6-9:50 pm EDT through 21 May 2008.  This OLPC project team will be asked to
 review the wiki.laptop.org and then contact me as client representative.
 Because of the academic schedule, we need to review and select a testing
 topic area in the next 7 days and have a final testing plan prepared by 26
 March 2008.

 What usability issue is currently most timely and significant to the
 project?  Since OLPC is developing a new information and communication
 technologies platform, there are many possibilities for significant target
 users, subsystems, components, and activities.

I suggest starting first with observing general usage of the Sugar
shell and base activities (Browse, Read, Write, Paint and Journal) and
move from there to other activities. At this point, I don't think more
focused testing will be as useful.

 Please think about the project design needs, possibilities, and constraints,
 and suggest topics or issues here or to our wiki page,
 http://wiki.laptop.org/go/OLPC_Rochester%2C_NY#Project_ideas.

 We have a few G1G1 XOs in Rochester that we should be able to use for live
 testing with local children.  Larger scale tests could be performed with
 emulated XOs or hosted Sugar in the RIT Usability Laboratories. The class
 will be expected to go through the human subject reviews as required.

 Because so many cultural variables may be important modifiers of
 understanding user interactions with the OLPC project, perhaps there may be
 some more basic or common psycho-physical aspects of usability we could
 address that would be timely and significant for the project. Or, we might
 be able to recruit user participants from one of the recently settled
 immigrant communities in the Rochester area to delve into the
 internationalization and cultural domains.

Having different groups of children based on age and previous contact
with computers may be more important than cultural differences, in my
opinion.

 Some reviewers of OLPC have been critical of the shortage of reported
 usability testing results, so far, however, if we appreciate the pace and
 resourcing of the development, perhaps this is a chance to address any gaps
 or curiosities that you may have.

We have already had some feedback from the pilot tests, but until now
and because of time and other constraints, hasn't been as systematic
as we need. Having your commented observations about which tasks are
more problematic would already be extremely useful.

 We would welcome your thoughts (particularly on usability issues in the near
 term).

 Thanks to everyone for all their efforts!

I'm afraid now is not a good moment to ask a big involvement from the
Sugar developers, but I'm sure we'll make our best at answering more
concrete questions that you have.

Thanks and good luck,

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


Re: Detecting MIME type of a shared file

2008-03-20 Thread James Simmons

Tomeu,

The zipfile.is_zipfile(filename) method solved my problem.  I was able 
to successfully share a Zip file between two computers running my 
activity.  Still some kinks to iron out, though.  I'll keep your 
suggestion in mind for the future.


Thanks,

James Simmons


Tomeu Vizoso wrote:


On Wed, Mar 19, 2008 at 11:08 PM, James Simmons
[EMAIL PROTECTED] wrote:
 


Tomeu and Michael,

It turns out Python has a method you can pass a filename to and it will
identify if the file is a Zip file or not, based on the magic number, not
the filename.  It seems to do the trick.
   



As a rule of thumb, I would first try to get a mime-type I can trust,
and only if I cannot (I get for example application/octet-stream), I
would try to sniff the type.

But in your case you may be right by just sniffing it.

Tomeu
 



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


Development kernel RPMs

2008-03-20 Thread Denver Gingerich
I am interested in testing out development kernels, but I don't have
the time to setup a development environment and re-sync and rebuild my
git tree every few weeks.  I see that the master and stable heads have
auto-built RPMs that are available at
http://dev.laptop.org/~dilinger/master/ and
http://dev.laptop.org/~dilinger/stable/, but there doesn't seem to be
a similar resource available for development kernels.

To clarify, when I say development kernel, I mean a kernel that is
built from the linux-2.6 head at
http://dev.laptop.org/git?p=olpc-2.6;a=summary.  This appears to be
the head that most closely follows Linus' tree.

Would it be possible to setup an RPM auto-build system for the
linux-2.6 head as is setup for the master and stable heads?

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


Branches listed on kernel wiki page out-of-date

2008-03-20 Thread Denver Gingerich
The list of branches at http://wiki.laptop.org/go/Kernel appears to be
out-of-date.  powermgmt and devtree are listed even though they
haven't been updated in 9+ months while linux-2.6 is not listed, even
though it is updated fairly regularly.  Worsening the problem is the
statement The other branches are no longer used, and can be
ignored., which implies linux-2.6 is not used, for example.

I'm not particularly familiar with the reasoning behind different
branches so I am hesitant to do the updates myself.  Could a kernel
developer update the wiki to reflect the branches currently in use?

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


GSoC project - Language learning activity

2008-03-20 Thread Aditya M
Hi,

I am a college UG student hoping to participate in the SoC. The
foreign language learning activity project interests me. I had a look
at the LingoTeach project [0] and I think that it should be
convertible into a tool that can let children learn new languages and
be used in OLPC deployments. I know Python and C/C++. Is there someone
who is interested in mentoring this project? I would love to discuss
further my ideas for this application.

Also, if this is not the right place to ask, please tell me.

[0]: http://lingoteach.sourceforge.net/

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


Building kernel on non-Fedora systems

2008-03-20 Thread Denver Gingerich
The kernel building wiki pages
(http://wiki.laptop.org/go/Rebuilding_OLPC_kernel and
http://wiki.laptop.org/go/Kernel_Building) suggest that the only way
to build an OLPC kernel is using Fedora Core 6 or 7.  This is quite
limiting for people like me who don't use Fedora regularly as we would
have to dual-boot Fedora or install it in a VM just to build kernels,
while most Linux distros are perfectly capable of building a normal
kernel.

Has any work been done on removing the dependency on Fedora Core for
kernel building?  Can someone provide a brief list of the reasons for
this dependency so that those interested in fixing it can do so?

I realize that it would still be necessary to have RPM installed to
create an RPM for quick deployment on an XO, but it should be easy to
at least make the kernel binary and perhaps even the initrd image
without RPM.  Being able to build the kernel binary seems to be
sufficient for most development purposes as a developer could just add
the new binary to /boot and update the /boot/vmlinuz symlink or update
olpc.fth.

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


New joyride build 1783

2008-03-20 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1783

Changes in build 1783 from build: 1778

Size delta: 0.00M

-Memorize 25
+Memorize 26

--- Changes for Memorize 26 from 25 ---
  + Fix sound issue when using Memorize with non-US language

--
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: Building kernel on non-Fedora systems

2008-03-20 Thread Richard A. Smith
Denver Gingerich wrote:

 
 Has any work been done on removing the dependency on Fedora Core for
 kernel building?  Can someone provide a brief list of the reasons for
 this dependency so that those interested in fixing it can do so?

Michael stone pointed me at the kernels existing 'make binrpm-pkg' one 
evening and using the olpc config file I used this to create an rpm on a 
debian ubuntu system without any of the Fedora stuff.

This kernel booted fine and ran fine.  The problems I had were in the 
modules. I was not able to get the depmod to quit whining but later 
conversations with mstone showed that I was probably not running the 
right depmod command.  My testing only needed stuff that was static so I 
didn't care at the time.

 without RPM.  Being able to build the kernel binary seems to be
 sufficient for most development purposes as a developer could just add
 the new binary to /boot and update the /boot/vmlinuz symlink or update
 olpc.fth.

/boot is not really /boot . :)  /boot is really 
'/versions/boot/current/boot'. you must put your kernel there or it 
won't be used.

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


Face Detection and other Vision Processing (and some sample code)

2008-03-20 Thread Nirav Patel
I've been playing with vision processing stuff for the XO, mostly
using OpenCV.  I have some sample code up at
http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face
detection surprisingly quickly.  It seems that the bottleneck isn't
even the OpenCV Haar Cascade algorithm, but the time it takes to
initialize the v4l2 drivers.

The code I wrote is just basic proof of concept stuff, but there are
some amazing possibilities involved in vision processing, like
recognizing sign language and gestures, drawing in air, playing motion
based games, and even identifying plants and wildlife.

If anyone is interested, I'd like to start developing an Activity that
uses face/object detection for something more fun or useful.  I'm new
to Python and OLPC development, so I could use some help.
Alternately, I am a student, so if anyone is interested in mentoring
this as a possible Summer of Code project, that would be great.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


SoC: Language Learning Activity

2008-03-20 Thread Steven Mohr
Hi,
my name is Steven Mohr. I study computer science dual at the BA Mannheim
(www3.ba-mannheim.de) in Mannheim, Germany. This is a 1:1 combination of
normal studies and working in a company. Instead of having vacation I'm
working at the German Aerospace Center (DLR) in the department for software
and simulation technology (http://www.dlr.de/sc/en/desktopdefault.aspx).
I've already have at bit experience in an open source projects. I
participated for the DLR in an open source project called catacomb
(http://catacomb.tigris.org/). 
I would like to work at the Language Learning Activity. I've looked at the
Lingoteach app and it seems to be a good basic for a port to XO. Lingoteach
has already language files and even spoken examples. I would like to port it
to Python. There's a C library which implements access to the language files
so what we could reuse them. So my question is: Who is mentoring this task
that I can talk about details?
 
Steven
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Assorted Data on the Quality of our Networking, Presence, and Read Sharing Capabilities

2008-03-20 Thread Michael Stone
Friends,

Chris Ball and I spend several hours last night measuring the behavior
of Read sharing. The data we collected are reproduced below.

Michael





A Fragment of the Critical Path for Successful Read Sharing



This chart was created based on general knowledge of the Telepathy, Sugar
Presence Service, Sugar python libraries, and the Read source code at 

http://dev.laptop.org/git?p=projects/read-activity;a=blob;f=readactivity.py;hb=HEAD


  *
  |
XOs join the network  |
  |
  |
  *
  |
Read is started on|
the sharer  |
  |
   /--*--\
  /   \
invitations  / \   the sharer is 
are sent|   |  marked public
 \ /
  \   /
   \--*--/
  |
Joiners recognize the |  
presence of the shared|  
activity  |
  *
  |
Join commands are issued  |
to Sugar  |
  |
  *
Read instances look for   |
Tubes, register callbacks |
for new Tubes |
  |
  *
  |
...   |
  |
  |
  *
  |
After accepting a new |
tube, the joining act.|
issues an HTTP request|
  *
  |
...   |
  |
  |
--*---
   /  |   \
Results   /   |\
 /| \
/ |  \
success   divergence   failure





Experimental Setup


A Log of our measurements follows.

All experiments were conducted with four B4s (MS1, MS2, MS3, MS4)
running update.1-699 and Read-44.xo. The build log for 699 is here:

  
http://pilgrim.laptop.org/~pilgrim/xo-1/streams/update.1/build699/devel_jffs2/build.log

if you need to see what software is in the build.





Simple Mesh, Sequential Invitations


We created a simple mesh on Channel 11 and extended invitations to
join a Phyla.pdf (under Library  Biology; ~2.5 MB) session from 
 
MS1 -I (MS3, MS4).

The invitations were received on both MS3 and MS4.

First, we caused MS3 to accept the invitation. MS3 successfully
displayed the shared PDF. Then we caused MS4 to accept the invitation.
MS4 displayed the shared PDF.





Simple Mesh, Simultaneous Invitations


Still on Channel 11, simple mesh; we closed all open instances of Read
and reopened Phyla.pdf on MS1. We extended invitations from

MS1 -I (MS3, MS4)

The invitations were received on both MS3 and MS4.

We caused MS3 and MS4 to accept their invitations simultaneously. Both
MS3 and MS4 displayed the shared PDF after about 5-10 seconds of data
transfer.

  NB: Joining Read instances do not save the actual PDFs they receive to
  the DS. There is a comment in the source code stating this fact but
  there is no explanation of _why_ this decision was made. If you know
  why, please let us know.



Connecting to an AP


Next we connected MS1, MS2, MS3, and MS4 to the channel 6 media
802.11 AP.

MS1, MS2, and MS4 all connected successfully on the first try and
received presence updates.

MS3's connection icon changed to indicate that it was connected to the
AP but it received no presence information. 

  'olpc-netstatus' on MS3 reported that Salut was running but the
  Config field was blank. [On the other XOs, the Config field read
  Access point.]

After five disconnect/reconnect attempts, MS3 made a successful
connection to the AP and presence information was exchanged.





Making Friends


In order to speed up the process of issuing invitations in the future,
we added each of MS[1,2,3,4] as a friend of each of MS[1,2,3,4]. All
XOs saw their three friends as being available. 

Unfortunately, in the mesh views on MS1, MS2, and MS4, the MS4 mesh
icon representing MS1 had a palette offering a Remove friend option.
All the other representing icons had palettes with the Add friend
option, even on the Friends View.





Dynamics of maintaining connections

New joyride build 1784

2008-03-20 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1784

Changes in build 1784 from build: 1783

Size delta: 0.00M

-telepathy-salut 0.2.2-5.olpc2
+telepathy-salut 0.2.3-1.olpc2

--- Changes for telepathy-salut 0.2.3-1.olpc2 from 0.2.2-5.olpc2 ---
  + Upstream release 0.2.3
  + dev.laptop.org #6575: muc receives message but can't send anymore

--
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


python programming assist.

2008-03-20 Thread Aaron Konstam
Recently someone mentioned they were trying to improve their python
programming skills.

Attached is a python program than might help. It is called:
create_module_list

If create_module_list
is executed for example like so:
create_module_list string
it will produce a file called:
string_modules

which contains a list of all the functions in string.py together with
the documentation of each function.

It will not work properly on packages.

--
===
A mathematician is a device for turning coffee into theorems. -- P.
Erdos
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]
#!/usr/bin/env python
 produces list of components in a python module 
 Usage: create_module_list module_name   
import string, sys
if len(sys.argv) == 1:
	print Usage: create_module_list  module_name 
else:
	module = sys.argv[1]
	exec(import  + module)
	osmod= eval( dir(+module + ))
	file=open(module +_modules,w)
	file.write(  List of + module+   modules \n +
	 -- \n\n)
	index=0
	while index  len(osmod):
		element=osmod[index]
		file.write(element + '\n')
		docum=eval(module +. + element + .__doc__)
		if docum != None:
			file.write(docum + '\n')
			file.write(\n + ==+'\n')
		index = index+1

	file.close()

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


Re: Face Detection and other Vision Processing (and some sample code)

2008-03-20 Thread karl
Nirav Patel wrote:
 I've been playing with vision processing stuff for the XO, mostly
 using OpenCV.  I have some sample code up at
 http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face
 detection surprisingly quickly.  It seems that the bottleneck isn't
 even the OpenCV Haar Cascade algorithm, but the time it takes to
 initialize the v4l2 drivers.

 The code I wrote is just basic proof of concept stuff, but there are
 some amazing possibilities involved in vision processing, like
 recognizing sign language and gestures, drawing in air, playing motion
 based games, and even identifying plants and wildlife.

 If anyone is interested, I'd like to start developing an Activity that
 uses face/object detection for something more fun or useful.  I'm new
 to Python and OLPC development, so I could use some help.
 Alternately, I am a student, so if anyone is interested in mentoring
 this as a possible Summer of Code project, that would be great.
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

   
I made a demo in Etoys for color tracking objects with the camera:

http://dev.laptop.org/~bert/camTrack.pr

Have good lighting and a distinctly  colored object.
Pick the color from the object with the color picker and a yellow 
ellipse on screen will track relative how you move the object.

This is just a demo , more to come later...
Karl
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New faster build 1785

2008-03-20 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/faster/build1785

Changes in build 1785 from build: 1778

Size delta: 0.00M

-telepathy-salut 0.2.2-5.olpc2
+telepathy-salut 0.2.3-1.olpc2
-Memorize 25
+Memorize 26

--- Changes for telepathy-salut 0.2.3-1.olpc2 from 0.2.2-5.olpc2 ---
  + Upstream release 0.2.3
  + dev.laptop.org #6575: muc receives message but can't send anymore

--- Changes for Memorize 26 from 25 ---
  + Fix sound issue when using Memorize with non-US language

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/faster-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: Face Detection and other Vision Processing (and some sample code)

2008-03-20 Thread Chris Hager
Nirav Patel wrote:
 I've been playing with vision processing stuff for the XO, mostly
 using OpenCV.  I have some sample code up at
 http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face
 detection surprisingly quickly.  It seems that the bottleneck isn't
 even the OpenCV Haar Cascade algorithm, but the time it takes to
 initialize the v4l2 drivers.

Wow - this is amazing! And especially with this speed of ~0.25 seconds 
for finding a face! How are you accessing OpenCV - via SWIG or CTypes?

I'd suggest to create [[OpenCV]] and start linking to infos, howto's and 
examples. That will make life much easier for all who want to play 
around with image recognition on the xo in the future.

- Chris


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


Re: Face Detection and other Vision Processing (and some sample code)

2008-03-20 Thread Nirav Patel
OpenCV has a Python API that uses SWIG.  It's in the default fedoro
repo as opencv-python.

Good idea, I'll add it to the wiki momentarily.

On Thu, Mar 20, 2008 at 6:47 PM, Chris Hager [EMAIL PROTECTED] wrote:
 Nirav Patel wrote:
   I've been playing with vision processing stuff for the XO, mostly
   using OpenCV.  I have some sample code up at
   http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face
   detection surprisingly quickly.  It seems that the bottleneck isn't
   even the OpenCV Haar Cascade algorithm, but the time it takes to
   initialize the v4l2 drivers.

  Wow - this is amazing! And especially with this speed of ~0.25 seconds
  for finding a face! How are you accessing OpenCV - via SWIG or CTypes?

  I'd suggest to create [[OpenCV]] and start linking to infos, howto's and
  examples. That will make life much easier for all who want to play
  around with image recognition on the xo in the future.

  - Chris



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


Re: Devel Digest, Vol 25, Issue 83

2008-03-20 Thread Nehemiah Dacres
RE: Face Detection and other Vision Processing (and some sample code) were
you testing  on a machine or in an emulator?  the olpc must have some wicked
python optimizations to get that don to .25seconds how much data were you
working with?

2008/3/20 [EMAIL PROTECTED]:

 Send Devel mailing list submissions to
devel@lists.laptop.org

 To subscribe or unsubscribe via the World Wide Web, visit
http://lists.laptop.org/listinfo/devel
 or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

 You can reach the person managing the list at
[EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Devel digest...

 Today's Topics:

   1. Face Detection and other Vision Processing (and some sample
  code) (Nirav Patel)
   2. SoC:  Language Learning Activity (Steven Mohr)
   3. Assorted Data on the Quality of our Networking, Presence, and
  Read  Sharing Capabilities (Michael Stone)
   4. New joyride build 1784 (Build Announcer v2)
   5. python programming assist. (Aaron Konstam)
   6. Re: Face Detection and other Vision Processing (and some
  sample code) (karl)
   7. New faster build 1785 (Build Announcer v2)
   8. Re: Face Detection and other Vision Processing (and some
  sample code) (Chris Hager)
   9. Re: Face Detection and other Vision Processing (and some
  sample code) (Nirav Patel)


 -- Forwarded message --
 From: Nirav Patel [EMAIL PROTECTED]
 To: devel@lists.laptop.org
 Date: Thu, 20 Mar 2008 12:18:39 -0400
 Subject: Face Detection and other Vision Processing (and some sample code)
 I've been playing with vision processing stuff for the XO, mostly
 using OpenCV.  I have some sample code up at
 http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face
 detection surprisingly quickly.  It seems that the bottleneck isn't
 even the OpenCV Haar Cascade algorithm, but the time it takes to
 initialize the v4l2 drivers.

 The code I wrote is just basic proof of concept stuff, but there are
 some amazing possibilities involved in vision processing, like
 recognizing sign language and gestures, drawing in air, playing motion
 based games, and even identifying plants and wildlife.

 If anyone is interested, I'd like to start developing an Activity that
 uses face/object detection for something more fun or useful.  I'm new
 to Python and OLPC development, so I could use some help.
 Alternately, I am a student, so if anyone is interested in mentoring
 this as a possible Summer of Code project, that would be great.



 -- Forwarded message --
 From: Steven Mohr [EMAIL PROTECTED]
 To: devel@lists.laptop.org
 Date: Thu, 20 Mar 2008 17:20:56 +0100
 Subject: SoC: Language Learning Activity
  Hi,
 my name is Steven Mohr. I study computer science dual at the BA Mannheim (
 www3.ba-mannheim.de) in Mannheim, Germany. This is a 1:1 combination
 of normal studies and working in a company. Instead of having vacation I'm
 working at the German Aerospace Center (DLR) in the department for software
 and simulation technology (http://www.dlr.de/sc/en/desktopdefault.aspx).
 I've already have at bit experience in an open source projects. I
 participated for the DLR in an open source project called catacomb (
 http://catacomb.tigris.org/).
 I would like to work at the Language Learning Activity. I've looked at
 the Lingoteach app and it seems to be a good basic for a port to
 XO. Lingoteach has already language files and even spoken examples. I would
 like to port it to Python. There's a C library which implements access to
 the language files so what we could reuse them. So my question is: Who is
 mentoring this task that I can talk about details?

 Steven


 -- Forwarded message --
 From: Michael Stone [EMAIL PROTECTED]
 To: devel@lists.laptop.org
 Date: Thu, 20 Mar 2008 13:41:42 -0400
 Subject: Assorted Data on the Quality of our Networking, Presence, and
 Read Sharing Capabilities
 Friends,

 Chris Ball and I spend several hours last night measuring the behavior
 of Read sharing. The data we collected are reproduced below.

 Michael





 A Fragment of the Critical Path for Successful Read Sharing
 


 This chart was created based on general knowledge of the Telepathy, Sugar
 Presence Service, Sugar python libraries, and the Read source code at


 http://dev.laptop.org/git?p=projects/read-activity;a=blob;f=readactivity.py;hb=HEAD


  *
  |
 XOs join the network  |
  |
  |
  *
  |
 Read is started on|
 the sharer  |
  |
   /--*--\
  /   \
 invitations  / \   the sharer is
 are sent|   |  marked public

Re: Devel Digest, Vol 25, Issue 83

2008-03-20 Thread Bert Freudenberg
On Mar 21, 2008, at 0:31 , Nehemiah Dacres wrote:
 RE: Face Detection and other Vision Processing (and some sample  
 code) were you testing  on a machine or in an emulator?  the olpc  
 must have some wicked python optimizations to get that don to . 
 25seconds how much data were you working with?


It's OpenCV, not Python:

http://www.intel.com/technology/computing/opencv/

- Bert -


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


Re: Google Summer of Code and OLPC

2008-03-20 Thread Martin Langhoff
On Thu, Feb 28, 2008 at 9:28 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
  This year, GSoC is starting early, so
  we should be getting in motion asap.

Did we manage to get in? Or rather - did OLPC apply at all? Deadline
was 12th March... we don't seem to be on the list here
http://code.google.com/soc/2008/

cheers,



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


Re: Google Summer of Code and OLPC

2008-03-20 Thread Roberto Fagá
Try  One Laptop Per Child :)
http://code.google.com/soc/olpc/about.html

On Thu, Mar 20, 2008 at 11:06 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
 On Thu, Feb 28, 2008 at 9:28 PM, Martin Langhoff

 [EMAIL PROTECTED] wrote:

   This year, GSoC is starting early, so
we should be getting in motion asap.

  Did we manage to get in? Or rather - did OLPC apply at all? Deadline
  was 12th March... we don't seem to be on the list here
  http://code.google.com/soc/2008/

  cheers,



  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: Google Summer of Code and OLPC

2008-03-20 Thread Martin Langhoff
On Thu, Mar 20, 2008 at 10:11 PM, Roberto Fagá [EMAIL PROTECTED] wrote:
 Try  One Laptop Per Child :)
  http://code.google.com/soc/olpc/about.html

Ooops! I'm a tired fool it seems. Sorry about the noise!


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


Re: Switching between Arabic and French

2008-03-20 Thread Ralph A. Mack
Hello all,

It appears I've finally figured this out. The following command, from an
olpc command window, seems to get me what I want (with Right Alt as the
group toggle key):

  setxkbmap -display :0 fr,ara -option grp:toggle

(Of course, in the real world, these would be reversed :-))

What fooled me was that I was using Write as a test application. With
the above settings, I get precisely what I would expect in Chat - French
on the left, toggle, then Arabic on the right. In Write, when I switched
to Arabic, I just got pseudo-European gibberish on the right of the text
(not the margin) filling in leftward, :) but this was with a Ship.2-659
build, which might be quite venerable by now - not sure. 

With this in mind, it looks like it might be time to switch from Ship.2
to Joyride and update frequently, which means I will need to be able to
pull down new builds more reliably than I can right now for some reason
- but that's a whole different subject, so I'll post separately on it.

One other comment, just a nit really: it surprised me that the mapping
of I216 to [ISO_Next_Group, ISO_Prev_Group] was put into each of the
main language files rather than once in the option file and then
reflected in the rules as needed. This wasn't true for group mappings on
my Ubuntu Linux box. Instead, based on what I see there, I'd expect an
alias definition in whatever the olpc uses in keycodes (evdev?) and then
its use in symbols/group. 

Was this inherited from upstream? If not, I'd be interested to learn the
rationale for the choice. I'm only a couple of days into this stuff, and
the more I read of it, the more I'm certain that there's a lot more
underneath that I missed. When I see a pattern, I usually learn the most
from its exceptions :-)

Gxis,
Lupestro


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


Re: [Server-devel] Drupal on OLPC? (Martin Langhoff)

2008-03-20 Thread Greg Smith (gregmsmi)
Hi Martin et al,

Thanks for the comments and direction.

I'm still working on options for the Uruguay requirement (BTW now
rewritten, verified with tech lead in Montevideo and posted in wiki at:
http://wiki.laptop.org/go/Requiremientos_Para_XO). 

We want any new work to be available in all deployments. Unless the XS
base install works for teachers and students out of the box, we need to
go where the most development support is available. 

Looks like you suggest current Moodle and MediaWiki plus possible added
code (may be outside XS scope, e.g. client side or system level) unless
we get great traction with Drupal team. 

If we get that traction how we do we make the solution broadly
available?

If we focus on Moodle and Media Wiki do we work directly with those
projects or look for some maintainer/lead developer support from OLPC?

On the drupal front, perhaps we can have a model where XS code can be
added like activities are added to XO. E.g. core activities plus
downloadable additions via well defined install.

The great thing about this project is that we get direct user feedback
from a real XO deployment! So Uruguayan technicians, teachers and
students are part of the design from the start.

For now, we will try all options until we find a viable design and
developers interested in pursuing it. Any additional input on where to
focus efforts re: developer recruitment and target software is greatly
appreciated.

Thanks,

Greg S


I do think Moodle i very strong in all course or student-group content
and activity mgmt, and getting better all the time. It's patchy in the
general content for everyone, where MediaWiki shines, and we will also
have MW there to host partial Wikipedia content.

There has to be a strong case for a 3rd system that overlaps so much
with those 2 -- each additional system is a significant burden, as we
will have to customise it quite a bit.

Having said that, I _like_ Drupal, and it can be used usefully, but we
are entering diminishing returns region (from a core OLPC team POV), so
if the Drupal community can help get this in shape, that would be great.
IOWs it won't be a priority for me.

cheers,

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


Re: [Server-devel] Drupal on OLPC? (Martin Langhoff)

2008-03-20 Thread Sameer Verma
Greg Smith (gregmsmi) wrote:
 Hi Sameer,

 I think you are on the right track in terms of laying out the use cases
 and relevant variables. A full matrix of options will be too complicated
 but we can list the main physical/HW variables and then put known
 deployments in each category.

 Something like:
 Server HW (RAM/Disk) - big, medium, little
 Bandwidth to Data Center -  big, medium little, none
 Bandwidth to Internet  - big, medium, little
 Power in school - enough for AP and 2 x servers, enough for one server
 max, not enough for any servers,
 Wireless access - Wireless AP, active attena, none
 Size of school - 10 - 50, 51 - 100, 100 - 200

 Could be more precise numerical values too.

 After that we don't need a cross product of all variables. We can just
 look at known constraints on SW and services based on that. 

 E.g. You could say, if the best HW you can get is 512MB RAM and you only
 have power for one box and you have medium BW to the data center you
 should move squid to the data center. Or a simple one like, if you have
 200 kids in the school you need a wireless AP.

 I have deliverables for Uruguay web site building tool due this week so
 my OLPC spare time is up and I need to pass the buck for now :-)

 If you have a chance you could use the talk page at:
 http://wiki.laptop.org/go/XS_Server_Specification
 Or talk page at:
 http://wiki.laptop.org/go/XS_Server_Services
   
[snipped]

Hi Greg,
This is what I was driving at. This week has been busy, but we have 
Spring break next week, so I'll spend some time on it. Three major 
constraints are power and connectivity and school size. Server specs, 
network topology etc. are  items that will support that constraint 
space. I'll post something on the talk page in a few days.

Sameer

-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/

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


[Server-devel] Database on server

2008-03-20 Thread Carol Lerche
I notice that the pre-installed database for the xs build is PostGres.  Now
I have nothing against PostGres.  It is a fine database, and was a real
(ACID) database from the start, unlike MySQL.  I certainly advocated that it
be used in preference to MySQL for de novo projects at clients in the past.
But from the standpoint of making a choice that enables the most other open
source software to be installed and to run without difficulty, I believe
MySQL would be a better choice today, especially since its former
deficiencies have largely been rectified.  In summary this is a
recommendation based on a desire to lower the development costs of reusing
software, not a theoretical determination of which database is better.

Any thoughts?

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


Re: [Server-devel] Database on server

2008-03-20 Thread Carol Lerche
I hope not a religious war on my part.  I am happy with both choices
abstractly (and I am a big user of sqlite3 as well, which is excellent but
not so much for multi-user update-heavy applications).  My point (and this
whole comment is certainly directed at Martin, who is the ongoing developer)
is just that after installing many open-source projects that have database
access, there seem to be a non-trivial number that don't support PostGres
but do support MySQL, so it might be helpful to make that the pre-installed
database.

As to Sameer's point that anything can be installed after the fact:  that's
true with a reliable connection.  Having just spent several weeks in
connectivity hell, I can assure you that trying to do yum install over a
line that has frequent glitches is miserable, so it would be kind to try to
make most common decisions in the base install.  (And drupal, btw is one
of those packages that supports both databases.)
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] GSoC

2008-03-20 Thread crosvera
Hello, I'm Carlos Ríos, a university student Chilean. And I want apply to
the Google Summer of Code and work to help the OLPC project, I read the
idea's list in the Wiki, and I found an idea that I'm sure that I can do it.

The idea it's about design the admin interface of the school servers. I
write to know what kind of things I need to do, before may 24 when it's the
apply to Google Summer of Code, and participate in the project.

well, that's it.
See ya!

P.S: sorry if my english it's not so good
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Database on server

2008-03-20 Thread Martin Langhoff
On Thu, Mar 20, 2008 at 2:47 PM, John Watlington [EMAIL PROTECTED] wrote:
  You are correct that postgres is in the build, but nothing
  currently requires it.   The idmgr package is using sqlite instead.

  Martin can either make this call or lead further discussion.

I have certainly been mulling on this -- I have experience with both,
and my intention is to define a simple, but effective set of criteria
and see which DB meets it best. The key webapps we care about support
both (I did the support of the Pg port for a while for Moodle),
support for Pg is growing and SQL syntax is converging. So support in
webapps we care about is no longer the monster it used to be.

One of the key metrics I will take into account is behaviour in low
mem conditions -- and I plan on asking MySQL devs and Pg devs to give
us a bit of help configuring them. Off the cuff, I'd compare...

 - Stability / sanity
 - Good performance  behaviour in memory-constrained, low-end HW scenarios
 - Our core webapps/apps/libs support it
 - Strong dev community
- multiple vendors contributing on one codebase
- one or more talented and respected leaders - can resolve conflicts
- growing dev activity (number of patches, number of authors)
 - Random apps out there support it (long last in priority...)

the strategy of giving the community a significant weight is what I
followed for OSVLE to pick an LMS. It picked moodle back then when it
was clunkier and had less features (at first glance) than the rest.
But the architecture made more sense, and the community was on fire -
I'm ready to make the same mistake again! ;-)

cheers,



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


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

2008-03-20 Thread Martin Langhoff
On Thu, Feb 28, 2008 at 9:28 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
  This year, GSoC is starting early, so
  we should be getting in motion asap.

Did we manage to get in? Or rather - did OLPC apply at all? Deadline
was 12th March... we don't seem to be on the list here
http://code.google.com/soc/2008/

cheers,



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