The @RaspberryPi Programming Contest for Kids – Win $1000

 

All the details over on their blog and in this PDF.

I’ll always remember the months I spent building a data graphing application for the ZX Spectrum for a schools programming competition back in the 80s. You ain’t seen a piechart until you’ve seen a Spectrum colour-clash pie-chart like that. Of course I didn’t even get a mention, let alone win the thing. Bitter? Me? Never.

So pass this on to your kids. Given the damned weather, it’s not like they can go outside anyway. I think I’ll try and get our eldest to do the RPi part of our doorbell project.

If you don’t have an RPi yet, you can use an emulator.

First two trivial parts of getting App Inventor working on Raspberry Pi done

I’ve been playing a small bit with the Raspberry Pi VM on VMware to see what’s possible and what isn’t. One thing I am eager to try when it arrives on the week of May 14th (YAY!), is to get App Inventor working on it.

There are three basic user parts to App Inventor. The browser-based Designer, the Java-based Blocks Editor and the Phone Emulator (if you don’t have a phone).

Yesterday I got the first two bits working with about 2 minutes work. All you need to do is install the OpenJDK. SUN Oracle Java is not available yet.

The bit that will need more work is the emulator. I think. Ye see, I grabbed the code for the Linux version of the emulator and followed the simple instructions to build it. Then I saw it was building for i386 and of course the RPi is ARM-based. Damn.

A bit of poking around and I realised we were almost in a recursive loop. I was running ARM Linux in qemu i386 emulator on a Virtual Machine and I was trying to run an ARM emulator inside a another qemu i386 emulator inside that. Yes my head exploded too.

But then sense prevailed and I realised that Android is ARM and RPi is ARM, so do we need an emulator at all, or just an Android image compiled for ARM11 inside some sort of wrapper/container?

As an old Embedded guy I should be all over this but I’ve forgotten more than I ever learned about cross-compiling and building OS images. Anyone have any ideas on where to start? I popped a question on the relevant App Inventor Google Group too.

Of course all of this may be moot if the 256MB of RAM and 700MHz CPU is not enough to support all of this. But it’s worth a try.