<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Olle Jonsson&#039;s blog &#187; rhino</title>
	<atom:link href="http://ollehost.dk/blog/tag/rhino/feed/" rel="self" type="application/rss+xml" />
	<link>http://ollehost.dk/blog</link>
	<description>A human weblog about Web technology and other ephemera</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:22:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hackmeetup on Javascript mini-report: RFID on Rhino</title>
		<link>http://ollehost.dk/blog/2008/07/25/hackmeetup-on-javascript-mini-report-rfid-on-rhino/</link>
		<comments>http://ollehost.dk/blog/2008/07/25/hackmeetup-on-javascript-mini-report-rfid-on-rhino/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 05:30:28 +0000</pubDate>
		<dc:creator>olleolleolle</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[hackmeetup]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[rfid]]></category>
		<category><![CDATA[rhino]]></category>
		<category><![CDATA[ubicomp]]></category>

		<guid isPermaLink="false">http://ollehost.dk/blog/?p=421</guid>
		<description><![CDATA[This past Tuesday, we ran another Hackmeetup. Same great location, same great time. Mark ran a talk about Typography on the Web for an audience of three. For the hardware experimentation session, Carl had left, so it was Mark, me, &#8230; <a href="http://ollehost.dk/blog/2008/07/25/hackmeetup-on-javascript-mini-report-rfid-on-rhino/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This past Tuesday, we ran another <a href="http://hackmeetup.ollehost.dk">Hackmeetup</a>. Same great location, same great time. </p>
<p><a href="http://novemberborn.net">Mark</a> ran a talk about <a href="http://www.singularity08.com/speakers/mark-wubben/">Typography on the Web</a> for an audience of three. </p>
<p>For the hardware experimentation session, Carl had left, so it was Mark, me, and <a href="http://dlade.net">David</a>, and we all worked on the same project. Mark had brought a USB-connected RFID reader of the <a href="http://www.phidgets.com/">Phidgets</a> brand, and the idea: Use <a href="http://mozilla.org/rhino/">Rhino</a> to wrap the Phidgets Java API to the RFID reader in a JavaScript, so we could&#8230; script the thing.</p>
<p><strong>Update</strong>: <a href="http://code.google.com/p/physical-js/">Physical.js</a> is the software we wrote, now published under MIT license. </p>
<p>We printed out the Javadocs for the API, and began laughing at some of the names: <code>getLEDOn()</code>, <code>getAntennaOn()</code>. Then we whiteboard-sessioned up some simpler, JS-idiomatic names, and had our wishlist. Almost cheating: Rhino has <code>__defineGetter__</code> and <code>__defineSetter__</code>. Then we scrambled to find out how Rhino&#8217;s Java-adapting mechanism really worked. Great fun! Mark was the only one with the Phidgets hardware and software platform installed, so he was typing what me and David sent to him. </p>
<p>Prototyping with Rhino is quick. Soon, we were able to read the RFID card that Mark brought, and also a keychain fob I had with me. When we had 30 minutes until the trains went, Mark said: Let&#8217;s also hook it up to chat Jabber! He installed an <a href="http://www.igniterealtime.org/projects/openfire/">OpenFire</a> XMPP server on his machine, created a &#8220;rfid&#8221; account, and had it send a message onTagEnter and onTagLeave (enter/leave sounds better than gain/loss: we&#8217;re web developers&#8230;). Then he took an extra step and made chat commands to enable/disable the LED and antenna.  </p>
<p>We cheered. We&#8217;d done it all.</p>
<p><b>Conclusion</b>: Working on the same project is very productive. This was the first time we had a theme, two speakers, a dropped talk, and gotten stuff Done and Ready and the end of the night. Also: snacks. Healthier snacks are better, so next time, let&#8217;s up the ante.</p>
]]></content:encoded>
			<wfw:commentRss>http://ollehost.dk/blog/2008/07/25/hackmeetup-on-javascript-mini-report-rfid-on-rhino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

