
The the great venue was the Aoyama Diamond Hall, Omote-Sando.
The official report from Google is out:
Google JAPAN's developer roundtable #5 - OpenSocial
I introduced the Dokoiku's experimental OpenSocial container implemented with Shindig.

Gainer is an environment for user interfaces and media installations. By using the Gainer environment, the user can handle sensors and/or actuators with a PC on various programming environments such as Flash, Max/MSP, Processing and so on.
http://gainer.cc/Main/HomePage?userlang=en

use Device::Gainer;The module has enough functionality for my purpose, however,
my $gainer = Device::Gainer->new( host => '192.168.1.xx' );
$gainer->on_pressed( sub { print "PRESS\n"; } );
$gainer->on_released( sub { print "RELEASE\n"; } );
$gainer->turn_on_led();
$gainer->turn_off_led();
| Method | Command |
| turn_on_led | h* |
| turn_off_led | l* |
| digital_output | D____* |
| set_high | H_* |
| set_low | L_* |
| peek_digital_input | R* |
| analog_output | a___* |
| peek_analog_input | I* |
| on_pressed | N* |
| on_released | F* |


callback(You may need to manage a queue when you handle multiple JSONP calls.
{ foo: 'HOGE', bar: 'POMU' } // JSON content
);
( function (data) {
var list = document.getElementsByTagName( 'script' );
var temp = list[list.length-1].src.match( /[\?\&]callback=([A-Za-z0-9\_\.\[\]]*)/ );
var func = temp ? temp[1] : 'callback';
eval( func+"(data)" );
})(
{ foo: 'HOGE', bar: 'POMU' } // JSON content
);<script type="text/javascript" src="test.js?callback=hello"></script>The callback function "hello" would be called.
<script type="text/javascript" src="test.js"></script>Without ?callback=... argument is not specified, the default function "callback" would be called instead.
var script = document.createElement( 'script' );JSONP-SE must be loaded in the bottom of the dom tree.
script.charset = 'utf-8';
script.type = 'text/javascript';
script.src = 'test.js?callback=hello';
document.lastChild.appendChild( script );












