<?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>D&#039;Arcy Norman dot net &#187; hack</title>
	<atom:link href="http://www.darcynorman.net/tag/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darcynorman.net</link>
	<description>apparently much happier in person</description>
	<lastBuildDate>Fri, 20 Nov 2009 03:52:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPodLinux + TuneTalk</title>
		<link>http://www.darcynorman.net/2005/12/02/ipodlinux-tunetalk/</link>
		<comments>http://www.darcynorman.net/2005/12/02/ipodlinux-tunetalk/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[hack]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">1513501173</guid>
		<description><![CDATA[I just dropped the latest version of <a href="http://ipodlinux.org/Main_Page">iPodLinux</a> on my iPod to test out recording at higher sample rates. I cranked it up to 44.1KHz, and the recording from the TuneTalk microphone sounded freaking amazing! I'll have to do some more playing/testing to see how it works for longer recordings (how fast does it suck down the battery? does it still have the high-pitched whine in the background?)

But, while I had linux running on the iPod, I poked around at what else is offered. It's got some new games, including a non-playable demo of TEMPEST! That is so cool! Apple, please include Tempest as a default game! That is SO perfect for the iPod controller...  Oh, and it's got a version of an Etch-A-Sketch program that is pretty cool. Yay, linux!]]></description>
			<content:encoded><![CDATA[<p>I just dropped the latest version of <a href="http://ipodlinux.org/Main_Page">iPodLinux</a> on my iPod to test out recording at higher sample rates. I cranked it up to 44.1KHz, and the recording from the TuneTalk microphone sounded freaking amazing! I&#8217;ll have to do some more playing/testing to see how it works for longer recordings (how fast does it suck down the battery? does it still have the high-pitched whine in the background?)</p>
<p>But, while I had linux running on the iPod, I poked around at what else is offered. It&#8217;s got some new games, including a non-playable demo of TEMPEST! That is so cool! Apple, please include Tempest as a default game! That is SO perfect for the iPod controller&#8230;  Oh, and it&#8217;s got a version of an Etch-A-Sketch program that is pretty cool. Yay, linux!</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=904" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2005/12/02/ipodlinux-tunetalk/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Ultimate Tag Warrior hack: counting tags and backing up</title>
		<link>http://www.darcynorman.net/2005/11/23/ultimate-tag-warrior-hack-counting-tags-and-backing-up/</link>
		<comments>http://www.darcynorman.net/2005/11/23/ultimate-tag-warrior-hack-counting-tags-and-backing-up/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[tagging]]></category>

		<guid isPermaLink="false">738028721</guid>
		<description><![CDATA[I wanted to update my <a href="http://www.darcynorman.net/archives/">Archives</a> page to display the total tag count, but didn't see a built-in method in <a href="http://www.neato.co.nz/ultimate-tag-warrior/">Ultimate Tag Warrior</a> to do that. So, here's the recipe I followed - mimicking how the other methods are set up, in case the changes get rolled into the main distro...

In <code>ultimate-tag-warrior.php</code>:
<pre><code>	function UTW_ShowUniqueTagCount() {
		global $utw;
	
		echo $utw->GetUniqueTagCount();
	}</code></pre>

In <code>ultimate-tag-warrior-core.php</code>:
<pre><code>	function GetUniqueTagCount() {
		global $wpdb, $tabletags;

		$sql = "select count(*) from $tabletags";
		return $wpdb->get_var($sql);
	}</code></pre>

And, in <a href="http://binarybonsai.com/k2">K2</a>'s <code>page-archives.php</code> (or anywhere you want the count to show up):
<pre><code>	<?php UTW_ShowUniqueTagCount(); ?> tags</code></pre>

I've also hacked my copy of <code>wp-db-backup.php</code> to automatically back up the UTW tables, thusly, starting at line 407:

<pre><code>$wp_backup_default_tables = array ($table_prefix . categories,
	$table_prefix . comments,
	$table_prefix . linkcategories,
	$table_prefix . links,
	$table_prefix . options,
	$table_prefix . post2cat,
	$table_prefix . postmeta,
	$table_prefix . posts,
	$table_prefix . users,
	$table_prefix . tags,
	$table_prefix . post2tag,
	$table_prefix . tag_synonyms);</code></pre>]]></description>
			<content:encoded><![CDATA[<p>I wanted to update my <a href="http://www.darcynorman.net/archives/">Archives</a> page to display the total tag count, but didn&#8217;t see a built-in method in <a href="http://www.neato.co.nz/ultimate-tag-warrior/">Ultimate Tag Warrior</a> to do that. So, here&#8217;s the recipe I followed &#8211; mimicking how the other methods are set up, in case the changes get rolled into the main distro&#8230;</p>
<p>In <code>ultimate-tag-warrior.php</code>:</p>
<pre><code>	function UTW_ShowUniqueTagCount() {
		global $utw;

		echo $utw->GetUniqueTagCount();
	}</code></pre>
<p>In <code>ultimate-tag-warrior-core.php</code>:</p>
<pre><code>	function GetUniqueTagCount() {
		global $wpdb, $tabletags;

		$sql = "select count(*) from $tabletags";
		return $wpdb->get_var($sql);
	}</code></pre>
<p>And, in <a href="http://binarybonsai.com/k2">K2</a>&#8217;s <code>page-archives.php</code> (or anywhere you want the count to show up):</p>
<pre><code>	<?php UTW_ShowUniqueTagCount(); ?> tags</code></pre>
<p>I&#8217;ve also hacked my copy of <code>wp-db-backup.php</code> to automatically back up the UTW tables, thusly, starting at line 407:</p>
<pre><code>$wp_backup_default_tables = array ($table_prefix . categories,
	$table_prefix . comments,
	$table_prefix . linkcategories,
	$table_prefix . links,
	$table_prefix . options,
	$table_prefix . post2cat,
	$table_prefix . postmeta,
	$table_prefix . posts,
	$table_prefix . users,
	$table_prefix . tags,
	$table_prefix . post2tag,
	$table_prefix . tag_synonyms);</code></pre>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=894" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2005/11/23/ultimate-tag-warrior-hack-counting-tags-and-backing-up/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
