<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>I’m Daniel Pietzsch. This is my weblog.


var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-10754296-1");
pageTracker._trackPageview();
} catch(err) {}</description><title>Daniel Pietzsch</title><generator>Tumblr (3.0; @danielpietzsch)</generator><link>http://blog.danielpietzsch.com/</link><item><title>Photo</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m4mbpsafpo1qa3r7do1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://blog.danielpietzsch.com/post/23784885494</link><guid>http://blog.danielpietzsch.com/post/23784885494</guid><pubDate>Sat, 26 May 2012 19:10:17 +1200</pubDate><category>photography</category><category>photos</category></item><item><title>What makes a good engineering culture? - Quora</title><description>&lt;a href="http://www.quora.com/What-makes-a-good-engineering-culture"&gt;What makes a good engineering culture? - Quora&lt;/a&gt;: &lt;blockquote&gt;
  &lt;p&gt;One of my favorite interview questions for engineering candidates is to tell me about one thing they liked and one thing they disliked about the engineering culture at their previous company. Over the course of a few hundred interviews, this interview question has given me a sense of what good engineers look for and what they’re trying to avoid. I also reflected back on my own experiences from the past six years working across Google, Ooyala, and Quora and distilled some things that a team can do to build a good engineering culture:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;An absolutely fascinating read.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/23665311304</link><guid>http://blog.danielpietzsch.com/post/23665311304</guid><pubDate>Thu, 24 May 2012 22:15:03 +1200</pubDate><category>software</category></item><item><title>Automator workflow for quick and easy screenshot sharing via Dropbox</title><description>&lt;p&gt;I created a simple &lt;a href="http://www.apple.com/macosx/apps/all.html#automator"&gt;Automator&lt;/a&gt; workflow to quickly share screenshots via &lt;a href="https://www.dropbox.com/"&gt;Dropbox&lt;/a&gt;. Here&amp;#8217;s what it does:&lt;/p&gt;

&lt;ol&gt;&lt;li&gt;Detect when a new screenshot is added to the Desktop&lt;/li&gt;
&lt;li&gt;Move the image to &lt;code&gt;~/Dropbox/Public/Screenshots/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Copy its public link to the Clipboard&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Currently I use this mostly for adding sceenshots to &lt;a href="https://github.com/"&gt;GitHub&lt;/a&gt; Pull Requests and Issues.&lt;/p&gt;

&lt;p&gt;If you think this is useful for you, too, &lt;a href="http://blog.danielpietzsch.com/mygoodies"&gt;head over to the Goodies section&lt;/a&gt; for the download and installation- and modification-instructions.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/23339937677</link><guid>http://blog.danielpietzsch.com/post/23339937677</guid><pubDate>Sat, 19 May 2012 20:15:18 +1200</pubDate><category>software</category><category>about</category></item><item><title>Say Hello to Octicons</title><description>&lt;a href="https://github.com/blog/1106-say-hello-to-octicons"&gt;Say Hello to Octicons&lt;/a&gt;: &lt;p&gt;GitHub started using a custom font for their icons. Totally my taste. I try to get by without graphics as much as I can myself. Of course, that’s partly because of me being bad at creating them. But it’s also because it has its advantages:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;We try to leverage CSS3 techniques like rounded corners, gradients, and @font-face across all pages of the site. This allows us to focus more on what we can render in the browser, and less on images. This results in better page loads and an overall better experience for you.&lt;/p&gt;
  
  &lt;p&gt;Not only are we concerned with speed, but also clarity. With the introduction of new retina screen products, we realize that it’s more important than ever to have our site beautiful at any zoom level.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://blog.danielpietzsch.com/post/23195319074</link><guid>http://blog.danielpietzsch.com/post/23195319074</guid><pubDate>Thu, 17 May 2012 12:01:21 +1200</pubDate><category>coding</category><category>software</category></item><item><title>How Yahoo Killed Flickr and Lost the Internet</title><description>&lt;a href="http://gizmodo.com/5910223/how-yahoo-killed-flickr-and-lost-the-internet"&gt;How Yahoo Killed Flickr and Lost the Internet&lt;/a&gt;: &lt;p&gt;A fascinating - and sad - read about what happened to Flickr after it was acquired by Yahoo.&lt;/p&gt;

&lt;p&gt;I’m still optimistic that Flickr will get its act together again. The updates this year so far have been great and plenty - which you can’t say at all about the recent years in general.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/23159338122</link><guid>http://blog.danielpietzsch.com/post/23159338122</guid><pubDate>Wed, 16 May 2012 22:30:04 +1200</pubDate><category>photography</category></item><item><title>Essential Mac third-party software</title><description>&lt;p&gt;&lt;a href="https://twitter.com/#!/pie4dan/status/200073198077882368"&gt;I recently got a new MacBook Air at work&lt;/a&gt;.&lt;br/&gt;
Thanks to the increasing number of tools like &lt;a href="https://www.icloud.com/"&gt;iCloud&lt;/a&gt;, &lt;a href="https://www.dropbox.com/"&gt;Dropbox&lt;/a&gt; and &lt;a href="https://github.com/"&gt;GitHub&lt;/a&gt; I can store and backup more and more of my digital stuff online. This makes setting up a new Mac from scratch pretty effortless. And so I did.&lt;/p&gt;

