<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Honolulu Hacker</title>
	<link>http://honoluluhacker.com</link>
	<description>Tech, Linux, Rails by Holululu-based Kevin English</description>
	<lastBuildDate>Thu, 24 Jun 2010 08:56:35 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Honolulu Hacker&#8217;s Guide to Lite Weight Backpacking</title>
		<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 make [...]]]></description>
		<link>http://honoluluhacker.com/2010/06/24/honolulu-hackers-guide-to-lite-weight-backpacking/</link>
			</item>
	<item>
		<title>Best Music of 2006: My picks</title>
		<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; and [...]]]></description>
		<link>http://honoluluhacker.com/2010/04/01/best-music-of-2006-my-picks/</link>
			</item>
	<item>
		<title>Has comedy changed as a result of the internet?</title>
		<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>
		<link>http://honoluluhacker.com/2010/02/21/has-comedy-as-a-result-of-the-internet/</link>
			</item>
	<item>
		<title>Best Music of 2007: My picks</title>
		<description><![CDATA[1) The Shins : Wincing the Night Away
 This album represents a change of direction for the James Mercer and his little outfit from Portland. At first I didn&#8217;t like it. There&#8217;s still a pair of traditional catchy indie-pop songs that caught my attention, (&#8220;Australia&#8221; and &#8220;Phantom Limb&#8220;) and great pop songs they are. The [...]]]></description>
		<link>http://honoluluhacker.com/2010/02/15/best-music-of-2007-my-picks/</link>
			</item>
	<item>
		<title>Force download of fasta files and aln files with Apache</title>
		<description><![CDATA[If you are serving fasta files or alignment files on your server, you may want to force users to download them instead of previewing them in the browser. My application would return the fasta files as Content-Type text/plain. I wanted to force it to application/x-fasta and force download. This is accomplished rather easily in Apache [...]]]></description>
		<link>http://honoluluhacker.com/2010/01/14/force-download-of-fasta-files-and-aln-files-with-apache/</link>
			</item>
	<item>
		<title>Best Music of 2008: My picks</title>
		<description><![CDATA[1) R.E.M. : Accelerate
The 3 remaining veteran musicians of R.E.M. returned to the sound of Life Rich Paegent and Document to breath life back into a band that was one of the fore-bearers of alternative music in the 80s and 90s.  At only 34 minutes, this record is perfectly paced. The majority of the [...]]]></description>
		<link>http://honoluluhacker.com/2010/01/04/best-music-of-2008-my-picks/</link>
			</item>
	<item>
		<title>Using Ruby &amp; Hpricot to find lowest mortgage rate in Hawaii</title>
		<description><![CDATA[Each week the Honolulu Board of Realtors publishes a report of Hawaii Mortgage Rates. To find the lowest rate for your category is difficult. A non-programming solution would be to copy it into excel, delete all the rows that you need and then sort by the rate column. This takes too much time so I [...]]]></description>
		<link>http://honoluluhacker.com/2009/12/14/using-ruby-hpricot-to-find-lowest-mortgage-rate-in-hawaii/</link>
			</item>
	<item>
		<title>Best Music of 2009: My picks</title>
		<description><![CDATA[1) Neko Case: Middle Cyclone
Fox Confessor Brings the Flood seemed a little off and it didn&#8217;t warm up to me the way Blacklisted, and Furnace Room Lullaby did but this record was on rotation in my music player for countless weeks. Radio friendly tracks like &#8220;This Tornado Loves You&#8221;, &#8220;People Got A Lotta Nerve&#8221; and [...]]]></description>
		<link>http://honoluluhacker.com/2009/12/04/best-music-of-2009-my-picks/</link>
			</item>
	<item>
		<title>A SQL Server file &#8216;basename&#8217; function</title>
		<description><![CDATA[Given a file path: /var/www/html/index.html
Returns: index.html
Pretty common, here&#8217;s how you do it:
Perl:

use File::Basename; 
$fullname = &#34;/usr/local/src/perl-5.6.1.tar.gz&#34;; 
$file = basename&#40;$fullname&#41;;

PHP:

$path = &#34;/home/httpd/html/index.php&#34;;
$file = basename&#40;$path&#41;;

Ruby:

path = &#34;/usr/lib/ruby/site_ruby/1.8/rubygems/version.rb&#34;
File.basename path

Python:

import os.path
path =  &#34;/usr/local/bin/python&#34;
os.path.basename&#40;path&#41;

T-SQL (MsSQL Server):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CREATE FUNCTION &#91;dbo&#93;.&#91;fn_file_basename&#93;
&#40;
	-- Add the parameters for the function here
	@file_path Varchar&#40;255&#41;
&#41;
RETURNS Varchar&#40;255&#41;
AS
BEGIN
    declare @file_basename varchar&#40;255&#41;
    IF charindex&#40;'\', @file_path) [...]]]></description>
		<link>http://honoluluhacker.com/2009/11/24/a-sql-server-file-basename-function/</link>
			</item>
	<item>
		<title>Remove Invalid XML Characters with an SSIS Visual Basic Script</title>
		<description><![CDATA[My boss is forcing us to use Microsoft SQL Service Intergration Services for our ETL process. I Googled around for a bit and could not find a good example of how to do this simple task: open an XML file, read the text, replace any invalid characters and write it back out to the same [...]]]></description>
		<link>http://honoluluhacker.com/2009/11/24/remove-invalid-xml-characters-with-a-ssis-visual-basic-script/</link>
			</item>
</channel>
</rss>
