<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Code Monkey Ramblings</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/" />
    <link rel="self" type="application/atom+xml" href="http://www.codemonkeyramblings.com/atom.xml" />
    <id>tag:www.codemonkeyramblings.com,2009-07-30://2</id>
    <updated>2010-03-18T17:03:12Z</updated>
    <subtitle>The difference between &quot;progress&quot; and a hampster wheel is the latter at least burns calories</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.34-en</generator>

<entry>
    <title>A window into the totalitarian mind of the left on freedom of religion</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/a-window-into-the-totalitarian-mind-of-the-left-on-freedom-of-religion/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7018</id>

    <published>2010-03-18T21:52:22Z</published>
    <updated>2010-03-18T17:03:12Z</updated>

    <summary>From Digg: Me: I&apos;m not going to hold my breath waiting for the same liberal democrats who shriek about the separation of church and state whenever evangelicals are more politically involved than going to vote to come out and denounce...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="christianity" label="christianity" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="conservatism" label="conservatism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="freedomofreligion" label="freedom of religion" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="liberalism" label="liberalism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="libertarianism" label="libertarianism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="stupidarguments" label="stupid arguments" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<p><a href="http://digg.com/politics/Nuns_vs_Priests_Health_Care_Plan_Gains_Unexpected_Support">From Digg</a>:</p>
<blockquote>
<p><strong>Me</strong>: I'm not going to hold my breath waiting for the same liberal democrats  who shriek about the separation of church and state whenever  evangelicals are more politically involved than going to vote to come  out and denounce these nuns on similar church-state grounds...</p>
<p><strong>pjhorrex</strong>: I think you're confused. Nuns, as citizens of the United States, have  every right to write to their lawmakers (publicly or otherwise) about  what laws they believe should be passed. One could even argue it is  their civic responsibility (just as it is everyone's) to do so.<br /><br />Politically  involved evangelicals are something else entirely. They tell their  following how they should vote while paying no taxes, state or federal.  It's highly unethical.</p>
<p><strong>Me</strong>: No, I think **you** are confused. Evangelicals, as US citizens, have  every right to discuss politics in church per the 1st amendment: freedom  of religion, freedom of peaceful assembly and freedom of speech. Not  only that, but the average member of those evangelical congregations  pays state and federal taxes. Since nuns take vows of poverty, that is  virtually impossible for them.<br /><br />So really, you are just saying a  group of mostly tax-paying US citizens trying to exercise 3/5 of the 1st  amendment: "you can't get involved because the incorporated entity  which owns the build you're in doesn't pay taxes."</p>
<p><strong>pjhorrex</strong>: I never said evangelicals did not have the right to discuss politics in  their churches. I said it was unethical. If evangelical leaders  participated in letter writing campaigns to their representatives or  held political discussion forums on their own time there would be little  (if any) ethical problems.<br /><br />However, that is not what you were  referring to. They preach about politics as the leaders of organizations  that do not pay taxes. They attempt to manipulate a system (as an  organization) they have no stake in. It is unethical. <br /><br />Want to  lessen the ethics problems? Do away with tax exemption for churches.  Then they can preach that Barrack Obama is the Antichrist for all I  care.</p>
<p><strong>Me</strong>: It's still not unethical. The congregation pooled its money together to  build the building and hire the pastor. Most of them pay taxes which  means that most of the people you are claiming are participating in an  unethical process are stakeholders under your own criteria.<br /><br />The  left has no problem with this when it's labor unions that do it or  groups like the ACLU and others which send out voter guides to their  members. None of those groups pay taxes. Yet I don't hear anyone on the  left saying it's unethical for labor unions and groups like the ACLU to  go out and suggest how their members should vote.</p>
</blockquote>
<p>Pjhorrex is typical of liberals in that he/she gets its panties in a knot at the idea of religious groups organizing and preaching about political subjects. The kindest interpretation of this is that he/she worships legal procedure; it would be ethical for them to have the same conversation at a coffee shop, but apparently, banding together and using personal funds to build a religious organization changes everything. That is clear evidence that it is an undeniable prejudice against religion.</p>]]>
        
    </content>
