<?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>Gav&#039;s Blog &#187; gsoc2009</title>
	<atom:link href="http://www.rediguana.co.nz/gav/tag/gsoc2009/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rediguana.co.nz/gav</link>
	<description>No one told you when to run, you missed the starting gun</description>
	<lastBuildDate>Mon, 28 Nov 2011 02:49:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Google investing USD$50,000 in Sahana</title>
		<link>http://www.rediguana.co.nz/gav/2009/04/26/google-investing-usd50000-in-sahana/</link>
		<comments>http://www.rediguana.co.nz/gav/2009/04/26/google-investing-usd50000-in-sahana/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 09:16:23 +0000</pubDate>
		<dc:creator>Gavin Treadgold</dc:creator>
				<category><![CDATA[Emergency Management]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[emergency management]]></category>
		<category><![CDATA[gsoc2009]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[sahana]]></category>

		<guid isPermaLink="false">http://www.rediguana.co.nz/gav/?p=503</guid>
		<description><![CDATA[Well, it has been a lot of work for the admins, the mentors, and the students, but it has paid off. The Sahana has been awarded 10 projects in the 2009 Summer of Code. We have some great projects lined up! The include: Person Registry for Sahana Warehouse Management Disaster Victim Identification J2ME clients for [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it has been a lot of work for the admins, the mentors, and the students, but it has paid off. The Sahana has been awarded <a href="http://socghop.appspot.com/org/home/google/gsoc2009/sahana">10 projects</a> in the 2009 Summer of Code. We have some great projects lined up! The include:</p>
<ul>
<li>Person Registry for Sahana</li>
<li>Warehouse Management</li>
<li>Disaster Victim Identification</li>
<li>J2ME clients for form data collection in the field</li>
<li>Optical Character Recognition for scanning forms</li>
<li>Peer to peer synchronisation of Sahana servers</li>
<li>CAP Aggregation and Firefox CAP plugin</li>
<li>CAP Editing and Publishing</li>
<li>Mashup/Aggregation Dashboard</li>
<li>Theme Manager</li>
</ul>
<p>Having been neck deep in the process; working with others to set up our assessment process, coming up with ideas (I&#8217;m stoked to have two students working on CAP ideas that came out of my <a href="http://www.rediguana.co.nz/gav/2009/03/04/firefox-browser-cap-alerting-plugin-sahana-idea-for-gsoc2009/">earlier suggestion</a>), and reviewing each and every of the 45 proposals we recieved, it has been exciting to get so many projects accepted.</p>
<p>I think that by the end of the year, we are going to have some great new functionality available in Sahana. Even more, I hope we&#8217;ll attract more open source developers to our ever growing community!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rediguana.co.nz/gav/2009/04/26/google-investing-usd50000-in-sahana/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Peer-to-peer serving of CAP messages</title>
		<link>http://www.rediguana.co.nz/gav/2009/03/14/peer-to-peer-serving-of-cap-messages/</link>
		<comments>http://www.rediguana.co.nz/gav/2009/03/14/peer-to-peer-serving-of-cap-messages/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 08:40:30 +0000</pubDate>
		<dc:creator>Gavin Treadgold</dc:creator>
				<category><![CDATA[Emergency Management]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[alerting]]></category>
		<category><![CDATA[disaster]]></category>
		<category><![CDATA[emergency management]]></category>
		<category><![CDATA[emergency notification systems]]></category>
		<category><![CDATA[gsoc2009]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[sahana]]></category>
		<category><![CDATA[warnings]]></category>

		<guid isPermaLink="false">http://www.rediguana.co.nz/gav/?p=431</guid>
		<description><![CDATA[Here&#8217;s another CAP idea I wanted to get out before I read a document I&#8217;ve been sent that may cover the same topic (just to make sure I don&#8217;t potentially draw on someone else&#8217;s idea). This concept came to me, again, last year whilst I was working on the CAENZ Public Alerting research report last [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another CAP idea I wanted to get out before I read a document I&#8217;ve been sent that may cover the same topic (just to make sure I don&#8217;t potentially draw on someone else&#8217;s idea). This concept came to me, again, last year whilst I was working on the CAENZ Public Alerting research report last year (I&#8217;m still waiting for this to be publicly released so I can link to it). My recent post proposing a <a href="http://www.rediguana.co.nz/gav/2009/03/04/firefox-browser-cap-alerting-plugin-sahana-idea-for-gsoc2009/">browser plugin for CAP alerts</a> is part of this bigger picture I am outlining today.</p>
<p>The background for it came from the realisation that there are a significant number of organisations in New Zealand that are responsible for the publication of alerts &#8211; whether to a secure group, or the general public. For example, there are 16 CDEMG Groups, 70 odd local authorities, GeoNet, MetService, Police and those responsible for infrastructure such as roads, and the Centre for Critical Infrastructure Protection.</p>
<p>Each of these agencies would need some means of hosting a CAP server, and incorporating some means of resilience into their CAP server(s). Given that there are potentially such a large number of CAP servers required, there are some aspects that could provide a strong and robust CAP network without seeing a proliferation of potentially fragile CAP servers. This is all built on the concept of a secure peer-to-peer network of CAP servers.</p>
<p><strong>Federation</strong><br />
It should be possible to federate a group of CAP servers into a cluster. If we take a CDEM Group as an example, the group members may elect to deploy say 4 or 5 CAP servers to create a peer-to-peer network providing CAP alert hosting for the CDEM Group. Any authorised CAP message posted to one of the federated CAP servers would automatically distributed the CAP message to the other CAP servers in the federation. In this manner, the CAP message is instantly distributed and made available to other servers in the federation. </p>
<p><strong>Peer-to-peer</strong><br />
I believe that the more robust approach to developing a CAP network is to base it upon peer-to-peer network technology, although tweaked to provide a secure means of publishing messages to the network These servers could of course be deployed any way to provide maximum resilience, and may be located close to major New Zealand Internet backbones, and quite possibly well outside of their geographic region. This has two potential benefits for resilience. Firstly, the message is available from multiple servers, so that the load (particularly for publicly accessible CAP servers) can be distributed across the multiple servers automatically. Secondly, should any particular server fail, the messages will still automatically be provided from the other CAP servers in the federation.</p>
<p>One example means by which this could be deployed is the following.</p>
<p>Provide a national CAP server network of federated CAP servers at key points &#8211; a nationally managed set of strategically located CAP servers. For example, Government internal CAP servers would be most likely located on the Government Shared Network (GSN) or whatever comes out of the recent restructure of this service. Public servers may be spread around both by geography and ISP (e.g. key ISPs may host a CAP server for their customers). In all circumstances these would fallback to other CAP servers in the federation in case of their failure.</p>
<p>Naturally, the open approach applied to peer-to-peer file sharing is not appropriate for a trusted network CAP service. To create a more secure network, something like a two-tier approach may be necessary.</p>
<p><strong>CAP Publishing Servers</strong><br />
Private CAP publishing servers may be utilised to act as the publishing gateway to the public read-only peer-to-peer network provided by the CAP Read-only servers. Authentication, encryption and/or digital signing should be used as the basis to authorise the publication of a CAP message via the publishing server. The publishing server is responsible for verifying the digitally signed CAP alert, as well as the authentication details to verify the user is authorised to post the alert. Once authorised, the CAP publishing server publishes the alert to the road-only servers. This is the only channel to publishing CAP alerts to the network. Some form of CAP writing software (or service) may be useful for creating CAP messages and then publishing them to the servers. One protocol that may be useful for publishing is Atom as suggested by <a href="http://www.ibm.com/developerworks/xml/library/x-capatom/index.html">this IBM article</a>.</p>
<p><strong>CAP Read-only Servers</strong><br />
These are the user-facing servers that provide CAP messages to their end users. Only the CAP publishing servers are authorised to publish CAP messages to the peer-to-peer network for dissemination.</p>
<p>Naturally, this concept is part of a larger plan to build a CAP framework, and the circle would be able to be partly completed by designing <a href="http://www.rediguana.co.nz/gav/2009/03/04/firefox-browser-cap-alerting-plugin-sahana-idea-for-gsoc2009/">web browser plugins</a> that are capable of connecting to the peer-to-peer CAP read-only servers.</p>
<p>Widespread deployment of CAP browser plugins may mean that traditional servers may not be capable of supporting tens or hundreds of thousands of CAP clients regularly checking for new alerts. A peer-to-peer approach will probably provide the most scaleable and robust approach to disseminating CAP alerts via the Internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rediguana.co.nz/gav/2009/03/14/peer-to-peer-serving-of-cap-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox browser CAP alerting plugin (Sahana idea for GSOC2009)</title>
		<link>http://www.rediguana.co.nz/gav/2009/03/04/firefox-browser-cap-alerting-plugin-sahana-idea-for-gsoc2009/</link>
		<comments>http://www.rediguana.co.nz/gav/2009/03/04/firefox-browser-cap-alerting-plugin-sahana-idea-for-gsoc2009/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 23:42:04 +0000</pubDate>
		<dc:creator>Gavin Treadgold</dc:creator>
				<category><![CDATA[Uncategorised]]></category>
		<category><![CDATA[alerting]]></category>
		<category><![CDATA[disaster]]></category>
		<category><![CDATA[emergency management]]></category>
		<category><![CDATA[emergency notification systems]]></category>
		<category><![CDATA[gsoc2009]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[sahana]]></category>
		<category><![CDATA[warnings]]></category>

		<guid isPermaLink="false">http://www.rediguana.co.nz/gav/?p=404</guid>
		<description><![CDATA[I haven&#8217;t blogged about Sahana for a long time, and I&#8217;ve got plenty to write. So much that I can&#8217;t decide where to start, so I&#8217;m going to pick a nice small piece to start with. The Concept Last year, I was involved in a project in New Zealand to produce an investigative report on [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t blogged about Sahana for a long time, and I&#8217;ve got plenty to write. So much that I can&#8217;t decide where to start, so I&#8217;m going to pick a nice small piece to start with.</p>
<h2>The Concept</h2>
<p>Last year, I was involved in a project in New Zealand to produce an investigative report on Public Alerting Systems with the New Zealand Centre for Advanced Engineering. This report will hopefully soon go public, and I&#8217;ll provide a link when it does.</p>
<p>This report was looking at the different technological solutions for getting alerts out to people in as timely a manner as possible. At one point in the search for different systems, we started discussing means of injecting HTML in web pages via an ISP, so that a public alert could be sent out to anyone on the Internet. I&#8217;ll talk about this and other options later. Let me get to the point of this post.</p>
<p>After starting at the HTML injection idea, and progressing through a few others, I reached a kind of natural conclusion that a more suitable means of alerting users via a web browser would be a browser plugin that can subscribe to <a href="http://www.incident.com/cookbook/index.php/Main_Page">Common Alerting Protocol (CAP)</a> feeds, and when a relevant alert comes in via CAP, this is displayed to the user in their browser using the <a href="https://developer.mozilla.org/en/XUL/notificationbox">XUL:notificationbox</a> at the top of the webpage.</p>
<h2>Draft Requirements</h2>
<p>Anyway, a possible idea for a Google Summer of Code 2009 project is that of constructing a browser plugin for Firefox that implements this alerting capability, and expanding Sahana to support full publishing of CAP alerts. Here are some features it could/should support.</p>
<p><em>Firefox Plugin</em></p>
<ul>
<li>Bundle <a href="http://www.incident.com/cookbook/index.php/Public_CAP_Feeds">publicly available CAP feeds</a> (ideally listed in a nice Country/State taxonomy &#8211; this will make it easy to discover and utilise existing CAP services.</li>
<li>Allow users to optionally register location in some manner, so as the plugin can identify relevant alerts (by location) and give them higher status than say remote alerts. Users should be able to register multiple locations &#8211; whether it has home &#038; work, or multiple cities. Privacy is of course king and this information must be protected.</li>
<li>Provide a means of adding additional user provided CAP feeds to the plugin.</li>
<li>Provide the ability to open the alert in a new tab and format in a human-readable manner, including niceties such as embedding Google Maps to show geospatial information and links back to the source website of the alert for verification.</li>
<li>Implement means of verifying messages that are digital signed, and decrypting encrypted messages.</li>
</ul>
<p><em>Sahana</em></p>
<ul>
<li>Implement a CAP feed in Sahana so that Sahana can act as both a producer (in terms of creating a CAP message) and a publisher (in terms of making it available via a CAP RSS/Atom feed).</li>
<li>Implement a CAP proxy or similar, so that say all users of a Sahana server can obtain CAP alerts directly from the Sahana server &#8211; rather than going to an external website. This may be useful for distribution of alerts within an organisation or centre without having every client browser connecting to an external server.</li>
</ul>
<p>What would be very nice, but may be beyond the capabilities of Sahana servers currently, is making the CAP service on a Sahana server easily discoverable on a LAN via zero-conf services such as Bonjour.</p>
<h2>Draft Outcomes for Assessment</h2>
<p>The outcome of such a project would be to produce a working solution whereby a Firefox Browser plugin is capable of working with public CAP alerts and that CAP within Sahana is capable of fully acting as a CAP server via RSS/Atom feeds to the CAP alerting plugin.</p>
<h3>Compulsory</h3>
<ul>
<li>Implement the specified requirements</li>
<li>The browser plugin works as expected with publicly available CAP feeds.</li>
<li>The browser plugin works as expected against the <a href="http://demo.sahana.lk">Sahana demo server</a>. (Yes, this means that your modifications to CAP on SahanaPHP need to be implemented).</li>
</ul>
<h3>Optional</h3>
<ul>
<li>Implement the Sahana CAP server in SahanaPY</li>
<li>Provide one or more standalone CAP clients for a mobile platform e.g. Google Android, Apple iPhone/iPod Touch etc</li>
<li>Write an Internet Explorer plugin with similar functionality &#8211; it is important that this functionality is also provided for IE given its widespread usage and deployment.</li>
</ul>
<p>Whilst the plug-in can and should operate completely independently of Sahana, it should also be designed to work well with Sahana servers (e.g. SahanaPHP and SahanaPY).</p>
<p>Anyway, this is just an idea I wanted to float and get out in the community for discussion. I&#8217;d welcome any further comment or ideas to build upon this!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rediguana.co.nz/gav/2009/03/04/firefox-browser-cap-alerting-plugin-sahana-idea-for-gsoc2009/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

