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

<channel>
	<title>DL Redden</title>
	<atom:link href="http://www.dlredden.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dlredden.com</link>
	<description>Insights into life, business, health, relationships and technology</description>
	<lastBuildDate>Thu, 03 May 2012 15:40:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Pintrest Design Element</title>
		<link>http://www.dlredden.com/2011/10/pintrest-design-element/</link>
		<comments>http://www.dlredden.com/2011/10/pintrest-design-element/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:44:16 +0000</pubDate>
		<dc:creator>DL</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.dlredden.com/?p=120</guid>
		<description><![CDATA[I love the Pintrest &#8220;Scroll to Top&#8221; button. Great yet simple design element that makes the site extra usable.]]></description>
			<content:encoded><![CDATA[<p>I love the <a href="http://pintrest.com">Pintrest</a> &#8220;Scroll to Top&#8221; button. Great yet simple design element that makes the site extra usable.<br />
<a class="zoombox w169 h124" href="http://www.dlredden.com/wp-content/uploads/2011/09/pintrest_scroll2top.png"><img class="alignleft size-full wp-image-128" title="pintrest_scroll2top" src="http://www.dlredden.com/wp-content/uploads/2011/09/pintrest_scroll2top.png" alt="" width="169" height="124" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dlredden.com/2011/10/pintrest-design-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Children Are People Too?!</title>
		<link>http://www.dlredden.com/2011/08/children-are-people-too/</link>
		<comments>http://www.dlredden.com/2011/08/children-are-people-too/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 17:44:31 +0000</pubDate>
		<dc:creator>DL</dc:creator>
				<category><![CDATA[Faith]]></category>
		<category><![CDATA[Parenting]]></category>

		<guid isPermaLink="false">http://www.dlredden.com/?p=67</guid>
		<description><![CDATA[Over the course of my weekend I had several opportunities to &#8220;interact&#8221; with my kids. And by interact, I mean yell at them for doing things that I found to be annoying. And by annoying, I mean normal things that &#8230; <a href="http://www.dlredden.com/2011/08/children-are-people-too/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Over the course of my weekend I had several opportunities to &#8220;interact&#8221; with my kids. And by interact, I mean yell at them for doing things that I found to be annoying. And by annoying, I mean normal things that all kids do like dump ALL of the school supplies that my wife had worked so hard to separate out into one big pile on the floor. I&#8217;ve also begun to really notice just how much kids talk. OMG, they ask questions all the friggin&#8217; time, it&#8217;s freaking ridiculous how much attention they demand just by exhaling and engaging their voice box.</p>
<p>Anyway, as I was driving in to work today I was reflecting on my weekend and what it was like in regards to my kids and I started to feel bad once I realized how I had actually &#8220;talked&#8221; to my kids. I asked myself if I&#8217;d still use that same tone of voice if the person, who had done whatever it was that the child in question had done, wasn&#8217;t my child. What if it was a coworker or my spouse (well that&#8217;s not fare, I yell at her all the time too <img src='http://www.dlredden.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) that I was talking to? Would I approach them the same way or use more tact? Obviously (I say to myself) I&#8217;m not socially uncouth so I know that I would have used a more&#8230;.amiable tactic to try and achieve the same results.</p>
<p>Which quite succinctly brings me to my simple point. Just because my kids are my kids and just because they do stupid kid-like things and just because they talk all the friggin&#8217; time and get on my every last nerve does not give me any more right to talk down to them or &#8220;yell&#8221; at them than I might normally have. So I put myself in their shoes for a minute and here&#8217;s what I came up with.</p>
<p><em>What happens when people yell at us or talk down to us??</em> We get angry. I&#8217;d have to imagine that my kids get angry with me too when I don&#8217;t control my tongue with them. The Bible tells us to not provoke our children to anger.</p>
<blockquote><p>Fathers, do not provoke your children to anger, but bring them up in the discipline and instruction of the Lord.- <a title="Ephesians 6:4" href="http://www.biblegateway.com/passage/?search=Ephesians+6%3A4&amp;version=NASB" target="_blank">Ephesians 6:4</a></p></blockquote>
<p>A simple way to obey this is to talk to our kids with respect, always. Even if that means that for a while you have to pretend that they&#8217;re a coworker or our spouse, or to put it another way, <strong>someone with whom we wish to earn respect</strong>. Just treat them like they are people, because ultimately they are their own person, otherwise they wouldn&#8217;t use that little mind of theirs to do things that annoy us. <img src='http://www.dlredden.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dlredden.com/2011/08/children-are-people-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello Fat! Goodbye Fatty!</title>
		<link>http://www.dlredden.com/2009/07/hello-fat-goodbye-fatty/</link>
		<comments>http://www.dlredden.com/2009/07/hello-fat-goodbye-fatty/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 17:10:46 +0000</pubDate>
		<dc:creator>DL</dc:creator>
				<category><![CDATA[Fitness]]></category>
		<category><![CDATA[Primal]]></category>

		<guid isPermaLink="false">http://www.dlredden.com/?p=28</guid>
		<description><![CDATA[So I&#8217;ve been studying the Primal Blueprint(PB) a lot lately and I must say that I&#8217;ve been convinced. I should also point out that it&#8217;s not fare to say that I&#8217;ve just now been convinced since I&#8217;ve long thought that &#8230; <a href="http://www.dlredden.com/2009/07/hello-fat-goodbye-fatty/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been studying the <a title="http://www.marksdailyapple.com/definitive-guide-primal-blueprint/" href="http://www.marksdailyapple.com/definitive-guide-primal-blueprint/" target="_blank">Primal Blueprint</a>(PB) a lot lately and I must say that I&#8217;ve been convinced. I should also point out that it&#8217;s not fare to say that I&#8217;ve just now been convinced since I&#8217;ve long thought that the key to sustainable weight loss lies in limiting carbohydrate intake. However, it&#8217;s never been put to me in such a way that I was convicted to make drastic lifestyle changes.</p>
<p>In practice following the PB is pretty difficult despite it&#8217;s lovely simplicity, especially with two small kids in the house. Don&#8217;t get me wrong, I&#8217;m not blaming them. I&#8217;m completely at fault all on my own, I love Dr Pepper and candy like I love air. I simply mean that it&#8217;s difficult to come up with kid friendly snacks and meals that follow the PB when for last 31 years of my life I&#8217;ve had bread and other evil goodies to fill the nutrient void that now exists if I don&#8217;t get enough fruits, veggies and protein.</p>
<p>I&#8217;ve found that using vegetables as the primary focus of a meal is something that is quite difficult to do when your used to veggies being a side dish. Good new though, you get used to it. It&#8217;s been a good exercise in cooking since in order to keep things new and fresh your constantly looking for new ways to prepare veggies.</p>
<p>Probably the biggest mental hurdle that I&#8217;ve had to overcome while adopting the PB is that eating fat, lots of it by today&#8217;s conventional wisdom standard, is not only okay but encouraged as a vital source of nutrients. You see without loads of carbohydrates coursing through your system your body runs out of &#8220;quick&#8221; fuel real fast. That&#8217;s where the fat comes in. Once your body uses up the carbs that you engest it will switch over to fat for fuel.</p>
<p>I guess to give you something to take away from this post here are the three things that I&#8217;d say aremost crucial to shedding your fat stores.</p>
<ol>
<li>Eat lots of vegetables</li>
<li>Eat good quality protein (look for range fed, hormone and nitrate free everything)</li>
<li>Worry more about the carb content than the fat content
<ol>
<li>Remember if you strip out the carbs and replace them with fats your body will use the fat for energy and then deplete o your fat stores instead of using the leftover carb energy to increase them.</li>
</ol>
</li>
</ol>
<p>Remember that 90% of weight loss is diet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dlredden.com/2009/07/hello-fat-goodbye-fatty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Alphanumeric String Generator</title>
		<link>http://www.dlredden.com/2009/06/random-aplha-num-string-gen/</link>
		<comments>http://www.dlredden.com/2009/06/random-aplha-num-string-gen/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 20:44:34 +0000</pubDate>
		<dc:creator>DL</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.dlredden.com/?p=1</guid>
		<description><![CDATA[I recently needed to be able to generate a random alphanumeric string in ActionScript 3. After a little Googling I found an example that was written in C# on this post. I could have just used the code via a &#8230; <a href="http://www.dlredden.com/2009/06/random-aplha-num-string-gen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently needed to be able to generate a random alphanumeric string in ActionScript 3. After a little Googling I found an example that was written in C# on <a href="http://bytes.com/forum/thread671528.html">this post</a>. I could have just used the code via a remoting call but I didn&#8217;t really want to do that unless I had to.</p>
<p>As I read the code I realized it would be super easy to implement the same thing in AS3 and save myself the remoting call.</p>
<p>Here&#8217;s the C# code:</p>
<form id="codeblock1"><textarea class="csharp" name="code" rows="10" cols="60">public string GetRandomString (Random rnd, int length)<br />
{<br />
 string charPool = &#8220;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890&#8243;;<br />
 StringBuilder rs = new StringBuilder();</p>
<p> while (length&#8211; 0)<br />
 rs.Append(charPool[(int)(rnd.NextDouble() * charPool.Length)]);</p>
<p> return rs.ToString();<br />
}</textarea></form>
<p>and now the AS3 code:</p>
<form id="codeblock2"><textarea class="java" name="code" rows="10" cols="60">public function GenerateRandomAN(maxSize:int):String<br />
{<br />
   var randomAlphaNumeric:String = &#8220;&#8221;;<br />
   // Purposefully omitting 1, I, 0 and O since they look similar<br />
   var charPool:String = &#8220;ABCDEFGHJKLMNPQRSTUVWXYZ23456789&#8243;;<br />
   var randomNumberUnder100:int;</p>
<p>   for (var i:int = 0; i &lt; maxSize; i++)<br />
   {<br />
      randomNumberUnder100 = Math.floor((Math.random() * 100));<br />
      var position:int = randomNumberUnder100 % (charPool.length &#8211; 1);<br />
      randomAlphaNumeric += charPool.charAt(position);<br />
   }</p>
<p>   return randomAlphaNumeric;<br />
}</textarea></form>
]]></content:encoded>
			<wfw:commentRss>http://www.dlredden.com/2009/06/random-aplha-num-string-gen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

