This is a valid Atom 1.0 feed.
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
[help]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><?xml-stylesheet href="http://duncan-cragg.org/css/atom.css" type="text/css" ?><!-- Copyright (c) 2006 Duncan Cragg --> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb"> <id>http://duncan-cragg.org/blog/</id> <title>What Not How</title> <subtitle>Duncan Cragg on Declarative Architectures</subtitle> <author><name>Duncan Cragg</name></author> <logo>/favicon.gif</logo> <icon>/favicon.ico</icon> <rights>All content including photos and images by Duncan Cragg. Copyright (c) Duncan Cragg, your rights preserved: see /CXL.html</rights> <generator uri="http://www.djangoproject.com">A Django Production.</generator> <link rel="alternate" type="text/html" href="http://duncan-cragg.org/blog/" title="What Not How" /> <link rel="self" type="application/atom+xml" href="http://duncan-cragg.org/blog/atom/" /> <updated>2015-02-10T15:58:00Z</updated> <entry> <id>http://duncan-cragg.org/blog/post/eup-iot-ar-minecraft-netmash/</id> <title>EUP, IoT, AR and Minecraft | NetMash | Object Network</title> <published>2015-02-10T15:58:00Z</published> <updated>2015-02-10T15:58:00Z</updated> <link rel="alternate" type="text/html" href="http://duncan-cragg.org/blog/post/eup-iot-ar-minecraft-netmash/" title="EUP, IoT, AR and Minecraft | NetMash | Object Network" /> <category term="declarative" /> <category term="rest" /> <category term="json" /> <category term="forest" /> <category term="netmash" /> <category term="cyrus" /> <category term="object-network" /> <category term="IoT" /> <category term="eup" /> <category term="AR" /> <category term="minecraft" /> <summary type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> <p> These days I seem to mainly use this blog for once-a-year announcements of what I'm up to, which is useful as record for myself when I need to reflect.</p><p>So here's where I'm at, as 2015 begins..   ...</p> </div> </summary> <content type="xhtml" xml:space="preserve"> <div xmlns="http://www.w3.org/1999/xhtml"> <p></p><div class="summary"><p>These days I seem to mainly use this blog for once-a-year announcements of what I'm up to, which is useful as record for myself when I need to reflect.</p><p>So here's where I'm at, as 2015 begins..</p></div><p>Some time ago, in summer 2012, I <a href="http://duncan-cragg.org/blog/post/empowering-the-world/">announced</a> that I was focusing on end-user programming of virtual worlds in Android. </p><p>I called the language <a href="http://duncan-cragg.org/blog/post/cyrus-2013/">Cyrus</a> at the start of 2013 and swore I'd stick to it. Well, that was obviously a dumb choice, since <a href="https://www.google.com/search?q=Miley+Cyrus+MTV+2013">she got in the news that August</a>, doing all kinds of embarrassing things.</p><p>I spent the second half of 2013 playing with Minecraft modding in Cyrus, followed by a <a href="http://duncan-cragg.org/blog/post/building-object-network/">year-long</a> exploration through 2014 of using <a href="http://duncan-cragg.org/blog/post/object-network-approach-augmented-reality-and-inte/">Augmented Reality</a> to interact with the <a href="http://duncan-cragg.org/blog/post/web-things-watching-things/">Internet of Things</a>.</p><p><b>Core Goal</b></p><p>So now I'm back to that core goal: end-user programming of virtual worlds in Android, but now with a splash of Minecraft, a sprinkling of Augmented Reality and a pinch of the Internet of Things.</p><p>Of course, any virtual world today feels like it came from the last century if it refuses to acknowledge the tactile accessibility that was discovered by Notch in his world-sweeping game.</p><p>Android is an ideal platform for all this, because it is clearly AR-native, plus it can be used as a Thing - especially with sensor-packed, Bluetooth-enabled Android tablets and phones becoming such a cheap commodity.</p><p>I want to make the language more accessible to normal people by bumping up the number of dimensions used to access it: from my one-dimensional text format (which I still think is pretty clean and nice to read) to a two-dimensional graphical or visual interface.</p><p><b>Names</b></p><p>So, while I wait to see if "Cyrus" is actually viable in the longer term to name the language, this year's names are back to the <a href="http://Object.Network">Object Network</a> and <a href="http://NetMash.net">NetMash</a>. I'm also still using "FOREST" and "Functional Observer" to describe the architectural style and programming model, respectively, if anyone asks.</p><p>But since I'm focusing my energies on end users not technical folk, I'm not expecting anyone to ask.. </p> </div> </content> </entry> <entry> <id>http://duncan-cragg.org/blog/post/web-things-watching-things/</id> <title>CoAP and a Web of Things watching Things</title> <published>2014-05-19T21:21:00Z</published> <updated>2014-05-19T21:21:00Z</updated> <link rel="alternate" type="text/html" href="http://duncan-cragg.org/blog/post/web-things-watching-things/" title="CoAP and a Web of Things watching Things" /> <category term="architecture" /> <category term="p2p" /> <category term="forest" /> <category term="cyrus" /> <category term="object-network" /> <category term="IoT" /> <summary type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> <p> With the expansion of the Internet of Things (IoT), and the diversity of products andtechnologies, the one thing that everyone agrees on is that it's time to start agreeing:the Internet of Things needs standards. Many agree that it needs open standards, likethose that underpin the Web. </p><p>Obviously, a Web of Things is going to be quite different from the Web of Documents andApplications: it'll be much more fine-grained and much more "buzzy", with many sensorsand actuators working together with many hubs and services. It's more likely to be athome with the next generation of the Internet Protocol: IPv6.</p><p>To meet the fine-grained and buzzy nature of the IoT, the<a href="https://datatracker.ietf.org/doc/draft-ietf-core-coap/?include_text=1">Constrained Application Protocol, or CoAP,</a>was created. CoAP is an open Internet standard for the Web of Things. It's basedon the Web's core pipe: HTTP, but has many differences to allow it to be used by veryresource-constrained devices and local radio networks.</p><p>CoAP can be used in many different ways, but there's a danger that a lack of clarity inexactly how it's used means it doesn't achieve its full potential to link up the world'sembedded devices.</p><p>This article proposes a simple and clear way that CoAP could be used to build a uniform,global, decentralised Web of interacting and discoverable Things.</p><p><i>This <a href="http://www.thoughtworks.com/insights/blog/coap-and-web-things-watching-things">article first appeared</a> on the ThoughtWorks Insights pages</i>.   ...</p> </div> </summary> <content type="xhtml" xml:space="preserve"> <div xmlns="http://www.w3.org/1999/xhtml"> <p></p><div class="summary"><p>With the expansion of the Internet of Things (IoT), and the diversity of products andtechnologies, the one thing that everyone agrees on is that it's time to start agreeing:the Internet of Things needs standards. Many agree that it needs open standards, likethose that underpin the Web. </p><p>Obviously, a Web of Things is going to be quite different from the Web of Documents andApplications: it'll be much more fine-grained and much more "buzzy", with many sensorsand actuators working together with many hubs and services. It's more likely to be athome with the next generation of the Internet Protocol: IPv6.</p><p>To meet the fine-grained and buzzy nature of the IoT, the<a href="https://datatracker.ietf.org/doc/draft-ietf-core-coap/?include_text=1">Constrained Application Protocol, or CoAP,</a>was created. CoAP is an open Internet standard for the Web of Things. It's basedon the Web's core pipe: HTTP, but has many differences to allow it to be used by veryresource-constrained devices and local radio networks.</p><p>CoAP can be used in many different ways, but there's a danger that a lack of clarity inexactly how it's used means it doesn't achieve its full potential to link up the world'sembedded devices.</p><p>This article proposes a simple and clear way that CoAP could be used to build a uniform,global, decentralised Web of interacting and discoverable Things.</p><p><i>This <a href="http://www.thoughtworks.com/insights/blog/coap-and-web-things-watching-things">article first appeared</a> on the ThoughtWorks Insights pages</i>.</p></div><p><b>CoAP's Interaction Model</b></p><p>In simple terms, CoAP says you should send an Internet packet (UDP) to request a device'sdata - a GET on a device URL - and then expect back a packet with that data, perhaps asensor value. You can also push a packet of data to a device - a POST to its URL.</p><p>An <a href="https://datatracker.ietf.org/doc/draft-ietf-core-observe/?include_text=1">extension to CoAP for observation</a>allows you to keep on receiving back data packets following a GET as the device state atits URL changes.</p><p> </p><p><b>Ways of Interacting and Programming</b></p><p>This simple protocol is actually quite unique in the IoT world. Most IoT approaches workthrough events and messages - sensors and actuators may be connected to an event streamor message bus. The model used to program Things reflects this: events and messages tendto lead to actions and commands, and thence to central control, either in a centralserver in the house or a service in the cloud. Central control tends towards silos andproprietary formats and application protocols.</p><p>CoAP's Web-based model of devices with their own URLs is quite different. The Web thatCoAP belongs to works through decentralisation - empowering everyone to publish and linkup to anyone else. These links encourage everyone to use the same formats for theirdata, leading to re-use and "mashability". The lack of centralisation and greaterinteroperability leads to greater freedom to quickly innovate and build on top of eachother's data.</p><p>But since the event/action or message/command model is so familiar in the IoT world,many people will inevitably try to use CoAP in this way, and miss out on all thebenefits that have been proven by the unprecedented scale of the Web.</p><p>And even if they do embrace the CoAP and Web model, there's still sufficient flexibilityin there to allow various groups of people to go their own way and lose many of thebenefits. For example, people still don't <i>have</i> to use links between their worlds anddon't <i>have</i> to share the same formats. They don't have to use POST in exactly thesame way to achieve dynamic interaction with devices. The way Web APIs have gone - tocreate <a href="http://www.infoq.com/news/2012/02/the-object-network/">thousands of isolated silos</a> - is strong evidence of this risk.</p><p> </p><p><b>Peer-to-Peer Programming of Things</b></p><p>So what way should everyone use CoAP? Well, like I said, people should at least linkup in a Web and use the same formats for lights and dimmers and locks and temperature.And use the definition of those formats to guide the POST-side interaction models.</p><p>However, unlike the Web of large-scale documents and applications, of browsers andwebservers and client-server asymmetry, the Internet of Things is an Internet ofsensors and actuators and hubs; interacting devices which work as <i>symmetric peers</i> ina, potentially IPv6, mesh. </p><p>This symmetry and peer-to-peer interaction are embraced in the CoAP model and can leadto an interesting, simple and powerful approach to the Internet of Things, and to theevolution of the Web itself. There's an opportunity here to go one step further than theWeb, through a simple and powerful programming model based on <i>peer observation</i>.</p><p> </p><p><b>The Light Depends On The Light Level Sensor</b></p><p>For example, consider possibly the simplest IoT interaction imaginable: a light thatreacts to a sensor measuring the ambient light level and colour temperature, byadjusting its brightness and colour accordingly, either to match or to compensate.</p><p>There are two peers - and <i>we don't need a central controller</i>. The light depends on thesensor. They both have URLs, so the light can <i>link</i> to the sensor. We are using CoAP,so the light can <i>observe</i> the sensor itself:</p><p><a href="http://duncan-cragg.org/pictures/The_Light_Depends_on_the_Light_Sensor.png"><img class="photo post resizeable" src="http://duncan-cragg.org/pictures/The_Light_Depends_on_the_Light_Sensor.png" alt="picture" width="300" /></a></p><p>The light depends on the light level sensor. That's the simple, powerful interaction andprogramming model that CoAP allows us to use - if we allow Things themselves to be theobserving client. The state of a Thing depends on the states of the other Things that itlinks to. You can also have other abstract, non-real Things interacting in the peermesh, which we can still call Objects.</p><p>I won't go into detail here about exactly how CoAP would be used to achieve this: theURLs and payload formats and the use of GET, observe and POST that enables Things to beclient observers. I'll document that elsewhere, but it'll be based on my<a href="http://forest-roa.org">FOREST</a> architectural style and the <a href="http://object.network">Object Network</a>.</p><p> </p><p><b>Things Watching Things</b></p><p>The Internet of Things can be a mashable Web of Things. If we're going to use CoAP tobuild that fine-grained, "buzzy", decentralised Web, then we should use it like the Web:we should agree on the formats for device data, and link up all of our Things andnon-Thing Object data via their URLs. The common formats should also define how POST isto be used. That's the basic requirement.</p><p>We can then take a bold step further by exploiting CoAP's observation mechanism, tobuild a symmetric peer mesh of Things and Objects that link to, watch and depend on eachothers state: simply by allowing Things and Objects themselves to be the observing clients.That's all I'm proposing - that Things just watch each other instead of being observedby invisible processes.</p><p>This is a peer-to-peer model, where every player in the IoT is autonomous: empowered tocontrol itself and to evolve its own published state independently and concurrently.That can create a global, visible, loosely-coupled peer mesh of mutually-observing,interoperating and co-operating Things and Objects.</p><p>Programs to animate these peer Things and Objects can be extremely simple: you only needto describe how their new state should be set as a function of the states around. This issimilar to programming a spreadsheet. It's also an inherently concurrent and distributableprogramming model. My <a href="http://object.network/onr.html">Cyrus</a> programming language is designed toexpress this kind of program.</p> </div> </content> </entry> <entry> <id>http://duncan-cragg.org/blog/post/object-network-approach-augmented-reality-and-inte/</id> <title>The Object Network Approach to Augmented Reality and the Internet of Things</title> <published>2014-03-01T11:24:00Z</published> <updated>2014-03-01T11:24:00Z</updated> <link rel="alternate" type="text/html" href="http://duncan-cragg.org/blog/post/object-network-approach-augmented-reality-and-inte/" title="The Object Network Approach to Augmented Reality and the Internet of Things" /> <category term="architecture" /> <category term="declarative" /> <category term="p2p" /> <category term="rest" /> <category term="json" /> <category term="forest" /> <category term="netmash" /> <category term="cyrus" /> <category term="object-network" /> <category term="IoT" /> <summary type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> <p> After filling up that other<a href="http://duncan-cragg.org/blog/post/building-object-network/">blog</a> recently with 61pages of content, one page a day, I was challenged by my ThoughtWorks colleague, <a href="http://www.youtube.com/watch?v=MMA0Vlrdajs">Andy McWilliams</a>, to help him get in moreeasily to my explanations of the Object Network applied to Augmented Reality and theInternet of Things, especially around how my approach differs and is better than otherapproaches.   ...</p> </div> </summary> <content type="xhtml" xml:space="preserve"> <div xmlns="http://www.w3.org/1999/xhtml"> <p></p><div class="summary"><p>After filling up that other<a href="http://duncan-cragg.org/blog/post/building-object-network/">blog</a> recently with 61pages of content, one page a day, I was challenged by my ThoughtWorks colleague, <a href="http://www.youtube.com/watch?v=MMA0Vlrdajs">Andy McWilliams</a>, to help him get in moreeasily to my explanations of the Object Network applied to Augmented Reality and theInternet of Things, especially around how my approach differs and is better than otherapproaches.</p></div><p>Here's the short overview I came up with:</p><p><b>Other Approaches</b></p><p>Broadly-speaking, existing approaches to unifying the IoT (<a href="https://allseenalliance.org/docs-and-downloads/documentation/introduction-alljoyn-framework#unique_14">AllJoyn</a>,<a href="http://www.openhab.org/features.html">OpenHAB</a>,<a href="http://thethingsystem.com/dev/Devices.html">The Thing System</a>,<a href="https://github.com/nitrogenjs/service#readme">Nitrogen</a>,<a href="http://www.argot-sdk.org/start.htm">Argot</a>, ..) are built around event and action messages. Messages areoften managed through a message bus and/or an API that gives message construction and afunction-call and callback interface, perhaps through socket connections.</p><p>Programming is offered through "event-action" (or "callback-call") rule programming,perhaps in Javascript or via a visual programming interface like<a href="https://ifttt.com/hue">If This Then That</a>.</p><p><b>The Object Network Approach</b></p><p>The <a href="http://object.network/">Object Network</a>, on the other hand, is built like the Web,using URLs. These URLs point not to Web pages but to JSON state objects. Any peer canpublish state objects on URLs - e.g. sensors, controllers, mobile devices, servers, etc - and that state can be pulled or pushed at any time between peers using HTTP GET andPOST (or <a href="https://en.wikipedia.org/wiki/Constrained_Application_Protocol">CoAP</a>!).</p><p>Object Network programming is based, not on events and messages, but on state and statetransfer. So instead of event-action rules, it has "state-to-state" rules, which aresimpler and more powerful. Actions, if needed, are handled by creating "intent objects",but peer objects are very much more empowered and independent, so can run their ownrules to set their own state in the face of surrounding state objects observed throughtheir links.</p><p><b>Three Object Net Posts</b></p><p>I then pointed Andy at one of the posts on that other blog, but here are three posts there that are relevant:</p><p></p><ul><li><a href="http://duncan-cragg.org/new-blog/2014/02/what-is-object-network-again.html">What is The Object Network again?</a></li><li><a href="http://duncan-cragg.org/new-blog/2014/01/iot-rules-event-action-versus-state.html">IoT Rules: Event->Action versus State->State</a></li><li><a href="http://duncan-cragg.org/new-blog/2013/12/links-between-thing-objects.html">Links between Thing Objects</a></li></ul><p></p><p><b>Benefits of The Object Net Approach</b></p><p>These posts give more elaboration around the benefits of this approach, but briefly:</p><p>Using URLs is a force towards harmonisation of the formats they are contained in - eachend of the link will tend to come from the same family of formats. So simply puttingURLs in JSON is itself a massive benefit, if it leads to common formats for the samedata. Further, these links and shared formats, when used across multiple systems, form a"fabric" of data that can be used to serendipitously create whole new applications and mash-ups.</p><p>It's a simple and powerful distributed systems model, as the Web itself hasdemonstrated. When it becomes peer-to-peer and asynchronous through CoAP, IPv6 and theIoT, its power increases further through timeliness and interactivity, decentralisationand the removal of intermediaries - and puts that power in the hands of users in theirintimate daily lives.</p><p>To this the Object Net adds the simple and powerful programming model of setting objectstate as a function of surrounding neighbour, environmental or public object states,observed through links. The key aspect is the autonomy of each object in the network todetermine its own state evolution in a decentralised, loosely-coupled mesh.</p><p><b>CoAP-based Alternatives</b></p><p>Now, merely using the<a href="https://en.wikipedia.org/wiki/Constrained_Application_Protocol">CoAP</a>stack <a href="http://duncan-cragg.org/new-blog/2013/12/coap-and-forest.html">buys you most of the above approach</a>, being<a href="https://datatracker.ietf.org/wg/core/">chartered</a> from the start with REST in mind, plus adding<a href="https://datatracker.ietf.org/doc/draft-ietf-core-observe/?include_text=1">asynchronous resource observation</a>and having great <a href="http://duncan-cragg.org/new-blog/2014/02/bidirectional-coap.html">peer-to-peer potential</a>through IPv6 and UDP.</p><p>So really, it all depends on the code that uses it - does it build the observation modelinto the programming model like the Object Network does? Does it simply let you describehow the state of your object can be set according to the states of objects you link toand observe? Does it talk about common data formats? I've yet to track down a frameworkor platform that does this.</p><p>The nearest I've seen to an approach that has many of the elements of this, includingobservation through CoAP and a model layer above, is the<a href="http://www.slideshare.net/michaeljohnkoster/iot-toolkit-and-the-smart-object-api-architecture-for-interoperability">Open Source Internet of Things</a>(and <a href="http://iot-datamodels.blogspot.co.uk/">see here also</a>). This project seems to bemuch more complex, partly due to its being based on the Semantic Web.</p><p>I'll be exploring how the Object Net compares to it and the overall <a href="https://datatracker.ietf.org/wg/core/">CoRE</a>approach, and maybe also see how the <a href="https://www.ietf.org/mail-archive/web/core/current/msg02803.html">IPSO Alliance</a>and <a href="http://postscapes.com/internet-of-things-protocols#organizations">other initiatives</a>fit in to all that.</p> </div> </content> </entry> </feed> If you would like to create a banner that links to this page (i.e. this validation result), do the following:
Download the "valid Atom 1.0" banner.
Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)
Add this HTML to your page (change the image src attribute if necessary):
If you would like to create a text link instead, here is the URL you can use:
http://www.feedvalidator.org/check.cgi?url=http%3A//duncan-cragg.org/blog/atom/