<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us">
<title>Andy McKay</title>
<link href="http://www.agmweb.ca/blog/andy" rel="alternate"></link>
<link href="http://www.agmweb.ca/blog/rss/latest/andy/" rel="self"></link>
<updated>2013-06-08T10:12:01-07:00</updated>
<id>http://www.agmweb.ca/blog/andy</id>
<author>
<name>Andy McKay</name>
<email>andy@clearwind.ca</email>
</author>

<entry>
<title>Denying PRISM</title>
<link href="http://www.agmweb.ca/2013-06-08-the-problem/"/>
<updated>2013-06-08T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/the-problem</id>
<content type="html">&lt;p&gt;When the &lt;a href=&quot;http://www.guardian.co.uk/world/2013/jun/07/prism-tech-giants-shock-nsa-data-mining&quot;&gt;PRISM scandal broke&lt;/a&gt;,
all the major tech companies were &lt;a href=&quot;http://googleblog.blogspot.ca/2013/06/what.html&quot;&gt;quick to deny it&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;But look at the &lt;a href=&quot;http://www.guardian.co.uk/world/2013/jun/06/nsa-phone-records-verizon-court-order&quot;&gt;Verizon sharing&lt;/a&gt;
court order. The court order states:&lt;/p&gt;

&lt;blockquote&gt;IT IS FURTHER ORDERED that no person shall disclose to any other person that
the FBI or NSA has sought or obtained tangible things under this Order, other than to:
(a) those persons to whom disclosure is necessary to comply with such Order; (b)
an attorney to obtain legal advice or assistance with respect to the production of things
in response to the Order; or (c) other persons as permitted by the Director of the FBI
or the Director's designee.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://www.guardian.co.uk/world/interactive/2013/jun/06/verizon-telephone-data-court-order&quot;&gt;Verizon court order&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;So if Google, Microsoft and so on were under a similar order, they would have to deny it as well. So we can&amp;#39;t believe them.&lt;/p&gt;

&lt;blockquote&gt;People briefed on the discussions spoke on the condition of anonymity because they are prohibited by law from discussing the content of FISA requests or even acknowledging their existence. &lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://www.nytimes.com/2013/06/08/technology/tech-companies-bristling-concede-to-government-surveillance-efforts.html&quot;&gt;NY Times&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;So whats the answer? Don&amp;#39;t work with &lt;a href=&quot;http://www.independent.co.uk/life-style/gadgets-and-tech/news/mps-call-for-government-to-consider-ending-use-of-cloud-amid-concerns-that-us-authorities-can-access-information-8473693.html&quot;&gt;US companies&lt;/a&gt; or store data on &lt;a href=&quot;http://www.out-law.com/en/articles/2013/may/cloud-provider-to-build-uk-data-centre-after-admitting-data-security-concerns-have-hindered-bids-for-government-contracts/&quot;&gt;US servers&lt;/a&gt; for sensitive things. Like say &lt;a href=&quot;http://www.cbc.ca/news/canada/british-columbia/story/2007/07/17/bc-maximus.html&quot;&gt;medical records&lt;/a&gt;. Oh wait.&lt;/p&gt;

&lt;p&gt;This is something I remembered bringing up a long time ago with people. I would much, much, much rather use a &lt;a href=&quot;http://www.cacloud.com/&quot;&gt;Canadian hosting company&lt;/a&gt; than a US one.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Federal vs Provincial</title>
<link href="http://www.agmweb.ca/2013-06-02-federal-vs-provincial/"/>
<updated>2013-06-02T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/federal-vs-provincial</id>
<content type="html">&lt;p&gt;In BC we unfortunately have a
&lt;a href=&quot;http://en.wikipedia.org/wiki/British_Columbia_Liberal_Party&quot;&gt;Liberal government&lt;/a&gt;.
The BC Liberals are officially unconnected with the federal Liberals,
a separation that &lt;a href=&quot;http://www.cbc.ca/canada/bcvotes2009/story/2009/03/23/bcv-bc-liberal-party-profile.html&quot;&gt;occurred in 1987&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;When I talk to people about this, people pretty much always agree with the
statement that the federal and provincial parties are not the same. Wikipedia
calls the BC Liberals a &amp;quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/British_Columbia_Liberal_Party&quot;&gt;conservative and neoliberal&lt;/a&gt;&amp;quot; party and the federal Liberals &amp;quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/Liberal_Party_of_Canada&quot;&gt;generally sits at the centre&lt;/a&gt;&amp;quot;.&lt;/p&gt;