</entry>

<entry>
    <title>America&apos;s very own cargo cult</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/americas-very-own-cargo-cult/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7017</id>

    <published>2010-03-18T20:16:36Z</published>
    <updated>2010-03-18T15:45:27Z</updated>

    <summary><![CDATA[This Robert McCain quote (an expansion on something Margaret Thatcher said) reminded me of a conversation with a supporter of universal health coverage: You can&rsquo;t conjure up goods and services merely by proclaiming your belief that these things are a...]]></summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="economicliberty" label="economic liberty" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="economy" label="economy" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="healthcare" label="healthcare" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="liberalism" label="liberalism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="socialism" label="socialism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="socializedhealthcare" label="socialized health care" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<p><a href="http://theothermccain.com/2010/03/17/dennis-kucinich-to-vote-yes-and-other-updates-on-zombie-health-care-bill/">This Robert McCain quote</a> (an expansion on something Margaret Thatcher said) reminded me of a conversation with a supporter of universal health coverage:</p>
<p style="padding-left: 30px;">You can&rsquo;t conjure up goods and services merely by proclaiming your  belief that these things are a &ldquo;civil right.&rdquo; This is the basic problem  with socialism: Eventually, you run out of other people&rsquo;s money. [H/T: <a href="http://thecampofthesaints.wordpress.com/2010/03/17/the-spot-on-quote-of-the-day-29/">The Camp of the Saints</a>]</p>
<p>The mainstream American view toward technology is sort of like a sophisticated cargo cult mentality where strange beings called engineers, programmers and scientists work strange crafts in realms beyond mortal understanding to deliver increasingly magical goods and services to them. Provide some supplication and lucre to these demi-gods and break-through cures, new TV and movie standards and green technology will be dropped in for them to consume. There is little appreciation for the fact that someone has to research these things, design new products, test them, pass them through quality assurance and get them to market.</p>
<p>It's an established fact that the current system cannot be socialized because it is too inefficient. Medicare alone is now looking at <a href="http://www.ncpa.org/pub/ba662">$89 trillion in unfunded liabilities </a>in the future and it excludes a significant swath of the American public. The government will try to socialize it, and as the system invariably and predictably spirals out of control, it'll impose stricter and stricter controls on services and prices. That'll drive many out of the profession and discourage many students from studying it. There will be less profit to be had for private researchers which means fewer medical companies producing drugs and devices. Many Americans, unwilling to accept basic economics and a somewhat tragic view of the realities of life, will sheepishly despair like a Pacific islander wondering why the sky gods no longer love them enough to send them new gifts.</p>
<p>In some respects, it may be hyperbole to invoke the image of a cargo cult here, but underlying mental state is based on the assumption that the goods will magically appear if we use the right invocation. For the south Pacific islands' isolated tribes, that's <a title="Gotta admit, it's cheaper and more attractive than Obamacare!" rel="prettyPhoto" href="http://www.codemonkeyramblings.com/photos/cargo-cult.jpg">making a giant replica airplane </a>and worshiping it. For us, it's legislating it into existence as an act of imposing our will to power on the universe.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Google&apos;s lossy compiler</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/googles-lossy-compiler/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7014</id>

    <published>2010-03-17T21:17:33Z</published>
    <updated>2010-03-17T18:26:54Z</updated>

    <summary>Google&apos;s closure compiler service gets a little too frisky under ADVANCED_OPTIMIZATIONS. Original code: With advanced optimizations enabled, it was able to save a whopping 92.4% of the space required for the original! Here is the sane version using SIMPLE_OPTIMIZATION: I...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="closure" label="closure" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="compiler" label="compiler" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="funnythings" label="funny things" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="google" label="google" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="programming" label="programming" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<p>Google's closure compiler service gets a little too frisky under ADVANCED_OPTIMIZATIONS.</p>
