<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>blog.arithm</title>
	
	<link>http://blog.arithm.com</link>
	<description>Software.  Politics.  Tinfoil hat conjecture.</description>
	<lastBuildDate>Fri, 13 Jan 2012 19:00:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/arithm" /><feedburner:info uri="arithm" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>The Union of Federal Government and Goldman Sachs</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/3cS15dbaQ08/</link>
		<comments>http://blog.arithm.com/2011/12/26/the-union-of-federal-government-and-goldman-sachs/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 13:56:24 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Money]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1867</guid>
		<description><![CDATA[Literally. More interesting diagrams at geke.us.]]></description>
			<content:encoded><![CDATA[<p>Literally.</p>
<p style="text-align: center;"><img class="aligncenter" title="Federal Government Goldman Sachs Union" src="http://www.geke.us/GSVenn.001.jpg" alt="GSVenn.001 The Union of Federal Government and Goldman Sachs" width="480" height="360" /></p>
<p>More interesting diagrams at <a href="http://www.geke.us/GSVenn.html">geke.us</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/12/26/the-union-of-federal-government-and-goldman-sachs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/12/26/the-union-of-federal-government-and-goldman-sachs/</feedburner:origLink></item>
		<item>
		<title>Bombs – End This War</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/0_A-A8WST0k/</link>
		<comments>http://blog.arithm.com/2011/12/20/bombs-end-this-war/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 03:02:16 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1862</guid>
		<description><![CDATA[First time I ever purchased a song on iTunes.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><iframe width="475" height="271" src="http://www.youtube.com/embed/VE30TH6Y7cI" frameborder="0" allowfullscreen></iframe></p>
<p>First time I ever purchased a song on iTunes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/12/20/bombs-end-this-war/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/12/20/bombs-end-this-war/</feedburner:origLink></item>
		<item>
		<title>Free Evil. Pay Later.</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/8Y0NZaBCMF4/</link>
		<comments>http://blog.arithm.com/2011/12/18/free-evil-pay-later/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 04:50:33 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[ndaa]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1855</guid>
		<description><![CDATA[Now is later. The latest incarnation of the NDAA authorizes, in direct contradiction to the U.S. Constitution, the arbitrary detainment of American citizens, codifying into law unconstitutional precedent initiated a decade ago by the Bush administration. Passage of this NDAA follows quickly on the heals of nationwide &#8220;Occupy&#8221; protest crackdowns. If anything, the widespread phenomenon [...]]]></description>
			<content:encoded><![CDATA[<p>Now is later.</p>
<p style="text-align: center"><iframe width="420" height="243" src="http://www.youtube.com/embed/WuRQbIBv2zg" frameborder="0" allowfullscreen></iframe></p>
<p>The latest incarnation of the NDAA authorizes, in direct contradiction to the U.S. Constitution, the arbitrary detainment of American citizens, codifying into law unconstitutional precedent initiated a decade ago by the Bush administration.  Passage of this NDAA follows quickly on the heals of nationwide &#8220;Occupy&#8221; protest crackdowns.</p>
<p>If anything, the widespread phenomenon of OWS protests awakened a large part of the country to Washington&#8217;s infestation of corrupt global corporatist influence.  OWS protesters made no demands, instead opting to peacefully wait out the establishment.  I suppose OWS was waiting for justice.  Many stood up to mace, batons, and brutality in expectation of a response; some kind of answer.</p>
<p>This is that answer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/12/18/free-evil-pay-later/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/12/18/free-evil-pay-later/</feedburner:origLink></item>
		<item>
		<title>R.I.P. Constitution</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/nDmyPX4I6PA/</link>
		<comments>http://blog.arithm.com/2011/12/15/rip-constitution/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 14:54:15 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1851</guid>
		<description><![CDATA[You will be missed. Dearly.]]></description>
			<content:encoded><![CDATA[<p>You will be missed.</p>
<p style="text-align: center"><iframe width="420" height="315" src="http://www.youtube.com/embed/jdVdjoPR3Vk" frameborder="0" allowfullscreen></iframe></p>
<p>Dearly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/12/15/rip-constitution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/12/15/rip-constitution/</feedburner:origLink></item>
		<item>
		<title>“Protect IP” is unregulated corporate censorship ready for abuse…</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/wldapyOZ3hA/</link>
		<comments>http://blog.arithm.com/2011/11/19/protect-ip-is-unregulated-corporate-censorship-ready-for-abuse/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 18:54:49 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[censorship]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1841</guid>
		<description />
			<content:encoded><![CDATA[<p style="text-align: center"><iframe width="420" height="315" src="http://www.youtube.com/embed/uaoDIqoyX9Q" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/11/19/protect-ip-is-unregulated-corporate-censorship-ready-for-abuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/11/19/protect-ip-is-unregulated-corporate-censorship-ready-for-abuse/</feedburner:origLink></item>
		<item>
		<title>“Author” and “Committer” fields in git metadata…</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/RZ4wOlW2Ob4/</link>
		<comments>http://blog.arithm.com/2011/11/18/author-and-committer-fields-in-git-metadata/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 20:02:51 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1836</guid>
		<description><![CDATA[Discovered a nice little git trick today.  I haven&#8217;t seen this documented, so I&#8217;m not sure if it&#8217;s a feature per se, but if you set your user.name via git config like so: [user] &#160;&#160;&#160;&#160;name = accountname &#160;&#160;&#160;&#160;email = email@company.com and then commit with the --author="Full Name" flag set to another name, this will set [...]]]></description>
			<content:encoded><![CDATA[<p>Discovered a nice little git trick today.  I haven&#8217;t seen this documented, so I&#8217;m not sure if it&#8217;s a feature per se, but if you set your user.name via git config like so:</p>
<blockquote><p><code>[user]<br />
&nbsp;&nbsp;&nbsp;&nbsp;name = accountname<br />
&nbsp;&nbsp;&nbsp;&nbsp;email = email@company.com</code></p></blockquote>
<p>and then commit with the <code>--author="Full Name"</code> flag set to another name, this will set git&#8217;s commit metadata such that &#8220;Author:&#8221; is &#8220;Full Name&#8221; and &#8220;Committer:&#8221; is &#8220;accountname&#8221;.</p>
<p>Useful when you want to see the Author in your git logs and the Committer in tools like Hudson or Jenkins.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/11/18/author-and-committer-fields-in-git-metadata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/11/18/author-and-committer-fields-in-git-metadata/</feedburner:origLink></item>
		<item>
		<title>MySQL Table Copying</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/8yAMsTTcBrg/</link>
		<comments>http://blog.arithm.com/2011/11/17/mysql-table-copying/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 22:30:21 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1829</guid>
		<description><![CDATA[It&#8217;s too bad the MySQL documentation reads like a drunken rant channeled in English through Leo Tolstoy reincarnated as a database geek, otherwise I might be more familiar with nice features such as CREATE TABLE IF NOT EXISTS database_b.my_table SELECT * FROM database_a.my_table which quickly copies my_table form database_a to database_b however given that it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s too bad the MySQL documentation reads like a drunken rant channeled in English through Leo Tolstoy reincarnated as a database geek, otherwise I might be more familiar with nice features such as</p>
<blockquote><p><code>CREATE TABLE IF NOT EXISTS database_b.my_table SELECT * FROM database_a.my_table</code></p></blockquote>
<p>which quickly copies <code>my_table</code> form <code>database_a</code> to<code> database_b</code> however given that it&#8217;s virtually impossible to read the MySQL documentation and because I cringe in horror whenever a MySQL doc page comes up in a Google search, especially since any search for anything MySQL related always results in a deluge of of links pointing into the inscrutable mess that passes for the MySQL reference site, I suppose I will forever be pining for a switch to PostgreSQL or, at the very least, not be be surprised when Oracle starts to charge exorbitant sums for consultants who are able to translate the MySQL documentation from neo-Leo Tolstoy techno-babble into succinct technical English.</p>
<p><strong>Less Snarky Update</strong></p>
<p>The above seems to behave differently on Windows than it does on Linux.  On Windows it will not copy data if the table already exists, the preferred behavior in my opininon.  On Linux it will copy (and potentially duplicate) data.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/11/17/mysql-table-copying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/11/17/mysql-table-copying/</feedburner:origLink></item>
		<item>
		<title>zend_mm_heap corrupted</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/iEDDbQYOUCk/</link>
		<comments>http://blog.arithm.com/2011/11/11/zend_mm_heap-corrupted/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 16:02:21 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1823</guid>
		<description><![CDATA[Has Apache suddenly started telling you that the &#8220;zend_mm_heap&#8221; is corrupted? Rather than mucking around with output_buffering or other php.ini values as recommend in a couple of places, first check that, if you have a custom session manager (typically memcached), it is started and you are able to connect. For example, if your session handling [...]]]></description>
			<content:encoded><![CDATA[<p>Has Apache suddenly started telling you that the &#8220;zend_mm_heap&#8221; is corrupted?  Rather than mucking around with output_buffering or other php.ini values as recommend in a <a href="http://stackoverflow.com/questions/2247977/what-does-zend-mm-heap-corrupted-mean">couple</a> of <a href="http://zend-framework-community.634137.n4.nabble.com/zend-mm-heap-corrupted-td3308652.html">places</a>, first check that, if you have a custom session manager (typically memcached), it is started and you are able to connect.</p>
<p>For example, if your session handling is setup as follows:</p>
<blockquote><p><code>[Session]<br />
; Handler used to store/retrieve data.<br />
; http://php.net/session.save-handler<br />
;session.save_handler = files<br />
session.save_handler = memcache<br />
;session.save_path = "/tmp"<br />
<span style="color: #ff0000;">session.save_path = "tcp://localhost:11211?persistent=1&amp;weight=1&amp;timeout=1&amp;retry_interval=15"</span></code></p></blockquote>
<p>check to make sure that you can actually connect to localhost on port 11211:</p>
<p><code>$ telnet localhost 11211<br />
Trying 127.0.0.1...<br />
Connected to localhost.localdomain.<br />
Escape character is '^]'.<br />
stats<br />
STAT pid 24041<br />
STAT uptime 257289<br />
STAT time 1321027200<br />
STAT version 1.4.2<br />
...<br />
END</code></p>
<p>If you can&#8217;t connect, or the memcached server is not responding as above, then you&#8217;ve found the source of the &#8220;heap corruption&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/11/11/zend_mm_heap-corrupted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/11/11/zend_mm_heap-corrupted/</feedburner:origLink></item>
		<item>
		<title>Doctrine Migrations and Jenkins</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/NrqAVgLxRW8/</link>
		<comments>http://blog.arithm.com/2011/11/09/doctrine-migrations-and-jenkins/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 21:39:54 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[doctrine2]]></category>
		<category><![CDATA[symfony2]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1810</guid>
		<description><![CDATA[If you&#8217;re trying to automate Symfony2/Doctrine2 migrations with Jenkins, you may run afoul of the interactive confirmation that the doctrine-migrations package throws out: $ app/console doctrine:migrations:migrate Application Migrations WARNING! You are about to execute a database migration that could result in schema changes and data lost. Are you sure you wish to continue? (y/n) This [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying to automate Symfony2/Doctrine2 migrations with Jenkins, you may run afoul of the interactive confirmation that the doctrine-migrations package throws out:</p>
<blockquote><p><code>$ app/console doctrine:migrations:migrate</p>
<p>Application Migrations</p>
<p>WARNING! You are about to execute a database migration that could result in schema changes and data lost. Are you sure you wish to continue? (y/n)</code></p></blockquote>
<p>This will break the Jenkins build. While there is probably a way to get Jenkins to reply to this with a &#8220;y&#8221;, it&#8217;s easier just to use the under documented <code>--no-interaction</code> switch. In a build.xml for example:</p>
<blockquote><p><code>&lt;target name="schema" description="Update database"&gt;<br />
&lt;exec executable="app/console" failonerror="true"&gt;<br />
&lt;arg line="doctrine:migrations:migrate <span style="color: #ff0000;">--no-interaction</span>" /&gt;<br />
&lt;/exec&gt;<br />
&lt;/target&gt;<br />
</code></p></blockquote>
<p>Now if the migrations work, so does the build.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/11/09/doctrine-migrations-and-jenkins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/11/09/doctrine-migrations-and-jenkins/</feedburner:origLink></item>
		<item>
		<title>Delete email with a specific email address from the Postfix queue…</title>
		<link>http://feedproxy.google.com/~r/arithm/~3/Q2LaiH0RlV4/</link>
		<comments>http://blog.arithm.com/2011/11/01/delete-email-with-a-specific-email-address-from-the-postfix-queue/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 00:45:35 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1807</guid>
		<description><![CDATA[HowtoForge still comes in handy. This is one of those times: mailq &#124; awk 'BEGIN { RS = "" } / falko@example\.com$/ { print $1 }' &#124; tr -d '*!' &#124; postsuper -d - File under &#8220;what to do when postfix goes berserk&#8221;.]]></description>
			<content:encoded><![CDATA[<p>HowtoForge still comes in handy.  <a href="http://www.howtoforge.com/delete-mails-to-or-from-a-specific-email-address-from-postfix-mail-queue">This</a> is one of those times:</p>
<p><code>mailq | awk 'BEGIN { RS = "" } / falko@example\.com$/ { print $1 }' | tr -d '*!' | postsuper -d -</code></p>
<p>File under &#8220;what to do when postfix goes berserk&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/11/01/delete-email-with-a-specific-email-address-from-the-postfix-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.arithm.com/2011/11/01/delete-email-with-a-specific-email-address-from-the-postfix-queue/</feedburner:origLink></item>
	</channel>
</rss>