&lt;p&gt;I don&amp;#39;t fit comfortably into any political party, its rare to find a good
independent candidate in a riding. But what is more confusing is when I saw
a tweet like this:&lt;/p&gt;

&lt;blockquote class=&quot;twitter-tweet&quot;&gt;&lt;p&gt;Congrats to my friend and good federal Liberal @&lt;a href=&quot;https://twitter.com/jthornthwaite&quot;&gt;jthornthwaite&lt;/a&gt; on being re-elected the MLA for North Vancouver - Seymour! &lt;a href=&quot;https://twitter.com/search/%23bcelection2013&quot;&gt;#bcelection2013&lt;/a&gt;&lt;/p&gt;&amp;mdash; Taleeb Noormohamed (@Taleeb) &lt;a href=&quot;https://twitter.com/Taleeb/status/334517039215566848&quot;&gt;May 15, 2013&lt;/a&gt;&lt;/blockquote&gt;

&lt;script async src=&quot;//platform.twitter.com/widgets.js&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;

&lt;p&gt;Taleeb was the federal Liberal candidate in my riding and I was annoyed he supported
our local Liberal candidate. Of course, there&amp;#39;s no reason he can&amp;#39;t do that,
it&amp;#39;s just a friendly message. But it still annoyed me, because a politician I
thought was the best choice in federal politics seemed to be aligning himself
with a terrible provincial party that seems to have little correlation with the
federal one.&lt;/p&gt;

&lt;p&gt;And here&amp;#39;s the thing. It&amp;#39;s ok to vote differently for Federal and Provincial parties. Even if they
were the same (which they are not), the issues are very different. The jurisdictions are different,
the issues are different. Federal politics deals with broad swaths of the criminal code and tax,
international relations, the military, overall budget. Provincial has it&amp;#39;s own set of criminal code,
health care provision, education and the like.&lt;/p&gt;

&lt;p&gt;Somehow it seems I&amp;#39;ve allied myself with the
Liberals federally and the NDP provincially. The reasons why are complicated.
As it turns out I didn&amp;#39;t vote for the NDP, because
we had a much better independent candidate in &lt;a href=&quot;https://www.jaimewebbe.com/&quot;&gt;Jamie Webb&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;But don&amp;#39;t tie yourself down - think about the influence the politicians have and the parties independently in the elections. And don&amp;#39;t ask me how the US copes with just two parties all the time, what a bizarre system.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Safe biking</title>
<link href="http://www.agmweb.ca/2013-05-28-bike-week/"/>
<updated>2013-05-28T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/bike-week</id>
<content type="html">&lt;p&gt;This week is bike to work week and there&amp;#39;s lots of coverage on CBC about this. However a lot of the discussion is about how we need to seperate cyclists from cars and I just don&amp;#39;t agree with that situation all the time.&lt;/p&gt;

&lt;p&gt;The main exception is when I&amp;#39;m biking with my kids. Then it&amp;#39;s just fine. We need to be isolated from the cars, otherwise it becomes really scary. But there&amp;#39;s another time I ride and that&amp;#39;s commuting. I commute from Deep Cove to downtown and back again. That&amp;#39;s about 35km a day. I do it in summer and winter, but only a couple of days a week. And here&amp;#39;s the difference. I want to get there fast and a lot of the bike routes are just plain stupid.&lt;/p&gt;

&lt;p&gt;For example, there is no bike lane on Dollarton highway. It&amp;#39;s on the Seymour parkway. Yet even sunny day there are loads of bikers on Dollarton. I take Dollarton. Why? Because the Seymour parkway has lots of &lt;a href=&quot;http://goo.gl/maps/YU4x8&quot;&gt;steep hills&lt;/a&gt; on it. Lots of work for elevation gain which you then lose. No wonder cyclists don&amp;#39;t take it.&lt;/p&gt;

&lt;p&gt;When you get near &lt;a href=&quot;http://goo.gl/maps/BXLCN&quot;&gt;Second Narrows&lt;/a&gt; bridge, you are meant to go on the sidewalk. Then you wait at the pedestrian crossing for cars to stop. Then cross, then go to the traffic light. Then go across, then wind under a pedestrian underpass, slowing for the 90 degree corners and then. Oh I&amp;#39;ve lost interest.&lt;/p&gt;