&lt;p&gt;I thought it would be interesting to write down what third-party apps are essential for me to get work done. Here&amp;#8217;s the list:&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://www.dropbox.com/home"&gt;Dropbox&lt;/a&gt;&lt;br/&gt;
Apart from music, photos and code, I store &lt;em&gt;all&lt;/em&gt; my documents here. This also includes my bash profile and gitconfig dotfiles to set up the respective tools.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://macromates.com/" title="TextMate — The Missing Editor for Mac OS X"&gt;TextMate&lt;/a&gt;&lt;br/&gt;
Still my editor of choice.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://git-scm.com/" title="Git"&gt;Git&lt;/a&gt;&lt;br/&gt;
For source control management. I definitely need to access my work and personal code repositories.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://culturedcode.com/things/" title="Things - task management on the Mac"&gt;Things&lt;/a&gt;&lt;br/&gt;
Despite missing cloud-sync, it&amp;#8217;s still the only to-do app I want to use.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://www.skype.com/" title="Free Skype internet calls and cheap calls to phones online - Skype"&gt;Skype&lt;/a&gt;&lt;br/&gt;
For chat and calls.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://www.alfredapp.com/" title="Alfred App"&gt;Alfred&lt;/a&gt;&lt;br/&gt;
Quick access to anything on your Mac and the web.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://jumpcut.sourceforge.net/" title="Jumpcut: Minimalist Clipboard Buffering for OS X"&gt;Jumpcut&lt;/a&gt;&lt;br/&gt;
To be able to access my clipboard history.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://mizage.com/divvy/" title="Mizage - Divvy"&gt;Divvy&lt;/a&gt;&lt;br/&gt;
The best window management software.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://www.rdio.com/" title="Rdio"&gt;Rdio&lt;/a&gt;&lt;br/&gt;
On-demand music to listen to throughout the day. &lt;a href="http://blog.danielpietzsch.com/post/22582222955/rdio" title="Rdio - Daniel Pietzsch"&gt;It&amp;#8217;s absolutely fantastic&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://agilebits.com/onepassword"&gt;1Password&lt;/a&gt;&lt;br/&gt;
My password manager of choice. Great for storing other sensitive data, too.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://skitch.com/" title="Skitch - Annotate, edit and share your screenshots and images...fast."&gt;Skitch&lt;/a&gt;&lt;br/&gt;
For taking and annotating screenshots.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://www.ragingmenace.com/software/menumeters/" title="Raging Menace - MenuMeters"&gt;MenuMeters&lt;/a&gt;&lt;br/&gt;
Drives me crazy when I can&amp;#8217;t monitor how my Mac is performing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://mxcl.github.com/homebrew/" title="Homebrew — MacPorts driving you to drink? Try Homebrew!"&gt;Homebrew&lt;/a&gt;&lt;br/&gt;
The easiest way to install UNIX tools.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/sstephenson/rbenv"&gt;rbenv&lt;/a&gt; and &lt;a href="https://github.com/sstephenson/ruby-build"&gt;ruby-build&lt;/a&gt;&lt;br/&gt;
For installing and running different versions of &lt;a href="http://www.ruby-lang.org/" title="Ruby Programming Language"&gt;Ruby&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://rubygems.org/" title="RubyGems.org | your community gem host"&gt;Rubygems&lt;/a&gt;&lt;br/&gt;
Essential when programming with Ruby and Rails.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.google.com/chrome"&gt;Chrome&lt;/a&gt;&lt;br/&gt;
Mostly to access Flash content without having to install &lt;a href="http://get.adobe.com/flashplayer/" title="Adobe - Install a different version of Adobe Flash Player"&gt;Flash Player&lt;/a&gt; for Safari.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;I will install more software as time goes on, but since I didn&amp;#8217;t need to install them so far, I wouldn&amp;#8217;t call them essential.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/22954860406</link><guid>http://blog.danielpietzsch.com/post/22954860406</guid><pubDate>Sun, 13 May 2012 17:45:44 +1200</pubDate><category>software</category><category>about</category></item><item><title>My current iPhone homescreen</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m3xsvvaAMd1qa3r7do1_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;My current iPhone homescreen&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/22939235051</link><guid>http://blog.danielpietzsch.com/post/22939235051</guid><pubDate>Sun, 13 May 2012 13:16:43 +1200</pubDate></item><item><title>Rdio</title><description>&lt;p&gt;I recently subscribed to &lt;a href="http://www.rdio.com/"&gt;Rdio&lt;/a&gt;. What an amazing new(ish) music service.&lt;br/&gt;
For NZD 13.90 a month - less than the &lt;a href="https://twitter.com/#!/pie4dan/status/169317346350084096"&gt;price of one album on iTunes&lt;/a&gt; - I can pretty much listen to anything. I don&amp;#8217;t have to own it and everything is streamed in excellent quality (&lt;a href="http://help.rdio.com/customer/portal/articles/58964-faq-"&gt;256&amp;#160;kbps MP3 files&lt;/a&gt;) to my MacBook, my iPad and my iPhone. I can even download albums and songs to my mobile devices to enjoy offline or on-the-go.&lt;/p&gt;

&lt;p&gt;The software is great, too. Signing up, setting up, navigating, discovering, listening, using - everything is top notch. I regularly catch myself listening to music on Rdio, although it&amp;#8217;s in my iTunes library and I wouldn&amp;#8217;t have to stream it. It&amp;#8217;s just more convenient.&lt;br/&gt;
What I particularly like is the &amp;#8220;Queue&amp;#8221;, to which I can constantly add new albums to and don&amp;#8217;t have to worry that it stops playing.&lt;/p&gt;