<p>Original code:</p>
<p>
<script src="http://gist.github.com/335543.js?file=extjs+image+gallery+window.js"></script>
</p>
<p>With advanced optimizations enabled, it was able to save a whopping 92.4% of the space required for the original!</p>
<p>
<script src="http://gist.github.com/335545.js?file=extjs+image+gallery+window_ao.js"></script>
</p>
<p>Here is the sane version using SIMPLE_OPTIMIZATION:</p>
<p>
<script src="http://gist.github.com/335548.js?file=extjs+image+gallery+window+so.js"></script>
</p>
<p>I was just curious to see what it looked like with the advanced optimizations. I knew that it would be useless without passing in the entire ExtJs library because it would rename the references to ExtJs. I had no idea it would just truncate most of the code!</p>]]>
        
    </content>
</entry>

<entry>
    <title>Random news and links</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/random-news-and-links-1/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7013</id>

    <published>2010-03-17T20:43:12Z</published>
    <updated>2010-03-17T19:14:19Z</updated>

    <summary> A significant percentage of surveyed doctors take a very hostile view of the health care reform bill before Congress, but what do they know? They&apos;re just the people who will have to work under the system it regulates into...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="christianity" label="christianity" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="economy" label="economy" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="extjs" label="extjs" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="healthcare" label="healthcare" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="liberalism" label="liberalism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="randomthoughts" label="random thoughts" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="romancatholicchurch" label="roman catholic church" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sexoffenders" label="sex offenders" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<ul>
<li>A significant percentage of surveyed doctors <a href="http://www.nejmjobs.org/rpt/physician-survey-health-reform-impact.aspx">take a very hostile view of the health care reform bill</a> before Congress, but what do they know? They're just the people who will have to work under the system it regulates into existance. They're not enlightened like the "progressives" who demand it be pushed through, the cost be damned.</li>
<li>The Federal Accounting Standards Board <a href="http://market-ticker.denninger.net/archives/2079-NOW-FASB-Wants-To-Do-The-Right-Thing.html">may soon say "frak it"</a> (they're a federal agency, it has to be FCC-approved) and undue Barney Frank's accounting fraud legalization scheme.</li>
<li>Not content to allow Windows Mobile to be abused in the mobile market like a poor kid from Appalachia transplanted into a Beverly Hills high school, they <a href="http://linux.slashdot.org/story/10/03/17/1321241/Is-Microsoft-About-To-Declare-Patent-War-On-Linux?art_pos=1">now start making some IP enforcement noise</a> right as Windows Phone 7 looks like it <a href="http://www.osnews.com/story/22969/MS_Shows_Same_Game_Running_on_Windows_Phone_Xbox">might be cool enough</a> to win some developer support.</li>
<li>Speaking of Microsoft, it looks like they're <a href="http://blogs.zdnet.com/hardware/?p=7694&amp;tag=wrapper;col1">going all out to get Internet Explorer 9</a> as sophisticated as possible. They're supposedly targeting all of the latest web standards which might mean that they'll actually make a browser that is about as good as the Webkit-based browsers and Firefox at rendering web pages...</li>
<li>The sex scandals in the Roman Catholic Church are getting so numerous now that the Vatican is <a href="http://www.nytimes.com/2010/03/17/world/europe/17church.html">having to consider hiring new people</a> to handle and investigate them. This could have easily been avoided had they just established a zero tolerance policy toward it from the very beginning <a href="http://www.neverthirsty.org/pp/feature-articles/200611/sinning-pastors-what-to-do.html">like the bible tells them</a>.</li>
<li>Hell is freezing over now, as evidenced by the fact that a single mother has <a href="http://www.cnn.com/2010/CRIME/03/16/kentucky.oven.baby/index.html?npt=NP1">actually temporarily lost custody</a> of her child due to the behavior of the man she was involved with. What's next? Holding such women consistently accountable for the men they voluntarily bring around their kids?</li>
<li>Google is about to change the API for its AdWords program and that <a href="http://jjnapiorkowski.vox.com/library/post/google-do-no-evil-to-perl.html">will apprently break the Perl module</a> for AdWords client access. <a href="http://groups.google.com/group/adwords-api/browse_thread/thread/d738463da3b5bdbe?pli=1">Google's response</a> so far is: "stop using Perl or roll your own client code."</li>
<li>The ExtJs team is <a href="http://www.extjs.com/blog/2010/01/14/html5-video-canvas-extjs/">already getting a good start</a> on building in support for HTML5 features like &lt;video&gt;. Note: the samples will not run unless you are running a very recent version of Firefox like 3.6 (maybe 3.5) or a very recent build of Google Chrome.</li>
</ul>]]>
        
    </content>
