<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.6" -->
<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>Wed, 24 Feb 2010 01:26:45 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Has comedy changed as a result of the internet?</title>
		<description>Let's think about how comedy has changed since we'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've been laughing a lot harder these days at a ...</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>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't like it. There's still a pair of traditional catchy indie-pop songs that caught my attention, ("Australia" and "Phantom Limb") and great ...</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>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 ...</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>1) R.E.M. : AccelerateThe 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 ...</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>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 ...</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>1) Neko Case: Middle CycloneFox Confessor Brings the Flood seemed a little off and it didn'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 "This Tornado Loves You", "People ...</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>Given a file path: /var/www/html/index.html
Returns: index.html

Pretty common, here's how you do it:

Perl:

use File::Basename; 
$fullname = "/usr/local/src/perl-5.6.1.tar.gz"; 
$file = basename($fullname);

PHP:

$path = "/home/httpd/html/index.php";
$file = basename($path);

Ruby:

path = "/usr/lib/ruby/site_ruby/1.8/rubygems/version.rb"
File.basename path

Python:

import os.path
path =  "/usr/local/bin/python"
os.path.basename(path)

T-SQL (MsSQL Server):

CREATE FUNCTION [dbo].[fn_file_basename]
(
	-- Add the parameters for the function here
	@file_path Varchar(255)
)
RETURNS Varchar(255)
AS
BEGIN
    declare @file_basename varchar(255)
  ...</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>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 ...</description>
		<link>http://honoluluhacker.com/2009/11/24/remove-invalid-xml-characters-with-a-ssis-visual-basic-script/</link>
			</item>
	<item>
		<title>Install NetBeans jVi plugin</title>
		<description>NetBeans is the only IDE with a great VI key binding plugin. This was the sole reason I switched to NetBeans as my Ruby/Rails IDE of choice this year. There are 2 vi plugins for Eclipse: one you have to pay for and the other relies on gVIM. The NetBeans ...</description>
		<link>http://honoluluhacker.com/2009/11/22/install-netbeans-jvi-plugin/</link>
			</item>
	<item>
		<title>Parsing Emboss Water output with Ruby</title>
		<description>First, you will need to install the emboss suite on your computer:

sudo apt-get install emboss emboss-lib

If don't already have the BioRuby installed, you will need that too:

sudo gem install bio --no-ri --no-rdoc

Your first ruby script calling Emboss Water from Ruby:

require 'rubygems'
require 'bio'
test_filename =ARGV.shift
target_filename =ARGV.shift
result = Bio::EMBOSS.run('water', '-asequence', test_filename, '-bsequence', target_filename)

Unforntunately, ...</description>
		<link>http://honoluluhacker.com/2009/11/20/parsing-emboss-water-output-with-ruby/</link>
			</item>
</channel>
</rss>