&lt;p&gt;Of course, there are things that could be better. My biggest complaint is the unavailability of quite a few albums due to licensing restrictions. Although I very rarely find an album they don&amp;#8217;t have in their catalogue at all, sometimes albums are just not available in New Zealand at this point. I really hope that gets better over time.&lt;br/&gt;
Other features I would like to see are the ability to rate/like/favorite songs as well as Airplay support for the Mac Desktop app.&lt;/p&gt;

&lt;p&gt;But all in all, Rdio is amazing value for money. And for me, it makes discovering and listening to music fun again without having to ponder on what albums I am going to spend money on next.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/22582222955</link><guid>http://blog.danielpietzsch.com/post/22582222955</guid><pubDate>Mon, 07 May 2012 23:18:12 +1200</pubDate><category>music</category><category>software</category></item><item><title>Memento Mori</title><description>&lt;p&gt;We are all going to die. To remind you not to waste your life, here are 5 good articles I came across recently for you to read:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;For many years I worked in palliative care. My patients were those who had gone home to die. [&amp;#8230;] When questioned about any regrets they had or anything they would do differently, common themes surfaced again and again. Here are the most common five.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://www.inspirationandchai.com/Regrets-of-the-Dying.html" title="Inspiration and Chai"&gt;Regrets of the Dying&lt;/a&gt; - Bronnie Ware&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;There’s a common misconception that work is necessary. You will meet people working at miserable jobs. They tell you they are “making a living”. No, they’re not. They’re dying, &amp;#8230;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://halfhalf.posterous.com/dont-work-be-hated-love-someone" title="Don’t work. Be hated. Love someone. - Half &amp;amp; Half"&gt;Don’t work. Be hated. Love someone.&lt;/a&gt; - Adrian Tan&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I believe I’m as happy as it is possible to be. [&amp;#8230;] This is a happiness I wish on everyone alive. The question then is, what are the factors that contribute to my happiness?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://mnmlist.com/happy/" title="» as happy as possible :mnmlist"&gt;as happy as possible&lt;/a&gt; - Leo Babauta&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I was having a discussion with an entrepreneur neighbor about how we might best raise our kids to think for themselves and be successful, instead of thinking like everyone else and confusing &amp;#8220;getting a job&amp;#8221; or &amp;#8220;building a career&amp;#8221; with success.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://www.kenrockwell.com/tech/risk.htm" title="Risk Taking and Photography"&gt;Risk: You have to be willing to lose to win&lt;/a&gt; - Ken Rockwell&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;But not everybody thinks this way. What we think is obvious, others find to be amazing.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://liferapture.com/derek-sivers-thomas-edison/" title="Lessons Learnt from Derek Sivers and Thomas Edison"&gt;Lessons Learnt from Derek Sivers and Thomas Edison&lt;/a&gt; - Benjamin Spall&lt;/p&gt;

&lt;p&gt;I recommend you read them all.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/21814705081</link><guid>http://blog.danielpietzsch.com/post/21814705081</guid><pubDate>Thu, 26 Apr 2012 12:02:12 +1200</pubDate><category>life</category></item><item><title>Deep dive: Aperture and Photo Stream, how do they work? | TUAW - The Unofficial Apple Weblog</title><description>&lt;a href="http://www.tuaw.com/2011/11/06/deep-dive-aperture-and-photo-stream-how-do-they-work/"&gt;Deep dive: Aperture and Photo Stream, how do they work? | TUAW - The Unofficial Apple Weblog&lt;/a&gt;: &lt;p&gt;Some detailed information on how Aperture and Photo Stream work together. For example, I recently wondered how RAW files are handled:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;According to the Aperture documentation, how RAW interacts with Photo Stream isn’t immediately obvious — but it is very important that you understand it. If you send a RAW file from Aperture to Photo Stream — either automatically via the “import all” checkbox, or manually — and if that RAW file has no edits applied, then it’s the full-sized original RAW that ends up in Photo Stream. On the other hand, if it has had edits applied then Photo Stream ends up holding a JPG copy instead.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://blog.danielpietzsch.com/post/21754682842</link><guid>http://blog.danielpietzsch.com/post/21754682842</guid><pubDate>Wed, 25 Apr 2012 13:24:31 +1200</pubDate><category>photography</category></item><item><title>Better understand Creative Commons' non-commercial licenses</title><description>&lt;p&gt;&lt;a href="http://creativecommons.org/" title="Creative Commons"&gt;Creative Commons&lt;/a&gt; offers three licenses that allow others to re-use your material for non-commercial purposes. That material is mostly photos in my case.&lt;br/&gt;
It turns out, the least-restrictive one of those three - &lt;a href="http://creativecommons.org/licenses/by-nc/3.0/" title="Creative Commons  Attribution-NonCommercial 3.0 Unported
   CC BY-NC 3.0"&gt;Attribution-NonCommercial (BY-NC)&lt;/a&gt; - is all you need if you only care about the &amp;#8220;non-commercial&amp;#8221; part.
That sounds kind of obvious, but I was confused by one other non-commercial license.&lt;/p&gt;

