<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Blog of Annoying Technical Details</title>
	<atom:link href="http://annoyingtechnicaldetails.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://annoyingtechnicaldetails.wordpress.com</link>
	<description>ever had a really annoying problem?</description>
	<lastBuildDate>Sun, 01 Jan 2012 00:47:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='annoyingtechnicaldetails.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Blog of Annoying Technical Details</title>
		<link>http://annoyingtechnicaldetails.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://annoyingtechnicaldetails.wordpress.com/osd.xml" title="Blog of Annoying Technical Details" />
	<atom:link rel='hub' href='http://annoyingtechnicaldetails.wordpress.com/?pushpress=hub'/>
		<item>
		<title>automatically delete old things from the Downloads folder</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/12/31/automatically-delete-old-things-from-the-downloads-folder/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/12/31/automatically-delete-old-things-from-the-downloads-folder/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 00:46:18 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[fink]]></category>
		<category><![CDATA[folder management]]></category>
		<category><![CDATA[GNU/linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[tmpreaper]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=208</guid>
		<description><![CDATA[Lots of OSs have a handy ~/Downloads folder where all downloaded files automatically go to. This is much cleaner than say, piling them up on the Desktop or elsewhere. I generally move something out of ~/Downloads if I need it, leaving the rest to pile up. Thanks to the very helpful tmpreaper, I have it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=208&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lots of OSs have a handy <code>~/Downloads</code> folder where all downloaded files automatically go to. This is much cleaner than say, piling them up on the Desktop or elsewhere. I generally move something out of <code>~/Downloads</code> if I need it, leaving the rest to pile up. Thanks to the very helpful <strong>tmpreaper</strong>, I have it automatically deleting any file older than 5 days from <code>~/Downloads</code>. Now it manages itself. You can do this easily with Debian-based OSs (<code>sudo apt-get install tmpreaper</code>) or Mac OS X (<code>fink install tmpreaper</code>). You can cron it using a little script in the right folder:</p>
<p><code>/etc/cron.daily/tmpreaper_downloads</code> (Debian)</p>
<pre>#!/bin/sh
/usr/sbin/tmpreaper --all --protect .localized 5d /home/hans/Downloads</pre>
<p><code>/etc/periodic/daily/900.tmpreaper_downloads</code> (Mac OS X + Fink)</p>
<pre>#!/bin/sh
/sw/sbin/tmpreaper --all --protect .localized 5d /Users/hans/Downloads</pre>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/debian/'>debian</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/downloads/'>downloads</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/fink/'>fink</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/folder-management/'>folder management</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/gnulinux/'>GNU/linux</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/linux-mint/'>linux mint</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/mac-os-x/'>mac os x</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/tmpreaper/'>tmpreaper</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/ubuntu/'>ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=208&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/12/31/automatically-delete-old-things-from-the-downloads-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>seeing the contents of the new .pkg format for Mac OS X</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/12/08/seeing-the-contents-of-the-new-pkg-format-for-mac-os-x/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/12/08/seeing-the-contents-of-the-new-pkg-format-for-mac-os-x/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 15:59:07 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[pkg]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=199</guid>
		<description><![CDATA[The original .pkg format for Mac OS X installer packages followed the old pattern established in NeXTSTEP of a special folder format with an extension to label it a file type. Inside of the .pkg folder, you could find the Contents/Archive.bom file, .bom meaning &#8220;Bill Of Materials&#8221;, i.e. a listing of the files that the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=199&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The original <em>.pkg</em> format for Mac OS X installer packages followed the old pattern established in NeXTSTEP of a special folder format with an extension to label it a file type.  Inside of the <em>.pkg</em> folder, you could find the <code>Contents/Archive.bom</code> file, <em>.bom</em> meaning &#8220;Bill Of Materials&#8221;, i.e. a listing of the files that the package would install.  Using the handy <code>lsbom</code>, you can get all of the info in a nice, scriptable way.  The downside to this folder format is that in order to post it for download or other similar situations, it had to be turned into a single file, like a <em>.zip</em> or <em>.tar.gz</em>.</p>
<p>So Mac OS X 10.5 introduced a new format where it was already bundled up into a file, so there is no <code>Contents/Archive.bom</code> to use with <code>lsbom</code>.  But there is a way! The new format is still a folder, but with a different layout, and then made into a file using <code>xar</code>, which is something like <code>tar</code> and it comes with Mac OS X.  So we have to treat the new format <em>.pkg</em> like a tarball or zip:</p>
<p><code></p>
<pre>
tmp $ mkdir dnscrypt
tmp $ cd dnscrypt
dnscrypt $ xar -xzf ~/Downloads/dnscrypt-osx-client.pkg
dnscrypt $ ls
Distribution                            dnscrypt.pkg                  dnscryptproxy-1.pkg
Resources                               dnscryptClientPostflight.pkg  dnscryptproxy.pkg
comopendnsosxdnscryptconfigupdater.pkg  dnscryptClientPreflight.pkg   dnsupdater.pkg
comopendnsosxdnscryptmenubar.pkg        dnscryptmenubar.pkg
</pre>
<p></code></p>
<p>This package actually has multiple sub-packages, but they are all bundled together, so the one <code>xar</code> operation has expanded them all into folders again.  There is no longer the extra <code>Contents/</code> folder level, the files are just directly in the <em>.pkg</em> folder. And the Archive.bom file has been renamed to just <code>Bom</code>.  And with a little bash script, we can see the whole contents:</p>
<p><code>
<pre>
for bom in */Bom; do echo --------------------; echo $bom; lsbom $bom; done
</pre>
<p></code></p>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/mac-os-x/'>mac os x</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/package/'>package</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/pkg/'>pkg</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=199&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/12/08/seeing-the-contents-of-the-new-pkg-format-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>turning a series of tarballs into a series of git commits</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/11/07/turning-a-series-of-tarballs-into-a-series-of-git-commits/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/11/07/turning-a-series-of-tarballs-into-a-series-of-git-commits/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 16:00:07 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tarball]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=195</guid>
		<description><![CDATA[I find that gitk, the git history browser, is immensely valuable for navigating code. I found myself wanting to navigate the history of code for which I only had the release tarballs. So I wanted to turn them into a series of git commits. The tricky thing here is that I wanted to include adds [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=195&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I find that gitk, the git history browser, is immensely valuable for navigating code.  I found myself wanting to navigate the history of code for which I only had the release tarballs.  So I wanted to turn them into a series of git commits.  The tricky thing here is that I wanted to include adds and deletes, so basically I <code>rm -rf</code> the contents of the git repo, then untar the tarball into the git repo, then you can see adds and deletes.  Here&#8217;s the script that I actually used:</p>
<pre>
#!/bin/sh

for tarball in `\ls -1 Pd-0.42.5-extended-l2ork-dev-201*.tar.bz2 | sort`; do
	 date=`ls -l --time-style=long-iso $tarball | cut -b35-52`
	 echo --------------------------------
	 echo $tarball $date
	 rm -rf pd-l2ork.git/*
	 tar --exclude-vcs \
		  --exclude .svn \
		  --exclude .git \
		  --exclude pure-data/pd/.git \
		  --exclude \*~ \
		  --exclude pure-data/pd/bin \
		  --exclude pure-data/pd/obj \
		  --exclude \*.o \
		  --transform 's|pure-data/pd|pd-l2ork.git|' \
		  -xjf $tarball pure-data/pd
	 cd /export/storage/pd-l2ork/pd-l2ork.git/
	 echo "git add"
	 git add `find . -type f | grep -v .git`
	 echo "git commit"
	 git commit --date="$date" --author="Ivica Ico Bukvic " -am "$tarball"
	 cd /export/storage/pd-l2ork/
done
</pre>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/git/'>git</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/history/'>history</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/script/'>script</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/tarball/'>tarball</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=195&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/11/07/turning-a-series-of-tarballs-into-a-series-of-git-commits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>svn vs. HFS+ on GNU/Linux</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/08/24/svn-vs-hfs-on-gnulinux/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/08/24/svn-vs-hfs-on-gnulinux/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 17:22:04 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[GNU/linux]]></category>
		<category><![CDATA[hfs+]]></category>
		<category><![CDATA[hfsplus]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=189</guid>
		<description><![CDATA[I run Ubuntu and Mac OS X on a MacBook Pro as my main machine. I do most development work on Ubuntu and most emailing, calendaring, etc. on Mac OS X. But sometimes I want access to my source code in Mac OS X to do quick little fixes and the like. So I made [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=189&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I run Ubuntu and Mac OS X on a MacBook Pro as my main machine.  I do most development work on Ubuntu and most emailing, calendaring, etc. on Mac OS X.  But sometimes I want access to my source code in Mac OS X to do quick little fixes and the like.  <a href="http://annoyingtechnicaldetails.wordpress.com/2011/05/05/sharing-home-across-ubuntu-and-mac-os-x/" target="_blank">So I made a case-sensitive HFS+ partition that is mounted read/write in both Ubuntu and Mac OS X</a>.  Ubuntu can&#8217;t handle the HFS+ journalling yet, and HFS+ without journaling seems to explode every once in a while, so I didn&#8217;t want to mount my Mac OS X system read/write on Ubuntu, hence the separate partition.</p>
<p>It works quite well, especially when working with git, since the folder is the repo.  With svn, its a bit of a different story.  It mostly works, but there are some cases where SVN freaks out.  If I do <code>svn update</code> in a folder, it all works fine.  If I do <code>svn update Makefile</code>, i.e. only directly updating a file, I get:</p>
<p><code><br />
hans@palatschinken externals $ svn up Makefile<br />
svn: Can't open file 'Makefile/.svn/entries': Permission denied<br />
</code></p>
<p>Apparently this is a known issue to the SVN devs, but they don&#8217;t want to fix it: <a href="http://svn.haxx.se/users/archive-2010-05/0308.shtml" target="_blank">Re: svn diff issue: svn confuses files with dirs on hfsplus?</a></p>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/gnulinux/'>GNU/linux</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/hfs/'>hfs+</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/hfsplus/'>hfsplus</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/mac-os-x/'>mac os x</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/partition/'>partition</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/svn/'>svn</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/ubuntu/'>ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=189&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/08/24/svn-vs-hfs-on-gnulinux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>libtool error dumps</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/05/27/libtool-error-dumps/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/05/27/libtool-error-dumps/#comments</comments>
		<pubDate>Fri, 27 May 2011 21:16:07 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[autogen]]></category>
		<category><![CDATA[autotools]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[GNU/linux]]></category>
		<category><![CDATA[libtool]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[X--tag=CC]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=185</guid>
		<description><![CDATA[So GNU libtool and the whole autotools suite does seem to help a lot with complicated builds that need auto-detection of all sorts of things, but they can also be an exercise in totally obtuse errors, bizarre scripting, and frustration. I suppose all build systems really share those qualities in some respect. One thing that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=185&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So GNU libtool and the whole autotools suite does seem to help a lot with complicated builds that need auto-detection of all sorts of things, but they can also be an exercise in totally obtuse errors, bizarre scripting, and frustration.  I suppose all build systems really share those qualities in some respect.  One thing that I&#8217;ve run into with puredata/pd-extended is this strange error dump from libtool that seems to be unfindable via search engines.  Here&#8217;s a snippet:</p>
<pre>
../libtool: line 844: X--tag=CC: command not found
../libtool: line 844: X--tag=CC: command not found
../libtool: line 844: X--tag=CC: command not found
../libtool: line 844: X--tag=CC: command not found
../libtool: line 877: libtool: ignoring unknown tag : command not found
../libtool: line 877: libtool: ignoring unknown tag : command not found
../libtool: line 844: X--mode=compile: command not found
../libtool: line 844: X--mode=compile: command not found
../libtool: line 877: libtool: ignoring unknown tag : command not found
../libtool: line 877: libtool: ignoring unknown tag : command not found
../libtool: line 844: X--mode=compile: command not found
../libtool: line 844: X--mode=compile: command not found
../libtool: line 1011: *** Warning: inferring the mode of operation is deprecated.: command not found
</pre>
<p>Why on earth did libtool prepend that &#8216;X&#8217; to the command line options and try to run them as commands? WTF?  This has baffled me to no end&#8230; until I realized its because a one version of libtool does not like files generated by a different version of libtool!  Arg.  I solved this by deleting the <strong>m4</strong> folder in my project, then restoring what files are needed in that folder by doing <code>git reset --hard</code></p>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/autogen/'>autogen</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/autotools/'>autotools</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/build/'>build</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/debian/'>debian</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/gnulinux/'>GNU/linux</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/libtool/'>libtool</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/linux/'>linux</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/mac-os-x/'>mac os x</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/ubuntu/'>ubuntu</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/x-tagcc/'>X--tag=CC</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=185&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/05/27/libtool-error-dumps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>backing up and restoring a Nokia N810</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/05/24/backing-up-and-restoring-a-nokia-n810/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/05/24/backing-up-and-restoring-a-nokia-n810/#comments</comments>
		<pubDate>Tue, 24 May 2011 04:16:37 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[clone]]></category>
		<category><![CDATA[GNU/linux]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[n810]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=181</guid>
		<description><![CDATA[So I use a Nokia N810 running Maemo GNU/Linux as my main device, I send/receive SMS, IM, email, and phone calls with it. I not so long ago dropped my trusty N810 into a bucket of dirty mop water&#8230; if you check the archives, you&#8217;ll see that I revived it, and have been using it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=181&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I use a Nokia N810 running Maemo GNU/Linux as my main device, I send/receive SMS, IM, email, and phone calls with it.  I not so long ago dropped my trusty N810 into a bucket of dirty mop water&#8230;  <a href="http://annoyingtechnicaldetails.wordpress.com/2010/04/02/reviving-my-device-after-a-fall-into-a-bucket-of-dirty-water/" target="_blank">if you check the archives</a>, you&#8217;ll see that I revived it, and have been using it as my main device ever since.  It made a miraculous recovery.  But then&#8230; I was stupid enough to dropkick it into a wall.  It was still running fine, but the screen had about a good 10% of it covered in technicolor gibberish.  Then it started to heal!  Well, the screen did at least, it healed completely, and the whole screen worked fine&#8230; but!  The touchscreen started getting more and more out of whack until it finally died entirely.  Hard to use a touchscreen device without a working touchscreen, even tho the keyboard is quite nice.</p>
<p>Enter William Ward, I put the call out for me to purchase someone&#8217;s old N810.  He so kindly gave me his old N810 which he no longer used.  Now I just wanted to clone my old device, its a heavily customized setup.  Then I remembered, its just a linux box, sooo I can just rsync it!  To make it a bit more reliable, I first rsynced the old device to my home server.  I ran this command as root (to make sure the perms worked) on my home server:</p>
<p><code>
<pre>
rsync -axHAXv --progress -e ssh root@10.0.0.135:/ root/
rsync -axHAXv --progress -e ssh root@10.0.0.135:/media/mmc2 media_mmc2/
</pre>
<p></code></p>
<p>Then once that finished, I just rsynced over everything to my new N810 with working touchscreen, again running the command as root on my home server:</p>
<p><code>
<pre>
rsync -axHAXv --delete --progress -e ssh root/ root@10.0.0.140:/
rsync -axHAXv --delete --progress -e ssh media_mmc2/ root@10.0.0.140:/media/mmc2
</pre>
<p></code></p>
<p>Et viola!  I had cloned my old install to the new hardware!</p>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/backup/'>backup</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/clone/'>clone</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/gnulinux/'>GNU/linux</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/maemo/'>maemo</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/n810/'>n810</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/restore/'>restore</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/rsync/'>rsync</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=181&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/05/24/backing-up-and-restoring-a-nokia-n810/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>DO NOT try to run GNU/Linux on a MacBook without a working CD drive!</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/05/16/do-not-try-to-run-gnulinux-on-a-macbook-without-a-working-cd-drive/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/05/16/do-not-try-to-run-gnulinux-on-a-macbook-without-a-working-cd-drive/#comments</comments>
		<pubDate>Mon, 16 May 2011 16:30:59 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=176</guid>
		<description><![CDATA[I&#8217;ve been happily dual booting between Ubuntu and Mac OS X on my 3rd gen MacBook Pro 3,1 for a while now. Its CD/DVD drive is barely functional, but I never use it, so I never thought about replacing it. Then I swapped out the hard drive for a new one, and messed up the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=176&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been happily dual booting between Ubuntu and Mac OS X on my 3rd gen MacBook Pro 3,1 for a while now.  Its CD/DVD drive is barely functional, but I never use it, so I never thought about replacing it.  Then I swapped out the hard drive for a new one, and messed up the grub 0.97 boot loader in the process.  I tried installing grub on my new disk when it was in an external firewire/USB enclosure.  I tried installing grub while the new disk was installed and booted into target disk mode.  I tried making a bootable USB or Firewire drive to start Debian or Ubuntu.  I tried, I tried, I tried&#8230; to no avail besides messing up my booting royally so I couldn&#8217;t boot to Mac OS X even without first booting to Target Disk Mode and running a Disk Utility &#8220;Repair Disk&#8221; on another MacBook on all my partitions.  Sometimes my disk would not even show up in the other Mac&#8217;s Disk Utility, at all, like it didn&#8217;t even exist.  Arg.  Scary to say the least.</p>
<p>I tried booting CDs but failed.  Arg.  Then I finally found that my MacBook Pro&#8217;s hobbled &#8220;SuperDrive&#8221; could actually read and boot from a real, printed Ubuntu 9.10 install disk!  Its nice and silvery since its printed in aluminum, not burned.  So my hobbled read it find, and I did the standard grub install and voila!  All is good:</p>
<p><code>
<pre>
grub-install --no-floppy --recheck --root-directory=/media/Ubuntu /dev/sda3
</pre>
<p></code></p>
<p>(yes indeed, that&#8217;s grub installing on the partition <code>/dev/sda3</code>, not the straight disk <code>/dev/sda</code>).  And remember to read the instructions of these things and actually follow them.  I kept wondering why rEFIt wasn&#8217;t installing again, with the <code>cd /efi/refit/; ./enable.sh</code> command.  Duh, because I didn&#8217;t do as they say and reboot twice!.</p>
<p>Maybe now that I have finally made it out of the hell of trying to get my Ubuntu booting again, I might be willing to dive in again to get grub2 working.  Booting .iso files directly would be pretty sweet!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=176&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/05/16/do-not-try-to-run-gnulinux-on-a-macbook-without-a-working-cd-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>sharing /home across Ubuntu and Mac OS X</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/05/05/sharing-home-across-ubuntu-and-mac-os-x/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/05/05/sharing-home-across-ubuntu-and-mac-os-x/#comments</comments>
		<pubDate>Thu, 05 May 2011 17:13:37 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[/home]]></category>
		<category><![CDATA[automount]]></category>
		<category><![CDATA[GNU/linux]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=168</guid>
		<description><![CDATA[I dual-boot between Ubuntu and Mac OS X on my MacBook Pro, and I like to have the setups parallel each other as much as possible. This means I can do things like share git repos and Android AVDs across OSes. One annoying detail is that the root of the home directories is different in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=168&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I dual-boot between Ubuntu and Mac OS X on my MacBook Pro, and I like to have the setups parallel each other as much as possible.  This means I can do things like share git repos and Android AVDs across OSes. One annoying detail is that the root of the home directories is different in each OS.  In GNU/Linux, its /home. In Mac OS X, its /Users.  That can be easily solved by using a symlink, i.e. <code>ln -s /Users /home</code>.  But arg, Mac OS X&#8217;s NFS automounter gets in the way!  It mounts /home and then if you use a networked home folder, it&#8217;ll mount it in /home.  But who uses that on a laptop?  </p>
<pre><code>
$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local)
fdesc on /dev (fdesc, union)
map -hosts on /net (autofs, automounted)
map auto_home on /home (autofs, automounted)
/dev/disk0s3 on /Volumes/Ubuntu (fusefs_ext2, local, read-only, synchronous)
/dev/disk0s4 on /Volumes/Untitled (fusefs_ext2, local, read-only, synchronous)
/dev/disk0s5 on /Volumes/64-bit (fusefs_ext2, local, read-only, synchronous)
/dev/disk0s6 on /Volumes/share (hfs, local)
</code></pre>
<p>I say get rid of it!  Luckily Apple hasn&#8217;t killed all the UNIXiness of Mac OS X, and you can still do useful things by editing simple text files.  The NFS automounter is a good example, its settings are in <code>/etc/auto_master</code> and <code>/etc/auto_home</code>.  So I edited <code>/etc/auto_master</code> as root and just commented out the line about automounting <code>/home</code>, then told the automounter to re-check its config, and voila!  No more annoying <code>/home</code> mount!  So in summary:</p>
<pre><code>
$ cd /
$ sudo emacs /etc/auto_master
$ sudo automount -vc
$ sudo umount /home
$ sudo rmdir /home
$ sudo ln -s /Users /home
</code></pre>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/home/'>/home</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/automount/'>automount</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/gnulinux/'>GNU/linux</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/mac-os-x/'>mac os x</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/mount/'>mount</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/ubuntu/'>ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/168/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=168&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/05/05/sharing-home-across-ubuntu-and-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>supporting adb for Android phones on Ubuntu</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/04/05/supporting-adb-for-android-phones-on-ubuntu/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/04/05/supporting-adb-for-android-phones-on-ubuntu/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 15:50:47 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=163</guid>
		<description><![CDATA[Working with Eclipse/Android/adb on Ubuntu works quite well. There is one minor annoyance with it: the Android SDK does not set up the udev rules that allows the adb tool to find the phones when you plugin them in via USB. You need to add a one-liner udev rules file to /etc/udev/rules.d for each phone [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=163&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Working with Eclipse/Android/<code>adb</code> on Ubuntu works quite well.  There is one minor annoyance with it: the Android SDK does not set up the udev rules that allows the <code>adb</code> tool to find the phones when you plugin them in via USB.  You need to add a one-liner udev rules file to /etc/udev/rules.d for each phone you want to support.  Here is my collection:</p>
<p><code>10-archos-5-tablet.rules</code></p>
<pre>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e79", ATTRS{idProduct} =="1361", MODE="0600", OWNER="hans", SYMLINK+="android_adb"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e79", ATTRS{idProduct} =="1361", MODE="0600", OWNER="hans", SYMLINK+="android_fastboot"
</pre>
<p><code>10-htc-eris.rules</code></p>
<pre>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c98", MODE="0600", OWNER="hans"
</pre>
<p><code>10-htc-g1.rules</code></p>
<pre>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c01", MODE="0600", OWNER="hans"
</pre>
<p><code>10-htc-hero.rules</code></p>
<pre>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02", MODE="0600", OWNER="hans"
</pre>
<p><code>10-htc-wildfire.rules</code></p>
<pre>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c8b", MODE="0600", OWNER="hans"
</pre>
<p><code>10-motorola-droid.rules</code></p>
<pre>
SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct} =="41db", MODE="0600", OWNER="hans"
</pre>
<p><code>10-nexus-one.rules</code></p>
<pre>
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", MODE="0600", OWNER="hans", SYMLINK+="android_adb"
</pre>
<p>To use them, copy these all to <code>/etc/udev/rules.d</code>, then change <strong>hans</strong> to be your username.  Then you need to restart udev and adb to make sure these changes take effect:</p>
<pre>
$ sudo restart udev
$ adb kill-server
$ adb start-server
$ adb devices
</pre>
<p>You should now see a report of your Android device(s) that are currently attached.  Here&#8217;s an example with an HTC Wildfire attached:</p>
<pre>
$ adb devices
List of devices attached
HT0AFPY04124	device
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=163&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/04/05/supporting-adb-for-android-phones-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
		<item>
		<title>download mp3s from Google Voice</title>
		<link>http://annoyingtechnicaldetails.wordpress.com/2011/02/16/download-mp3s-from-google-voice/</link>
		<comments>http://annoyingtechnicaldetails.wordpress.com/2011/02/16/download-mp3s-from-google-voice/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 18:49:24 +0000</pubDate>
		<dc:creator>eighthave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[download mp3]]></category>
		<category><![CDATA[google voice]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[voicemail]]></category>
		<category><![CDATA[vonage]]></category>

		<guid isPermaLink="false">http://annoyingtechnicaldetails.wordpress.com/?p=156</guid>
		<description><![CDATA[So I use Google Voice for my voicemail, which gives often ridiculous computer transcriptions of the voicemail. I also use Vonage, which gives quite accurate human transcriptions, and includes an mp3 of the voicemail in the email. This is a much better situation, but Google Voice doesn&#8217;t let me turn of its voicemail so that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=156&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I use Google Voice for my voicemail, which gives often ridiculous computer transcriptions of the voicemail.  I also use Vonage, which gives quite accurate human transcriptions, and includes an mp3 of the voicemail in the email.  This is a much better situation, but Google Voice doesn&#8217;t let me turn of its voicemail so that only my Vonage voicemail service takes messages.  Arg.  So in my annoyance, I decided to try to write a script to download the mp3s from Google Voice.  Turns out it was quite easy, especially because I was using python.  Here&#8217;s my script, to use it, right click on the <em>Play message</em> link in the email, and copy it, then use that URL as the argument to this script (you&#8217;ll probaby want to change the <code>dldir</code> to something that works for your computer):</p>
<pre>
<code>
#!/usr/bin/python

import sys, re, time
from urllib2 import Request, urlopen, URLError, HTTPError

dldir = '/Users/hans/Desktop/'

url = sys.argv[1]
f = urlopen(url)
pagecontents = f.read()
f.close()

regex = re.compile("'messagePath': '(.*)'", re.MULTILINE)
for match in regex.finditer(pagecontents):
    mp3url = match.group(1)

regex = re.compile('gc-message-name"&gt;<b>(.*)</b></span>(.*)&lt;/span&#039;, re.MULTILINE)
for match in regex.finditer(pagecontents):
    msgtime = match.group(1)

msgdate = time.strftime(&#039;%Y-%m-%d %H.%M&#039;, time.strptime(msgtime, &quot;%m/%d/%y %I:%M %p&quot;))

filename = &#039;voicemail from &#039; + name + &#039; on &#039; + msgdate + &#039;.mp3&#039;
print &quot;filename: &quot; + filename
mp3 = urlopen(mp3url)
mp3contents = mp3.read()
mp3.close()
writefile = open(dldir + filename, &#039;w&#039;)
writefile.write(mp3contents)
writefile.close()
</code>
</pre>
<br /> Tagged: <a href='http://annoyingtechnicaldetails.wordpress.com/tag/download-mp3/'>download mp3</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/google-voice/'>google voice</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/python/'>python</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/script/'>script</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/voicemail/'>voicemail</a>, <a href='http://annoyingtechnicaldetails.wordpress.com/tag/vonage/'>vonage</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/annoyingtechnicaldetails.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/annoyingtechnicaldetails.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/annoyingtechnicaldetails.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/annoyingtechnicaldetails.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/annoyingtechnicaldetails.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/annoyingtechnicaldetails.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/annoyingtechnicaldetails.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/annoyingtechnicaldetails.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/annoyingtechnicaldetails.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/annoyingtechnicaldetails.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/annoyingtechnicaldetails.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/annoyingtechnicaldetails.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/annoyingtechnicaldetails.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/annoyingtechnicaldetails.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=annoyingtechnicaldetails.wordpress.com&amp;blog=4408329&amp;post=156&amp;subd=annoyingtechnicaldetails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://annoyingtechnicaldetails.wordpress.com/2011/02/16/download-mp3s-from-google-voice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eighthave</media:title>
		</media:content>
	</item>
	</channel>
</rss>
