<?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>Rabbit Creative</title>
	<atom:link href="http://www.rabbitcreative.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rabbitcreative.com</link>
	<description>ruby, rails, objects and &#60;del&#62;politics&#60;/del&#62; markets</description>
	<lastBuildDate>Fri, 20 Aug 2010 17:57:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The painted door.</title>
		<link>http://www.rabbitcreative.com/2010/08/19/the-painted-door/</link>
		<comments>http://www.rabbitcreative.com/2010/08/19/the-painted-door/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 04:14:57 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=463</guid>
		<description><![CDATA[I’ve learned that my mind is like a movie with no end. I, of course, am the director. I can pick any scene, any time period, any where in the world or any other world. Instantly. It’s gratifying. It’s the ultimate video game. And the best part is, I can enter this simulation any time [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve learned that my mind is like a movie with no end. I, of course, am the director. I can pick any scene, any time period, any where in the world or any other world. Instantly. It’s gratifying. It’s the ultimate video game. And the best part is, I can enter this simulation any time I want. I am a master of my mind.</p>
<p>Except there’s just one problem. Please understand, what I have described is entirely accurate, except one part. I’m not the master; I am the slave.</p>
<p>I love freedom. The thought of being a slave is unbearable. So I started looking. What I am finding is that when I think I’m directing and watching movies of my choice, I’m actually paralyzing myself. What is actually happening is I am perpetually and viciously making short-lived connections within my brain. In english: I’m refusing to focus. As a result, I am failing to learn. To me, the world has been the same as it was 5 years ago. In the past two months I am certain I have pounded enough anti-venom into my soul that it found the strength to throw a wrench into the mechanistic modalities I have chosen to steer my life with.</p>
<p>This anti-venom, which I will share with you, isn’t a cure-all. It’s not something you can purchase with any medium of exchange. Except one. Your time. Time is the ingredient to so many things. Growing up in a semi-capitalisitc nation with an anti-capitalist agenda has provided two things. The first is bad advice. The second is a personality conflict.</p>
<p>With regards to the bad advice, I don’t think anyone I know has ever really hurt me on purpose. I believe every one I have ever known really meant well; they thought they were doing the right thing. And I can honestly say I am grateful for everything every one of them has ever tried to do for me. To be certain, not of all of it was bad. Some of it was powerful stuff. I’m asking myself, “If it was so powerful, why didn’t you use it?”. And my answer is, “Because I was off horsing around in my mind when it was being given.”</p>
<p>The personality conflict is my own demon. I’ve let it grown. I sought out connections that helped stifle growth. I sought refuge in the echo chamber of my insecurities and excuses. My very own shrine to mediocrity. The scary part isn’t that I built it; the scary part is that I never really left.</p>
<p>The interesting part of this transformation is that it’s both immediate and gradual. I believe Tony Robbins is correct when he says that change happens in an instant. Change does. Decisions can take time. I think it’s possible for aspects of my existence to learn, transform or adapt more slowly than others. So in this sense, my overall “change” has been gradual. Let me try my hand at a story&#8230;</p>
<p>Let’s borrow our earlier idea of having built a shrine of mediocrity. Imagine living inside the shrine. There are no windows in this shrine. Because I wanted to see the mountains, sky and sun, I painted them. I rendered them beautifully. I was so smart. Look at what I can create. A neuron fires. A connection attempt is made. A busy signal. The spark fades. The neuron chills. Some where inside me was a ray of hope. From whence it shown I do not know; it is hiding. What I do know is that that ray of hope shown its light on an empty wall. And it inspired me to paint a door. Until today, that door has never been opened. I’d thought about it. I really did. No I didn’t. I’d collapse next to it and cry. Or curse it. Why did I ever paint this foul thing. It does nothing but remind me!</p>
<p>Thank goodness. My hand is on the door knob. My eyes are closed. My nose points towards the earth. I inhale. Slowly, deeply, fully. Exhale. Turn the knob&#8230;</p>
<p>The door is opened. Ajar, really. I see&#8230; another ray. This one doesn’t move though. It’s apparently not coming from me. Or is it? Well, if I hadn’t opened the door, I wouldn’t be seeing it. So, even though it’s not coming from me, it’s not going to come to me. I have to go to it. So I must open this door wide enough for me to fit through.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2010/08/19/the-painted-door/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catching on.</title>
		<link>http://www.rabbitcreative.com/2010/08/08/catching-on/</link>
		<comments>http://www.rabbitcreative.com/2010/08/08/catching-on/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 04:06:28 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=460</guid>
		<description><![CDATA[In the infinite darkness of the universe, you can find light in two ways. The first is to gain the second-use benefits of light created by others. Second, you can kindle your own light. I am certain that it is better in life to kindle your own light. You need recall only one thing: you [...]]]></description>
			<content:encoded><![CDATA[<p>In the infinite darkness of the universe, you can find light in two ways. The first is to gain the second-use benefits of light created by others. Second, you can kindle your own light.</p>
<p>I am certain that it is better in life to kindle your own light. You need recall only one thing: you only have to light one fire. The first fire. Your fire. And then, just like a real fire, it ignites and lights up most anything that it touches. It is in this way that you light your own path.</p>
<p>The price you pay in darkness looking forward is outmatched by the luminosity of the trail you have blazed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2010/08/08/catching-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tap into ActiveRecord&#8217;s sanitization methods.</title>
		<link>http://www.rabbitcreative.com/2010/04/20/tap-into-activerecords-sanitization-methods/</link>
		<comments>http://www.rabbitcreative.com/2010/04/20/tap-into-activerecords-sanitization-methods/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 17:15:45 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=445</guid>
		<description><![CDATA[Object instantiation is expensive. object.association.create&#40;...&#41; But at the same time you get the power of ActiveRecord&#8217;s beautiful sanitization methods. Now you can have that same power without as much overhead. values = ActiveRecord::Base.send&#40;:sanitize_sql_array, &#91; '?, ?, ?', x, y, z &#93;&#41; Familiar syntax is familiar. Now use it. ActiveRecord::Base.connection.execute&#40;%&#123;INSERT INTO objects &#40;x, y, z&#41; VALUES [...]]]></description>
			<content:encoded><![CDATA[<p>Object instantiation is expensive.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">object.<span style="color:#9900CC;">association</span>.<span style="color:#9900CC;">create</span><span style="color:#006600; font-weight:bold;">&#40;</span>...<span style="color:#006600; font-weight:bold;">&#41;</span></pre></div></div>

<p>But at the same time you get the power of ActiveRecord&#8217;s beautiful sanitization methods. Now you can have that same power without as much overhead.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">values = <span style="color:#6666ff; font-weight:bold;">ActiveRecord::Base</span>.<span style="color:#9900CC;">send</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:sanitize_sql_array</span>, <span style="color:#006600; font-weight:bold;">&#91;</span> <span style="color:#996600;">'?, ?, ?'</span>, x, y, z <span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span></pre></div></div>

<p>Familiar syntax is familiar. Now use it.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#6666ff; font-weight:bold;">ActiveRecord::Base</span>.<span style="color:#9900CC;">connection</span>.<span style="color:#9900CC;">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">%</span><span style="color:#006600; font-weight:bold;">&#123;</span>INSERT INTO objects <span style="color:#006600; font-weight:bold;">&#40;</span>x, y, z<span style="color:#006600; font-weight:bold;">&#41;</span> VALUES <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#008000; font-style:italic;">#{ values })})</span></pre></div></div>

<p>Presto beautiful!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2010/04/20/tap-into-activerecords-sanitization-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Period of sec.</title>
		<link>http://www.rabbitcreative.com/2010/04/12/period-of-sec/</link>
		<comments>http://www.rabbitcreative.com/2010/04/12/period-of-sec/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 03:37:48 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=437</guid>
		<description><![CDATA[The period of sec is 2pi.]]></description>
			<content:encoded><![CDATA[<p>The period of sec is 2pi.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/04/Screen-shot-2010-04-12-at-8.38.42-PM.png" alt="" title="Screen shot 2010-04-12 at 8.38.42 PM" width="629" height="539" class="alignnone size-full wp-image-441" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2010/04/12/period-of-sec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allow Rails to send e-mail in development mode.</title>
		<link>http://www.rabbitcreative.com/2010/04/12/allow-rails-to-send-e-mail-in-development-mode/</link>
		<comments>http://www.rabbitcreative.com/2010/04/12/allow-rails-to-send-e-mail-in-development-mode/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 17:29:23 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=432</guid>
		<description><![CDATA[Add this line to your config/environment.rb: Rails::Initializer.run do &#124;config&#124; ... config.action_mailer.delivery_method = :sendmail # add this line end Only tested in Rails 2.3.5 on OS X (10.6) (I don&#8217;t imagine this working by default on Windows), but I imagine it&#8217;ll work for any 2.x app. I dunno about Rails 3.x or 1.x. If you have [...]]]></description>
			<content:encoded><![CDATA[<p>Add this line to your config/environment.rb:</p>
<p><code lang="ruby"><br />
Rails::Initializer.run do |config|<br />
  ...<br />
  config.action_mailer.delivery_method = :sendmail # add this line<br />
end<br />
</code></p>
<p>Only tested in Rails 2.3.5 on OS X (10.6) (I don&#8217;t imagine this working by default on Windows), but I imagine it&#8217;ll work for any 2.x app. I dunno about Rails 3.x or 1.x. If you have more information, drop me a line in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2010/04/12/allow-rails-to-send-e-mail-in-development-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
