<?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>Xaprb &#187; Subversion</title>
	<atom:link href="http://www.xaprb.com/blog/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:58:56 +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>Get Maatkit fast from the command line</title>
		<link>http://www.xaprb.com/blog/2008/05/21/get-maatkit-fast-command-line/</link>
		<comments>http://www.xaprb.com/blog/2008/05/21/get-maatkit-fast-command-line/#comments</comments>
		<pubDate>Wed, 21 May 2008 12:57:46 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2007/07/19/feedburner-stuff-plugins-to-install/</guid>
		<description><![CDATA[I have been using Maatkit in a different way since I joined Percona as a consultant. When I&#8217;m working on a system now, it&#8217;s a new, unfamiliar system &#8212; not one where I have already installed my favorite programs. And that means I want to grab my favorite productivity tools fast. I intentionally wrote the [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2009/03/25/mysql-command-line-tip-compare-result-sets/' rel='bookmark' title='Permanent Link: MySQL command-line tip: compare result sets'>MySQL command-line tip: compare result sets</a></li>
<li><a href='http://www.xaprb.com/blog/2011/06/11/vim-the-ultimate-command-line-password-manager/' rel='bookmark' title='Permanent Link: Vim, the ultimate command-line password manager'>Vim, the ultimate command-line password manager</a></li>
<li><a href='http://www.xaprb.com/blog/2008/03/09/a-very-fast-fnv-hash-function-for-mysql/' rel='bookmark' title='Permanent Link: A very fast FNV hash function for MySQL'>A very fast FNV hash function for MySQL</a></li>
<li><a href='http://www.xaprb.com/blog/2007/05/12/how-fast-is-mysql-table-checksum/' rel='bookmark' title='Permanent Link: How fast is MySQL Table Checksum?'>How fast is MySQL Table Checksum?</a></li>
<li><a href='http://www.xaprb.com/blog/2007/10/23/how-fast-is-mysql-replication/' rel='bookmark' title='Permanent Link: How fast is MySQL replication?'>How fast is MySQL replication?</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>I have been using Maatkit in a different way since I joined <a href="http://www.percona.com/">Percona</a> as a consultant.  When I&#8217;m working on a system now, it&#8217;s a new, unfamiliar system &#8212; not one where I have already installed my favorite programs.  And that means I want to grab my favorite productivity tools fast.</p>

<p>I intentionally wrote the <a href="http://www.maatkit.org">Maatkit</a> tools so they don&#8217;t need to be &#8220;installed.&#8221;  You just run them, that&#8217;s all.  But I never made them easy to download.</p>

<p>I fixed that.  Now, at the command line, you can just run this:</p>

<pre>wget http://www.maatkit.org/get/mk-table-sync</pre>

<p>Now it&#8217;s ready to run.  Behind the scenes are some Apache mod_rewrite rules, a Perl script or two, and Subversion.  When you do this, you&#8217;re getting the latest code from Subversion&#8217;s trunk.[1][2]  (I like to run on the bleeding edge.  Releases are for people who want to install stuff.)</p>

<p>Because there&#8217;s some Perl magic behind it, I made it even easier &#8212; it does pattern-matching on partial names and Does The Right Thing:</p>

<pre>baron@kanga:~$ wget http://www.maatkit.org/get/sync
--21:38:50--  http://www.maatkit.org/get/sync
           =&gt; `sync'
Resolving www.maatkit.org... 64.130.10.15
Connecting to www.maatkit.org|64.130.10.15|:80... connected.
HTTP request sent, awaiting response... 302 Moved
Location: http://www.maatkit.org/get/mk-table-sync [following]
--21:38:50--  http://www.maatkit.org/get/mk-table-sync
           =&gt; `mk-table-sync'
Connecting to www.maatkit.org|64.130.10.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-perl]

    [      &lt;=&gt;                            ] 163,259      136.51K/s             

21:38:51 (136.13 KB/s) - `mk-table-sync' saved [163259]</pre>

<p>The redirection is there because otherwise wget will save the file under the name &#8216;sync&#8217; instead of &#8216;mk-table-sync&#8217;.</p>

<p>And if you&#8217;ve forgotten which tools exist, you can just click on over to <a href="http://www.maatkit.org/get/">http://www.maatkit.org/get/</a> and see.</p>

<p>A quick poll: instead of getting the latest trunk, should this give you the code from the last release?  I can do that, if you want.</p>

<p>[1] OK, it&#8217;s only refreshed every hour.  So you&#8217;re getting code that&#8217;s up to an hour old.</p>

<p>[2] <strong>update:</strong> now /get/foo gets the latest release, and /trunk/foo gets the latest trunk code.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2009/03/25/mysql-command-line-tip-compare-result-sets/' rel='bookmark' title='Permanent Link: MySQL command-line tip: compare result sets'>MySQL command-line tip: compare result sets</a></li>
<li><a href='http://www.xaprb.com/blog/2011/06/11/vim-the-ultimate-command-line-password-manager/' rel='bookmark' title='Permanent Link: Vim, the ultimate command-line password manager'>Vim, the ultimate command-line password manager</a></li>
<li><a href='http://www.xaprb.com/blog/2008/03/09/a-very-fast-fnv-hash-function-for-mysql/' rel='bookmark' title='Permanent Link: A very fast FNV hash function for MySQL'>A very fast FNV hash function for MySQL</a></li>
<li><a href='http://www.xaprb.com/blog/2007/05/12/how-fast-is-mysql-table-checksum/' rel='bookmark' title='Permanent Link: How fast is MySQL Table Checksum?'>How fast is MySQL Table Checksum?</a></li>
<li><a href='http://www.xaprb.com/blog/2007/10/23/how-fast-is-mysql-replication/' rel='bookmark' title='Permanent Link: How fast is MySQL replication?'>How fast is MySQL replication?</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/05/21/get-maatkit-fast-command-line/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Maatkit on Ohloh</title>
		<link>http://www.xaprb.com/blog/2007/12/08/maatkit-on-ohloh/</link>
		<comments>http://www.xaprb.com/blog/2007/12/08/maatkit-on-ohloh/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 12:03:12 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Proxy]]></category>
		<category><![CDATA[Ohloh]]></category>
		<category><![CDATA[Sheeri Kritzer Cabral]]></category>
		<category><![CDATA[Social networking]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2007/12/08/maatkit-on-ohloh/</guid>
		<description><![CDATA[<p><a href="http://sheeri.net/">Sheeri </a>wrote a post (now a 404 error) referring to <a href="http://maatkit.sourceforge.net/">Maatkit </a>on <a href="http://www.ohloh.net/">Ohloh</a>, which I have never heard of before.  I took a look at <a href="http://www.ohloh.net/projects/10083">what Ohloh thinks about Maatkit</a>.  It's kind of neat.  Beyond just the obvious "social website" stuff that's all the rage these days, it actually looks at the project's SVN history, analyzes the codebase, and so on.</p>

<p>It also estimates 8 person-years of work have gone into the project, and says that at $55,000/year it would cost $450,702 to write the code as it currently exists, which is kind of funny.  It took me a whole lot less than 8 years to write.  (Perhaps this is why that salary strikes me as unrealistic).</p>

<p>It has a couple of other interesting things, like a visual timeline of source control commits, analysis of licenses it finds in the code, analysis of programming languages, and so on.  Really pretty neat overall.</p>


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/06/24/percona-wants-to-hire-a-maatkit-developer/' rel='bookmark' title='Permanent Link: Percona wants to hire a Maatkit developer'>Percona wants to hire a Maatkit developer</a></li>
<li><a href='http://www.xaprb.com/blog/2008/12/01/maatkit-version-2582-released/' rel='bookmark' title='Permanent Link: Maatkit version 2582 released'>Maatkit version 2582 released</a></li>
<li><a href='http://www.xaprb.com/blog/2011/05/10/new-maatkit-tool-mk-table-usage/' rel='bookmark' title='Permanent Link: New Maatkit tool: mk-table-usage'>New Maatkit tool: mk-table-usage</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/17/learn-about-maatkit-at-the-mysql-conference/' rel='bookmark' title='Permanent Link: Learn about Maatkit at the MySQL Conference'>Learn about Maatkit at the MySQL Conference</a></li>
<li><a href='http://www.xaprb.com/blog/2008/12/29/maatkit-version-2725-released/' rel='bookmark' title='Permanent Link: Maatkit version 2725 released'>Maatkit version 2725 released</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sheeri.net/">Sheeri </a>wrote a post (now a 404 error) referring to <a href="http://code.google.com/p/maatkit/">Maatkit </a>on <a href="http://www.ohloh.net/">Ohloh</a>, which I have never heard of before.  I took a look at <a href="http://www.ohloh.net/projects/10083">what Ohloh thinks about Maatkit</a>.  It&#8217;s kind of neat.  Beyond just the obvious &#8220;social website&#8221; stuff that&#8217;s all the rage these days, it actually looks at the project&#8217;s SVN history, analyzes the codebase, and so on.</p>

<p>It also estimates 8 person-years of work have gone into the project, and says that at $55,000/year it would cost $450,702 to write the code as it currently exists, which is kind of funny.  It took me a whole lot less than 8 years to write.  (Perhaps this is why that salary strikes me as unrealistic).</p>

<p>It has a couple of other interesting things, like a visual timeline of source control commits, analysis of licenses it finds in the code, analysis of programming languages, and so on.  Really pretty neat overall.</p>

<p>There&#8217;s also the ubiquitous popularity rating: how many people have &#8220;stacked&#8221; the project.  I notice it&#8217;s been stacked 3 times, coincidentally the same number as <a href="http://www.ohloh.net/projects/6252">MySQL Proxy</a>.  It will be interesting to see how that changes over time.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/06/24/percona-wants-to-hire-a-maatkit-developer/' rel='bookmark' title='Permanent Link: Percona wants to hire a Maatkit developer'>Percona wants to hire a Maatkit developer</a></li>
<li><a href='http://www.xaprb.com/blog/2008/12/01/maatkit-version-2582-released/' rel='bookmark' title='Permanent Link: Maatkit version 2582 released'>Maatkit version 2582 released</a></li>
<li><a href='http://www.xaprb.com/blog/2011/05/10/new-maatkit-tool-mk-table-usage/' rel='bookmark' title='Permanent Link: New Maatkit tool: mk-table-usage'>New Maatkit tool: mk-table-usage</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/17/learn-about-maatkit-at-the-mysql-conference/' rel='bookmark' title='Permanent Link: Learn about Maatkit at the MySQL Conference'>Learn about Maatkit at the MySQL Conference</a></li>
<li><a href='http://www.xaprb.com/blog/2008/12/29/maatkit-version-2725-released/' rel='bookmark' title='Permanent Link: Maatkit version 2725 released'>Maatkit version 2725 released</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2007/12/08/maatkit-on-ohloh/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

