<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>JeffreyBarke.net</title>
	
	<link>http://jeffreybarke.net</link>
	<description>A web development blog that covers HTML, CSS, JS, PHP, WordPress and CodeIgniter.</description>
	<lastBuildDate>Tue, 30 Apr 2013 00:55:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jeffreybarkenet" /><feedburner:info uri="jeffreybarkenet" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>What’s happening with XFN?</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/A-eYHWsCpDw/</link>
		<comments>http://jeffreybarke.net/2013/04/whats-happening-with-xfn/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 04:38:40 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[gmpg]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[xfn]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=383</guid>
		<description><![CDATA[An attempt to figure out the current status of <abbr title="XHTML Friends Network">XFN</abbr> implementations and consumers turns into a review of what XFN is and how to use it. <a href="http://jeffreybarke.net/2013/04/whats-happening-with-xfn/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Continuing <a href="http://jeffreybarke.net/2013/04/some-obsolete-meta-element-values/" title="Some obsolete meta element values">a review</a> of those &#8220;things&#8221; that end up in the <code>head</code> of our documents and proceed to nest there indefinitely, I ran across the <abbr title="XHTML Friends Network">XFN</abbr> profile. This immediately made me wonder, what&#8217;s up with XFN?</p>
<p>I tweeted the following, but didn&#8217;t get a response: &#8220;<q cite="https://twitter.com/jeffreybarke/status/326844743076151298">Other than @WordPress, does anyone do anything with #xfn anymore? Most of the @microformats XFN implementation links are dead.</q>&#8221; Since the <code>#lazyweb</code> didn&#8217;t pull through for me, this blog post is the result. As a bonus, I also review what XFN is and how to use it. Hopefully, maybe, this will generate enough good karma that someone knowledgeable will leave a comment below and fill me in.</p>
<p><b>tl;dr</b>: XFN is an awesome concept that&#8217;s easy to implement, but probably not worth even that small amount of time, energy and bandwidth due to a lack of consuming services or apps.</p>
<h2>What is XFN?</h2>
<p>XFN is a way to represent human relationships by using the <code>rel</code> attribute of hyperlinks with a controlled vocabulary.<sup>1</sup> It&#8217;s the &#8220;original&#8221; <a href="http://en.wikipedia.org/wiki/Microformats" rel="external">microformat</a>, and was introduced in December 2003 by <abbr title="Global Multimedia Protocols Group">GMPG</abbr><sup>2</sup> at a time when blogging was going mainstream and blogrolls were increasing popular.<sup>1</sup></p>
<p><!--FOAF and interest in Semantic Web--></p>
<h2>Why it&#8217;s awesome</h2>
<p>XFN was about the <a href="http://en.wikipedia.org/wiki/Social_graph" rel="external">social graph</a> a year before Facebook was even launched. The concept:</p>
<blockquote cite="http://gmpg.org/xfn/intro">
<p>XFN puts a human face on linking. As more people have come online and begun to form social networks, services such as Technorati and Feedster have arisen in an attempt to show how the various nodes are connected. Such services are useful for discovering the mechanical connections between nodes, but they do not uncover the <i>human</i> relationships between the people responsible for the nodes.<sup>3</sup></p>
</blockquote>
<p>On the practical side, the great thing about XFN is that it&#8217;s really easy to do. First, add the XFN profile to the <code>head</code> element of your document: <code>&lt;link rel=&quot;profile&quot; href=&quot;http://gmpg.org/xfn/11&quot;&gt;</code>. Then add one or more of the values from the &#8220;XFN quick reference&#8221; table to the <code>rel</code> attribute of the <code>a</code> element.<sup>4</sup></p>
<table summary="A table of XFN values by category.">
<caption>XFN quick reference</caption>
<thead>
<tr>
<th scope="col">Relationship category</th>
<th scope="col">XFN values</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Friendship (at most one):</th>
<td><code>friend</code>, <code>acquaintance</code>, <code>contact</code></td>
</tr>
<tr>
<th scope="row">Physical:</th>
<td><code>met</code></td>
</tr>
<tr>
<th scope="row">Professional:</th>
<td><code>co-worker</code>, <code>colleague</code></td>
</tr>
<tr>
<th scope="row">Geographical (at most one):</th>
<td><code>co-resident</code>, <code>neighborhodd</code></td>
</tr>
<tr>
<th scope="row">Family (at most one):</th>
<td><code>child</code>, <code>parent</code>, <code>sibling</code>, <code>spouse</code>, <code>kin</code></td>
</tr>
<tr>
<th scope="row">Romantic:</th>
<td><code>muse</code>, <code>crush</code>, <code>date</code>, <code>sweetheart</code></td>
</tr>
<tr>
<th scope="row">Identity:</th>
<td><code>me</code></td>
</tr>
</tbody>
</table>
<h2>But&#8230;<!--The not so great thing--></h2>
<p>Does even this little bit of effort and bandwidth make sense?</p>
<p>The <a href="https://developers.google.com/social-graph/" rel="external">Google Social Graph <abbr title="Application programming interface">API</abbr></a> is gone. Most of the &#8220;new&#8221; implementations on the &#8220;<a href="http://microformats.org/wiki/xfn-implementations" rel="external">XFN Implementions</a>&#8221; page of Microformats.org are dead. The GMPG&#8217;s &#8220;<a href="http://gmpg.org/xfn/more" rel="external">XFN: What&#8217;s Out There?</a>&#8221; page includes a notice that &#8220;<q cite="http://gmpg.org/xfn/more">WordPress has shipped release 1.0 with user friendly support for XFN!</q>&#8221; Yikes! WordPress 1.0 was released in January 2004!</p>
<p>And the litany doesn&#8217;t stop. The <a href="https://addons.mozilla.org/en-us/firefox/addon/operator/" rel="external">Operator</a> add-on for Firefox hasn&#8217;t been updated since 2010. I think Technorati may have used the XFN data once, but Technorati&#8230; Oh, Technorati&#8230;</p>
<p>Is anyone actually consuming, mapping or using the XFN data that&#8217;s out there? It doesn&#8217;t seem like it.<!--Maybe it&#8217;s time for WordPress to drop the XFN overhead--></p>
<h2>References</h2>
<ol>
<li>GMPG. (2003). &#8220;XHTML Friends Network.&#8221; Retrieved 23 April 2013, from <a href="http://gmpg.org/xfn/" rel="external">http://gmpg.org/xfn/</a></li>
<li><abbr title="Extensible HyperText Markup Language">XHTML</abbr> Friends Network. (n.d.). In <i>Wikipedia</i>. Retrieved 23 April 2013, from <a href="http://en.wikipedia.org/wiki/XHTML_Friends_Network" rel="external">http://en.wikipedia.org/wiki/XHTML_Friends_Network</a></li>
<li>GMPG. (2003). &#8220;XFN: Introduction and Examples.&#8221; Retrieved 23 April 2013, from <a href="http://gmpg.org/xfn/intro" rel="external">http://gmpg.org/xfn/intro</a></li>
<li>GMPG. (2003). &#8220;XFN: Getting Started&#8221; Retrieved 23 April 2013, from <a href="http://gmpg.org/xfn/join" rel="external">http://gmpg.org/xfn/join</a></li>
</ol>
<h2>Learn more</h2>
<p>The best way to learn more about XFN and how to use it is to read the GMPG material cited in the &#8220;References&#8221; section above. Microformats.org also has a lot of material (unsurprisingly, see the &#8220;PS FYI&#8221; below) on XFN under <a href="http://microformats.org/wiki/xfn" rel="external">http://microformats.org/wiki/xfn</a>.</p>
<p>Chris Messina wrote a really interesting post, &#8220;<a href="http://factoryjoe.com/blog/2008/03/11/portable-contact-lists-and-the-case-against-xfn/" rel="external">Portable contact lists and the case against XFN</a>,&#8221; in 2008. This might seem a bit old, but since the majority of the XFN stuff is from 2004ish&#8230;</p>
<h2><abbr title="Postscript">PS</abbr> <abbr title="For your information">FYI</abbr></h2>
<p>GMPG was founded in March 2003 by Tantek Çelik, Eric Meyer and Matthew Mullenweg after they met at <abbr title="South by Southwest">SXSW</abbr>. Tantek Çelik would later introduce and define the term microformats and Matthew Mullenweg is the creator of WordPress.</p>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/A-eYHWsCpDw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/whats-happening-with-xfn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/whats-happening-with-xfn/</feedburner:origLink></item>
		<item>
		<title>Track link and download clicks in Google Analytics</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/NlM1ivwTEN0/</link>
		<comments>http://jeffreybarke.net/2013/04/track-link-and-download-clicks-in-google-analytics/#comments</comments>
		<pubDate>Fri, 19 Apr 2013 17:28:00 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[google-analytics]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=359</guid>
		<description><![CDATA[Three JavaScript files to dynamically track link and download clicks in Google Analytics. <a href="http://jeffreybarke.net/2013/04/track-link-and-download-clicks-in-google-analytics/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>By default, Google Analytics (GA) only tracks page views for the pages the GA tracking code is installed on (complicated, I know). It doesn&#8217;t track interactions with the page or content that cannot include or evaluate JavaScript. This came up because I was curious to know how many people were clicking on the zip of my <a href="http://jeffreybarke.net/2013/04/current-weather-widget/">current weather widget for WordPress</a>. I knew GA could be scripted to track interactions with a page relatively easily, but I couldn&#8217;t remember how.</p>
<p>A quick Google search later, I found <a href="https://support.google.com/analytics/answer/1136922" title="Download Links (PDF, AVI, WMV)" rel="external">some documentation</a> and <a href="http://www.blastam.com/blog/index.php/2013/03/how-to-track-downloads-in-google-analytics-v2/" title="How to Track Downloads &amp; Outbound Links in Google Analytics" rel="external">a script to dynamically add link tracking</a> from Blast Analytics &amp; Marketing. I liked the concept of the script, but (like every coder) there were a couple of things I wanted to change. While doing that, I thought of a couple more, and, the next thing I knew, I had several variations on a theme (all of which are <a href="https://github.com/jeffreybarke/google-analytics-click-tracking" rel="me">available on GitHub</a>).</p>
<p>To use, choose <em>one</em> of the files below and add it to the page/site you want to track via the standard <code>script</code> element (near the foot of the document is probably best). As of 19 April 2013, it requires <a href="http://jquery.com/" rel="external">jQuery</a> 1.7+ to run, but I&#8217;m working on a pure <abbr title="JavaScript">JS</abbr> implementation.</p>
<h2>ga-click-tracking-events.js</h2>
<p>This is probably the version most people will want to use. It tracks clicks as events for the following link types:</p>
<ul>
<li>External links (Different host than current site or marked <code>rel="external"</code>)</li>
<li>File links (Executables, zip archives, <abbr title="Portable Document Format">PDF</abbr>s, etc.)</li>
<li>Email links (<code>mailto:</code>)</li>
<li>Telephone links (<code>tel:</code>)</li>
</ul>
<p>Tracked clicks will show up in Google Analytics under &#8220;Content&#8221; &gt; &#8220;Events&#8221; in the following ways:</p>
<dl>
<dt>Event Category</dt>
<dd>External, email and telephone links will all have the category &#8220;Link clicks.&#8221; File links will have the category &#8220;Downloads.&#8221;</dd>
<dt>Event Action</dt>
<dd>External, email and telephone links are all labeled as such. File links are labeled with the file extension plus &#8220;download.&#8221; For instance, <code>PDF download</code>.</dd>
<dt>Event Label</dt>
<dd>External links are labeled with the <abbr title="uniform resource locator">URL</abbr> of the link. File links are labeled with the file name. Email links are labeled with the email address of the link, and telephone links are labeled with the telephone number of the link.</dd>
</dl>
<p><a href="https://raw.github.com/jeffreybarke/google-analytics-click-tracking/master/ga-click-tracking-events.js" rel="me">Get <code>ga-click-tracking-events.js</code> on GitHub</a></p>
<h2>ga-click-tracking-events-pages.js</h2>
<p>This version is for people who want to inflate their pageviews! It&#8217;s very similar to <code>ga-click-tracking-events.js</code>, except PDF and text documents are not tracked as events, they are tracked as pageviews. <em>(Note: <a href="https://developers.google.com/analytics/devguides/collection/gajs/asyncMigrationExamples#VirtualPageviews" rel="external">Google recommends using event tracking</a>, not virtual pageviews.)</em></p>
<p>The event tracking is the same as above, but clicks on PDF and text documents will show up in Google Analytics under &#8220;Content&#8221; &gt; &#8220;Site Content&#8221; as pages. The page path is artificial. It&#8217;s constructed from the file extension plus the file name, for instance <code>/PDF/PDF-file-name.pdf</code>.</p>
<p><a href="https://raw.github.com/jeffreybarke/google-analytics-click-tracking/master/ga-click-tracking-events-pages.js" rel="me">Get <code>ga-click-tracking-events-pages.js</code> on GitHub</a></p>
<h2>ga-click-tracking-downloads.js</h2>
<p>This is a stripped-down version of <code>ga-click-tracking-events.js</code> that only tracks clicks on file links as events. This is the version for people who don&#8217;t care about tracking clicks on external, email and telephone links because, <i>really?</i> create some new content instead. <img src='http://jeffreybarke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="https://raw.github.com/jeffreybarke/google-analytics-click-tracking/master/ga-click-tracking-downloads.js" rel="me">Get <code>ga-click-tracking-downloads.js</code> on GitHub</a></p>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/NlM1ivwTEN0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/track-link-and-download-clicks-in-google-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/track-link-and-download-clicks-in-google-analytics/</feedburner:origLink></item>
		<item>
		<title>Cyber Intelligence Sharing and Protection Act (CISPA)</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/KsA8Ub24YDE/</link>
		<comments>http://jeffreybarke.net/2013/04/cispa/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 18:11:47 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[cispa]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=347</guid>
		<description><![CDATA[What <abbr title="Cyber Intelligence Sharing and Protection Act">CISPA</abbr> is, why you should care and what you can do. <a href="http://jeffreybarke.net/2013/04/cispa/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h2>What it is</h2>
<p>The Cyber Intelligence Sharing and Protection Act (CISPA) is a proposed American law that would permit the sharing of Internet traffic information between the U.S. government and certain technology and manufacturing companies. The purpose of the bill is to help the U.S. government investigate cyber thread and ensure the security of networks against cyberattack.<sup>1</sup></p>
<p>The legislation was introduced to the House of Representatives as H.R. 3523 by <abbr title="United States">U.S.</abbr> Representative Mike Rogers (R-MI) on 30 November 2011 and was passed on 26 April 2012 (248-168). It failed to become law when it did not pass the Senate in the same session. Representative Rogers reintroduced it to the House on 12 February 2013 as H.R. 624.<sup>1</sup></p>
<h2>Why you should care</h2>
<p><b>tl;dr</b>: <i>Security! Privacy! If you think the security benefits outweigh the privacy concerns, you are pro. If you don&#8217;t, you are anti.</i></p>
<p>CISPA has had both bipartisan support and bipartisan dissent in the House of Representatives.<sup>2</sup> Facebook and Microsoft initially supported the legislation, but have since backed away due to privacy concerns,<sup>3</sup> and privacy concerns are the crux of the matter.</p>
<p>CISPA&#8217;s goal, to promote intelligence-sharing between private companies and government agencies, is laudable, however the bill is vague about what information on cyber-threats can be shared.<sup>4</sup> Groups like the Electronic Frontier Foundation and the American Civil Liberties Union want to see additional limits &#8220;on how and when the government may monitor a private individual&#8217;s internet browsing information. Additionally, they fear that such new powers could be used to spy on the general public rather than to pursue malicious hackers.&#8221;<sup>1</sup></p>
<h2>What you can do</h2>
<p>The best thing to do is contact your House Representative <a href="https://action.eff.org/o/9042/p/dia/action/public/?action_KEY=9202" rel="external">by phone</a> or <a href="https://cyberspying.eff.org/" rel="external">tweet at them</a> to let them know how you feel.</p>
<p>The <abbr title="American Civil Liberties Union">ACLU</abbr>, along with other groups, launched the &#8220;<a href="http://www.aclu.org/blog/national-security-technology-and-liberty/kicking-stop-cyber-spying-week" rel="external">Stop Cyber Spying Week</a>&#8221; campaign this past Monday.</p>
<h2>More information</h2>
<ul>
<li>Jaycox, Mark M., Kurt Opsahl, Rainey Reitman. (17 April 2013). &#8220;<a href="https://www.eff.org/deeplinks/2013/04/cispa-goes-floor-vote-privacy-amendments-blocked" rel="external">CISPA Goes to The Floor for a Vote, Privacy Amendments Blocked</a>.&#8221;</li>
<li>Lee, Timothy B. (16 April 2013). &#8220;<a href="http://arstechnica.com/tech-policy/2013/04/obama-threatens-cispa-veto-sponsor-calls-opponents-basement-dwelling-14-year-olds/" rel="external">Obama threatens CISPA veto, sponsor calls opponents basement-dwelling 14-year-olds</a>.&#8221; Ars Technica.</li>
</ul>
<h2>References</h2>
<ol>
<li><i>Wikipedia</i>. (n.d.). &#8220;<a href="https://en.wikipedia.org/wiki/Cyber_Intelligence_Sharing_and_Protection_Act" rel="external">Cyber Intelligence Sharing and Protection Act</a>.&#8221; Retrieved on 17 April 2013.</li>
<li>Tsukayama, Hayley. (27 April 2012). &#8220;<a href="http://www.washingtonpost.com/business/technology/cispa-whos-for-it-whos-against-it-and-how-it-could-affect-you/2012/04/27/gIQA5ur0lT_story.html" rel="external">CISPA: Who&#8217;s for it, who&#8217;s against it and how it could affect you</a>.&#8221; Retrieved on 17 April 2013.</li>
<li>McCullagh, Declan. (14 March 2013). &#8220;<a href="http://news.cnet.com/8301-13578_3-57574381-38/facebook-unfriends-cispa-cybersecurity-bill-over-privacy/" rel="external">Facebook unfriends CISPA cybersecurity bill over &#8216;privacy&#8217;</a>&#8221; Retrieved on 17 April 2013.</li>
<li><i>The Economist</i>. (17 April 2013). &#8220;<a href="http://www.economist.com/blogs/democracyinamerica/2013/04/cyber-security" rel="external">From SOPA to CISPA</a>.&#8221; Retrieved on 17 April 2013.</li>
</ol>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/KsA8Ub24YDE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/cispa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/cispa/</feedburner:origLink></item>
		<item>
		<title>Ruby, ruby, ruby, ruby…</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/h9ApBAwTNXY/</link>
		<comments>http://jeffreybarke.net/2013/04/learning-ruby/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 00:29:01 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[now-learning]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=338</guid>
		<description><![CDATA[Links to free online resources that teach how to program with the Ruby programming language. <a href="http://jeffreybarke.net/2013/04/learning-ruby/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Listening to Rancid and learning <a href="http://www.ruby-lang.org/en/" rel="external">Ruby</a>.</p>
<ul>
<li><a href="http://ruby.learncodethehardway.org/" rel="external">Learn Ruby The Hard Way</a></li>
<li><a href="http://www.humblelittlerubybook.com/book/" rel="external">Mr. Neighborly&#8217;s Humble Little Ruby Book</a></li>
<li><a href="http://www.ruby-doc.org/docs/ProgrammingRuby/" rel="external">Programming Ruby: The Pragmatic Programmer&#8217;s Guide</a></li>
<li><a href="http://mislav.uniqpath.com/poignant-guide/" rel="external">Why&#8217;s (Poignant) Guide to Ruby</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/h9ApBAwTNXY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/learning-ruby/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/learning-ruby/</feedburner:origLink></item>
		<item>
		<title>Current weather widget for WordPress</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/kNUqzylghUg/</link>
		<comments>http://jeffreybarke.net/2013/04/current-weather-widget/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 20:42:15 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[current-weather-widget]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[openweathermap]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=319</guid>
		<description><![CDATA[A simple sidebar widget that displays the current weather for a user-defined city. Powered by the <a href="http://openweathermap.org/API" rel="external">OpenWeatherMap <abbr title="Application programming interface">API</abbr></a>. <a href="http://jeffreybarke.net/2013/04/current-weather-widget/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A simple sidebar widget that displays the current weather for a user-defined city. Powered by the <a href="http://openweathermap.org/API" rel="external">OpenWeatherMap <abbr title="Application programming interface">API</abbr></a>.</p>
<p>The design has been deliberately kept simple. The current weather widget should match the default text of any theme, but can easily be customized by any web developer. It was built and tested on <abbr title="WordPress">WP</abbr> 3.5.x, but will probably work on earlier versions of WordPress.</p>
<h2>Installation</h2>
<ol>
<li>Download the zip file and extract the contents.</li>
<li>Upload the <code>current-weather-widget</code> folder to the <code>/wp-content/plugins/</code> directory.</li>
<li>Log into WordPress, navigate to the &#8220;Plugins&#8221; page and active the plugin.</li>
<li>Navigate to &#8220;Appearance&#8221; &gt; &#8220;Widgets&#8221; and drag the widget to the sidebar.</li>
<li>Set the city, country and units from the widget&#8217;s setting menu.</li>
</ol>
<h2>Screenshots</h2>
<div class="override">
<div><div id="attachment_326" class="wp-caption alignleft" style="width: 160px"><a href="http://jeffreybarke.net/2013/04/current-weather-widget/current-weather-widget-screenshot-1/" rel="attachment wp-att-326"><img src="http://jeffreybarke.net/wp-content/uploads/2013/04/current-weather-widget-screenshot-1-150x150.png" alt="Widget admin options." width="150" height="150" class="size-thumbnail wp-image-326" /></a><p class="wp-caption-text">Widget admin options.</p></div></div>
<div><div id="attachment_327" class="wp-caption alignleft" style="width: 160px"><a href="http://jeffreybarke.net/2013/04/current-weather-widget/current-weather-widget-screenshot-2/" rel="attachment wp-att-327"><img src="http://jeffreybarke.net/wp-content/uploads/2013/04/current-weather-widget-screenshot-2-150x150.png" alt="Widget in the sidebar of a &#8220;Twenty Twelve&#8221;-themed vanilla install of WordPress." width="150" height="150" class="size-thumbnail wp-image-327" /></a><p class="wp-caption-text">Widget in the sidebar of a &#8220;Twenty Twelve&#8221;-themed vanilla install of WordPress.</p></div></div>
<div><div id="attachment_328" class="wp-caption alignleft" style="width: 160px"><a href="http://jeffreybarke.net/2013/04/current-weather-widget/current-weather-widget-screenshot-3/" rel="attachment wp-att-328"><img src="http://jeffreybarke.net/wp-content/uploads/2013/04/current-weather-widget-screenshot-3-150x150.png" alt="Widget in the sidebar of a &#8220;Twenty Eleven&#8221;-themed vanilla install of WordPress." width="150" height="150" class="size-thumbnail wp-image-328" /></a><p class="wp-caption-text">Widget in the sidebar of a &#8220;Twenty Eleven&#8221;-themed vanilla install of WordPress.</p></div></div>
</div>
<h2>Changelog</h2>
<h3>0.0.1</h2>
<ul>
<li>Initial release</li>
</ul>
<h2>Download</h2>
<p><a href="http://jeffreybarke.net/code/current-weather-widget/current-weather-widget-0.0.1.zip" onclick="var that=this;_gaq.push(['_trackEvent', 'Download', 'ZIP',this.href]);setTimeout(function(){location.href=that.href},400);return false;">Download version 0.0.1</a> (zip)</p>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/kNUqzylghUg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/current-weather-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/current-weather-widget/</feedburner:origLink></item>
		<item>
		<title>Some obsolete meta element values</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/TXRSSfwSSNg/</link>
		<comments>http://jeffreybarke.net/2013/04/some-obsolete-meta-element-values/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 16:28:47 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=308</guid>
		<description><![CDATA[Some obsolete <code>meta</code> element <code>http-equiv</code> and <code>name</code> attribute values documented for posterity. <a href="http://jeffreybarke.net/2013/04/some-obsolete-meta-element-values/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Technically, some obsolete <code>meta</code> element <code>http-equiv</code> and <code>name</code> attribute values, but&#8230;</p>
<h2><code>meta</code> <code>http-equiv</code> values</h2>
<dl>
<dt><code>content-language</code></p>
<dd>Defines the default language of the page. Use the <code>lang</code> attribute on the <code>body</code> element instead. <a href="https://developer.mozilla.org/en-US/docs/HTML/Element/meta#attr-http-equiv" title="Mozilla Developer Network" rel="external">More info</a></dd>
<dt><code>content-type</code></p>
<dd>Defines the MIME type of the document followed by its character set. Since only an <abbr title="HyperText Markup Language">HTML</abbr> document (not <abbr title="Extensible HyperText Markup Language">XHTML</abbr>) can use the content-type, most of this information is redundant. Use the <code>charset</code> attribute of the <code>meta</code> element instead. <a href="https://developer.mozilla.org/en-US/docs/HTML/Element/meta#attr-http-equiv" title="Mozilla Developer Network" rel="external">More info</a></dd>
<dt><code>imagetoolbar</code></dt>
<dd>Switch to disable a feature (a toolbar that appears when hovering over an image) that is only present in Internet Explorer 6. Acceptable <code>content</code> values include: <code>false</code> or <code>no</code>. <a href="http://msdn.microsoft.com/en-us/library/ms533774(v=vs.85).aspx" title="MSDN article: galleryimg attribute | galleryImg property" rel="external">More info</a></dd>
</dl>
<h2><code>meta</code> <code>name</code> values</h2>
<dl>
<dt><code>MSSmartTagsPreventParsing</code></dt>
<dd>Switch to disable a feature (<a href="http://en.wikipedia.org/wiki/Smart_tag_%28Microsoft%29" title="Wikipedia article: Smart tag (Microsoft)" rel="external">smart tags</a>) that only appeared in beta versions of Internet Explorer 6. Acceptable <code>content</code> values include: <code>true</code> and <code>false</code>. <a href="http://blogs.msdn.com/b/ieinternals/archive/2012/05/16/do-not-pollute-your-pages-with-mssmarttagspreventparsing-galleryimg-imagetoolbar-pre-check-post-check.aspx" title="IEInternals blog post: Please Stop Polluting" rel="external">More info</a></dd>
</dl>
<p>For a complete(?) list of <code>meta</code> values, try <a href="https://gist.github.com/kevinSuttle/1997924" rel="external">this gist</a>.</p>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/TXRSSfwSSNg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/some-obsolete-meta-element-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/some-obsolete-meta-element-values/</feedburner:origLink></item>
		<item>
		<title>CodeIgniter encryption key generator updated</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/3RcdeUzEswc/</link>
		<comments>http://jeffreybarke.net/2013/04/codeigniter-encryption-key-generator-updated/#comments</comments>
		<pubDate>Tue, 09 Apr 2013 18:00:49 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=299</guid>
		<description><![CDATA[The <a href="http://jeffreybarke.net/tools/codeigniter-encryption-key-generator/">CodeIgniter encryption key generator</a> has been updated based on comments to the <a href="http://jeffreybarke.net/2011/01/codeigniter-encryption-key-generator/#comments">original post</a>. <a href="http://jeffreybarke.net/2013/04/codeigniter-encryption-key-generator-updated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>My apologies. I don&#8217;t think I&#8217;ve looked at it since I posted it back in 2011, but since it&#8217;s still the most popular post on this site (and still getting comments), I updated the <a href="http://jeffreybarke.net/tools/codeigniter-encryption-key-generator/">CodeIgniter encryption key generator</a>. The update was based on feedback from the <a href="http://jeffreybarke.net/2011/01/codeigniter-encryption-key-generator/#comments">original post</a>, and I&#8217;ll address a few of the comments here.</p>
<p>On <a href="http://jeffreybarke.net/2011/01/codeigniter-encryption-key-generator/#comment-1183">30 July 2012</a>, 123kerala asked if the source code was available. It both was and it wasn&#8217;t. The code to generate the key is very simple and is basically <a href="http://www.itnewb.com/tutorial/Generating-Session-IDs-and-Random-Passwords-with-PHP" title="Generating Session IDs and Random Passwords with PHP" rel="external">Andrew Johnson&#8217;s <code>genToken</code> function</a>. The actual code on the <abbr title="CodeIgniter">CI</abbr> encryption key generator page is now available as a <a href="https://gist.github.com/jeffreybarke/5347572" rel="external">Gist</a>.</p>
<p>On <a href="http://jeffreybarke.net/2011/01/codeigniter-encryption-key-generator/#comment-1197">20 January 2013</a>, ataub2qf mentioned that the <a href="http://ellislab.com/codeigniter/user-guide/libraries/encryption.html" rel="external">CodeIgniter user guide</a> specifies that a &#8220;<q cite="http://ellislab.com/codeigniter/user-guide/libraries/encryption.html">key should be as random a string as you can concoct, with numbers and uppercase and lowercase letters</q>,&#8221; but that my generator included non-alphanumeric characters. This is a good point! The updated CI key generator is now alphanumeric only.</p>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/3RcdeUzEswc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/codeigniter-encryption-key-generator-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/codeigniter-encryption-key-generator-updated/</feedburner:origLink></item>
		<item>
		<title>Geo NYC: Mapping the Environment</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/TQgNFS9AzIA/</link>
		<comments>http://jeffreybarke.net/2013/04/mapping-the-environment/#comments</comments>
		<pubDate>Mon, 08 Apr 2013 23:04:20 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Geo]]></category>
		<category><![CDATA[aaron-ogle]]></category>
		<category><![CDATA[geo-nyc]]></category>
		<category><![CDATA[geonyc]]></category>
		<category><![CDATA[geoscript]]></category>
		<category><![CDATA[green-map]]></category>
		<category><![CDATA[ilya-rosenfeld]]></category>
		<category><![CDATA[leaflet]]></category>
		<category><![CDATA[leonardo-bonnani]]></category>
		<category><![CDATA[nyc-parks-recreation]]></category>
		<category><![CDATA[peter-tiso]]></category>
		<category><![CDATA[sourcemap]]></category>
		<category><![CDATA[thomas-turnbull]]></category>
		<category><![CDATA[wendy-brawer]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=268</guid>
		<description><![CDATA[Live notes from Geo <abbr title="New York City">NYC</abbr>&#8217;s 8 April 2013 meetup, &#8220;<a href="http://www.meetup.com/geonyc/events/103110242/" rel="external">Mapping the Environment</a>.&#8221; <a href="http://jeffreybarke.net/2013/04/mapping-the-environment/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Live notes from Geo <abbr title="New York City">NYC</abbr>&#8217;s 8 April 2013 meetup, &#8220;<a href="http://www.meetup.com/geonyc/events/103110242/" rel="external">Mapping the Environment</a>.&#8221;</p>
<blockquote><p>For April&#8217;s meetup we&#8217;re highlighting innovative ways maps can help us build a more sustainable, understandable, and livable world. The line-up is amazing, inspiring, awesome. You&#8217;ll leave wanting to hug a tree, or a whale, or each other. Promise.</p>
</blockquote>
<p>The Twitter hashtag is <a href="https://twitter.com/search?q=%23geonyc" rel="external"><code>geonyc</code></a>.</p>
<p class="msg-update"><b>Update 24 April 2013</b>: Embedded videos from OpenGeo&#8217;s <a href="http://vimeo.com/user15991467/videos" rel="external">Vimeo feed</a>.</p>
<p class="msg-update"><b>Update 16 April 2013</b>: Embedded slides.</p>
<p><b>7:30 pm</b>, starting now. Heading around the room, introducing ourselves.</p>
<p><b>7:46 pm</b>, announcements:</p>
<ul>
<li><a href="http://blog.ted.com/2013/03/15/happy-birthday-john-snow-father-of-modern-epidemiology-a-qa-with-steven-johnson/" rel="external">John Snow&#8217;s birthday</a> in March.</li>
<li><a href="http://content.stamen.com/here.stamen.com" rel="external">Stamen put out a bunch of maps in collaboration with Nokia</a>.</li>
<li><a href="http://google-latlong.blogspot.com/2013/03/create-collaborate-and-share-advanced.html" rel="external">Google Maps Engine Lite</a> (beta)</li>
<li><a href="http://satellite.tmcnet.com/topics/satellite/articles/2013/04/03/332809-mapbox-makes-clouds-disappear-satellite-images.htm" rel="external">MapBox reducing clouds from satellite imagery</a>.</li>
<li><a href="http://blogs.esri.com/esri/arcgis/2013/03/25/gis-tools-for-hadoop/" rel="external">Esri continuing open source push</a>.</li>
<li><a href="http://nycbigapps.com/" rel="external">NYC BigApps</a> kicked off.</li>
<li><a href="http://2013.foss4g.org/" rel="external">FOSS4G</a> program announced.</p>
</ul>
<p><b>7:50 pm</b>, presentation time! Each presentation should last ten minutes; I&#8217;ll update this post after each talk.</p>
<p><b>8:29 pm</b>, announcements:</p>
<ul>
<li><abbr title="OpenStreetMap">OSM</abbr> Editathon. 20&#8211;21 April. OpenPlans. Alyssa Wright &amp; Liz Barry.</li>
<li>Rethinking Regulation Design Challenge. 20 April. OpenPlans. Noan Sheroff &amp; Frank Hebbert.</li>
<li>Next GeoNYC meetup: 13 May</li>
</ul>
<p><b>8:31 pm</b>, general question and answer session. My notes have been moved into the relevant presenter&#8217;s section.</p>
<p><b>8:45 pm</b>, wrap. Open chat time.</p>
<h2>where things come from</h2>
<p><b>Leonardo Bonanni</b><br /><a href="https://sourcemap.com/" rel="external">Sourcemap</a></p>
<p>Founder and <abbr title="Chief Executive Officer">CEO</abbr> of Sourcemap, which is a crowdsourced directory dedicated to answering the question: where do things come from?</p>
<p>It&#8217;s a complicated answer. One of the chips in an iPhone uses almost every element in the periodic table (except for the radioactive ones).</p>
<p>How do you find out where things come from and what impacts they could have? Even more interesting when you map it. Sourcemap is a public resource to answer these questions.</p>
<p>In 2009, thing to do seemed to be local everything. Visitors can calculate the carbon footprint of a product using Sourcemap. In addition, can compare different supply chains to see equivalent carbon footprints.</p>
<p>Turns out, companies have no idea where there products come from. So Sourcemap went one step further. Can now crowdmap the entire supply chain. Ten years ago, impossible for a company to know where everything came from. Now, can use Facebook, Usahidi and get that info on Sourcemap.</p>
<p>People who contribute are &#8220;supply-chain citizens.&#8221; Their stories embedded in video feeds on the map.</p>
<p>New York Public Library&#8217;s old computers ended up in a caf&eacute; in Ghana.</p>
<p>Since companies want to know where things come from and want to tell people where things come from, Sourcemap became a company. As a company, they providing information to managers to help mitigate the effects of global climate change.
<p>They&#8217;re hiring!</p>
<dl>
<dt>Q: How does Sourcemap.com validate data?</dt>
<dd>A: Doesn&#8217;t do anything to data. If touch any of it, liable for all of it. As long as poster doesn&#8217;t break <abbr title="terms of service">TOS</abbr>.</dd>
</dl>
<dl>
<dt>Q: Sourcemap.com have an API?</dt>
<dd>A: Yes!</dd>
</dl>
<h2>GeoScript</h2>
<p><b>Ilya Rosenfeld</b><br /><a href="http://opengeo.org/" rel="external">OpenGeo</a></p>
<div class="video">
<iframe src="http://player.vimeo.com/video/64649930" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><i>From <a href="http://vimeo.com/64649930" rel="external">Vimeo</a></i></p>
</div>
<div class="slides"><iframe src="http://www.slideshare.net/slideshow/embed_code/18360134" width="427" height="356" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div>
<p><a href="http://geoscript.org/" rel="external">GeoScript</a> is a library for processing of spatial data.</p>
<p>Several implementations for different scripting environments: Python, Groovy, JavaScript, Scala and Ruby. Python and Groovy most fully implemented.</p>
<p>Utilizes GeoTools under the hood. Basically, GeoScript exposes GeoTools through scripting languages for rapid development.</p>
<h3>Why GeoScript?</h3>
<ul>
<li>Easy to learn</li>
<li>Simple to use</li>
<li>Familiar spatial metaphors</li>
<li>Choice of a scripting language</li>
<li>Versatile products</li>
<li>Evolving, free and open source</li>
</ul>
<p><q>Succinctness is power.</q>&#8212;Paul Graham. Author of <i>Hackers and Painters</i>.</p>
<h3>Spatial metaphors and <abbr title="Application programming interface">API</abbr></h3>
<ul>
<li>Geometry</li>
<li>Feature</li>
<li>Workspace</li>
<li>Filter</li>
<li>Layer</li>
<li>Style</li>
<li>Map</li>
<li>Projection</li>
<li>Function</li>
<li>Process</li>
</ul>
<p><i>[Mr. Rosenfeld provides some code examples to show how simple and powerful GeoScript is. See his blog post, &#8220;<a href="http://blog.opengeo.org/2013/03/27/geoscript-in-action-part-one/" rel="external">GeoScript in Action: Part One</a>&#8221; for a nice demo/tutorial.]</i></p>
<h2>Green Map</h2>
<p><b>Wendy Brawer and Thomas Turnbull</b><br /><a href="http://www.greenmap.org/" rel="external">GreenMap</a></p>
<div class="video">
<iframe src="http://player.vimeo.com/video/64642412" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><i>From <a href="http://vimeo.com/64642412" rel="external">Vimeo</a></i></p>
</div>
<p><script async class="speakerdeck-embed" data-id="aa79deb088450130f89a123138196b8d" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script></p>
<p>Local NYC green map since 1992. In 1995 launched the Green Map System. Now covers 852 cities in 65 countries.</p>
<p>The Green Maps are about mapping sustainability.</p>
<p>Long time emphasis on paper maps; the Green Map archives are now housed at the New York Public Library.</p>
<p>Green Map currently includes 170 symbols, which can be downloaded.</p>
<p>Green Map works with community groups, <abbr title="Nongovernmental organization">NGO</abbr>s, student groups, etc. They develop workshop and engagement tools in addition to their mapping tools.</p>
<p>In 2007, <a href="http://www.thomasturnbull.com/" rel="external">Thomas Turnbull</a> from Google joined them to help develop technology tools.</p>
<h3>Open Green Map (OGM)</h3>
<ul>
<li>Lowers technological and financial barriers to online mapping</li>
<li>Increase participation: Eight language interface</li>
</ul>
<p>The Cape Town project used a mix of online and paper maps.</p>
<p>However, Green Map has discovered that their platform is too rigid. Next incarnation will use map as a verb and separate data storage from mapping tools with APIs defined with public standards.</p>
<p>OGM was built on Drupal (MySQL database server). While good for a prototype, Green Map sees limitations now.  Drupal has bound presentation and storage closely, and they need to decouple.</p>
<p>They&#8217;d like to know: If starting from scratch, what is the best database for spatial data?</p>
<h2>Prioritizing Street Tree Planting: Theory &amp; Method</h2>
<p><b>Peter Tiso</b><br /><a href="http://www.nycgovparks.org/" rel="external">NYC Parks &amp; Recreation</a></p>
<div class="video">
<iframe src="http://player.vimeo.com/video/64655025" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><i>From <a href="http://vimeo.com/64655025" rel="external">Vimeo</a></i></p>
</div>
<p><script async class="speakerdeck-embed" data-id="5bedc4f088450130275c123139183a42" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script></p>
<p>Plant 17,000&#8211;23,000 trees per year, which is one tree every two minutes during a working day in the planting season.</p>
<p>Previous prioritization (Fall 2007):</p>
<ul>
<li>Population density</li>
<li>Street tree Stocking Level</li>
<li>Public Health Neighborhoods (to address asthma)</li>
</ul>
<p>Simple design fostered community understanding. However, eventually maps became outdated.</p>
<p>2011, new prioritization:</p>
<ul>
<li>Retain simple design</li>
<li>2010 census data</li>
<li><abbr title="Light Detection and Ranging">LiDAR</abbr>-derived data</li>
</ul>
<p>Two-tier system developed by <abbr title="United States Department of Agriculture">USDA</abbr> Forest Service. Preferable (tier 1) and possible (tier 2).</p>
<p>Tier 1 based on 2010 Census Neighborhood Tabulation Areas.</p>
<p>Tier 2 based on 2010 census tracts and includes the following variables:</p>
<ul>
<li>Low street tree stocking level</li>
<li>More tree requests (from 311)</li>
<li>More tree removals</li>
</ul>
<p>With new prioritization, some of the areas remained from 2007, but some new areas emerged.</p>
<p>The results of this method have been guiding the last several seasons of street tree planting. Prioritization is not a hard rule; simply tells foresters where to look first.</p>
<p>Method can be easily redone with new data.</p>
<p>Shameless plug time: Seven-class land-cover raster available from <a href="https://nycopendata.socrata.com/Environmental-Sustainability/Landcover-Raster-Data-2010-/9auy-76zt" title="Landcover Raster Data (2010)" rel="external">nycopendata.socrata.com</a>.</p>
<dl>
<dt>Q: Has asthma gone down since tree planting?</dt>
<dd>A: No way to redo original study. Cannot tell if tree plantings have reduced asthma. In the future, might be able to measure particulate count and compare over time.</dd>
</dl>
<dl>
<dt>Q: When defining parameters, how do you determine weights?</dt>
<dd>A: Collaborative; Parks &amp; Rec worked with another agency. Tier 1 common to both missions. Tier 2 parks specific. Allowed other agency to have their own tier 2 specific.</dd>
</dl>
<dl>
<dt>Q: When does Parks &amp; Rec rethink parameters?</dt>
<dd>A: Not on set schedule. When maps become less useful. This is determined when foresters come back to us and tell us.</dd>
</dl>
<dl>
<dt>Q: How much do you take into account citizen need?</dt>
<dd>A: Use 311 for requests. 2007 map set years on map. First thing thrown out. 2011, didn&#8217;t set years. Map is purely advisory; guides forester search.</dd>
</dl>
<dl>
<dt>Q: How do you factor in new development? Such as when developers plant trees.</dt>
<dd>A: Taken into account when data is updated. Don&#8217;t update maps every season.</dd>
</dl>
<dl>
<dt>Q: Possible to combine Parks &amp; Rec data with Sourcemap.com?</dt>
<dd>A: NYC Parks &amp; Rec able to provide source information for all plantings.</dd>
</dl>
<h2>Leaflet: Web Maps for Better Cities</h2>
<p><b>Aaron Ogle</b><br /><a href="http://openplans.org/" rel="external">OpenPlans</a></p>
<div class="video">
<iframe src="http://player.vimeo.com/video/64643873" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><i>From <a href="http://vimeo.com/64643873" rel="external">Vimeo</a></i></p>
</div>
<p><script async class="speakerdeck-embed" data-id="f62b01e088450130932b22000a9d0477" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script></p>
<p>Tool of choice for JavaScript mapping is <a href="http://leafletjs.com/" rel="external">Leaflet</a>.</p>
<p>Leaflet:</p>
<ul>
<li>Simplicity: What you get is simple and works well. No projection support</li>
<li>Performance: Targets fast, contemporary browsers</li>
<li>Usability: Lightweight footprint and ready to work out of the box</li>
</ul>
<h3>Leaflet at OpenPlans</h3>
<p><a href="http://openplans.org/work/shareabouts/" rel="external">Shareabouts</a>: platform for crowd sourcing data about places. PostgreSQL backend. Have done several projects (for different bicycling groups) that are powered by Shareabouts.</p>
<p><a href="https://github.com/openplans/argo" rel="external">Argo</a>: Working with government client with a lot of geo data (GeoJSON). Client wanted to make own maps, but didn&#8217;t want to write code.</p>
<p>Argo let them construct and style maps using WordPress-style type admin and existing geoJSON.</p>
<p>Browser-based cost-distance calculations: <a href="https://github.com/atogle/walkshed.js" rel="external">https://github.com/atogle/walkshed.js</a></p>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/TQgNFS9AzIA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2013/04/mapping-the-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2013/04/mapping-the-environment/</feedburner:origLink></item>
		<item>
		<title>Cisco AnyConnect VPN Client reverts hosts file</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/fWTnwD-Ghks/</link>
		<comments>http://jeffreybarke.net/2012/02/anyconnect-reverts-hosts-file/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 16:08:53 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[anyconnect]]></category>
		<category><![CDATA[hosts-file]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=126</guid>
		<description><![CDATA[The Cisco AnyConnect VPN client reverts the hosts file to a previous state. To persist changes to the hosts file, you&#8217;ll need to update both hosts and hosts.ac. <a href="http://jeffreybarke.net/2012/02/anyconnect-reverts-hosts-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>While working on localhost yesterday, I noticed that changes I&#8217;d make to the hosts file kept getting reverted. The hosts file wasn&#8217;t getting completely reset, only the most recent changes I&#8217;d made were lost. I&#8217;ve never had this problem before, so I thought, &#8220;What am I doing different today?&#8221; The only thing I could think of: using Cisco&#8217;s AnyConnect <abbr title="Virtual private network">VPN</abbr> client to connect to my work computer.</p>
<p>After it happened again this morning, I did a quick Google search for &#8220;cisco anyconnect resets hosts files.&#8221; Turns out AnyConnect <em>is</em> the problem. To solve it, you need to edit both hosts and hosts.ac. I agree with <a href="http://ubuntuforums.org/showthread.php?t=1896148#post11560249" rel="external">ANewBite</a>: &#8220;Why <abbr title="AnyConnect">AC</abbr> generates another hosts file is either beyond my comprehension or really stupid.&#8221;</p>
<h2>References</h2>
<ul>
<li>/etc/hosts getting reset in Lion. Super User. <a href="http://superuser.com/questions/354902/etc-hosts-getting-reset-in-lion" rel="external">http://superuser.com/questions/354902/etc-hosts-getting-reset-in-lion</a>. Retrieved 20 February 2012.</li>
<li>[SOLVED] hosts file keeps getting reset/rewritten, hosts.ac the culprit. Ubuntu Forums. <a href="http://ubuntuforums.org/showthread.php?t=1896148" rel="external">http://ubuntuforums.org/showthread.php?t=1896148</a>. Retrieved 20 February 2012.</li>
</ul>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/fWTnwD-Ghks" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2012/02/anyconnect-reverts-hosts-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2012/02/anyconnect-reverts-hosts-file/</feedburner:origLink></item>
		<item>
		<title>Local development environment</title>
		<link>http://feedproxy.google.com/~r/jeffreybarkenet/~3/Om6aSkvyWJg/</link>
		<comments>http://jeffreybarke.net/2011/08/local-development-environment/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 03:36:34 +0000</pubDate>
		<dc:creator>Jeffrey Barke</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[tabula-rasa]]></category>

		<guid isPermaLink="false">http://jeffreybarke.net/?p=70</guid>
		<description><![CDATA[An overview of my local development environment, which is basically a MacBook Pro running <abbr title="Macintosh, Apache, Mysql and PHP">MAMP</abbr>. My text editor of choice is TextMate, and I use Transmit as an FTP client. My primary development browser is Firefox, and this post includes a list of all extensions I have installed. Subversion is the <abbr title="version control system">VCS</abbr> I use for all of my sites. <a href="http://jeffreybarke.net/2011/08/local-development-environment/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p class="postUpdateDate"><i>This post was last updated on 22 August 2011.</i></p>
<p class="thumbWrap"><img src="http://jeffreybarke.net/wp-content/uploads/2011/08/local-environment-150x150.jpg" alt="" width="150" height="150" class="alignleft size-thumbnail wp-image-92"></p>
<p>Related to my recent &#8220;<a href="http://jeffreybarke.net/2011/08/tabula-rasa/">restart</a>,&#8221; I want to talk a little bit about my local development environment. I apologize; this is kind of a long, boring post that is basically &#8220;listy.&#8221; However, I both wanted to document the things that I have, don&#8217;t have and do and share them with other developers. I&#8217;m also very interested in hearing about other developers&#8217; local environments.</p>
<p>My new computer is a 15-inch MacBook Pro running Snow Leopard (10.6.8) with a 2 <abbr title="gigahertz">GHz</abbr> processor and 4 <abbr title="gigabyte">GB</abbr> of <abbr title="random-access memory">RAM</abbr>.</p>
<p>The core of my local development environment is <a href="http://www.mamp.info/" rel="external"><abbr title="Macintosh, Apache, MySQL and PHP">MAMP</abbr></a> (2.0.1), which includes:</p>
<ul>
<li>Apache 2.0.63</li>
<li>MySQL 5.1.44</li>
<li>PHP 5.2.13 &amp; 5.3.2</li>
<li>APC 3.1.3</li>
<li>eAccelerator 0.9.6</li>
<li>XCache 1.2.2 &amp; 1.3.0</li>
<li>phpMyAdmin 3.2.5</li>
<li>Zend Optimizer 3.3.9</li>
<li>SQLiteManager 1.2.4</li>
<li>Freetype 2.3.9</li>
<li>t1lib 5.1.2</li>
<li>curl 7.20.0</li>
<li>jpeg 8</li>
<li>libpng-1.2.42</li>
<li>gd 2.0.34</li>
<li>libxml 2.7.6</li>
<li>libxslt 1.1.26</li>
<li>gettext 0.17</li>
<li>libidn 1.15</li>
<li>iconv 1.13</li>
<li>mcrypt 2.6.8</li>
<li>YAZ 4.0.1 &amp; PHP/YAZ 1.0.14</li>
</ul>
<p>In the next few days, I plan to revisit <a href="http://jeffreybarke.net/tag/mamp/">the previous how-tos I&#8217;ve written on MAMP</a> to see if they&#8217;re still valid.</p>
<p><a href="http://macromates.com/" rel="external">TextMate</a> (1.5.10 (1631)) is my text editor of choice and I use <a href="http://www.panic.com/transmit/" rel="external">Transmit</a> (4.17) as an <abbr title="File Transfer Protocol">FTP</abbr> client.</p>
<p>Subversion is the <abbr title="version control system">VCS</abbr> I use for all of my sites, and it turns out the MacBook Pro (either) comes with (or was installed with the <a href="http://developer.apple.com/technologies/tools/" rel="external">developer tools</a>) Subversion 1.6.26 and Git 1.7.3.4. Since I use both from the command line, I haven&#8217;t installed a <abbr title="graphical user interface">GUI</abbr> for either.</p>
<p>My primary browser for development purposes is still Firefox (I know, I know&#8230; <em>So</em> old-fashioned! :p). I have version 6.0 installed and I use the following extensions:</p>
<ul>
<li><a href="http://www.colorzilla.com/firefox/" rel="external">ColorZilla</a></li>
<li><a href="http://getfirebug.com/" rel="external">Firebug</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/firecookie/" rel="external">Firecookie</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/live-http-headers/" rel="external">Live <abbr title="HyperText Transfer Protocol">HTTP</abbr> headers</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/measureit/" rel="external">MeasureIt</a> (currently incompatible with version 6.0)</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/operator/" rel="external">Operator</a></li>
<li><a href="http://code.google.com/speed/page-speed/" rel="external">Page Speed</a></li>
<li><a href="http://chrispederick.com/work/user-agent-switcher/" rel="external">User Agent Switcher</a></li>
<li><a href="http://chrispederick.com/work/web-developer/" rel="external">Web Developer</a></li>
<li><a href="http://developer.yahoo.com/yslow/" rel="external">YSlow</a></li>
</ul>
<p>For testing/development, I also have Chrome 13.0.782.215, Safari 5.1 and Opera 11.50 installed. All ship with good developer tools, so I haven&#8217;t installed any extensions for any of them.</p>
<p>I have the latest version of the following browser plugins installed:</p>
<ul>
<li>Flash</li>
<li>Java</li>
<li>QuickTime</li>
<li>Silverlight</li>
</ul>
<p>On my previous laptop (also a MacBook Pro), I was running Parallels with four virtual machines installed:</p>
<ul>
<li>Windows XP with Internet Explorer (IE) 6 and various old versions of other browsers.</li>
<li>Windows Vista with IE 7 and various old versions of other browsers.</li>
<li>Windows 7 with IE 9 and various new versions of other browsers.</li>
<li>Ubuntu. Primarily to test Konqueror. (I did a job for the <abbr title="British Broadcasting Corporation">BBC</abbr> and they require it. Srsly!)</li>
</ul>
<p>At the moment, I haz none. <img src='http://jeffreybarke.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I also don&#8217;t have a graphics editor (or, at least a good one I know about) installed. I&#8217;m debating whether I should install <abbr title="GNU Image Manipulation Program">GIMP</abbr> or just shell out for Photoshop. And there&#8217;s no diagramming software installed either (I used to run Omnigraffle).</p>
<p>As I change my local development environment (or, in the event I forgot anything!), I plan to update this post. If you have any comments about my setup or would like to share your environment (either a long &#8220;post&#8221; in the comments or a link in the comments to a post on your blog), I&#8217;d love to hear them/about it!</p>
<img src="http://feeds.feedburner.com/~r/jeffreybarkenet/~4/Om6aSkvyWJg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jeffreybarke.net/2011/08/local-development-environment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://jeffreybarke.net/2011/08/local-development-environment/</feedburner:origLink></item>
	</channel>
</rss>