</entry>

<entry>
    <title>Hoisting the US Department of Justice on its own petard</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/hoisting-the-us-department-of-justice-on-its-own-petard/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7012</id>

    <published>2010-03-16T21:48:41Z</published>
    <updated>2010-03-16T19:07:56Z</updated>

    <summary>I love it! One possible hurdle that the lawyers at the Justice Department noted in their presentation, which was given by John Lynch and Jenny Ellickson, both attorneys in the department&apos;s Computer Crime and Intellectual Property Section, is the possibility...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="fbi" label="fbi" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="internet" label="internet" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="irony" label="irony" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="loridrew" label="lori drew" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="police" label="police" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="policepowers" label="police powers" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="privacy" label="privacy" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="socialnetworks" label="social networks" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="surveillance" label="surveillance" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<a href="http://news.cnet.com/8301-13578_3-20000550-38.html">I love it</a>!<br /><br /><blockquote><p>
One possible hurdle that the lawyers at the Justice Department noted in their presentation, which was given by John Lynch and Jenny Ellickson, both attorneys in the department's Computer Crime and Intellectual Property Section, is the possibility of violating a Web site's terms of service if an agent lies about his identity.
</p><p>
This is called prosecutors hoist on their own petard: In the <a href="http://news.cnet.com/8301-13577_3-10278483-36.html">Lori Drew case</a>,  the Justice Department <a href="http://www.citmedialaw.org/sites/citmedialaw.org/files/2008-05-15-Drew%20Indictment.pdf">claimed</a>  that violating MySpace terms of service was a criminal offense.
</p><p>
Their problem today? Many Web sites require that subscribers use their real name. Facebook's <a href="http://www.facebook.com/terms.php">terms of service</a> require users to agree not to "create an account for anyone other than yourself without permission." At Twitter, "impersonation is against the <a href="http://help.twitter.com/entries/14608-username-troubleshooting">terms  of service</a>." Even some newspapers such as the Los Angeles Times <a href="http://www.latimes.com/services/site/lat-terms,0,6713384.story">say</a>
 that "using a name other than your own legal name in association with the submission of user content is prohibited."
</p><p>
A federal judge eventually <a href="http://www.citmedialaw.org/sites/citmedialaw.org/files/2009-08-28-Opinion%20on%20Drew%27s%20Rule%2029%28c%29%20Motion_0.pdf">ruled</a>  that a strict interpretation of criminal law would be unreasonable, but it remains an unsettled legal question. <br /></p></blockquote>
<p>When <a href="http://www.codemonkeyramblings.com/tag/lori%20drew">Lori Drew</a> was being prosecuted, everyone was saying that this would have a lot of unintended consequences, but I don't remember anyone foreseeing the Department of Justice having to tell its agents to be extremely careful about how they use social networking sites lest they run afoul of that precedent! One prosecutor's career-making move could cost the careers of other Department of Justice personnel.</p><p>This is a good reason why legislators need to be careful in how they word laws. In particular, they need to provide guidance in legislation to the courts and juries to explain to them what their intent is behind the law so that they can help them enforce the law as intended. Even if one is cynical and says that the legislators who enabled Drew's prosecution wouldn't mind that scenario, it's unlikely that they would have still supported it if it became clear that such a scenario, if allowed to go unchecked, would hypothetically allow for the prosecution of federal agents carrying out normal undercover operations.<br /></p>]]>
        
    </content>
</entry>

