<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="/blog/feed/index.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2023-11-21T23:05:52+00:00</updated><id>/blog/feed/index.xml</id><title type="html">Henare Degan</title><subtitle>Civic hacker</subtitle><entry><title type="html">MongoDB `smallfiles` setting on Ubuntu for development</title><link href="/blog/2016/01/18/mongodb-smallfiles-setting-on-ubuntu-for-development/" rel="alternate" type="text/html" title="MongoDB `smallfiles` setting on Ubuntu for development" /><published>2016-01-18T09:39:12+00:00</published><updated>2016-01-18T09:39:12+00:00</updated><id>/blog/2016/01/18/mongodb-smallfiles-setting-on-ubuntu-for-development</id><content type="html" xml:base="/blog/2016/01/18/mongodb-smallfiles-setting-on-ubuntu-for-development/">&lt;p&gt;&lt;img class=&quot;aligncenter size-medium wp-image-578&quot; src=&quot;/blog/wp-content/uploads/2016/01/MongoDB-Logo-300x81.jpg&quot; alt=&quot;Leaf logo for MongoDB&quot; width=&quot;300&quot; height=&quot;81&quot; /&gt;&lt;/p&gt;

&lt;p&gt;I recently installed MongoDB on Ubuntu to do some development and noticed it didn’t start when I installed it via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo aptitude install mongodb&lt;/code&gt;. Checking the logs I discovered the problem:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[initandlisten] ERROR: Insufficient free space for journal files
[initandlisten] Please make at least 3379MB available in /var/lib/mongodb/journal or use --smallfiles
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I have a tiny SSD on my computer and I really don’t need this using over 3GB just so I can do a little hacking.&lt;/p&gt;

&lt;p&gt;OK so I’ll just set &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--smallfiles&lt;/code&gt;. Under Ubuntu settings like arguments passed to a daemon when it starts are usually found in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/defaults&lt;/code&gt; but I couldn’t see any such file for MongoDB.&lt;/p&gt;

&lt;p&gt;It turned out you can also set this in the config file under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/mongodb.conf&lt;/code&gt; so just add this line to the bottom of that file:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;smallfiles = true
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="Hacking" /><category term="ubuntu" /><category term="mongodb" /><category term="configuration" /><summary type="html"></summary></entry><entry><title type="html">Load RSpec fixtures in Rails</title><link href="/blog/2014/04/25/load-rspec-fixtures-in-rails/" rel="alternate" type="text/html" title="Load RSpec fixtures in Rails" /><published>2014-04-25T03:56:57+00:00</published><updated>2014-04-25T03:56:57+00:00</updated><id>/blog/2014/04/25/load-rspec-fixtures-in-rails</id><content type="html" xml:base="/blog/2014/04/25/load-rspec-fixtures-in-rails/">&lt;p&gt;If you’re still using fixtures in your RSpec Rails tests for some reason you might want to load them into an environment to look at. For example, to ensure the data is displaying in the application like you intend.&lt;/p&gt;

