<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Lemon Bytes</title>
	
	<link>http://stanlemon.net</link>
	<description>Husband, Father, Lutheran, Developer and Steelers fan</description>
	<lastBuildDate>Sat, 27 Apr 2013 14:47:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain="stanlemon.net" port="80" path="/?rsscloud=notify" registerProcedure="" protocol="http-post" />
<image>
		<url>http://0.gravatar.com/blavatar/a45df51d1226e4747e64153484523dcc?s=96&amp;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Lemon Bytes</title>
		<link>http://stanlemon.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://stanlemon.net/osd.xml" title="Lemon Bytes" />
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/stanlemon-posterous" /><feedburner:info uri="stanlemon-posterous" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://stanlemon.net/?pushpress=hub" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>The Demise of Posterous</title>
		<link>http://stanlemon.net/2013/04/27/the-demise-of-posterous/</link>
		<comments>http://stanlemon.net/2013/04/27/the-demise-of-posterous/#comments</comments>
		<pubDate>Sat, 27 Apr 2013 14:47:21 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">https://stanlemon.wordpress.com/?p=445</guid>
		<description><![CDATA[I have written elsewhere about my frustrations over the demise of Posterous. It&#8217;s now three days away and I have received yet another email reminding me to get my content off their site. Fortunately this time Posterous has a plan and a tool to enable its users to vacate its system. The whole mess bums [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=445&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have written elsewhere about my frustrations over the demise of Posterous. It&#8217;s now three days away and I have received yet another email reminding me to get my content off their site. Fortunately this time Posterous has a plan and a tool to enable its users to vacate its system. The whole mess bums me out thought. While not a prolific blogger, I really enjoyed the service and found their original model of email-to-blog profoundly simple and elegant. The problem is Posterous was a service without a plan or stream of income. </p>
<p>As a developer you can build cool stuff, but without a way to pay for the commodities needed to run it you wind up operating at someone else&#8217;s mercy. So when they get tired of their failed investment they either shut you down or sell you off, throwing the entire product you&#8217;ve been working on up in the air. In the case of Posterous, Twitter wanted awesome development talent. I get that. Having functioned on the hiring side of software development I can tell you inconclusively it is tough to find top notch developers. So it makes sense to me that rather than search for them Twitter would just buy them. </p>
<p>Unfortunately the fiscal irresponsibility of Posterous has left it&#8217;s users in a lurch. I don&#8217;t blame their CEO for selling, I blame him for starting the product in the first place. If I were him, making no money on my product, I would sell too. Why not? Better to sell then to fizzle away into irrelevance. People have to start thinking about this when they start a tech company. They need to develop with a business plan, not hope that one catches up to them later. Have a great idea for a start up? Awesome! Please don&#8217;t build it until you can pay for it or at the very least know how you are going to pay for it.</p>
<p>The worst part of a closure like this is that it breeds distrust. What services can I put my information on without worrying about them closing up? Will said service hold my data hostage from me when they do shutdown? And what obligations does a company like Posterous have to my privacy once they have closed the door. These questions only cause me to hold my breath every time a new service pops up. Yeah, it may look cool &#8211; but is it worth the risk as a user? What this in turn does is hurt the legitimate business that has an awesome idea and a business plan. That to me is just sad.</p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/445/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=445&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/04/27/the-demise-of-posterous/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>jGrowl on cdnjs</title>
		<link>http://stanlemon.net/2013/04/14/jgrowl-on-cdnjs/</link>
		<comments>http://stanlemon.net/2013/04/14/jgrowl-on-cdnjs/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 13:08:20 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://stanlemon.net/?p=441</guid>
		<description><![CDATA[jGrowl is officially on cdnjs.  This means that if you want to use jGrowl you don&#8217;t even have to download it anymore.  Simply add this code to your page and get started: Looking for a full-fledged example, checkout: Or click here to try it out on JS Bin right now! Many thanks to the good [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=441&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="https://github.com/stanlemon/jGrowl">jGrowl</a> is officially on <a href="http://cdnjs.com">cdnjs</a>.  This means that if you want to use <a href="https://github.com/stanlemon/jGrowl">jGrowl</a> you don&#8217;t even have to download it anymore.  Simply add this code to your page and get started:</p>
<p><script src="https://gist.github.com/stanlemon/5382662.js"></script></p>
<p>Looking for a full-fledged example, checkout:</p>
<p><script src="https://gist.github.com/stanlemon/5382659.js"></script></p>
<p><a href="http://jsbin.com/iqipox/1/edit"><strong>Or click here to try it out on JS Bin right now!</strong></a></p>
<p>Many thanks to the good folk at <a href="https://www.cloudflare.com">CloudFare</a> for <a href="http://cdnjs.com">cdnjs</a>!</p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/441/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=441&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/04/14/jgrowl-on-cdnjs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>jGrowl 1.2.12 and cdnjs PR</title>
		<link>http://stanlemon.net/2013/04/12/jgrowl-1-2-12-and-cdnjs-pr/</link>
		<comments>http://stanlemon.net/2013/04/12/jgrowl-1-2-12-and-cdnjs-pr/#comments</comments>
		<pubDate>Fri, 12 Apr 2013 20:21:05 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://stanlemon.net/?p=439</guid>
		<description><![CDATA[As promised, with 100+ stargazers on GitHub I&#8217;ve submitted a pull request to cdnjs from CloudFare for jGrowl. Before doing so I made a minor release update to jGrowl. There are no functional changes in 1.2.12, however I did improve the README to include documentation on the various configuration options and I also added a compressed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=439&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As promised, with 100+ stargazers on GitHub <a href="https://github.com/cdnjs/cdnjs/pull/1167">I&#8217;ve submitted a pull request</a> to <a href="http://cdnjs.com">cdnjs</a> from <a href="https://www.cloudflare.com">CloudFare</a> for <a href="http://github.com/stanlemon/jGrowl">jGrowl</a>. Before doing so I made a minor release update to jGrowl. There are no functional changes in 1.2.12, however I did improve the README to include documentation on the various configuration options and I also added a compressed version of the library with a source map.  If you don&#8217;t know what a source map is <a href="https://www.google.com/search?q=javascript+source+map">I suggest you google it</a>, because they&#8217;re pretty awesome.</p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/439/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=439&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/04/12/jgrowl-1-2-12-and-cdnjs-pr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>jGrowl in Chrome Extension</title>
		<link>http://stanlemon.net/2013/04/12/jgrowl-in-chrome-extension/</link>
		<comments>http://stanlemon.net/2013/04/12/jgrowl-in-chrome-extension/#comments</comments>
		<pubDate>Fri, 12 Apr 2013 09:00:16 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://stanlemon.net/?p=437</guid>
		<description><![CDATA[The other day someone on StackOverflow asked how to integrate jGrowl into a Chrome extension.  They had a pretty good start, but missed some important details.  I&#8217;ve uploaded a complete working Chrome extension with jGrowl to Github as part of my response to the question. The question can be found here: http://stackoverflow.com/questions/15870797/jgrowl-issue-in-chrome-extension The GitHub repository with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=437&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The other day someone on StackOverflow asked how to integrate <a href="http://github.com/stanlemon.net/jGrowl">jGrowl</a> into a Chrome extension.  They had a pretty good start, but missed some important details.  I&#8217;ve uploaded a complete working Chrome extension with jGrowl to Github as part of my response to the question.</p>
<p>The question can be found here: <a href="http://stackoverflow.com/questions/15870797/jgrowl-issue-in-chrome-extension">http://stackoverflow.com/questions/15870797/jgrowl-issue-in-chrome-extension</a></p>
<p>The GitHub repository with the example implementation can be found here: <a href="https://github.com/stanlemon/jgrowl-chrome-ext">https://github.com/stanlemon/jgrowl-chrome-ext</a></p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/437/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=437&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/04/12/jgrowl-in-chrome-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>What is it that I do?</title>
		<link>http://stanlemon.net/2013/04/04/what-is-it-that-i-do/</link>
		<comments>http://stanlemon.net/2013/04/04/what-is-it-that-i-do/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 01:52:37 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://stanlemon.net/?p=426</guid>
		<description><![CDATA[I get asked a lot what I do for a living.  I&#8217;ve responded in a variety ways, &#8220;I&#8217;m a developer&#8221;, &#8220;I&#8217;m a software engineer&#8221;, &#8220;I write web applications&#8221;, &#8220;I&#8217;m an application architect&#8221;, etc. Usually people respond by smiling, nodding their head and then professing that they have no idea what that means but they figure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=426&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I get asked a lot what I do for a living.  I&#8217;ve responded in a variety ways, &#8220;I&#8217;m a developer&#8221;, &#8220;I&#8217;m a software engineer&#8221;, &#8220;I write web applications&#8221;, &#8220;I&#8217;m an application architect&#8221;, etc. Usually people respond by smiling, nodding their head and then professing that they have no idea what that means but they figure it&#8217;s important.  The truth is I&#8217;m not just a &#8220;developer&#8221; or an &#8220;architect&#8221;.  I do deal with a fair amount of architectural things, design related things and a myriad of operational things too.  Tonight I realized one way in which I can illustrate what it is I do&#8230;  Think of when you buy a new computer.  You invest a lot of time in setting that new computer up.  You transfer files from your old computer, you setup your email, install software, configure your software, etc. My job is to do all of those steps you take to setup your computer and do it in one step, the push of a button. So I spend part of my day trying to figure out how to setup the systems that your favorite web software runs on in a single step.</p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/426/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=426&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/04/04/what-is-it-that-i-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>Stargazing jGrowl</title>
		<link>http://stanlemon.net/2013/03/26/stargazing-jgrowl/</link>
		<comments>http://stanlemon.net/2013/03/26/stargazing-jgrowl/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 11:00:17 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">https://stanlemon.wordpress.com/?p=364</guid>
		<description><![CDATA[I get a fair number of emails about jGrowl each week. Two common requests are 1.) Can you include a compressed version? 2.) Do you have a CDN? I used to ship a compressed version, but quite honestly I always forgot to update it so I wound up removing it. Plus, it never seemed like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=364&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I get a fair number of emails about jGrowl each week. Two common requests are 1.) Can you include a compressed version? 2.) Do you have a CDN?</p>
<p>I used to ship a compressed version, but quite honestly I always forgot to update it so I wound up removing it. Plus, it never seemed like I was using the right one, as I was always getting suggestions to try a different compression process. Nonetheless I am willing to give this another shot, but with a specific purpose&#8230;</p>
<p>CloudFare has their <a href="cdnjs.com">cdnjs.com</a> site which is an awesome contribution to the community for providing a CDN for all of the other JavaScript libraries you want to use. CloudFare&#8217;s cited criteria for putting a library up is 100 stargazers on github. So if you are reading this and either like, use or just admire jGrowl do me a favor and go star it over on github. If we reach 100 stargazers I&#8217;ll submit a request to cdnjs.com and see if we can&#8217;t get a compressed version of the library up on a CDN.</p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/364/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=364&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/03/26/stargazing-jgrowl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>Premature Jesus</title>
		<link>http://stanlemon.net/2013/03/25/premature-jesus/</link>
		<comments>http://stanlemon.net/2013/03/25/premature-jesus/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 11:00:49 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Lutheran]]></category>

		<guid isPermaLink="false">https://stanlemon.wordpress.com/?p=289</guid>
		<description><![CDATA[Normally on March 25th the church celebrates the Annunciation, when Mary is told that she will conceive and carry the Son of God in her womb. Typically this falls during Lent, which at first glance can seem odd, but then we remember a baby normally bakes for nine months, and nine months from now is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=289&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Normally on March 25th the church celebrates the Annunciation, when Mary is told that she will conceive and carry the Son of God in her womb. Typically this falls during Lent, which at first glance can seem odd, but then we remember a baby normally bakes for nine months, and nine months from now is Christmas&#8230; Well then it all adds up. Here&#8217;s the thing though&#8230; This year Jesus is going to be premature when Christmas comes around. He&#8217;s gonna bake about two weeks less this year because March 25th falls in the Monday of Holy Week. I&#8217;m told this would normally transfer the festival to after Holy Week, because nothing trumps Holy Week. But then there is the Octave of Easter and you can&#8217;t do the Sunday after Easter because Sundays during the seasons of Easter are privileged. So the Monday one week after Easter becomes the day we celebrate the Annunciation. That&#8217;s April 8th, the Monday of Quasimodo Geniti if you weren&#8217;t tracking yet.</p>
<p>I&#8217;ve been trying to think of how to adjust the algorithm on <a href="http://sanctus.org">Sanctus.org</a> to make this happen and quite frankly I think I&#8217;m going to take a Mulligan. Transferring a festival one day, I can handle, but transferring it two weeks and across a month presents some challenges. Nonetheless, in full disclosure I wanted to make it known that if you&#8217;re looking around for the Annunciation you won&#8217;t find it on Sanctus.org this year. Never fear though, <a href="http://higherthings.org">Higher Things</a> has you covered with <a href="http://higherthings.org/reflections/lent2013/2013-03-25">an awesome Reflection for the Annunciation</a>.</p>
<br />Filed under: <a href='http://stanlemon.net/category/lutheran/'>Lutheran</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=289&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/03/25/premature-jesus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>Percona, MySQL and Puppet</title>
		<link>http://stanlemon.net/2013/03/24/percona-mysql-and-puppet/</link>
		<comments>http://stanlemon.net/2013/03/24/percona-mysql-and-puppet/#comments</comments>
		<pubDate>Sun, 24 Mar 2013 10:00:31 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://stanlemon.net/?p=285</guid>
		<description><![CDATA[MySQL is one of the most widely used database servers for web development.  It&#8217;s free, has a wide range of support and is easy to get up and going.  Add to this native bindings in just about every language and you&#8217;ve got a pretty powerful databasing tool at your hands.  Percona is a MySQL consulting company [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=285&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>MySQL is one of the most widely used database servers for web development.  It&#8217;s <em>free</em>, has a wide range of support and is easy to get up and going.  Add to this native bindings in just about every language and you&#8217;ve got a pretty powerful databasing tool at your hands.  <a href="http://www.percona.com">Percona</a> is a MySQL consulting company with a super-awesome distribution of MySQL tuned for performance. For the most part Percona packages should be a drop-in replacement with MySQL. When it comes to system administration tasks I like to throw <a href="https://puppetlabs.com">Puppet</a> at the problem, it makes it easier to replay the configuration down the road and I can track the configuration changes in git. But there&#8217;s a problem when you change the package name for the defacto-standard <a href="https://github.com/puppetlabs/puppetlabs-mysql">Puppet MySQL module</a>.  The referencing of the service and the default pid file in the Percona distribution and subsequently the reload following install fails, as well as anything downstream of those items. This was unsatisfactory to me so I poked around to figure out a way to make this work, <a href="http://projects.puppetlabs.com/issues/19562">despite the bug in module</a>. Below is a Puppet manifest with some hackey&#8217;ness if you&#8217;re using Percona that will get it working and allow you to use the rest of the Puppet MySQL module without problems.</p>
<p><script src="https://gist.github.com/stanlemon/5178407.js"></script></p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=285&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/03/24/percona-mysql-and-puppet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL Strict Mode on OS X</title>
		<link>http://stanlemon.net/2013/03/23/mysql-strict-mode-on-os-x/</link>
		<comments>http://stanlemon.net/2013/03/23/mysql-strict-mode-on-os-x/#comments</comments>
		<pubDate>Sat, 23 Mar 2013 10:00:52 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://stanlemon.net/?p=283</guid>
		<description><![CDATA[If you are a web developer on OS X you probably are sporting your own installation of your database server.  If you are running MySQL you might be haunted by strict mode.  MySQL has modes as documented here that effect the behavior of various parts of the system.  In strict mode values do not get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=283&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are a web developer on OS X you probably are sporting your own installation of your database server.  If you are running MySQL you might be haunted by strict mode.  MySQL has modes <a href="http://dev.mysql.com/doc/refman/5.1/en/server-sql-mode.html">as documented here</a> that effect the behavior of various parts of the system.  In strict mode values do not get casted between types, which is where I ran into issues.  My favorite ORM was passing a boolean <em>true</em> into a <em>tinyint(1)</em> and causing the transaction to abort.  This is thanks to <a href="http://dev.mysql.com/doc/refman/5.1/en/server-sql-mode.html#sqlmode_strict_trans_tables">STRICT_TRANS_TABLES</a> in my case.  The first thing I checked was my <em>/etc/my.cnf</em> to see if &#8220;sql_mode&#8221; was set in the [mysqld] section.  It was not.  So I tried setting it to something other than <em>STRICT_TRANS_TABLES</em> and restarted MySQL.  No luck, the setting was still on.  After a lot of poking around I found out that MySQL for OS X from Oracle ships with a <em>/usr/local/mysql/my.cnf</em> which is loaded on startup. In this file is a sole configuration directive for <em>sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES.</em>  Once I commented this out and restarted the server strict mode was off, my ORM worked and I was happy.</p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=283&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/03/23/mysql-strict-mode-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
		<item>
		<title>Composer on OpenShift</title>
		<link>http://stanlemon.net/2013/03/22/composer-on-openshift/</link>
		<comments>http://stanlemon.net/2013/03/22/composer-on-openshift/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 10:00:24 +0000</pubDate>
		<dc:creator>stanlemon</dc:creator>
				<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://stanlemon.net/?p=278</guid>
		<description><![CDATA[Yesterday I talked about running composer on Amazon&#8217;s Elastic Beanstalk.  There it is builtin and works out of the box for you.  If you are on OpenShift (my preferred PaaS) composer does not come out of the box.  Matthew Weier O&#8217;Phinney has posted an article on the steps he took to get composer installing his project&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=278&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Yesterday I talked about running <a href="http://getcomposer.org">composer</a> on Amazon&#8217;s Elastic Beanstalk.  There it is builtin and works out of the box for you.  If you are on <a href="http://openshift.com">OpenShift</a> (my preferred PaaS) composer does not come out of the box.  <a href="http://www.mwop.net">Matthew Weier O&#8217;Phinney</a> has posted an article on the steps he took to get composer installing his project&#8217;s dependencies, and that&#8217;s definitely a worthy read.  However, my deployment hook for OpenShift is a little bit different and I wanted to share that.</p>
<p>There were two things I wanted to accomplish.  First, I did not want <em>composer.phar</em> in source control.  Second, I wanted to take advantage of composer&#8217;s ability to cache dependencies to speedup my deployment process up.  So here is what I use in my <em>./.openshift/action_hooks/deploy</em> script:</p>
<p><script src="https://gist.github.com/stanlemon/5177925.js"></script></p>
<p><em>As a bonus here&#8217;s a tip about markers&#8230; OpenShift will restart Apache and Zend Server with every deployment. You may not want or need to do this. If you don&#8217;t, simply touch a file to ./.openshift/markers/hot_deply and then next time you push your changes up OpenShift will leave all those services running when it deploys.</em></p>
<br />Filed under: <a href='http://stanlemon.net/category/developer/'>Developer</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stanlemon.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stanlemon.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stanlemon.net&#038;blog=12603744&#038;post=278&#038;subd=stanlemon&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stanlemon.net/2013/03/22/composer-on-openshift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a1d886922f1d9831c90d0e7d2a309f9e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">stanlemon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