<entry>
    <title>You&apos;d think that the left would like the electoral college...</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/youd-think-that-the-left-would-like-the-electoral-college/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7011</id>

    <published>2010-03-15T21:38:28Z</published>
    <updated>2010-03-15T18:49:50Z</updated>

    <summary>Shikha Dalmia pointed out that the electoral college is, strictly speaking, a progressive institution in the US Constitution. Considering the way that the left falls all over itself to &quot;protect the rights of minorities&quot; (and we all know that those...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="conservatism" label="conservatism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="constitution" label="constitution" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="liberalism" label="liberalism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="libertarianism" label="libertarianism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="randomthoughts" label="random thoughts" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<p>Shikha Dalmia <a href="http://reason.com/archives/2010/03/12/obamacare-the-coming-president">pointed out </a>that the electoral college is, strictly speaking, a progressive institution in the US Constitution. Considering the way that the left falls all over itself to "protect the rights of minorities" (and we all know that those rights are typically not their constitutional rights) of any sort, you'd think that they would love an institution which prevents a handful of big, powerful states from running rough shod over the rest of the union and consigning most states to electoral insignificance.</p>
<p>But then, the left has always been more concerned about acquiring power in order to remake society in its image and many of the states that benefit greatly from the electoral college are conservative states. They figure that opening up the presidential elections purely to the popular vote would garner them more power in the long run, and they're right.</p>
<p>What it would also do is allow for a great deal of exploitation against the smaller states, many of whom, while poor in many respects, are very agriculturally productive (often disproportionately so). That is a recipe for disaster for the union, plain and simple.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Google Translate 1.0 final has been released</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/plugins/2010/03/google-translate-10-final-has-been-released/" />
    <id>tag:www.codemonkeyramblings.com,2010:/plugins//84.7006</id>

    <published>2010-03-15T01:33:51Z</published>
    <updated>2010-03-15T01:35:07Z</updated>

    <summary>Version 1.0 of my Google Translate plugin is officially released....</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="google" label="google" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plugin" label="plugin" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="translate" label="translate" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/plugins/">
        <![CDATA[<p>Version 1.0 of <a href="http://www.codemonkeyramblings.com/plugins/google-translate/">my Google Translate plugin</a> is officially released.</p>]]>
        
    </content>
</entry>

<entry>
    <title>iNove has been updated</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/themes/2010/03/inove-has-been-updated.html" />
    <id>tag:www.codemonkeyramblings.com,2010:/themes//10.7005</id>

    <published>2010-03-12T19:06:58Z</published>
    <updated>2010-03-12T20:08:15Z</updated>

    <summary>I spruced up iNove (the theme currently used on this blog) and have uploaded a new zip file. The updates are also in my GitHub repository....</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="inove" label="inove" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/themes/">
        <![CDATA[<p>I spruced up iNove (the theme currently used on this blog) and have uploaded a new zip file. The updates are also in my GitHub repository.</p>]]>
        
    </content>
</entry>

<entry>
    <title>So now blacks are genetically inferior to whites?</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/so-now-blacks-are-genetically-inferior-to-whites/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7003</id>

    <published>2010-03-11T21:24:21Z</published>
    <updated>2010-03-11T19:20:30Z</updated>

    <summary>This is what happens when you are so politically correct that you can&apos;t tell people to keep it in their pants: Douglas said the increased rate of infection in blacks is not do to increased risk behavior but likely due...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="politicalcorrectness" label="political correctness" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="racism" label="racism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="stupidarguments" label="stupid arguments" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<p><a href="http://www.reuters.com/article/idUSN0923528620100309">This is what happens</a> when you are so politically correct that you can't tell people to keep it in their pants:</p>
<blockquote>
<p>Douglas said the increased rate of infection in  blacks is not do to increased risk behavior <strong><em>but likely due to biological factors</em></strong> that make women more susceptible as well as the higher rate of infection within black communities.</p>
</blockquote>
<p>Rather than point out the fact that 70% of black kids are born out of wedlock and that that is a significant sociological indicator of promiscuity (the leading cause of STD transmission) among black Americans, they "tip toe" around that by suggesting that black women are less resistent to herpes than white women. Sure, it would be <a href="http://elborak.blogspot.com/2010/03/you-smell-that-budget-napalm-son.html">blaming the victim</a>, and we all know that that is racist too, but isn't that at least a little better than implying that black women's bodies just don't cut it at fighting disease compared to white women?</p>
<p>On the other hand, white people are really not much better off since a white man has a 1/6 chance that he's about to douse his crotch in viral napalm the night after he says "I do." In this race to the bottom, it's only a matter of time before we all end up <a href="http://www.brainyquote.com/quotes/quotes/w/winstonchu164131.html">"free and equal" in our misery</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>The three purposes of the federal income tax law</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/the-three-purposes-of-the-federal-income-tax-law/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7002</id>

    <published>2010-03-10T23:13:45Z</published>
    <updated>2010-03-10T19:53:12Z</updated>

    <summary> Businesses will spend about 3.4 billion man-hours and individuals about 1.7 billion hours figuring out their taxes this year. That is the equivalent of 3 million people working full time year-round on tax-preparation work. This is more people than...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="conservatism" label="conservatism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="federalbudget" label="federal budget" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="libertarianism" label="libertarianism" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="taxes" label="taxes" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<blockquote>
<p>Businesses will spend about 3.4 billion man-hours and individuals about 1.7 billion hours figuring out their taxes this year. That is the equivalent of 3 million people working full time year-round on tax-preparation work. This is more people than now serve in the U.S. armed forces. It is more man-hours than are required to build every car, van, and truck in the United States. [<a href="http://article.nationalreview.com/268573/our-income-tax-monstrosity/stephen-moore">Source</a>]</p>
</blockquote>
<p>There are three things which the income tax code provides the federal government: revenue, social control and a sort of make-work program. I have seen figures ranging from the mid 250 billions to as high as 300 billion dollars as the amount of money that compliance with the federal income tax law costs in additional labor and expenses to the American people. The figures cited above are from 2003 and are probably the higher end of the compliance costs, but they should serve as a serious reminder of how much money and labor is simply wasted on complying with an inefficient tax code.</p>
<p>Figures like this make me shudder at the prospect of Obamacare. A government which can create a tax code so inelegant, so bloated, so indecipherable that it makes Microsoft Windows look like a case study in software engineering perfection is not capable of making something like Obamacare work.</p>]]>
        
    </content>
