Slashdot Mirror


Walter Bender — Taking Sugar Beyond the XO Laptop

waderoush writes "While the One Laptop Per Child Foundation tries to reboot after drastic staff cuts, Sugar, the original open-source graphical interface for OLPC's XO Laptop, is rapidly evolving into a stand-alone learning platform that can run on any PC. Walter Bender, who left OLPC last year to start the non-profit Sugar Labs, has given a detailed interview about 'Sugar on a Stick' — the USB drive that allows any machine to boot into the Sugar environment. Bender also describes the Sugar upgrades coming in March — including better tools for file management, portfolio presentations, and Python code hacking — and talks about his hopes for expanding Sugar Labs and getting Sugar into more classrooms than OLPC can reach through its hardware."

28 of 84 comments (clear)

  1. Water Bender? by Anonymous Coward · · Score: 5, Funny

    Southern or northern water tribe?

  2. Schoolkey by Anonymous Coward · · Score: 2, Informative

    I think that schoolkey project also uses a sugar-like interface, and there is always edu-nix.org's education-oriented distro, which many say is better - but it just uses regular old KDE.

    1. Re:Schoolkey by mhall119 · · Score: 3, Interesting

      I have my own XFCE desktop with educational games, aimed at slightly younger kids (aged 3 and up), that I developed for a charity.

      See http://www.quinncoincorporated.org/ for screenshots and a beta download of a CD ISO.

      --
      http://www.mhall119.com
    2. Re:Schoolkey by gnick · · Score: 2, Interesting

      Thanks for that link. I have a 4 year old who does just fine in Windows (I haven't introduced him to Linux - I've got my Linux side set up for work and Windows for play), but I'm reluctant to really let him loose because I don't want him mucking things up (wiping my desktop out, shuffling files around, deleting my porn, etc). For some reason, it had never occurred to me to just give him his own disposable OS to play with that was set up specifically for educational games/tools - And it looks like the desktop you put together fits the bill quite nicely. If all goes well, I hope to just configure a drive for him and let him keep it to boot into when he wants to play.

      I just ordered a 2 GB thumb drive from Amazon and have SOAS and Qimo downloading to try out - Thanks again, I look forward to trying it.

      --
      He's getting rather old, but he's a good mouse.
    3. Re:Schoolkey by mhall119 · · Score: 2, Interesting

      Please send us feedback (email is on the website) on Qimo. We're going to be releasing our final 1.0 version very soon with much better artwork. Watch http://www.qimo4kids.com/ for our future website for the distro.

      --
      http://www.mhall119.com
  3. eh? by djupedal · · Score: 3, Funny

    >"...the USB drive that allows any machine to boot into the Sugar environment."

    Any machine? Like a bowling ball polisher? Gotta say....wow - just wow!

    1. Re:eh? by corsec67 · · Score: 5, Interesting

      My TV has a USB port. (It is there for firmware updates)

      Can this boot Sugar on to my TV?

      --
      If I have nothing to hide, don't search me
    2. Re:eh? by mhall119 · · Score: 2, Interesting

      If your TV can boot from the USB port, then it more than likely can.

      --
      http://www.mhall119.com
  4. I'd have called it by BigHungryJoe · · Score: 5, Funny

    ... "A Young Lady's Illustrated Primer" and infused it with nanotech, but that's just me.

    1. Re:I'd have called it by Anonymous Coward · · Score: 2, Informative
  5. XO Security Model by Anonymous Coward · · Score: 5, Interesting

    What I found most interesting about the OLPC wasn't Sugar, the networking, or even the hardware. It's the Bitfrost security system, which is a different take on implementing security.

    To my mind, it presents a radical way of approaching security, and seems entirely different from that taken by Microsoft. That is, instead of locking out applications based on whether they have proper credentials, it locks applications out based on bad behaviors.

    I'd like to see this approach taken and explored more fully. Linux and other Open Source OSs will be facing more exploits and attacks, and a security model based on how trustworthy an application behaves instead of the credentials it carries seems a much saner approach.

    1. Re:XO Security Model by fuzzyfuzzyfungus · · Score: 2, Funny
  6. Remember the target market by xzvf · · Score: 5, Insightful

    Before everyone that has an XO goes crazy and start dumping on Sugar, please remember the target market. Put it in front of an elementary age student and see how easily they take to it. Of course, I've noticed that they take to even inefficient desktops pretty quickly also. It is old people (like teenagers) that can't handle having an icon moved.

  7. Re:like etch-a-sketch,sugar = a "tool for expressi by ElSupreme · · Score: 5, Interesting

    A lot of people bash the environment as being bad. But I doubt they use it. It is a bit different that a PC/MAC but really other than file storage (which you can do via the terminal the old fashioned way) it is really a good interface. I actually have one, and would use it more if I actually bought a USB keyboard. That keypad is not much better than a cell phone qwerty pad (other than the spill resistance and cool green color).

    --
    My addiction: Arguing with idiots. AKA Slashdot!
  8. Sugar on a Stick? by drinkypoo · · Score: 3, Funny

    And here I thought "Mandriva" was the worst name in OSS.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:Sugar on a Stick? by Enoxice · · Score: 3, Funny

      Yeah, I would've called it "Churro." But that's just me...

      --
      Anyone else think the comments just weren't rendering right before they turned off ABP and saw ads?
    2. Re:Sugar on a Stick? by je+ne+sais+quoi · · Score: 2, Funny

      It's no problem. We'll just refer to it by an initialism, "SOS".

      oh wait....

      --
      Gentlemen! You can't fight in here, this is the war room!
    3. Re:Sugar on a Stick? by Hoi+Polloi · · Score: 2, Funny

      "Sugar on a Stick" would be a great name for a 70's blackploitation film.

      --
      It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
  9. View Source by steveha · · Score: 5, Insightful

    I read the article, and one of Walter Bender's comments jumped out at me:

    I've said this over and over again since the early 1990s, but the reason why the Web took off as a protocol is that the Mosaic browser had a View Source menu item, which meant that anybody using the Web could also create things for the Web. The idea with Sugar is that anyone using Sugar should also be able to create things with Sugar.

    This is the best thing about Sugar for the long run. In the old days of Apple ][ or Commodore 64 computers, lots of software was written in BASIC; and it wasn't too hard to interrupt the program, look around inside it, and even tweak it a bit. The hardest part was the sucky BASIC language. Now Sugar is being explicitly designed to not only make this kind of tweaking possible, but encourage it and make it as easy as possible. And Python is the best language they could have possibly chosen for encouraging school kids to try to tweak things.

    If you read the article, you can read about how they have extended the "Turtle Art" program to allow programming the turtle movement in Python. So someone can learn trivial programming by chaining control blocks together, and then learn somewhat more advanced programming to script a special block in Python, and then perhaps move from there to tweaking the behavior of other parts of the system.

    P.S. The OLPC project proper seems to be walking away from this sort of constructionist learning; putting Windows on a laptop is the total opposite of the above approach. I really wonder what Negroponte is thinking.

    steveha

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
    1. Re:View Source by IamTheRealMike · · Score: 4, Insightful

      You'd think so wouldn't you. Actually it doesn't work like that.

      The first problem with their approach is that they actually implemented the whole OS shell in Python. Now I dunno about the Commodore 64, but I remember the BBC Basic and I can assure you, the OS and most apps were not written in BASIC. They were written in assembler because that was the only way to make non-sucky software. Fast-forward to 2009 and it's the same thing - Python is an awful language to make performant, robust software in. And an operating system shell needs to be both fast and solid. Sugar is neither.

      But maybe (maybe) if it was actually feasible for a child to press a key and get exploring, that'd be a price worth paying for the rest. Except it's not. Have you actually read the Sugar code? It's awful. I did a spot-check on this whole claim when Sugar first came out and found it bogus.

      I took the Block Party game (seeing as games are what kids like) and looked at the code. The first problem is the code is completely uncommented. Seriously. The only comments are the license boilerplate at the top. The second problem is the code isn't simple like BASIC used to be. It's object-oriented event-handling GUI code that uses containment based layout, multiple libraries, sound servers, uses magic numbers etc. It'd be hard to figure out for an adult, let alone somebody new to programming. There's no 10 PRINT HELLO WORLD 20 GOTO 10 there.

      So they managed to make a flaky, incredibly resource intensive environment on the grounds that "it's python and kids will love learning programming by reading python" except the code is crap and impenetrable. Fail.

    2. Re:View Source by mhall119 · · Score: 5, Interesting

      And an operating system shell needs to be both fast and solid. Sugar is neither.

      Sugar, if I recall, is basically an application launcher running the Matchbox window manager, with a consistent look and feel between applications. In that respect, Sugar is not an OS Shell at all.

      The second problem is the code isn't simple like BASIC used to be. It's object-oriented event-handling GUI code that uses containment based layout, multiple libraries, sound servers, uses magic numbers etc. It'd be hard to figure out for an adult, let alone somebody new to programming.

      While you are largely correct, I think you missed the point. The kids that would be using sugar aren't going to read the python code and try to determine what the program is doing. Rather, they will look for something that looks vaguely similar to what they want to change, change something about it, and see what happens. Repeat enough times, and they're starting to get an understanding of Python and programming. I don't know about you, but when I saw my first program code, I didn't read it top to bottom for an understanding, I skimmed it for words that I was interested in, and started changing stuff.

      --
      http://www.mhall119.com
    3. Re:View Source by forkazoo · · Score: 4, Insightful

      While you are largely correct, I think you missed the point. The kids that would be using sugar aren't going to read the python code and try to determine what the program is doing. Rather, they will look for something that looks vaguely similar to what they want to change, change something about it, and see what happens. Repeat enough times, and they're starting to get an understanding of Python and programming. I don't know about you, but when I saw my first program code, I didn't read it top to bottom for an understanding, I skimmed it for words that I was interested in, and started changing stuff.

      Yeah, IME, when a tinkerer kid gets ahold of source to their favorite toy, the first task is usually just to start changing text strings, so that in the game where you normally visit the "Medicine Shop," in the new customised modded version the player character is now able to visit the "Poop Shop." It's not proper programming in any real sense, but it gives the kid a chance to start interacting with the system, and feel that he has power over it. Some sort of weird manifestation about the magic schtick where if you know the true name of something you can have power over it. Once you know the true name of the variable that holds the name you are interested in, you can make it anything. "Crap Shop" "Stupid Shop" even "Dookie Head Fart Sho" when you suddenly discover that the game has a limit on the length of the name and won't shop you the last p. Then, you start looking at the code around the "discovery" of teh particular variable and you find some reference to a font and a font size, and you make the text smaller, etc. Suddenly you've had to learn more syntax for the sake of exploring your childish vulgarity.

      IMO, it's important not to underestimate that sort of childish hobby tinkering, even when the available code isn't good for or meant for teaching. The point is learning, not teaching.

  10. Re:like etch-a-sketch,sugar = a "tool for expressi by thePowerOfGrayskull · · Score: 3, Interesting
    Orrrr.... as numerous studies have shown, when someone does not have preconceptions they can adapt much easier. Similarly the younger someone is, the more they can adapt to change.

    But, meh. Easier to blame the users, yes?

  11. Sugar is why OLPC is dumping Linux by r00t · · Score: 2, Insightful

    Sugar just couldn't deliver. Anybody with a clue about software development could have predicted it.

    Just look at the mess:

    We write an ENTIRELY NEW and FULLY INCOMPATIBLE toy interface in a REALLY SLOW language that is only mildly popular with free software programmers. Meanwhile, we discourage free software developers by helping Microsoft and by using proprietary wireless/EC/keyboard firmware.

    Prior to about 1 year ago, incompatibility was even somewhat considered a virtue!

    Now the OLPC leadership wants to go with XP. Is there any surprise? In their eyes Linux has been confused with the mess that is Sugar. Sugar-free Linux doesn't get considered.

    We could have tweaked a regular Linux desktop for the XO. With far less effort, we'd have far better results. But no, we implement a joke designed by people who've obviously never read The Mythical Man Month and obviously never worked on resource-constrained hardware before.

    1. Re:Sugar is why OLPC is dumping Linux by Tetsujin · · Score: 2, Interesting

      Sugar just couldn't deliver. Anybody with a clue about software development could have predicted it.

      Just look at the mess:

      We write an ENTIRELY NEW and FULLY INCOMPATIBLE toy interface in a REALLY SLOW language that is only mildly popular with free software programmers.

      Python is "only mildly popular" with free software programmers? That's news to me...

      I agree with what you say about using fundamentally inefficient programming tools on resource-limited hardware. Low-power hardware can do quite a lot if you really code with your target platform in mind. But another thing to consider is that they only have limited resources to develop this thing - if writing in Python can reduce the time it takes to write all this stuff then I think it's still the right choice.

      A key question to consider is how much of the system is really written in Python, versus how much is implemented as a library in C. Obviously GTK as a whole is a C library - presumably a lot of other things are implemented as compiled libraries as well. Even on a slow system, optimization doesn't have to go all the way to the top.

      So why not just use a regular Linux desktop? Probably the goal was to have something specifically tailored to the machine and what it was intended to do... To organize the machine specifically for educational purposes. There's a lot in a typical Linux desktop that doesn't serve that goal - and some that might, but which won't support the XO's mesh networking or Sugar's mechanisms for organizing data. So if they were to re-use existing apps, there would be a lot of work to do adapting them.

      As for moving away from Linux and to XP - probably the people getting these machines are attaching a higher perceived value to getting XP on the machines than to getting Linux -- any Linux. The OLPC group's goal is to maximize the machine's usefulness while minimizing its cost... They don't specifically seek to promote free software.

      I don't know. I think there's more merit to this whole sugar thing than you suggest.

      --
      Bow-ties are cool.
  12. Re:like etch-a-sketch,sugar = a "tool for expressi by Burz · · Score: 2, Insightful

    Worse than that: It'll be a GUI for a toddler that has to be administered by someone with Sysadmin skills, due to lack of poor vertical integration with the rest of the OS.

    We don't need yet another GUI -- We need a reference platform, from the kernel up through the GUI control panel. We need a holistic starting point that tech support departments, end-users and app developers alike can confidently work with (and build deltas from when required).

    This segregation between OS layers isn't working.

  13. scrolling iframes by Tetsujin · · Score: 3, Insightful

    I have an old friend who commented that having to use a horizontal scrollbar in an iframe on a web page was "soooo hard". You can't and shouldn't try to please everybody.

    Horizontal scroll is evil, and any kind of scroll on an iframe is doubly evil. So what you've got there is 2*evil^2

    Why is this? Well, when you're dealing with a language that's formatted like English - that is, rows of text, horizontal scroll means you have to scroll twice for each line. UI generally isn't very well suited to scrolling in more than one direction, either - except in cases where you can scroll by dragging the content, it usually requires going from one scrollbar to the other to find your info.

    Now, combine that with the problems caused by scrolling an iframe - specifically, the scrollbars for the iframe are themselves part of scrolled content - so if you scroll up or left one of your scrollbars may disappear completely - or you may scroll up in the main window to view the top half of your iframe, scroll down to read the bottom half... Click the iframe scrollbar to page down the iframe and then scroll back up on the main window to see the top half of the iframe again...

    Saying that this process makes working with such a page "hard" isn't exactly a good, clear expression of what's wrong with it... But there's lots of things wrong with an interface like that. It's just bad design, bad design that goes beyond the realm of ignorance and into incompetence.

    --
    Bow-ties are cool.
  14. Re:like etch-a-sketch,sugar = a "tool for expressi by Mr.+Slippery · · Score: 2, Interesting

    A lot of people bash the environment as being bad. But I doubt they use it.

    I don't use it because it's bad. I tried, but Sugar is a bad idea dreamed up by theorists attached to their ideas of how children should learn, not on any actual observation or testing.

    --
    Tom Swiss | the infamous tms | my blog
    You cannot wash away blood with blood