&lt;p&gt;Here are the three licenses as described on the &lt;a href="http://creativecommons.org/licenses/" title="About The Licenses - Creative Commons"&gt;Creative Commons homepage&lt;/a&gt;, ordered from most-restrictive to least-restrictive:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Attribution-NonCommercial-NoDerivs (BY-NC-ND)&lt;/strong&gt;&lt;br/&gt;
  This license is the most restrictive of our six main licenses, only allowing others to download your works and share them with others as long as they credit you, but they can’t change them in any way or use them commercially.&lt;/p&gt;
  
  &lt;p&gt;&lt;strong&gt;Attribution-NonCommercial-ShareAlike (BY-NC-SA)&lt;/strong&gt;&lt;br/&gt;
  This license lets others remix, tweak, and build upon your work non-commercially, as long as they credit you and license their new creations under the identical terms.&lt;/p&gt;
  
  &lt;p&gt;&lt;strong&gt;Attribution-NonCommercial (BY-NC)&lt;/strong&gt;&lt;br/&gt;
  This license lets others remix, tweak, and build upon your work non-commercially, and although their new works must also acknowledge you and be non-commercial, they don’t have to license their derivative works on the same terms.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I want &lt;a href="http://www.flickr.com/photos/pie4dan/" title="Flickr: pie4dan's Photostream"&gt;my photos&lt;/a&gt; to be available for the widest range of use-cases and people/institutions possible, as long as these use-cases are non-commercial and I get credited.
I am fine with modifications of my work, so I didn&amp;#8217;t need to use the most-restrictive &lt;a href="http://creativecommons.org/licenses/by-nc-nd/3.0/" title="Creative Commons  Attribution-NonCommercial-NoDerivs 3.0 Unported
   CC BY-NC-ND 3.0"&gt;BY-NC-ND license&lt;/a&gt;.
For my photos, I chose the middle one: &lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="Creative Commons  Attribution-NonCommercial-ShareAlike 3.0 Unported
   CC BY-NC-SA 3.0"&gt;BY-NC-SA&lt;/a&gt;. The reason for choosing this one over the less-restrictive BY-NC license was, that I was not sure about this line from the description of that license:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;[…]although their new works must also acknowledge you and be non-commercial, they don’t have to license their derivative works on the same terms.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I thought this meant, someone could use my photos, modify them the tiniest bit and then release it under any other license, including one that &lt;em&gt;does&lt;/em&gt; allow commercial re-use.&lt;br/&gt;
After some research, I discovered that this might be a myth, &lt;a href="http://www.freesoftwaremagazine.com/articles/confusion_and_complexity_high_time_prune_creative_commons_licenses" title="Confusion and Complexity: High time to prune the Creative Commons licenses?"&gt;as Terry Hancock writes&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The only real reason most people care about using &amp;#8220;ShareAlike&amp;#8221; with &amp;#8220;NonCommercial&amp;#8221; is because they think it protects them from commercial exploitation of the derivative works.&lt;/p&gt;
  
  &lt;p&gt;However, this isn&amp;#8217;t necessary. Deriving from a work in order to make commercial use of the derivative is considered &amp;#8220;commercial use.&amp;#8221;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That describes exactly what I was worried about.&lt;br/&gt;
There are some more websites that seem to implicitely support this statement: &lt;a href="http://creativecommons.org/choose/" title="Choose a License"&gt;Creative Commons&amp;#8217; own &amp;#8220;Choose a License&amp;#8221; page&lt;/a&gt;, &lt;a href="http://www.flickr.com/creativecommons" title="Flickr: Creative Commons"&gt;Flickr&amp;#8217;s Creative Commons page&lt;/a&gt; as well as &lt;a href="http://www.squidoo.com/cc-flickr" title="Using Creative Commons Images from Flickr"&gt;this article on the SquidooHQ blog&lt;/a&gt;. Here are these parts (emphasis mine).&lt;/p&gt;

&lt;p&gt;From Flickr:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Noncommercial means:&lt;br/&gt;
  You let others copy, distribute, display, and perform your work - and derivative works based upon it - &lt;strong&gt;but for noncommercial purposes only&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;From SquidooHQ:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;You let others copy, distribute, display, and perform your work - and derivative works based upon it - &lt;strong&gt;but for noncommercial purposes only&lt;/strong&gt;.
  You can also remix, tweak, and build upon the image, use it non-commercially, and license the new version under a different Creative Commons license if you so choose. &lt;strong&gt;The new license must be non-commercial&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;However, none of these pages list any official sources from Creative Commons - at least not directly regarding these particular statements.&lt;br/&gt;
Eventually, I was able to find an answer, buried in &lt;a href="http://wiki.creativecommons.org/FAQ" title="Frequently Asked Questions - CC Wiki"&gt;Creative Commons&amp;#8217; Frequently Asked Questions&lt;/a&gt;. The table under &amp;#8220;&lt;a href="http://wiki.creativecommons.org/FAQ#If_I_derive_or_adapt_a_work_offered_under_a_Creative_Commons_license.2C_which_CC_license.28s.29_can_I_apply_to_the_resulting_work.3F" title="Frequently Asked Questions - CC Wiki"&gt;If I derive or adapt a work offered under a Creative Commons license, which CC license(s) can I apply to the resulting work?&lt;/a&gt;&amp;#8221; clearly shows, that derivatives/adaptations of work which was originally released under a non-commercial license, can only be re-licensed for non-commercial purposes:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m1jijfdetp1qzm9x2.png" alt=""/&gt;&lt;/p&gt;

