<?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/"
	>

<channel>
	<title>Code: Flickr Developer Blog</title>
	<atom:link href="http://code.flickr.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.flickr.com/blog</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 30 Jun 2009 20:12:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.8-bleeding-10187</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Twitter in the API</title>
		<link>http://code.flickr.com/blog/2009/06/30/twitter-in-the-api/</link>
		<comments>http://code.flickr.com/blog/2009/06/30/twitter-in-the-api/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 20:12:23 +0000</pubDate>
		<dc:creator>kellan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[blogging]]></category>

		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=957</guid>
		<description><![CDATA[


photo by mocachip


Ever since we launched our Flickr2Twitter beta, developers have been requesting new API methods, so they can support Flickr as a photo sharing option in their Twitter clients.
I&#8217;ve got good news, and bad news.
The bad news is we don&#8217;t have any new APIs to offer you.
The good news is we shipped our &#8220;Twitter [...]]]></description>
			<content:encoded><![CDATA[<div style="margin-top:20px;margin-bottom:30px;">
<a href="http://www.flickr.com/photos/87331483@N00/3486881225/" title="Mission 24:  Yesterday by mocachip, on Flickr"><img src="http://farm4.static.flickr.com/3612/3486881225_87f089526d.jpg" width="500" height="326" alt="Mission 24:  Yesterday" style="border:1px dotted #ccc;padding:5px" /></a></p>
<div style="text-align:right;font-size:small;margin-right:20px;">
<a href="http://www.flickr.com/photos/87331483@N00">photo by mocachip</a>
</div>
</div>
<p>Ever since we launched our <a href="http://www.flickr.com/groups/flickrtwitterbeta/">Flickr2Twitter beta</a>, developers have been requesting new API methods, so they can support Flickr as a photo sharing option in their Twitter clients.</p>
<p>I&#8217;ve got good news, and bad news.</p>
<p>The bad news is we don&#8217;t have any new APIs to offer you.</p>
<p>The good news is we shipped our &#8220;Twitter APIs&#8221; nearly five years ago.</p>
<p>Let me explain.</p>
<h3 id="working_with_blogs_including_twitter">Working with Blogs (including Twitter)</h3>
<p>For as long as anyone can remember, we&#8217;ve supported the option of posting to external blogs directly from Flickr. Once you&#8217;ve conﬁgured a blogging service it becomes available in the “Blog This” drop down, as an option for Upload by Email, and, of  course, in the API.</p>
<p>You and I might have serious philosophical questions about whether Twitter is a blogging service, but our web servers are more pragmatic. To them, the Twitter integration is just a new blogging service.</p>
<h3 id="configuring_a_blogging_service">Configuring a blogging service</h3>
<p>The first step for a member wishing to blog (or tweet) via Flickr is to configure an external blog.  The only way to do this on <a href="http://flickr.com">flickr.com</a>, generally from the <a href="http://www.flickr.com/account/blogs/add/">Add a blog</a> page.</p>
<p>Twitter is a bit special (or rather a preview of things to come) as we&#8217;ve given it its own <a href="http://www.flickr.com/services/twitter/">service page</a>.  Directing users of your app to the <a href="http://www.flickr.com/services/twitter/">Flickr2Twitter page</a> is probably the best way get them &#8220;tweet ready&#8221;.</p>
<h3 id="all_ready">All set?</h3>
<div style="margin-top:20px;margin-bottom:30px;">
<a href="http://www.flickr.com/photos/rckmsckm/2599195330/" title="THE FORTUNE WITHIN by RCKM ©®™, on Flickr"><img src="http://farm4.static.flickr.com/3056/2599195330_c9e3a34126.jpg" width="500" height="333" alt="THE FORTUNE WITHIN" style="border:1px dotted #ccc;padding:5px" /></a></p>
<div style="text-align:right;font-size:small;margin-right:20px;">
<a href="http://www.flickr.com/photos/rckmsckm">photo by RCKM ©®™</a>
</div>
</div>
<p>From here on out, you&#8217;ll need your user to have authorized you to access their Flickr account. (<a href="http://www.flickr.com/services/api/misc.userauth.html">Find out more about FlickrAuth</a>)</p>
<p>With a signed call to <a href="http://www.flickr.com/services/api/flickr.blogs.getList.html">flickr.blogs.getList()</a> you can get a list of all the blogging services a member has configured.  Alternately you can pass in a <code>service</code> id (e.g. <code>Twitter</code>) to scope the list of blogs to the service you&#8217;re interested in.  The response looks something like:</p>
<pre><code>&lt;blogs&gt;
  &lt;blog id="7214" name="Code Flickr" service="MetaWeblogAPI" needspassword="0" url="http://code.flickr.com/blog/"/&gt;
  &lt;blog id="7215" name="Twitter: kellan" service="Twitter" needspassword="0" url="http://twitter.com/kellan"/&gt;
  &lt;blog id="72157" name="Twitter: Flickr" service="Twitter" needspassword="0" url="http://twitter.com/flickr"/&gt;
&lt;/blogs&gt;
</code></pre>
<p>This account has 3 blogs configured.  A <a href="http://wordpress.org">Wordpress</a> blog, and two <a href="http://twitter.com">Twitter</a> accounts.  Each one has a unique id.  Additionally <code>needpassword="0"</code> means we have credentials for these blogs stored server side and you don&#8217;t need to prompt your user to log in to their blog.</p>
<p>If you passed in <code>Twitter</code> as the service, and instead of the above you got something like:</p>
<pre><code>&lt;blogs/&gt;
</code></pre>
<p>Then your user hasn&#8217;t configured any blogs for that service.</p>
<h3 id="the_easy_option_upload_a_photo_to_flickr_post_to_twitter_via_flickr">The Easy Option: Upload a photo to Flickr, post to Twitter via Flickr</h3>
<p>If your application has been authorized to upload photos on your user&#8217;s behalf, and you&#8217;ve made sure they have a Twitter blog configured with Flickr, then the easiest solution is to use Flickr as a passthru service.  </p>
<p>Once you&#8217;ve successfully uploaded a photo you&#8217;ll get an API response like <code>&lt;photoid&gt;1234&lt;/photoid&gt;</code>.  (Find out <a href="http://www.flickr.com/services/api/upload.api.html">more about uploading</a> and <a href="http://www.flickr.com/services/api/upload.async.html">asynchronous uploading</a>).  </p>
<p>Pass the <code>blog id</code> from the <code>&lt;blogs&gt;</code> list above, and the <code>photoid</code> from the upload response to <a href="http://www.flickr.com/services/api/flickr.blogs.postPhoto.html">flickr.blogs.postPhoto()</a>.  If you&#8217;re posting to Twitter the <code>title</code> argument is optional and the <code>description</code> argument is ignored. (By default the title of the photo is the body of the tweet, alternately pass a different status update in the <code>title</code> field)</p>
<p>Or instead of passing a blog id, you can pass a service id (i.e. <code>Twitter</code>) and the photo (and blog post) will be sent to the first matching blog of that service.  If we don&#8217;t find a blog matching that service, you&#8217;ll get a &#8220;<code>Blog not found.</code>&#8221; error.</p>
<p>Assuming your API call to <a href="http://www.flickr.com/services/api/flickr.blogs.postPhoto.html">flickr.blogs.postPhoto()</a> is well formed, Flickr will turn around and post your user&#8217;s tweet to <a href="http://twitter.com">Twitter</a>, including a <a href="http://www.flickr.com/services/api/misc.urls.html#short">short flic.kr url</a> linking back to their photo.</p>
<div style="margin-top:20px;margin-bottom:30px;">
<a href="http://www.flickr.com/photos/tonyadcock/3011228073/" title="I cant read, but the cookie is good by tonyadcockphotos, on Flickr"><img src="http://farm4.static.flickr.com/3178/3011228073_e9f24ce543.jpg" width="500" height="400" alt="I cant read, but the cookie is good" style="border:1px dotted #ccc;padding:5px" /></a></p>
<div style="text-align:right;font-size:small;margin-right:20px;">
<a href="http://www.flickr.com/photos/tonyadcock/">photo by tonyadcockphotos</a>
</div>
</div>
<h3 id="the_established_option_upload_a_photo_flickr_post_to_twitter_any_which_way_you_can">The Established Option: Upload a photo Flickr, post to Twitter any which way you can</h3>
<p>If you&#8217;re looking to integrate Flickr photos into an existing Twitter application you might already have a preferred method for posting to Twitter.  </p>
<p>After you&#8217;ve <a href="http://www.flickr.com/services/api/upload.api.html">successfully uploaded a photo</a> and received the <code>photoid</code> follow these <a href="http://www.flickr.com/services/api/misc.urls.html#short">instructions for manufacturing a short url</a> using the <a href="http://flic.kr">flic.kr</a> domain.</p>
<p>Unlike most URL shortening schemes, every photo on Flickr already has a short URL associated with it. The follow the form:</p>
<pre><code>http://flic.kr/p/{base58-photo-id}
</code></pre>
<p>By the way, you shouldn&#8217;t feel constrained to only use short urls on Twitter.  They work equally well for a diverse range of applications including fortune cookies.</p>
<h3 id="thumbnails">Thumbnails</h3>
<p>If you want to display a thumbnail of a photo, you&#8217;ll need to make an API call to one of the methods that returns the photo&#8217;s secret.  Either <a href="http://www.flickr.com/services/api/flickr.photos.getSizes.html"> flickr.photos.getSizes()</a> or <a href="http://www.flickr.com/services/api/flickr.photos.getInfo.html">flickr.photos.getInfo()</a> will do.  Read up <a href="http://www.flickr.com/services/api/misc.urls.html">on constructing Flickr URLs</a>.</p>
<h3 id="follow_along">Follow Along</h3>
<p>My favorite new game has been watching the <a href="http://search.twitter.com/search?q=flic.kr+source%3AFlickr">flows of shared Flickr photos</a> as they appear on Twitter.</p>
<p>Happy photo sharing!</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/06/30/twitter-in-the-api/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Slides from Velocity 2009</title>
		<link>http://code.flickr.com/blog/2009/06/26/slides-from-velocity-2009/</link>
		<comments>http://code.flickr.com/blog/2009/06/26/slides-from-velocity-2009/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 23:18:37 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[operations]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[slides]]></category>

		<category><![CDATA[talks]]></category>

		<category><![CDATA[velocity]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=943</guid>
		<description><![CDATA[At Flickr Engineering our favorite thing is rainbows. But fast stable websites come a pretty close second. So last week some of us drove down to San Jose to take part in the 2009 O&#8217;Reilly Velocity conference.
 
photo by NathanFromDeVryEET

The conference consists of two tracks, performance and operations. The attendance was a great mix of [...]]]></description>
			<content:encoded><![CDATA[<p>At Flickr Engineering our favorite thing is <a href="http://www.flickr.com/search/?q=rainbows&#038;w=all">rainbows</a>. But fast stable websites come a pretty close second. So last week some of us drove down to San Jose to take part in the <a href="http://en.oreilly.com/velocity2009/">2009 O&#8217;Reilly Velocity conference</a>.</p>
<div style="margin-top:20px;margin-bottom:30px;"><a title="&quot;Going nowhere fast&quot;, or my $800 picture by NathanFromDeVryEET, on Flickr" href="http://www.flickr.com/photos/thatguyfromcchs08/2300190277/" title="&quot;Going nowhere fast&quot;, or my $800 picture by NathanFromDeVryEET, on Flickr"><img src="http://farm3.static.flickr.com/2036/2300190277_360853ae0d.jpg" alt="&quot;Going nowhere fast&quot;, or my $800 picture" width="500" height="375" /> </a></p>
<div style="text-align:right;font-size:small;margin-right:20px;"><a href="http://www.flickr.com/photos/thatguyfromcchs08/">photo by NathanFromDeVryEET</a></div>
</div>
<p>The conference consists of two tracks, performance and operations. The attendance was a great mix of people working on optimizing the whole web stack - everything from the download size of CSS to the PUE of data centers. There were talks on automated infrastructure, Javascript, MySQL, front-end performance recommendations and CDNs, but the most significant theme was the direct business benefits that companies like Google and Microsoft are seeing from microsecond speed improvements on their sites.</p>
<p>Some of the most interesting sessions for for us were:</p>
<ul style="margin-bottom:10px">
<li>John Adams talking about Twitter operations (<a href="http://en.oreilly.com/velocity2009/public/schedule/detail/7479">details</a> , <a href="http://assets.en.oreilly.com/1/event/29/Fixing%20Twitter_%20Improving%20the%20Performance%20and%20Scalability%20of%20the%20World%27s%20Most%20Popular%20Micro-blogging%20Site%20Presentation.pdf">slides</a> , <a href="http://blip.tv/file/2280446">video</a> )</li>
<li>Eric Schurman and Jake Brutlag&#8217;s joint presentation about performance benefits seen at Google and Bing (<a href="http://en.oreilly.com/velocity2009/public/schedule/detail/8523">details</a> , <a href="http://assets.en.oreilly.com/1/event/29/The%20User%20and%20Business%20Impact%20of%20Server%20Delays,%20Additional%20Bytes,%20and%20HTTP%20Chunking%20in%20Web%20Search%20Presentation.pptx">slides</a> , <a href="http://blip.tv/file/2279751">video</a> )</li>
<li>Andrew Shafer&#8217;s discussion of Agile Infrastructure (<a href="http://en.oreilly.com/velocity2009/public/schedule/detail/7596">details</a> )</li>
<li>Adam Jacobs and Ezra Zygmuntowicz&#8217;s talk about Cloud Infrastructure (<a href="http://en.oreilly.com/velocity2009/public/schedule/detail/8324">details</a> )</li>
</ul>
<p>John and I also gave a talk on how Flickr&#8217;s engineering and operations team work together to allow us to iterate quickly without causing stability problems. The <a href="http://velocityconference.blip.tv/file/2284377/">full video is available</a>, and here&#8217;s the slides:</p>
<div id="__ss_1628368" style="width: 425px; text-align: left;"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="10+ Deploys Per Day: Dev and Ops Cooperation at Flickr" href="http://www.slideshare.net/jallspaw/10-deploys-per-day-dev-and-ops-cooperation-at-flickr?type=powerpoint" title="10+ Deploys Per Day: Dev and Ops Cooperation at Flickr">10+ Deploys Per Day: Dev and Ops Cooperation at Flickr</a> <object width="425" height="355" height="355" width="425" data="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=allspawhammondvelocity2009-090623161942-phpapp01&amp;stripped_title=10-deploys-per-day-dev-and-ops-cooperation-at-flickr" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=allspawhammondvelocity2009-090623161942-phpapp01&amp;stripped_title=10-deploys-per-day-dev-and-ops-cooperation-at-flickr" /><param name="allowfullscreen" value="true" /></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/jallspaw">John Allspaw</a> .</div>
</div>
<p>Thank you to Jesse and Steve for putting together a great conference. We&#8217;re already looking forward to next year.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/06/26/slides-from-velocity-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Every Step A Story</title>
		<link>http://code.flickr.com/blog/2009/06/23/every-step-a-story/</link>
		<comments>http://code.flickr.com/blog/2009/06/23/every-step-a-story/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 00:59:40 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[geo]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[mobile]]></category>

		<category><![CDATA[nearby]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=914</guid>
		<description><![CDATA[


photo by aakash nihalani


Many of you will have already read on the sister Flickr.com blog that we added &#8220;nearby&#8221; pages to the m.flickr.com site, last week, for phones that support the W3C Geolocation API (that means the iPhone, or Gears if you&#8217;ve got an Android phone).
Ross summed it up nicely, writing:

Use this to explore your [...]]]></description>
			<content:encoded><![CDATA[<div style="margin-top:20px;margin-bottom:30px;">
<a href="http://www.flickr.com/photos/28750691@N03/3470681707/" title="stares by aakash nihalani, on Flickr"><img src="http://farm4.static.flickr.com/3614/3470681707_f09155da22.jpg" width="500" height="300" alt="stares" style="border:1px dotted #ccc;padding:5px"/></a></p>
<div style="text-align:right;font-size:small;margin-right:20px;">
<a href="http://www.flickr.com/photos/28750691@N03">photo by aakash nihalani</a>
</div>
</div>
<p>Many of you will have already read on the sister Flickr.com blog that <a href="http://blog.flickr.net/en/2009/06/18/nearby-on-your-phone/">we added &#8220;nearby&#8221; pages to the m.flickr.com site</a>, last week, for phones that support the <a href="http://dev.w3.org/geo/api/spec-source.html">W3C Geolocation API</a> (that means the iPhone, or <a href="http://code.google.com/apis/gears/api_geolocation.html">Gears</a> if you&#8217;ve got an Android phone).</p>
<p><a href="http://www.flickr.com/photos/81183458@N00/">Ross</a> summed it up nicely, writing:</p>
<blockquote style="margin-left:15px;margin-right:15px;font-family:sans-serif;color:darkslategrey;">
<p>Use this to explore your neighborhood, or find the best places to photograph local landmarks from. Reload the page as you walk around a city, and see the things that have happened there in the past. You&#8217;ll see a place through the eyes of the flickrverse.</p>
</blockquote>
<p>We&#8217;ve also updated the <a href="http://blog.flickr.net/en/2009/02/24/an-abundant-present/">nearby pages on the main site</a> so that when you go to&#8230;</p>
<p style="text-align:center;font-size:large;"><a href="http://www.flickr.com/nearby/">www.flickr.com/nearby</a></p>
<p>&#8230;without a trailing latitude and longitude, we&#8217;ll see if you have any one of a variety of browser plugins that can tell us your location. This is similar to the <code>Find My Location</code> button on the site maps, that <a href="http://code.flickr.com/blog/2009/04/16/changelog-find-my-location-button/">Dan described back in April</a>, but for nearby!</p>
<p>Like the iPhone&#8217;s Mobile Safari browser, the <a href="http://www.mozilla.com/en-US/firefox/3.5/releasenotes/">next version of  Firefox</a>  (version 3.5, currently being tested as a release candidate) will also support <a href="http://www.mozilla.com/en-US/firefox/geolocation/">automagic geolocation</a> so you won&#8217;t even need to install any plugins or other widgets.</p>
<p> Just point your browser to <a href="http://www.flickr.com/nearby">www.flickr.com/nearby/</a> and away you go.</p>
<div style="margin-top:20px;margin-bottom:30px;">
<a href="http://www.flickr.com/photos/lunchwithcandy/sets/72157606241903059/"><img src="http://farm4.static.flickr.com/3001/2680469636_e8213ff644.jpg" width="500" height="375" alt="CIMG2492.JPG" style="border:1px dotted #ccc;padding:5px" /></a></p>
<div style="text-align:right;font-size:small;margin-right:20px;">
<a href="http://www.flickr.com/photos/lunchwithcandy">photo by Candy Chang</a>
</div>
</div>
<p>The other piece of nearby-related news is Tom Taylor&#8217;s fantastic <a href="http://www.fireeagle.com/">FireEagle</a> application for the Mac called <a href="http://tomtaylor.co.uk/projects/clarke/">Clarke</a>.</p>
<p>Clarke is a toolbar app that sits quietly in the background and scans the available wireless networks using the <a href="http://www.skyhookwireless.com/">Skyhook APIs</a> to triangulate your position and updates FireEagle with your current location.</p>
<p>In addition to being an excellent FireEagle client, Clarke also supports <a href="http://code.flickr.com/blog/2009/02/09/things-im-standing-next-to/">Nearby-iness</a> for a variety of services, including Flickr.</p>
<div style="text-align:center;margin-top:20px;margin-bottom:20px;">
<img src="http://farm3.static.flickr.com/2448/3652363088_dc1302c3fc_o.png" height="188" width="359" style="border:1px dotted #ccc;padding:5px;" /></div>
<p>I&#8217;m writing this post from <a href="http://www.flickr.com/groups/flickrheadquarters/pool/">FlickrHQ</a>, in downtown San Francisco, so when I choose <a href="http://www.flickr.com/">Flickr</a> from Clarke&#8217;s <code>Nearby</code> menu it loads the following page in my web browser:</p>
<p style="text-align:center;font-size:large;"><a href="http://www.flickr.com/nearby/37.794116,-122.402776">http://www.flickr.com/nearby/37.794116,-122.402776</a></p>
<p>Which is kind of awesome! It means that you can travel to a brand new place, open up your laptop and just like magic <i>(read: once you&#8217;ve connected to a wireless network)</i> see pictures nearby.</p>
<p>Woosh!</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/06/23/every-step-a-story/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flickr Shapefiles Public Dataset 1.0</title>
		<link>http://code.flickr.com/blog/2009/05/21/flickr-shapefiles-public-dataset-10/</link>
		<comments>http://code.flickr.com/blog/2009/05/21/flickr-shapefiles-public-dataset-10/#comments</comments>
		<pubDate>Thu, 21 May 2009 23:58:53 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[clustr]]></category>

		<category><![CDATA[creativecommons]]></category>

		<category><![CDATA[geo]]></category>

		<category><![CDATA[shapefiles]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=904</guid>
		<description><![CDATA[
				

					photo by dp
				

The name sort of says it all, really, but here&#8217;s the short version:
We are releasing all of the Flickr shapefiles as a single download, available for use under the Creative Commons Zero Waiver. That&#8217;s fancy-talk for &#8220;public domain&#8221;.
The long version is:

To the extent possible under law, Flickr has waived all copyright and related [...]]]></description>
			<content:encoded><![CDATA[<div>
				<a href="http://www.flickr.com/photos/dianeperson/3356117774/" title="Yes, it is. by dp., on Flickr"><img src="http://farm4.static.flickr.com/3442/3356117774_d5b4d901a6.jpg" width="500" height="375" alt="Yes, it is." style="padding:10px;border:1px dotted #ccc;margin-top:20px;margin-bottom:10px;"/></a></p>
<div style="font-size:small;margin-bottom:20px;text-align:right">
					photo by <a href="http://www.flickr.com/photos/dianeperson/3356117774/">dp</a>
				</div>
</p></div>
<p>The name sort of says it all, really, but here&#8217;s the short version:</p>
<p>We are releasing all of <a href="http://code.flickr.com/blog/2008/10/30/the-shape-of-alpha/">the Flickr shapefiles</a> as a single download, available for use under the <a href="http://creativecommons.org/publicdomain/zero/1.0/">Creative Commons Zero Waiver</a>. That&#8217;s fancy-talk for &#8220;public domain&#8221;.</p>
<p>The long version is:</p>
<blockquote>
<p>To the extent possible under law, Flickr has waived all copyright and related or neighboring rights to the &#8220;Flickr Shapefiles Public Dataset, Version 1.0&#8221;. This work is published from the United States. <i>While you are under no obligation to do so, wherever possible it would be extra-super-duper-awesome if you would attribute <a href="http://www.flickr.com/">flickr.com</a> when using the dataset. Thanks!</i></p>
</blockquote>
<p>We are doing this for a few reasons.</p>
<ul>
<li style="margin-bottom:15px;">We want people (developers, researchers and anyone else who wants to play) to find new and interesting ways to use the shapefiles and we recognize that, in many cases, this means having access to the entire dataset.</li>
<li style="margin-bottom:15px;font-size:auto;">We want people to feel both comfortable and confident using this data in their projects and so we opted for a public domain license so no one would have to spend their time wondering about the issue of licensing. We also think the work that the <a href="http://www.creativecommons.org/">Creative Commons</a> crew is doing is valuable and important and so we chose to release the shapefiles under the <a href="http://wiki.creativecommons.org/CC0">CC0</a> waiver as a show of support.</li>
<li style="margin-bottom:15px;">We want people to create their own shapefiles and to share them so that other people (including us!) can find interesting ways to use them. We&#8217;re pretty sure there&#8217;s something to this &#8220;shapefile stuff&#8221; even if <a href="http://www.flickr.com/photos/junku/sets/303691/">we can&#8217;t always put our finger on it</a> so if publishing the dataset will encourage others to do the same then we&#8217;re happy to do so.</li>
</ul>
<div>
				<a href="http://www.flickr.com/photos/mbkepp/3205712102/"><img src="http://farm4.static.flickr.com/3344/3205712102_0997aa9218.jpg" height="500" width="500" alt="buster tries to solve our TV problems" style="padding:10px;border:1px dotted #ccc;margin-top:20px;margin-bottom:10px;"/></a></p>
<div style="font-size:small;margin-bottom:20px;text-align:right">
					photo by <a href="http://www.flickr.com/photos/mbkepp/3205712102/">mbkepp</a>
				</div>
</p></div>
<p>The dataset itself is pretty straightforward. It is a single 549MB XML file uncompressed (84MB when zipped). The data model is a simple, pared-down version of what you can already get via <a href="http://www.flickr.com/services/api/">the Flickr API</a> with an emphasis on the <i>shape</i> data.</p>
<p>Everything lives under a single root <code>places</code> element. For example:</p>
<pre style="margin-bottom:20px;">
&lt;place woe_id=&quot;26&quot; place_id=&quot;BvYpo7abBw&quot; place_type=&quot;locality&quot; place_type_id=&quot;7&quot; label=&quot;<a href="http://www.flickr.com/places/CA/QC/Arvida"">Arvida, Quebec, Canada</a>&quot;&gt;
	&lt;shape created=&quot;1226804891&quot; alpha=&quot;0.00015&quot; points=&quot;45&quot; edges=&quot;15&quot; is_donuthole=&quot;0&quot;&gt;
		&lt;polylines <b style="color:pink;">bbox=&quot;48.399932861328,-71.214576721191,48.444801330566,-71.157333374023&quot;</b>&gt;
			&lt;polyline&gt;
				<b style="color:pink;">&lt;!-- points go here--&gt;</b>
			&lt;/polyline&gt;
		&lt;/polylines&gt;
		&lt;shapefile url=&quot;<b style="color:pink;">http://farm4.static.flickr.com/3203/shapefiles/26_20081116_082a565562.tar.gz</b>&quot; /&gt;
	&lt;/shape&gt;

	&lt;!-- and so on --&gt;
&lt;/place&gt;
			</pre>
<p>Aside from the quirkiness of the shapes themselves, it is worth remembering that some of them may just be wrong. We work pretty hard to prevent Undue Wronginess &trade; from occurring but we&#8217;ve seen it happen in the past and so it would be, well, wrong not to acknowledge the possibility. On the other hand we don&#8217;t think we would have gotten this far if it wasn&#8217;t mostly right but if you see something that looks weird, <a href="http://tech.groups.yahoo.com/group/yws-flickr/">please let us know</a></p>
<p>The dataset is available for download, today, from:</p>
<p style="text-align:center;padding-top:20px;padding-bottom:20px;border:1px dotted #666;margin-top:30px;margin-bottom:30px;"><b style="font-family:sans-serif;font-size:large;"><a href="http://www.flickr.com/services/shapefiles/1.0/">http://www.flickr.com/services/shapefiles/1.0/</a></b></p>
<p>The other exciting piece of news is that the <a href="http://www.ygeoblog.com/">Yahoo! GeoPlanet</a> team has also released <a href="http://developer.yahoo.com/geo/">a public dataset of <i>all their WOE IDs</i></a> that include parent IDs, adjacent IDs and aliases (that&#8217;s just more fancy-talk for &#8220;different names for the same place&#8221;) under the <a href="http://creativecommons.org/licenses/by/2.0/">Creative Commons Attribution License</a>.</p>
<p>Which is pretty awesome, really.</p>
<div>
				<a href="http://www.flickr.com/photos/straup/3539879004/" title="Now &amp; Then by straup, on Flickr"><img src="http://farm3.static.flickr.com/2333/3539879004_af2c145472.jpg" width="500" height="338" alt="Now &amp; Then" style="padding:10px;border:1px dotted #ccc;margin-top:20px;margin-bottom:30px;"/></a>
			</div>
<p>They&#8217;ve also released the <a href="http://developer.yahoo.com/geo/placemaker/">GeoPlanet Placemaker API</a>. You feed it a big old chunk of free-form text and then &#8220;the service identifies places mentioned in text, disambiguates those places, and returns unique identifiers (WOEIDs) for each, as well as information about how many times the place was found in the text, and where in the text it was found.&#8221;</p>
<p>Again, <a href="http://www.flickr.com/photos/mbiddulph/2327731497/">Moar Awesome</a>.</p>
<p>And a bit dorky. It&#8217;s true. The data, all by itself, won&#8217;t tell a story. It needs <i>people and history</i> to make that possible but as you poke around all this stuff don&#8217;t forget the value of having a big giant, and now open, database of unique identifiers and what is possible when you use them as a bridge between other things. Without WOE IDs we wouldn&#8217;t have been able to <a href="http://code.flickr.com/blog/2008/10/30/the-shape-of-alpha/">generate the shapefiles</a> or do <a href="http://www.flickr.com/places/">the Places project</a> or provide a way to <a href="http://toys.lerdorf.com/archives/49-Select-from-World.html">search for photos by place, rather than location</a>.</p>
<p>Enjoy!</p>
<p>Oh, and those &#8220;unidentified&#8221; outliers, in New York City, that I mentioned in <a href="http://code.flickr.com/blog/2009/05/06/the-absence-and-the-anchor/">the last post about the donut hole shapefiles</a>: <i>The Bronx Zoo, Coney Island and Shea Stadium</i>. Of course!</p>
<div>
				<a href="http://www.flickr.com/photos/straup/3536471854/" title="(if you lived here) by straup, on Flickr"><img src="http://farm4.static.flickr.com/3297/3536471854_7e10436b3a.jpg" width="500" height="375" alt="(if you lived here)" style="padding:10px;border:1px dotted #ccc;margin-top:20px;margin-bottom:10px;"/></a></p>
<div style="font-size:small;margin-bottom:20px;text-align:right">photos by <a href="http://www.flickr.com/photos/ajagendorf25/3457595954/">ajagendorf25</a>, <a href="http://www.flickr.com/photos/auggie_tolosa/3025514778">auggie tolosa</a> and <i>the sky</i>
			</div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/05/21/flickr-shapefiles-public-dataset-10/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Absence and the Anchor</title>
		<link>http://code.flickr.com/blog/2009/05/06/the-absence-and-the-anchor/</link>
		<comments>http://code.flickr.com/blog/2009/05/06/the-absence-and-the-anchor/#comments</comments>
		<pubDate>Wed, 06 May 2009 21:18:40 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[clustr]]></category>

		<category><![CDATA[geo]]></category>

		<category><![CDATA[shapefiles]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=885</guid>
		<description><![CDATA[
      
photo by selflesh

Back in January, I wrote a blog post about some experimental work that I&#8217;d been doing with the shapefile data we derive from geotagged photos. I was investigating the idea of generating shapefiles for a given location using not the photos associated with that place but, instead, [...]]]></description>
			<content:encoded><![CDATA[<div style="margin-top:20px; margin-bottom:30px;">
      <a href="http://www.flickr.com/photos/selflesh/3147200065/" title="Sketch | 12.28.08 by selflesh, on Flickr"><img src="http://farm4.static.flickr.com/3103/3147200065_cfc089d2d2.jpg" width="500" height="375" alt="Sketch | 12.28.08" style="border:1px dotted #ccc;padding:10px;margin-bottom:10px;"/></a></p>
<div style="font-size:small;text-align:right;"><a href="http://www.flickr.com/photos/selflesh">photo by selflesh</a></div>
</p></div>
<p>Back in January, I wrote a blog post about <a href="http://code.flickr.com/blog/2009/01/12/living-in-the-donut-hole/">some experimental work that I&#8217;d been doing with the shapefile data</a> we derive from geotagged photos. I was investigating the idea of generating shapefiles for a given location using not the photos associated with that place but, instead, from the photos associated with the <i>children</i> of that place. For example, London:</p>
<div style="margin-top:20px; margin-bottom:20px;">
<a href="http://www.flickr.com/photos/straup/3504862388/" title="London by straup, on Flickr"><img src="http://farm4.static.flickr.com/3561/3504862388_484a0b4d72.jpg"  width="500" height="405" alt="London" style="border:1px dotted #ccc;padding:10px;"/></a>
</div>
<p>The larger pink shape is what we (Flickr) think of as the &#8220;city&#8221; of London. The smaller white shapes are its neighbourhoods. The red shapes represent an entirely new shapefile that we created by collecting all the points for those neighbourhoods and running them through <a href="http://code.flickr.com/blog/2009/04/07/the-only-question-left-is/">Clustr</a>, the tool we use to generate shapes.</p>
<p>For lack of any better name I called these shapes &#8220;donut holes&#8221; because, well, because that&#8217;s what they look like. The larger shape is a pretty accurate reflection of the greater metropolitain area of London, the place that has grown and evolved over the years out of the city center that most people would recognize in the smaller red shape. Our goal with the shapefiles has always been to use them to better reverse-geocode people&#8217;s geotagged photos so these sorts of <a href="http://www.flickr.com/search/?q=timbits&#038;ss=2">variations on a theme</a> can better help us understand <a href="http://magicalnihilism.wordpress.com/2009/04/22/a-palimpsest-for-a-place/">where a place is</a>.</p>
<p>Like New York City. No one gets New York right including us try as we might (though, in fairness, it&#8217;s gotten better recently (no, really)) and even I am hard pressed to explain the giant pink blob, below, that is supposed to be New York City. On the other hand, the red donut hole shape even though (perhaps, because) it spills in to New Jersey a bit is actually a pretty good reflection of the way people move through the city as a whole.</p>
<div style="margin-top:20px; margin-bottom:20px;">
<a href="http://www.flickr.com/photos/straup/3505864039/" title="NYC by straup, on Flickr"><img src="http://farm4.static.flickr.com/3347/3505864039_7f71cdef4d.jpg" width="500" height="408" alt="NYC" style="border:1px dotted #ccc;padding:10px;"  /></a>
</div>
<p>It could play New York on TV, I think.</p>
<p>I&#8217;m not sure how to explain the outliers yet, either, other than to say the shapefiles for city-derived donut holes may contain up to 3 polygons (or &#8220;records&#8221; in proper <a href="http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf">Shapefile-speak</a>) compared to a single polygon for plain-old city shapes so if nothing else it&#8217;s an indicator of where people are taking photos.</p>
<p><i>If the shapefiles themselves are uncharted territory, the donut holes are the fuzzy horizon even further off in the distance. We&#8217;re not really sure where this will take us but we&#8217;re pretty sure there&#8217;s something to it all so we&#8217;re eager to share it with people and see what they can make of it too.</i></p>
<div style="margin-top:20px; margin-bottom:20px;">
<a href="http://www.flickr.com/photos/straup/3504858798/" title="Vietnam by straup, on Flickr"><img src="http://farm4.static.flickr.com/3556/3504858798_517fb8c448_b.jpg"  width="512" height="1024" alt="Vietnam" style="border:1px dotted #ccc;padding:10px;"/></a>
</div>
<p>(This is probably still my favourite shapefile ever.)</p>
<p>Starting today, the donut hole shapes are available for developers to use with their developer magic via the <a href="http://www.flickr.com/services/api">Flickr API</a>.</p>
<p>At the moment we are only rendering donut hole shapefiles for cities and countries. I suppose it might make sense to do the same for continents but we probably won&#8217;t render states (or provinces) simply because there is too much empty unphotographed space between the cities to make it very interesting.</p>
<p>There are also relatively few donut holes compared to the corpus of all the available shapefiles so rather than create an entirely new API method we&#8217;ve included them in the <a href="http://www.flickr.com/services/api/flickr.places.getShapeHistory.html">flickr.places.getShapeHistory</a> API method which returns all the shapefiles ever created for a place. Each <code>shape</code> element now contains an <b>is_donuthole</b> attribute. Here&#8217;s what it looks like for <a href="http://www.flickr.com/places/United+Kingdom/England/London">London</a>:</p>
<pre style="margin-top:20px; margin-bottom:30px;">
&lt;shapes total="6" woe_id="44418" place_id=".2P4je.dBZgMyQ"
	place_type="locality" place_type_id="7"&gt;

	&lt;shape created="1241477118" alpha="9.765625E-05" count_points="275464"
		count_edges="333" <b style="color:pink;">is_donuthole="1"</b>&gt;

		&lt;!-- shape data goes here... --&gt;

	&lt;/shape&gt;

	&lt;!-- and so on -&gt;

&lt;/shapes&gt;
</pre>
<p>Meanwhile, the <a href="http://www.flickr.com/services/api/flickr.places.getInfo.html">places.getInfo</a> API method has been updated to included a <b>has_donuthole</b> attribute, to help people decide whether it&#8217;s worth calling the <code>getShapeHistory</code> method or not. Again, using London as the example:</p>
<pre style="margin-top:20px; margin-bottom:30px;">

&lt;place place_id=".2P4je.dBZgMyQ" woeid="44418" latitude="51.506"
       longitude="-0.127" place_url="/United+Kingdom/England/London"
       place_type="locality" place_type_id="7" timezone="Europe/London"
       name="London, England, United Kingdom" <b style="color:pink;">has_shapedata="1"</b>&gt;

	&lt;shapedata created="1239037710" alpha="0.00029296875" count_points="406594"
                   count_edges="231" <b style="color:pink;">has_donuthole="1" is_donuthole="0"</b>&gt;

        &lt;!-- and so on --&gt;
&lt;/place&gt;
</pre>
<p>Finally, here&#8217;s another picture by <a href="http://selflesh.blogspot.com/">Shannon Rankin</a> mostly just because I like her work so much. Enjoy!</p>
<div style="margin-top:20px; margin-bottom:20px;">
<a href="http://www.flickr.com/photos/selflesh/2913186810/" title="Guardian by selflesh, on Flickr"><img src="http://farm4.static.flickr.com/3172/2913186810_2e8f3fd2d6.jpg" width="500" height="500" alt="Guardian" style="border:1px dotted #ccc;padding:10px;margin-bottom:10px;"/></a></p>
<div style="font-size:small;text-align:right;"><a href="http://www.flickr.com/photos/selflesh">photo by selflesh</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/05/06/the-absence-and-the-anchor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What Would Brooklyn Do?</title>
		<link>http://code.flickr.com/blog/2009/04/20/what-would-brooklyn-do/</link>
		<comments>http://code.flickr.com/blog/2009/04/20/what-would-brooklyn-do/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 20:00:02 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[api]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=868</guid>
		<description><![CDATA[

photo by kfranzman

The other day, Mike Ellis posted a really lovely interview with Shelley Bernstein and Paul Beaudoin about the release of the Brooklyn Museum&#8217;s Collections API.
One passage that I thought was worth calling out, and which I&#8217;ve copied verbatim below, is Shelley&#8217;s answer to the question &#8220;Why did you decide to build an API?&#8221;

First, [...]]]></description>
			<content:encoded><![CDATA[<div style="margin-bottom:30px;">
<a href="http://www.flickr.com/photos/katefranzman/3446758883/" title="MW2009 by kfranzman, on Flickr"><img src="http://farm4.static.flickr.com/3363/3446758883_d00f670125.jpg" width="500" height="375" alt="MW2009" style="border:1px dotted #ccc;padding:10px;"/></a></p>
<div style="font-size:11px;text-align:right;font-family:sans-serif;margin-right:15px;"><a href="http://www.flickr.com/photos/katefranzman/3446758883/in/pool-mw2009/">photo by kfranzman</a></div>
</div>
<p>The other day, Mike Ellis posted <a href="http://electronicmuseum.org.uk/2009/04/16/the-brooklyn-museum-api-qa-with-shelley-bernstein-and-paul-beaudoin/">a really lovely interview with Shelley Bernstein and Paul Beaudoin</a> about the release of the <a href="http://www.brooklynmuseum.org/community/blogosphere/bloggers/2009/03/04/brooklyn-museum-collection-api/">Brooklyn Museum&#8217;s Collections API</a>.</p>
<p>One passage that I thought was worth calling out, and which I&#8217;ve copied verbatim below, is Shelley&#8217;s answer to the question &#8220;Why did you decide to build an API?&#8221;</p>
<blockquote style="margin:40px;font-family:sans-serif;">
<p>First, practical… in the past we’d been asked to be a part of larger projects where institutions were trying to aggregate data across many collections (like d*hub). At the time, we couldn’t justify allocating the time to provide data sets which would become stale as fast as we could turn over the data. By developing the API, we can create this one thing that will work for many people so it no longer become a project every time we are asked to take part.</p>
<p>Second, community… the developer community is not one we’d worked with before. <i>We’d recently had exposure to the <a href="http://www.indicommons.org/">indicommons community</a> at the Flickr Commons and had seen developers like David Wilkinson do <a href="http://www.indicommons.org/tools/">some great things</a> with our data there. It’s been a very positive experience and one we wanted to carry forward</i> (emphasis mine) into our Collection, not just the materials we are posting to The Commons.</p>
<p>Third, community+practical… I think we needed to recognize that ideas about our data can come from anywhere, and encourage outside partnerships. We should recognize that programmers from outside the organization will have skills and ideas that we don’t have internally and encourage everyone to use them with our data if they want to. When they do, we want to make sure we get them the credit they deserve by pointing our visitors to their sites so they get some exposure for their efforts.</p>
</blockquote>
<p>The only thing I would add is: What she said!</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/04/20/what-would-brooklyn-do/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[changelog] &#8220;Find my location&#8221; button</title>
		<link>http://code.flickr.com/blog/2009/04/16/changelog-find-my-location-button/</link>
		<comments>http://code.flickr.com/blog/2009/04/16/changelog-find-my-location-button/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 23:03:38 +0000</pubDate>
		<dc:creator>revdancatt</dc:creator>
		
		<category><![CDATA[changelog]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=866</guid>
		<description><![CDATA[I just added a button to the Explore Map and the pop-up map you see when geotagging your own photos from the photo page (organizer support v.soon).
Using my l33t Skitch skills I&#8217;ll attempt to highlight it &#8230;



&#8230; but WAIT! You may not see it! It&#8217;s one of those &#8220;Power-User&#8221; type things&#8230;
To get the button to [...]]]></description>
			<content:encoded><![CDATA[<p>I just added a button to the <a href="http://www.flickr.com/map">Explore Map</a> and the pop-up map you see when geotagging your own photos from the photo page (organizer support v.soon).</p>
<p>Using my l33t <a href="http://www.skitch.com">Skitch</a> skills I&#8217;ll attempt to highlight it &#8230;</p>
<p><a href="http://www.flickr.com/photos/35468159852@N01/3448685152" title="View 'Getting ready for a code blog post' on Flickr.com">
<div style="text-align:center;"><img src="http://farm4.static.flickr.com/3307/3448685152_6b374dfc33.jpg" alt="Getting ready for a code blog post" border="0" width="500" height="317" /></div>
<p></a></p>
<p>&#8230; but WAIT! You <i>may</i> <b>not</b> see it! It&#8217;s one of those &#8220;Power-User&#8221; type things&#8230;</p>
<p>To get the button to show up you&#8217;ll need some form of geo-locating built-in/plug-in type thing, or maybe you&#8217;re all smarty-pants and running a cutting edge beta version of a browser with location finding built in already. Perhaps you&#8217;ve already installed <a href="http://gears.google.com/">Google Gears</a>, in which case we&#8217;ll use that.</p>
<p>Probably the easiest way of getting the button to appear is to pop over to the <a href="http://www.loki.com">Loki</a> site and click the &#8220;Try it Now&#8221; button, install the plug-in, then pop back to Flickr. Loki is from the <a href="http://www.skyhookwireless.com/">SKYHOOK Wireless</a> peeps, who all the cool kids seem to be using.</p>
<p>You can also click over to the Mozilla Labs and read more about their <a href="http://labs.mozilla.com/2008/10/introducing-geode/">Geode</a> project, about how location stuff will soon be built into browsers and <i>everything</i> and install their geode plug-in from there.</p>
<p>Either way, it&#8217;ll check all three &#8220;things&#8221; and show the button if it finds one, as more options come along I&#8217;ll add those too.</p>
<p>As an aside &#8230;</p>
<h3>This is why you shouldn&#8217;t do graphical buttons and multi-language support at the same time.</h3>
<p><a href="http://www.flickr.com/photos/35468159852@N01/3447315065" title="View 'This is why you shouldn't do graphical buttons and multi-language support at the same time.' on Flickr.com">
<div style="text-align:center;"><img src="http://farm4.static.flickr.com/3320/3447315065_378f5b45fc.jpg" alt="This is why you shouldn't do graphical buttons and multi-language support at the same time." border="0" width="440" height="500" /></div>
<p></a></p>
<p>&#8230; nightmare!</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/04/16/changelog-find-my-location-button/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Kittens vs Sunsets</title>
		<link>http://code.flickr.com/blog/2009/04/15/kittens-vs-sunsets/</link>
		<comments>http://code.flickr.com/blog/2009/04/15/kittens-vs-sunsets/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 16:54:16 +0000</pubDate>
		<dc:creator>revdancatt</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=862</guid>
		<description><![CDATA[Speaking of things that Kellan has done recently, Jayel over in this thread: Flickr Trends Search kicked off a whole Flickr Central thread of This vs That &#8230;



&#8230; including Girls vs Boys, Mayonnaise vs. Ketchup, Winter vs Summer and Varying vs Flatlined.
Why not go and have a play?
As the footer says &#8220;derived from the awesome [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.flickr.com/blog/2009/04/09/i-see-smart-people-aka-we-do-stuff/">Speaking of things</a> that <a href="http://flic.kr/kellan">Kellan</a> has done recently, <a href="http://www.flickr.com/photos/aheram/">Jayel</a> over in this thread: <a href="http://www.flickr.com/groups/central/discuss/72157616607817963/"><b>Flickr Trends Search</b></a> kicked off a whole <a href="http://www.flickr.com/groups/central/">Flickr Central</a> thread of <a href="http://www.flickr.com/groups/central/discuss/72157616607817963/">This vs That</a> &#8230;</p>
<p><a href="http://flickrtrends.appspot.com/?query1=kittens&#038;query2=sunsets&#038;Trend=Trend">
<div style="text-align:center;"><img src="http://farm4.static.flickr.com/3538/3444431437_f02f6afdf3.jpg" alt="Kittens vs Sunsets" border="0" width="500" height="368" /></div>
<p></a></p>
<p>&#8230; including <a href="http://flickrtrends.appspot.com/?query1=girls&#038;query2=boys&#038;Trend=Trend">Girls vs Boys</a>, <a href="http://flickrtrends.appspot.com/?query1=mayonnaise&#038;query2=ketchup&#038;Trend=Trend">Mayonnaise vs. Ketchup</a>, <a href="http://flickrtrends.appspot.com/?query1=winter&#038;query2=summer&#038;Trend=Trend">Winter vs Summer</a> and <a href="http://flickrtrends.appspot.com/?query1=varying&#038;query2=flatlined&#038;Trend=Trend">Varying vs Flatlined</a>.</p>
<p>Why not <a href="http://flickrtrends.appspot.com/?query1=kittens&#038;query2=sunsets&#038;Trend=Trend">go and have a play?</a></p>
<p>As the footer says &#8220;derived from the <a href="http://tyn-search.appspot.com?query1=kittens&amp;query2=sunsets">awesome NYT Trender</a> and code by <a href="http://twitter.com/derekg">derekg</a><br/>adapted for <a href="http://flickr.com/services/api">Flickr API</a> by <a href="http://laughingmeme.org/">kellan</a>&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/04/15/kittens-vs-sunsets/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I See Smart People, AKA: We Do Stuff &#8230;</title>
		<link>http://code.flickr.com/blog/2009/04/09/i-see-smart-people-aka-we-do-stuff/</link>
		<comments>http://code.flickr.com/blog/2009/04/09/i-see-smart-people-aka-we-do-stuff/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 16:20:59 +0000</pubDate>
		<dc:creator>revdancatt</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/?p=844</guid>
		<description><![CDATA[Over on our sister photo arty blog you could easily imagine reading phrases like &#8220;One of the amazing things about working at Flickr is the vast amount of incredible photography it exposes you to&#8220;, or some such. Hah! Those arty types!
Over here, I&#8217;d like to post the flip side &#8230; about how one of the [...]]]></description>
			<content:encoded><![CDATA[<p>Over on our <a href="http://blog.flickr.com">sister photo arty blog</a> you could easily imagine reading phrases like &#8220;<i>One of the amazing things about working at Flickr is the vast amount of incredible photography it exposes you to</i>&#8220;, or some such. Hah! Those arty types!</p>
<p>Over here, <i>I&#8217;d</i> like to post the flip side &#8230; about how one of the amazing things about working at Flickr, is the awesome people I get to work with.</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/rossharmes/3426976468/" title="Huddle by Ross Harmes, on Flickr"><img src="http://farm4.static.flickr.com/3343/3426976468_5f82b9650c.jpg" width="500" height="110" alt="Huddle" /></a></div>
<p>Take for example &#8230;</p>
<h2>Ross Harmes</h2>
<p>&#8230; people often think I&#8217;m joking when we&#8217;re sitting in a meeting, discussing how we should standardise our front-end coding conventions or some such and I say we should just &#8220;ask Ross&#8221;.</p>
<p>But! <i>BUT!!</i> but, <a href="http://www.flickr.com/photos/rossharmes/">Ross</a> wrote a fricking book about JavaScript; <a href="http://www.amazon.com/exec/obidos/ASIN/159059908X">Pro JavaScript Design Patterns</a> and sits 3 desks away, it&#8217;s faster (and more amusing (to me)) to shout out a question than it is to flick through the index of the book. It&#8217;s like having the talking <a href="http://www.amazon.com/Pro-JavaScript-Design-Patterns/dp/B001AT1YUA/ref=kinw_dp_ke">Kindle version</a>, but with a much more natural voice!</p>
<p>You can also find out more at <a href="http://jsdesignpatterns.com/">jsdesignpatterns.com</a></p>
<h2>Anyway &#8230;</h2>
<p>The reason why I wanted to post this, is that recently an awful lot of my co-workers have been doing stuff! So with an eye to that &#8230;</p>
<h2>The Lovely Kellan Elliott-McCrea</h2>
<p>Flashing quickly across the radar last couple of weeks is/was a bunch of discussion about URL shorteners, sort of starting with <a href="http://joshua.schachter.org/">Josh</a> over here: <a href="http://joshua.schachter.org/2009/04/on-url-shorteners.html">on url shorteners</a>, and <a href="http://unweary.com/blog/">David</a> with <a href="http://unweary.com/2009/04/the-security-implications-of-url-shortening-services.html">The Security Implications of URL Shortening Services</a>. With other <a href="http://www.scripting.com/stories/2009/03/07/solvingTheTinyurlCentraliz.html">discussions</a> <a href="http://adactio.com/journal/1566">popping</a> <a href="http://shiflett.org/blog/2009/apr/save-the-internet-with-rev-canonical">up</a>  <a href="http://rc3.org/2009/04/04/the-downside-of-url-shorteners/">here</a> <a href="http://www.kottke.org/09/04/url-shorteners-suck">and</a> <a href="http://daringfireball.net/linked/2009/04/04/weiss-urls">there</a> and <a href="http://search.twitter.com/search?q=revcanonical">sorta</a> <a href="http://sites.google.com/a/snaplog.com/wiki/short_url">everywhere</a>.</p>
<p>And so, with this bit of philosophy from <a href="http://simonwillison.net/">&#8220;Stinky&#8221; Willison</a> (more on Simon later) &#8230;</p>
<div style="text-align:center;"><a href="http://twitter.com/kellan/status/1447590400"><img src="http://farm4.static.flickr.com/3553/3427745794_6ce6f9b782.jpg" alt="Twitter / kellan: “You can build prototypes ..." border="0" width="500" height="331" /></a></div>
<p>&#8230; Kellan built this (<i>maybe</i> even during meetings); <a href="http://revcanonical.appspot.com/">RevCanonical: url shortening that doesn&#8217;t hurt the internet</a>, you can read more about it in his <a href="http://laughingmeme.org/">blog</a> post <a href="http://laughingmeme.org/2009/04/03/url-shortening-hinting/">URL Shortening Hinting</a> [Note: includes mention of Flickr], where the comments are worth price of admission alone, also, features hamster photos. </p>
<p>If you want to join in, you can read more over on the official <a href="http://revcanonical.wordpress.com/">RevCanonical</a> blog and get, fork or whatever it is people do with code on <a href="http://github.com/kellan/revcanonical/tree/master">github</a>. And I&#8217;m sure we&#8217;ll have more news about RevCanonical here soon :)</p>
<p>But not content with starting that wildfire, Kellan has also been does his bit to help <a href="http://openstreetmap.org/">OpenStreetMap</a>, by walking around with a GPS unit and, I think this part is important, <a href="http://www.flickr.com/photos/kellan/sets/72157616499757413">drinking beer</a> &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/kellan/3424622012/" title="Neocartography by kellan, on Flickr"><img src="http://farm4.static.flickr.com/3645/3424622012_5ee3b4b8f2.jpg" width="500" height="332" alt="Neocartography" /></a></div>
<p>&#8230; shown here featuring our good friend <a href="http://brainoff.com/">Mikel Maron</a>, remember we use <a href="http://code.flickr.com/blog/2009/02/13/changelog-yahoo-updated-map-tiles-and-some-osm-ones/">OpenSteetMap on Flickr</a> when our own maps are a little sparse. More on maps later!</p>
<p>Meanwhile &#8230;</p>
<h2>The Mighty John Allspaw</h2>
<p>Mr <a href="http://www.flickr.com/photos/allspaw/">Allspaw</a> is our wonderful Ops guy, here he is &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/allspaw/3419325034/" title="I have a working iSight now. by jspaw, on Flickr"><img src="http://farm4.static.flickr.com/3552/3419325034_0170cc70eb.jpg" width="500" height="375" alt="I have a working iSight now." /></a></div>
<p>&#8230; smoldering.</p>
<p>As well as smoldering he also gave a talk at the <a href="http://www.web2expo.com/webexsf2009">Web 2.0 Expo</a> called <a href="http://www.web2expo.com/webexsf2009/public/schedule/detail/8580">Operational Efficiency Hacks</a> the other week. If you&#8217;re into that type of thing and missed it, which you probably did, here are his <a href="http://www.slideshare.net/jallspaw/operational-efficiency-hacks-web20-expo2009">slides</a> &#8230;</p>
<div style="width:425px;text-align:left" id="__ss_1245887"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/jallspaw/operational-efficiency-hacks-web20-expo2009?type=powerpoint" title="Operational Efficiency Hacks Web20 Expo2009">Operational Efficiency Hacks Web20 Expo2009</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=opshacksweb20expo2009-090403152449-phpapp02&#038;stripped_title=operational-efficiency-hacks-web20-expo2009" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=opshacksweb20expo2009-090403152449-phpapp02&#038;stripped_title=operational-efficiency-hacks-web20-expo2009" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/jallspaw">John Allspaw</a>.</div>
</div>
<p>&#8230; and his <a href="http://www.kitchensoap.com/2009/04/03/slides-from-web20-expo-2009-and-somethin-else-interestin/">follow up post</a> adds a little further reading. If you like this kinda of thing you should probably <a href="http://www.kitchensoap.com/feed/">subscribe</a> to his blog where he posts really interesting Flickr related stuff, and infuriatingly enough *not* here on this blog, /me sulk.</p>
<p>On the subject of Allspaw (and as we&#8217;ve already mentioned one book), I was pretty sure I&#8217;d mentioned his book before: <a href="http://www.amazon.com/Art-Capacity-Planning-Scaling-Resources/dp/0596518579/ref=pd_bbs_sr_1?ie=UTF8&#038;s=books&#038;qid=1224102680&#038;sr=8-1">The Art of Capacity Planning: Scaling Web Resources</a> &#8230; if building big things on the web is your kinda thing, but apparently I haven&#8217;t, so &#8230;</p>
<p>According to a reviewer on Amazon <b>&#8220;John&#8217;s examples are just like Charlie&#8217;s from the TV show Numb3rs&#8221;</b>, having never watched Numb3rs I can only assume that&#8217;s a probably a bad thing (kinda like Scully from X-Files explaining science) but gave it 4 stars anyway :) on those grounds alone you should buy it &#8230;</p>
<div style="text-align:center;"><a href="http://www.amazon.com/Art-Capacity-Planning-Scaling-Resources/dp/0596518579/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1224102680&amp;sr=8-1"><img width="180" height="236" alt="The Art of Capacity Planning: Scaling Web Resources" src="http://www.kitchensoap.com/wp-content/uploads/2008/10/9780596518578_cat1.gif" title="9780596518578_cat1" class="size-medium wp-image-61"/></a></div>
<p>Oh and don&#8217;t forget the <a href="http://www.flickr.com/groups/webopsviz/pool/">WebOps Visualizations Pool</a> on flickr, that John often posts to when things suddenly get much better or worse ;) if you enjoy graphs like this &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/jesserobbins/3255669315/" title="The Obama Drop by jesse robbins, on Flickr"><img src="http://farm4.static.flickr.com/3374/3255669315_d39eb87bc8_o.png" width="509" height="352" alt="The Obama Drop" /></a></div>
<p>Getting back to the front-end for a second &#8230;</p>
<h2>Scott Schiller, Fish enthusiast!</h2>
<p>You&#8217;ve <a href="http://en.wikipedia.org/wiki/Muxtape">heard</a> of <a href="http://muxtape.com/">Muxtape</a> right? That website that plays MP3s, how&#8217;d you think it does that? Or the cool javascript/audio stuff that Jacob Seidelin does over at <a href="http://blog.nihilogic.dk">Nihilogic</a>;  <a href="http://blog.nihilogic.dk/2009/03/javascript-canvas-sm2-milkdrop.html">JavaScript + Canvas + SM2 + MilkDrop = JuicyDrop</a> &amp; <a href="http://blog.nihilogic.dk/2009/03/music-visualization-with-canvas-and.html">Music visualization with Canvas and SoundManager2</a>?</p>
<p>Screenshot shown here (warning: link to noisy thing) &#8230;</p>
<div style="text-align:center;"><a href="http://www2.nihilogic.dk/labs/canvas_music_visualization/"><img src="http://farm4.static.flickr.com/3305/3427837146_6ddf2b3870.jpg" alt="A [ Radiohead / JavaScript / Boids / Canvas / SM2 ] mashup by Jacob Seidelin" border="0" width="414" height="407" /></a></div>
<p>Well they both use <a href="http://www.schillmania.com/projects/soundmanager2/">SoundManager 2</a> written by our very own <a href="http://www.flickr.com/photos/schill/">Scott Schiller</a>.</p>
<p>It&#8217;s an extensive and easy to use javascript thingy &#8230; wait, Scott says it better &#8230; &#8220;<i>SoundManager 2 wraps and extends the Flash Sound API, and exposes it to Javascript. (The flash portion is hidden, transparent to both developers and end users.)</i>&#8221; &#8230; which basically means that if you like JavaScript, messing with audio but <i>hate</i>, I mean, dislike working with Flash, it can save you a lot of pain. Here&#8217;s one of the demos Scott put together &#8230;</p>
<p><object type="application/x-shockwave-flash" width="500" height="289" data="http://www.flickr.com/apps/video/stewart.swf?v=70645" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=10a46fc368&amp;photo_id=3426794001"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=70645"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=70645" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=10a46fc368&amp;photo_id=3426794001" height="289" width="500"></embed></object></p>
<p>And if you think that all looks awesome, remember that Scott is one of our fantastic front-end guys, bringing all that good js magic to Flickr! Apart from the music part, well unless we one day decide to add music and customisable backgrounds to flickr <sup>[<a href="#music1">1</a>]</sup>.</p>
<h2>Aaron Straup Cope</h2>
<p><a href="http://www.flickr.com/photos/straup/">Aaron</a> covered this only the other day: <a href="http://code.flickr.com/blog/2009/04/07/the-only-question-left-is/">The Only Question Left Is</a>, but has been doing an awful lot with generating <a href="http://code.flickr.com/blog/2008/10/30/the-shape-of-alpha/">shapefiles</a> recently. I just wanted to add my take to it, because even I have trouble keeping up.</p>
<p>Basically what <i>I</i> want, is to be able to send something-somewhere a list of latitudes and longitudes and it return me the &#8220;shape&#8221; that those points make. This could be anything, the locations of geotagged <a href="http://blog.flickr.net/en/2009/04/10/squirrels/">Squirrels</a>, or even something useful, well kinda like this from <a href="http://www.hackdiary.com/">Matt</a> <a href="http://www.dopplr.com/traveller/mattb">Biddulph</a> (him wot of <a href="http://blog.dopplr.com/">Dopplr</a>) &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/mbiddulph/3421922514/" title="London dopplr places, filtered to only places my social network has been to, clustrd by Matt Biddulph, on Flickr"><img src="http://farm4.static.flickr.com/3545/3421922514_7e196c1bfe.jpg" width="500" height="366" alt="London dopplr places, filtered to only places my social network has been to, clustrd" /></a><br />&#8220;<i>London dopplr places, filtered to only places my social network has been to, clustrd</i>&#8220;</div>
<p>&#8230; which maps out something of interest to him, where his &#8220;social network&#8221; go/eat etc. in London. Which may be different from mine, or could even have some overlap, thus answering the time old question; which pub should we all go to for lunch?</p>
<p>It&#8217;s not quite at the point where you can do it without having to put a little effort in, but I keep prodding Aaron because I want it now! But if you&#8217;re the type that does enjoy putting the effort in then you can again do the GitHub dance here: <a href="http://github.com/straup/ws-clustr/tree/master">ws-clustr</a> and <a href="http://github.com/straup/py-wsclustr/tree/master">py-wsclustr</a> (Python bindings for spinning up and using an EC2 instance running ws-clustr).</p>
<p>Once more, more on maps later.</p>
<h2>Daniel Bogan - Setup Man</h2>
<p><a href="http://www.flickr.com/photos/wafer/">Bogan</a> is virtual, and only exists in the internets, as can be seen here &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/wafer/2617176876/" title="Denied by waferbaby, on Flickr"><img src="http://farm4.static.flickr.com/3240/2617176876_9141b23317_o.png" width="470" height="427" alt="Denied" /></a></div>
<p>&#8230; kind of like <a href="http://en.wikipedia.org/wiki/Max_Headroom_(character)">Max Headroom</a>, but with worse resolution. Which I think makes Flickr the first interweb company you have a <i>real</i> AI working on the code, not that <a href="http://cadiesingularity.blogspot.com/">pretend AI stuff</a>!</p>
<p>Last year he has a bash at helping to put a little context around us <i>delicate flower</i> developers, with a quick run-down of the setup we each used with <a href="http://code.flickr.com/blog/2008/05/29/trickr-or-humanising-the-developers-part-1/">Trickr, or Humanising the Developers (Part 1)</a> &amp; <a href="http://code.flickr.com/blog/2008/06/30/trickr-or-humanising-the-developers-part-2/">Trickr, or Humanising the Developers (Part 2)</a>. Based on an old project of his called &#8220;The Setup&#8221; where he used to interview various Internet Famous people (when there wasn&#8217;t so damn many of them) about their Setup.</p>
<p>Recently he&#8217;s reprised that task, with, wait for it &#8230; <a href="http://waferbaby.com/setup">The Setup</a>, where our very own Bogan asks such leading lights as <a href="http://waferbaby.com/setup/2009/01/22/john-gruber">John Gruber</a>, <a href="http://waferbaby.com/setup/2009/03/27/steph-thirion">Steph Thirion</a>, <a href="http://waferbaby.com/setup/2009/02/10/jonathan-coulton">Jonathan Coulton</a> &amp; <a href="http://waferbaby.com/setup/2009/02/20/gina-trapani">Gina Trapani</a>. I have no idea how he finds the time!</p>
<p>In turn you can read a quick <a href="http://www.indicommons.org/2009/01/16/interview-daniel-bogan-flickr-developer/">interview with Bogan over at indicommons</a>.</p>
<h2>Rev Dan Catt &#8212; errr, me!</h2>
<p>Meanwhile, if you&#8217;re reading this blog, you&#8217;ve probably already seen this, I&#8217;ve been trying my hand at using <a href="http://processing.org/">Processing</a> to visualize 24 hours of geotagged photos on Flickr &#8230;</p>
<p><object type="application/x-shockwave-flash" width="500" height="281" data="http://www.flickr.com/apps/video/stewart.swf?v=70645" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=e19800bea1&amp;photo_id=3398050524&amp;hd_default=false"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=70645"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=70645" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=e19800bea1&amp;photo_id=3398050524&amp;hd_default=false" height="281" width="500"></embed></object></p>
<p>&#8230; which I managed by following the instructions here <a href="http://blog.blprnt.com/blog/blprnt/processing-json-the-new-york-times">Processing, JSON &#038; The New York Times</a> to get Processing to consume our very own <a href="http://www.flickr.com/services/api/response.json.html">Flickr API in JSON format</a>. Which in turn started me off prodding at the <a href="http://www.flickr.com/groups/processing/">Processing group</a> &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/groups/processing/pool"><img src="http://farm4.static.flickr.com/3409/3430211964_c5032b6a24.jpg" alt="Flickr: The Processing.org Pool" border="0" width="473" height="429" /></a></div>
<p>and <a href="http://www.flickr.com/groups/datavisualization/">Visualization groups</a> on Flickr &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/groups/datavisualization/pool/"><img src="http://farm4.static.flickr.com/3567/3430219292_1d57e9c281.jpg" alt="Flickr: The Cool Data Visualization Techniques - Information Visualization Pool" border="0" width="471" height="437" /></a></div>
<h2>Pulling it all together</h2>
<p>So that&#8217;s what some of us are up-to, and going back to the start, I&#8217;m amazed and all the stuff that goes on, brilliant minds and all that.</p>
<p>In my head, this is what ties it all together, hang on, here we go &#8230;</p>
<p>Kellan&#8217;s been walking around with a GPS unit (along with 1000s of others), adding to the OpenStreetMap (OSM) dataset, we (Flickr) sometimes use that dataset, but also &#8230; <a href="http://magicalnihilism.wordpress.com/">Matt Jones</a> (also him wot of <a href="http://blog.dopplr.com/">Dopplr</a>) made this &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/blackbeltjones/3418578216/" title="My first Cloudmade map style: &quot;Lynchian_Mid&quot; by moleitau, on Flickr"><img src="http://farm4.static.flickr.com/3629/3418578216_abb4b09b7b.jpg" width="500" height="317" alt="My first Cloudmade map style: &quot;Lynchian_Mid&quot;" /></a></div>
<p>&#8230; using <a href="http://cloudmade.com/">Cloudmade</a>, who in turn use OSM data to allow people to easily style up and use maps. Now, I&#8217;m sure Mr Jones, wont mind me saying that he&#8217;s not a coder, infact here he is; Matt Jones - Design Husband &#8230;</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/dantaylor/2327618788/" title="Matt Jones - design husband by dan taylor, on Flickr"><img src="http://farm3.static.flickr.com/2237/2327618788_3244f106dd.jpg" width="500" height="375" alt="Matt Jones - design husband" /></a></div>
<p>&#8230; but a non-programmer can now easily make maps, as demonstrated above and described here: <a href="http://magicalnihilism.wordpress.com/2009/04/06/my-first-cloudmade-map-style-lynchian_mid/">My first Cloudmade map style: &#8220;Lynchian_Mid&#8221;</a>.</p>
<p>Then using our wonderfully public <a href="http://code.flickr.com/blog/2009/01/12/living-in-the-donut-hole/">Shape Files</a> API (<a href="http://www.flickr.com/services/api/flickr.places.getShapeHistory.html">flickr.places.getShapeHistory</a> which yes you can get in JSON format for using with Processing or JavaScript) overlay boundaries. Even, when it&#8217;s <i>easier</i> (for the non-programmer) plot outlines and shapes, based on the code Aaron is working on, onto those maps.</p>
<p>More on making maps here: <a href="http://mike.teczno.com/notes/maps-from-scratch.html">maps from scratch</a>.</p>
<p>But where could you get such useful data for plotting or visualising, well obviously there&#8217;s our <a href="http://www.flickr.com/services/api">API</a>, which is where the <a href="http://senseable.mit.edu">senseable</a> team at MIT got the data for their <a href="http://senseable.mit.edu/worldseyes/visuals.html">Los ojos del mundo (the world&#8217;s eyes)</a> project, again using Processing &#8230;</p>
<p><object width="500" height="377"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2614180&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2614180&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="377"></embed></object><br /><a href="http://vimeo.com/2614180">(un)photographed Spain</a> from <a href="http://vimeo.com/user961252">senseablecity</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>But also, let us recall <a href="http://simonwillison.net/">&#8220;Stinky&#8221; Willison</a>, one time employee of Flickr, who now works at <a href="http://www.guardian.co.uk/media/2008/aug/22/guardianmediagroup.digitalmedia">The Gruadian</a>. They have a geocoding project, that allows you, if you so wished to place their stories on a map &#8230; <a href="http://guardian.apimaps.org/search.html">http://guardian.apimaps.org/search.html</a> &#8230; which uses Mapping from Cloudmade, map data from OpenStreetMap, location search from our very own API, and stories from their own API. Which in turn allows you to plot their stories on your own maps, phew!</p>
<p>More about the <a href="http://www.guardian.co.uk/open-platform">Guardian Open Platform</a>.</p>
<div style="text-align:center;"><a href="http://www.guardian.co.uk/open-platform"><img src="http://farm4.static.flickr.com/3610/3430333644_9654e76ff6.jpg" alt="The Guardian Open Platform | guardian.co.uk" border="0" width="500" height="434" /></a></div>
<p>You can also read about their <a href="http://www.guardian.co.uk/data-store">Data Store</a>, which gives you access to a load of easy to use data just ripe for visualizing&#8230;</p>
<p>&#8230; be that with Processing, Flash or JavaScript (following the advice in Ross&#8217;s book), and even with photos from Flickr and Audio driven with Scott&#8217;s SoundManager2, in &#8220;Shapes&#8221; powered by Aaron, and preserved with short URLs that&#8217;ll stick around, thanks Kellan :) and you can scale it if you need to by following John&#8217;s insights.</p>
<p>And that&#8217;s just what we do when we&#8217;re <i>not</i> working on Flickr.</p>
<p>Photos by <a href="http://www.flickr.com/photos/rossharmes">Ross Harmes</a>, <a href="http://www.flickr.com/photos/kellan">Kellan</a>, <a href="http://www.flickr.com/photos/allspaw/">jspaw</a>, <a href="http://www.flickr.com/photos/jesserobbins">jesse robbins</a>, <a href="http://www.flickr.com/photos/mbiddulph">Matt Biddulph</a>, <a href="http://www.flickr.com/photos/wafer">waferbaby</a>, <a href="http://www.flickr.com/photos/blackbeltjones">moleitau</a> and <a href="http://www.flickr.com/photos/dantaylor">dan taylor</a>.</p>
<hr />
<sup>[<a name="music1">1</a>]</sup>never going to happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/04/09/i-see-smart-people-aka-we-do-stuff/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Integrating Flickr into your Rails website</title>
		<link>http://code.flickr.com/blog/2009/04/09/integrating-flickr-into-your-rails-website/</link>
		<comments>http://code.flickr.com/blog/2009/04/09/integrating-flickr-into-your-rails-website/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:44:07 +0000</pubDate>
		<dc:creator>kellan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://code.flickr.com/blog/2009/04/09/integrating-flickr-into-your-rails-website/</guid>
		<description><![CDATA[Straightforward, and thorough tutorial on working with the Flickr API and Rails. Takes you from installing the libraries, to coding, to designing your layout, to caching to speed up your site (and keep Flickr happy with you).  Awesome.
]]></description>
			<content:encoded><![CDATA[<p>Straightforward, and thorough <a href="http://www.pixellatedvisions.com/2009/04/06/integrating-flickr-into-your-rails-website">tutorial on working with the Flickr API and Rails</a>. Takes you from installing the libraries, to coding, to designing your layout, to caching to speed up your site (and keep Flickr happy with you).  Awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.flickr.com/blog/2009/04/09/integrating-flickr-into-your-rails-website/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
