Open Data Ireland’s first meetup tonight in Engine Yard

Great to see this Meetup happen and big props to Eamon and the crew for hosting. If you are interested in getting involved in OpenData in Ireland please attend. Registration is here but the event is free.

Ireland needs to get beyond talking about OpenData and start increasing the number of people actually Opening Up The Data in a big way. The Irish tech community has to lead by example and that means just doing it.

(Apologies to Code For America for the visual knock-off)

There is so much data out there that anyone with even a modicum of technical ability could unleash. The most complicated thing I had to do in geo-coding the Property Price Register was to merge two columns in Excel!

I’m hopefully (the Eircom DSL gods permitting) going to give a short talk remotely from Bandon, long known as “The Silicon Valley on the N71″ :-) I’ve a few bits n bobs to describe, some thoughts to share and some ideas I hope others can run with.

Ideally we’ll do the whole thing as a Google+ Live Hangout so anyone can connect in. Sign up for the Hangout here. I’ll post the Live URL if we have success with it. If that falls apart then I’m afraid it’ll just be point-to-point Skype.

 

Google Hangouts Extensions point to a richer Google+ Platform future

Yesterday I read about a delightful project involving LEDs, Arduino, Processing, Node.js, Google+ and Google Hangouts.

I was originally interested due to the Arduino angle but then I realised there was something extremely powerful going on with Google+ Hangouts and had to dig in more.

Have a look at the video first, it’s an extremely cool mashing together of a bunch of things.

I’m not sure how the Hangouts Extensions and API announcements passed me by, but they are a really fantastic idea. To quote Google:

The Google+ Hangouts API allows you to develop collaborative apps that run inside of a Google+ Hangout. Hangout apps behave much like normal web apps, but with the addition of the rich, real-time functionality provided by the Hangouts APIs. Apps have the ability to control aspects of the user interface, synchronize data between hangout participants, and respond to various events in the hangout.

So in the video above, it’s a simple LED toggle that anyone on the Hangout can flick. The Google example mentions games but really anything involving user interaction is possible. I think I now understand how Red Bull managed to integrate a Twitter stream with the Live Hangout of Felix Baumgartner!

What else? Live Polls obviously. Did anyone use it to do realtime voting during last night’s presidential debate? The showcase also highlights Slideshare and Pulse News.

Whilst I am extremely impressed by the Hangouts API, it reminded me yet again of the giant hole at the heart of Google+. I’ve said it many times before but Facebook’s approach is still 100% correct. Provide a Platform and APIs and let developers/businesses provide the ideas and innovation. Facebook is a flavour factory, Google+ is currently vanilla only.

But the Hangout API and Extensions give me hope. If that type of wide-open functionality is made available in every part of Google+ (particularly Business and Local Pages), then Facebook has some real competition on its hands. That’s good for both Google and Facebook. And of course, us.

 

MIT App Inventor Official Open-Source Release

I’m really pleased to see this release happen. Dec/Jan was an awkward time as Google dropped App Inventor and MIT didn’t have their site ready. MIT has done a sterling job since and it’s great to know that the full up-to-date source code is available. I hope a community of contributors to the codebase now starts building up.

One issue we ran into in our school with accessing the main MIT site and GAE was a lack of bandwidth. When you have 15 laptops all trying to download/upload Java Apps to the internet on a connection that I think is 512kbs, you are going to have problems.

So a private local App Inventor install means we could provision an old PC as an Ubuntu server in the school and serve everything over local wifi. I hope the dev server capabilities are improved beyond “a few users” so we can remove the dependency on Google App Engine and provide a trouble free setup for the kids.

 

E is For Electronics, Other Good Kids’ Stuff and What’s Next?

Limor “Ladyada” Fried of Adafruit has put together a really lovely colouring book called E is for Electronics. It has everything from A-is-for-Ampere to Z-is-for-Zener-Diode. You can buy it online for $10 or just print it off using the booklet setting of your printer. I printed one for our 8 y/o daughter and she is a big fan. I’ve just done another copy our 7 y/o son. I’ll order some as stocking fillers too.

Yesterday I also spotted a really neat set of products over on Sparkfun. They are paper projects like greeting cards and mini “night-lights” that use a conductive pen for the wiring. I’m going to order one today but in the meantime, I have downloaded the PDFs and will do a rough version of the night-light using wire and bits I already have.

This whole idea of Open Source hardware and designs really has me excited. Back in 1994 I built my first ever GCC cross-compiler and compiled an Open Source RTOS. In 1995 I installed Slackware Linux for the first time. That’s when I knew that everything in software was going to change forever. It’s exactly how I feel about hardware and electronics now. In fact, it’s fun to realise I have sort of come full circle in 30 years:

ZX Spectrum -> Electronics in College -> Embedded Software -> The Internet -> The Social Web -> Arduino+RaspberryPi -> The Internet of Things -> ????

So what is “????”? I think is IoT+Social. Everything and everyone network-connected, with all that data being crunched and used real-time, in ways we can’t even guess at yet.

I’ve always loved Mark Zuckerberg’s description of Facebook as “A Social Utility”. I don’t think FB is anywhere near that yet, but one of the big guys like them is going to have to be the enabler, if Social IoT is to work.