</entry>

<entry>
    <title>How to create printer-friendly entries in Movable Type in 6 easy steps</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/how-to-create-printer-friendly-entries-in-movable-type-in-6-easy-steps/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.7001</id>

    <published>2010-03-10T22:38:22Z</published>
    <updated>2010-03-11T12:36:07Z</updated>

    <summary>This quick tutorial explains how to create printer-friendly entries and pages in Movable Type using Readability. Step 1: Insert the following JavaScript into your template headers: Step 2: Insert the following PHP code into your template headers (you must be...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="template" label="template" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tutorial" label="tutorial" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[<p>This quick tutorial explains how to create printer-friendly entries and pages in Movable Type using Readability.</p>
<p>Step 1: Insert the following JavaScript into your template headers:</p>
<p>
<script src="http://gist.github.com/328159.js?file=gistfile1.js"></script>
</p>
<p>Step 2: Insert the following PHP code into your template headers (you must be publishing your pages as PHP files):</p>
<p>
<script src="http://gist.github.com/328158.js?file=gistfile1.php"></script>
</p>
<p>Step 3: Add the following Movable Type template markup to the headers:</p>
<p>
<script src="http://gist.github.com/328176.js?file=gistfile1.xsl"></script>
</p>
<p>Step 4: Add regex_replace="$rep","$rer" to each template tag that you want to reference the printer-friendly archives. For example, &lt;$mt:EntryPermalink regex_replace="$rep","$rer"$&gt;</p>
<p>Step 5: Create a .htaccess file if you don't have one already in the main folder of your blog and add the following lines to it:</p>
<p>
<script src="http://gist.github.com/328161.js?file=gistfile1.txt"></script>
</p>
<p>Step 6: Republish.</p>]]>
        
    </content>
</entry>

