I was last weekend in Paris at the Sugarlab conference, organised by the nice folks of OLPC France. Sugar is a kind of linux user interface designed specifically for the XO (100$-Laptop, One-Laptop-per-Child OLPC). Sugar works also without an original XO: You can download “sugar on a stick”, basically a customized Fedora-Linux and boot your PC from this usb stick or you can install (somewhat out-dated) sugar packages for Ubuntu-Linux and other Linux distros.
Naturally i was interested in how my ThePythonGameBook would look and feel using sugar and using one of the XO-Laptops.
I found out that python and pygame is already pre-installed on the XO and it was possible to look at various chapters of ThePythonGameBook with Sugar's Browser, copy the code-examples by the Clipboard (CTRL+C, CTRL+V) into an sugar activity called Pypi and run the examples using pypi's run-button.
The good news:
The bad news:
This means that at present state, only around half of the code examples in ThePythonGameBook are useful for an XO user. Biggest problem is downloading and unzipping files from the command line.
I also got deeper insight into sugar's unique file-system philosophy. All files in sugar created by “activitys” (painting, writing, taking photos..) are saved automatically with the filename “data” (!) into an new created directory. The name of the new created directory (one for each file) is generated by sugar and looks like a very long serial number. Those directorys are created physicalle somewhere under ~/.sugar.
Inside each directory is also a new directory created (i forgot the name) wich is filled from sugar with little files describing the “data” file. User-made description, date, mime-typ, screenshot etc. are all stored here into little files. Basically it is a big file-based database on harddisk.
At the Sugarlab conference, i discussed this problem with some of the sugar developers. There was no instant solution but those possible pathways were discussed:
Sadly, i made a lot of photos of the conference but my mobile phone(with the camera) got stolen near theParis metro station Stalingrad. You can hear some recorded interviews (in English) and a podcast about the conference (in German) at my Biertaucher-Podcast site: