<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Kukkaisvoima version 9" -->
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
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/"
>
<channel>
<atom:link href="http://www.nickcoleman.org/blog/index.cgi/feed" rel="self" />
<title>Nick Coleman</title>
<link>http://www.nickcoleman.org/blog/index.cgi</link>
<description>Nick Coleman blog</description>
<pubDate>Sat, 10 Nov 2012 11:50:00 -0700</pubDate>
<lastBuildDate>Sat, 10 Nov 2012 11:50:00 -0700</lastBuildDate>
<generator>http://23.fi/kukkaisvoima/</generator>
<language>en</language>
<item>
<title>Internet Filter Part The Last
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=internet-filter-part5%21201211101150%21censorship%2Cinternet</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=internet-filter-part5%21201211101150%21censorship%2Cinternet#comments</comments>
<pubDate>Sat, 10 Nov 2012 11:50:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>censorship</category>
<category>internet</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=internet-filter-part5%21201211101150%21censorship%2Cinternet/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
Finally, at long long last, the Australia Government <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.smh.com.au/technology/technology-news/conroy-backs-away-from-internet-filter-20121108-290ym.html"
title="Sydney Morning Herald article">has killed off</a> its long-standing proposal to
implement an internet filter for all Australians.  Instead, it will go with a much more
sensible and practical policy of banning access to websites listed on the Interpol
"worst" list.
<p>
The two reasons why this is better is that it is an open and transparent process, and
that it is harder to get accidentally or maliciously included on the list since at least
two countries have to propose a website for inclusion.
<p>
Now all we have to do is prevent Australia succumbing to U.S. pressure to implement
<a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.watoday.com.au/digital-life/computers/blogs/gadgets-on-the-go/internet-filtering--the-war-is-over-20121109-292dc.html" title="">
ACTA, SOPA</a> and all the others that the one-sided Free Trade Agreement part 2 will impose on
us.
<p>
I wrote previously on this in 2010 <a href="http://www.nickcoleman.org/axs/ax.pl?"
http://www.nickcoleman.org/blog/index.cgi?post=internetfilterpt4%21201008061127%21censorship%2Cinternet
title="Liberals Will Not Support Censorship">here</a>, 
<a href="http://www.nickcoleman.org/axs/ax.pl?"
http://www.nickcoleman.org/blog/index.cgi?post=internetfilterpt4%21201007091245%21censorship%2Cinternet
title="Internet Filter part 4">here</a>,
<a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.nickcoleman.org/blog/index.cgi?post=internetfilterpt3%21201004290951%21censorship%2Cpolitics"
title="Gov't Backs Off For Now">here</a>,
<a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.nickcoleman.org/blog/index.cgi?post=internetfilterpt2%21201001150736%21censorship%2Cinternet"
title="US For Free Internet">here</a>, and in 2009 <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.nickcoleman.org/blog/index.cgi?post=internetfilter%21200912221044%21censorship%2Cinternet%2Cpolitics"
title="Australia Will Mandate Censorship">here</a>.
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=internet-filter-part5%21201211101150%21censorship%2Cinternet/feed/</wfw:commentRss>
</item>
<item>
<title>Tour de France
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=tour-de-france%21201207210900%21sport</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=tour-de-france%21201207210900%21sport#comments</comments>
<pubDate>Sat, 21 Jul 2012 09:00:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>sport</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=tour-de-france%21201207210900%21sport/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
Another beautiful Tour de France.  We are only three days away from the final stage in
Paris and Bradley Wiggins will win.
<p>
Last night watching stage 21, I saw Mark Cavendish power from the poursuivants,
catch the tête de course and just drive past still accelerating.  The lead group had
nothing to say. It was a simply awesome display of power and assertiveness.  
<p>
Wiggins will win, of course, having led from stage 7 and Peter Sagan is the tremendous new
addition to the Tour, a superb sprinter who also wins mountain climbs.  It will be great
to see Cavendish and Sagan compete in sprints in the next Tours (it didn't happen this
year because Cavendish's team was focussed on supporting Wiggins).
<p>
There have been plenty of Aussie supporters along the way as shown by the number of
Australian flags on the route.  Plenty of any nationalities' supporters on the mountain
too&mdash;they are going to have to do something about that, they are crowding the
riders on the summit&mdash;and I'm not too sure what the heck is up with all those
naked men running alongside.
<p>
By the way, if you were wondering, like me, where is the Devil Man (Didi Senft) this
year, he recently had surgery and his doctors told him to stay home and be quiet, a
difficult task for him, I'm sure.
<p>
As usual, the SBS telecast and commentary has been great and I will miss the Tour when
it finishes at the end of this week, it has been wonderful.
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=tour-de-france%21201207210900%21sport/feed/</wfw:commentRss>
</item>
<item>
<title>Shell Function To Decode and View Cache &amp; Cookie Date-Time
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=cache-date-time%21201207130942%21unix%2Cinternet</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=cache-date-time%21201207130942%21unix%2Cinternet#comments</comments>
<pubDate>Fri, 13 Jul 2012 09:42:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>unix</category>
<category>internet</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=cache-date-time%21201207130942%21unix%2Cinternet/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
I was checking how a server was returning cache and cookie times and needed something to
view the timestamp in normal, human-readable date time.  The timestamp (e.g.
1340325256487) is a unix datetime (i.e. time from the epoch of 01-01-1970 0:00 UTC)
expressed in milliseconds.
<p>
You can show the datetime of epoch dates using the <code>date</code> unix command:
<p>
<div class="code">
$ date -d @1340325256
Fri Jun 22 08:34:16 WST 2012
</div>
<p>
However, that won't work here because of the additional milliseconds component that
servers send in their headers and set in the cookies:
<div class="code">
$ date -d @1340325256<strong>487</strong>
date: invalid date `@1340325256487'
</div>
<p>
We need to strip off the last 3 digits, which means we can't use an alias because we
have to manipulate the input ($1).
<p>
A shell function will do nicely.  Here is a short function that strips off the last
three digits of the epoch time for <code>date</code> to reformat.  
<p>
<div class="pygmentize"><pre><span class="k">function </span>date-cache <span class="o">{</span><br>  date -d <span class="k">$(</span> expr substr @<span class="nv">$1</span> 1 <span class="se">\(</span> length <span class="nv">$1</span> - 2 <span class="se">\)</span> <span class="k">)</span><br><span class="o">}</span><br></pre></div>
<p>
<strong>Bash</strong> users can use a simpler version that doesn't have the expense of a
call to a sub-shell, instead using the string manipulation built in to parameter expansion, e.g.
<code>${<em>var</em>:<em>offset</em>:<em>length</em>}</code>.
<p>
<div class="pygmentize"><pre><span class="k">function </span>date-cache <span class="o">{</span><br>   date -d @<span class="k">${</span><span class="nv">1</span><span class="p">:</span><span class="nv">0</span><span class="p">:</span><span class="k">${#</span><span class="nv">1</span><span class="k">}</span><span class="p">-3</span><span class="k">}</span><br><span class="o">}</span><br></pre></div>
<p>
(For the confused, a reminder that the <strong>1</strong> appearing above is the
variable $1, not a parameter value of 1.)
<p>
A perhaps interesting aspect is that you can do arithmetic substitution within parameter
expansion without specifying anything special such as <code>((...))</code>.
<p>
Note that, depending on your environment,  most likely <code>date</code> will return the time for your local timezone, not UTC.  If
you want to see UTC, modify the function to use the <code>-u</code> option for <code>date</code>, as in <code>date -u -d</code>.
<p>
<div class="code">
 # local timezone
$ date-cache 1340325256487
Fri Jun 22 08:34:16 <b>WST</b> 2012
</div>
<p>
Finally, be aware that the function just removes, not rounds, the last three digits.  If
the milliseconds component is greater than 500, you might be expecting to see the time as one second
higher than this function shows.
<p>
[<em>Addendum</em>]: Rounding is easily implemented since I am not interested in the
values of the milliseconds.  Just add 500 to the timevalue and chop off the last three
digits.   If the milliseconds is less than 500, it won't kick up the seconds
component; if it is greater than 500, adding 500 will add 1 to the seconds. 
<p>
Since I need to store the result of the arithmetic, I use a local variable.
<p>
<div class="pygmentize"><pre><span class="k">function </span>date-cache <span class="o">{</span><br>  <span class="nb">local </span><span class="nv">ROUNDED</span><span class="o">=</span><span class="k">$((</span><span class="nv">$1</span> <span class="o">+</span> <span class="m">500</span><span class="k">))</span><br>  date -d @<span class="k">${</span><span class="nv">ROUNDED</span><span class="p">:</span><span class="nv">0</span><span class="p">:</span><span class="k">${#</span><span class="nv">ROUNDED</span><span class="k">}</span><span class="p">-3</span><span class="k">}</span><br><span class="o">}</span><br></pre></div>
<p>
<div class="code">
$ date-cache 1340325256<b>4</b>87
Fri Jun 22 08:34:1<b>6</b> WST 2012
<p>
 # rounding up
$ date-cache 1340325256<b>6</b>87
Fri Jun 22 08:34:1<b>7</b> WST 2012
</div>
<p>
This function is now in my .bashrc and it is pretty handy.  I use it by highlighting the value of the
cookie in the browser and middle-clicking to paste it into a terminal window.
Personally, I don't use the rounded version, but it's there if you want it. 
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=cache-date-time%21201207130942%21unix%2Cinternet/feed/</wfw:commentRss>
</item>
<item>
<title>God Particle: Higgs Boson Found
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=god-particle%21201207040956%21science</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=god-particle%21201207040956%21science#comments</comments>
<pubDate>Wed, 04 Jul 2012 09:56:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>science</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=god-particle%21201207040956%21science/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
It looks like the Higgs boson has been confirmed (source: <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.theage.com.au/technology/sci-tech/weve-observed-a-new-particle-leaked-video-reveals-apparent-god-particle-confirmation-20120704-21g63.html"
title="The Age article on Higgs Boson"><i>The Age</i></a>).
<p>
<i>The Age</i> is still perpetuating the myth that it is called the God particle because
it gives all other particles their mass.  Actually, it came from a frustrated early
researcher who called it the god-damn particle because it was so hard to find.  So,
small "g" please if you follow the latest style guides for slang.
<p>
<a
href="http://www.nickcoleman.org/axs/ax.pl?http://news.ycombinator.com/item?id=4193124"
title="Hacker News comments"><i>Hacker News</i></a> has comments and a link to another
article.
<p>
<strong>Update</strong>: <a href="http://www.nickcoleman.org/axs/ax.pl?http://apod.nasa.gov/apod/ap120501.html"
title="Animation of Higgs boson">Here</a> is a great animated cartoon that explains what
the Higgs boson is, how it is important, and how we are looking for it. No science needed!
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=god-particle%21201207040956%21science/feed/</wfw:commentRss>
</item>
<item>
<title>Australia Gets R+ Rating For Games
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=games-ratings%21201206200901%21censorship%2Centertainment</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=games-ratings%21201206200901%21censorship%2Centertainment#comments</comments>
<pubDate>Wed, 20 Jun 2012 09:01:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>censorship</category>
<category>entertainment</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=games-ratings%21201206200901%21censorship%2Centertainment/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
At long last, Australia gets its R rating (adults only) for computer games.  The
Commonwealth has passed the necessary legislation in the last few days, and the States
have agreed to implement their complementary legislation this year.  The implementation
date is January 2013.
<p>
Previously, our highest rating was M15, which means suitable for over-15 year olds.  Any
game that warranted a more restricted rating was refused classification, which meant it
was illegal to sell in Australia.  We were the only western country in the world to ban
games to adults.
<p>
In practice, many games that were in a gray area were let through with M15. This meant
that kids were getting access to games they probably should not have.  As a corollary,
parents were confused because the M15 rating seemed to include a vast range of games
from mild through to strong violence.
<p>
The new system, only a decade later than the rest of the world, means that the M15
rating will, in practice, be tightened up and parents will be more sure of the content
of that game.  And, of course, adults will be free to buy games with higher degrees of
violence or sex or swearing.
<p>
My view is that this is long overdue.  It is absurd, and obnoxiously patronising, for a
committee to think it knows what is good for me better than I do.
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=games-ratings%21201206200901%21censorship%2Centertainment/feed/</wfw:commentRss>
</item>
<item>
<title>Fairfax To Move To Pay-wall
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=fairfax-online%21201206200848%21politics%2Ceconomics</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=fairfax-online%21201206200848%21politics%2Ceconomics#comments</comments>
<pubDate>Wed, 20 Jun 2012 08:48:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>politics</category>
<category>economics</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=fairfax-online%21201206200848%21politics%2Ceconomics/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
Yesterday, Fairfax (publishers of <i>The Age</i> and <i>The Sydney Morning-Herald</i>)
announced 1,900 job cuts and that online editions would move behind a pay-wall.
<p>
Many of the job cuts will come from journalists, but the majority will come from the
production areas such as printing.  A sign of the times and unfortunate for those
workers in obsolete technology who will be impacted.  (I'm not being cruel; it is
obvious to Blind Freddie that printers as a mass industry will go the way of the
textile workers who were replaced by mechanical looms and gave the word "luddite".)
<p>
I read my morning news online, mainly <i>The Age</i> which I enjoy for its in-depth
articles, and, while disappointing, the move to a pay-wall is not unexpected.
<p>
So far, I have avoided completely paying for online news.  For one, the prices are
ridiculous.  Printing is responsible for roughly half the cost of a newspaper, so removing paper and
ink from the equation should bring costs down.  Yet the online subscription, at least
for those news sites I looked at, is the same as the printed version. Nup, not going to pay
that, especially with a vast range of alternative free sources.  
<p>
The industry is obviously going through major change and things are yet to settle
down, so the price will move up and down before settling at some stable point.  I
predict it will be substantially down.
<p>
Co-incidentally, I was reading <i>The Age</i> at the time of the announcement and, when
the page refreshed, was presented with a popup which I hadn't seen before.  It was blank
(because I use <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.nickcoleman.org/blog/index.cgi?post=googlechrome-to-firefox%21201205101149%21general%2Cinternet"
title="My Firefox privacy extensions">various privacy plugins</a> in Firefox) but it
looked pretty much like a login form.  Interesting.  It seems they have the technology
already implemented and are just waiting for the word to turn it on.  (I didn't see the
popup again, so I guess I got lucky and happened to see it during testing or something.)
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=fairfax-online%21201206200848%21politics%2Ceconomics/feed/</wfw:commentRss>
</item>
<item>
<title>Venus Transit: Too Cloudy
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=venus-transit%21201206061240%21astronomy%2Cscience</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=venus-transit%21201206061240%21astronomy%2Cscience#comments</comments>
<pubDate>Wed, 06 Jun 2012 12:40:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>astronomy</category>
<category>science</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=venus-transit%21201206061240%21astronomy%2Cscience/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
It was a washout here, literally.   After a solid week of sunshine and few clouds,
winter decided to hit.  I woke this morning to solid gray ⁸/₈ cloud and rain.
<p>
Five hours later the weather has not changed, so I did not get to see the transit. Such
is life in astronomy.  I did follow along in <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.clearskyinstitute.com/xephem/"
title="XEphem home">xephem</a>, so I had the virtual tour instead.
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=venus-transit%21201206061240%21astronomy%2Cscience/feed/</wfw:commentRss>
</item>
<item>
<title>Google Now Has Formula One Calendar
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=google-f1-calendar%21201206030931%21internet%2Csport</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=google-f1-calendar%21201206030931%21internet%2Csport#comments</comments>
<pubDate>Sun, 03 Jun 2012 09:31:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>internet</category>
<category>sport</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=google-f1-calendar%21201206030931%21internet%2Csport/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
Google has recently introduced a neat feature for F1 fans.  If you type "f1 calendar
2012", instead of getting some links that you then have to look at, you immediately get
a display of the recent race results and the dates of the next few races.
<p>
<img src="http://www.nickcoleman.org/blog/images/google-f1.jpg" alt="Google search
results" title="Google search displays Formula One calendar">
<p>
I especially like that the times of the races are in your local time.  Google has a
reputation of thinking-through a product design, and here it shows.
<p>
Well done, and much appreciated from this F1 follower.
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=google-f1-calendar%21201206030931%21internet%2Csport/feed/</wfw:commentRss>
</item>
<item>
<title>Venus Transit Times in Australia
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=venus-transit-times%21201206021116%21astronomy%2Cscience</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=venus-transit-times%21201206021116%21astronomy%2Cscience#comments</comments>
<pubDate>Sat, 02 Jun 2012 11:16:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>astronomy</category>
<category>science</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=venus-transit-times%21201206021116%21astronomy%2Cscience/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
I <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.nickcoleman.org/blog/index.cgi?post=venus-transit%21201205071109%21astronomy%2Cscience"
title="Previous post on Venus transit">mentioned previously</a> that the last transit of
Venus that any of us will see is in a couple of days on June 6, and I promised I would post the
times to watch around Australia.  Here they are.
<p>
<table>
<tr><th> City </th><th> Start </th><th> Middle </th><th> Finish </th></tr>
<tr><td width="20%">Brisbane</td><td width="20%">8:00</td><td width="20%">11:20</td><td width="20%">14:40</td></tr>
<tr><td width="20%">Sydney</td><td width="20%">8:00</td><td width="20%">11:20</td><td width="20%">14:40</td></tr>
<tr><td width="20%">Melbourne</td><td width="20%">8:00</td><td width="20%">11:20</td><td width="20%">14:40</td></tr>
<tr><td width="20%">Hobart</td><td width="20%">8:00</td><td width="20%">11:20</td><td width="20%">14:40</td></tr>
<tr><td width="20%">Adelaide</td><td width="20%">7:30</td><td width="20%">10:50</td><td width="20%">14:10</td></tr>
<tr><td width="20%">Perth</td><td width="20%">7:15 ¹</td><td width="20%">9:35</td><td width="20%">12:40</td></tr>
<tr><td>¹ <small>sunrise</small></td></tr>
</table>
<p>
The Sun will have only just risen in the southern cities and will still be below the horizon in
Perth when the transit starts, so not ideal viewing there.  Still, the transit will take
roughly 6½ hours so the rest of it will be good.
<p>
Remember safe viewing, folks.  Don't look directly at the Sun.  Punch a pinhole in a
piece of paper and focus the image on a second piece of paper behind.  It is
surprisingly effective.  I watched the 2002 solar eclipse that way.
<p>
<a href="http://www.space.com/15614-sun-observing-safety-tips-infographic.html"> <img 
src="http://www.nickcoleman.org/blog/images/sun-eclipse-viewing-120509b-02.jpg"
alt="Find out how to not go blind when you look at a solar eclipse in this SPACE.com
infographic." width="575" border="1"/></a><br /> Source <a
href="http://www.space.com">SPACE.com: All about our solar system, outer space and
exploration</a> 
<p>
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=venus-transit-times%21201206021116%21astronomy%2Cscience/feed/</wfw:commentRss>
</item>
<item>
<title>Clever use of astronomy and 3D QR code
</title>
<link>http://www.nickcoleman.org/blog/index.cgi?post=qr-3d-code-astronomy%21201205261028%21astronomy%2Ctechnology%2Cinternet</link>
<comments>http://www.nickcoleman.org/blog/index.cgi?post=qr-3d-code-astronomy%21201205261028%21astronomy%2Ctechnology%2Cinternet#comments</comments>
<pubDate>Sat, 26 May 2012 10:28:00 -0700</pubDate>
<dc:creator>Nick</dc:creator>
<category>astronomy</category>
<category>technology</category>
<category>internet</category>
<guid isPermaLink="true">http://www.nickcoleman.org/blog/index.cgi?post=qr-3d-code-astronomy%21201205261028%21astronomy%2Ctechnology%2Cinternet/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[
<p>
This story combines two of my likes: astronomy and technology.  
<p>
I <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.nickcoleman.org/articles/qr-code/"
title="QR Code explained">wrote previously</a> about the QR code on my main site's home
page.  Basically, a QR code is like a bar code expanded into a square. Its advantage is
that is can hold much more information than a bar code and so can be adapted for many
uses other than pricing in the supermarket.
<p>
One of those uses is to hold a web page's URL, which is what my QR code does.  A smart
phone can take a photo of the QR code and then open up a browser with the web page
displayed.
<p>
A retailer in Seoul is using a sculpture to cast shadows that make up a QR code for its
website.  The shadows only generate the correct QR code for the hour after noon, which is the retailer's quiet
time.  A passer-by who accesses the website at that time gets offered discounts and
other incentives.
<p>
The retailer reports traffic has increased by 58% and sales by 25%.  
<p>
Very neat. Read more about it at <a
href="http://www.nickcoleman.org/axs/ax.pl?http://www.springwise.com/retail/seoul-retailer-3d-qr-codes-sun-deliver-discounts-quiet-times/"
title="Springwise story">pringwise.com</a>, and 
<div class="image">
<a href="http://www.nickcoleman.org/axs/ax.pl?http://digitalnerdisms.tumblr.com/post/22263270995/emart-sunny-sale-3d-shadow-qr-code"
title="Digital Nerdism blog entry on QR code">
<img src="http://www.nickcoleman.org/blog/images/3d-qr-code.jpg" alt="Digital Nerdism's photo of QR code" >
</a> <br>click the image to read the story at Digital Nerdism's blog, and
</div>
<div class="image">
<a href="http://www.nickcoleman.org/axs/ax.pl?http://2d-code.co.uk/shadow-qr-code/" title="2d-code's blog entry">
<img src="http://www.nickcoleman.org/blog/images/3d-qr-code-side-view.jpg" alt="Side view of sculpture" >
</a><br>click to read more at 2d-code's blog.
</div>
<p>
The astronomy part comes in because the designer would have had to calculate the Sun's
angle between noon and 1pm for Seoul, and then design the various shapes so that the
shadows are correct.  Because the Sun's altitude at noon changes over the seasons, the
sculpture won't be correct for all times of the year, but presumably the retailer is
running a short-ish campaign.  The sculpture would work fine just by tilting and angling
it slightly throughout the seasons.
]]></content:encoded>
<wfw:commentRss>http://www.nickcoleman.org/blog/index.cgi?post=qr-3d-code-astronomy%21201205261028%21astronomy%2Ctechnology%2Cinternet/feed/</wfw:commentRss>
</item>
</channel>
</rss>