&lt;p&gt;Rails expects you’re using Test::Unit so it expects the fixtures to live in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;test/fixtures&lt;/code&gt;. Here’s how you load fixtures from RSpec into your ‘test’ environment:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle exec rake db:fixtures:load RAILS_ENV=test FIXTURES_PATH=spec/fixtures&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;del&gt;You get a deprecation warning when running this. It says you should set this with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ActiveRecord::Tasks::DatabaseTasks.fixtures_path = '/path/to/fixtures'&lt;/code&gt; instead but I haven’t worked out where you’d put that for this kind of use (suggestions in the comments greatly appreciated!).&lt;/del&gt; &lt;em&gt;Update: the deprecation warning was &lt;a href=&quot;https://github.com/rails/rails/commit/3d865c1bcdb5a9c1ecf7a968312752d8f6178f8b&quot;&gt;removed in Rails 4.1&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="Hacking" /><category term="ruby" /><category term="rails" /><category term="RSpec" /><category term="Fixtures" /><category term="test" /><category term="data" /><summary type="html">If you’re still using fixtures in your RSpec Rails tests for some reason you might want to load them into an environment to look at. For example, to ensure the data is displaying in the application like you intend.</summary></entry><entry><title type="html">lightningtimer.net lives again</title><link href="/blog/2013/02/25/lightningtimer-net-lives-again/" rel="alternate" type="text/html" title="lightningtimer.net lives again" /><published>2013-02-25T22:26:21+00:00</published><updated>2013-02-25T22:26:21+00:00</updated><id>/blog/2013/02/25/lightningtimer-net-lives-again</id><content type="html" xml:base="/blog/2013/02/25/lightningtimer-net-lives-again/">&lt;p&gt;&lt;img class=&quot;aligncenter&quot; alt=&quot;start&quot; src=&quot;/blog/wp-content/uploads/2013/02/start-300x104.png&quot; width=&quot;300&quot; height=&quot;104&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I discovered that the &lt;strong&gt;very useful lightning talk timer&lt;/strong&gt;, &lt;a href=&quot;http://lightningtimer.net/&quot;&gt;lightningtimer.net&lt;/a&gt;, was &lt;a href=&quot;http://downforeveryoneorjustme.com/lightningtimer.net&quot;&gt;down for me&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So I put it on Github pages: &lt;a href=&quot;http://henare.github.com/lightningtimer.net/&quot;&gt;http://henare.github.com/lightningtimer.net/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/henare/lightningtimer.net&quot;&gt;Pull requests accepted&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;P.S. Thanks to &lt;a href=&quot;https://github.com/simonw&quot;&gt;Simon Willison&lt;/a&gt; for writing lightningtimer.net and putting it on Github.&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="Hacking" /><category term="Lightning talks" /><category term="Github pages" /><category term="lightningtimer.net" /><summary type="html">I discovered that the very useful lightning talk timer, lightningtimer.net, was down for me. So I put it on Github pages: http://henare.github.com/lightningtimer.net/ Pull requests accepted! P.S. Thanks to Simon Willison for writing lightningtimer.net and putting it on Github.</summary></entry><entry><title type="html">Featured in The Australian Financial Review</title><link href="/blog/2012/11/21/featured-in-the-australian-financial-review/" rel="alternate" type="text/html" title="Featured in The Australian Financial Review" /><published>2012-11-21T02:09:02+00:00</published><updated>2012-11-21T02:09:02+00:00</updated><id>/blog/2012/11/21/featured-in-the-australian-financial-review</id><content type="html" xml:base="/blog/2012/11/21/featured-in-the-australian-financial-review/">&lt;p&gt;&lt;img class=&quot;alignright size-medium wp-image-511&quot; title=&quot;Surly OpenAustralians&quot; src=&quot;/blog/wp-content/uploads/2012/11/surly_openaustralians-300x168.jpg&quot; alt=&quot;Photo from the article&quot; width=&quot;300&quot; height=&quot;168&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I haven't posted anything in ages and since this is fast becoming a brag book and not a blog I thought I'd post about how the OpenAustralia crew and I were recently featured in the AFR:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;a href=&quot;http://afr.com/p/technology/our_democracy_opening_crack_by_hack_5767WFvxNBsICg5vl33FLJ&quot;&gt;Our democracy opening crack by hack&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;There's also &lt;a href=&quot;/blog/wp-content/uploads/2012/11/Our-democracy-opening-crack-by-hack-2012-10-16-09-33-42.png&quot;&gt;a screenshot of the article&lt;/a&gt; if that link goes down.&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="OpenAustralia" /><category term="OpenAustralia" /><category term="democracy" /><category term="afr" /><category term="interview" /><category term="Australian Financial Review" /><category term="media" /><category term="hacks/hackers" /><category term="hackers" /><category term="hacking" /><category term="politics" /><summary type="html">I haven't posted anything in ages and since this is fast becoming a brag book and not a blog I thought I'd post about how the OpenAustralia crew and I were recently featured in the AFR: Our democracy opening crack by hack There's also a screenshot of the article if that link goes down.</summary></entry><entry><title type="html">OpenAustralia API Ruby Gem</title><link href="/blog/2012/09/15/openaustralia-api-ruby-gem/" rel="alternate" type="text/html" title="OpenAustralia API Ruby Gem" /><published>2012-09-15T04:05:50+00:00</published><updated>2012-09-15T04:05:50+00:00</updated><id>/blog/2012/09/15/openaustralia-api-ruby-gem</id><content type="html" xml:base="/blog/2012/09/15/openaustralia-api-ruby-gem/">&lt;p&gt;&lt;a href=&quot;https://rubygems.org/gems/openaustralia&quot;&gt;&lt;img class=&quot;alignright size-full wp-image-500&quot; title=&quot;OpenAustralia API Ruby Gem&quot; src=&quot;/blog/wp-content/uploads/2012/09/openaustralia_rubygem.png&quot; alt=&quot;Screenshot of OpenAustralia API on RubyGems.org&quot; width=&quot;325&quot; height=&quot;468&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To celebrate &lt;a href=&quot;https://en.wikipedia.org/wiki/International_Day_of_Democracy&quot;&gt;International Day of Democracy&lt;/a&gt; I'm happy to announce the availability of the &lt;a href=&quot;https://rubygems.org/gems/openaustralia&quot;&gt;OpenAustralia API gem on RubyGems&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A couple of months back I was toying with a project in Ruby that needed information from &lt;a href=&quot;http://www.openaustralia.org&quot;&gt;OpenAustralia.org&lt;/a&gt; so I took a look at the gem made by &lt;a href=&quot;http://www.acooper.org/&quot;&gt;Alex Cooper&lt;/a&gt; three years ago. Of course being that old it needed some love so I decided to &lt;a href=&quot;https://github.com/henare/openaustralia-api/&quot;&gt;spruce it up&lt;/a&gt; and publish it on RubyGems.&lt;/p&gt;
&lt;p&gt;I mainly updated it to today's Ruby technology, adding things like Bundler and also fixed a bug. I haven't used it in anger so there's doubtless other bugs and it could use an internal overhaul - pull requests accepted! :)&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="OpenAustralia" /><category term="Hacking" /><category term="OpenAustralia" /><category term="ruby" /><category term="api" /><category term="rubygem" /><category term="democracy" /><summary type="html">To celebrate International Day of Democracy I'm happy to announce the availability of the OpenAustralia API gem on RubyGems. A couple of months back I was toying with a project in Ruby that needed information from OpenAustralia.org so I took a look at the gem made by Alex Cooper three years ago. Of course being that old it needed some love so I decided to spruce it up and publish it on RubyGems. I mainly updated it to today's Ruby technology, adding things like Bundler and also fixed a bug. I haven't used it in anger so there's doubtless other bugs and it could use an internal overhaul - pull requests accepted! :)</summary></entry><entry><title type="html">“Patch Monday” podcast: “Twitter mimics Facebook, kills own ecosystem”</title><link href="/blog/2012/07/09/patch-monday-podcast-twitter-mimics-facebook-kills-own-ecosystem/" rel="alternate" type="text/html" title="“Patch Monday” podcast: “Twitter mimics Facebook, kills own ecosystem”" /><published>2012-07-09T04:49:47+00:00</published><updated>2012-07-09T04:49:47+00:00</updated><id>/blog/2012/07/09/patch-monday-podcast-twitter-mimics-facebook-kills-own-ecosystem</id><content type="html" xml:base="/blog/2012/07/09/patch-monday-podcast-twitter-mimics-facebook-kills-own-ecosystem/">&lt;p&gt;&lt;img class=&quot;alignright size-full wp-image-487&quot; title=&quot;Stilgherrian&quot; src=&quot;/blog/wp-content/uploads/2012/07/stilgherrian-140x105.jpg&quot; alt=&quot;Stilgherrian&quot; width=&quot;140&quot; height=&quot;105&quot; /&gt;&lt;/p&gt;
&lt;p&gt;At the risk of flooding this poor blog with content, I was on &lt;a href=&quot;https://twitter.com/stilgherrian&quot;&gt;Stilgherrian's&lt;/a&gt; &quot;&lt;a href=&quot;http://www.zdnet.com/blog/patch-monday/&quot;&gt;Patch Monday&lt;/a&gt;&quot; podcast with &lt;a href=&quot;https://twitter.com/kcarruthers/&quot;&gt;@kcarruthers&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/leslienassar&quot;&gt;@leslienassar&lt;/a&gt; discussing the recent changes to the Twitter API. Check out the full post and podcast on ZDNet:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;a href=&quot;http://www.zdnet.com/twitter-mimics-facebook-kills-own-ecosystem-7000000447/&quot;&gt;&lt;em&gt;Twitter mimics Facebook, kills own ecosystem&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;audio controls=&quot;&quot;&gt;&lt;source src=&quot;https://www.zdnet.com/html/podcast/zdnet/patch_monday_ep145_01.mp3&quot;&gt;&lt;/audio&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="Uncategorized" /><category term="twitter" /><category term="api" /><category term="Stilgherrian" /><category term="Bleeply" /><category term="Patch Monday" /><category term="ZDNet" /><category term="Kate Carruthers" /><category term="Leslie Nassar" /><summary type="html">At the risk of flooding this poor blog with content, I was on Stilgherrian's &quot;Patch Monday&quot; podcast with @kcarruthers and @leslienassar discussing the recent changes to the Twitter API. Check out the full post and podcast on ZDNet: Twitter mimics Facebook, kills own ecosystem</summary></entry><entry><title type="html">Cross one off the geek bucket list: My linux.conf.au talk</title><link href="/blog/2012/02/10/cross-one-off-the-geek-bucket-list-my-linux-conf-au-talk/" rel="alternate" type="text/html" title="Cross one off the geek bucket list: My linux.conf.au talk" /><published>2012-02-10T00:14:27+00:00</published><updated>2012-02-10T00:14:27+00:00</updated><id>/blog/2012/02/10/cross-one-off-the-geek-bucket-list-my-linux-conf-au-talk</id><content type="html" xml:base="/blog/2012/02/10/cross-one-off-the-geek-bucket-list-my-linux-conf-au-talk/">&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/gFZReZk_KqE?rel=0&quot; frameborder=&quot;0&quot; allow=&quot;autoplay; encrypted-media&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;It goes without saying that the organisers, volunteers, room monitors and AV people did an amazing job but I need to say it - they did &lt;strong&gt;an amazing job&lt;/strong&gt;! (How good are the talk recordings?!)&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="Geekery" /><category term="OpenAustralia" /><category term="Hacking" /><category term="OpenAustralia" /><category term="planningalerts" /><category term="ruby" /><category term="scraping" /><category term="scraperwiki" /><category term="lca2012" /><category term="lca" /><category term="linux.conf.au" /><summary type="html">It goes without saying that the organisers, volunteers, room monitors and AV people did an amazing job but I need to say it - they did an amazing job! (How good are the talk recordings?!)</summary></entry><entry><title type="html">Can Australia get an open Open Data Catalogue?</title><link href="/blog/2011/11/23/can-australia-get-an-open-open-data-catalogue/" rel="alternate" type="text/html" title="Can Australia get an open Open Data Catalogue?" /><published>2011-11-23T02:49:35+00:00</published><updated>2011-11-23T02:49:35+00:00</updated><id>/blog/2011/11/23/can-australia-get-an-open-open-data-catalogue</id><content type="html" xml:base="/blog/2011/11/23/can-australia-get-an-open-open-data-catalogue/">&lt;p&gt;I read over at &lt;a href=&quot;http://egovau.blogspot.com/2011/11/brisbane-city-council-launches-open.html&quot;&gt;Craig Thomler's eGov AU blog&lt;/a&gt; that Brisbane City Council has launched &lt;a href=&quot;http://data.brisbane.qld.gov.au/&quot;&gt;their own open data catalogue site&lt;/a&gt;. &lt;strong&gt;Great news&lt;/strong&gt;, right? &lt;strong&gt;Not entirely&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Unfortunately it appears to be yet another Australian site &lt;strong&gt;reinventing the open-data-catalogue-wheel&lt;/strong&gt;. So far we have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://data.gov.au&quot;&gt;data.gov.au&lt;/a&gt;: custom Wordpress site&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://data.brisbane.qld.gov.au&quot;&gt;data.brisbane.qld.gov.au&lt;/a&gt;: custom Wordpress site&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://data.nsw.gov.au&quot;&gt;data.nsw.gov.au&lt;/a&gt;: custom PHP (Drupal?) site&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://data.mosman.nsw.gov.au&quot;&gt;data.mosman.nsw.gov.au&lt;/a&gt;: custom proprietary site&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://data.vic.gov.au&quot;&gt;data.vic.gov.au&lt;/a&gt;: custom proprietary site&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Open Source Data Catalogues&lt;/h2&gt;
&lt;p&gt;How come none are using and contributing to an open source data catalogue like &lt;a href=&quot;http://ckan.org/&quot;&gt;CKAN&lt;/a&gt; or &lt;a href=&quot;https://github.com/azavea/Open-Data-Catalog&quot;&gt;Open Data Catalog&lt;/a&gt;? These projects are &lt;strong&gt;so much more advanced&lt;/strong&gt; than the sites that have been deployed in Australia and it's no wonder - CKAN's maturity is because it has been &lt;strong&gt;developed for over four years&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Not only that but using an open source open data catalogue simply means it's &lt;strong&gt;cheaper for Australian governments&lt;/strong&gt; to provide these services. If data.gov.au had used and contributed to an open source data catalogue we'd probably have had the vast majority of Australian local customisations done (if any were needed) and subsequent catalogues by Victoria, NSW and now councils would &lt;strong&gt;border on trivial to set up and deploy&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Doing It Right&lt;/h2&gt;
&lt;p&gt;The open source catalogues I mention above also &lt;strong&gt;get some key things right&lt;/strong&gt; that Australian sites deployed so far don't - namely &lt;a href=&quot;http://www.opendataphilly.org/opendata/nominate/&quot;&gt;open and public data requests&lt;/a&gt; and &lt;a href=&quot;http://data.gov.uk/blog/announcing-datagovuk-catalogue-apis#list-of-api-calls&quot;&gt;an API&lt;/a&gt; (oh the irony of open data catalogues not having &lt;del&gt;a good&lt;/del&gt; any API!).&lt;/p&gt;
&lt;p&gt;Open and public requests are critical and would &lt;strong&gt;highlight the lacklustre data released&lt;/strong&gt; to date in Australia. The Brisbane catalogue mentioned above is a prime example, there's a &lt;a href=&quot;http://www.planningalerts.org.au/authorities/brisbane/applications&quot;&gt;clear and demonstrable need&lt;/a&gt; for &lt;strong&gt;development application data to be opened and freed&lt;/strong&gt; but it hasn't been chosen as one of the items to be included in the data that launched with the site. If there was a way for data developers to &lt;strong&gt;make public requests&lt;/strong&gt; and not a &lt;a href=&quot;http://data.brisbane.qld.gov.au/index.php/suggest-a-dataset/&quot;&gt;glorified contact form&lt;/a&gt; we might see this data opened at some stage. As it stands, and while there's a scraper gathering the data that simply ignores the &lt;a href=&quot;http://pdonline.brisbane.qld.gov.au/masterview/masterplan/enquirer/default.aspx?page=disclaimer&quot;&gt;onerous conditions&lt;/a&gt;, I doubt we'll see this.&lt;/p&gt;
&lt;h2&gt;How do we fix it?&lt;/h2&gt;
&lt;p&gt;However there's no point in moaning without suggesting a way to fix things. One way the open data community in Australia could promote the use more advanced open source data catalogues would be to &lt;strong&gt;simply set up our own one&lt;/strong&gt;. A system like CKAN can slurp in data from all of the existing catalogues, thereby providing a &lt;strong&gt;comprehensive centralised source of all Australian open data&lt;/strong&gt; (not just one level of government and not just community projects like OpenAustralia). This would also &lt;strong&gt;provide an API to that data&lt;/strong&gt; and a central place where everyone can &lt;strong&gt;log requests for open data&lt;/strong&gt; and track what data is &lt;strong&gt;really in demand&lt;/strong&gt; by open data hackers in Australia.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Maybe someone should take this on as a project for &lt;a href=&quot;http://www.opendataday.org/&quot;&gt;#odhd&lt;/a&gt;?&lt;/em&gt; ;)&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="OpenAustralia" /><category term="open data" /><category term="datastore" /><category term="catalogue" /><category term="government" /><category term="council" /><category term="development applications" /><category term="open source" /><category term="ckan" /><category term="open data catalogue" /><category term="api" /><category term="brisbane" /><summary type="html">I read over at Craig Thomler's eGov AU blog that Brisbane City Council has launched their own open data catalogue site. Great news, right? Not entirely. Unfortunately it appears to be yet another Australian site reinventing the open-data-catalogue-wheel. So far we have: data.gov.au: custom Wordpress site data.brisbane.qld.gov.au: custom Wordpress site data.nsw.gov.au: custom PHP (Drupal?) site data.mosman.nsw.gov.au: custom proprietary site data.vic.gov.au: custom proprietary site Open Source Data Catalogues How come none are using and contributing to an open source data catalogue like CKAN or Open Data Catalog? These projects are so much more advanced than the sites that have been deployed in Australia and it's no wonder - CKAN's maturity is because it has been developed for over four years. Not only that but using an open source open data catalogue simply means it's cheaper for Australian governments to provide these services. If data.gov.au had used and contributed to an open source data catalogue we'd probably have had the vast majority of Australian local customisations done (if any were needed) and subsequent catalogues by Victoria, NSW and now councils would border on trivial to set up and deploy. Doing It Right The open source catalogues I mention above also get some key things right that Australian sites deployed so far don't - namely open and public data requests and an API (oh the irony of open data catalogues not having a good any API!). Open and public requests are critical and would highlight the lacklustre data released to date in Australia. The Brisbane catalogue mentioned above is a prime example, there's a clear and demonstrable need for development application data to be opened and freed but it hasn't been chosen as one of the items to be included in the data that launched with the site. If there was a way for data developers to make public requests and not a glorified contact form we might see this data opened at some stage. As it stands, and while there's a scraper gathering the data that simply ignores the onerous conditions, I doubt we'll see this. How do we fix it? However there's no point in moaning without suggesting a way to fix things. One way the open data community in Australia could promote the use more advanced open source data catalogues would be to simply set up our own one. A system like CKAN can slurp in data from all of the existing catalogues, thereby providing a comprehensive centralised source of all Australian open data (not just one level of government and not just community projects like OpenAustralia). This would also provide an API to that data and a central place where everyone can log requests for open data and track what data is really in demand by open data hackers in Australia. Maybe someone should take this on as a project for #odhd? ;)</summary></entry><entry><title type="html">Daily Paper: Better online news for Australia?</title><link href="/blog/2011/10/22/daily-paper-better-online-news-for-australia/" rel="alternate" type="text/html" title="Daily Paper: Better online news for Australia?" /><published>2011-10-22T04:27:16+00:00</published><updated>2011-10-22T04:27:16+00:00</updated><id>/blog/2011/10/22/daily-paper-better-online-news-for-australia</id><content type="html" xml:base="/blog/2011/10/22/daily-paper-better-online-news-for-australia/">&lt;p&gt;&lt;a href=&quot;/blog/wp-content/uploads/2011/10/daily_paper-e1319252748133.png&quot;&gt;&lt;img class=&quot;alignright size-full wp-image-442&quot; title=&quot;Today's Daily Paper&quot; src=&quot;/blog/wp-content/uploads/2011/10/daily_paper-e1319252748133.png&quot; alt=&quot;&quot; width=&quot;254&quot; height=&quot;367&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;tl;dr&lt;/strong&gt; I made an &lt;a href=&quot;http://daily-paper.henaredegan.com/&quot;&gt;Australian version&lt;/a&gt; of &lt;a href=&quot;http://www.gyford.com/phil/writing/2010/06/09/todays-guardian.php&quot;&gt;Phil Gyford's &lt;em&gt;Today's Guardian&lt;/em&gt;&lt;/a&gt; because I was fed up with Australian online news. I'm not sure it solves my problem but I'm interested to hear what you think of &lt;a href=&quot;http://daily-paper.henaredegan.com/&quot;&gt;Daily Paper&lt;/a&gt; and online news in general.&lt;/p&gt;
&lt;h2&gt;The problem&lt;/h2&gt;
&lt;p&gt;To get my regular news many years ago I used to visit SMH.com.au every few hours and see what was happening in the world. This worked well for a number of years until SMH started to dramatically decline in quality compared to the print version of the Sydney Morning Herald. This decline appears to have been driven by the analytics that Fairfax was getting on news stories based on more bored office workers reading salacious stories instead what I'd consider more useful journalism (some top stories on the SMH front page as I write this are &quot;&lt;em&gt;Suds to the blokes&lt;/em&gt;&quot; and &quot;&lt;em&gt;France's femme fatale&lt;/em&gt;&quot;).&lt;/p&gt;
&lt;p&gt;As my use of RSS grew, I sought out a different approach to getting my news and set up hand-picked RSS feeds from the &lt;a href=&quot;http://www.abc.net.au/&quot;&gt;ABC&lt;/a&gt;. Once again this worked well for a few years until a couple of months ago the ABC updated their &lt;a href=&quot;http://www.abc.net.au/services/rss/&quot;&gt;RSS feeds&lt;/a&gt; and inexplicably changed all of the URLs to the RSS feeds from nice &quot;/news/sydney.rss&quot; to &quot;/news/feed/10232/rss.xml&quot; without providing redirects. This meant I would've had to go through and update each of my feeds manually which was not a huge task but gave me pause for thought.&lt;/p&gt;
&lt;p&gt;It was around this time that my girlfriend decided to switch off from news completely. She was sick of the fact that in Australia our &quot;national debate&quot; has seemed to be fixed on the same issues rehashed over and over and over for the last few years (think refugees, climate change, etc.), which got me thinking how I was consuming news.&lt;/p&gt;
&lt;p&gt;As my feeds contained every single story for a particular topic or geographic region it was quite a firehose of news items and a lot to get through. Being a feed, I'd be constantly be seeing new items flow in and the temptation was to sit there reading until I'd read each item I was interested in, by which time there'd often be even more stories that had flowed into the feed.&lt;/p&gt;
&lt;p&gt;This didn't feel right - &lt;strong&gt;it felt like the news was consuming me, rather than me consuming the news&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;A solution?&lt;/h2&gt;
&lt;p&gt;A couple of weeks before all of this had happened I'd come across &lt;a href=&quot;http://www.gyford.com/phil/writing/2010/06/09/todays-guardian.php&quot;&gt;Phil Gyford's Today's Guardian&lt;/a&gt;, which he wrote to address some specific shortcomings he'd identified with online news - &lt;em&gt;Friction&lt;/em&gt;, &lt;em&gt;Readability&lt;/em&gt; and &lt;em&gt;Finishability&lt;/em&gt;. Take some time to read his post and understand Phil's motivations.&lt;/p&gt;
&lt;p&gt;For me the idea of finishability was really appealing as I was sick of the firehose of information. &lt;strong&gt;I didn't want every news story, I wanted the best news stories&lt;/strong&gt; and when I'd read them I wanted to know I could switch off.&lt;/p&gt;
&lt;h2&gt;Rage breeds innovation&lt;/h2&gt;
&lt;p&gt;This all lead to me &lt;a href=&quot;https://github.com/henare/daily-paper&quot;&gt;porting Phil's code to work with the ABC here in Australia&lt;/a&gt; and you can &lt;strong&gt;check out the result&lt;/strong&gt; that gets updated each day at 08:00:&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;&lt;a href=&quot;http://daily-paper.henaredegan.com/&quot;&gt;http://daily-paper.henaredegan.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I've had it running for a couple of weeks now and whilst I tried to use it for the first week or so I'm not finding it fitting in with my routine so I never get around to checking it. The funny thing is I don't feel any less informed and I seem to be just as aware of the day's events as the next person. My currently theory behind this is that other channels must be doing a good enough job at getting news in front of me - things like Twitter or links that friends send me directly over IM or email.&lt;/p&gt;
&lt;p&gt;I'm not sure what to make of this all but I'd be very interested to hear how you're using online news and if something like Phil's daily paper would help you.&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="Hacking" /><category term="abc" /><category term="scraping" /><category term="news" /><category term="daily paper" /><category term="guardian" /><category term="Phil Gyford" /><category term="online news" /><category term="Australia" /><summary type="html">tl;dr I made an Australian version of Phil Gyford's Today's Guardian because I was fed up with Australian online news. I'm not sure it solves my problem but I'm interested to hear what you think of Daily Paper and online news in general. The problem To get my regular news many years ago I used to visit SMH.com.au every few hours and see what was happening in the world. This worked well for a number of years until SMH started to dramatically decline in quality compared to the print version of the Sydney Morning Herald. This decline appears to have been driven by the analytics that Fairfax was getting on news stories based on more bored office workers reading salacious stories instead what I'd consider more useful journalism (some top stories on the SMH front page as I write this are &quot;Suds to the blokes&quot; and &quot;France's femme fatale&quot;). As my use of RSS grew, I sought out a different approach to getting my news and set up hand-picked RSS feeds from the ABC. Once again this worked well for a few years until a couple of months ago the ABC updated their RSS feeds and inexplicably changed all of the URLs to the RSS feeds from nice &quot;/news/sydney.rss&quot; to &quot;/news/feed/10232/rss.xml&quot; without providing redirects. This meant I would've had to go through and update each of my feeds manually which was not a huge task but gave me pause for thought. It was around this time that my girlfriend decided to switch off from news completely. She was sick of the fact that in Australia our &quot;national debate&quot; has seemed to be fixed on the same issues rehashed over and over and over for the last few years (think refugees, climate change, etc.), which got me thinking how I was consuming news. As my feeds contained every single story for a particular topic or geographic region it was quite a firehose of news items and a lot to get through. Being a feed, I'd be constantly be seeing new items flow in and the temptation was to sit there reading until I'd read each item I was interested in, by which time there'd often be even more stories that had flowed into the feed. This didn't feel right - it felt like the news was consuming me, rather than me consuming the news. A solution? A couple of weeks before all of this had happened I'd come across Phil Gyford's Today's Guardian, which he wrote to address some specific shortcomings he'd identified with online news - Friction, Readability and Finishability. Take some time to read his post and understand Phil's motivations. For me the idea of finishability was really appealing as I was sick of the firehose of information. I didn't want every news story, I wanted the best news stories and when I'd read them I wanted to know I could switch off. Rage breeds innovation This all lead to me porting Phil's code to work with the ABC here in Australia and you can check out the result that gets updated each day at 08:00: http://daily-paper.henaredegan.com/ I've had it running for a couple of weeks now and whilst I tried to use it for the first week or so I'm not finding it fitting in with my routine so I never get around to checking it. The funny thing is I don't feel any less informed and I seem to be just as aware of the day's events as the next person. My currently theory behind this is that other channels must be doing a good enough job at getting news in front of me - things like Twitter or links that friends send me directly over IM or email. I'm not sure what to make of this all but I'd be very interested to hear how you're using online news and if something like Phil's daily paper would help you.</summary></entry><entry><title type="html">What I’ve been up to around the web</title><link href="/blog/2011/09/18/what-ive-been-up-to-around-the-web/" rel="alternate" type="text/html" title="What I’ve been up to around the web" /><published>2011-09-18T01:51:25+00:00</published><updated>2011-09-18T01:51:25+00:00</updated><id>/blog/2011/09/18/what-ive-been-up-to-around-the-web</id><content type="html" xml:base="/blog/2011/09/18/what-ive-been-up-to-around-the-web/">&lt;p&gt;It's been too long since I've written a post here but I blame it on writing posts for everyone else!&lt;/p&gt;
&lt;p&gt;I wrote a little post about &lt;a href=&quot;http://www.openaustraliafoundation.org.au/2011/09/09/planningalerts-for-my-mum-and-the-northern-territory/&quot;&gt;creating a PlanningAlerts scraper for the Northern Territory for my mum&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We ran an OpenAustralia &lt;a href=&quot;http://www.openaustraliafoundation.org.au/2011/08/30/openaustralia-hackfest-what-are-you-up-to-next-weekend-edition/&quot;&gt;hackfest last weekend&lt;/a&gt; and &lt;a href=&quot;http://www.openaustraliafoundation.org.au/2011/09/15/little-openaustralia-hackfest-big-results/&quot;&gt;I wrote a blog post&lt;/a&gt; that was &lt;a href=&quot;http://google-au.blogspot.com/2011/09/little-openaustralia-hackfest-big.html&quot;&gt;cross posted on the Official Google Australia Blog&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I wrote a &lt;a href=&quot;http://blog.scraperwiki.com/2011/09/16/driving-the-digger-down-under/&quot;&gt;guest post for ScraperWiki about our hackfest&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;And I gave a talk at the hackfest:&lt;/p&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/XPsJBoYc_MU?rel=0&quot; frameborder=&quot;0&quot; allow=&quot;autoplay; encrypted-media&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;and wrapped up the hackfest:&lt;/p&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/af2PQhc5fg0?rel=0&quot; frameborder=&quot;0&quot; allow=&quot;autoplay; encrypted-media&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;ScraperWiki also featured my ACMA scraper a while back (I must get back to that project):&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/wp-content/uploads/2011/09/acma_scraper.png&quot;&gt;&lt;img class=&quot;aligncenter size-large wp-image-433&quot; title=&quot;ACMA Scraper featured on ScraperWiki.com&quot; src=&quot;/blog/wp-content/uploads/2011/09/acma_scraper-497x1024.png&quot; alt=&quot;&quot; width=&quot;497&quot; height=&quot;1024&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content><author><name>{&quot;display_name&quot;=&gt;&quot;henare&quot;, &quot;login&quot;=&gt;&quot;henare&quot;, &quot;email&quot;=&gt;&quot;henare.degan@gmail.com&quot;, &quot;url&quot;=&gt;&quot;http://www.henaredegan.com/&quot;}</name><email>henare.degan@gmail.com</email></author><category term="Geekery" /><category term="OpenAustralia" /><category term="Hacking" /><category term="OpenAustralia" /><category term="google" /><category term="planningalerts" /><category term="scraping" /><category term="scraperwiki" /><category term="posts" /><category term="video" /><category term="talks" /><summary type="html">It's been too long since I've written a post here but I blame it on writing posts for everyone else! I wrote a little post about creating a PlanningAlerts scraper for the Northern Territory for my mum. We ran an OpenAustralia hackfest last weekend and I wrote a blog post that was cross posted on the Official Google Australia Blog. I wrote a guest post for ScraperWiki about our hackfest. And I gave a talk at the hackfest: and wrapped up the hackfest: ScraperWiki also featured my ACMA scraper a while back (I must get back to that project):</summary></entry></feed>