&lt;p&gt;Now I finally feel comfortable using the least-restrictive BY-NC license without having to worry about that derivatives of my work might get re-licensed for commercial purposes.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/20004580512</link><guid>http://blog.danielpietzsch.com/post/20004580512</guid><pubDate>Wed, 28 Mar 2012 00:11:15 +1300</pubDate><category>photography</category><category>random</category></item><item><title>Review: iPhoto for iOS out-does Adobe for mobile image editing</title><description>&lt;a href="http://arstechnica.com/apple/reviews/2012/03/hands-on-iphoto-for-ios-out-does-adobe-for-mobile-image-editing.ars/1"&gt;Review: iPhoto for iOS out-does Adobe for mobile image editing&lt;/a&gt;: &lt;p&gt;Very comprehensive review of iPhoto for iOS. It explains a lot of details that might not be so obvious - including this one which I found confusing:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Pay close attention to these red “LEDs.” They signal that processor-intensive effects have been applied that are temporarily disabled while other editing is being done.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://blog.danielpietzsch.com/post/19882082935</link><guid>http://blog.danielpietzsch.com/post/19882082935</guid><pubDate>Sun, 25 Mar 2012 19:43:01 +1300</pubDate><category>photography</category></item><item><title>How To: Install iPhoto On Your First-Generation iPad</title><description>&lt;a href="http://appadvice.com/appnn/2012/03/how-to-install-iphoto-on-your-first-generation-ipad"&gt;How To: Install iPhoto On Your First-Generation iPad&lt;/a&gt;: &lt;p&gt;Works like a charm. And for your iPhone 3GS, too.&lt;/p&gt;

&lt;p&gt;Since version 10.6 of iTunes you can stop syncing apps between your Mac and iOS devices without being prompted to delete all apps from the devices.&lt;br/&gt;
When you do that, the problem described in the article that you are prompted to remove iPhoto on every sync disappears and sync continues to work just fine.&lt;/p&gt;

&lt;p&gt;Performance on the iPad seems to be normal. No problems so far. On the 3GS it is a bit slow when editing photos.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/19420156600</link><guid>http://blog.danielpietzsch.com/post/19420156600</guid><pubDate>Sat, 17 Mar 2012 12:32:00 +1300</pubDate><category>photography</category></item><item><title>Running a Rails app in production using rbenv, Apache and Passenger</title><description>&lt;p&gt;Recently, I upgraded &lt;a href="http://nzwalksinfo.co.nz/" title="NZ Walks Information"&gt;NZ Walks Info&lt;/a&gt; to Rails 3 and Ruby 1.9.3. In order to run this new setup successfully, I needed to upgrade the Ruby version on the server. I chose &lt;a href="https://github.com/sstephenson/ruby-build"&gt;ruby-build&lt;/a&gt; and the &lt;a href="https://github.com/sstephenson/rbenv"&gt;rbenv&lt;/a&gt; Ruby Version Manager to do so and would like to share some simple instructions that worked for me.&lt;/p&gt;

&lt;!-- more --&gt;

&lt;h3&gt;The Setup&lt;/h3&gt;

&lt;p&gt;I am running the site on a &lt;a href="https://www.linode.com/"&gt;Linode&lt;/a&gt; server running Ubuntu Linux 10.04. Here&amp;#8217;s the software I use:&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Ruby 1.8.7: installed system-wide using apt-get, located in &lt;code&gt;/usr/lib/ruby&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://httpd.apache.org/" title="Welcome! - The Apache HTTP Server Project"&gt;Apache2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.modrails.com/" title='Overview — Phusion Passenger" (a.k.a. mod_rails / mod_rack)'&gt;Passenger 3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Ruby was going to be upgraded to version 1.9.3 while the other parts stayed the same. However, Passenger 3 needed to be reinstalled to work with the new version of Ruby installed via rbenv.&lt;/p&gt;

&lt;h3&gt;Installing Ruby 1.9.3 on Ubuntu 10.04 using rbenv&lt;/h3&gt;

&lt;p&gt;I found &lt;a href="https://gist.github.com/1237417"&gt;this Gist&lt;/a&gt; by Ben Woodward with instructions on how to install rbenv system-wide. I figured, when installing it like this I would less likely run into permission problems.&lt;/p&gt;

&lt;p&gt;Here&amp;#8217;s the essential part of the Gist, adjusted to install Ruby 1.9.3:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# Install rbenv
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv

# Add rbenv to the path:
echo '# rbenv setup' &amp;gt; /etc/profile.d/rbenv.sh
echo 'export RBENV_ROOT=/usr/local/rbenv' &amp;gt;&amp;gt; /etc/profile.d/rbenv.sh
echo 'export PATH="$RBENV_ROOT/bin:$PATH"' &amp;gt;&amp;gt; /etc/profile.d/rbenv.sh
echo 'eval "$(rbenv init -)"' &amp;gt;&amp;gt; /etc/profile.d/rbenv.sh

chmod +x /etc/profile.d/rbenv.sh
source /etc/profile.d/rbenv.sh

# Install ruby-build:
pushd /tmp
  git clone git://github.com/sstephenson/ruby-build.git
  cd ruby-build
  ./install.sh
popd

# Install Ruby 1.9.3-p0:
rbenv install 1.9.3-p0
rbenv global 1.9.3-p0

# Rehash:
rbenv rehash
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Confirming that I am running the new version:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ruby -v
# ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Updating Passenger&lt;/h3&gt;

&lt;p&gt;Now I needed to update Passenger to work with the new version of Ruby. All there was to do was to install the passenger gem, following the &lt;a href="http://www.modrails.com/install.html" title='Install — Phusion Passenger" (a.k.a. mod_rails / mod_rack)'&gt;instructions on their website&lt;/a&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;gem install passenger

passenger-install-apache2-module
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;At the end of the installation, I got the configuration lines to paste into the Apache2 config file. I replaced my old settings with these updated ones:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;LoadModule passenger_module /usr/local/rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/passenger-3.0.11/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/passenger-3.0.11
PassengerRuby /usr/local/rbenv/versions/1.9.3-p0/bin/ruby
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Bundler&lt;/h3&gt;

