<?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>What&#039;s Going On? &#187; tutorial</title>
	<atom:link href="http://blog.thmttch.net/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thmttch.net</link>
	<description>Technology-related ramblings</description>
	<lastBuildDate>Fri, 07 May 2010 12:01:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Got Mozilla Weave 1.0 Minimal Server working on Mac OS X, at least</title>
		<link>http://blog.thmttch.net/2010/02/02/got-mozilla-weave-1-0-minimal-server-working-on-mac-os-x-at-least/</link>
		<comments>http://blog.thmttch.net/2010/02/02/got-mozilla-weave-1-0-minimal-server-working-on-mac-os-x-at-least/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 21:28:55 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[account-management]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.thmttch.net/?p=211</guid>
		<description><![CDATA[Decided to put in some more time on Mozilla Weave 1.0 minimal server after this attempt, but a little less ambitious: getting it working locally on Mac OS X (10.5.8), where I have full admin rights. While the instructions are _technically_ sufficient, there&#8217;s a lot more that can be said to make it more straightforward.
By [...]]]></description>
			<content:encoded><![CDATA[<p>Decided to put in some more time on <a href="https://mozillalabs.com/weave/">Mozilla Weave</a> <a href="http://tobyelliott.wordpress.com/2009/09/11/weave-minimal-server/">1.0 minimal server</a> after <a href="http://blog.thmttch.net/2010/01/30/mozilla-weave-1-0-minimal-install-on-dreamhost-fail/">this attempt</a>, but a little less ambitious: getting it working locally on Mac OS X (10.5.8), where I have full admin rights. While the instructions are _technically_ sufficient, there&#8217;s a lot more that can be said to make it more straightforward.</p>
<p>By far the most frustrating and poorly documented part are permissions issues. The instructions below are pretty crude and insecure, but it&#8217;s just for practice. So here&#8217;s what I did:</p>
<ol>
<li>Download the minimal server, and read the README.</li>
<li>Move the whole &#8220;weave_minimal&#8221; directory into your DocumentRoot; for me, it was at &#8220;/Library/WebServer/Documents&#8221;. Note that you might have to `sudo` to get it in there. It also doesn&#8217;t hurt to rename it to something that doesn&#8217;t begin with &#8220;weave&#8221;, to minimize weird path conflicts down the line. E.g.: `sudo mv weave_minimal /Library/WebServer/Documents/minimal-weave-1.0`</li>
<li>For good measure, change the ownership and groupship to root and admin, respectively, and give them full permissions: `chown -R root minimal-weave-1.0`, `chgrp -R admin minimal-weave-1.0`, `chmod -R 775 minimal-weave-1.0`</li>
<li>Modify your &#8220;httpd.conf&#8221; (in /etc/apache2/httpd.conf) by adding the following line at the end: &#8220;Alias /weave /Library/WebServer/Documents/minimal/index.php&#8221;</li>
<li>Restart your local Apache instance by going into System Preferences &gt; Sharing &gt; Web Sharing (check to enable)</li>
<li>Per the README, hit the URL to initialize the sqlite database: <a href="http://localhost/weave/1.0/blah/info/collection">http://localhost/weave/1.0/blah/info/collection</a></li>
<li><a href="http://localhost/weave/1.0/blah/info/collection"></a>You should get a pop-up that axks for authentication info (username and password). You MUST enter &#8220;blah&#8221; for username, and the SOMETHING (anything) for password (it CANNOT be blank).</li>
<li>You still won&#8217;t be able to authenticate, but if you look at your minimal-weave-1.0 directory, you should now see a new file called &#8220;weave_db&#8221;.</li>
<li>If you&#8217;re this far, congrats, you&#8217;ve finished the most annoying parts! Now we create a new user; thankfully somebody in the comments tipped me off to this, otherwise I could have wasted hours. The &#8220;create_user&#8221; script in the installation is actually a PHP commandline script, and MUST be run this way on the commandline: `/usr/bin/php create_user` (you probably need to sudo).</li>
<li>Now you&#8217;re done, and can install the Weave client from the project page. Some last notes during client installation: in Firefox Preferences &gt; Privacy, you MUST remember some kind of history, otherwise the Weave preferences tab will be greyed out (this was very confusing, and I hope it&#8217;s clarified in the next version of the client).</li>
</ol>
<p>This is admittedly a very ghetto and unprofessional installation guide (PLEASE PLEASE PLEASE don&#8217;t set up your instance like to for _anything_ other than playing around, on a non-production machine), but it was just an experiment to learn what&#8217;s _supposed_ to happen during an install. Now I can try and get this thing working on Dreamhost. We&#8217;ll see.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thmttch.net/2010/02/02/got-mozilla-weave-1-0-minimal-server-working-on-mac-os-x-at-least/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mozilla Weave 1.0 Minimal Install on Dreamhost: Fail</title>
		<link>http://blog.thmttch.net/2010/01/30/mozilla-weave-1-0-minimal-install-on-dreamhost-fail/</link>
		<comments>http://blog.thmttch.net/2010/01/30/mozilla-weave-1-0-minimal-install-on-dreamhost-fail/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 08:31:15 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[account-management]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.thmttch.net/?p=197</guid>
		<description><![CDATA[The 1.0 release yesterday seemed like a great time to try Weave again. Following the big bold suggestion at the top of https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup, I hit up http://tobyelliott.wordpress.com/2009/09/11/weave-minimal-server/ and tried to install my own instance. Alas, Dreamhost bested me. Too tired to fully explain why, but quickly:

Dreamhost doesn&#8217;t allow &#8220;Alias&#8221; directives in .htaccess (either that, or [...]]]></description>
			<content:encoded><![CDATA[<p>The 1.0 release yesterday seemed like a great time to try Weave again. Following the big bold suggestion at the top of <a href="https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup">https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup</a>, I hit up <a href="http://tobyelliott.wordpress.com/2009/09/11/weave-minimal-server/">http://tobyelliott.wordpress.com/2009/09/11/weave-minimal-server/</a> and tried to install my own instance. Alas, Dreamhost bested me. Too tired to fully explain why, but quickly:</p>
<ol>
<li>Dreamhost doesn&#8217;t allow &#8220;Alias&#8221; directives in .htaccess (either that, or you can only have Alias directives in httpd.conf/apache.conf, in a VHost block; whatever, the bottom line is you can&#8217;t use it).</li>
<li>You somehow need to map some path to a PHP file. That is, something like &#8220;host.com/weave/a/b/c&#8221; is actually supposed to be a request to &#8220;host.com/weave/install/dir/index.php&#8221; with a bunch of extra URI stuff after it (in this example, &#8220;/a/b/c&#8221;). Don&#8217;t worry, this sentence doesn&#8217;t make sense to me either.</li>
<li>Apache rewrite rules are confusing enough, but factor in PHP processing, and it&#8217;s more than I can figure out right now.</li>
</ol>
<p>Damned shame, from the instructions it sounded like it would take 10 minutes, max. &lt;sigh/&gt; Will try again another day. Gods, I hope somebody else figures it out by then.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thmttch.net/2010/01/30/mozilla-weave-1-0-minimal-install-on-dreamhost-fail/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Removing dead tracks in iTunes automatically</title>
		<link>http://blog.thmttch.net/2010/01/30/removing-dead-tracks-in-itunes-automatically/</link>
		<comments>http://blog.thmttch.net/2010/01/30/removing-dead-tracks-in-itunes-automatically/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 05:46:44 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[itunes]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.thmttch.net/?p=192</guid>
		<description><![CDATA[Doug&#8217;s &#8220;Super Remove Dead Track v2.1&#8243; works like a charm: http://dougscripts.com/itunes/scripts/ss.php?sp=removedeadsuper
Installation takes about 20 seconds. Note that if your music collection is large (mine clocked in at 120 GB&#8230;), and you have a lot of dead links (I had around 10-15 GB), it could take up to an hour.
]]></description>
			<content:encoded><![CDATA[<p>Doug&#8217;s &#8220;Super Remove Dead Track v2.1&#8243; works like a charm: <a href="http://dougscripts.com/itunes/scripts/ss.php?sp=removedeadsuper">http://dougscripts.com/itunes/scripts/ss.php?sp=removedeadsuper</a></p>
<p>Installation takes about 20 seconds. Note that if your music collection is large (mine clocked in at 120 GB&#8230;), and you have a lot of dead links (I had around 10-15 GB), it could take up to an hour.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thmttch.net/2010/01/30/removing-dead-tracks-in-itunes-automatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