&lt;p&gt;Or you could do what I do, I&amp;#39;m crusing at about 20km/h, so I go into the same lane as the cars (thats merge left), keep going in a straight line and then merge right. Done.&lt;/p&gt;

&lt;p&gt;And that brings up my next point. The most dangerous times on a bike are trying to undertake a truck on a corner (seriously don&amp;#39;t do that) or when you cross in front of traffic.&lt;/p&gt;

&lt;p&gt;The most dangerous intersection on my ride home is &lt;a href=&quot;http://goo.gl/maps/eYdbD&quot;&gt;here&lt;/a&gt;. You have to cross Hastings Street and be prepared for all the drivers who run the left turn signal, then cross in front of traffic whose main objective is to get onto the highway as fast as possible. You have to really be aware on your bike and make sure they stop for you.&lt;/p&gt;

&lt;p&gt;The same is true on the other side when bikes are meant to go off onto the widened sidewalk. The problem is that widened sidewalk is a death trap of driveways. Continual driveways that cars will come out of quickly, without checking to see if bikes are coming. You have to go slowly around the obscured driveways to be sure cars aren&amp;#39;t coming out. Car drivers will instictively stop at the roadway, blocking the bike route.&lt;/p&gt;

&lt;p&gt;So is the answer more segregated bike routes? Maybe. But think about what&amp;#39;s good for the cyclists, not just what is good for the cars. Because if the bike routes don&amp;#39;t make sense, we won&amp;#39;t use them.&lt;/p&gt;
</content>
</entry>

<entry>
<title>What we rewarded</title>
<link href="http://www.agmweb.ca/2013-05-18-reward/"/>
<updated>2013-05-18T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/reward</id>
<content type="html">&lt;p&gt;On Tuesday, somehow the BC Liberals won the provinical election and another 4 years at running the province of British Columbia. With a depressingly low 52% of people voting the BC voteres effectively endorsed:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A negative campaign style&lt;/strong&gt;. People repeatedly say they dislike negative campaigns, but they work because people vote for them. The Liberals basically announced their platform on then went on the negative against the NDP. They trotted out continual lies and half-truths about the NDP. Things that were discredited by the media. Because they had little campaign platform of their own, other than repeating their failed policies, they had to keep attacking the NDP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A controlling message&lt;/strong&gt;. In order to stay on message and stop people talking about things that might matter to them, they kept the focus on the economy and ridiculous things like LNG. Healthcare and education, for example were hardly discussed. The Liberals would always pull it back to the economy.&lt;/p&gt;

&lt;p&gt;Fear of another party? Is that really how you want a government to be chosen? When we reward this behaviour, we reinforce it. And you&amp;#39;ll see a different campaign from the NDP next time.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Best DjangoCon ever</title>
<link href="http://www.agmweb.ca/2013-05-17-djangoconeu/"/>
<updated>2013-05-17T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/djangoconeu</id>
<content type="html">&lt;p&gt;The last two days I&amp;#39;ve been at DjangoCon Europe. This time it was in Warsaw and to be different, it was in a tent, in a field. And it was awesome. There was a big circus tent, in a grassy field. Surrounding the tent were beach chairs and hammocks or you could just lie in the grass and listen to the talks. There was free beer, food and ice cream.  Seriously, forget stuffy hotels where you don&amp;#39;t see the light of day, this is the way to go. That&amp;#39;s probably the best conference venue I&amp;#39;ve ever seen.&lt;/p&gt;

&lt;p&gt;What impressed me as well was the level of organization from the team. When I arrived in my hotel I found a personalised note reminding me when my talk was, with some vodka, chocolates, a rather dodgy looking hangover cure... and a prepaid data SIM card for my phone. What a nice touch.&lt;/p&gt;

&lt;p&gt;Of course in this environment something could have gone wrong. It could have rained. But what happened instead was that the airport did some construction on a road and two weeks before the conference changed the flightplan at the airport so that planes took off right over the tent. But that became a game, spawned Twitter accounts and life moved on.&lt;/p&gt;

&lt;p&gt;I know how much work a conference takes, &lt;a href=&quot;http://2013.djangocon.eu/team/&quot;&gt;this team&lt;/a&gt; really raised the bar. Great work - thanks Ola, Ola, Kuba, Tomek and Jarek.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://farm8.staticflickr.com/7294/8746074547_15d0704fd6_d.jpg&quot; /&gt;&lt;/p&gt;

&lt;p&gt;..listening to talks in style at DjangoCon EU.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Different World</title>
<link href="http://www.agmweb.ca/2013-05-12-different-world/"/>
<updated>2013-05-12T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/different-world</id>
<content type="html">&lt;p&gt;There&amp;#39;s nothing quite like the Silicon Valley bubble. From the ridiculous salaries and treatment that developers get to the types of problems that people are trying to solve. Like getting limos to drive them around easier (&lt;a href=&quot;https://www.uber.com/&quot;&gt;Uber&lt;/a&gt;) or tacos delivered by drones (&lt;a href=&quot;http://tacocopter.com/&quot;&gt;TacoCopter&lt;/a&gt;). It&amp;#39;s hard to forget that the majority of the world does not live like this.&lt;/p&gt;

&lt;p&gt;Recently I&amp;#39;ve begun following &lt;a href=&quot;http://agirlcalledjack.com/&quot;&gt;Jack Munroe&lt;/a&gt; a mother who while unemployed had to feed herself and her son for £10 a week. Her recipes meals under £1 are great and a help to so many in similar situations. I thought of similar friends in the UK who have issues raising a family. It&amp;#39;s not easy folks.&lt;/p&gt;

&lt;p&gt;Anil Dash recently had a great blog post &amp;quot;&lt;a href=&quot;http://dashes.com/anil/2013/03/ten-tips-guaranteed-to-improve-your-startup-success.html&quot;&gt;Ten tips guaranteed to improve your startup success&lt;/a&gt;&amp;quot;:&lt;/p&gt;

&lt;blockquote&gt;&quot;Be raised with access to clean drinking water and sanitation.&quot;&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;Anil Dash&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;It&amp;#39;s been over 4 years since I went to Kenya with &lt;a href=&quot;http://en.wikipedia.org/wiki/Matt_Berg&quot;&gt;Matt Berg&lt;/a&gt; to help &lt;a href=&quot;http://djangozen.tumblr.com/post/14346820283/django-malnutrition-sms-and-kenya&quot;&gt;fight malaria and malnutrition&lt;/a&gt;. Although that&amp;#39;s probably the smallest amount I&amp;#39;ve ever contributed to a project, it is still the one I&amp;#39;m proudest of. For a brief moment my technology was actually helping real people in clear and obvious ways.&lt;/p&gt;

&lt;p&gt;I have to find a way to do more of this stuff.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Christy Clark on Debt</title>
<link href="http://www.agmweb.ca/2013-04-23-clark/"/>
<updated>2013-04-23T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/clark</id>
<content type="html">&lt;p&gt;My wife isn&amp;#39;t that interested in politics so when she asked if I heard Rick Cluff&amp;#39;s interview on &lt;a href=&quot;http://www.cbc.ca/earlyedition/&quot;&gt;CBC&lt;/a&gt;, I knew I had to listen as Christy Clark peddled her fiscal record. The podcast is &lt;a href=&quot;http://podcast.cbc.ca/mp3/podcasts/bcearlyedition_20130423_17107.mp3&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Christy Clark is using the credit ratings agencies to provide credibility to her platform. The credit ratings agencies. Moody&amp;#39;s? The same company that:&lt;/p&gt;

&lt;blockquote&gt;2009 Moody's issued a report titled &quot;Investor fears over Greek government liquidity misplaced&quot;&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://www.guardian.co.uk/business/2012/feb/15/credit-ratings-agencies-moodys&quot;&gt;Guardian&lt;/cite&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;The same goes for groups such as Enron, Lehman Brothers and AIG. Days before they went bust, Moody's, S&amp;P, and Fitch all still rated these failing companies as safe investments&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://www.guardian.co.uk/business/2012/feb/15/credit-ratings-agencies-moodys&quot;&gt;Guardian&lt;/cite&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The same company that colluded with others to contribute to the recession are the ones the Liberals are tying their credibility too.&lt;/p&gt;

&lt;p&gt;But then she lies about what they say (at 5.15 mark). When specifically pointed out that Christy Clark said that the credit rating of the province will be downgraded if the NDP win. That statement is not in the reports. The CBC read through it and it says:&lt;/p&gt;

&lt;blockquote&gt;&quot;Should fiscal discipline be lost or the provinces debt service ratio increase on more than a temporary basis this could apply pressure to the provinces rating.&quot;&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;Christy Clark reading the report in the interview&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;So it doesn&amp;#39;t say the NDP will cause a downgrade. It says that any increase in debt will apply pressure to credit rating. Well duh. But doesn&amp;#39;t that apply to the Liberals? Sure it does.&lt;/p&gt;

&lt;blockquote&gt;In fact, Moody's gives B.C. a &quot;negative&quot; credit outlook, and blames the province's recent accumulation of debt under the B.C. Liberals.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://www.cbc.ca/news/canada/bcvotes2013/story/2013/04/22/bc-reality-check-clark-moodys.html&quot;&gt;CBC&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;There&amp;#39;s spin, but this is just ridiculous.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Joining Political Parties</title>
<link href="http://www.agmweb.ca/2013-04-22-joining/"/>
<updated>2013-04-22T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/joining</id>
<content type="html">&lt;p&gt;As it turns out I&amp;#39;m not very good at this whole political party thing. But if you were going to join a political party, you might want to read the fine print. For most, you are not allowed to join more than one. Which is annoying, my personal opinions don&amp;#39;t fit nicely into a party. The prospect of being in more than one party could be interesting.&lt;/p&gt;

&lt;p&gt;So I asked the parties why I can&amp;#39;t join more than one and after several months I got a couple of answers by email.&lt;/p&gt;

&lt;blockquote&gt;The reason we ask that you not retain other memberships in other provincial or federal party’s is because as a member of the NDP you may be privy to sensitive information about both donors, member details and election planning.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;BC NDP party&lt;/cite&gt;&lt;/p&gt;

&lt;blockquote&gt;It is a party constitutional requirement.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;BC Liberal party&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;Federally this is also true for the liberals (&lt;a href=&quot;http://convention.liberal.ca/files/2011/12/LPC-2009-Constitution-EN-revised-June-18-2011.pdf&quot;&gt;PDF&lt;/a&gt;), &lt;a href=&quot;https://www.greenparty.ca/civicrm/contribute/transact?reset=1&amp;id=1&amp;source=NC.W.UH&quot;&gt;Green party&lt;/a&gt; and &lt;a href=&quot;https://secure.ndp.ca/membership_declaration.html&quot;&gt;NDP&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;But not for the &lt;a href=&quot;https://secure.conservative.ca/donation.aspx?cmp=ml&amp;lang=en&quot;&gt;federal Conservatives&lt;/a&gt; and &lt;a href=&quot;https://secure.bcconservative.ca/?f=membership&quot;&gt;BC Conservatives&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Apparently the numbers of people actually in political parties are quite small. A similar problem exists in the UK where numbers have been falling over the years. In Canada:&lt;/p&gt;

&lt;blockquote&gt;Of the eight to ten per cent of Canadians who were engaged more robustly in election campaigns, only about 1-2% per cent were consistently active members of a party, placing Canada at the bottom of the list of Western democracies.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://thoughtundermined.com/2011/08/23/on-party-membership/&quot;&gt;On party membership&lt;/cite&gt;&lt;/p&gt;
</content>
</entry>

<entry>
<title>Debt</title>
<link href="http://www.agmweb.ca/2013-04-21-debt/"/>
<updated>2013-04-21T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/debt</id>
<content type="html">&lt;p&gt;&lt;img src=&quot;http://www.agmweb.ca/files/total-bc-debt.png&quot; /&gt;
&lt;img src=&quot;http://www.agmweb.ca/files/bc-debt-gdp.png&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The Liberal government made deficits illegal in 2001:&lt;/p&gt;

&lt;blockquote&gt;&quot;The main estimates for a fiscal year must not contain a forecast of a deficit for that fiscal year.&quot;&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://www.bclaws.ca/EPLibraries/bclaws_new/document/ID/freeside/00_01028_01#section2&quot;&gt;BCLaws.ca&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;Feb. 2 2009, that legislation was amended to allow them.&lt;/p&gt;

&lt;p&gt;On the campaign trail:&lt;/p&gt;

&lt;blockquote&gt;Clark has reiterated during her campaign her pledge to use the revenues from LNG to establish a Prosperity Fund to pay down the provincial debt in 15 years.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;&lt;a href=&quot;http://www.vancouversun.com/news/bc-election/Clark+takes+campaign+heart+region/8263155/story.html&quot;&gt;Vancouver Sun&lt;/a&gt;&lt;/cite&gt;.&lt;/p&gt;

&lt;p&gt;Amount of revenues from LNG sources so far? Zero.&lt;/p&gt;

&lt;p&gt;Yeah, right.&lt;/p&gt;

&lt;p&gt;Sources:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.taxtips.ca/statistics/bcdebt.htm&quot;&gt;Taxtips.ca&lt;/a&gt; which was then imported into a &lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0ApbiPdOYdv9IdHlMZE9DMVNZZWY0X1FFSkF1dzhhOEE&amp;usp=sharing&quot;&gt;Google spreadsheet&lt;/a&gt;.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Elections</title>
<link href="http://www.agmweb.ca/2013-04-16-elections/"/>
<updated>2013-04-16T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/elections</id>
<content type="html">&lt;p&gt;The BC election for 2013 just kicked off today. Of course the real campaign has been happening for ages. Basically the Liberals gave up on being a government months ago, &lt;a href=&quot;http://www.agmweb.ca/2012-09-20-come-chat-with-me-christy&quot;&gt;disbanding parliament and just &amp;quot;campaigning&amp;quot;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;But there was a comment today on CBC that annoyed me:&lt;/p&gt;

&lt;blockquote&gt;The election should be a verdict on the last two years&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;Some guy on CBC&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;Of course it won&amp;#39;t, elections do not work like that. Elections are a snapshot of the society at that point. For this election people will take into account the last 20 years of Liberal and NDP governments. And they&amp;#39;ll have to because the parties will continually remind us of them. The list of Liberal screw up is long (debt, BC Rail, HST and so on) and that&amp;#39;s what people will be voting on.&lt;/p&gt;

&lt;p&gt;And each election changes the political landscape, the NDP aren&amp;#39;t anything like they were under Carole James. The Conservatives are sadly facing a resurgence. Fortunately that resurgence will cause a split of the right wing vote. The Green party is sadly not going anywhere in BC. Fortunately that is unlikely to split the left wing vote.&lt;/p&gt;

&lt;p&gt;The Liberals don&amp;#39;t look like they have much chance. And when I vote I&amp;#39;m not taking into account only the record of our current unelected premier over her last two years.&lt;/p&gt;

&lt;p&gt;And... any bets how quickly Christy Clarke will dump politics once she loses?&lt;/p&gt;
</content>
</entry>

<entry>
<title>HTTP status codes</title>
<link href="http://www.agmweb.ca/2013-04-13-http-status-codes/"/>
<updated>2013-04-13T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/http-status-codes</id>
<content type="html">&lt;p&gt;For the &lt;a href=&quot;https://marketplace.firefox.com/&quot;&gt;Firefox Marketplace&lt;/a&gt; we
are building out a REST API. We have had one for a while for app submission and it
is now growing to provide an API for fireplace, an app that will go onto
Firefox OS phones.&lt;/p&gt;

&lt;p&gt;When writing a REST API you have an opportunity to be more expressive than just
returning web pages and a few normal statuses like 200, 302, 403 and 500. A HTTP status
can tell the client quickly and succinctly what happened. Most client libraries assume
that a status with a range either means a success or failure. So returning a status
code 202 over 200, will work in pretty much every library and convey more information.&lt;/p&gt;

&lt;p&gt;Some of the HTTP status codes we are using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://httpstatus.es/201&quot;&gt;201 Created&lt;/a&gt;: we have created the new resource (e.g.: app).&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://httpstatus.es/202&quot;&gt;202 Accepted&lt;/a&gt;: we haven&amp;#39;t processed yet, but we will do. Normally this means we&amp;#39;ve pushed the request off to a &lt;a href=&quot;http://www.celeryproject.org/&quot;&gt;Celery&lt;/a&gt; queue.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://httpstatus.es/402&quot;&gt;402 Payment Required&lt;/a&gt;: you tried to install an app without paying for it.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://httpstatus.es/409&quot;&gt;409 Conflict&lt;/a&gt;: this would generate a conflict in the state of the resource. For example you tried to POST something instead of a PUT or PATCH.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://httpstatus.es/429&quot;&gt;429 Too Many Requests&lt;/a&gt;: you&amp;#39;ve made too many requests and we&amp;#39;ve throttled you.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://ttp://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00&quot;&gt;451 Unavailable for Legal Reasons&lt;/a&gt;: the app is unavailable for legal reasons, perhaps due to region or content restrictions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Unfortunately some of these status codes are a little less well defined. For code 451 there are currently at least 3 proposed meanings: &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/gg651019&quot;&gt;something about users mailboxes&lt;/a&gt; and &lt;a href=&quot;https://tools.ietf.org/html/rfc2326#page-42&quot;&gt;something RTSP&lt;/a&gt; along with the &lt;a href=&quot;http://ttp://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00&quot;&gt;legal restriction&lt;/a&gt;. But hopefully users of our API will realise we aren&amp;#39;t using Exchange or RTSP and maybe even &lt;a href=&quot;https://zamboni.readthedocs.org/en/latest/topics/api/submission.html#get--api-v1-apps-app-%28int-id%29|%28string-slug%29-&quot;&gt;read the docs&lt;/a&gt; to find out what this means.&lt;/p&gt;

&lt;p&gt;Using HTTP statuses is simple and descriptive. I like that.&lt;/p&gt;
</content>
</entry>

<entry>
<title>My first Iain Banks book</title>
<link href="http://www.agmweb.ca/2013-04-06-my-first-iain-banks-book/"/>
<updated>2013-04-06T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/my-first-iain-banks-book</id>
<content type="html">&lt;blockquote&gt;Fuck every cause that ends in murder and children crying.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;Iain Banks, Against a Dark Background&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;It was my first job out of university and I was working at company in London. A bizarre place as it turned out and a job I didn&amp;#39;t really enjoy much. It seemed to have some great people and some rather more eccentric ones. I did enjoy that I&amp;#39;d landed in the coolest department of all, my boss was a laid back guy who was obsessed with music, sports and popular culture. Unfortunately I&amp;#39;ve never been able to talk about sports, especially the most recent exploits of his football team, Chelsea.&lt;/p&gt;

&lt;p&gt;One day I lamented that I&amp;#39;d run out of books to read and asked for suggestions. Within moments I had a copy of &lt;em&gt;Complicity&lt;/em&gt; in my hands.&lt;/p&gt;

&lt;p&gt;The book showed me what was to become a trait of Iain Banks. Well paced, witty, intelligent, thoughtful and completely impossible to put down. I tore through Complicity in a matter of days. I recommended it to anyone who&amp;#39;d listen.&lt;/p&gt;

&lt;p&gt;Being a science fiction fan I quickly moved onto his Culture work. I was soon working my way through &lt;em&gt;Consider Phlebas&lt;/em&gt;, &lt;em&gt;Use of Weapons&lt;/em&gt; and his old works. The Culture series highlighted his focus on powerful vision of humanities future and present.&lt;/p&gt;

&lt;blockquote&gt;You need to read more science fiction. Nobody who reads science fiction comes out with this crap about the end of history.&lt;/blockquote&gt;

&lt;p&gt;&lt;cite&gt;Iain Banks&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;Later I got introduced by the same people to &lt;a href=&quot;http://en.wikipedia.org/wiki/Douglas_Coupland&quot;&gt;Douglas Coupland&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Colin_Bateman&quot;&gt;Colin Bateman&lt;/a&gt;. I couldn&amp;#39;t talk about sports or music too much with my boss. But we talked about books all the time.&lt;/p&gt;

&lt;p&gt;It&amp;#39;s now 18 years later and &lt;a href=&quot;http://en.wikipedia.org/wiki/Iain_Banks&quot;&gt;Iain Banks&lt;/a&gt; is dying. I&amp;#39;ve read every Iain Banks book since and my book shelf is full of them.&lt;/p&gt;

&lt;p&gt;His last announcement matched his writing. To the point, dry humour and lack of self-pity.&lt;/p&gt;

&lt;p&gt;I hope the time he has left is well spent.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Blog ported to Jekyll</title>
<link href="http://www.agmweb.ca/2013-04-05-jekyll/"/>
<updated>2013-04-05T00:00:00-07:00</updated>
<id>http://www.agmweb.ca/jekyll</id>
<content type="html">&lt;p&gt;All the URLs will change and I&amp;#39;ll probably spam a whole pile of RSS readers
and twitter feeds. Sorry about that.&lt;/p&gt;
</content>
</entry>

</feed>
