<?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>Ben McGraw&#039;s Egometry &#187; Technology</title>
	<atom:link href="http://www.egometry.com/categories/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.egometry.com</link>
	<description>cogito ergo stfu</description>
	<lastBuildDate>Fri, 30 Sep 2011 07:55:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to merge trunk conflicts safely in bzr (bazaar.canonical.com/)</title>
		<link>http://www.egometry.com/tech/how-to-merge-trunk-conflicts-safely-in-bzr-bazaar-canonical-com/</link>
		<comments>http://www.egometry.com/tech/how-to-merge-trunk-conflicts-safely-in-bzr-bazaar-canonical-com/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 22:57:02 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[sadness]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=1207</guid>
		<description><![CDATA[Sadly, the openstack community currently uses bzr instead of git. Instead of rebasing, this is the process by which I have to deal with tree conflicts &#8220;safely&#8221;? bzr branch lp:trunk_project merge_temp_dir cd merge_temp_dir &#038;&#038; bzr merge ../your_original_branch vi path_to_the_conflicted_files #and make your merges bzr resolved bzr commit -m "resolving commits." bzr push --overwrite lp~myusername/path/to/my/branch I [...]]]></description>
			<content:encoded><![CDATA[<p>Sadly, the openstack community currently uses bzr instead of git.  Instead of rebasing, this is the process by which I have to deal with tree conflicts &#8220;safely&#8221;?</p>
<pre>
bzr branch lp:trunk_project merge_temp_dir
cd merge_temp_dir &#038;&#038; bzr merge ../your_original_branch
vi path_to_the_conflicted_files #and make your merges
bzr resolved
bzr commit -m "resolving commits."
bzr push --overwrite lp~myusername/path/to/my/branch
</pre>
<p>I hate this.  And I&#8217;m storing it here so I can reference it in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/how-to-merge-trunk-conflicts-safely-in-bzr-bazaar-canonical-com/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The problem with gtalk conversations</title>
		<link>http://www.egometry.com/tech/the-problem-with-gtalk-conversations/</link>
		<comments>http://www.egometry.com/tech/the-problem-with-gtalk-conversations/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 20:16:48 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Ephemera]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Andy Friesen]]></category>
		<category><![CDATA[Ben McGraw]]></category>
		<category><![CDATA[Chad Austin]]></category>
		<category><![CDATA[Gtalk]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=1104</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.egometry.com/i/2011/01/gtalk-conversation1.png" alt="The problem with gtalk conversations."></p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/the-problem-with-gtalk-conversations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The universal problem-solving technique</title>
		<link>http://www.egometry.com/tech/the-universal-problem-solving-technique/</link>
		<comments>http://www.egometry.com/tech/the-universal-problem-solving-technique/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 03:05:19 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=954</guid>
		<description><![CDATA[1. Find an error message. 2. google that error message in quotes. If 2 fails, google substrings of the error message. Only after several failed iterations of this process should you bug your cool programmer friends. You&#8217;ll be glad you did. They&#8217;ll be glad you did. And, if you actually needed to ask your cool [...]]]></description>
			<content:encoded><![CDATA[<p>1. Find an error message.<br />
2. google that error message in quotes.</p>
<p>If 2 fails, google substrings of the error message.</p>
<p>Only after several failed iterations of this process should you bug your cool programmer friends.  You&#8217;ll be glad you did.  They&#8217;ll be glad you did.</p>
<p>And, if you actually needed to ask your cool programmer friends for help (or discovered the answer yourself in spite of failed searches) you should make a public blog post with the error message itself in the title and the entire problem you experienced (with solution) in the body.</p>
<p>In this way, you are improving the internet and making the next guy&#8217;s life easier.  Also, writing about the solution will help you remember it yourself next time, so it&#8217;s a double-win.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/the-universal-problem-solving-technique/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Package lua5.1 was not found in the pkg-config search path&#8221; on OSX</title>
		<link>http://www.egometry.com/tech/package-lua5-1-was-not-found-in-the-pkg-config-search-path-on-osx/</link>
		<comments>http://www.egometry.com/tech/package-lua5-1-was-not-found-in-the-pkg-config-search-path-on-osx/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 08:12:10 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=1039</guid>
		<description><![CDATA[So I was trying to install Lua-GD on my macbook pro, but there was no OSX binary. I figure, eh, I can build a package. So then I download the source and do the make dance. After a bit I get to: Package lua5.1 was not found in the pkg-config search path. Perhaps you should [...]]]></description>
			<content:encoded><![CDATA[<p>So I was trying to install <a href="http://lua-gd.luaforge.net/">Lua-GD</a> on my macbook pro, but there was no OSX binary.</p>
<p>I figure, eh, I can build a package.  So then I download the source and do the make dance.  After a bit I get to:</p>
<pre>
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
</pre>
<p>And that&#8217;s where I got stuck after several googles.  The internets were unkind to this problem.</p>
<p>So I stepped away for a bit, and when I got back to the computer I decided I was probably approaching this from the wrong angle.  At which point I <a href="http://www.macports.org/ports.php?by=name&#038;substr=lua">did a search on macports</a> and found <a href="http://trac.macports.org/browser/trunk/dports/devel/lua-lua-gd/Portfile">lua-lua-gd</a>.</p>
<p>Ratholes aren&#8217;t fun.  Sometimes it&#8217;s best to take a step back instead of pounding a round peg into a square hole.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/package-lua5-1-was-not-found-in-the-pkg-config-search-path-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Github Setup Commands</title>
		<link>http://www.egometry.com/tech/github-setup-commands/</link>
		<comments>http://www.egometry.com/tech/github-setup-commands/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 07:19:07 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=1037</guid>
		<description><![CDATA[(This is mainly because I keep forgetting them and I don&#8217;t want to keep making new repositories to see these steps.) Global setup: Download and install Git, and then&#8230; git config --global user.name "MY NAME" git config --global user.email MY@EMAIL.COM Next steps: mkdir cd MY-NEW-REPOSTORY git init touch README git add README git commit -m [...]]]></description>
			<content:encoded><![CDATA[<p>(This is mainly because I keep forgetting them and I don&#8217;t want to keep making new repositories to see these steps.)</p>
<h2>Global setup:</h2>
<h3> Download and install Git, and then&#8230;</h3>
<pre>git config --global user.name "MY NAME"
git config --global user.email MY@EMAIL.COM</pre>
<h2>Next steps:</h2>
<pre>mkdir
cd MY-NEW-REPOSTORY
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:GITHUB-USERNAME/MY-NEW-REPOSTORY.git
git push origin master</pre>
<h2>Existing Git Repo?</h2>
<pre>cd existing_git_repo
git remote add origin git@github.com:GITHUB-USERNAME/MY-NEW-REPOSTORY.git
git push origin master</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/github-setup-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make wordpress autoupdate work on a debian server</title>
		<link>http://www.egometry.com/tech/how-to-make-wordpress-autoupdate-work-on-a-debian-server/</link>
		<comments>http://www.egometry.com/tech/how-to-make-wordpress-autoupdate-work-on-a-debian-server/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 20:05:17 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=972</guid>
		<description><![CDATA[In case you&#8217;re seeing a call to action to enter FTP credentials when you attempt to auto-update your wordpress, you just need to log into your server, cd into the blog&#8217;s webroot directory, and do this: sudo chown -R www-data . (replace www-data with whomever your apache user is if it&#8217;s not www-data.) Yeah, that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>In case you&#8217;re seeing a call to action to enter FTP credentials when you attempt to auto-update your wordpress, you just need to log into your server, cd into the blog&#8217;s webroot directory, and do this:</p>
<pre>sudo chown -R www-data .</pre>
<p>(replace www-data with whomever your apache user is if it&#8217;s not www-data.)</p>
<p>Yeah, that&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/how-to-make-wordpress-autoupdate-work-on-a-debian-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boot Camp Woes</title>
		<link>http://www.egometry.com/tech/boot-camp-woes/</link>
		<comments>http://www.egometry.com/tech/boot-camp-woes/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 22:51:56 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=967</guid>
		<description><![CDATA[Apple is retarded for not putting Bootcamp files on their website downloadable by all.]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I installed Boot Camp on my 13&#8243; Macbook Pro.  This was mainly to enjoy Civilization 5 while on vacation.</p>
<p>What ensued was 10+ hours of hell.  Here are the high points:</p>
<ul>
<li> You need the matching Macbook Pro OS X Install DVD to the hardware version you have.  This is very frustrating because I had my girlfriend&#8217;s previous-generation 13&#8243; Macbook Pro disc, but couldn&#8217;t find my own.</li>
<li> Apple is retarded for not putting Bootcamp files on their website downloadable by all.</li>
<li> the 13&#8243; macbook pro didnt have a working sound jack even after running bootcamp.  The sound drivers are at <a href="http://www.cirrus.com/en/products/pro/detail/P1233.html">http://www.cirrus.com/en/products/pro/detail/P1233.html</a></li>
</ul>
<p>The fun part is that my next-door neighbor had borrowed my Macbook Pro&#8217;s Install Disc a day or two before (nobody informed me).  He&#8217;d done it to make a master image to avoid just this sort of hell.  He was very sorry when he found out my plight. ;(</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/boot-camp-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Debian Install</title>
		<link>http://www.egometry.com/tech/java-debian-install/</link>
		<comments>http://www.egometry.com/tech/java-debian-install/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 01:45:21 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=970</guid>
		<description><![CDATA[All you need to do to install java on debian is "sudo apt-get install sun-java6-jdk".]]></description>
			<content:encoded><![CDATA[<p>For my internet-using administrative brethren: this is all you need to do on a modern debian box for a modern java install:</p>
<pre>sudo apt-get install sun-java6-jdk</pre>
<p>The internet is filled with false paths involving
<pre>sudo apt-get -u install java-package</pre>
<p> and
<pre>fakeroot</pre>
<p> and
<pre>make-jpkg</pre>
<p>.</p>
<p>None of that is necessary anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/java-debian-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>svn: DB_VERSION_MISMATCH: Database environment version mismatch</title>
		<link>http://www.egometry.com/gruedorf/svn-db_version_mismatch-database-environment-version-mismatch/</link>
		<comments>http://www.egometry.com/gruedorf/svn-db_version_mismatch-database-environment-version-mismatch/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 05:57:34 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Gruedorf]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=957</guid>
		<description><![CDATA[Of course, this was about 10 hours after where I expected to grab my old repo's contents...]]></description>
			<content:encoded><![CDATA[<h2>&#8230;or Part 2 of <a href=http://www.egometry.com/tech/could-not-open-the-requested-svn-filesystem/ target=_blank>&#8220;Could not open the requested SVN filesystem&#8221;</a></h2>
<p>Two years ago I ran into a problem with my SVN filesystem and got &#8220;Could not open the requested SVN filesystem&#8221; as the front-end error.</p>
<p>This appears to be an annoying catch-all error for &#8220;shit is broken with your SVN, dawg.&#8221;</p>
<p>Last time, it was because I had SVNPath defined in my apache&#8217;s httpd.conf file instead of SVNParentPath (when I had many repos in the same root directory.)  This time I did not have that problem, but I did have <i>the same error message</i>.</p>
<p>That is annoying.</p>
<p>After several dead-ends, the vital kernel of information came from <a href=http://mrooney.blogspot.com target=_blank>Mr. Mike Rooney&#8217;s</a> suggestion to go to the host server itself and run:</p>
<pre>
sudo svn ls file:///path/to/local/repo
</pre>
</p>
<p>The two important parts here are that I&#8217;m trying to access the bjorked repo from the local filesystem, so the webdav layer isn&#8217;t being retarded at me and giving me the same enigmatic error message.  The second important part here is that I&#8217;m running sudo to get past possible permission problems.</p>
<p>That command produced the following output:</p>
<pre>
$ sudo svn ls file:///path/to/local/repo/
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///path/to/local/repo/'
svn: Berkeley DB error for filesystem '/path/to/local/repo/db' while opening environment:

svn: DB_VERSION_MISMATCH: Database environment version mismatch
svn: bdb: Program version 4.6 doesn't match environment version 4.4
</pre>
</p>
<p>At this point, I used the tried and true google-the-unique-error-message technique.  After googling &#8220;svn: DB_VERSION_MISMATCH: Database environment version mismatch&#8221; (including the quotation marks for an exact search), I found <a href="http://www.hermann-uwe.de/taxonomy/term/50" target=_blank>this blog post</a> that solved my problem.</p>
<p>Here&#8217;s the punchline:</p>
<pre>
$ cd /path/to/myrepo/db
$ db4.4_checkpoint -1
$ db4.4_recover
$ db4.4_archive
$ svnlook youngest ..
$ db4.6_archive -d
</pre>
</p>
<h2>BUT&#8230;</h2>
<p>The double-punchline that screwed me for a while was the fact that the berekley db utils for 4.4 were unavailable via apt-get in modern times.  Thankfully, long-time <a href=http://surreality.us target=_blank>systems-administration bad-ass Ted Reed</a> was here to suggest the following set of commands: </p>
<pre>
$ wget http://mirrors.kernel.org/ubuntu/pool/universe/d/db4.4/libdb4.4_4.4.20-12_i386.deb
$ wget http://mirrors.kernel.org/ubuntu/pool/universe/d/db4.4/db4.4-util_4.4.20-12_i386.deb
$ dpkg -i libdb4.4_4.4.20-12_i386.deb
$ dpkg -i db4.4-util_4.4.20-12_i386.deb
</pre>
<p>All of these commands (run as root or through sudo) grab the neccesary files from arcane places and got them installed.  After that, the previous blog post&#8217;s wisdom could be applied.  From there, I was a chmod, a chgrp, and a chown away from actually being able to access my old repository again.
</p>
<p>Of course, this was about 10 hours after where I expected to grab my old repo&#8217;s contents&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/gruedorf/svn-db_version_mismatch-database-environment-version-mismatch/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to find debian apt-get packages and/or the right source?</title>
		<link>http://www.egometry.com/tech/how-to-find-debian-apt-get-packages-andor-the-right-source/</link>
		<comments>http://www.egometry.com/tech/how-to-find-debian-apt-get-packages-andor-the-right-source/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 02:29:29 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian apt-get package sources]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=953</guid>
		<description><![CDATA[Ask http://packages.debian.org/ Specifically the searchbox partway down the page under &#8220;Search package directories&#8221;. Yeah, hat&#8217;s about it.]]></description>
			<content:encoded><![CDATA[<p>Ask http://packages.debian.org/</p>
<p>Specifically the searchbox partway down the page under &#8220;Search package directories&#8221;.</p>
<p>Yeah, hat&#8217;s about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/how-to-find-debian-apt-get-packages-andor-the-right-source/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