&lt;p&gt;The only thing that was missing to be able to deploy my Rails 3/Ruby 1.9 version of my app was to install &lt;a href="http://gembundler.com/" title="Bundler: The best way to manage Ruby applications"&gt;Bundler&lt;/a&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;gem install bundler
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Done&lt;/h3&gt;

&lt;p&gt;This was all that needed to be done to upgrade the Ruby version on my Linux/Ubuntu system using rbenv. I hope these instructions will help someone else, too.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/14005159872</link><guid>http://blog.danielpietzsch.com/post/14005159872</guid><pubDate>Sat, 10 Dec 2011 19:41:00 +1300</pubDate><category>coding</category></item><item><title>Pow and Rails 2.3.x apps</title><description>&lt;p&gt;&lt;a href="http://pow.cx/" title="Pow: Zero-configuration Rack server for Mac OS X"&gt;Pow&lt;/a&gt; has just been released by &lt;a href="http://37signals.com/" title="37signals: Web-based collaboration apps for small business"&gt;37signals&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Knock Out Rails &amp;amp; Rack Apps Like a Superhero.&lt;br/&gt;
  Pow is a zero-config Rack server for Mac OS X. Have it serving your apps locally in under a minute.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Usually, there&amp;#8217;s no configuration needed at all, but in order to get my old Rails 2.3.x apps running, I needed to &amp;#8220;rackup&amp;#8221; all of these. Following the &lt;a href="http://guides.rubyonrails.org/v2.3.10/rails_on_rack.html#rackup" title="Ruby on Rails Guides: Rails on Rack"&gt;Rails Guides instructions&lt;/a&gt;, I had to create a config.ru file with the following contents:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# RAILS_ROOT/config.ru
require "config/environment"

use Rails::Rack::LogTailer
use Rails::Rack::Static
run ActionController::Dispatcher.new
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then I was good to go.&lt;br/&gt;
Unless&amp;#8230;&lt;/p&gt;

&lt;!-- more --&gt;

