<?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>Honolulu Hacker</title>
	<atom:link href="http://honoluluhacker.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://honoluluhacker.com</link>
	<description>Tech, Linux, Rails by Honululu-based Kevin English</description>
	<lastBuildDate>Fri, 12 Oct 2012 04:04:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Monk Seal Software, up and running</title>
		<link>http://honoluluhacker.com/2012/10/11/monk-seal-software-up-and-running/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monk-seal-software-up-and-running</link>
		<comments>http://honoluluhacker.com/2012/10/11/monk-seal-software-up-and-running/#comments</comments>
		<pubDate>Fri, 12 Oct 2012 04:04:53 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1242</guid>
		<description><![CDATA[For those of you that don&#8217;t know, I&#8217;m rebranding under Monk Seal Software. New blog to come soon.]]></description>
				<content:encoded><![CDATA[<p>For those of you that don&#8217;t know, I&#8217;m rebranding under <a href="http://monksealsoftware.com/">Monk Seal Software</a>. New blog to come soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2012/10/11/monk-seal-software-up-and-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Class in Hawaii, October 3rd</title>
		<link>http://honoluluhacker.com/2011/09/24/ruby-on-rails-class-in-hawaii-october-3rd/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ruby-on-rails-class-in-hawaii-october-3rd</link>
		<comments>http://honoluluhacker.com/2011/09/24/ruby-on-rails-class-in-hawaii-october-3rd/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 22:53:21 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1237</guid>
		<description><![CDATA[I&#8217;m teaching an Intro Ruby on Rails Class at University of Hawaii&#8217;s Pacific New Media. Hope you can make it, here&#8217;s the flyer. Ruby on Rails Class Flyer]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m teaching an Intro Ruby on Rails Class at University of Hawaii&#8217;s Pacific New Media. Hope you can make it, here&#8217;s the flyer.</p>
<p><a href='http://honoluluhacker.com/wp-content/uploads/2011/09/Ruby_on_Rails_Class_Announment-1.pdf'>Ruby on Rails Class Flyer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2011/09/24/ruby-on-rails-class-in-hawaii-october-3rd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating my heroku/postgres project to Jruby</title>
		<link>http://honoluluhacker.com/2011/07/22/migrating-my-herokupostgres-project-to-jruby/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=migrating-my-herokupostgres-project-to-jruby</link>
		<comments>http://honoluluhacker.com/2011/07/22/migrating-my-herokupostgres-project-to-jruby/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 21:57:42 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1213</guid>
		<description><![CDATA[A little inspired by all the JRuby buzz, I thought I&#8217;d take an existing rails app that I have running on heroku and migrate it to Jruby. I wanted to test how easy/hard it would be: I made a branch of my project: git checkout -b jruby-test Install jruby via rvm rvm install jruby-1.6.2 I [...]]]></description>
				<content:encoded><![CDATA[<p>A little inspired by all the JRuby buzz, I thought I&#8217;d take an existing rails app that I have running on heroku and migrate it to Jruby. I wanted to test how easy/hard it would be:</p>
<ol>
<li> I made a branch of my project:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">git</span> checkout <span style="color: #660033;">-b</span> jruby-test</pre></div></div>

</li>
<li>Install jruby via rvm

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rvm <span style="color: #c20cb9; font-weight: bold;">install</span> jruby-1.6.2</pre></div></div>

</li>
<li>I editted my .rvmc to use Jruby instead of MRI, from:

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">rvm use 1.9.2@proj</pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">rvm use jruby<span style="color:#006600; font-weight:bold;">-</span>1.6.2@proj<span style="color:#006600; font-weight:bold;">-</span>jruby</pre></div></div>

</li>
<li> I updated my rmvc from :

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">rvm use 1.9.2@proj</pre></div></div>

<p>    to</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">rvm use jruby<span style="color:#006600; font-weight:bold;">-</span>1.6.2@proj<span style="color:#006600; font-weight:bold;">-</span>jruby</pre></div></div>

</li>
<li>
  I edited my Gemfile. This is where I knew it would get tricky.</p>
<ol type="a">
<li>Removed:

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">gem <span style="color:#996600;">'pg'</span></pre></div></div>

</li>
<li>Added:

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">gem <span style="color:#996600;">'activerecord-jdbc-adapter'</span>
gem <span style="color:#996600;">'activerecord-jdbcpostgresql-adapter'</span>
gem <span style="color:#996600;">'jdbc-postgres'</span></pre></div></div>

</li>
<li>Found out hard way had to remove ruby-debug19. DUh, dude <img src='http://honoluluhacker.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </li>
<li> <a href="http://rubygems.org/gems/texticle">Texticle</a> gem does not work. This makes sense because it is plugin to postgres ActiveRecord driver. However, I use this for my minimalistic search functionality.
</li>
</ol>
<li>Ran &#8216;rake spec&#8217; on the project. My tests for the search feature failed as expected because of the missing Texticle dependency. I had one test that was failing on<br />
  Regular expression. The regular expression looked like this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> last_item =~ <span style="color:#006600; font-weight:bold;">/</span>sector<span style="color:#006600; font-weight:bold;">|</span>leverage_point<span style="color:#006600; font-weight:bold;">/</span></pre></div></div>

<p>  When examined the code a bit, I found out that last_item was actually a symbol. I guess MRI automatically converts symbols to strings for Regular Expressions and JRuby does not. I changed the line to:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> last_item.<span style="color:#9900CC;">to_s</span> =~ <span style="color:#006600; font-weight:bold;">/</span>sector<span style="color:#006600; font-weight:bold;">|</span>leverage_point<span style="color:#006600; font-weight:bold;">/</span></pre></div></div>

<p>  and it worked fine</p>
</li>
<li>Ran &#8216;rails s thin&#8217; and my app was up and running.</li>
</ol>
<p>Not bad for a JRuby amatuer. Although not having the Texticle gem is a show stopper on this project.<br />
It&#8217;s not that Texticle is the best solution for search but we have some code written in it.</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2011/07/22/migrating-my-herokupostgres-project-to-jruby/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Common Accurev Command Line commands and their git/svn counter parts</title>
		<link>http://honoluluhacker.com/2011/07/12/common-accurev-command-line-commands-and-their-gitsvn-counter-parts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=common-accurev-command-line-commands-and-their-gitsvn-counter-parts</link>
		<comments>http://honoluluhacker.com/2011/07/12/common-accurev-command-line-commands-and-their-gitsvn-counter-parts/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 08:01:41 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1198</guid>
		<description><![CDATA[I&#8217;m using Accurev for a new project, thought I&#8217;d throw up a blog post of the commands that I use most commonly: Make a new workspace, similar to &#8216;git clone&#8217; or &#8216;svn co&#8217;: accurev mkws -w workspacename -b streamname_from_server -l local_directory Note: accurev workspaces are similiar to a cloned git repo, kind of but not [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m using Accurev for a new project, thought I&#8217;d throw up a blog post of the commands that I use most commonly:</p>
<p>Make a new workspace, similar to &#8216;git clone&#8217; or &#8216;svn co&#8217;:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev mkws <span style="color: #660033;">-w</span> workspacename <span style="color: #660033;">-b</span> streamname_from_server <span style="color: #660033;">-l</span> local_directory</pre></div></div>

<p>Note: accurev workspaces are similiar to a cloned git repo, kind of but not really&#8230;. Are you confused yet?</p>
<p>Update my workspace from the stream, similiarly to a &#8220;git pull&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev update</pre></div></div>

<p>Get status of my workspace, ie, see what&#8217;s changed. Same as &#8220;git status&#8221; or &#8220;svn st&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev <span style="color: #c20cb9; font-weight: bold;">stat</span> <span style="color: #660033;">-n</span></pre></div></div>

<p>With the &#8216;accurev stat -n&#8217; command, unlike git, the files shown will be in relation to your current working directory. So if you do:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> db<span style="color: #000000; font-weight: bold;">/</span>migrate
accurev <span style="color: #c20cb9; font-weight: bold;">stat</span> <span style="color: #660033;">-n</span></pre></div></div>

<p>You will only see files you have changed in your db/migrate folder. (Why are you changing your migrations???)</p>
<p>In accurev, file not checked into the work space are called &#8220;external&#8221; files, you see all these with this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev <span style="color: #c20cb9; font-weight: bold;">stat</span> <span style="color: #660033;">-x</span></pre></div></div>

<p>Add external file, same as &#8220;git add&#8221; or &#8220;svn add&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev add <span style="color: #660033;">-x</span> path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">file</span>
<span style="color: #666666; font-style: italic;"># or add a directory</span>
accurev add <span style="color: #660033;">-x</span> <span style="color: #660033;">-d</span> directory</pre></div></div>

<p>Revert a file, same as &#8220;git checkout&#8221; or &#8220;svn revert&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev purge path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">file</span></pre></div></div>

<p>Promote all kept files to the stream, kind like &#8220;git push&#8221; or &#8220;svn commit&#8221; but more like &#8220;git push&#8221;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev promote –c “JIRA-<span style="color: #000000;">666</span> comment” –k</pre></div></div>

<p>I&#8217;ll add more as my project progresses&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accurev keep <span style="color: #660033;">-R</span> <span style="color: #660033;">-n</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;codenarc fixes&quot;</span> grails-app<span style="color: #000000; font-weight: bold;">/</span>domain</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2011/07/12/common-accurev-command-line-commands-and-their-gitsvn-counter-parts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Override behavior of &#8220;rake spec&#8221;  task</title>
		<link>http://honoluluhacker.com/2011/04/29/override-behavior-of-rake-spec-task/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=override-behavior-of-rake-spec-task</link>
		<comments>http://honoluluhacker.com/2011/04/29/override-behavior-of-rake-spec-task/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 01:04:05 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1183</guid>
		<description><![CDATA[Basically, I have a bunch of folders in my spec directory for a rails project: spec/acceptance spec/controllers spec/fixtures spec/helpers spec/javascripts spec/lib spec/mailers spec/models spec/support The spec files in my acceptance folder are my capybara/selenium tests and still in experimental phase. I don&#8217;t want them to run every time and definitely don&#8217;t want the CI server [...]]]></description>
				<content:encoded><![CDATA[<p>Basically, I have a bunch of folders in my spec directory for a rails project:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">spec<span style="color: #000000; font-weight: bold;">/</span>acceptance
spec<span style="color: #000000; font-weight: bold;">/</span>controllers
spec<span style="color: #000000; font-weight: bold;">/</span>fixtures
spec<span style="color: #000000; font-weight: bold;">/</span>helpers
spec<span style="color: #000000; font-weight: bold;">/</span>javascripts
spec<span style="color: #000000; font-weight: bold;">/</span>lib
spec<span style="color: #000000; font-weight: bold;">/</span>mailers
spec<span style="color: #000000; font-weight: bold;">/</span>models
spec<span style="color: #000000; font-weight: bold;">/</span>support</pre></div></div>

<p>The spec files in my acceptance folder are my capybara/selenium tests and still in experimental phase. I don&#8217;t want them to run every time and definitely don&#8217;t want the CI server running them. However, when I run &#8216;rake&#8217; or &#8216;rake spec&#8217;, it runs everything in my &#8216;spec&#8217; folder. I want it it to run the specs in every directory <em>except</em> acceptance.</p>
<p>I discovered there is not easy way to override a rake task.  Redefining the task appends to it which to me is a pretty intuitive default behavior. Apparently, dchemsky knows about this and has <a href="https://github.com/jimweirich/rake/issues/17">opened an issue with rake.</a> I was able to piece together a solution from an old <a href="http://blog.jayfields.com/2008/02/rake-task-overwriting.html">blog post by Jay Fields.</a></p>
<p>Feel free to comment if you have a better way to do it.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">&nbsp;
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rake'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rspec/core/rake_task'</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#6666ff; font-weight:bold;">Rake::Task</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> abandon
    <span style="color:#0066ff; font-weight:bold;">@actions</span>.<span style="color:#9900CC;">clear</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#6666ff; font-weight:bold;">Rake::Task</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:spec</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">abandon</span>
&nbsp;
<span style="color:#6666ff; font-weight:bold;">RSpec::Core::RakeTask</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:spec</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>t<span style="color:#006600; font-weight:bold;">|</span>
  t.<span style="color:#9900CC;">pattern</span> = <span style="color:#996600;">&quot;spec/{models,views,controllers,helpers}/**/*_spec.rb&quot;</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
namespace <span style="color:#ff3333; font-weight:bold;">:spec</span> <span style="color:#9966CC; font-weight:bold;">do</span>
  desc <span style="color:#996600;">&quot;Run the code examples in spec/acceptance&quot;</span>
  <span style="color:#6666ff; font-weight:bold;">RSpec::Core::RakeTask</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:acceptance</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;db:test:prepare&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>t<span style="color:#006600; font-weight:bold;">|</span>
    t.<span style="color:#9900CC;">pattern</span> = <span style="color:#996600;">&quot;spec/acceptance/**/*_spec.rb&quot;</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2011/04/29/override-behavior-of-rake-spec-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Rails 3 helpers and routes in the console or a rake task</title>
		<link>http://honoluluhacker.com/2011/02/05/using-rails-3-helpers-and-routes-in-the-console-or-a-rake-task/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-rails-3-helpers-and-routes-in-the-console-or-a-rake-task</link>
		<comments>http://honoluluhacker.com/2011/02/05/using-rails-3-helpers-and-routes-in-the-console-or-a-rake-task/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 21:45:49 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1176</guid>
		<description><![CDATA[To use a Rails 3 helper in the console If this is your helper: module ItemsHelper def custom_item_display&#40;item&#41; item.to_s end end And you have a route that looks like this: resources :items On the console, you would do this: ruby-1.9.2-p136 :001 &#62; item = &#34;hello world&#34; ruby-1.9.2-p136 :002 &#62; helper.extend ItemsHelper ruby-1.9.2-p136 :003 &#62; helper.custom_item_display&#40;item&#41; [...]]]></description>
				<content:encoded><![CDATA[<p>To use a Rails 3 helper in the console</p>
<p>If this is your helper:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">module</span> ItemsHelper
  <span style="color:#9966CC; font-weight:bold;">def</span> custom_item_display<span style="color:#006600; font-weight:bold;">&#40;</span>item<span style="color:#006600; font-weight:bold;">&#41;</span>
    item.<span style="color:#9900CC;">to_s</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>And you have a route that looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">  resources <span style="color:#ff3333; font-weight:bold;">:items</span></pre></div></div>

<p> On the console, you would do this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">ruby<span style="color:#006600; font-weight:bold;">-</span>1.9.2<span style="color:#006600; font-weight:bold;">-</span>p136 :001 <span style="color:#006600; font-weight:bold;">&gt;</span> item = <span style="color:#996600;">&quot;hello world&quot;</span>
ruby<span style="color:#006600; font-weight:bold;">-</span>1.9.2<span style="color:#006600; font-weight:bold;">-</span>p136 :002 <span style="color:#006600; font-weight:bold;">&gt;</span> helper.<span style="color:#9900CC;">extend</span> ItemsHelper
ruby<span style="color:#006600; font-weight:bold;">-</span>1.9.2<span style="color:#006600; font-weight:bold;">-</span>p136 :003 <span style="color:#006600; font-weight:bold;">&gt;</span> helper.<span style="color:#9900CC;">custom_item_display</span><span style="color:#006600; font-weight:bold;">&#40;</span>item<span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;hello world&quot;</span> 
ruby<span style="color:#006600; font-weight:bold;">-</span>1.9.2<span style="color:#006600; font-weight:bold;">-</span>p136 :004 <span style="color:#006600; font-weight:bold;">&gt;</span> <span style="color:#9966CC; font-weight:bold;">include</span> <span style="color:#6666ff; font-weight:bold;">ActionController::UrlWriter</span>
 <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#CC00FF; font-weight:bold;">Object</span> 
ruby<span style="color:#006600; font-weight:bold;">-</span>1.9.2<span style="color:#006600; font-weight:bold;">-</span>p136 :005 <span style="color:#006600; font-weight:bold;">&gt;</span> items_path
 <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;/items&quot;</span></pre></div></div>

<p>In the rake task you do this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">namespace <span style="color:#ff3333; font-weight:bold;">:example</span> <span style="color:#9966CC; font-weight:bold;">do</span>
  desc <span style="color:#996600;">&quot;Do example items&quot;</span>
  task <span style="color:#ff3333; font-weight:bold;">:items</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:environment</span> <span style="color:#9966CC; font-weight:bold;">do</span>
    item = <span style="color:#996600;">&quot;Hello World&quot;</span>
    <span style="color:#9966CC; font-weight:bold;">include</span> ItemsHelper
    <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;ItemsHelper.custom_item_display(item) = #{custom_item_display(item)}&quot;</span>
&nbsp;
    <span style="color:#9966CC; font-weight:bold;">include</span> <span style="color:#6666ff; font-weight:bold;">ActionController::UrlWriter</span>
    <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;items_path = #{items_path}&quot;</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Hope that helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2011/02/05/using-rails-3-helpers-and-routes-in-the-console-or-a-rake-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using TinyTDS to connect to SQL Server with Ruby on Rails 3 (for Mac OSX)</title>
		<link>http://honoluluhacker.com/2011/01/13/using-tinytds-to-connect-to-sql-server-with-ruby-on-rails-3-for-mac-osx/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-tinytds-to-connect-to-sql-server-with-ruby-on-rails-3-for-mac-osx</link>
		<comments>http://honoluluhacker.com/2011/01/13/using-tinytds-to-connect-to-sql-server-with-ruby-on-rails-3-for-mac-osx/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 19:36:58 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[freetds]]></category>
		<category><![CDATA[mssql rails]]></category>
		<category><![CDATA[tinytds]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1157</guid>
		<description><![CDATA[Note: please see comments by Ken Collins (metaskills.net) at the bottom of this entry. He mentions a better way to do this without even installing FreeTDS. You will need FreeTDS to connect to MSSQL Server on Unix-based environments. You MUST use Homebrew to install FreeTDS on the Mac. MacPorts is evil and will not install [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Note: please see comments by Ken Collins (<a href="http://metaskills.net/">metaskills.net</a>) at the bottom of this entry. He mentions a better way to do this without even installing FreeTDS.</strong></p>
<p>You will need <a href="http://www.freetds.org/">FreeTDS</a> to connect to MSSQL Server on Unix-based environments. You MUST use Homebrew to install FreeTDS on the Mac. MacPorts is evil and will not install FreeTDS correctly. Installation of Homebrew is covered excellently in the Homebrew installation docs:<br />
<a href="https://github.com/mxcl/homebrew/wiki/installation">https://github.com/mxcl/homebrew/wiki/installation</a></p>
<p>Edit the FreeTDS configuration for the FreeTDS library:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">brew edit freetds</pre></div></div>

<p>Replace from &#8220;def install&#8221;  to &#8220;end &#8221; with:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">def</span> install 
  args = <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">&quot;--prefix=#{prefix}&quot;</span>,
          <span style="color:#996600;">&quot;--with-tdsver=7.0&quot;</span>,
          <span style="color:#996600;">&quot;--enable-msdblib&quot;</span>,
          <span style="color:#996600;">&quot;--mandir=#{man}&quot;</span><span style="color:#006600; font-weight:bold;">&#93;</span>
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">system</span> <span style="color:#996600;">&quot;./configure&quot;</span>, <span style="color:#006600; font-weight:bold;">*</span>args
  <span style="color:#CC0066; font-weight:bold;">system</span> <span style="color:#996600;">'make'</span>
  <span style="color:#CC0066; font-weight:bold;">system</span> <span style="color:#996600;">'make install'</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Install FreeTDS:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">brew <span style="color: #c20cb9; font-weight: bold;">install</span> freetds</pre></div></div>

<p>Add an entry to the bottom of your freetds.conf for your MSSQL Server. This file is found at /usr/local/etc/freetds.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>my_sql_server<span style="color: #7a0874; font-weight: bold;">&#93;</span> 
host = <span style="color: #000000; font-weight: bold;">&lt;</span>hostip<span style="color: #000000; font-weight: bold;">&gt;</span>
port = <span style="color: #000000;">1433</span> 
tds version = <span style="color: #000000;">7.0</span></pre></div></div>

<p>Add the TinyTDS and activerecord-sqlserver-adapter gems to your Rails Gemfile.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">  gem <span style="color:#996600;">'tiny_tds'</span>
  gem <span style="color:#996600;">'activerecord-sqlserver-adapter'</span>, :<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">false</span></pre></div></div>

<p>Run bundler to install the gems:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">bundle <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Finally, add the connection to your <em>database.yml</em> file:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">development:
  adapter: sqlserver
  mode: dblib
  dataserver: my_sql_server
  database: my_database_name
  username: my_username
  password: xxxxx
  timeout: <span style="color:#006666;">5000</span></pre></div></div>

<p>A reference for installing UnixODBC (which I don&#8217;t recommend), you can follow this tutorial:<br />
<a href="http://stuartc.posterous.com/mssql2005-on-rails-on-snow-leopard-the-easies">MSSQL2005 on Rails on Snow Leopard (the easiest way I know how.)</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2011/01/13/using-tinytds-to-connect-to-sql-server-with-ruby-on-rails-3-for-mac-osx/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Honolulu Hacker&#8217;s Guide to Lite Weight Backpacking</title>
		<link>http://honoluluhacker.com/2010/06/24/honolulu-hackers-guide-to-lite-weight-backpacking/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=honolulu-hackers-guide-to-lite-weight-backpacking</link>
		<comments>http://honoluluhacker.com/2010/06/24/honolulu-hackers-guide-to-lite-weight-backpacking/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 08:48:42 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1143</guid>
		<description><![CDATA[Based on some backpacking experience over the years, I&#8217;ve come up with this list of ways to reduce the weight of your pack. Read and Learn. Toilet Paper: Anyone who has moved before knows one thing: Books are heavy. Guess what books are made of?&#8230;. PAPER! That&#8217;s right, the same thing that they use to [...]]]></description>
				<content:encoded><![CDATA[<p>Based on some backpacking experience over the years, I&#8217;ve come up with this list of ways to reduce the weight of your pack. Read and Learn.</p>
<ul>
<li>Toilet Paper: Anyone who has moved before knows one thing: Books are heavy. Guess what books are made of?&#8230;. PAPER! That&#8217;s right, the same thing that they use to make toilet paper. I suggest you lighten your toilet paper load. Next time you go to the bath room, make note of how much toilet paper you need. How many times do you wipe? If you average 3-4 wipes, can use only 2 squares per wipe and can estimate you will be going to the bathroom 2 times a day, do some math, figure out how much mountain money you will REALLY need. If you are a guy, congratulations, you can bring less TP. Don&#8217;t tell the girls this, they may ask you to carry their tent.
    </li>
<li>Deodorant: Seriously? All or some of your backpacking buddies are gonna smell worse than the slums of Manila. Why are you going out our way to smell good? Leave this item at home.</li>
<li>Camera: Skip it. Don&#8217;t worry, one of you buddies will bring a camera especially if you are with a big group. One of them may even carry a tripod, a monopod and so much other camera gear that he is going to need a hip replacement by the age of 35. Don&#8217;t be that guy. Plus, think about it: if you are taking all the picture, you won&#8217;t be in any of them. My wiser older brother once told me: a picture without a person is postcard. If you want pictures of the scenery, just go on flickr and do a search. Chance are pretty good someone else has been there. Make their image your wallpaper. When your co-workers comes, you can brag about what a great trip you had and how much cooler you are than them. Go ahead, gloat away. You&#8217;ve got the wallpaper to back it up.</li>
<li>Tent: So, you hiked all the way out into the woods so you can sleep INDOORS. Forget that. I have seen someone make a very sustainable shelter out of a rain tarp. You just need to be creative. Cavemen didn&#8217;t always make it back to the cave and they didn&#8217;t have REI either. What did they do? If the going gets really rough, you can sneak into your buddy&#8217;s tent.
<li> Water: I don&#8217;t think I need to ask this but what human do you know that will deny another person water?&#8230; and you can always count on others to carry water.
</ul>
<p>This only some of the great ideas that will be present in my new book on backpacking. Please e-mail to preorder it.</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2010/06/24/honolulu-hackers-guide-to-lite-weight-backpacking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Best Music of 2006: My picks</title>
		<link>http://honoluluhacker.com/2010/04/01/best-music-of-2006-my-picks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=best-music-of-2006-my-picks</link>
		<comments>http://honoluluhacker.com/2010/04/01/best-music-of-2006-my-picks/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 02:28:05 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1083</guid>
		<description><![CDATA[1) Flaming Lips: At War with the Mystics For the second time this decade, the Lips have nailed it. While the first song (&#8220;Yeah, Yeah, Yeah&#8220;) annoys the hell out of me, the rest of the record is an honest-to-God masterpiece. &#8220;Vein of Stars&#8221; and &#8220;Pompeii AM Götterdämmerung&#8221; are my favorites with &#8220;Sound of Failure&#8221; [...]]]></description>
				<content:encoded><![CDATA[<h1>1) Flaming Lips: At War with the Mystics</h1>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2010/02/FlamingLipsAtWarWiththeMystics.jpg" alt="FlamingLipsAtWarWiththeMystics" title="FlamingLipsAtWarWiththeMystics" width="200" height="200" class="alignleft size-full wp-image-1087" />For the second time this decade, the Lips have nailed it. While the first song (&#8220;<em>Yeah, Yeah, Yeah</em>&#8220;) annoys the hell out of me, the rest of the record is an honest-to-God masterpiece. &#8220;<em>Vein of Stars</em>&#8221; and &#8220;<em>Pompeii AM Götterdämmerung</em>&#8221; are my favorites with &#8220;<em>Sound of Failure</em>&#8221; and &#8220;<em>My Cosmic Autumn Rebellion</em>&#8221; not far behind. I don&#8217;t know what it is about these guys. It&#8217;s not like they are best musicians in the world and Wayne Coyne isn&#8217;t the best singer (seriously, sometimes he&#8217;s really out of key). It must be that they just write great songs and have mastered the studio process.  </p>
<h1>2) Built to Spill: You in Reverse</h1>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2010/02/BuiltToSpillYouInReverse_cover.jpg" alt="BuiltToSpillYouInReverse_cover" title="BuiltToSpillYouInReverse_cover" width="200" height="199" class="alignright size-full wp-image-1089" />Music has given us a Neil Young and a J. Mascis but Doug Martch carries the torch when it comes to loud, garage-rocked guitar shredding. With no apologies, the album kicks off with the 8:42 guitar solo driven &#8220;Going Against Your Mind.&#8221; The best moment of the album comes later with &#8220;Conventional Wisdom&#8221; and it&#8217;s melodic guitar duals towards the end (although they were probably both played by Martsch). I wouldn&#8217;t want to take credit away from the rest of the band, they are certainly sound in top form and remain an indie-rock power house almost a decade later. At first listen this album disappointed me but it has really grown on me over the years. It contains some of the sound of their early work blended with a new energy and some different ideas.</p>
<h1>3) Amy Winehouse: Back to Black</h1>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2010/02/AmyWinehouse-Back_to_Black_cover.JPG" alt="AmyWinehouse-Back_to_Black_cover" title="AmyWinehouse-Back_to_Black_cover" width="200" height="204" class="alignleft size-full wp-image-1092" />Those of you that know me, know that I don&#8217;t normally listen to this kind of music: Pop, R&#038;B, Neo-soul, whatever you want to call it. But at the time I was reading a lot of <a href="http://dlisted.com/">dlisted.com</a> as a guilty pleasure and Wino was featured everyday in some new humiliating picture or story. I guess any press is good press because I had to hear her music to find out what the big deal was. I&#8217;m not only attracted to the drama presented in her lyrics but I genuinely like the sound and structure of these songs.   The title track and &#8220;<em>You know that I&#8217;m no good</em>&#8221; are my two favorite here. The record as a whole falls in place very nicely.</p>
<h1>4) Sonic Youth : Rather Ripped</h1>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2010/02/SonicYouth-Ratherripped.jpg" alt="SonicYouth-Ratherripped" title="SonicYouth-Ratherripped" width="200" height="200" class="alignright size-full wp-image-1085" />This is the album Sonic Youth should have made in 1995 coming off their Lollapollza headline spot instead of <strong>Washing Machines.</strong>  In my opinsion, this is the most accessible set of songs they have ever put together. Gone are the ten minutes of feedback and in is some catchy indie rock that is &#8220;<em>Reena</em>&#8220;, &#8220;<em>Incenerate</em>&#8221; and Renaldo&#8217;s &#8220;<em>Rats</em>.&#8221; Even the quiet numbers, (&#8220;<em>Do You Believe in Rapture?</em>&#8220;, &#8220;<em>Or</em>&#8220;, &#8220;<em>Turquoise Boy</em>&#8220;) sound like something a person unfamiliar with their style would enjoy. </p>
<h1>5) Ratatat : Classics</h1>
<p><a href="http://honoluluhacker.com/wp-content/uploads/2010/02/SonicYouth-Ratherripped.jpg"></a></h1>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2010/02/Ratatat-Classics.jpg" alt="Ratatat-Classics" title="Ratatat-Classics" width="200" height="201" class="alignleft size-full wp-image-1084" />If you haven&#8217;t heard of these guy, go listen to &#8220;<em>Wildcats.</em>&#8221; This NYC duo creates music that is a fusion of metal sounds and dance beats with a signature fade-in guitar. I&#8217;d rate this as the instrumental album of the year. You won&#8217;t find any shredding solos here but you&#8217;ll find well arranged melodic compositions. It&#8217;s great background and foreground music.</p>
<h1>6) Bob Dylan: Modern Times</h1>
<p><img src="http://honoluluhacker.com/wp-content/uploads/2010/02/BobDylan-Moderntimes.jpg" alt="BobDylan-Moderntimes" title="BobDylan-Moderntimes" width="200" height="200" class="alignright size-full wp-image-1095" />I have said earlier that I don&#8217;t think this album is as great as most critics crack it up but I am a Dylan fan and I&#8217;d be lying if I said this album hasn&#8217;t spent some time in my rotation. His singing is still pretty raspy and irritating at times but His band sounds great and his lyrics are still poetic and profound. I&#8217;ll never understand why this album is called &#8220;Modern Times&#8221; when it sounds more like a shuffle, remincent of old American music. I like &#8220;Spirit On The Water&#8221; and &#8220;The Levee&#8217;s Gonna Break&#8221; best here. For the die-hard Dylan, be sure to read the wikipedia article about <a href="http://en.wikipedia.org/wiki/Modern_Times_%28Bob_Dylan_album%29#Credit_controversy">writing credit controversy</a></p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2010/04/01/best-music-of-2006-my-picks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Has comedy changed as a result of the internet?</title>
		<link>http://honoluluhacker.com/2010/02/21/has-comedy-as-a-result-of-the-internet/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=has-comedy-as-a-result-of-the-internet</link>
		<comments>http://honoluluhacker.com/2010/02/21/has-comedy-as-a-result-of-the-internet/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 04:40:56 +0000</pubDate>
		<dc:creator>kenglish</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://honoluluhacker.com/?p=1050</guid>
		<description><![CDATA[Let&#8217;s think about how comedy has changed since we&#8217;ve started consuming digital video on the internet. Prior to the Internet, comedy media was consumed primarily through movies and television. However, the internet has made comedy infinitely more accessible and thus we&#8217;ve been laughing a lot harder these days at a lot of different things. To [...]]]></description>
				<content:encoded><![CDATA[<p>Let&#8217;s think about how comedy has changed since we&#8217;ve started consuming digital video on the internet. Prior to the Internet, comedy media was consumed primarily through movies and television. However, the internet has made comedy infinitely more accessible and thus we&#8217;ve been laughing a lot harder these days at a lot of different things. </p>
<p>To begin, what is Comedy? The following summarizes a popular book about comedy:</p>
<p><a href="http://www.amazon.com/Comedy-Writing-Secrets-Best-Selling-Think/dp/1582973571/ref=sr_1_1?ie=UTF8&#038;s=books&#038;qid=1266906094&#038;sr=8-1">Comedy Writing Secrets by Mel Helitzer</a></p>
<p>Why We laugh?<br />
  The two main motivations:</p>
<ul>
<li>We laugh out of surprise.</li>
<li>We laugh when we feel superior.</li>
</ul>
<p>  There are six additional motivations each which supports the first two.</p>
<ul>
<li>We laugh out of Instinct</li>
<li>We laugh at incongruity</li>
<li>We laugh out of ambivalence</li>
<li>We laugh out of release</li>
<li>We laugh when we solve a puzzle</li>
<li>We laugh to regress.</li>
</ul>
<p>Recipe for Humor:</p>
<p>The following six elements must be present for any humor to work:</p>
<ul>
<li>Target</li>
<li>Hostility</li>
<li>Realism</li>
<li>Exaggeration</li>
<li>Emotion</li>
<li>Surprise</li>
</ul>
<p>These elements have not changed much, what has changed is the content. </p>
<p>How do I consume great comedy vidoes?</p>
<ul>
<li><a href="http://www.comedycentral.com/tosh.0/">Tosh.O Blog</a></li>
<li><a href="http://reddit.tv/">Redit.tv</a> (click Happy)</li>
</ul>
<p>This is my internet Comedy Highlight real. Since I won&#8217;t have time to show all these videos in class, I hope that the other students will visit my blog and watch them on their own time.</p>
<p><strong>Early history:</strong><br />
<a href="http://www.atom.com/fun_games/gangsta_rap/">Star Wars Gangsta Rap</a>: The most popular flash-video of all time</p>
<p>Lenny Bruce, Eddy Murphy, Richard Pryor were all considered vulgar for their time. Now, notice that vulgarity is almost expected in interactions on the internet.</p>
<p>Popular Targets: Technology and Technology Workers</p>
<ul>
<li><a href="http://www.collegehumor.com/video:1907543">We didn&#8217;t start the flame war</a></li>
<li><a href="http://www.youtube.com/watch?v=W8_Kfjo3VjU">The Website is Down: Web dude vs Sales Guy</a> </li>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/yg7Xh0m_Oco&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yg7Xh0m_Oco&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
Mac Parody
</ul>
<p>There is a hostility towards traditional media. Even though we&#8217;re consuming more traditional media than ever, it&#8217;s easier to make fun of it now:<br />
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/YtGSXMuWMR4&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/YtGSXMuWMR4&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object><br />
Charlie Brooker &#8211; How To Report The News<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/3eooXNd0heM&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/3eooXNd0heM&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
Auto-tune the news with Joe Biden singing</p>
<p>Mixing Media:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/luVjkTEIoJc&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/luVjkTEIoJc&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
Star Trek and Monty Python.<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Xzkd_m4ivmc&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Xzkd_m4ivmc&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
Don&#8217;t Taze me and MC Hammer.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/iORpLPmFfHU&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/iORpLPmFfHU&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
Kesha/cops parody uses many internet based images.</p>
<p>Target/ Hostility: Popular Movies<br />
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/1bXeQ7baYEE&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1bXeQ7baYEE&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object><br />
Twilight &#8216;New Moon&#8217; in one minute.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zzoeEdW-EDQ&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zzoeEdW-EDQ&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
How Star Wars should have ended.</p>
<p>Realism (Fail Videos) Top 100 Fail Clips of 2009:<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/QNbpIwS_kCA&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/QNbpIwS_kCA&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Tons of Suprises:<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/judWB4Bn-3c&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/judWB4Bn-3c&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
 Misheard Metal Lyrics.</p>
<p>Digital video can be used to parody how ridiculous Television video is. Does this render Television obsolete or<br />
engage us more in it. For example, before watching the Rap Chop video, I knew very little about the slap chop. Now I always check it out in the &#8220;As seen on TV&#8221; store.<br />
Slap Chop Video.</p>
<p><a href="http://www.rooftopcomedy.com/watch/FacebookBreastFeeding">Rooftop Comedy</a> introduces us to new comedians in short, easy to consume forms.</p>
<p>Comedy by Consensus? Pride of origination?</p>
<p> So, has comedy changed? Not much. Our tolerance for bad comedy has certainly gone. Nothing is is off limits these days and technology has given comedy infinite more possibilities to expand.</p>
]]></content:encoded>
			<wfw:commentRss>http://honoluluhacker.com/2010/02/21/has-comedy-as-a-result-of-the-internet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
