<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Chris Blazek's Ramblings]]></title>
  <link href="http://kingbin.github.com/atom.xml" rel="self"/>
  <link href="http://kingbin.github.com/"/>
  <updated>2013-05-02T23:20:34-05:00</updated>
  <id>http://kingbin.github.com/</id>
  <author>
    <name><![CDATA[Chris Blazek]]></name>
    <email><![CDATA[chris.blazek@gmail.com]]></email>
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[hard to walk away]]></title>
    <link href="http://kingbin.github.com/blog/2013/05/02/hard-to-walk-away/"/>
    <updated>2013-05-02T19:43:00-05:00</updated>
    <id>http://kingbin.github.com/blog/2013/05/02/hard-to-walk-away</id>
    <content type="html"><![CDATA[<h3>It&#8217;s HARD to walk away some days</h3>

<p>I&#8217;ve been training for triathlons and I started out following a plan from active.com. Specifically training for an Olympic length in June. I&#8217;ve been putting in more miles than the plan requires, doing what I feel is comfortable 6 days a week. I am getting a ton of miles in a week over swim/bike/run. I am doing activities that I LOVE and I want more!</p>


<p> I signed up for my first tri this weekend. I&#8217;m a little (my wife would say very) anxious for the race. I&#8217;m not really competitive with other individuals but more for just setting goals for myself. This is my journey to hopefully a 1/2 IM. I&#8217;ve got my wetsuit and gear all prepped. I need to switch out my training tire on the bike after I do one more practice ride (It&#8217;s freezing 30+ mph winds!). I swam 2 1k drills last night. I&#8217;ve got my hammer supplements ready. The swim will start out in the 40&#8217;s and by the time bike/run rolls around, it should be in the mid 50&#8217;s.</p>


<p>I have learned so much about myself and life by participating in these events. I feel at peace with everything in my life as I spend my time training for these events. I can feel God right beside me every mile of the journey. I have learned that I&#8217;m not in control, the only thing I do have control of is to keep moving forward through the glory & pain. I can&#8217;t wait for my boys to experience this high with me.</p>


<p>In two weeks I&#8217;ll be down in Blanco for a bike race. I can&#8217;t wait to meet up with an old high school friend to tackle the hills. Another experience I&#8217;m greatful to enjoy.</p>


<p>I&#8217;ve been really excited about work. A couple weeks ago I was moved to the team that works on web & mobile development. In a given day I&#8217;ll work on node/javascript/ember mvc/c++ wrappers/ruby/c#/pascal. I&#8217;ve been working on a solution to hotload resources to clients through javascript libraries. I&#8217;ve got a rock solid bower server implemented with oauth & a start to websockets for updates. I&#8217;m excited where the projects are going and it&#8217;s hard to break away for lunch. I wake up in the morning with a ton of things I want to get done and I can&#8217;t wait to get started.</p>


<br/><p>Life is good!</p>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Cats Meow]]></title>
    <link href="http://kingbin.github.com/blog/2012/12/23/cats/"/>
    <updated>2012-12-23T13:48:00-06:00</updated>
    <id>http://kingbin.github.com/blog/2012/12/23/cats</id>
    <content type="html"><![CDATA[<p><img src="http://placekitten.com/890/280"></p>

<figure class='code'><figcaption><span>Time to be Awesome - awesome.rb </span></figcaption>
 <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class='rb'><span class='line'><span class="nb">puts</span> <span class="s2">&quot;Awesome!&quot;</span> <span class="k">unless</span> <span class="n">lame</span>
</span></code></pre></td></tr></table></div></figure>


<p>Well this is a fun new adventure for my blog.</p>

<p>It&#8217;s moved from blogger.com to a locally hosted site, then to a local wordress install and now gh-pages.</p>

<p>I haven&#8217;t migrated the old content and I&#8217;m not sure I will. I moved to ghpages because my new provider blocks port 80. I was told that port was for nothing but malicious intents.</p>

<p>This new format allows me to use rake commands to generate new posts, test and deploy along with ties to github. I appreciate the approach because it allows me to work in the tools I would spend all day in if I could. I&#8217;m using erb templates and other slick plugins that make sense to me as a developer.</p>

<p>I need to figure out how I want to handle some of the little development I did at the house. I went to dyndns and you have to now pay for the service. I believe you can cancel the trial and still be limited to one host. Which will work for what I want to do. I still need to setup the CNAME aliases to point to different services I run at the house.</p>

<p>Probably the best part about all this is that I&#8217;m using VI to create posts.</p>

<p>PS: I&#8217;m on a mac and had to add a link to the python 2.7 include dir for rake generate this post. I&#8217;m not sure if it&#8217;s documented anywhere, but anywo&#8230;</p>

<figure class='code'><figcaption><span>rake generate error </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
<span class='line-number'>7</span>
<span class='line-number'>8</span>
<span class='line-number'>9</span>
<span class='line-number'>10</span>
<span class='line-number'>11</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>Building site: source -> public
</span><span class='line'>Traceback (most recent call last):
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 565, in &lt;module>
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 547, in main
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 278, in addusersitepackages
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 253, in getusersitepackages
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 243, in getuserbase
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 523, in get_config_var
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 419, in get_config_vars
</span><span class='line'>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 298, in _init_posix
</span><span class='line'>IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)</span></code></pre></td></tr></table></div></figure>




<figure class='code'><figcaption><span>script ln for python </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/include /usr/include</span></code></pre></td></tr></table></div></figure>




<figure class='code'><figcaption><span> (fib.coffee)</span> <a href='http://kingbin.github.com/downloads/code/coffeescript/fib.coffee'>download</a></figcaption>
 <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
<span class='line-number'>7</span>
<span class='line-number'>8</span>
</pre></td><td class='code'><pre><code class='coffeescript'><span class='line'><span class="nv">fibonacci = </span><span class="nf">(n) -&gt;</span>
</span><span class='line'>  <span class="k">if</span> <span class="nx">n</span> <span class="o">&lt;=</span> <span class="mi">2</span>
</span><span class='line'>    <span class="nx">n</span>
</span><span class='line'>  <span class="k">else</span>
</span><span class='line'>    <span class="nx">arguments</span><span class="p">.</span><span class="nx">callee</span><span class="p">(</span><span class="nx">n</span> <span class="o">-</span> <span class="mi">2</span><span class="p">)</span> <span class="o">+</span> <span class="nx">arguments</span><span class="p">.</span><span class="nx">callee</span><span class="p">(</span><span class="nx">n</span> <span class="o">-</span> <span class="mi">1</span><span class="p">)</span>
</span><span class='line'>
</span><span class='line'><span class="k">for</span> <span class="nx">x</span> <span class="k">in</span> <span class="p">[</span><span class="mi">1</span><span class="p">..</span><span class="mi">10</span><span class="p">]</span>
</span><span class='line'>  <span class="nx">console</span><span class="p">.</span><span class="nx">log</span> <span class="s">&quot;</span><span class="si">#{</span><span class="nx">x</span><span class="si">}</span><span class="s"> : </span><span class="si">#{</span><span class="nx">fibonacci</span><span class="p">(</span><span class="nx">x</span><span class="p">)</span><span class="si">}</span><span class="s">&quot;</span>
</span></code></pre></td></tr></table></div></figure>



]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[To Switch Or Not]]></title>
    <link href="http://kingbin.github.com/blog/2012/11/08/to-switch-or-not/"/>
    <updated>2012-11-08T11:05:00-06:00</updated>
    <id>http://kingbin.github.com/blog/2012/11/08/to-switch-or-not</id>
    <content type="html"><![CDATA[<p>I&#8217;m testing octopress &amp; github&#8217;s pages hosting..</p>
]]></content>
  </entry>
  
</feed>