&lt;p&gt;When I tried to symlink the app in the &lt;code&gt;~/.pow&lt;/code&gt; directory - as described on &lt;a href="http://pow.cx/" title="Pow: Zero-configuration Rack server for Mac OS X"&gt;the pow homepage&lt;/a&gt; - I got the following error:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;~/.pow $ ln -s /path/to/myapp
ln: ./: File exists
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But that was easy. I just had to add the name of the symlink explicitly:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;~/.pow $ ln -s /path/to/myapp myapp
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now, I was really up and running with my Rails 2.3.x apps and pow. &lt;a href="http://twitter.com/#!/pie4dan/status/4391706623475712" title="Twitter"&gt;Bye bye Passenger&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;(Be sure to have a look at the &lt;a href="http://pow.cx/docs/" title="index.coffee"&gt;documentation&lt;/a&gt;. It&amp;#8217;s the best source code documentation I&amp;#8217;ve ever seen.)&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/4431336602</link><guid>http://blog.danielpietzsch.com/post/4431336602</guid><pubDate>Fri, 08 Apr 2011 14:12:00 +1200</pubDate><category>coding</category></item><item><title>One month after the Christchurch earthquake</title><description>&lt;p&gt;We have been lucky. We weren&amp;#8217;t in &lt;a href="http://maps.google.co.nz/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Christchurch&amp;amp;aq=&amp;amp;sll=-40.111689,173.803711&amp;amp;sspn=13.803385,19.6875&amp;amp;ie=UTF8&amp;amp;hq=&amp;amp;hnear=Christchurch,+Canterbury&amp;amp;ll=-41.722131,173.276367&amp;amp;spn=13.474223,19.6875&amp;amp;t=h&amp;amp;z=6"&gt;Christchurch&lt;/a&gt; when the 6.3 earthquake hit just before 1pm on Tuesday, Feb. 22nd 2011. We were hiking through the mountains near Glenorchy/Queenstown (approx. 400km away to the south-west).&lt;br/&gt;
A hut warden was present on this track and he told us on Wednesday morning what has happened. He also offered us to make one call via radio (there&amp;#8217;s no cell-phone coverage in NZ&amp;#8217;s mountains). The connection was short, but we managed to reach our neighbours to ask if they are ok and if their and our houses are still standing.&lt;br/&gt;
Everything was ok, and so we went ahead with the normal plan and continued walking for the next couple of days.&lt;/p&gt;

&lt;p&gt;Only after we came back on Saturday, we realized the degree of destruction this earthquake caused. It was terrible to see all the pictures.&lt;/p&gt;

&lt;!-- more --&gt;

&lt;p&gt;We drove home on Sunday only to grab a few things and then leave again. We didn&amp;#8217;t feel safe in our house on the hill, although it wasn&amp;#8217;t looking bad on the outside. The inside was a bit of a mess, but we expected things to be worse.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5481090277/" title="Earthquake damage 1 by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5098/5481090277_cacee880e5.jpg" width="375" height="500" alt="Earthquake damage 1"/&gt;&lt;/a&gt;
&lt;a href="http://www.flickr.com/photos/pie4dan/5481692254/" title="Earthquake damage 2 by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5056/5481692254_78abf27124.jpg" width="375" height="500" alt="Earthquake damage 2"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At first, we spent two nights on a campground in western Christchurch, before my company organised flights for us to &lt;a href="http://maps.google.co.nz/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Auckland&amp;amp;aq=&amp;amp;sll=-43.575353,172.762574&amp;amp;sspn=0.051113,0.076904&amp;amp;g=Christchurch,+Sumner,+Canterbury&amp;amp;ie=UTF8&amp;amp;hq=&amp;amp;hnear=Auckland&amp;amp;ll=-40.111689,173.803711&amp;amp;spn=13.803385,19.6875&amp;amp;t=h&amp;amp;z=6"&gt;Auckland&lt;/a&gt;. We ended up staying there for almost 3 weeks in an unfurnished flat. &lt;a href="http://twitter.com/#!/pie4dan/status/42819941690380288"&gt;It was not exactly comfortable&lt;/a&gt;, but still more comfortable than being in Christchurch, having no running water and sometimes no power. No shaking was a big bonus, too.&lt;/p&gt;

&lt;p&gt;We returned last Sunday. Wednesday evening I went out with my &lt;a href="http://www.flickr.com/photos/pie4dan/5365907661/"&gt;GF1&lt;/a&gt; to take some pictures of the visible damage in &lt;a href="http://maps.google.co.nz/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Christchurch,+Sumner,+Canterbury&amp;amp;aq=1&amp;amp;sll=-44.024422,170.518799&amp;amp;sspn=6.493277,9.84375&amp;amp;ie=UTF8&amp;amp;hq=&amp;amp;hnear=Sumner,+Canterbury&amp;amp;t=h&amp;amp;z=14"&gt;Sumner&lt;/a&gt;, the suburb we live in.&lt;br/&gt;
I need to say that most buildings are looking ok and that you don&amp;#8217;t see lots of obvious major damage everywhere. But you certainly won&amp;#8217;t overlook it, either.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5557685585/" title="Recovering after the earthquake by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5268/5557685585_083d532e85_z.jpg" width="480" height="640" alt="Recovering after the earthquake"/&gt;&lt;/a&gt;
&lt;em&gt;Recovering after the earthquake: The time on the Sumner clocktower is the one when the earthquake happend. Just before 1 PM.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558270224/" title="Contaminated Water by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5181/5558270224_e12bb030ec.jpg" width="500" height="375" alt="Contaminated Water"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558270928/" title="Crack by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5183/5558270928_9ec550dbf8.jpg" width="500" height="375" alt="Crack"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558271632/" title="Red Loo by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5174/5558271632_54c2642796_z.jpg" width="480" height="640" alt="Red Loo"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;You see quite a few of these Port-a-loos in the street. Water was not available first (it is restored now), and the sewage system is still not running properly again.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558272518/" title="Sumner Church by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5024/5558272518_eee237cb2d_z.jpg" width="480" height="640" alt="Sumner Church"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;Sumner Church had some considerable damage after the quake in September, and the Febuary one made it worse.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5557689409/" title="Water tank by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5096/5557689409_b829602132.jpg" width="500" height="375" alt="Water tank"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;Water tank: before running water was restored, you had to get water from one of these tanks.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558275506/" title="Road Closed by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5110/5558275506_06293cf45f.jpg" width="500" height="375" alt="Road Closed"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558277984/" title="RSA Buildings destroyed #2 by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5053/5558277984_e3cf9de081_z.jpg" width="480" height="640" alt="RSA Buildings destroyed #2"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;A huge rock came down from the cliff in the background.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558278804/" title="RSA Buildings destroyed #3 by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5027/5558278804_9861cab5e8_z.jpg" width="480" height="640" alt="RSA Buildings destroyed #3"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5557696189/" title="Bring your own cellar survivors by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5225/5557696189_311064f19e.jpg" width="500" height="375" alt="Bring your own cellar survivors"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;The Cornershop Bistro. Awesome restaurant where we spent a lovely evening not long ago.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5557696715/" title="Ruptured Duck Ruptured by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5100/5557696715_83aefd0393.jpg" width="500" height="375" alt="Ruptured Duck Ruptured"/&gt;&lt;/a&gt;
&lt;a href="http://www.flickr.com/photos/pie4dan/5557697241/" title="Ruptured Duck Remains by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5107/5557697241_668148615e.jpg" width="500" height="375" alt="Ruptured Duck Remains"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;&amp;#8220;The Ruptured Duck&amp;#8221; restaurant was heavily damaged after the September quake and this one now put it over the edge. It was still standing after the quake, but got demolished now.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558281914/" title="Keep Out by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5103/5558281914_d0ff6a1bb0_z.jpg" width="480" height="640" alt="Keep Out"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;Brick buildings are often hit worst.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558285846/" title="Over the Edge by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5030/5558285846_8e49f0cf10_z.jpg" width="480" height="640" alt="Over the Edge"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;Some properties are now a bit too close to the edge.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558289930/" title="No Entry - Not Safe by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5134/5558289930_bd3b141cde_z.jpg" width="480" height="640" alt="No Entry - Not Safe"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/pie4dan/5558288596/" title="Where's the roof? by pie4dan, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5135/5558288596_f0814bc1c6.jpg" width="500" height="375" alt="Where's the roof?"/&gt;&lt;/a&gt;&lt;br/&gt;&lt;em&gt;Where&amp;#8217;s the roof?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You can see all the pictures in my Flickr set &lt;a href="http://www.flickr.com/photos/pie4dan/sets/72157626220585909/"&gt;&amp;#8220;Earthquake damage in Sumner&amp;#8221;&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/4082591544</link><guid>http://blog.danielpietzsch.com/post/4082591544</guid><pubDate>Sat, 26 Mar 2011 00:17:00 +1300</pubDate><category>photography</category><category>about</category><category>eqnz</category></item><item><title>"The best software should be understated and unobtrusive."</title><description>“The best software should be understated and unobtrusive.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;p&gt;&lt;a href="http://dannorth.net/2011/01/11/programming-is-not-a-craft/"&gt;Programming is not a craft « DanNorth.net&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An absolute must-read!&lt;/p&gt;

&lt;p&gt;(via &lt;a href="http://www.instapaper.com/"&gt;Instapaper&lt;/a&gt;)&lt;/p&gt;&lt;/em&gt;</description><link>http://blog.danielpietzsch.com/post/2709069122</link><guid>http://blog.danielpietzsch.com/post/2709069122</guid><pubDate>Wed, 12 Jan 2011 18:07:25 +1300</pubDate></item><item><title>jkleske:

Behind the TEDTalk 2010 – video by mssng peces...</title><description>&lt;iframe src="http://player.vimeo.com/video/15743041?portrait=0&amp;color=ffffff" width="400" height="225" frameborder="0"&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://jkleske.tumblr.com/post/2653100866/behind-the-tedtalk-2010-video-by-mssng-peces" class="tumblr_blog"&gt;jkleske&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Behind the TEDTalk 2010 – video by mssng peces (via &lt;a href="http://altnytterfarlig.tumblr.com/post/2643505361/inspirational-insight-into-a-presenters-mindset"&gt;altnytterfarlig&lt;/a&gt;)&lt;/p&gt;&lt;/blockquote&gt;</description><link>http://blog.danielpietzsch.com/post/2665984605</link><guid>http://blog.danielpietzsch.com/post/2665984605</guid><pubDate>Sun, 09 Jan 2011 22:45:53 +1300</pubDate></item><item><title>"[Birds] are not all smart - there are too many species and variations for that - but the smart ones..."</title><description>“[Birds] are not all smart - there are too many species and variations for that - but the smart ones are as impressive as a toddler who can fly.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Alex Vlack in the epilogue to Andrew Zuckerman’s “Bird”&lt;/em&gt;</description><link>http://blog.danielpietzsch.com/post/2664723234</link><guid>http://blog.danielpietzsch.com/post/2664723234</guid><pubDate>Sun, 09 Jan 2011 20:22:13 +1300</pubDate></item><item><title>Feature Branches</title><description>&lt;p&gt;When I am creating a new feature for an app, I sometimes realize halfway through that the way I am building it, is not the proper way to do so. Or the specification changes. Or there was a misunderstanding. Or there&amp;#8217;s an unexpected bug that needs to be fixed and go onto the production server as soon as possible.&lt;br/&gt;
Then, when you did all development on the main branch (&lt;a href="http://www.trifectagis.com/" title="Trifecta | Homepage"&gt;we&lt;/a&gt; use &lt;a href="http://git-scm.com/" title="Git - Fast Version Control System"&gt;Git&lt;/a&gt;, so that&amp;#8217;s the &lt;em&gt;master&lt;/em&gt; branch in that case), undoing things and/or doing a quick deployment can get very inconvenient. You can&amp;#8217;t just deploy a quick bug fix, because all other half-finished features and fixes would have to be deployed, too. You can&amp;#8217;t easily revert the existing commits for that feature, especially if the commits are mixed with all the other commits of unrelated features.&lt;/p&gt;

&lt;!-- more --&gt;

&lt;p&gt;A good way to get rid of this problem is to create a local feature branch &lt;em&gt;every time&lt;/em&gt; you want to work on a new feature. That branch doesn&amp;#8217;t need to be pushed to the remote repository on the server. It&amp;#8217;s just for you.&lt;br/&gt;
Then, all development for that feature happens in this branch exclusively. For every new feature a new branch is created. After a feature has been implemented completely, merge it back to the master branch (or whatever branch is appropriate). With Git, that&amp;#8217;s super easy:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# create a new branch new_feature based on master and switch to it
git checkout -b new_feature master

# when you're done, merge it back
git checkout master
git merge new_feature

# when you are sure everything is working properly
# and no further work needs to be done for this feature,
# you can delete the feature branch again:
git branch -d new_feature
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Too often I thought, &amp;#8220;I won&amp;#8217;t need an extra feature branch for that&amp;#8221;. But all it takes is one simple Git command to create one (and it&amp;#8217;s probably equally simple in other modern &lt;a href="http://en.wikipedia.org/wiki/Distributed_revision_control" title="Distributed revision control - Wikipedia, the free encyclopedia"&gt;DVCSes&lt;/a&gt;). It will make your life easier when coding new features.&lt;/p&gt;

&lt;h3&gt;Bonus tip&lt;/h3&gt;

&lt;p&gt;If you decide you want to discard all the development on a particular branch, except for one or two commits, you can &lt;a href="http://www.kernel.org/pub/software/scm/git/docs/git-cherry-pick.html" title="git-cherry-pick(1)"&gt;cherry pick&lt;/a&gt; these commits from the discarded branch:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# say, you have a commit 'bd42c4e7' you would like to keep
# switch to the branch you want to copy the commit to
git checkout master

# copy it
git cherry-pick bd42c4e7
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Update&lt;/em&gt;&lt;/strong&gt;: there&amp;#8217;s a nice post on the &lt;a href="http://robots.thoughtbot.com"&gt;Giant Robots&lt;/a&gt; blog which I like to recommend for further reading: &lt;a href="http://robots.thoughtbot.com/post/4747482956/streamline-your-git-workflow-with-aliases"&gt;Streamline your git workflow with aliases&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.danielpietzsch.com/post/2630069679</link><guid>http://blog.danielpietzsch.com/post/2630069679</guid><pubDate>Fri, 07 Jan 2011 14:18:00 +1300</pubDate><category>coding</category></item></channel></rss>

