InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

How to Develop New Activities for the One Laptop Per Child Project?

Posted by Jean-Jacques Dubray on Feb 18, 2008

Sections
Operations & Infrastructure,
Process & Practices,
Development,
Architecture & Design
Topics
Java ,
Javascript ,
Architecture ,
Linux ,
Programming ,
Ruby ,
Scripting ,
Agile
Tags
Python ,
Flash ,
SmallTalk

In 2006, Nicholas Negroponte explained at the TED conference that he was now heading the One Laptop Per Child (OLPC) initiative after stepping down from the position of Director of the MIT Media Lab. His main driver is about education:

Whatever the solutions are to the big problems they include education, sometimes it is just education, and can never be without elements of education.

He notes that:

As a child, we learn by interacting with the world, it is only later that teaching becomes the primary learning source. Computers have provided a kind of learning that is driven by the learner himself or herself.

The concept of one laptop per child works, he reported that:

In 2002, the governor of Maine legislated one laptop per child. 3.5 years later, truancy dropped to zero, attendance to parent teacher conference is nearly perfect, increase in student participation, kids are asking a lot of things to the teacher via email.
It is not a laptop project, it is an education project.

Walter Bender, President, Software and Content, adds:

[It] is a project about the transformation of education. It's about giving children who don't have the opportunity for learning that opportunity. So it's about access, it's about equity, and it's about giving the next generation of children in the developing world a bright and open future.

In November 2007, the first XO generation started mass production followed by the first deployment from the G1G1 program in Mongolia.

The XO was developed specifically to operate in developing countries, in places where there is no power grid for instance.

The core of the XO human interface is Sugar. Greg DeKoenigsberg, editor at RedHat magazine, explains:

[Sugar] is very different from the desktop environment to which Linux users have become accustomed. The XO was conceived as a tool to allow kids to learn interactively, and Sugar has been designed for that purpose. The first thing that a child sees, therefore, is not a hard disk or a trash can — it’s the other kids in the “neighborhood”. Sugar developers are encouraged to write activities with collaborative elements that are enabled by default.

In particular, Sugar emphasizes the concept of shared activities which happens when several XOs are meshed together in a neighborhood. 

Developers contribute new activities to the OLPC project. You can actually setup a complete Sugar based development environment by downloading an XO image or buy building the environment yourself.

The OS is a Linux Kernel (Linux 2.6.22; Fedora 7 base environment) and the programming environments include:

  • Python (Version 2.5);
    • Pippy, an activity for exploring Python on the XO;
  • JavaScript™;
  • Csound, music programming language;
  • The Etoys implementation of Squeak using Smalltalk, an object-based programming language;
    • Sugar Etoys for a detailed description of the Sugar implementation
  • Turtle Art, a graphical programming environment;
  • Gnash, a free and open source plug-in for the Adobe Flash™ file format supporting vector and raster graphics, a scripting language called ActionScript™ and streaming of audio and video;
  • Adobe's Flash Player, Java™ virtual machine, and other Restricted Formats can be added via Yum or RPM install but are not part of the standard distribution.

For instance,  eToy, is an activity built in Squeak Small Talk System which provides "a full-fledged, general purpose, multimedia ready, integrated development environment". In this sample, the child can draw a shape, say a car and then can use a palette of instructions to move the car.


and here is a very simple way to tell the car to follow an arbitrary path:


If you feel like contributing your skills to a humanitarian cause, here are the instructions to setup and register an OLPC project. Projects can be hosted on SourceForge, GNU Sanannah and Google Code.

In this article, Tim Jones, consultant at Emulex, provided step-by-step instructions to develop new activities on the XO.

  • This article is part of a featured topic series on Agile
The OLPC's Sugar environment is written in Python by Zeev B Posted
How many PhDs does it take? by Deborah Hartmann Posted
Re: How many PhDs does it take? by Jean-Jacques Dubray Posted
  1. Back to top

    The OLPC's Sugar environment is written in Python

    by Zeev B

    You forgot to mention that the OLPC's Sugar environment is written in Python - wiki.laptop.org/go/OLPC_Python_Environment.

  2. Back to top

    How many PhDs does it take?

    by Deborah Hartmann

    Just a fun anecdote:

    When I arrived for the 2nd day of RoCoCoCamp 2007 there were green and white toys on the tables in the lounge! A gentleman with grey hair was turning one over and over in his hands, trying to figure out how to open it :-)

    Maybe they've figured out a way to make OLPC adult-proof?

    :-)

    flickr.com/photos/ogmaciel/295938580/
    flickr.com/photos/bs/2179335243/

  3. Back to top

    Re: How many PhDs does it take?

    by Jean-Jacques Dubray

    Yes, it is a bit disconcerting to open an XO. There are a couple of very small "ears" preventing the screen to open unless you rotate the WiFi antenna first. Took me a while to find these ears...

    JJ-

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.