<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Donald Jenkins</title>
	<atom:link href="http://donaldjenkins.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://donaldjenkins.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:51:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title><![CDATA[∞ More serious than I thought: What actually changed in Google&#8217;s Privacy Policy]]></title>
		<link><![CDATA[https://www.eff.org/deeplinks/2012/02/what-actually-changed-google%27s-privacy-policy]]></link>
		<comments>http://donaldjenkins.com/2012/02/more-serious-than-i-thought-what-actually-changed-in-googles-privacy-policy/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 05:30:48 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Duck Duck Go]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2616</guid>
		<description><![CDATA[<blockquote>
  <ol>
<li>Up until March 1, 2012, the data Google collected on you when you used YouTube was carefully cabined away from your other Google products. So, in effect, Google could use data they collected on YouTube to improve and customize the users&#8217; YouTube experience, but couldn&#8217;t use the data to customize and improve user experience on, say, Google+.</li>
<li>The same siloing took place for your search history. Previously, Google search data was kept separate from other products. Even when users were logged in, Google promised not to share the information they gathered about you from your Google search history when customizing their other products. Considering how uniquely sensitive user search history can be (indicating vital facts about your location, interests, age, sexual orientation, religion, health concerns, and much more), this was an important privacy protection.</li>
</ol>
</blockquote>

<p class="quotation-source">(<em>Electronic Frontier Foundation</em>, <a href="https://www.eff.org/deeplinks/2012/02/what-actually-changed-google%27s-privacy-policy">What Actually Changed in Google&#8217;s Privacy Policy</a>)</p>

<p>It looks like the new Google privacy policy does make a substantial&#8212;<em>and very detrimental</em>&#8212;change: it took questions from Congress and this belated EFF article for me to realise the extent to which Google&#8217;s invasion of its users&#8217; privacy has just got substantially worse.  I now use Duck Duck Go, combined with the <code>!g</code> <a href="https://duckduckgo.com/bang.html">bang</a> added to the search, to search Google securely and anonymously, without being tracked, even if I'm actually logged in.</p><p><a href="http://donaldjenkins.com/2012/02/more-serious-than-i-thought-what-actually-changed-in-googles-privacy-policy/" rel="bookmark" title="Permanent link to 'More serious than I thought: What actually changed in Google&rsquo;s Privacy Policy'" class="glyph">∞</a></p>
]]></description>
			<content:encoded><![CDATA[<blockquote>
  <ol>
<li>Up until March 1, 2012, the data Google collected on you when you used YouTube was carefully cabined away from your other Google products. So, in effect, Google could use data they collected on YouTube to improve and customize the users&rsquo; YouTube experience, but couldn&rsquo;t use the data to customize and improve user experience on, say, Google+.</li>
<li>The same siloing took place for your search history. Previously, Google search data was kept separate from other products. Even when users were logged in, Google promised not to share the information they gathered about you from your Google search history when customizing their other products. Considering how uniquely sensitive user search history can be (indicating vital facts about your location, interests, age, sexual orientation, religion, health concerns, and much more), this was an important privacy protection.</li>
</ol>
</blockquote>

<p class="quotation-source">(<em>Electronic Frontier Foundation</em>, <a href="https://www.eff.org/deeplinks/2012/02/what-actually-changed-google%27s-privacy-policy">What Actually Changed in Google&rsquo;s Privacy Policy</a>)</p>

<p>It looks like the new Google privacy policy does make a substantial&mdash;<em>and very detrimental</em>&mdash;change: it took questions from Congress and this belated EFF article for me to realise the extent to which Google&rsquo;s invasion of its users&rsquo; privacy has just got substantially worse.  I now use Duck Duck Go, combined with the <code>!g</code> <a href="https://duckduckgo.com/bang.html">bang</a> added to the search, to search Google securely and anonymously, without being tracked, even if I'm actually logged in.</p><p><a href="http://donaldjenkins.com/2012/02/more-serious-than-i-thought-what-actually-changed-in-googles-privacy-policy/" rel="bookmark" title="Permanent link to 'More serious than I thought: What actually changed in Google&rsquo;s Privacy Policy'" class="glyph">∞</a></p>
]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2012/02/more-serious-than-i-thought-what-actually-changed-in-googles-privacy-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[∞ Google&#8217;s Search plus your World: perhaps not so evil after all]]></title>
		<link><![CDATA[http://www.readwriteweb.com/archives/its_not_wrong_for_google_to_focus_on_its_own_users.php]]></link>
		<comments>http://donaldjenkins.com/2012/01/googles-search-plus-your-world-perhaps-not-so-evil-after-all/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 18:33:35 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2611</guid>
		<description><![CDATA[<blockquote>
  <p>When Google shipped its Search, plus Your World update earlier this month, it turned out better than expected. Google left users the ability to click back and forth between personal and global modes or opt out altogether. [...]</p>

<p>Google does make some effort to identify content from other networks. But some SPYW features only highlight Google+ material, even when other services are more relevant. If Google favors its own product over a better result, users get the short end of the stick. [...] But what about Google+ users? For them, Google+ results are the better result. Arguably, Google should cater to them, as users of its service.</p>
</blockquote>

<p class="quotation-source">(<em>ReadWriteWeb</em>, <a href="http://www.readwriteweb.com/archives/its_not_wrong_for_google_to_focus_on_its_own_users.php">It's Not Wrong for Google to Focus on Its Own Users</a>)</p>

<p>I've been feeling from the beginning that criticism of Google suddenly turning evil, of which <a href="http://www.businessinsider.com/former-googler-google-personal-search-integration-was-a-sad-day-a-turning-point-2012-1">this post</a> is a good example, is misplaced: you can opt out of Google Search, plus Your World; and if you have a Google+ account, it unquestionably makes your search results better.  I've actually found Google Search results have improved very significantly since I <a href="http://donaldjenkins.com/2011/02/alternatives-to-google-search-using-glims-with-blekko-duck-duck-go-or-wolfram-alpha-in-safari/">complained about them</a> just under a year ago.</p><p><a href="http://donaldjenkins.com/2012/01/googles-search-plus-your-world-perhaps-not-so-evil-after-all/" rel="bookmark" title="Permanent link to 'Google&#8217;s Search plus your World: perhaps not so evil after all'" class="glyph">∞</a></p>
]]></description>
			<content:encoded><![CDATA[<blockquote>
  <p>When Google shipped its Search, plus Your World update earlier this month, it turned out better than expected. Google left users the ability to click back and forth between personal and global modes or opt out altogether. [...]</p>

<p>Google does make some effort to identify content from other networks. But some SPYW features only highlight Google+ material, even when other services are more relevant. If Google favors its own product over a better result, users get the short end of the stick. [...] But what about Google+ users? For them, Google+ results are the better result. Arguably, Google should cater to them, as users of its service.</p>
</blockquote>

<p class="quotation-source">(<em>ReadWriteWeb</em>, <a href="http://www.readwriteweb.com/archives/its_not_wrong_for_google_to_focus_on_its_own_users.php">It's Not Wrong for Google to Focus on Its Own Users</a>)</p>

<p>I've been feeling from the beginning that criticism of Google suddenly turning evil, of which <a href="http://www.businessinsider.com/former-googler-google-personal-search-integration-was-a-sad-day-a-turning-point-2012-1">this post</a> is a good example, is misplaced: you can opt out of Google Search, plus Your World; and if you have a Google+ account, it unquestionably makes your search results better.  I've actually found Google Search results have improved very significantly since I <a href="http://donaldjenkins.com/2011/02/alternatives-to-google-search-using-glims-with-blekko-duck-duck-go-or-wolfram-alpha-in-safari/">complained about them</a> just under a year ago.</p><p><a href="http://donaldjenkins.com/2012/01/googles-search-plus-your-world-perhaps-not-so-evil-after-all/" rel="bookmark" title="Permanent link to 'Google&#8217;s Search plus your World: perhaps not so evil after all'" class="glyph">∞</a></p>
]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2012/01/googles-search-plus-your-world-perhaps-not-so-evil-after-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Megaupload: the crucial distinction between libertarianism and anarchy</title>
		<link>http://donaldjenkins.com/2012/01/megaupload-the-crucial-distinction-between-libertarianism-and-anarchy/</link>
		<comments>http://donaldjenkins.com/2012/01/megaupload-the-crucial-distinction-between-libertarianism-and-anarchy/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 13:35:56 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Non-Tech]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[extradition]]></category>
		<category><![CDATA[law]]></category>
		<category><![CDATA[Megaupload]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2588</guid>
		<description><![CDATA[The Megaupload affair illustrates that additional legislation of the type of that proposed under SOPA and PIPA is hardly necessary to enforce copyright law.  The global, libertarian environment, largely free of government interference, which made the Internet possible is something that must be preserved. But the existing body of US legislation and case law (Fair Use, DMCA, in particular) governing the digital economy meet those standards of fairness and proportionality&#8212;although France's HADOPI does not.  There is a distinction to be made between libertarianism and anarchy&#8212;an environment in which there are no enforceable standards at all, and all that the steps taken this week against Megaupload indicate is that there was sufficient evidence to warrant indicting its alleged founder and two corporations he and his associates control, for engaging in some pretty serious crimes.]]></description>
			<content:encoded><![CDATA[<blockquote>
  <p>No person shall be held to answer for a capital, or otherwise infamous crime, unless on a presentment or indictment of a Grand Jury, except in cases arising in the land or naval forces, or in the Militia, when in actual service in time of War or public danger.</p>
</blockquote>

<p class="quotation-source">(Fifth Amendment to the United States Constitution)</p>

<p>It was of course a mere coincidence that the closure of the Megaupload file locker site, and the arrest of some of its alleged leaders, occurred on the day following <a href="/2012/01/sopa-pipa-acta-ley-sinde-hadopi-no-time-for-complacency/" rel="nofollow">SOPA strike day</a><sup> [<a href="http://donaldjenkins.com/2012/01/megaupload-the-crucial-distinction-between-libertarianism-and-anarchy/#footnote_0_2588" id="identifier_0_2588" class="footnote-link footnote-identifier-link" title="It appears that Herr Dotcom was planning to hold an extravagant birthday party at his New Zealand house on January 21,and that all his associates had travelled to the country to attend it, providing authorities with the opportunity to arrest them all together.">1</a>]</sup>.  It so happened that a fortnight before, on January 5, seven individuals and two corporations &#8211; Megaupload Limited and Vestor Limited &#8211; were <a href="http://www.evernote.com/shard/s1/sh/2d448e10-e24a-439e-b2b1-9be75b76dc3a/fe45eda72a974067e1ee0d674549f601">indicted by a Federal grand jury</a> in the Eastern District of Virginia, and charged with engaging in a racketeering conspiracy, conspiring to commit copyright infringement, conspiring to commit money laundering and two substantive counts of criminal copyright infringement.</p>

<p>What this means is that at least twelve out of twenty-three US citizens, selected from a pool consisting of names culled from various databases, such as national voter lists, motor vehicle license lists and public utilities lists<sup> [<a href="http://donaldjenkins.com/2012/01/megaupload-the-crucial-distinction-between-libertarianism-and-anarchy/#footnote_1_2588" id="identifier_1_2588" class="footnote-link footnote-identifier-link" title="Unlike potential jurors in regular trials, grand jurors are not screened for biases or other improper factors.">2</a>]</sup>, and meeting outside the presence of a judge, decided that there was sufficient evidence to warrant indicting the delightfully-named Herr Kim Dotcom, his business partners and two corporations they control, for engaging in the pretty serious crimes described in the Justice Department&#8217;s press release quoted above.  Those offenses of course go well beyond mere copyright infringement, although this is also alleged to have occurred on a massive scale.</p>

<p>Megaupload is based in Hong Kong, but some of the alleged pirated content was hosted in the US on leased servers in Ashburn, Virginia, which gave US authorities jurisdiction, the indictment said.</p>

<p>That is not to say this ancient institution, which the United States is alone among common-law countries in retaining, provides a foolproof safeguard.  The <a href="http://en.wikipedia.org/wiki/Cato_Institute">Cato Institute</a>, among other recent commentators, <a href="http://www.evernote.com/shard/s1/sh/b246a0a1-f212-45ec-aa40-9be493a5e8a5/7086a3e6b591f200e2f71ccde70c9bd2">pointed out</a> in 2003, at the height of the Bush administration&#8217;s &#8216;war on terrorism&#8217;, that:</p>

<blockquote>
  <p>Like its more famous relative, the trial jury, the grand jury consists of laypeople who are summoned to the courthouse to fulfill a civic duty. However, the work of the grand jury takes place well before any trial. The primary function of the grand jury is to inquire into the commission of crimes within its jurisdiction and then determine whether an indictment should issue against any particular person. But, in sharp contrast to the trial setting, the jurors hear only one side of the story and there is no judge overseeing the process. With no judge or opposing counsel in the room, grand jurors naturally defer to the prosecutor since he is the most knowledgeable official on the scene. Indeed, the single most important fact to appreciate about the grand jury system is that it is the prosecutor who calls the shots and dominates the entire process. The grand jurors have become little more than window dressing.</p>
</blockquote>

<p>This is of course potentially true.  But grand juries are no substitute for criminal proceedings.  They are a necessary preliminary stage for them to be initiated, where a decision is taken, not on actual guilt, but on whether there is a sufficient case to be made for indicting someone in the first place.  Whatever the pressures on them, the role of the grand jury is only to determine <em>probable cause</em>&mdash;not guilt.  And in the case at hand, while I have not of course had access to the evidence presented, I believe it is not unreasonable to plead  that the above gentlemen had, at least, a case to answer.</p>

<p>In addition, since the private individuals named in the case were not physically present in the US at the time of their indictment, it was necessary for the American administration to contact the governments of the countries where they were resident&mdash;in the case of Herr Dotcom and some of his business partners, HM Government in New Zealand&mdash;to obtain their agreement to physically apprehend them, in a scene worthy of a gangster movie (&#8216;It was definitely not as simple as knocking at the front door,&#8217; <a href="http://www.nytimes.com/2012/01/21/technology/founder-of-shuttered-file-sharing-site-sought-limelight.html">said</a> one of the New Zealand police officers involved in the operation).</p>

<p>Because of this circumstance, the US Government will face the additional hurdle of establishing before the New Zealand extradition court that a reasonable case can also be made that the alleged activities of Herr Dotcom and his associates were also illegal under New Zealand law (no proceedings are being instituted against them in New Zealand).  And they are apparently sufficiently rich to afford to defend themselves as vigorously as Wikileaks&#8217;s Mr Julian Assange.</p>

<p>Unless and until they are found guilty in a US court, Herr Dotcom and his associates, will thus be protected by due process and a standard of justice that meets the world&#8217;s highest standards.  The allegations against them are serious ones.  I cannot agree with the Electronic Foundation, which said in a <a href="http://www.evernote.com/shard/s1/sh/3697dbc1-a601-4b19-a6d7-2afbee19ce28/bc33b596031638854b48399ace904780">statement</a> that the arrests set &#8216;a terrifying precedent. If the United States can seize a Dutch citizen in New Zealand over a copyright claim, what is next?&#8217;  There is no equivalent in New Zealand to the controversial <a href="http://en.wikipedia.org/wiki/Extradition_Act_2003">Extradition Act 2003</a>, a pretty scandalous piece of legislation enacted by the Blair government, which allows the US to extradite UK citizens and others for offences committed against US law, even though the alleged offence may have been committed in the UK by a person living and working in the UK<sup> [<a href="http://donaldjenkins.com/2012/01/megaupload-the-crucial-distinction-between-libertarianism-and-anarchy/#footnote_2_2588" id="identifier_2_2588" class="footnote-link footnote-identifier-link" title="The Coalition is considering removing the more controversial aspects of the Blairist extradition legislation.">3</a>]</sup>.  And the allegations against the defendants go well beyond mere copyright violations.</p>

<p>What the Megaupload affair illustrates, therefore, is  that additional legislation of the type of that proposed under SOPA and PIPA is hardly necessary to enforce copyright law.  The global, libertarian environment, largely free of government interference, which made the Internet possible is something that must be preserved, and attempts to curtail it, whether they come from members of the US Congress, the French President&#8217;s wife, or a weak Spanish government, need to be resisted.  But there is a distinction to be made between libertarianism and anarchy&mdash;an environment in which there are no enforceable standards at all.  Freedom and creativity aren&#8217;t protected when there aren&#8217;t any rules at all or when those on the statute book can all be flouted despite being proportionate and reasonable.</p>

<p>I believe the existing body of US legislation and case law governing the digital economy to meet those standards of fairness and proportionality.  This site, which is governed by New York law, strictly conforms with these standards, sharing its content via a <a href="/legal/license/" rel="nofollow">Creative Commons License</a>, while affirming its copyright on the underlying computer code.  Any citations made are done under the well-established practice of <a href="http://en.wikipedia.org/wiki/Fair_use">Fair Use</a> legal, non-licensed citation or incorporation of copyrighted material. Any incidence to the contrary can be reported on the site&#8217;s <a href="/legal/dmca/" rel="nofollow">DMCA page</a>.  It&#8217;s possible for every actor of the Internet operating in the United States to operate freely under the same provisions.  I believe that environment offers the right balance between the insane repression sought by the entertainment industry that was temporarily ended in the US on Wednesday&mdash;and will, one hopes, <a href="http://www.evernote.com/shard/s1/sh/e7a4ccc4-2011-4c3d-b937-e99fb9efd45f/41d090918e66da1111fc0f5eee5b799e">be ended in France</a> later this year after the Presidential elections&mdash;and the lawless one on which Herr Dotcom and his associates are alleged to have thrived. I&#8217;m certain they will get more than a fair hearing, and wish them good luck for the future: the clothes, swagger, helicopter and the panic room certainly provided entertainment to the world&mdash;surely a mitigating circumstance that the Motion Picture Association of America will fully appreciate.</p>_______________
<ol class="footnotes"><li id="footnote_0_2588" class="footnote">It <a href="http://tvnz.co.nz/national-news/dotcom-happy-in-spotlight-4695303">appears</a> that Herr Dotcom was planning to hold an extravagant birthday party at his New Zealand house on January 21,and that all his associates had travelled to the country to attend it, providing authorities with the opportunity to arrest them all together.</li><li id="footnote_1_2588" class="footnote">Unlike potential jurors in regular trials, grand jurors are not screened for biases or other improper factors.</li><li id="footnote_2_2588" class="footnote">The Coalition is considering removing the more controversial aspects of the Blairist extradition legislation.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2012/01/megaupload-the-crucial-distinction-between-libertarianism-and-anarchy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOPA, PIPA, ACTA, Ley Sinde, HADOPI: no time for complacency</title>
		<link>http://donaldjenkins.com/2012/01/sopa-pipa-acta-ley-sinde-hadopi-no-time-for-complacency/</link>
		<comments>http://donaldjenkins.com/2012/01/sopa-pipa-acta-ley-sinde-hadopi-no-time-for-complacency/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 00:56:30 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Non-Tech]]></category>
		<category><![CDATA[blackout]]></category>
		<category><![CDATA[HADOPI]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Obama]]></category>
		<category><![CDATA[PIPA]]></category>
		<category><![CDATA[Sarkozy]]></category>
		<category><![CDATA[SOPA]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2563</guid>
		<description><![CDATA[Ultimately, the issue behind yesterday's successful SOPA strike is this: the emergence of the Internet has made the business model on which the entertainment industry made billions of dollars for years obsolete—and it is prepared to destroy it to postpone the consequences for as long as possible.  Yet censorship, in any circumstances, should be available only as a last resort, as part of a proportionate procedure and subject to due process—a basic principle incompatible with delegating it to a private entity. Rarely has a battle of titans implied such high stakes: in the fifteen years or so since it became ubiquitous, the Internet has empowered individual citizens in an unprecedented way, giving them instantaneous access to a range and depth of information in a hitherto unthinkable manner.  Yesterday&#8217;s blackout went long way to demonstrating that new-won freedoms can never be taken for granted, even in the world&#8217;s richest nations and greatest democracies. Yet SOPA and PIPA&#8217;s sponsored have not laid down their arms.]]></description>
			<content:encoded><![CDATA[<p>In common with many other equally iconic sites, donaldjenkins.com was taken down yesterday as a warning of what might happen to many perfectly legitimate websites if proposed legislation currently before the House of Representatives and the Senate were to reach the American statute book: public awareness of the dangers induced by <a href="http://en.wikipedia.org/wiki/Stop_Online_Piracy_Act">SOPA</a> and <a href="http://en.wikipedia.org/wiki/PROTECT_IP_Act">PIPA</a>, which has been woefully low to date, will perhaps be increased when users find their favourite sites, such as this blog or Wikepedia, are not available and they realise that freedom of expression online is not something that can be taken for granted.</p>

<figure class="figure-container" style="width: 580px">
<img src="http://cdn.donaldjenkins.com/media/blog-posts/sopa-what-next-1.jpg" alt="SOPA strike screen" width= "580" height="362" title="SOPA strike screen">
<figcaption>
In common with other major sites such as Wikipedia and Reddit, donaldjenkins.com was blacked out all day on January 18 to warn against the risk of legislation sponsored by the entertainment industry resulting in the silencing of sites such as this one (code forked from a Github version put in the public domain by <a href="http://www.zachstronaut.com">Zachary Johnson</a>.)
</figcaption>
</figure>

<p>Direct censorship involving manipulation of the domain name system which lies at the heart of the Internet is what is normally associated with the world&#8217;s most illiberal regimes—Iran and China foremost among them—not the United States.  Yet that is precisely what SOPA and PIPA are setting out to do:</p>

<figure class="figure-container" style="width: 580px">
    <div class="video-js-box vim-css"> 
        <video id="video-1" class="video-js" width="580" height="326" controls="controls" preload="auto" poster="http://cdn.donaldjenkins.com/media/videos/video-31100268.png">
          <source src="http://cdn.donaldjenkins.com/media/videos/video-31100268.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
          <source src="http://cdn.donaldjenkins.com/media/videos/video-31100268.webm" type='video/webm; codecs="vp8, vorbis"' />
          <source src="http://cdn.donaldjenkins.com/media/videos/video-31100268%20.theora.ogv" type='video/ogg; codecs="theora, vorbis"' />
          <object id="flash_fallback_1" class="vjs-flash-fallback" width="580" height="326" type="application/x-shockwave-flash"
            data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
            <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
            <param name="allowfullscreen" value="true" />
            <param name="flashvars" value='config={"playlist":["http://video-js.zencoder.com/oceans-clip.png", {"url": "http://cloud.donaldjenkins.net/video/video-video-31100268.mp4","autoPlay":false,"autoBuffering":true}]}' />
            <img src="http://cloud.donaldjenkins.net/video/video-video-31100268.png" width="580" height="326" alt="Poster Image"
              title="No video playback capabilities." />
          </object>
        </video>
    </div>
    <figcaption>An excellent video by <a href="http://www.everythingisaremix.info/">Kirby Anderson</a> explaining the issues underlying SOPA and PIPA (reproduced under the terms of a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Attribution-NonCommercial-ShareAlike 3.0 Unported</a> license).</figcaption>
</figure>

<p>The entertainment industry, meanwhile, is defending its fast-melting cash cow by putting forward a fundamentally flawed argument.  The following series of tweets from Mr Rupert Murdoch, the Chairman of News International, whom I have already <a href="/rupert-murdoch-has-been-a-enemy-of-tory-values-all-his-life/" rel="nofollow">discussed</a> in this site, is revealing of the elementary misconception underlying the repressive lobby&#8217;s case.</p>

<p>His initial tweet was in reaction the recent news that the Obama administration was <a href="https://wwws.whitehouse.gov/petition-tool/response/combating-online-piracy-while-protecting-open-and-innovative-internet">distancing itself</a> from the provisions of the SOPA bill as it then stood tabled:</p>

<figure class="figure-container" style="width: 500px">
<img src="http://cdn.donaldjenkins.com/media/blog-posts/sopa-what-next-2.jpg" alt="Rupert Murdoch tweet 1" width= "500" height="152" title="Rupert Murdoch tweet 1"> <br />
</figure>

<p>He then went on to state that he that he considers even aggregating or linking to stories to be piracy:</p>

<figure class="figure-container" style="width: 500px">
<img src="http://cdn.donaldjenkins.com/media/blog-posts/sopa-what-next-3.jpg" alt="Rupert Murdoch tweet 2" width= "500" height="154" title="Rupert Murdoch tweet 2"> <br />
</figure>

<p>Google rapidly <a href="http://news.cnet.com/8301-31001_3-57359506-261/google-calls-murdochs-piracy-allegations-nonsense/">reacted</a>, stating:</p>

<blockquote>
  <p>This is just nonsense. Last year we took down 5 million infringing web pages from our search results and invested more than $60 million in the fight against bad ads… We fight pirates and counterfeiters every day.</p>
</blockquote>

<p>Yet the subtleties of this were lost on Mr Murdoch. In his next tweet, he seemed to equate streaming with links simply <em>appearing</em> in a Google search: </p>

<figure class="figure-container" style="width: 500px">
<img src="http://cdn.donaldjenkins.com/media/blog-posts/sopa-what-next-4.jpg" alt="Rupert Murdoch tweet 3" width= "500" height="158" title="Rupert Murdoch tweet 3"> <br />
</figure>

<p>The issues underlying yesterday&#8217;s SOPA strike are not new, but the blackout, which was fairly widely reported in the press, has brought them to the fore in an unprecedented way.  The tech sector has proved pretty unanimous in its opposition, not just to the detail of the measures contained in SOPA and PIPA, but also to the idea of allowing censorship of the web in <em>any</em> form.</p>

<p>It is often forgotten, however, that the issue is a global one.  As the Electronic Frontier Foundation <a href="https://www.eff.org/deeplinks/2012/01/internet-black-out-day-fires-digital-rights-activism-around-world">points out</a>:</p>

<blockquote>
  <p>SOPA and PIPA are really only the tip of the iceberg. The same forces behind these domestic U.S. laws have continued to both push for other states to pass similar domestic laws, as well as to secretly negotiate international trade agreements that would force signatory nations to conform to the same legal standards. The Anti-Counterfeiting Trade Agreement (ACTA), Trans-Pacific Partnership (TPP), Ley Doring (Mexico), Ley Sinde (Spain), Ley Hadopi (France) are only a few examples.</p>
</blockquote>

<p>Ultimately, the issue is this: the emergence of the Internet has made the business model on which the entertainment industry made billions of dollars for years <a href="http://www.nytimes.com/2008/06/06/opinion/06krugman.html">obsolete</a>—and it is prepared to destroy it to postpone the consequences for as long as possible.  Yet censorship, in any circumstances, should be available only as a last resort, as part of a proportionate procedure and subject to due process—a basic principle incompatible with delegating it to a private entity.</p>

<p>Rarely has a battle of titans implied such high stakes: in the fifteen years or so since it became ubiquitous, the Internet has empowered individual citizens in an unprecedented way, giving them instantaneous access to a range and depth of information in a hitherto unthinkable manner.  Yesterday&#8217;s blackout went long way to demonstrating that new-won freedoms can never be taken for granted, even in the world&#8217;s richest nations and greatest democracies. SOPA and PIPA&#8217;s sponsored have not laid down their arms.  EFF makes the point succinctly:</p>

<blockquote>
  <p>Unfortunately, PIPA and SOPA are still very much alive. <a href="http://www.opencongress.org/wiki/Protect_IP_Act_Senate_whip_count">According to Open Congress</a>, there are still 33 co-sponsors of PIPA. With the Senate bringing PIPA to the floor next week, we cannot expect the content groups to give up without a fight. The entertainment industry is <a href="http://www.politico.com/news/stories/0112/71635.html">already threatening</a> to cut off campaign donations to President Obama’s re-election campaign. Chief lobbyist of the MPAA, Chris Dodd, also <a href="http://blog.mpaa.org/BlogOS/post/2012/01/17/Senator-Dodd-On-Troubling-Developments-of-Blackout-Day-.aspx">lashed out</a> at the blackout yesterday, saying it was a “gimmick,” and even “dangerous.”</p>
</blockquote>

<p>The <a href="http://en.wikipedia.org/wiki/Anti-Counterfeiting_Trade_Agreement">Anti-Counterfeiting Trade Agreement</a> (ACTA) is well on the way to coming into force. The <a href="http://en.wikipedia.org/wiki/Trans-Pacific_Strategic_Economic_Partnership">Trans-Pacific Partnership</a> (TPP), <a href="https://www.eff.org/deeplinks/2012/01/spains-ley-sinde-new-revelations">Ley Sinde</a> (Spain) and <a href="http://en.wikipedia.org/wiki/HADOPI_law">Hadopi</a> (France) are all in force and all, in different ways, directly threaten the Internet as a free, neutral way of communicating&mdash;that should not be compromised neither for mercantile profit nor for political gain.  Should France&#8217;s <a href="/2012/01/what-effect-will-nicolas-sarkozys-blunders-in-tech-and-data-protection-have-on-the-2012-elections/" rel="nofollow">President Sarkozy gain re-election</a> in France&#8217;s presidential elections in May, or should Mr Obama fail to be re-elected at the year end, these pressures can be expected to gain strength.  Now is hardly the time to fall into complacency.</p>]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2012/01/sopa-pipa-acta-ley-sinde-hadopi-no-time-for-complacency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[∞ Why I Hate Android]]></title>
		<link><![CDATA[http://parislemon.com/post/15604811641]]></link>
		<comments>http://donaldjenkins.com/2012/01/why-i-hate-android/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 07:28:11 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2560</guid>
		<description><![CDATA[<blockquote>
  <p>Apple, for all the shit they get for being &#8220;closed&#8221; and &#8220;evil&#8221;, has actually done far more to wrestle control back from the carriers and put it into the hands of consumers. Google set off to help in this goal, then stabbed us all in the back and went the complete other way, to the side of the carriers.</p>
</blockquote>

<p>This <a href="http://parislemon.com/post/15604811641">article</a> by MG Siegler is an absolute must-read: it sums up more clearly than anything I&#8217;ve read in the past two years why Google&#8217;s strategy with Android&#8212;which it had to turn on its head after just a few months because the original one was killed off by the carriers&#8212;is disingenuous in the extreme.</p><p><a href="http://donaldjenkins.com/2012/01/why-i-hate-android/" rel="bookmark" title="Permanent link to 'Why I Hate Android'" class="glyph">∞</a></p>
]]></description>
			<content:encoded><![CDATA[<blockquote>
  <p>Apple, for all the shit they get for being &ldquo;closed&rdquo; and &ldquo;evil&rdquo;, has actually done far more to wrestle control back from the carriers and put it into the hands of consumers. Google set off to help in this goal, then stabbed us all in the back and went the complete other way, to the side of the carriers.</p>
</blockquote>

<p>This <a href="http://parislemon.com/post/15604811641">article</a> by MG Siegler is an absolute must-read: it sums up more clearly than anything I&#8217;ve read in the past two years why Google&#8217;s strategy with Android&mdash;which it had to turn on its head after just a few months because the original one was killed off by the carriers&mdash;is disingenuous in the extreme.</p><p><a href="http://donaldjenkins.com/2012/01/why-i-hate-android/" rel="bookmark" title="Permanent link to 'Why I Hate Android'" class="glyph">∞</a></p>
]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2012/01/why-i-hate-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[∞ Is Google+ messing up the Internet?]]></title>
		<link><![CDATA[http://www.readwriteweb.com/archives/google_is_going_to_mess_up_the_internet.php]]></link>
		<comments>http://donaldjenkins.com/2012/01/is-google-messing-up-the-internet/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 05:33:06 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[social networks]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2553</guid>
		<description><![CDATA[<blockquote>
  <p>[&#8230;] public G+ posts count as websites now, as far as Google search is concerned. Furthermore, Google search now obscures natural Web results whenever possible, giving Google+ results from users' networks instead. And it hit me: True Believers of the Holy + might see this re-shared Google+ post of an almost-unattributed rip of my story instead of the original. Google+ hates the Internet!</p>
</blockquote>

<p>Although I'm not seeing this for my posts yet, I think ReadWriteWeb is right: it's increasingly looking like Google+ is a mess, not just in itself, but also <em>in its implications for Google's core business, search</em>.  Is Google+ messing up the Internet? Looks like it's going in that direction at any rate.</p><p><a href="http://donaldjenkins.com/2012/01/is-google-messing-up-the-internet/" rel="bookmark" title="Permanent link to 'Is Google+ messing up the Internet?'" class="glyph">∞</a></p>
]]></description>
			<content:encoded><![CDATA[<blockquote>
  <p>[&#8230;] public G+ posts count as websites now, as far as Google search is concerned. Furthermore, Google search now obscures natural Web results whenever possible, giving Google+ results from users' networks instead. And it hit me: True Believers of the Holy + might see this re-shared Google+ post of an almost-unattributed rip of my story instead of the original. Google+ hates the Internet!</p>
</blockquote>

<p>Although I'm not seeing this for my posts yet, I think ReadWriteWeb is right: it's increasingly looking like Google+ is a mess, not just in itself, but also <em>in its implications for Google's core business, search</em>.  Is Google+ messing up the Internet? Looks like it's going in that direction at any rate.</p><p><a href="http://donaldjenkins.com/2012/01/is-google-messing-up-the-internet/" rel="bookmark" title="Permanent link to 'Is Google+ messing up the Internet?'" class="glyph">∞</a></p>
]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2012/01/is-google-messing-up-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What effect will Nicolas Sarkozy&#8217;s blunders in tech and data protection have on the 2012 elections?</title>
		<link>http://donaldjenkins.com/2012/01/what-effect-will-nicolas-sarkozys-blunders-in-tech-and-data-protection-have-on-the-2012-elections/</link>
		<comments>http://donaldjenkins.com/2012/01/what-effect-will-nicolas-sarkozys-blunders-in-tech-and-data-protection-have-on-the-2012-elections/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 12:11:31 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Non-Tech]]></category>
		<category><![CDATA[data protection]]></category>
		<category><![CDATA[election]]></category>
		<category><![CDATA[France]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2519</guid>
		<description><![CDATA[The Sarkozy administration has accumulated mistakes in the sensitive areas of tech and data protection since it assumed office in 2007.  As the incumbent can be expected to seek re-election in 2012, these issues will be part of the wider debate during which policy for the next five years will be shaped.  Much is at stake in both areas: data protection has traditionally been a sensitive area in France, for historical reasons; and the Internet has the potential to become a much bigger contributor to economic growth in one of Europe's most deficient and stagnant economies if recent mistakes are reversed.]]></description>
			<content:encoded><![CDATA[<p>Just as it has in the United States, public policy in other countries started focusing on tech in the last ten years or so, after the Internet had become the principal vehicle for accessing and sharing information and the need simultaneously arose for a regulatory framework allowing it to operate optimally.  While in most Western countries the corresponding need has been broadly the same one—balancing the right of free access to information with the need to protect existing rights—the differences have also been astonishing: while in the US, a sophisticated system of individual rights built on top of the Bill of Rights generally, and the First Amendment specifically, managed to shape policy even in the singularly illiberal Bush years, France has had no such tradition: French politics since the Revolution has asserted the right of any government vested by the people with a representative mandate to conduct policy freely in the nation&#8217;s best interests.  The result has been that a doctrine such as <a href="http://en.wikipedia.org/wiki/Fair_use">fair use</a>, or a relatively balanced piece of legislation such as the <a href="http://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act">Digital Millennium Copyright Act</a>, have no equivalent in France, where the letter and spirit of pre-digital copyright legislation continues to govern relationships between actors in the digital age<sup> [<a href="http://donaldjenkins.com/2012/01/what-effect-will-nicolas-sarkozys-blunders-in-tech-and-data-protection-have-on-the-2012-elections/#footnote_0_2519" id="identifier_0_2519" class="footnote-link footnote-identifier-link" title="Incredible as it may seem, copyright in France continues to be governed essentially by legislation enacted in 1957.">1</a>]</sup>.</p>

<p>When looking at these issues, one must also remember that France&#8217;s Constitution puts the President of the Republic at the apex of its institutional system—and while <a href="/2010/02/wither-frances-institutions-the-tragic-and-unlamented-end-of-a-thirty-year-golden-age" rel="nofollow">that principle has been considerably diluted</a> since General de Gaulle created the function, next year&#8217;s presidential election, together with the attendant National Assembly general election due one month later, will determine the essential direction the country will take for the following five years.</p>

<h3 id="publicpolicycontinuestoplayagreaterroleinfrancethaninothercountries:the2012presidentialelectionswillbeamajorwatershedinanumberofissues">Public policy continues to play a greater role in France than in other countries: the 2012 presidential elections will be a major watershed in a number of issues</h3>

<p>M Sarkozy can be expected to seek re-election to the office entrusted to him in 2007 and, unless something unexpected happens, the second ballot in May will offer the French people a choice between the outgoing incumbent and <a href="http://en.wikipedia.org/wiki/François_Hollande">M Hollande</a>, the moderate, liberal-leaning candidate designated by the Opposition Socialist Party in a nationwide primary last autumn.</p>

<p>In most other countries, public policy tends to focus exclusively on economic or foreign-policy issues, but this is unlikely to be the case in France.  Debate so far in the French press has mainly covered the two candidates&#8217; personalities and their precise proposals for dealing with the rather dire situation in which the once proud French economy is left, after five years of M Sarkozy&#8217;s administration, goes curiously unmentioned.  Even more curiously, to non-French eyes, will be the place traditionally accorded to cultural policy and, in recent years, to tech-related issues, by the media when covering French politics.  It&#8217;s a subject I&#8217;ve <a href="/2010/03/does-french-tech-have-any-future-at-all" rel="nofollow">covered before</a> and, all in all, an important one both in a French and an international context.</p>

<h3 id="msarkozyandtherulingumppartyhaveadoptedasingularlyilliberalstanceontheinternetandontech">M Sarkozy and the ruling UMP party have adopted a singularly illiberal stance on the Internet and on tech</h3>

<p>M Sarkozy&#8217;s campaign for the French Presidency, in 2006-2007, had little to say about the Internet.  He has never shown the slightest interest in information technology and does not use a computer—although he has belatedly realized the damage his total tech illiteracy was doing to his image and now (December 2011) <a href="http://www.numerama.com/magazine/20837-nicolas-sarkozy-se-lance-dans-l-informatique-et-choisit-un-ipad.html">claims to be using an iPad</a>.</p>

<p>His presidency, however, has been marked by an unprecedented onslaught on the tech sector, instituted largely in a <a href="/search-results/?cx=016991144950118867704%3Alu94gqfrzzm&amp;cof=FORID%3A11&amp;ie=UTF-8&amp;q=hadopi" rel="nofollow">desperate attempt</a> to shore up the entertainment industry, to which M Sarkozy, his pop-singer third wife, Culture Minister Frédéric Mitterrand (a former television chat-show director) and the UMP party are all extremely close, via the HADOPI three-strikes and you&#8217;re out law adopted in 2009.</p>

<p>Despite the determination with which the Sarkozy administration has attempted to police the Internet, its actions were <a href="/2009/06/frances-hadopi-ignominy-its-all-the-fault-of-ageing-may-1968-trendies-with-no-understanding-of-what-culture-is-all-about" rel="nofollow">totally ineffective</a>, as the measures it enacted proved impossible to enforce from the start, a fact that was widely pointed out and led to pretty universal ridicule.  The government&#8217;s utter ignorance about even the most elementary technical facts underpinning how the Internet works included, famously, a long-held delusion that <a href="http://www.numerama.com/magazine/17880-hadopi-jacques-toubon-croit-toujours-que-le-streaming-peut-etre-controle.html">illegal streaming can be effectively policed</a>.</p>

<p>M Sarkozy, who never shies away from a policy <em>volte-face</em> if he perceives it to be in his interest, famously expressed doubts about his HADOPI brainchild in April this year:</p>

<blockquote lang="fr">
  <p>Je prends d&#8217;ailleurs ma part de l&#8217;erreur. (&#8230;) L&#8217;intuition que j&#8217;avais, c&#8217;est qu&#8217;on ne pouvait pas (abandonner) les créateurs. Peut-être que la maladresse a été de donner le sentiment que vous étiez attaqués.<sup> [<a href="http://donaldjenkins.com/2012/01/what-effect-will-nicolas-sarkozys-blunders-in-tech-and-data-protection-have-on-the-2012-elections/#footnote_1_2519" id="identifier_1_2519" class="footnote-link footnote-identifier-link" title="I&amp;#8217;m quite prepared to admit it: I was party to the mistake [&amp;#8230;] My intuition was that we couldn&amp;#8217;t leave creators on the wayside.  It may have been wrong to give the impression that you were being targeted.">2</a>]</sup></p>
</blockquote>

<p class="quotation-source">(M Sarkozy at the <i>Conseil national du numérique</i>, <a href="http://www.lemonde.fr/technologies/article/2011/04/27/hadopi-nicolas-sarkozy-fait-son-autocritique_1513573_651865.html"><i>Le Monde</i></a>, April 27, 2011)</p>

<p>The President&#8217;s office, however, swiftly issued a <a href="http://www.evernote.com/shard/s1/sh/0371b3ec-0559-4426-8c1d-27687c078cad/94facb4f72d22aa8a47ad863165c353a">press release</a> retracting those comments and his administration has since stuck to its previous uncompromising stance on the issue: in November 2011, he <a href="http://www.evernote.com/shard/s1/sh/96388edb-3d5d-4875-b8ff-7f0cef5d6dec/81878800a08058d48bbb8b100fe46f95">announced</a> the government&#8217;s intention to tax ISPs to finance a new National Music Centre and his desire to extend the existing anti-piracy provisions to streaming.</p>

<h3 id="thecurrentfrenchadministrationsrepressivestancehasnotbeenconfinedtopolicingtheinternetextendingtotodataprotection">The current French administration&#8217;s repressive stance has not been confined to policing the Internet, extending to to data protection</h3>

<p>The Sarkozy administration has also been prepared to scale back significantly the protections enshrined in France&#8217;s 1978 <a href="https://www.evernote.com/shard/s1/sh/ecf668fd-dd37-46bb-9d05-af2d996accd2/5b68804548f1037e998674d32da94422/res/75b55e99-4110-4468-b697-a27329a33afa/Act78-17VA.pdf">Data Protection Act</a>.</p>

<p>It is now forgotten that there was an earlier attempt, <a href="http://bugbrother.blog.lemonde.fr/2010/12/23/safari-et-la-nouvelle-chasse-aux-francais/">called SAFARI</a>, by a French government to create a centralized database of personal data. On March 21, 1974, an article in the newspaper <em>Le Monde</em>, &#8220;SAFARI ou la chasse aux Français&#8221; (SAFARI; or, Hunting Frenchmen) brought public attention to the project.  France&#8217;s data protection watch dog, <a href="http://en.wikipedia.org/wiki/CNIL">CNIL</a>, was instituted following the scandal this created and as a result of which it was given extensive powers to enforce individual citizens&#8217; rights of access and privacy—at subject still extremely sensitive at that time, given the Vichy régime&#8217;s 1941 attempt to set up a centralized nationwide file detailing, among other things, individual citizens&#8217; religious and political affiliations.  This database was then used by the collaborationist police to arrest and deport thousands of French and foreign Jews.  A <a href="https://www.evernote.com/shard/s1/sh/af74cd96-890d-44da-b9ba-51d3852a062c/4a447f88ecda991e6b4593351f87a7c9/res/dfe2e2a4-5037-40f7-8072-d4c5e04ec023/Joinet+report.pdf">report</a> by M Joinet, its first director in 1978-1981, which was circulated by CNIL just two years prior to M Sarkozy&#8217;s election shows how sensitive the subject remained until that time.</p>

<p>The Sarkozy government, on the other hand, has felt constrained by no such scruples.  Immediately on gaining office, it embarked on creating a series of databases recording an astonishingly wide range of information about private individuals, in most cases people without criminal records.</p>

<p>In July 2008, the Sarkozy government created a database called <a href="http://fr.wikipedia.org/wiki/EDVIGE_(fichier)">Edvige</a>, which on investigation turned out to be so injurious to civil liberties (the government was, for instance, empowered to included anyone&#8217;s political affiliation or sexual preference in it, even on the basis of hearsay) that the Prime Minister was compelled to descend it altogether the following November; it was replaced with a database from which the most objectionable aspects had been removed.</p>

<p>The French government recently went a step further in the same direction when a <a href="http://www.evernote.com/shard/s1/sh/e94dcda0-87fa-4f52-a805-ba7367235c95/56d001e1f4d41965c7ac2cd96c338ae1">bill</a> was adopted by the National Assembly at the government&#8217;s request, aimed at creating a <i><a href="http://owni.fr/2011/07/05/carte-identite-biometrique-fichage-generalise-gens-honnetes/">fichier des gens honnêtes</a></i> (a database of honest people).  The Sarkozy administration is thus embarking on the same path as the Bush administration with the Patriot Act, and the Blair government with its compulsory identity card scheme—since withdrawn by the present Coalition government).  A recent <a href="http://owni.fr/2011/12/22/lobbying-pour-ficher-les-bons-francais/">article</a> on French investigation site OWNI goes into some of the possible reasons for M Sarkozy&#8217;s relentless drive to keep track of every detail of his compatriots lives.</p>

<p>All in all, thus, M Sarkozy&#8217;s obsessive intrusion into individual citizens&#8217; privacy in the name of copyright protection or terrorist prevention has unquestionably exposed him to both anger and ridicule—given the technically inept way in which it has been carried out.  The same can be said of the half-baked attempt to set up a government data base, <a href="http://www.etalab.gouv.fr/">Etalab</a>, of which <a href="http://www.evernote.com/shard/s1/sh/d737f775-5a02-4da2-92b4-c16fea95b84c/6044caa4c572ab0f35073e5c5a6824c2">only 1 per cent is available in an open format</a>, despite initial promises to the contrary.</p>

<h3 id="willthesarkozyadministrationsappallingrecordintechanddataprotectionhaveanyeffectontheforthcomingpresidentialelection">Will the Sarkozy administration&#8217;s appalling record in tech and data protection have any effect on the forthcoming presidential election?</h3>

<p>While M Hollande, the designated opposition candidate, has said little as yet on these subjects, he can expect his support to be significantly boosted by the government&#8217;s repressive stance on tech issues and on data protection.</p>

<p>So far, however, he and his advisers appear to have chosen to say as little as possible on policy issues until the election campaign actually begins—which can be expected to happen in February.  His designated spokesman on tech issues, <a href="http://fleurpellerin.fr/">Madame Fleur Pellerin</a>, a young member of the Court of Auditors, has already begun meeting members of the tech sector—in which resentment of M Sarkozy&#8217;s policies failures is strong—and it can be expected that this will encourage the opposition to express positions that will improve the quality of debate in this area.</p>

<p>Tech and data protection are, of course, only one among many issues likely to be debated in the French presidential election.  Yet this issue matters, arguably more than others: the Internet is one of the main contributors to growth in the US, the UK and a rising number of North European economies.  France lags behind, in sharp and surprising contrast to the leading place it still claimed to to occupy in the technological field as late as the 1960s. OWNI&#8217;s remarkable <a href="http://owni.fr/files/2011/03/internet_impact_chiffres_cles.pdf">report</a> shows that despite all the obstacles the authorities have put in its way, the Internet accounts for c. €30bn in GDP and 1.15 million jobs or 4.2 per cent of the working population. Even more significantly, it accounted for 20 per cent of French GDP growth between 2004 and 2009.  So the Internet unquestionably has the potential to become a much bigger contributor to economic growth in one of Europe&#8217;s most deficient and stagnant economies if recent mistakes are reversed: it can only be hoped that France&#8217;s next government will understand this better than its current one.</p>_______________
<ol class="footnotes"><li id="footnote_0_2519" class="footnote">Incredible as it may seem, copyright in France continues to be governed essentially by <a href="http://www.evernote.com/shard/s1/sh/e163eea0-7bca-40aa-8942-3f2e7a9b9df3/50e084d9880f7847c3415c3862253608">legislation enacted in 1957</a>.</li><li id="footnote_1_2519" class="footnote">I&#8217;m quite prepared to admit it: I was party to the mistake [&#8230;] My intuition was that we couldn&#8217;t leave creators on the wayside.  It may have been wrong to give the impression that you were being targeted.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2012/01/what-effect-will-nicolas-sarkozys-blunders-in-tech-and-data-protection-have-on-the-2012-elections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching from a (dv) to a (ve) server on Media Temple</title>
		<link>http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/</link>
		<comments>http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 12:06:00 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[Cloudfront]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Media Temple]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2477</guid>
		<description><![CDATA[In this post, I'll explain in detail how I switched my WordPress-powered blog from Media Temple's standard-issue (dv) server to an entirely customized (ve) server.  Beginning with the lean, bare-bones setup with which the (ve) is provisioned, I tweaked things to suit its performance exactly to my needs as a WordPress blogger.  I then separated resource-intensive dynamic content, which I kept on the server, from static content, which I moved to an edge cast CDN.  This resulted in a significant increase in performance, despite the fact that the hardware configurations for the two servers were equivalent.]]></description>
			<content:encoded><![CDATA[<p>After completing the <a href="http://donaldjenkins.com/2011/03/switching-your-wordpress-blog-to-html5-document-outlines-themes-css-and-video/">switch to html5</a>, switching from <code>.net</code> to <code>.com</code>, accompanied by a <a href="http://donaldjenkins.com/2011/12/a-new-domain-for-this-site/">new design</a>, I wanted to update my server configuration, which hadn&#8217;t changed for three years.</p>

<p>In this post, I&#8217;ll recount how I set up my new (ve) server, combining it with one of Media Temple&#8217;s <a href="http://mediatemple.net/webhosting/procdn/">ProCDN</a> accounts so that tasks are clearly apportioned between the two:</p>

<ul class="bullet-list">
<li>the (ve) server will be optimized to do what it&#8217;s best at, i.e. fetching content from the database and building the dynamic content displayed on my WordPress blog;</li>
<li>The CDN will host all static content and serve it extremely efficiently from the closest possible location to the user, which in turn is what it&#8217;s best at.</li>
</ul>

<p>I&#8217;ve been very happily hosted by <a href="http://mediatemple.net/">Media Temple</a> since 2006 and, since 2008, I&#8217;ve been using one of their <a href="http://mediatemple.net/webhosting/dv/">(dv) servers</a>.  I almost invariably get 100 per cent uptime from it, it&#8217;s fast and, of course, when needed Media Temple provide live, 24-hour support 365 days a year: I&#8217;ve always found their experts reliable, very smart and often happy to provide support&mdash;on the rare occasions when I&#8217;ve needed it&mdash;well beyond the bounds of what is required.</p>

<p>Media Temple recently started offering a service called <a href="http://mediatemple.net/sitemover/">SiteMovers</a>&mdash;a team comprising the company&#8217;s sharpest support experts, dedicated to carrying out WordPress site migrations.  I knew I probably didn&#8217;t need help with the migration, but curiosity got the better of me and I contacted the SiteMovers team to ask if they were interested in helping with migrating my <em>very</em> heavily customized WordPress-powered blog.  After just a few minutes the team called back to say they&#8217;d be delighted to do so&mdash;and although I ended up doing most of the migration myself, they provided me with very useful suggestions throughout: the MySQL optimization I set up was entirely the result of their suggestions, and I&#8217;d highly recommend using them for anyone who feels uncomfortable about the process described in this post<sup> [<a href="http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/#footnote_0_2477" id="identifier_0_2477" class="footnote-link footnote-identifier-link" title="SiteMovers costs $150.">1</a>]</sup>.</p>

<p class="sticky-note">Whatever you do, back up all your files before editing, deleting or moving anything.  I cannot be responsible for anything that happens to your setup as this is only an account of what worked for me.  It may not necessarily work for you.</p>

<h3 id="usingacdn">Using a CDN</h3>

<p>It&#8217;s useful to have a <a href="http://www.google.com/search?hl=en&amp;q=what%20is%20a%20content%20delivery%20network">CDN</a> to host your static content so it can be served to your users faster.  This applies particularly to me, with roughly half my readers being in the US, and the other half elsewhere, predominantly in Europe.</p>

<p>Since last year, I&#8217;ve been using <a href="http://donaldjenkins.com/2010/03/improve-your-wordpress-blog-with-marsedit-amazon-cloudfront-and-markdown/">Amazon Cloudfront</a> to provide ridiculously cheap and scalable fast access to certain static resources: images, video, css and javascript files, essentially.  Because Cloudfront doesn&#8217;t support serving gripped content, however, I had to resort to rather <a href="http://stackoverflow.com/questions/5442011/serving-gzipped-css-and-javascript-from-amazon-cloudfront/5502390#5502390">complicated hacks</a> to optimize the rise of the files while still enjoying the benefit of a CDN.</p>

<p>In recent months, I&#8217;ve noticed that Cloudfront wasn&#8217;t actually that quick at delivering the content hosted on it: testing my site using <a href="http://developer.yahoo.com/yslow/">Yslow</a>, <a href="https://developers.google.com/pagespeed/">Google Page Speed</a> and <a href="http://tools.pingdom.com/fpt/">Pingdom</a> showed that objects stored on Cloudfront were those that were loading slowest: moving them back to my Media Temple (dv) server actually resulted in a gain in speed.</p>

<h3 id="myreasonsforswitchingfromdvtoveonmediatemple">My reasons for switching from (dv) to (ve) on Media Temple</h3>

<p>While I wasn&#8217;t unhappy with my (dv) server&#8217;s performance, I knew it was running at a fraction of its potential.  Yet in the (dv) setup, while fine-tuning is possible, because you have full root access, it isn&#8217;t the most convenient thing to do, as the server&#8217;s administration passes through a <a href="http://www.parallels.com/en/products/plesk/">Plesk</a> control panel that is installed by default when the server is configured: and Plesk is one of the most pathetically outdated, bloated and generally dysfunctional pieces of software I have ever handled&mdash;I only really put up with it because I don&#8217;t spend that much time on server maintenance tasks.  But I&#8217;d been taking a close look at the (ve) server that Media Temple started offering last year, which is targeted specifically at users who want more control over their setup.</p>

<p>I knew exactly what I wanted: a lean server running only the OS, software and modules I needed, with no bloat, and my resources allocated in a totally optimal way.</p>

<p>Since I wasn&#8217;t planning to move away from a WordPress environment, I wanted to continue to separate static content from dynamic content, as I had done with the (dv) and Cloudfront.  My choice was to switch all my dynamic content to the (ve) server, and as much as I could of my static content to <a href="http://www.edgecast.com/">Edgecast</a>, which Media Temple has chosen as its CDN partner.</p>

<h3 id="howiswitchedfromdvtove">How I switched from (dv) to (ve)</h3>

<p>Media Temple doesn&#8217;t encourage you to switch to a (ve) unless you know what you&#8217;re doing: they provision it with your choice of Linux OS&mdash;Ubuntu, CentOS, Debian, or Fedora, plus root access.  Then you do the rest. No bloat or anything you don&#8217;t need&mdash;meaning a much more effective server in the end. As Media Temple puts it:</p>

<blockquote>
  <p>(ve) Server is designed for users who have significant experience with Linux, or for those who are interested in learning. Our goal is to give customers complete control of their Virtual Environment, therefore servers are delivered with SSH only. You will control and install all software.</p>
</blockquote>

<p>The process is actually simpler than it sounds.  It involved four stages: (1) basic server configuration; (2) installing <a href="http://duckduckgo.com/LAMP_(software_bundle)">LAMP</a>; (3) tweaking your server and (4) migrating WordPress.  Media Temple has excellent knowledge base guides for each of these.  My comments on how I implemented them follow.</p>

<h3 id="basiclinuxserverconfiguration.">Basic Linux server configuration.</h3>

<p class="sticky-note">Media Temple knowledge base article: <a href="http://wiki.mediatemple.net/w/(ve):Get_started_with_Ubuntu">Getting started with Ubuntu</a></p>

<p>This was perhaps where the advantage of (ve) over (dv) is most apparent.  You can create just one user and give him control over all the essential administration of your server, by giving him the desired permissions and including him in the appropriate group(s).  This takes  a few seconds using the command line, with the command <code>root@ve: adduser jsmith</code> and adding <code>jsmith  ALL=(ALL) ALL</code> at the appropriate place in the <code>/etc/sudoers</code> file (this is detailed in the knowledge base article).  This basically turns the user you&#8217;ve just created into a <a href="http://wiki.linuxquestions.org/wiki/Superuser">superuser</a>, able to carry out most routine administrative tasks.</p>

<p>I found, however, that in addition to this, it&#8217;s useful to decide how you want to organize your permissions, for both groups and individual users: it can make sense to have a single user and group (such as the existing www-data group which is created on setup) to own all resources in <code>/var/www</code>, which is where all the data relating to websites you host on your server will be stored, while leaving the ownership of all other directories unchanged.  You may want to invest a little time in understanding <a href="http://via.dj/t1LebC">Linux directory structure</a> <em>before</em> you take any decisions on this, as it&#8217;s not always ideal having to change your system later on.</p>

<p>It is also well worth following the Media Temple suggestions to secure your server, though these are optional: changing your ssh port, disabling root access and using ip-tables.  I found I needed to add to the <a href="http://i.via.dj/CdrZ">default</a> suggested by Media Temple, however, because of my fondness for using desktop, third-party client for everything: I need to access MySQL remotely from my Mac (my client of choice being the excellent <a href="http://www.sequelpro.com/">Sequel Pro</a>), as well as ssh from <a href="http://www.panic.com/coda/">Coda</a>, which I use for all my coding and file transfers (and which you can also use to safely edit text files<sup> [<a href="http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/#footnote_1_2477" id="identifier_1_2477" class="footnote-link footnote-identifier-link" title="Coda seems to have an issue with setting file permissions, however.  I&amp;#8217;ve take up the matter with Panic, its editor, but as of writing this post, the issue hasn&amp;#8217;t been resolved as far as I know, and I find it safer to set and change permissions via the command line only.">2</a>]</sup> ).  If you install <a href="http://www.webmin.com/">webmin</a>&mdash;and Media Temple provide a knowledge base article for this too&mdash;, you&#8217;ll also need to add <code>-A INPUT -p tcp -m state --state NEW -m tcp --dport 10000 -j ACCEPT</code> to your <code>/etc/iptables.rules</code> file in order to access the webmin interface.</p>

<p>At this point in the migration I found I could gain substantial time by creating <a href="http://smilesoftware.com/TextExpander/">TextExpander</a> shortcuts for my ssh logins, for the webmin URL (<code>https://YOUR_DOMAIN_IP:10000</code>) and for restarting Apache (<code>sudo /etc/init.d/apache2 restart</code>): considering the number of times one needs to type them in, the combination of the command-line and TextExpander shortcuts is a huge time saver (make sure your Mac is secured by a really secure password and <a href="http://en.wikipedia.org/wiki/FileVault">Filevault</a>, if you do this, obviously).</p>

<h3 id="installinglamp">Installing LAMP</h3>

<p class="sticky-note">Media Temple knowledge base article: <a href="http://wiki.mediatemple.net/w/(ve):Install_LAMP_on_Ubuntu_9.10">(ve):Install LAMP on Ubuntu 9.10</a></p>

<p>This, I found, was the most straightforward part of the process: I slavishly followed the Media Temple knowledge base article, adding a file with a <code>&lt;VirtualHost&gt;</code> section for each of my sites in the <code>/etc/apache2/sites-available</code> folder, then creating:</p>

<ul class="bullet-list">
<li>the corresponding paths :</li>
</ul>

<pre><code># sudo mkdir -p /var/www/ve-server{1,2}.com/{html,logs}</code></pre>

<ul class="bullet-list">
<li>files:</li>
</ul>

<pre><code># sudo touch /var/www/ve-server1.com/html/index.html</code></pre>

<ul class="bullet-list">
<li>and content:</li>
</ul>

<pre>
<code># sudo echo -e &#39;&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;Welcome to apache!&lt;/title&gt;\n&lt;/head&gt;\n&lt;body bgcolor=&quot;white&quot; text=&quot;black&quot;&gt;\n&lt;center&gt;&lt;h1&gt;ve-server1.com is working!&lt;/h1&gt;&lt;/center&gt;\n&lt;/body&gt;\n&lt;/html&gt;&#39; &gt; /var/www/ve-server1.com/html/index.html</code>
</pre>

<p>for each site.</p>

<h3 id="tweakingyourserver">Tweaking your server</h3>

<p>This, not surprisingly, is at once the most enjoyable and the most frustrating stage in the process.  Each user will have different requirements, obviously, so my customizations are just one example&mdash;but here&#8217;s what I needed to set up&mdash;not necessarily before I installed WordPress, as I only discovered the issues while I was testing the new install, but I&#8217;m including them here before, for convenience.</p>

<h4 id="makesurecodemod_rewritecodeisenabled">Make sure <code>mod_rewrite</code> is enabled</h4>

<p>Firstly, I found Rewrite is not enabled by default on my server.  As a result, any <code>.htaccess</code> files in my existing WordPress configuration were being ignored and the custom URLs set in my WordPresss were not working<sup> [<a href="http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/#footnote_2_2477" id="identifier_2_2477" class="footnote-link footnote-identifier-link" title="I actually chose to set any Ovverride parameters in the httpd.conf file called by apache2.conf which contains all the default configurations: this has the advantage of being faster, because the server no longer has to check for individual .htaccess files at each level the directory structure, and simpler to maintain because each directory&amp;#8217;s configuration is located in a single, centralized file.">3</a>]</sup>.  All you need to do to solve this is to ensure that <code>mod_rewrite</code> is enabled, as follows:</p>

<pre>
<code># sudo a2enmod rewrite</code>
</pre>

<p>Then restart Apache:</p>

<pre>
<code># sudo /etc/init.d/apache2 restart</code>
</pre>

<h4 id="configuretheserversowordpresscanaccessyourftpcredentials">Configure the server so WordPress can access your FTP credentials</h4>

<p>Secondly, I found that, when I tried to download any plugins, I was unable to update FTP details in the WordPress administration panel, in order to download plugins<sup> [<a href="http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/#footnote_3_2477" id="identifier_3_2477" class="footnote-link footnote-identifier-link" title="In former WordPress editions, you could include FTP credentials in your wp-config.php file, but this no longer works.">4</a>]</sup>: instead I&#8217;d get a <a href="http://i.via.dj/CVeD">error message</a> requesting that I update details&mdash;and the corresponding fields would be frozen and not accept updates.</p>

<p>The reason for this&mdash;which I discovered thanks to <a href="http://envyandroid.com/archives/434/make-wordpress-work-linux">this blog post</a>&mdash;is that in current versions of WordPress, it checks if the userid it is running under, is the same as the owner of the file or folder it tries to edit: the issue arises at line 876 in the method get_filesystem_method in <code>wordpress/wp-admin/includes/file.php</code>:&#8232;<pre>
<code>if ( getmyuid() == @fileowner($temp_file_name) )
$method = 'direct';
@fclose($temp_handle);
@unlink($temp_file_name);</code>
</pre>&#8232;&#8232;As a result, when WordPress is running, its userid is <code>www-data</code>&nbsp;(<code>apache2</code>), but the file owner is <code>smith</code> (or whatever user you have created), so it gives an error.</p>

<p>You can solve this issue by creating an extra entry in your <code>mydomain.com</code> VirtualHosts:80 entry:</p>

<pre>
<code>&lt;IfModule mpm_itk_module&gt;
AssignUserId jsmith www-data
&lt;/IfModule&gt;</code>
</pre>

<h4 id="sendingemail">Sending email</h4>

<p>Servers send email in a variety of ways that you can configure more or less as you like.  In all cases, however, they need to have a <a href="http://en.wikipedia.org/wiki/Message_transfer_agent">Mail Transfer Agent</a> in order to send (and, if desired, receive) mail.</p>

<p><a href="http://en.wikipedia.org/wiki/Sendmail">SendMail</a>, a a general purpose Internet mail routing facility that supports many kinds of mail-transfer and -delivery methods, is installed by default on a (dv) server&mdash;and is what  PHP&#8217;s Mail(http://via.dj/rQmnjq) hooks into to send emails from your contact forms, for instance, unless you&#8217;ve set another MTA in your server.  I found that SendMail hadn&rsquo;t been installed, and that as a result my <a href="http://donaldjenkins.com/contact/">contact form</a> was not working.  Since I only needed to send emails, and was using my Google Apps address as the outgoing mail address, I was actually looking for a lightweight alternative that would only handle sending, but would enable my emails to be routed and authentified via gmail&#8217;s SMTP server, ensuring that they would not get flagged as spam.</p>

<p>I did it in the following way.  First, I installed <a href="https://github.com/ajwans/sSMTP">sSMTP</a> <sup> [<a href="http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/#footnote_4_2477" id="identifier_4_2477" class="footnote-link footnote-identifier-link" title="sSMTP is a program that replaces sendmail on workstations that should send their mail via the departmental mailhub from which they pick up their mail (via pop, imap, rsmtp, pop_fetch, NFS&amp;#8230; or the like).  This program accepts mail and sends it to the mailhub, optionally replacing the domain in the From: line with a different one.">5</a>]</sup> :</p>

<pre>
<code># sudo apt-get install ssmtp</code>
</pre>

<p>Next, I configured sSMTP:</p>

<pre>
<code># cd /etc/ssmtp
# vim /etc/ssmtp/ssmtp.conf</code>
</pre>

<p>Here&#8217;s a possible configuration for sending <em>via</em> gmail&#8217;s SMTP server:</p>

<pre>
<code>MailHub=smtp.gmail.com:587&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    <span class="code-comment"># SMTP server hostname and port</span>
UseTLS=YES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="code-comment"># Gmail requires a secure connection (SSL/TLS)</span>
FromLineOverride=YES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="code-comment"># Force the From: line</span>
Hostname=mail._YOUR_DOMAIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <span class="code-comment"># The name of your host</span>
RewriteDomain=mail._YOUR_DOMAIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <span class="code-comment"># The host the mail appears to be coming from</span>
Root=YOUR_ACCOUNT_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="code-comment"># Redirect mail for root@ to postmaster@</span>
AuthUser=YOUR_ACCOUNT_NAME@gmail.com&nbsp;&nbsp;&nbsp;<span class="code-comment"># Your gmail mail account</span>
AuthPass=YOUR_GMAIL_PASSWORD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="code-comment"># The password for the mail account</span></code>
</pre>

<p>You&#8217;ll want to add some <code>revaliases</code> to <code>/etc/ssmtp/revaliases</code> from which to send email:</p>

<pre>
<code><span class="code-comment"># Format: local_account:outgoing_address:mailhub</span>
root:alerts@YOUR_DOMAIN:smtp.gmail.com:587
Postmaster:alerts@YOUR_DOMAIN:smtp.gmail.com:587
You:YOUR_ACCOUNT_NAME@YOUR_DOMAIN:smtp.gmail.com:587</code>
</pre>

<p>Optionally, you might want to change the &#8216;From&#8217; display name on your outgoing emails: to do this, edit the <code>/etc/passwd</code> and add or modify the appropriate user alias
&nbsp;</p>

<pre>
<code>alerts:Alerts:507:507::/home/alerts:/bin/bash
YOUR_USER_NAME:YOUR_USER_NAME:505:506::/home/YOUR_USER_NAME:/bin/bash
postmaster:POSTMASTER:505:506::/home/postmaster:/bin/bash</code>
</pre>

<p>To ensure sSMTP is used by PHP to send email, you need to edit your <code>php.ini</code> file in <code><code></code>/etc/php5/apache2/php.ini</code>. In your <code>php.ini</code>, find the <code>sendmail_path=</code> line, and edit it to:</p>

<pre>
<code># sendmail_path = /usr/sbin/ssmtp -t</code>
</pre>

<p>PHP requires the -t flag.</p>

<p>Save your <code>php.ini</code> and restart Apache. Your <code>mail()</code> function should now work, using sSMTP.</p>

<p>If you&#8217;re installing sSMTP on a server that <em>does</em> have Sendmail installed, you&#8217;ll additionally need to remove and disable it:</p>

<pre>
<code># service sendmail stop
# sudo chkconfig &#8211;levels 2345 sendmail off</code>
</pre>

<p>You could also move SendMail and create a symbolic link so any processes that are written send mail using SendMail (which many do) use sSMTP instead.</p>

<p>To do this, move or replace the sendmail and then create
a symbolic link for sSMTP to sendmail with authentication:</p>

<pre>
<code># mv /usr/sbin/sendmail/usr/sbin/sendmail.orig
# ln -s /usr/sbin/ssmtp/usr/sbin/sendmail</code>
</pre>

<h3 id="migratingwordpresstothenewserver">Migrating WordPress to the new server</h3>

<h4 id="updatingserverpathreferences">Updating server path references</h4>

<p>This side of things is extremely simple.  You just need to download your theme files and save a copy of your database, and update any paths in them to reflect the (ve) directory structure, which is difference from that in the (dv): the (dv) places your WordPress files in <code>/var/www/vhosts/YOUR_DOMAIN_NAME/httpdocs</code>, whereas the (ve) stores them in <code>/var/www:YOUR_DOMAIN_NAME/html</code>.</p>

<p>There are several ways of doing this: use that which suits you best. Whichever way you choose, of course, make full backups of everything before you change anything<sup> [<a href="http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/#footnote_5_2477" id="identifier_5_2477" class="footnote-link footnote-identifier-link" title="One very reliable WordPress database management utility, which takes the form of a plugin, is WP-Database-Manager, by Lester Chan, which, although it&amp;#8217;s no longer very actively maintained, still works absolutely flawlessly.">6</a>]</sup>  You should also compact and repair your database to keep it lean, and remove any tables that are no longer needed (such as those created by old plugins you&#8217;ve uninstalled).</p>

<p>I ran a search-and-replace on the saved version of my database in <a href="http://itunes.apple.com/us/app/textwrangler/id404010395?mt=12">TextWrangler</a>, a robust code editor for the Mac that can carry out regex operations on even the most gigantic of files.  Then I ran the same operation in <a href="http://www.panic.com/coda/">Coda</a> for the theme files.</p>

<h4 id="installingwordpressonthenewserver">Installing WordPress on the new server</h4>

<p>I made a fresh WordPress install on the new server, reinstalled all my plugins, uploaded the theme files, activated my chosen theme, and added the following to my <code>config.php</code> file:</p>

<pre>
<code><span class="code-comment">//remove this before flipping your DNS</span>
define('WP_HOME','http://YOUR_NEW_IP_ADDRESS');&#8232;define('WP_SITEURL','http://YOUR_NEW_IP_ADDRESS');</code>
</pre>

<h4 id="improvingdatabaseperformancetotakeadvantageoftheveserverspower">Improving database performance to take advantage of the (ve) server&#8217;s power</h4>

<p class="sticky-note">Media Temple knowledge base article: <a href="http://kb.mediatemple.net/questions/70/Using+MySQLTuner#gs">Using MySQLTuner</a></p>

<p>Now&#8217;s the time, if you want to to, to tweak your database settings to take advantage of your customized (ve) server&#8217;s power.  I used mysqltuner.pl, a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability.  Media Temple has a <a href="http://kb.mediatemple.net/questions/70/Using+MySQLTuner#gs">knowledge base article</a> about it, which can be used, appropriately adapted, to your (ve) database. Based on the information it provided, I tuned&nbsp;<code>/etc/mysql/my.cnf</code> to raise several of my MySQL limits to utilize available resources on the server (again, <em>make backups</em> of all files you edit beforehand&mdash;and bear in mind your requirements will probably differ from mine as your WordPress database is unlikely to be identical):</p>

<pre>
<code><span class="code-comment"># * Fine Tuning</span>
#
key_buffer      = 16M
max_allowed_packet  = 16M
thread_stack        = 192K
thread_cache_size       = 64
<span class="code-comment"># This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched</span>
myisam-recover         = BACKUP
max_connections        = 100
wait_timeout           = 60
table_cache            = 128
#thread_concurrency     = 10
#
<span class="code-comment"># * Query Cache Configuration</span>
#
query_cache_type    = 1
query_cache_limit   = 2M
query_cache_size        = 32M
tmp_table_size      = 32M
max_heap_table_size     = 32M 
join_buffer_size    = 32M
key_buffer_size     = 16M</code>
</pre>

<p>I found this induced a noticeable increase in speed in my server.</p>

<h3 id="movingstaticcontenttothecdn">Moving static content to the CDN</h3>

<p class="sticky-note">Media Temple knowledge base article: <a href="http://kb.mediatemple.net/questions/1849/Get+started+with+ProCDN#procdn">Get started with ProCDN</a></p>

<p>The final adjustment was moving all static content (CSS, javascript and images, in my case) to the CDN.  I chose to store CSS and javascript, which are dependent on your WordPress theme, in the traditional place in a subdirectory of the active theme.  Images, however, I decided to store in in a subdirectory of <code>/var/www/YOUR_DOMAIN_NAME/html</code>, since I don&#8217;t use the WordPress media management feature, preferring to keep control of my files.</p>

<p>If you want to take advantage of this feature, you first need to add ProCDN to your Media Temple account, though: it costs $20/month, which in my care comes on top of the $50 monthly charge for my (ve) server.  But I think the speed improvement justifies it.  Setting it up only takes a few minutes and is detailed in a <a href="http://kb.mediatemple.net/questions/1849/Get+started+with+ProCDN#procdn">knowledge base article</a>.  Once you&#8217;ve done this, you&#8217;ll have a super-fast mirror of your site, replicated in Edgecast&#8217;s data centers around the world, ready within the time it takes for the settings to propagate (about an hour after you add the necessary <code>CName</code> to your DNS).  You then need to change any references to static files in your theme to reference the CDN (using, say, <code>cdn.yourdomain.com</code> instead of <code>yourdomain.com</code>, if that is your CName for the CDN), and you&#8217;re ready to go.</p>

<h3 id="flippingthedns">Flipping the DNS</h3>

<p>Once you&#8217;re all set up, the final moment is when you&#8217;re certain your new server is totally functional and you flip the DNS for your web site from the (dv) server to the (ve) server.  This is childishly simple.  Media Temple provides a <a href="http://i.via.dj/Cdok">function</a> in your Account Center which allows you to point your existing DNS zones to the new ip (ip addresses are tied to the particular server cluster on which your domain is hosted at Media Temple, so you&#8217;ll necessarily have to change the ip address associated with your domain when you switch from (dv) to (ve)).  Make sure you lower ythe <a href="http://en.wikipedia.org/wiki/Time_to_live">Time To Live</a> for each of your domains about twelve hours, at least, before you switch, from the default 43,200 seconds to 300 seconds, in the Account Center, and the change in site will propagate within about five minutes of flipping.  You can keep the TTL low for a few hours afterwards, too, so you can flip back if you discover something has gone wrong&mdash;though obviously in extreme cases only.</p>_______________
<ol class="footnotes"><li id="footnote_0_2477" class="footnote">SiteMovers costs $150.</li><li id="footnote_1_2477" class="footnote">Coda seems to have an issue with setting file permissions, however.  I&#8217;ve take up the matter with Panic, its editor, but as of writing this post, the issue hasn&#8217;t been resolved as far as I know, and I find it safer to set and change permissions <em>via</em> the command line only.</li><li id="footnote_2_2477" class="footnote">I actually chose to set any Ovverride parameters in the <code>httpd.conf</code> file called by <code>apache2.conf</code> which contains all the default configurations: this has the advantage of being faster, because the server no longer has to check for individual .htaccess files at each level the directory structure, and simpler to maintain because each directory&#8217;s configuration is located in a single, centralized file.</li><li id="footnote_3_2477" class="footnote">In former WordPress editions, you could include FTP credentials in your <code>wp-config.php</code> file, but this no longer works.</li><li id="footnote_4_2477" class="footnote">sSMTP is a program that replaces sendmail on workstations that should send their mail via the departmental mailhub from which they pick up their mail (via pop, imap, rsmtp, pop_fetch, NFS&#8230; or the like).  This program accepts mail and sends it to the mailhub, optionally replacing the domain in the From: line with a different one.</li><li id="footnote_5_2477" class="footnote">One very reliable WordPress database management utility, which takes the form of a plugin, is <a href="http://lesterchan.net/portfolio/programming/php/#wp-dbmanager">WP-Database-Manager</a>, by Lester Chan, which, although it&#8217;s no longer very actively maintained, still works absolutely flawlessly.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2011/12/switching-from-a-dv-to-a-ve-server-on-media-temple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fine-tuning which parts of your WordPress blog are indexed by Google, without a plugin</title>
		<link>http://donaldjenkins.com/2011/12/fine-tuning-which-parts-of-your-wordpress-blog-are-indexed-by-google-without-a-plugin/</link>
		<comments>http://donaldjenkins.com/2011/12/fine-tuning-which-parts-of-your-wordpress-blog-are-indexed-by-google-without-a-plugin/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 21:26:19 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2454</guid>
		<description><![CDATA[<p>In this post, we&#8217;ll see how to use a combination of simple PHP conditional comments and short Google inline tags to control precisely which content of your site is indexed by Google and appears in searches.  Using this method, it&#8217;s easy&#8212;without using a plugin&#8212;to ensure only your freshest, most relevant content is indexed and that the numerous index pages generated dynamically by WordPress are used for their intended purpose, helping navigation within your site, without cluttering Google&#8217;s index with duplicate content that&#8217;s irrelevant to the subjects treated on each of your actual blog posts.</p>]]></description>
			<content:encoded><![CDATA[<h3 id="theproblemwithwordpresssdynamically-generatedindexpages">The problem with WordPress&#8217;s dynamically-generated index pages</h3>

<p>One of the big drawbacks of WordPress is the incredible number of pages it generates, matching all sorts of combinations including tags, categories, months and years.  While it&#8217;s convenient to have the ability to generate these pages on-the-fly when the corresponding queries are entered, it&#8217;s not always realised that these pages will normally also get indexed by Google in the same way as individual posts and pages.</p>

<p>This matters more than one would spontaneously think, for two reasons:</p>

<ul class="bullet-list">
<li>firstly, it means the index of one&#8217;s site will end up being rather messy, with a lot of duplicate and overlapping content, making it rather difficult for someone who&#8217;s looking for an item to find it;</li>
<li>secondly, that duplicate content has long been one of the factors in Google&#8217;s page-ranking algorithm, and a rather negative one&mdash;if your site&#8217;s cluttered up with pages basically recycling identical content, you&#8217;l be doing your page rank no favors.</li>
</ul>

<h3 id="thedrawbacksofplugins">The drawbacks of plugins</h3>

<p>As with everything in WordPress, there are plugins&mdash;plugins for everything under the sun&mdash;that claim to help you solve this issue, and plugins are the best solution for many people.  The trouble with plugins, however, is that by installing them you&#8217;re effectively giving up control of one aspect of your site setup to a third party.  Because a plugin will never be custom built with your needs in mind and because they&#8217;re often written to cater for every possible requirement, you&#8217;ll almost almost always end up with unnecessary bloat.</p>

<p>One of the most irritating things about plugins is the habit they have of hooking in to one&#8217;s html code, inserting inline styles that pollute one&#8217;s code and slow down one&#8217;s loading time.</p>

<p>Because of this, it&#8217;s good practice to regularly run down one&#8217;s list of installed WordPress plugins, and check on which ones can be dispensed with. Simple tasks can usually be accomplished as well, if not better, and certainly more cleanly, by googling the issue and then writing a few lines of your own code, armed with what you have found.</p>

<h3 id="howtouseconditionalstatementsinwordpress">How to use conditional statements in WordPress</h3>

<p>WordPress makes abundant use of PHP conditional statements, which in their most basic form look like this:</p>

<pre><code>&lt;?php&nbsp;if&nbsp;(&nbsp;)&nbsp;{&nbsp;?&gt;......&lt;?php&nbsp;&nbsp;}&nbsp;?&gt;</code></pre>

<p>Using WordPress-specific conditional statements, you can (and probably do in your blog) target certain parts of your site to apply formatting or produce certain events.  Because the site is dynamic and everything is displayed on the fly, the conditional statements fetch information from the database, and display it after applying the conditions stated in the tag. Popular statements include <code>is_page()</code>, <code>is_category()</code>, <code>is_single()</code> and <code>is_page()</code>.  The WordPress Codex provides a <a href="http://i.via.dj/CQmP">full list</a> of conditional tags.</p>

<p>Conditional tags are often misused in WordPress.  Database queries are very resource-intensive and ought to be reserved for content that changes constantly and cannot be known in advance.  Using conditional statements to display your name, for instance, when you&#8217;re the only author on your blog, is a bit absurd, yet occurs quite a lot.  I prefer to hard-code as much of my theme as possible, using html in preference to PHP, which speeds the site up considerably.</p>

<p>PHP, however, comes into its own for one purpose: fine-tuning what HTML gets displayed in your site&#8217;s source code: I use this extensively in my own header, allowing me to call different css and scripts depending on which page is displayed:</p>

<pre>
<code><span class="code-comment">&lt;!-- Stylesheets  --&gt;</span>
&lt;?php
if ( is_front_page() ) :{ ?&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;/home.css&quot; /&gt;&lt;?php }
else :{ ?&gt;&lt;link rel=&quot;stylesheet&quot; /style.css&quot; /&gt;&lt;?php }
endif;
?&gt;</code>
</pre>

<p>With this in your <code>header.php</code> file, you do not even need to have a separate <code>robots.txt</code>

<h3 id="fine-tuningwhichofyourcontentgetsindexedbygoogleusingphpconditionaltags">Fine-tuning which of your content gets indexed by Google using PHP conditional tags</h3>

<p>You can use exactly the same structure to determine which content is indexed by Google: and there&#8217;s certainly no harm in having a <a href="http://en.wikipedia.org/wiki/Robots_exclusion_standard">robots.txt</a> file.  But the trouble with them is that not all robots obey the robots rules: <a href="http://groups.google.com/groups?q=elvey+googlebot">even Google has been reported to ignore certain robots rules</a>.</p>

<pre>
<code><span class="code-comment">&lt;!-- Meta tags --&gt;</span>
&lt;?php if (is_front_page() || is_page(&#39;about&#39;) || is_single() ) :{ ?&gt;
&lt;meta name=&quot;robots&quot; content=&quot;follow,index&quot; /&gt;&lt;?php }
else :{ ?&gt;
&lt;meta name=&quot;robots&quot; content=&quot;noindex, nofollow&quot;&gt;
&lt;?php }
endif;?&gt;</code>
</pre>

<p>The above code will tell robots to index the front page (which WordPress allows you to have as a separate page, like it is in this site), About page and individual blog posts.  Everything else is given a <code>&lt;meta name=&quot;robots&quot; content=&quot;noindex, nofollow&quot;&gt;</code> tag, meaning your duplicate content won&#8217;t be indexed.  Your page rank won&#8217;t be wasted on pages whose purpose is to help internal navigation and not external indexation.  And only your fresh, relevant content will be indexed.</p>

<h3 id="targetingonlypartofeachpagescontentforindexingwithgoogleonandgoogleofftags">Targeting only part of each page&#8217;s content for indexing with googleon and googleoff tags</h3>

<p>But indexing only certain pages may not be enough.  On each page, only part of the content is actually relevant for indexation purposes.  Navigation text, sidebar items about similar posts, tweets, and other tangential (or, to use the html5 phrase, asides) serves no useful purposes being indexed on the same page as an article featuring original content about one subject.  If you let these parts of your blog post pages get indexed, they will show up in searches even though they aren&#8217;t actually relevant to the main article in that page.</p>

<p>An article by <i>Perishable Press</i>, <a href="http://perishablepress.com/press/2009/08/23/tell-google-to-not-index-certain-parts-of-your-page/">Tell Google to Not Index Certain Parts of Your Page</a>, alerted me to the fact that there&#8217;s an accepted way of fine-tuning the content you designate for indexing even within one page: googleon and googleoff tags<sup> [<a href="http://donaldjenkins.com/2011/12/fine-tuning-which-parts-of-your-wordpress-blog-are-indexed-by-google-without-a-plugin/#footnote_0_2454" id="identifier_0_2454" class="footnote-link footnote-identifier-link" title="  There are four types of googleon/googleoff tags: (1) index &amp;mdash; content surrounded by &amp;ldquo;googleoff:&amp;nbsp;index&amp;rdquo; will not be indexed by Google; (2) anchor &amp;mdash; anchor text for any links within a &amp;ldquo;googleoff:&amp;nbsp;anchor&amp;rdquo; area will not be associated with the target page; (3) snippet &amp;mdash; content surrounded by &amp;ldquo;googleoff:&amp;nbsp;snippet&amp;rdquo; will not be used to create snippets for search results; (4) all &amp;mdash; content surrounded by &amp;ldquo;googleoff:&amp;nbsp;all&amp;rdquo; are treated with all attributes: index, anchor, and snippet">1</a>]</sup>.</p>

<pre>
<code>&lt;p&gt;This is normal (X)HTML content that will be indexed by Google.&lt;/p&gt;
<span class="code-comment">&lt;!--googleoff: index--&gt;</span>
&lt;p&gt;This (X)HTML content will NOT be indexed by Google.&lt;/p&gt;
<span class="code-comment">&lt;!--googleon: index&gt;</span></code>
</pre>
<p>By applying these tags to my <code>single.php</code>, <code>front_page.php</code> and <code>about.php</code> pages (but you could target any content you wanted), and applying googleon and googleoff tags to tell robust only to index the actual title and text of the blog post within the template, I&#8217;m certain that only relevant content will show up in searches<sup> [<a href="http://donaldjenkins.com/2011/12/fine-tuning-which-parts-of-your-wordpress-blog-are-indexed-by-google-without-a-plugin/#footnote_1_2454" id="identifier_1_2454" class="footnote-link footnote-identifier-link" title="These tags are specific to Google, so other search engines will continue to crawl your pages from top to bottom.">2</a>]</sup>.</p>_______________
<ol class="footnotes"><li id="footnote_0_2454" class="footnote">  There are four types of googleon/googleoff tags: (1) index &mdash; content surrounded by &ldquo;googleoff:&nbsp;index&rdquo; will not be indexed by Google; (2) anchor &mdash; anchor text for any links within a &ldquo;googleoff:&nbsp;anchor&rdquo; area will not be associated with the target page; (3) snippet &mdash; content surrounded by &ldquo;googleoff:&nbsp;snippet&rdquo; will not be used to create snippets for search results; (4) all &mdash; content surrounded by &ldquo;googleoff:&nbsp;all&rdquo; are treated with all attributes: index, anchor, and snippet</li><li id="footnote_1_2454" class="footnote">These tags are specific to Google, so other search engines will continue to crawl your pages from top to bottom.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2011/12/fine-tuning-which-parts-of-your-wordpress-blog-are-indexed-by-google-without-a-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new domain for this site: donaldjenkins.com</title>
		<link>http://donaldjenkins.com/2011/12/a-new-domain-for-this-site/</link>
		<comments>http://donaldjenkins.com/2011/12/a-new-domain-for-this-site/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 19:05:44 +0000</pubDate>
		<dc:creator>Donald</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[Jekyll]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://donaldjenkins.com/?p=2443</guid>
		<description><![CDATA[<p>Effective this week, this site is moving to a new domain, donaldjenkins.com, which replaces donaldjenkins.net.  RSS feeds and links will update seamlessly.  A new layout—the Belgravia theme—replaces the short-lived Chelsea theme as a more mature version of the blog&#8217;s html5 deployment.  It&#8217;s got quite a few new features and is with checking out.  Wordpress continues as the site&#8217;s platform, although a switch to static CMS Octopus may be on hand.</p>]]></description>
			<content:encoded><![CDATA[<h3 id="switchingfrom.netto.com">Switching from .net to .com</h3>

<p>Regular visitors to this site may or may not have noticed that its domain has changed.  This certainly doesn&#8217;t reflect any decision on my part to turn it into a commercial venture.  It&#8217;s simply the result of my purchase, after  it took me three years to convince its previous owner to sell it, of the rather more generic donaldjenkins.com, which will now be the actual platform for the site.  A 301 Redirect will effortlessly propel anyone using the old address to the new one, and Google have been notified of the change, although you might want to update any links accordingly.</p>

<p>Switching domains actually turned out to be childishly simple: since the directory structure of the new site is exactly the same as the old&#8217;s, all that was needed was applying a few <a href="http://en.wikipedia.org/wiki/Regular_expression">regular expressions</a> to remove any trace of the old url in my database and php files, and I was up and running.</p>

<h3 id="newlayout:thebelgraviatheme">New layout: the Belgravia theme</h3>

<figure class="figure-container" style="width: 580px">
<img src="http://cdn.donaldjenkins.com/media/blog-posts/belgravia-theme-2.jpg" alt="Previous themes" width= "580" height="181" title="Previous themes">
<figcaption>
This site’s previous themes: from left to right, (1) the <a href="http://i.via.dj/CKel">Unstandard theme</a> (2008-2010); (2) the the <a href="http://i.via.dj/CJff">Astorg theme</a> (2010-2011); (3) the <a href="http://i.via.dj/CM96">Chelsea theme</a> (March to December 2011).
</figcaption>
</figure>

<p>I&#8217;ve taken the advantage of the move to also switch to a new layout.  I wasn&#8217;t too happy with the <a href="http://donaldjenkins.com//2011/03/my-sites-epic-switch-to-html5/">Chelsea theme</a> that I&#8217;d designed when I switched to html5 this spring: It moved away from the rather more subdued layout of the earlier <a href="http://donaldjenkins.com//2010/02/my-outrageously-minimalist-new-website/">Astorg theme</a> and I was never quite comfortable with it.</p>

<figure class="figure-container" style="width: 420px">
<img src="http://cdn.donaldjenkins.com/media/blog-posts/belgravia-theme-1.jpg" alt="The Belgravia theme" width= "420" height="410" title="The Belgravia theme">
<figcaption>
The <a href="http://i.via.dj/CLLU">Belgravia theme</a> is significantly more minimalist than  its predecessor, the <a href="http://i.via.dj/CM96">Chelsea theme</a>, itself much faster-loading than previous iterations, the <a href="http://i.via.dj/CJff">Astorg theme</a> and the <a href="http://i.via.dj/CKel">Unstandard theme</a>.  It runs with virtually no javascript and is extremely lightweight.
</figcaption>
</figure>

<p>The Belgravia theme whose arrival coincides with the .com switch was initially intended as an upgrade to the Chelsea theme: but I ended up moving away from it sufficiently to justify a name change.  I&#8217;ve retained much of the html code and attention to semantics introduced in the spring—and html5 document outlines still show up meaningfully. I&#8217;ve trimmed down the markup whenever possible to ensure faster loading speeds.  I find that a custom version of Paul Irish&#8217;s excellent <a href="http://www.modernizr.com/">Modernizr</a> is all I need<sup> [<a href="http://donaldjenkins.com/2011/12/a-new-domain-for-this-site/#footnote_0_2443" id="identifier_0_2443" class="footnote-link footnote-identifier-link" title="Modernizr really works superbly at what it sets out to do, as this screencast shows.">1</a>]</sup> to ensure the site displays reasonably well in all broswers, so I was able dispense with jQuery altogether, except on the <a href="http://donaldjenkins.com/contact/">contact form</a>, which I designed from scratch to provide server and client validation.</p>

<h3 id="stickingwithwordpressbutincreasinglytemptedbyjekyll">Sticking with WordPress—but increasingly tempted by Jekyll</h3>

<p>I&#8217;ll try and write posts over the next few days to cover some of the more interesting components I implemented in the site.  One idea with which I toyed before ruling it to was switching away from WordPress to a completely static site such as Jekyll.  <a href="http://octopress.org/">Octopress</a>, a beautifully well thought-out platform designed for Jekyll by <a href="http://brandonmathis.com/">Brandon Mathis</a>, would be my top candidate if I did.  It would probably minimize what to me is the biggest drawback of Jekyll: Jekyll is a static site builder, so naturally it has to rebuild your site any time anything changes. One would hardly want to wait forever to publish every single post: with WordPress and MarsEdit, I&#8217;ve got a <a href="http://donaldjenkins.com/2010/11/new-markdown-tools-to-streamline-and-automate-blogging-with-elements-writeroom-and-automator/">workflow</a> that&#8217;s pretty unbeatable for comfort and speed, and one I&#8217;m happy to stick with for the time being.  Also, WordPress is sufficiently well-established to be pretty much future-proof, which isn&#8217;t the case,obviously, for Jekyll.</p>

<p>In the meantime, though, I&#8217;m sticking with a WordPress platform in which I&#8217;ve hard-coded he vast majority of the content that doesn&#8217;t change (the contact form is entirely hard-coded to overcome the frequent inconsistencies between jQuery and WordPress&#8217;s internally-generated code), to keep database requests to queries that actually serve a useful purpose:  I make systematic use of PHP conditional statements to determine which resources are served depending on the page or type of content displayed—this works really well and has speeded up loading time to well under a second for the most part.  Next time round, though, I may well choose to make the switch.</p>_______________
<ol class="footnotes"><li id="footnote_0_2443" class="footnote">Modernizr really works superbly at what it sets out to do, as <a href="http://www.modernizr.com/news/modernizr-test-suite">this screencast</a> shows.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://donaldjenkins.com/2011/12/a-new-domain-for-this-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