<entry>
    <title>How to associate an asset with an entry</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/plugins/2010/03/how-to-associate-an-asset-with-an-entry/" />
    <id>tag:www.codemonkeyramblings.com,2010:/plugins//84.7000</id>

    <published>2010-03-10T22:17:51Z</published>
    <updated>2010-03-10T18:39:15Z</updated>

    <summary>As far as I can tell, there is not much documentation out there for associating an asset with an entry in Movable Type/Melody, so here is a straight forward explanation. In the entry editor, a plugin developer can latch onto...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plugin" label="plugin" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tutorial" label="tutorial" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/plugins/">
        <![CDATA[<p>As far as I can tell, there is not much documentation out there for associating an asset with an entry in Movable Type/Melody, so here is a straight forward explanation. In the entry editor, a plugin developer can latch onto the functionality that the entry editor already provides by simply adding some additional elements to the asset list. Here is a JavaScript function built around jQuery that illustrates the process.</p>
<p>
<script src="http://gist.github.com/327060.js?file=gistfile1.js"></script>
</p>
<p>That is taken from $MT_DIR/tmpl/cms/dialog/asset_insert.tmpl and modified to be able to be called from within the template editor. It should be callable from a plugin-created dialog window using <em>window.parent.addAssetAssociation</em>. The options parameter is a configuration object that takes in asset_id, asset_file_name and asset_thumbnail as properties.</p>
<p>This is how you create an association in Perl code using the MT::ObjectAsset object:</p>
<p>
<script src="http://gist.github.com/328122.js?file=gistfile1.PL"></script>
</p>
<p>The datasource property doesn't have to be 'entry'. It can be dynamically set using the datasource method of the MT::Object subclasses like this: $object_asset-&gt;object_ds( $obj-&gt;datasource() ); That allows any number of object associations like ones between an object from a new plugin with assets.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Image Gallery 3.0</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/plugins/2010/03/image-gallery-30/" />
    <id>tag:www.codemonkeyramblings.com,2010:/plugins//84.6999</id>

    <published>2010-03-08T22:28:11Z</published>
    <updated>2010-03-08T19:46:10Z</updated>

    <summary>Image Gallery ExtJs SearchingImage Gallery ExtJs Loading More and MenuImage Gallery ExtJs LoadingImage Gallery with Ext On the OpenMelody mailing list, Byrne Reese sort of challenged me to create a plugin using ExtJs to demonstrate what it could offer Melody...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="imagegallery" label="image gallery" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plugin" label="plugin" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/plugins/">
        <![CDATA[<div class="image_asset" style="float: left; margin: 15px;"><small style="display: none;">Image Gallery ExtJs Searching</small><div><a rel="prettyPhoto[plugin_screenshots]" href="http://www.codemonkeyramblings.com/plugins/screenshots/image%20gallery%20ext%20searching.png"><img style="height: 100px; width: 100px;" id="870" src="http://www.codemonkeyramblings.com/plugins/assets_c/2010/03/image%20gallery%20ext%20searching-thumb-autox75-870.png" title="Image Gallery ExtJs Searching" /></a></div></div><div class="image_asset" style="float: left; margin: 15px;"><small style="display: none;">Image Gallery ExtJs Loading More and Menu</small><div><a rel="prettyPhoto[plugin_screenshots]" href="http://www.codemonkeyramblings.com/plugins/screenshots/image%20gallery%20ext%20loading%20more%20and%20menu.png"><img style="height: 100px; width: 100px;" id="869" src="http://www.codemonkeyramblings.com/plugins/assets_c/2010/03/image%20gallery%20ext%20loading%20more%20and%20menu-thumb-autox75-869.png" title="Image Gallery ExtJs Loading More and Menu" /></a></div></div><div class="image_asset" style="float: left; margin: 15px;"><small style="display: none;">Image Gallery ExtJs Loading</small><div><a rel="prettyPhoto[plugin_screenshots]" href="http://www.codemonkeyramblings.com/plugins/screenshots/image%20gallery%20ext%20loading.png"><img style="height: 100px; width: 100px;" id="868" src="http://www.codemonkeyramblings.com/plugins/assets_c/2010/03/image%20gallery%20ext%20loading-thumb-autox75-868.png" title="Image Gallery ExtJs Loading" /></a></div></div><div class="image_asset" style="float: left; margin: 15px;"><small style="display: none;">Image Gallery with Ext</small><div><a rel="prettyPhoto[plugin_screenshots]" href="http://www.codemonkeyramblings.com/plugins/screenshots/image%20gallery%20ext.png"><img style="height: 100px; width: 100px;" id="867" src="http://www.codemonkeyramblings.com/plugins/assets_c/2010/03/image%20gallery%20ext-thumb-autox75-867.png" title="Image Gallery with Ext" /></a></div></div>
<p style="clear: both;"><br />On the OpenMelody mailing list, Byrne Reese sort of challenged me to create a plugin using ExtJs to demonstrate what it could offer Melody and Movable Type plugin developers. It's not finished yet, but I think that this version so far is a lot cleaner than <a href="http://www.codemonkeyramblings.com/plugins/image-gallery/">the 2.X series</a>. If ExtJs catches on with Movable Type developers, hopefully someone will create a theme for it that matches the look and feel of Movable Type.<br /></p>]]>
        
    </content>
</entry>

<entry>
    <title>Why JavaScript functions can be a mind-f#$% for people from other languages</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/why-javascript-functions-can-be-a-mind-f-for-people-from-other-languages/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.6998</id>

    <published>2010-03-08T21:55:03Z</published>
    <updated>2010-03-08T18:43:21Z</updated>

    <summary>I was messing around with how to create some JavaScript to test for the existence of a function for a new Movable Type plugin and decided to share an example (abstracted from my particular need) of why JavaScript functions are...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="programming" label="programming" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="randomthoughts" label="random thoughts" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="softwareengineering" label="software engineering" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[I was messing around with how to create some JavaScript to test for the existence of a function for a new Movable Type plugin and decided to share an example (abstracted from my particular need) of why JavaScript functions are often such a mindf#$% for developers from another language:<br /><br /><blockquote>&lt;script type="text/javascript"&gt;<br />function sayHello() {<br />&nbsp;&nbsp;&nbsp; alert('Hello');<br />}<br /><br />function addNewHello() {<br />&nbsp;&nbsp;&nbsp; return function() {<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; alert('Buongiorno');<br />&nbsp;&nbsp;&nbsp; };<br />}<br /><br />sayHello = null;<br /><br />sayHello2 = (sayHello &amp;&amp; typeof sayHello == 'function' ? sayHello : addNewHello());<br /><br />sayHello2();<br />&lt;/script&gt;<br /></blockquote>Since function x(y,z) and x = function(y,z) are compatible statements in JavaScript (but not in languages like Java and C), the first statement is really just a variable declaration that assigns a function to sayHello. Therefore, the existence of whole chunks of functionality in JavaScript can be ascertained by a simple if statement.<br /><br />This kind of power is why every once in a while I feel like a monkey wielding power tools when using JavaScript. It is a deceptively powerful language.<br /> ]]>
        
    </content>
</entry>

<entry>
    <title>Progress of a different sort</title>
    <link rel="alternate" type="text/html" href="http://www.codemonkeyramblings.com/2010/03/progress-of-a-different-sort/" />
    <id>tag:www.codemonkeyramblings.com,2010://2.6996</id>

    <published>2010-03-05T22:49:44Z</published>
    <updated>2010-03-05T13:04:34Z</updated>

    <summary>You know we have reached a level of decadence seldom seen in the history of the West when our women are starting to experiment with covering their vaginas in expensive crystal. It&apos;s only a matter of time before someone in...</summary>
    <author>
        <name>Mike</name>
        <uri>http://www.codemonkeyramblings.com</uri>
    </author>
    
    <category term="economy" label="economy" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="men" label="men" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vajazzle" label="vajazzle" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="women" label="women" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.codemonkeyramblings.com/">
        <![CDATA[You know we have reached a level of decadence seldom seen in the history of the West when our women are starting to experiment with covering their vaginas in expensive crystal. It's only a matter of time before someone in China creates a $19.95 + S&amp;H <a href="http://www.inmalafide.com/2010/02/24/your-wtf-word-of-the-day/">vajazzle</a>r that comes with a few dozen imitation Swarovsky crystals. At least the Romans bankrupted themselves on genuine luxuries like fine silk. ]]>
        
    </content>
</entry>

</feed>
