Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
Tutorial explains programming OLPC Sugar with Python
Jan. 18, 2008

IBM DeveloperWorks is hosting a free online tutorial on using Python to develop for the Linux-based One Laptop Per Child (OLPC) platform. In other OLPC news, Joel Evans has posted some tips on hacking the OLPC's XO laptop, and Intel dropped out of OLPC.

Called "Application Development for the OLPC Laptop," the DeveloperWorks tutorial shows how to program an activity for the XO-1 laptop's Sugar application environment. The intermediate-level, two-hour course promises to explore the Sugar application programming interfaces (APIs) on the XO-1 (pictured at left) and show how to develop and debug a graphical activity in Sugar using Python. Taught by M. Tim Jones of Emulex, the course is designed for Linux developers who are familiar with the Linux shell and have a basic understanding of Python.

Hacking the XO

Meanwhile, over on geek.com, Joel Evans has posted a story about his recent experiences hacking the XO laptop with Brian Jepson of HackZine and O'Reilly Publishing. Connecting their two mesh-networked XO's via WiFi at a local Panera coffee shop, the two linked up with XOChat.org, an ejabberd (Jabber/XMPP) open source instant messaging server. To start chatting with other XO users they simply entered the Terminal application and typed: $ sugar-control-panel -s jabber xochat.org.

Next, Jepson hooked up a homemade pressure sensor to the XO using a 10k resistor and an LED for output, and using the 5-volt USB port as a voltage source. The XO dutifully displayed the pressure waveforms. For an encore, Evans and Jepson loaded the Opera browser on the XO by creating a nested X server using Zephyr. Evans suggests that wannabe XO hackers check out OLPC's XO wiki.

More controversy at OLPC

Intel's Classmate PC

Based at the MIT media lab in Cambridge, Mass., the OLPC project is starting its third year. It briefly offered the laptop for sale in the U.S., in a scheme in which consumers could buy two of the $200 laptops if they agreed to donate one of them to poor children overseas. The promotion will likely be returning, says Joel Evans, yet OLPC's chief mission continues to be selling its low-cost, open source laptops to governments of developing countries at discounted rates, with the agreement that they be given away free to children and schools.

Mass production on the XO-1 laptops started in November, and they continue to roll out around the world, albeit at a slower pace than expected. Yet, the high-tech soap opera continues here at home, with Intel leaving the OLPC board amid allegations from both sides. Since Intel's surprising news that it was joining the OLPC board in July, despite marketing its own low-cost Classmate PC in many of the same developing countries that are testing the XO-1, the relationship has been rocky. After the OLPC accused Intel of subverting OLPC sales overseas in favor of its Classmate PCs, and of failing to contribute anything to the project, Intel quit the OLPC board earlier this month, claiming that it was OLPC that was trying to stop Intel from selling the Classmate.


Microsoft and OLPC: Playing nice or playing too nice?
Microsoft's John Gunabal (left) and Bohdan Raciborski (front) demoing Windows XP on the XO to
OLPC's Walter Bender (in green), Richard Smith (in red), and Ivan Krstic.
(Picture via Microsoft's James Utzschneider. Source: Ivan Krstic's radian.org)

(Click to enlarge)

Meanwhile, things are proceeding more smoothly with another new and unlikely OLPC "ally," Microsoft. The two organizations continue to work on a scheme for loading Windows XP on the XO-1. Yet controversy swirls here, too, with some Linux developers claiming the OLPC had sold out to Redmond. In a recent posting, OLPC director of security architecture Ivan Krstic denies the accusations and claims that Microsoft is playing by the rules. He also says the OLPC is ensuring that it will be easy for users to switch back to Fedora Linux after an XP installation.

Availability

Registration information for the IBM DeveloperWorks online course on programming OLPC's Sugar with Python is available here.



Related Stories:


(Click here for further information)


FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.

Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.

Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.

Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.

Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.

Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.

Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.

7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• Nettop is "almost fanless"
• Tutorial sounds alarm for Nokia tablets
• CG Linux distro supports multicore MIPS64
• Embedded Linux guide updated
• Patent dispute threatens GPS imports
• MIDs offer Atom, HSDPA
• Software connects Linux MIDs to PC media
• Linux radio keeps it simple
• Motorola U9 takes fashion "beyond thin"
• Location-aware social net app targets MIDs
• Linux MIDs gain "fancy" GUI
• Internet TV broadcaster targets MIDs
• "IDTV" chipset runs Linux
• AMD preps low-powered Atom killer?
• XiP filesystem primps for Linux 2.6.28


Most popular stories -- past 90 days:
• Open source phone goes mass-market
• Updated! Linux Mobile Phones Showcase
• World's cheapest Linux-based laptop?
• Garmin Nav devices run Gnome Linux
• First Atom-based notebook runs Linux
• ARM9 board boots Debian in 0.69 seconds
• Open source camera records geotagged video to SATA HDD
• Linux-friendly Beagle fetches $150
• "PDA phone" runs Linux
• Intel offers $80 "Little Falls" Atom mobo
• Netflix Player runs Linux


DesktopLinux headlines:
• Summit debuts for Linux end users
• "UbuntuLite" reviewed
• Linux in the SME
• Linux: not yet photo-friendly
• Linux to gain anti-virus software
• Linux gains backup utility
• Testing Lenny
• HP offers Linux on low-end mini-notes
• Dell shipping five Hardy Heron systems
• IBM pushes "Microsoft-free" desktops


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.