<?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>Histrionic Progenitor &#187; work</title>
	<atom:link href="http://stream.wolfteck.com/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://stream.wolfteck.com</link>
	<description>Isn&#039;t it obvious?</description>
	<lastBuildDate>Tue, 22 Sep 2009 05:05:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lame Command Line MySQL Database Duplication</title>
		<link>http://stream.wolfteck.com/2009/07/22/lame-command-line-mysql-database-duplication/</link>
		<comments>http://stream.wolfteck.com/2009/07/22/lame-command-line-mysql-database-duplication/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 01:51:31 +0000</pubDate>
		<dc:creator>rcw</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://stream.wolfteck.com/?p=54</guid>
		<description><![CDATA[echo &#8220;create database new&#8221; &#124; mysql -u root
mysqldump -u root old &#124; mysql -u root new
]]></description>
			<content:encoded><![CDATA[<p>echo &#8220;create database new&#8221; | mysql -u root</p>
<p>mysqldump -u root old | mysql -u root new</p>
]]></content:encoded>
			<wfw:commentRss>http://stream.wolfteck.com/2009/07/22/lame-command-line-mysql-database-duplication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access, Modify, and Change</title>
		<link>http://stream.wolfteck.com/2009/06/29/34/</link>
		<comments>http://stream.wolfteck.com/2009/06/29/34/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 01:05:49 +0000</pubDate>
		<dc:creator>rcw</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://stream.wolfteck.com/?p=34</guid>
		<description><![CDATA[What are Access, Modify, and Change as returned by the &#8217;stat&#8217; command?
What better way than to learn by example?  First, we start with no file:
rwill@rwill-laptop:~$ stat foo
stat: cannot stat `foo': No such file or directory
rwill@rwill-laptop:~$
Next we make our file:
rwill@rwill-laptop:~$ echo "Hello, World" &#62; foo
rwill@rwill-laptop:~$ stat foo
 File: `foo'
 Size: 12            Blocks: 8          IO Block: [...]]]></description>
			<content:encoded><![CDATA[<p>What are Access, Modify, and Change as returned by the &#8217;stat&#8217; command?</p>
<p>What better way than to learn by example?  First, we start with no file:</p>
<pre>rwill@rwill-laptop:~$ stat foo</pre>
<pre>stat: cannot stat `foo': No such file or directory</pre>
<pre>rwill@rwill-laptop:~$</pre>
<p>Next we make our file:</p>
<pre>rwill@rwill-laptop:~$ echo "Hello, World" &gt; foo</pre>
<pre>rwill@rwill-laptop:~$ stat foo</pre>
<pre> File: `foo'</pre>
<pre> Size: 12            Blocks: 8          IO Block: 4096   regular file</pre>
<pre>Device: 802h/2050d    Inode: 246126      Links: 1</pre>
<pre>Access: (0644/-rw-r--r--)  Uid: ( 1000/   rwill)   Gid: ( 1000/   rwill)</pre>
<pre>Access: 2009-06-29 16:25:21.000000000 -0500</pre>
<pre>Modify: 2009-06-29 16:25:06.000000000 -0500</pre>
<pre>Change: 2009-06-29 16:25:06.000000000 -0500</pre>
<pre>rwill@rwill-laptop:~$</pre>
<p>We can now see that our file exists and as expected, Access, Modify, and Change are all the same.  Now, lets read something from the file:</p>
<pre>rwill@rwill-laptop:~$ stat foo</pre>
<pre> File: `foo'</pre>
<pre> Size: 12            Blocks: 8          IO Block: 4096   regular file</pre>
<pre>Device: 802h/2050d    Inode: 246126      Links: 1</pre>
<pre>Access: (0644/-rw-r--r--)  Uid: ( 1000/   rwill)   Gid: ( 1000/   rwill)</pre>
<pre>Access: 2009-06-29 16:25:21.000000000 -0500</pre>
<pre>Modify: 2009-06-29 16:25:06.000000000 -0500</pre>
<pre>Change: 2009-06-29 16:25:06.000000000 -0500</pre>
<pre>rwill@rwill-laptop:~$</pre>
<p>We can now see that we Accessed the file (read from it) 15 seconds after it was created.  Now, let&#8217;s write to the file:</p>
<pre>rwill@rwill-laptop:~$ echo "Hello Foo" &gt;&gt; foo</pre>
<pre>rwill@rwill-laptop:~$ stat foo</pre>
<pre> File: `foo'</pre>
<pre> Size: 22            Blocks: 8          IO Block: 4096   regular file</pre>
<pre>Device: 802h/2050d    Inode: 246126      Links: 1</pre>
<pre>Access: (0644/-rw-r--r--)  Uid: ( 1000/   rwill)   Gid: ( 1000/   rwill)</pre>
<pre>Access: 2009-06-29 16:27:05.000000000 -0500</pre>
<pre>Modify: 2009-06-29 16:27:05.000000000 -0500</pre>
<pre>Change: 2009-06-29 16:27:05.000000000 -0500</pre>
<pre>rwill@rwill-laptop:~$</pre>
<p>Oh no! Everything changed.  Of course it did.  By writing to the file, it was Accessed, Modified, and Changed.  But don&#8217;t &#8220;Modify&#8221; and &#8220;Change&#8221; mean the same thing?  Not exactly.  A Modification is always a Change, but a Change is not necessarily a Modification.  Changes that are not Modifications include renaming, changing the permissions, etc:</p>
<pre>rwill@rwill-laptop:~$ chmod 644 foo</pre>
<pre>rwill@rwill-laptop:~$ stat foo</pre>
<pre> File: `foo'</pre>
<pre> Size: 22            Blocks: 8          IO Block: 4096   regular file</pre>
<pre>Device: 802h/2050d    Inode: 246126      Links: 1</pre>
<pre>Access: (0644/-rw-r--r--)  Uid: ( 1000/   rwill)   Gid: ( 1000/   rwill)</pre>
<pre>Access: 2009-06-29 16:27:05.000000000 -0500</pre>
<pre>Modify: 2009-06-29 16:27:05.000000000 -0500</pre>
<pre>Change: 2009-06-29 16:28:26.000000000 -0500</pre>
<pre>rwill@rwill-laptop:~$ mv foo bar</pre>
<pre>rwill@rwill-laptop:~$ stat bar</pre>
<pre> File: `bar'</pre>
<pre> Size: 22            Blocks: 8          IO Block: 4096   regular file</pre>
<pre>Device: 802h/2050d    Inode: 246126      Links: 1</pre>
<pre>Access: (0644/-rw-r--r--)  Uid: ( 1000/   rwill)   Gid: ( 1000/   rwill)</pre>
<pre>Access: 2009-06-29 16:29:29.000000000 -0500</pre>
<pre>Modify: 2009-06-29 16:27:05.000000000 -0500</pre>
<pre>Change: 2009-06-29 16:29:28.000000000 -0500</pre>
<pre>rwill@rwill-laptop:~$</pre>
<p>How about a homework assignment?  What happens when you move a file?</p>
<pre>rwill@rwill-laptop:~$ mkdir baz</pre>
<pre>rwill@rwill-laptop:~$ mv bar baz</pre>
<pre>rwill@rwill-laptop:~$ stat baz/bar</pre>
<pre> File: `baz/bar'</pre>
<pre> Size: 22            Blocks: 8          IO Block: 4096   regular file</pre>
<pre>Device: 802h/2050d    Inode: 246126      Links: 1</pre>
<pre>Access: (0644/-rw-r--r--)  Uid: ( 1000/   rwill)   Gid: ( 1000/   rwill)</pre>
<pre>Access: 2009-06-29 16:29:29.000000000 -0500</pre>
<pre>Modify: 2009-06-29 16:27:05.000000000 -0500</pre>
<pre>Change: 2009-06-29 16:30:29.000000000 -0500</pre>
<pre>rwill@rwill-laptop:~$</pre>
<p>That&#8217;s right.  A Change, but not a Modification.  It&#8217;s all so clear now, isn&#8217;t it?</p>
<p>Cheers &#8211;</p>
]]></content:encoded>
			<wfw:commentRss>http://stream.wolfteck.com/2009/06/29/34/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Golf: Reprise</title>
		<link>http://stream.wolfteck.com/2009/06/24/golf-reprise/</link>
		<comments>http://stream.wolfteck.com/2009/06/24/golf-reprise/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 03:54:02 +0000</pubDate>
		<dc:creator>rcw</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://stream.wolfteck.com/2009/06/24/golf-reprise/</guid>
		<description><![CDATA[I suck at golf.  Given that, I can see it as something I would enjoy doing regularly.  The game itself is pretty boring.  I can see it being completely obnoxious if you really try to play by the rules.  However, add in the occasional dropped ball and &#8220;fuck this putt&#8221;, and [...]]]></description>
			<content:encoded><![CDATA[<p>I suck at golf.  Given that, I can see it as something I would enjoy doing regularly.  The game itself is pretty boring.  I can see it being completely obnoxious if you really try to play by the rules.  However, add in the occasional dropped ball and &#8220;fuck this putt&#8221;, and it becomes much more tolerable.  All in all, it&#8217;s mostly a good time to hang out and talk with whoever you happen to be playing with.  Final thought: walk; don&#8217;t ride.</p>
]]></content:encoded>
			<wfw:commentRss>http://stream.wolfteck.com/2009/06/24/golf-reprise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Golf</title>
		<link>http://stream.wolfteck.com/2009/06/22/golf/</link>
		<comments>http://stream.wolfteck.com/2009/06/22/golf/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 01:36:12 +0000</pubDate>
		<dc:creator>rcw</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://stream.wolfteck.com/2009/06/22/golf/</guid>
		<description><![CDATA[I&#8217;m trying to sort out work.  I love my job.  Due to everything going on recently, I owe them a whole crapload of time: somewhere on the order of 100 hours.  I&#8217;ve been trying to figure out if they&#8217;re happy with my work or not.  I always obsess about crap like [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to sort out work.  I love my job.  Due to everything going on recently, I owe them a whole crapload of time: somewhere on the order of 100 hours.  I&#8217;ve been trying to figure out if they&#8217;re happy with my work or not.  I always obsess about crap like this.</p>
<p>Anyway, my point:  Today, D.J. invited me (and everyone else around) to play golf Wednesday morning before work.  I&#8217;ve never held a golf club in my life.  It should be interesting.</p>
<p>Last notch in my psychosis: I was in Atlanta on my anniversary, getting certified to do my job.  One way or another, D.J. got wind of said happenstance.  Today, he handed me a gift certificate for The Melting Pot and told me to take Heather out for an anniversary dinner on him.  How cool is that?  This is why I love my job.</p>
]]></content:encoded>
			<wfw:commentRss>http://stream.wolfteck.com/2009/06/22/golf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