Meanwhile I have some spooky eyeballs to make for my daughters for trick-or-treat using LEDs and push-buttons.

 

Playing 1980s games on your Raspberry Pi and remembering Mike Singleton

This post was going to be just an up-to-date summary of many other articles out there on this subject. With the rapid rate of change in the RPi world, even very recent guides have proven to be unusable quite quickly.

However I’d first like to remember Mike Singleton who died last week. I didn’t know his name until today when I read this lovely piece about him. But what I did know about was Lords of Midnight and Doomdark’s Revenge. Those two adventure games dominated that category on the ZX Spectrum in the mid-80s. Mike was still creating new games until very recently. It’s just another reminder of how important the 1980s UK home computer scene has been to the current gaming industry. In memory of Mike, I’m playing Lords of Midnight from the start again this evening on the Raspberry Pi. RIP.

The Raspberry Pi makes a brilliant base for old-school game emulation, just as it does for XBMC. You literally just need it, a USB joystick, maybe a wireless dongle, a TV and you are in business. I’ve been very tempted to double-sided-sticky-tape one to the side of the TV without a case, it’s that small. I’m currently using an ancient 14″ Philips portable CRT to get the full retro effect, including blinding flickering.

Atari 2600

OK, I have to admit my rose-tinted spectacle were on overdrive here. The Atari 2600 Pacman in my head was actually the arcade version. The real thing is pretty awful. This console was a bit before my time and the main thing I remember about it were the completely unusable joysticks. But if you want to re-live that horror, then it’s really very simple.

Grab all the Atari 2600 ROMs from one of many sites.  They are tiny so the download takes no time at all.

Then install the Stella emulator:

sudo apt-get install stella

Then just run stella inside X Windows. More details here.

MAME Arcade

MAME seems to have been around forever. It enables you to play old arcade games on a wide variety of machines. I remember using it on my brother-in-law’s Atari 520ST in the 90s.

So it’s no surprise it works well on the Raspberry Pi. Compiling from source apparently takes forever and some of the binaries from this summer don’t work on the latest Debian release. However this latest compiled version of Advance MAME by Shea Silverman runs perfectly on the latest Debian.

Download it to your home directory, then

unzip mameBin.zip
sudo chmod 777 /dev/fb0

Put your roms into ~/mame/share/advance/rom/

cd mame/bin/
./advmame

Edit the config file

nano ~/.advance/advmame.rc

to include the proper display configuration

For HDMI try:

device_video_clock 5 - 50 / 15.62 / 50 ; 5 - 50 / 15.73 / 60

For NTSC TVs try:

device_video_clock 5 - 50 / 15.73 / 60

For Composite PAL TVs:

device_video_clock 5 - 50 / 15.62 / 50 ; 5 - 50 / 15.73 / 60

Then run MAME with the name of the game e.g. pacman or zaxxon.

I’ll leave it as an exercise for the reader to source their own legal ROMs.

 cd mame/bin/
./advmame gamename

ZX Spectrum

Installing the Fuse emulator is now trivial to do:

sudo apt-get install fuse-emulator-common fuse-emulator-utils spectrum-roms

Then grab your favourite games from World of Spectrum and run fuse inside X Windows. More details here. And Lords of Midnight here.

There are ton of other emulators out there, at various levels of usability. Our eldest has already been asking about SNES.

 

Clay Shirky on Git, diffs and Government legislation

The reason I like Clay Shirky’s talks so much is because he communicates complex “stuff” in a way most people can understand.

Here he ties together Git, diffs and Government legislation beautifully. If you are similar with the law but not Git or diffs, it’s well worth a watch. And vice versa.

From tiny CSV acorns, many #OpenData oaks can grow. Now where is Ireland’s CIO/CTO?

This has been a superb week in Ireland for showing what motivated geeks can do with even the most clunky of Government data. After the Oireachtas XML debacle, it was a joy to see the new Residential Property Price Register site make its data available. Sure, it was poxy old CSV files per year and it was riddled with errors but I really am pleased with what it triggered.

Within hours of the data going up, we had:

  1. Properties by Price Range
  2. A merged Excel spreadsheet
  3. YellowSchedule with a great search interface
  4. A Heroku-based App with Search
  5. My import into Google Fusion Tables and the (patchy) Geo-Coding of the data

And by the end of the week we also had:

  1. Another searchable site with maps
  2. Mapquest-based Geo-Coding
  3. Others?

In fact the only thing we seem to be missing is someone sticking a JSON API in the front of the data. UPDATE: See comment below from Brendan. Nice one!

I hope those working on data in the Public Sector take encouragement and ideas from this. Most of what was done took very little work. I’m sure many of the people involved would be only too happy to share their technical approaches.

If we all keep leading by example, I expect the quality and quantity of Public Sector Web Services and Data to improve in leaps and bounds over the next 12 months.

Three years ago next week, I suggested a regular BarCamp called  IRLCamp where public sector and private sector get together and present interesting projects, ideas and technologies and learn from each other. I still think we should do this.

Three years later we still need a CIO/CTO for Ireland too.