<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://greg.chiaraquartet.net/feeds/atom.xml;-no-longer-raises-notices-PHP-5.2.2+.html" rel="self" title="Lot 49: Greg Beaver's blog" type="application/atom+xml" />
    <link href="http://greg.chiaraquartet.net/"                        rel="alternate"    title="Lot 49: Greg Beaver's blog" type="text/html" />
    <link href="http://greg.chiaraquartet.net/rss.php?version=2.0"     rel="alternate"    title="Lot 49: Greg Beaver's blog" type="application/rss+xml" />
    <title type="html">Lot 49: Greg Beaver's blog</title>
    <subtitle type="html">Music, Computers, and all things Greg Beaver</subtitle>
    <icon>http://greg.chiaraquartet.net/templates/default/img/s9y_banner_small.png</icon>
    <id>http://greg.chiaraquartet.net/</id>
    <updated>2008-11-05T05:41:59Z</updated>
    <generator uri="http://www.s9y.org/" version="1.3">Serendipity 1.3 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://greg.chiaraquartet.net/archives/196-pear.chiaraquartet.net-back-online.html" rel="alternate" title="pear.chiaraquartet.net back online" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-11-05T05:41:59Z</published>
        <updated>2008-11-05T05:41:59Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=196</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=196</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/3-PEAR" label="PEAR" term="PEAR" />
    
        <id>http://greg.chiaraquartet.net/archives/196-guid.html</id>
        <title type="html">pear.chiaraquartet.net back online</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                For those of you who were wondering where pear.chiaraquartet.net went, we suffered the same fate as Josh Eichorn's blog and other sites, but all has been restored.
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/195-What-do-Batman,-the-Dark-Knight-and-Barack-Obama-have-in-common.html" rel="alternate" title="What do &quot;Batman, the Dark Knight&quot; and Barack Obama have in common?" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-08-25T03:49:02Z</published>
        <updated>2008-08-25T03:49:02Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=195</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=195</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/8-Politics" label="Politics" term="Politics" />
    
        <id>http://greg.chiaraquartet.net/archives/195-guid.html</id>
        <title type="html">What do &quot;Batman, the Dark Knight&quot; and Barack Obama have in common?</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                
<p>Last night, I saw &quot;Batman, the Dark Knight&quot; for the first time.  Aside from being a great movie and featuring ridiculous good performances from the late Heath Ledger and others, it got me thinking.  I've noticed a huge shift in the way movie makers are portraying both reality and fantasy since 9/11.  First, there is the obvious increase in the number of movies about governmental intrigue, CIA spy junk, invasion of privacy and other things reflecting and amplifying reality.  However, yesterday I noticed that the Joker was referred to as a &quot;terrorist&quot; several times in the movie.</p><p>Let's think about this: a comic book villain whose sole motivation is to sow chaos and destroy civilization is being equated directly with people who reap violence in order to achieve a political or military goal.  The last time we saw the Joker, he was a brilliant but somewhat goofy character in Jack Nicholson who when killing people turned them into caricatures of death in a grotesquely cute way with exaggerated smiles burnt into the corpses faces.  Contrast this to Ledger's Joker who tells conflicting and gory stories of how he got his smile scars before cutting people's faces open with a knife.  Nicholson's Joker wants to create chaos, but for him it's all a big joke.  Ledger's Joker is just scary.  He enjoys chaos because it causes good people to do evil things and even become evil embodied, and says this explicitly in one scene.</p><p>The scene that got me thinking about the connection to politics was (cover your eyes if you haven't seen the movie yet) when the massive prisoner seems to be about to blow up the innocents' ferry boat and instead throws the detonator out the window, showing one of the only moments of redemption and hope.  What has exploded Barack Obama's political stature from non-existent to presidential nominee of the Democrats is &quot;Hope&quot; as political platform.  Go back 8 years to the post-Lewinsky election.  Can you imagine any politician even being able to raise the slightest amount of money based on &quot;hope,&quot; let alone win the nomination of either party?  What gives Barack's message such potency is that it is the extreme opposite to what we see from the Dick Cheney camp.  Continuous war against an enemy that has neither a defined name, a defined country, or a clear target is a guaranteed recipe for despair and extreme paranoia.  Especially when the only unifying things for this enemy is that they are a few thousand people amongst the 1 billion plus who practice the world's most populous religion, and they are out to get us.</p><p>Barack's successful message of hope is a direct extreme opposite of the fear and militarism practiced by the establishment, and thus it is very, very important for us to understand what this could mean to us as citizens.  Why?  Extremes sometimes balance each other out by pulling towards the middle, but when they remain separate and intensely opposite, they create what we used to know as &quot;extremists,&quot; those who cling to the far fringes of an idea where the air is thin, intense and rational thought disappears into distant memory.  To be blunt, if you support Barack because he makes you feel hopeful, this is only slightly less scary to me than supporting Bush because he makes you feel safe.  These emotions have the same root: escaping fear.</p><p>I happen to personally enjoy both feeling safe and feeling hopeful, but more important to me as a voter is how the candidates will handle themselves in day-to-day workings.  Do they have the intellect to differentiate between opinion and fact?  Can they understand the importance of peer-reviewed science and how to translate this into public policy?  How do they handle conflict amongst the people around them, and how do they handle external conflict imposed upon them by circumstance?  Do they have the ability to see long-term consequences and understand short-term methods of handling them?  Answering these questions for me means looking both at their positions, how they have evolved (especially convenient changes in the past 2 years based on polling), news on how their campaign has been run, and what was important to the candidates before they had any idea of burnishing their public image in order to run for political office.</p><p>Returning to the movies, the best example of how our psyche has changed with regards to thrillers comes from the 1998 movie &quot;The Siege&quot; starring Denzel Washington, Annette Benning and Bruce Willis with Tony Shaloub in a supporting role years before he hit it big time with &quot;Monk.&quot;  Willis plays the evil power-hungry general who takes the law into his own hands and is ultimately punished by the strength of the Constitution.  The movie starts out with terrorist bombings in New York City that escalate from a bus to destruction of a building by a car bomb.  In a key moment, Washington walks in on an interrogation of an Arab who is sitting naked in a shower room of a Brooklyn football stadium and Willis starts to discuss &quot;alternative protocols&quot; like waterboarding.  Washington here delivers his big speech that concludes with &quot;what if what they really want is for us to bend the law a little bit, shred the constitution just a little bit?  Because if you torture this man, they will have won.  They have already won!&quot;  At the time, this seemed to be the most remote, horrendously extreme possibility, that an American would even consider torturing a detainee, and it is this act (and the subsequent execution of the prisoner by Willis) that Washington cites in the arrest warrant at the conclusion of the movie (sorry to spoil another one).</p><p>Fast forward to today, where in the Republican primary, all but a couple of candidates publicly supported using torture as an interrogation method - and tried to use it to become the nominee for president, and torture was authorized by the Justice Department, the vice president and the president, none of whom have faced even a trial for their decisions.  Is it any wonder hope has been transformed from an ideal into a powerful political tool?</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/194-Macbook-Pro-lives-up-to-expectations.html" rel="alternate" title="Macbook Pro lives up to expectations" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-08-14T22:35:30Z</published>
        <updated>2008-08-16T04:33:28Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=194</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=194</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/2-PHP" label="PHP" term="PHP" />
    
        <id>http://greg.chiaraquartet.net/archives/194-guid.html</id>
        <title type="html">Macbook Pro lives up to expectations</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                
<p>Well, it's been a long and practically empty summer for me in terms of coding, what with hardly any internet access and even less time.  I did manage to have time to improve the scheduling program I wrote for <a href="http://greg.chiaraquartet.net/exit.php?url_id=658&amp;entry_id=194" title="http://www.greenwoodmusiccamp.org"  onmouseover="window.status='http://www.greenwoodmusiccamp.org';return true;" onmouseout="window.status='';return true;">Greenwood Music Camp</a> where we are in residence, but that was it.</p><p>Now, a new leaf has been turned over.  The <a href="http://greg.chiaraquartet.net/exit.php?url_id=659&amp;entry_id=194" title="http://www.chiaraquartet.net"  onmouseover="window.status='http://www.chiaraquartet.net';return true;" onmouseout="window.status='';return true;">Chiara Quartet</a> has a residency at the <a href="http://greg.chiaraquartet.net/exit.php?url_id=660&amp;entry_id=194" title="http://www.unl.edu/music"  onmouseover="window.status='http://www.unl.edu/music';return true;" onmouseout="window.status='';return true;">University of Nebraska-Lincoln</a> that began in 2005 for a 3-year term.  Much to our delight, the residency was renewed for another three years, and converted into a permanent residency.  None of this has much to do with programming, but a perk of this job is that every 3 years, we get a new computer to replace the old one.  This cycle, I requested a Macbook Pro, my first Mac, as I have been using a PC for years.</p><p>I had the tech peoples set up <a href="http://greg.chiaraquartet.net/exit.php?url_id=661&amp;entry_id=194" title="http://www.vmware.com/products/fusion/"  onmouseover="window.status='http://www.vmware.com/products/fusion/';return true;" onmouseout="window.status='';return true;">VMWare Fusion</a> for me, and so I am currently running Mac OS X, Ubuntu Linux, and Windows XP simultaneously with noticeable performance gain over any previous computer I have owned, including my custom 64-bit Kubuntu desktop.  The screen is beautiful (15 inch Matte) and speakers far superior to other Macs I've heard as well as the Toshiba laptop I will soon return.  I was able to very quickly set up a working PHP 5.3 with xdebug and Komodo in Mac and linux, and almost have the windows side compilation of PHP working, which will greatly accelerate my development.  The ability to share changes with the shared folders between all 3 boxes will be a tremendous boon to my development, this will be fantastic.</p><p>It feels good to drop Windows as the native platform too, it's been a long time coming.</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/193-PHP-namespaces-become-much-better-Derick-take-note.html" rel="alternate" title="PHP namespaces become much better (Derick take note)" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-06-21T06:33:08Z</published>
        <updated>2008-06-27T01:17:31Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=193</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=193</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/2-PHP" label="PHP" term="PHP" />
    
        <id>http://greg.chiaraquartet.net/archives/193-guid.html</id>
        <title type="html">PHP namespaces become much better (Derick take note)</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Recently noted by Derick Rethans in <a href="http://greg.chiaraquartet.net/exit.php?url_id=655&amp;entry_id=193" title="http://www.derickrethans.nl/namespaces_in_php.php"  onmouseover="window.status='http://www.derickrethans.nl/namespaces_in_php.php';return true;" onmouseout="window.status='';return true;">an informative blog post</a>, there is (now was) a problem in the implementation of namespaces in the soon-to-be-released PHP 5.3.  I quote:</p><blockquote><p>
Take for example this code:
		</p><p class="pre-blurp"><font face="courier new,courier,monospace">&lt;?php<br />use PEAR::Date::Interval as Interval;<br />?&gt;
</font></p><font face="courier new,courier,monospace">
</font>In PHP 5.3 this would alias the class Interval in the namespace
PEAR::Date to the class Interval. For now, this code would work just
fine. However, if PHP would introduce a class &quot;Interval&quot; at
some point in the future (and PHP can do this as it <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5waHAubmV0L21hbnVhbC9lbi91c2VybGFuZG5hbWluZy5ydWxlcy5waHA=&amp;entry_id=193" title="http://www.php.net/manual/en/userlandnaming.rules.php"  onmouseover="window.status='http://www.php.net/manual/en/userlandnaming.rules.php';return true;" onmouseout="window.status='';return true;">owns the
global namespace</a>) then the above code would suddenly stop working.</blockquote><p>This morning, I realized that this would be very easy to fix, and posted a patch to internals@ with a brief explanation.  Dmitry committed a fix to <a href="http://greg.chiaraquartet.net/exit.php?url_id=656&amp;entry_id=193" title="http://news.php.net/php.zend-engine.cvs/6808"  onmouseover="window.status='http://news.php.net/php.zend-engine.cvs/6808';return true;" onmouseout="window.status='';return true;">PHP_5_3</a> and <a href="http://greg.chiaraquartet.net/exit.php?url_id=657&amp;entry_id=193" title="http://news.php.net/php.zend-engine.cvs/6809"  onmouseover="window.status='http://news.php.net/php.zend-engine.cvs/6809';return true;" onmouseout="window.status='';return true;">HEAD</a> very quickly.  The issue raised by Derick is now obsolete, making namespaces not just more useful, but even more powerful than they were.</p><p>For instance, it is possible to &quot;override&quot; an internal class, perhaps to add missing functionality that will be present in a future release or fix a bug:</p><p>mydate.php:<br /><font face="courier new,courier,monospace">&lt;?php<br />namespace Foo;<br />class DateTime extends ::DateTime<br />{<br />// methods here<br />}<br />?&gt;</font></p><p>&lt;?php<br />include 'mydate.php';<br />use Foo::DateTime; // this essentially overrides internal DateTime class in the current script<br />$a = new DateTime('2006-05-04');<br />?&gt;</p><p>Those who were lamenting the implementation of namespaces in PHP should take note: if you have a solution to make them better, the turnaround time between proposal to the list and commit can be on the order of a few hours if the idea clearly solves a major problem.</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/192-phptek-PEARpharPyrus-talk-slides.html" rel="alternate" title="php|tek PEAR/phar/Pyrus talk slides" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-05-29T16:46:43Z</published>
        <updated>2008-05-29T16:46:43Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=192</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=192</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/2-PHP" label="PHP" term="PHP" />
    
        <id>http://greg.chiaraquartet.net/archives/192-guid.html</id>
        <title type="html">php|tek PEAR/phar/Pyrus talk slides</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I've had a few slide requests, so here is a link to the pdf of my slides that Sean Coates put up on the phparch site<p><a href="http://greg.chiaraquartet.net/exit.php?url_id=654&amp;entry_id=192" title="http://tek.phparch.com/mats/slides/greg_beaver-pear_phar.pdf"  onmouseover="window.status='http://tek.phparch.com/mats/slides/greg_beaver-pear_phar.pdf';return true;" onmouseout="window.status='';return true;">http://tek.phparch.com/mats/slides/greg_beaver-pear_phar.pdf</a></p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/191-fixing-stupid-sound-breaking-on-upgrading-kubuntu-packages.html" rel="alternate" title="fixing stupid sound breaking on upgrading kubuntu packages" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-05-24T05:51:24Z</published>
        <updated>2008-05-24T05:51:24Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=191</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=191</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/1-General" label="General" term="General" />
    
        <id>http://greg.chiaraquartet.net/archives/191-guid.html</id>
        <title type="html">fixing stupid sound breaking on upgrading kubuntu packages</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>So I use kubuntu on my desktop, and it works great most of the time.  However, periodically on upgrading a package automatically, the sound just stops working.</p><p>Twice I've fixed it after extensive search, but I never remember how.  This post is sort of a public post-it note.  Here's how you fix this thing if you have a system like me.</p><p>Open alsamixer in a terminal, use the right arrow key to go all the way to the right, and mute (not unmute) the Audigy A line by hitting &quot;M&quot; on the keyboard.  This works for Soundblaster Audigy</p><p>Hope this is helpful to some other person tearing out their hair.</p><p></p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/190-phar-is-near-at-phptek.html" rel="alternate" title="phar is near at php|tek" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-05-20T05:33:38Z</published>
        <updated>2008-05-20T05:33:38Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=190</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=190</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/2-PHP" label="PHP" term="PHP" />
    
        <id>http://greg.chiaraquartet.net/archives/190-guid.html</id>
        <title type="html">phar is near at php|tek</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>OK, so my selection of puns is not exactly &quot;funny&quot; per se, but it is true: php|tek is all about phar and variant spellings of the 4 letter word, such as &quot;pear&quot;.  If you're in the audience for my talk about smart PHP application deployment using phar, PEAR and Pyrus, come say hello, I'm looking forward to meeting just about everyone I've argu^H^H^Hconversed with over the years, and of course you can also check out a copy of my book, I'll stuff a few into the luggage.  In other news, phar is tentatively enabled by default in PHP 5.3, marking the exciting next phase in all of the back-breaking work that has gone into it.  Check out the complete manual at <a href="http://greg.chiaraquartet.net/exit.php?url_id=653&amp;entry_id=190" title="http://php.net/phar"  onmouseover="window.status='http://php.net/phar';return true;" onmouseout="window.status='';return true;">http://php.net/phar.</a></p><p>Although I perform all the time as part of my day job as cellist of the Chiara Quartet, this will be a very different kind of performing experience and I'm looking forward to the challenge of revealing the true dynamism and excitement that I see in app deployment stuff I've been working on the past several years.</p><p>See you in Chicago!</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/189-behold-peclphar-and-mighty-PHP-5.3,-also-phparch-and-phptek.html" rel="alternate" title="behold pecl/phar and mighty PHP 5.3, also php|arch and php|tek" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2008-03-26T22:58:57Z</published>
        <updated>2008-03-27T14:36:33Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=189</wfw:comment>
    
        <slash:comments>6</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=189</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/2-PHP" label="PHP" term="PHP" />
    
        <id>http://greg.chiaraquartet.net/archives/189-guid.html</id>
        <title type="html">behold pecl/phar and mighty PHP 5.3, also php|arch and php|tek</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                
<p>I've been a bit busy, my last PHP post was in October (!) but I do have very good news.  Following on the heels of my first php|arch article about the Phar extension in the January issue (<a href="http://greg.chiaraquartet.net/exit.php?url_id=646&amp;entry_id=189" title="http://phparch.com/c/magazine/issue/65"  onmouseover="window.status='http://phparch.com/c/magazine/issue/65';return true;" onmouseout="window.status='';return true;">http://phparch.com/c/magazine/issue/65</a>), I've been extremely hard at work on perfecting this extension.  As a testament to the strength and excitement surrounding the upcoming 2.0 release of the phar extension, my editor at php|arch became a developer on the phar extension after reading and working on the article (hi Steph).</p><p>Today, I released <a href="http://greg.chiaraquartet.net/exit.php?url_id=647&amp;entry_id=189" title="http://pecl.php.net/package/phar/2.0.0a1"  onmouseover="window.status='http://pecl.php.net/package/phar/2.0.0a1';return true;" onmouseout="window.status='';return true;">phar version 2.0.0a1</a>, the first release of the newly upgraded extension.  This extension is a wholly different animal from the last release, 1.2.3.  While maintaining BC with the 1.2.x version of pecl/phar, this version adds unimaginable new facilities.  The phar extension has transformed from something of a sideshow to a major player, and is being actively considered for inclusion in the core of PHP 5.3.  Major new features in phar 2.0:</p><ul><li>Phar now supports tar and zip archives with the same API that is supports phar archives.  Think of phar as something like the PDO of archive file formats.  All phar archives must contain &quot;.phar&quot; in the filename to be executed</li><li>Phar has a front controller for web applications that fully handles MIME types, supports mod_rewrite-like functionality with far more flexibility (a php callback is passed the url, it returns the actual file to load) and also the ability to deny access to portions of the phar that are not web-accessible (like library PHP code)</li><li>Phar fully solves the problems with current directory and code loading/file loading that plague all other stream wrappers like PHP_Archive and PHK.  This allows running complex applications like phpMyAdmin with no code modification directly from the original .tgz after a rename and the addition of a 20-line stub</li><li>Phar supports phar:// stream wrappers in include_path for PHP 5.2+, so your require_once-based applications can be pharred up without code modification</li><li>Phar supports creation and modification of data-only tar and zip archives (no executable phar stub) via the PharData class.  Now you can use phar to create and even convert between file formats.  Unlike the zip extension, phar supports bzip2 compression of files, and has no arbitrary limit on open file handles.  Unlike the archive extension in pecl, phar fully supports windows, and is the first PHP extension to deliver read/write support for tar archives on both unix and windows.</li></ul><p>In other words, phar 2.0 is the &quot;holy crap&quot; release of phar.  The manual (which is currently almost fully updated to the API, but not yet rebuilt) is at <a href="http://greg.chiaraquartet.net/exit.php?url_id=648&amp;entry_id=189" title="http://www.php.net/phar"  onmouseover="window.status='http://www.php.net/phar';return true;" onmouseout="window.status='';return true;">http://www.php.net/phar</a>.  Another way to get to know phar is through the unit tests, which are included in the pecl tarball.</p><p>The current release can be downloaded from <a href="http://greg.chiaraquartet.net/exit.php?url_id=649&amp;entry_id=189" title="http://pecl.php.net/get/phar-2.0.0a1.tgz"  onmouseover="window.status='http://pecl.php.net/get/phar-2.0.0a1.tgz';return true;" onmouseout="window.status='';return true;">http://pecl.php.net/get/phar-2.0.0a1.tgz</a> or installed via <font face="courier new,courier,monospace">pecl install phar</font> and windows dll can be downloaded from <a href="http://greg.chiaraquartet.net/exit.php?url_id=650&amp;entry_id=189" title="http://pecl4win.php.net/ext.php/php_phar.dll"  onmouseover="window.status='http://pecl4win.php.net/ext.php/php_phar.dll';return true;" onmouseout="window.status='';return true;">http://pecl4win.php.net/ext.php/php_phar.dll</a> although it looks like building is having a few hiccups lately.</p><p>There are a few known issues to be worked out.  One is compatibility with xdebug, which is a trivial problem involving extension load order.  Once we work this out, xdebug will support stepping through the source of files within a phar archive in your IDE, a killer feature for those who need to debug things.  In PHP 5.3, phar requires a small patch to support the phar stream wrapper in include_path.</p><p>...This brings me to PHP 5.3.  I've been working hard with Dmitry Stogov, Marcus Boerger (the other phar lead) and a few other list contributors to perfect a patch that will bring stream wrapper support to include_path.  This will mean that you can write a userspace stream wrapper, put its url in your include_path and start using it with relative includes such as what PEAR uses to load its code.  This powerful feature will allow you to write your code in one way, and run it from several different locations.  Expect to see this feature committed in the next week or so, barring major problems.</p><p>Lastly, I'm happy to announce that I will be a speaker at this year's php|tek conference in Chicago.  It is the first time I've been able to pull myself away from a crazy-busy quartet schedule to attend a conference, and I look forward very much to meeting as many of you as possible while there.  My talk will be on smart PHP application deployment, and covers PEAR, Phar, and the new Pyrus installer for PEAR2 (<a href="http://greg.chiaraquartet.net/exit.php?url_id=651&amp;entry_id=189" title="http://tek.phparch.com/c/schedule/talk/d2s6/1"  onmouseover="window.status='http://tek.phparch.com/c/schedule/talk/d2s6/1';return true;" onmouseout="window.status='';return true;">http://tek.phparch.com/c/schedule/talk/d2s6/1</a>).  Unfortunately, the talk is at the same as Josh Eichorn's talk on PEAR2 (<a href="http://greg.chiaraquartet.net/exit.php?url_id=652&amp;entry_id=189" title="http://tek.phparch.com/c/schedule/talk/d2s6/0"  onmouseover="window.status='http://tek.phparch.com/c/schedule/talk/d2s6/0';return true;" onmouseout="window.status='';return true;">http://tek.phparch.com/c/schedule/talk/d2s6/0</a>), so we may need to work out some way to shuttle folks back and forth, we'll have to see <img src="http://greg.chiaraquartet.net/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" />.</p><p>Progress of the highest order is being made here, expect to hear more about the goings-on behind phar and PEAR2 as time permits.</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/188-an-example-of-responsible-government-from-a-guy-I-dont-even-like-much.html" rel="alternate" title="an example of responsible government from a guy I don't even like much" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2007-12-02T06:41:18Z</published>
        <updated>2007-12-02T06:41:18Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=188</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=188</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/8-Politics" label="Politics" term="Politics" />
    
        <id>http://greg.chiaraquartet.net/archives/188-guid.html</id>
        <title type="html">an example of responsible government from a guy I don't even like much</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Here is an interesting example of how screwed up the political process is: Mike Huckabee, Republican of Arkansas, is being heavily criticized for <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5ueXRpbWVzLmNvbS8yMDA3LzEyLzAyL3VzL3BvbGl0aWNzLzAyaHVja2FiZWUuaHRtbA==&amp;entry_id=188" title="http://www.nytimes.com/2007/12/02/us/politics/02huckabee.html"  onmouseover="window.status='http://www.nytimes.com/2007/12/02/us/politics/02huckabee.html';return true;" onmouseout="window.status='';return true;">having raised taxes</a> during his term as governor.  For years, the rallying cry of so-called &quot;fiscal conservatives&quot; has been decreasing taxes, under the premise that government is always less efficient than private enterprise at solving problems.<p>Of course, as with all one-sided issues, the question of taxation versus private enterprise is a <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9DYW5hcmQ=&amp;entry_id=188" title="http://en.wikipedia.org/wiki/Canard"  onmouseover="window.status='http://en.wikipedia.org/wiki/Canard';return true;" onmouseout="window.status='';return true;">canard</a>.  It is more than foolish to blame high taxes for all of the problems in this world.</p><p>For example, Huckabee raised taxes approximately $500 million net (once you take into account taxes eliminated) as a governor.  However, at the same time, the state's $200 million budget deficit turned into a $844 million surplus in the same time.  Tax advocates might argue that the increase would be even greater had taxes been lowered, but let's look at the truth of the matter.  Reagan and both Bush presidents cut taxes, and the deficit rose in both cases.  Clinton raised taxes, and the deficit decreased at the same time as the economy flourished.  For citations, see <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3pmYWN0cy5jb20vcC8zMTguaHRtbA==&amp;entry_id=188" title="http://zfacts.com/p/318.html"  onmouseover="window.status='http://zfacts.com/p/318.html';return true;" onmouseout="window.status='';return true;">here</a>, <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy51c2F0b2RheS5jb20vbmV3cy93YXNoaW5ndG9uLzIwMDQtMDEtMjYtZGVmX3guaHRt&amp;entry_id=188" title="http://www.usatoday.com/news/washington/2004-01-26-def_x.htm"  onmouseover="window.status='http://www.usatoday.com/news/washington/2004-01-26-def_x.htm';return true;" onmouseout="window.status='';return true;">here</a>, <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5jYm8uZ292L2Z0cGRvYy5jZm0/aW5kZXg9NTMyNCZ0eXBlPTAmc2VxdWVuY2U9MA==&amp;entry_id=188" title="http://www.cbo.gov/ftpdoc.cfm?index=5324&amp;type=0&amp;sequence=0"  onmouseover="window.status='http://www.cbo.gov/ftpdoc.cfm?index=5324&amp;type=0&amp;sequence=0';return true;" onmouseout="window.status='';return true;">here</a>, and <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy53YXNoaW5ndG9ucG9zdC5jb20vd3AtZHluL2FydGljbGVzL0EyNjQwMi0yMDA0SnVuOF8yLmh0bWw=&amp;entry_id=188" title="http://www.washingtonpost.com/wp-dyn/articles/A26402-2004Jun8_2.html"  onmouseover="window.status='http://www.washingtonpost.com/wp-dyn/articles/A26402-2004Jun8_2.html';return true;" onmouseout="window.status='';return true;">here</a>.  The last citation is particularly interesting, as it discusses the long-term effects of budgets based on deficit spending (living off the government credit card is another way of thinking of it).  The standard economic effect is that as you borrow, your interest rates climb to compensate.  An interesting side note is the end of the article predicting that interest rates will only rise 1.12% after 2004's record deficit spending.  In fact, the sub-prime mortgage lending crisis we currently find ourselves in was caused by a very slight increase in the interest rate as dictated by the Federal Reserve.  The rate increase itself should have been harmless, but when combined with the obsessive anti-regulatory credo our current administration lives and breathes, we have thousands of unethical predatory adjustable rate mortgages suddenly increasing monthly payment by several hundred dollars, and foreclosures by the thousand affecting the entire economy with a ripple effect.  Another interesting side note is that the only reason our economy continues to function is because China is literally supporting our system by <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5hdGltZXMuY29tL2F0aW1lcy9HbG9iYWxfRWNvbm9teS9GQTIzRGowMS5odG1s&amp;entry_id=188" title="http://www.atimes.com/atimes/Global_Economy/FA23Dj01.html"  onmouseover="window.status='http://www.atimes.com/atimes/Global_Economy/FA23Dj01.html';return true;" onmouseout="window.status='';return true;">buying huge numbers of government bonds</a>.  The new question nobody is asking is what does this really mean?  The obvious answer is that should China wish to do so, it could squeeze the U.S. government and shift our policies in its favor just by threatening - behind the scenes - to stop this process.  What it really means is that very quietly, and unnoticeably, the control over the U.S. economy and even policy is shifting to Asia.  This is not intrinsically bad, and in a perfect world, allows our economy to function with the help of our benevolent neighbors.  What it also does do is allow a bad apple government to exert undue control over the U.S. from afar, much as a bad apple U.S. government has run amok over the Iraqi people, but in a far more subtle way with profound implications for everything here, including the military and other national security issues.</p><p>So, coming back to our main story, Huckabee raised taxes to fix horrendously ill-maintained state highways, to pay for nursing homes for poor seniors, to pay for strapped school districts, supporting tuition breaks for children of illegal immigrants, and improving the state parks system.  In case you've been living in a hole, these are all liberal issues, and yet they all passed with huge bi-partisan support in Arkansas.</p><p>So why don't I like him much?  Actually, much of what he says on his issues page resonates with what is really important.  His views that the environment actually kind of matters, that education is a serious priority for providing vectors to move from a poorer life to a richer one, faith as a non-prescriptive but important part of life - all of these sound great.  However, he then proceeds to turn right around and say it is just fine to proscribe that his <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5taWtlaHVja2FiZWUuY29tLz9GdXNlQWN0aW9uPUlzc3Vlcy5WaWV3Jklzc3VlX2lkPTEw&amp;entry_id=188" title="http://www.mikehuckabee.com/?FuseAction=Issues.View&amp;Issue_id=10"  onmouseover="window.status='http://www.mikehuckabee.com/?FuseAction=Issues.View&amp;Issue_id=10';return true;" onmouseout="window.status='';return true;">personal view of homosexuality and faith</a> allows him to legislate the lives of gay people in a highly intrusive and discriminatory way.  He also <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5taWtlaHVja2FiZWUuY29tLz9GdXNlQWN0aW9uPUlzc3Vlcy5WaWV3Jklzc3VlX2lkPTI=&amp;entry_id=188" title="http://www.mikehuckabee.com/?FuseAction=Issues.View&amp;Issue_id=2"  onmouseover="window.status='http://www.mikehuckabee.com/?FuseAction=Issues.View&amp;Issue_id=2';return true;" onmouseout="window.status='';return true;">blindly lumps together Iraq in with Al Qaeda</a>, conveniently ignoring the fact that it was the United State's own imperial hubris that led to the creation of &quot;Al Qaeda in Mesopotamia&quot; - an organization that did not exist prior to 2003.  His <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5taWtlaHVja2FiZWUuY29tLz9GdXNlQWN0aW9uPUlzc3Vlcy5WaWV3Jklzc3VlX2lkPTQ=&amp;entry_id=188" title="http://www.mikehuckabee.com/?FuseAction=Issues.View&amp;Issue_id=4"  onmouseover="window.status='http://www.mikehuckabee.com/?FuseAction=Issues.View&amp;Issue_id=4';return true;" onmouseout="window.status='';return true;">demonification of illegal immigrants</a>, pandering to white racists who see &quot;those Mexicans&quot; as a problem and finally have an excuse to get rid of them is pure opportunism, especially considering his actual stance as governor supporting the children of illegal immigrants.</p><p>Ultimately, however, this is a candidate who understands that government has a purpose that serves to rectify the natural inequities inherent in the capitalistic system.  I'd never vote for the guy because it takes more than an effective manager to unify a country that has thrived on division under the worst manager in the history of the nation, but it is comforting to see that even social conservatives are starting to recognize that the Bush/Reagan paradigm of economic management and governmental anarchy is the worst thing to ever happen to the United States economy.  It would give me no end of pleasure to be *only* arguing about domestic issues of personal privacy, health insurance, education, and all the other things that really matter to day-to-day living.  With an effective manager at the helm, the United States can finally pull out of this tremendous quandary that is the Bush legacy.</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/187-The-torture-presidency,-why-impeachment-is-the-only-remedy.html" rel="alternate" title="&quot;The torture presidency,&quot; why impeachment is the only remedy" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2007-11-01T16:06:29Z</published>
        <updated>2007-11-01T16:06:29Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=187</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=187</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/8-Politics" label="Politics" term="Politics" />
    
        <id>http://greg.chiaraquartet.net/archives/187-guid.html</id>
        <title type="html">&quot;The torture presidency,&quot; why impeachment is the only remedy</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                
<p>More fuel for the fire - it appears that the CIA, under the explicit direction of the executive branch of the U.S. Government (translate: Bush administration) <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5ueXRpbWVzLmNvbS8yMDA3LzExLzAxL3dhc2hpbmd0b24vMDFtdWthc2V5Lmh0bWw=&amp;entry_id=187" title="http://www.nytimes.com/2007/11/01/washington/01mukasey.html"  onmouseover="window.status='http://www.nytimes.com/2007/11/01/washington/01mukasey.html';return true;" onmouseout="window.status='';return true;">tortured at least three suspects</a> in interrogation.  The &quot;technique&quot; used is waterboarding, a medieval torture technique designed to convince the person experiencing it that they are drowning and about to die a horrible death.  This in turn is expected to convince the person being waterboarded to give up information on terrorists.</p><p>The Attorney General nominee explicitly says in his testimony before Congress:</p><blockquote><p>He said that while he personally found waterboarding and similar
interrogation methods “repugnant,” he could not call them illegal. One
reason, he said, was to avoid any implication that intelligence
officers and their bosses had broken the law.</p><p>“I would not want any uninformed statement of mine made during a
confirmation process to present our own professional interrogators in
the field, who must perform their duty under the most stressful
conditions, or those charged with reviewing their conduct,” Mr. Mukasey
wrote, “with a perceived threat that any conduct of theirs, past or
present, that was based on authorizations supported by the Department
of Justice could place them in personal legal jeopardy.”</p></blockquote><p>That's right - the Department of Justice explicitly authorized waterboarding.  Mukasey is right on one point - the CIA operatives carrying out orders will not be expected to answer to their crime of following orders on this earth, as Congress has passed a law forbidding prosecuting of interrogators following protocols set forward by their bosses.  This, incidentally, was the most common defense by Nazis in the Nuremberg trials after World War II: &quot;I was just following orders when I pulled the trigger and shot men, women and children over a trench they had dug.&quot;  This leaves us with only one recourse: prosecuting their bosses, namely the Bush administration people who authorized the torture.</p><p>At this point, that leaves us with one recourse - impeachment.  On what grounds can the House impeach?</p><p>The Constitution, Article II reads:</p><blockquote><p><b>Section. 4.</b>
</p><p><a name="2.4.1"></a>The President, Vice President and all civil
Officers of the United States, shall be removed from Office on
Impeachment for, and Conviction of, Treason, Bribery, or other high
Crimes and Misdemeanors.</p></blockquote><p></p><p>Treason is explicitly defined as waging war against the U.S., or aiding an enemy of the U.S., and it must be explicit, so that is out of the question.  Bribery is not a known problem, so that is out as well.  This leaves high crimes and misdemeanors.  What's that?  It's intentionally vague.  For a guideline of <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5pbmZvcGxlYXNlLmNvbS9pcGEvQTA3NjQ2MTMuaHRtbA==&amp;entry_id=187" title="http://www.infoplease.com/ipa/A0764613.html"  onmouseover="window.status='http://www.infoplease.com/ipa/A0764613.html';return true;" onmouseout="window.status='';return true;">precedent</a>, Nixon was indicted for illegal wiretapping, misuse of the CIA, perjury, bribery, obstruction of justice, and other abuses of executive power.</p><p>This raises another question: is torture even illegal?</p><p>The Bill of Rights reads:</p><blockquote><p><a name="8"><strong><h3>Amendment VIII</h3></strong></a>

</p><p>Excessive bail shall not be required, nor excessive fines
imposed, nor cruel and unusual punishments inflicted.

</p></blockquote><p>This, unfortunately, does not discuss interrogation, only punishment.  However, this Amendment is quite explicit:</p><blockquote><p><a name="4"><strong><h3>Amendment IV</h3></strong></a>

</p><p>The right of the people to be secure in their persons, houses,
papers, and effects, against unreasonable searches and seizures,
shall not be violated, and no warrants shall issue, but upon
probable cause, supported by oath or affirmation, and
particularly describing the place to be searched, and the
persons or things to be seized.</p></blockquote><p>Unreasonable search of person can be construed clearly to mean interrogation techniques that are unreasonable, as the purpose of interrogation is to search a person's memory for wrongdoing or information on other wrongdoers.  In other words, the Bill of Rights does not explicitly mention torture by name, but it does explicitly forbid its use as an interrogation technique.</p><p>The truth is that president Bush has already explicitly authorized warrantless searches of American citizens, and most likely had to approve the torture techniques used to interrogate terror suspects.  Cheney is famous for micro-management, look at his pre-Iraq war intelligence manipulation efforts.  Rumsfeld is obviously directly implicated in these schemes as is Gonzales.  Rove most likely was not involved as his role was purely political horror shows.</p><p>The evidence is clear: our president and vice president are guilty of high crimes and misdemeanors, and there is no one in the legislature stepping up to the plate with the guts to propose an article of impeachment.</p><p>Some might argue that impeachment is &quot;bad for the country&quot; but the fact is that injustice is far worse.  When a private citizen commits a high crime such as murder, there must be a trial and justice, or it rips a hole in the fabric of society.  For years, the United States has been able to take a high road when dealing with other countries that have perpetrated terrible human rights abuses.  By avoiding punishment for the crimes of the Bush administration in the name of &quot;the good of the country&quot; we will be encouraging unscrupulous leaders of other countries to use the United States's conduct as justification for their own evils, and they would be right.  If we fail to appreciate this dilemma as a nation, then we do are implicitly authorizing foreign powers to torture our soldiers and CIA operatives when they are captured, as well as private citizens who are mistakenly accused of spying or terrorism like the Canadian citizen the United States mistakenly arrested and tortured in Syria.</p><p>Once again, this is not a liberal versus conservative issue, it's a basic fact: we don't torture people in the United States.  Those who do it and those who authorize it are criminals.  In fact, it could very well be more of a conservative than a liberal issue, as ignoring this torture implies a kind of relativistic view of morals.  If it is OK for the president of the United States to authorize torture of terrorism suspects, but it is not OK for a police officer to torture a burglary suspect, and not OK for parents to torture their children, we have a moral dilemma that can only be explained by saying that the concept of right and wrong is incorrect, that there are cases where &quot;wrong&quot; is &quot;right.&quot;  You don't need me to explain why that is the path to absolute evil.  Please call your representatives in Congress and let them know that you expect them to uphold the law independent of political considerations, and that you want impeachment and justice for the American people to rectify the egregious abuses of executive power by this administration.</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/186-Bush-administration-bungles-an-obvious-choice-AGAIN.html" rel="alternate" title="Bush administration bungles an obvious choice AGAIN" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2007-10-30T17:10:14Z</published>
        <updated>2007-10-30T17:10:14Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=186</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=186</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/8-Politics" label="Politics" term="Politics" />
    
        <id>http://greg.chiaraquartet.net/archives/186-guid.html</id>
        <title type="html">Bush administration bungles an obvious choice AGAIN</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I just read in the <a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5ueXRpbWVzLmNvbS8yMDA3LzEwLzMwL3dhc2hpbmd0b24vMzBjb25zdW1lci5odG1s&amp;entry_id=186" title="http://www.nytimes.com/2007/10/30/washington/30consumer.html"  onmouseover="window.status='http://www.nytimes.com/2007/10/30/washington/30consumer.html';return true;" onmouseout="window.status='';return true;">New York Times</a> that the head of the Consumer Product Safety Commission, Nancy A. Nord, has written to Congress asking that current legislation to double the size of the CPSC be scrapped.  This is in the wake of great ideas like selling children's toys from China that were painted with lead-based paint, putting industrial waste into pet food and toothpaste, and other fantastic situations.<p>This brilliant idea from Nancy Nord follows the consistent pattern of the Bush administration's goal to eliminate government altogether.  The theory is that by systematically dismantling the government, all of our lives will be simpler, better, and happier.  Unlike other administrations, Bush's has even extended this theory to the military, outsourcing &quot;security&quot; in a warzone to companies like Blackwater.  Perhaps the theory is correct.</p><p>After all, for the first time ever, the standard deviation from the median income in the United States is nearly zero - there are no poor people, and no super-rich people!  Our military is spending less money and less time in conflict zones, inspiring other governments to follow the United States' lead and hire mercenary forces to do their dirty work for them!  For the first time, all products and chemicals brought to market are being evaluated for their potential detrimental effects.  Also, surprisingly, every American has full access to health care and private insurance with no danger of bankruptcy from a single hospital stay.  In fact, every small child has guaranteed access to essential care, cutting down dramatically on future health care costs when these children get ill later in life.  Perhaps the next best step is to turn over our interstate highway system to private companies, so that we can truly reap the benefits of lower taxes.</p><p>Oh wait, scrap that, for the first time since the late 1800s, we have a huge disparity of the super-rich and the poor, a shrinking middle class, and the U.S. is the only &quot;rich&quot; country in the world experiencing this fact.  The stock market is at an all-time high, and yet millions of new home owners are about to lose their homes.  Private security firms contracted by the U.S. government to do the military's job do so at double the cost or more, with no oversight or accountability, resulting in callous disregard for the lives of civilians in the countries they work in.  The European Union is leading the way in safety of chemicals on the market, forcing U.S. manufacturers like Dow to conform to standards much higher than those in the U.S., and the U.S. dollar continues to drop relative to the Euro, suggesting that these increased safety standards don't hurt economic development at all.  The EU is also leading in environmental regulation.  Health care is obviously a disaster because it is private - compare costs and benefits to any other country with systemic government-sponsored health care for your evidence.</p><p>What most self-described conservatives fail to appreciate is the total cost of things.  Taking into account only taxes and regulations is short-sighted at best, and dangerous at worst.  When comparing costs, one must take into account how much things would cost if you have to pay for them yourself.  Health insurance is a good example.  Your employer can take advantage of economy of scale to get you a much lower rate for the same thing than you can get yourself, sometimes hundreds of dollars lower.  The government is on an even larger scale, and can therefore smooth over large differences between groups with minimal pain to those on the extreme edges.</p><p>For an obvious example of how government works successfully, the interstate freeway system was entirely government-funded, and has worked with minimal interruption or problems with thousands more miles of concrete than other countries.</p><p>The truth is that saving a few bucks now by reducing the size of government has a huge impact on the cost of living, especially for lower-income brackets, resulting in not only worse living conditions for low-income households, but increasing unstable political environments as a result.  Organized crime or corruption/fiefdoms steps in to fill the void of an absent government, much as we have seen in countries like the former Soviet Union.</p><p>It's time for Americans to wake up and smell the toxic waste.  Voting &quot;for the other guy&quot; is the knee-jerk reaction, but won't do anything substantive.  You need to contact your current representatives in the government, your senator and representative, and let them know that you understand the importance of government as a service to the people, and oppose dismantling government as a principle.  Take some time out of your day to do some research into how smart people who have studied the effects of government versus privatization have documented the way the world actually works, don't take my word for it.  Be a real citizen already!</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/185-Microsoft-and-the-.NET-saga.html" rel="alternate" title="Microsoft and the .NET saga" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2007-10-29T20:23:55Z</published>
        <updated>2007-10-31T19:02:49Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=185</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=185</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/2-PHP" label="PHP" term="PHP" />
    
        <id>http://greg.chiaraquartet.net/archives/185-guid.html</id>
        <title type="html">Microsoft and the .NET saga</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                
<p>So for the past half year or so, I have been trying on and off to install security updates for Microsoft .NET 1.1 and 2.0.  Each time, it hadn't worked.  I've now disabled automatic updates because they always fail on these two old updates.</p><p>Today, I thought maybe I would take a real crack at fixing this issue, and so did an extensive google search for any information on installing/uninstalling/repairing a .NET installation.  There is, not surprisingly, a huge number of problems that people have experienced, this being a Microsoft component.  I finally found a page on the Microsoft site that displays instructions on repairing .NET.</p><p>Unfortunately, none of the instructions work.  I tried to uninstall the component, and it tells me source files are not available.  I try re-installing from source, and it tells me that I can't install.  I try manually deleting and it tells me the file is in use (yes, I've disabled anti-virus).  Because this is an MS Windows machine, it's virtually impossible to tell which file is using the .NET stuff.</p><p>Basically, I'm not allowed to do anything productive with the Microsoft stuff on this computer.  This incidentally also means I can't install VS 2005 because it needs a working .NET installation, so I can't debug my pecl extensions on Windows.  My next computer is going to be a MacBook Pro, and I'm never looking back.</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/184-Working-towards-Pyrus-and-PEAR2,-check-it-out-or-miss-out.html" rel="alternate" title="Working towards Pyrus and PEAR2, check it out or miss out" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2007-09-23T05:25:26Z</published>
        <updated>2007-09-23T05:25:26Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=184</wfw:comment>
    
        <slash:comments>6</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=184</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/3-PEAR" label="PEAR" term="PEAR" />
    
        <id>http://greg.chiaraquartet.net/archives/184-guid.html</id>
        <title type="html">Working towards Pyrus and PEAR2, check it out or miss out</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Hello all.  It's been a very busy time for me, what with suddenly having a full gaggle of new cello students to teach at <a href="http://greg.chiaraquartet.net/exit.php?url_id=622&amp;entry_id=184" title="http://www.unl.edu/music"  onmouseover="window.status='http://www.unl.edu/music';return true;" onmouseout="window.status='';return true;">UNL</a> as well as a fully loaded performance schedule for <a href="http://greg.chiaraquartet.net/exit.php?url_id=623&amp;entry_id=184" title="http://www.chiaraquartet.net"  onmouseover="window.status='http://www.chiaraquartet.net';return true;" onmouseout="window.status='';return true;">the quartet</a>, but I have been finding time to code.  My priority has been the <a href="http://greg.chiaraquartet.net/exit.php?url_id=624&amp;entry_id=184" title="http://wiki.pear.php.net/index.php/PEAR2_Standards"  onmouseover="window.status='http://wiki.pear.php.net/index.php/PEAR2_Standards';return true;" onmouseout="window.status='';return true;">push towards PEAR2</a>, which means that in addition to attempting to mediate the discussions of what should change from PEAR to PEAR2, I'm churning out code to turn its installer, <a href="http://greg.chiaraquartet.net/exit.php?url_id=625&amp;entry_id=184" title="http://svn.pear.php.net/PEAR2/Pyrus"  onmouseover="window.status='http://svn.pear.php.net/PEAR2/Pyrus';return true;" onmouseout="window.status='';return true;">Pyrus</a>, from vaporware into actual code.</p><p>Along these lines, there has been significant progress.  The code has been developed on PHP 5.2, but will most likely target PHP 5.3 with the introduction of namespaces.  Pyrus completely revamps the way things are done.  By using <a href="http://greg.chiaraquartet.net/exit.php?url_id=626&amp;entry_id=184" title="http://php.net/spl"  onmouseover="window.status='http://php.net/spl';return true;" onmouseout="window.status='';return true;">SPL</a> as well as extensions like <a href="http://greg.chiaraquartet.net/exit.php?url_id=627&amp;entry_id=184" title="http://php.net/xmlreader"  onmouseover="window.status='http://php.net/xmlreader';return true;" onmouseout="window.status='';return true;">XMLReader</a> and <a href="http://greg.chiaraquartet.net/exit.php?url_id=628&amp;entry_id=184" title="http://php.net/xmlwriter"  onmouseover="window.status='http://php.net/xmlwriter';return true;" onmouseout="window.status='';return true;">XMLWriter</a>, Pyrus manages to pack in far more features inside the code while literally cutting thousands of lines of code.  The biggest loser has been the package.xml handling code.  More than 2500 lines of code have gone byebye, but the API for reading from and creating package.xml is now as intuitive or more intuitive than simplexml.</p><p>In addition, using interfaces, a few design patterns and some clever iterators, adding support for a customized packaging solution is a matter of creating a <a href="http://greg.chiaraquartet.net/exit.php?url_id=629&amp;entry_id=184" title="http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/trunk/src/Package/ICreator.php?op=file&amp;rev=0&amp;sc=0"  onmouseover="window.status='http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/trunk/src/Package/ICreator.php?op=file&amp;rev=0&amp;sc=0';return true;" onmouseout="window.status='';return true;">class with a few lines of code</a> that accepts file contents and where to save them.  Pyrus does <a href="http://greg.chiaraquartet.net/exit.php?url_id=630&amp;entry_id=184" title="http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/trunk/src/Package/Creator.php?op=file&amp;rev=0&amp;sc=0"  onmouseover="window.status='http://svn.pear.php.net/wsvn/PEARSVN/Pyrus/trunk/src/Package/Creator.php?op=file&amp;rev=0&amp;sc=0';return true;" onmouseout="window.status='';return true;">the hard work</a> of constructing the relative path of files within the archive and pre-processing their contents using file tasks.</p><p>The code is simple enough that I wrote <a href="http://greg.chiaraquartet.net/exit.php?url_id=631&amp;entry_id=184" title="http://svn.pear.php.net/wsvn/PEARSVN/sandbox/SimpleChannelServer/src/?rev=0&amp;sc=0"  onmouseover="window.status='http://svn.pear.php.net/wsvn/PEARSVN/sandbox/SimpleChannelServer/src/?rev=0&amp;sc=0';return true;" onmouseout="window.status='';return true;">a simple channel server</a> with no dependencies except for Pyrus in less than 6 hours (just finished the initial work when my battery ran out today) that allows small channels to work without needing a database or even PHP on the channel server, as all the REST files and releases can be generated and then uploaded from a dev server.</p><p>In short, it's an exciting time to be involved in <a href="http://greg.chiaraquartet.net/exit.php?url_id=632&amp;entry_id=184" title="http://pear.php.net"  onmouseover="window.status='http://pear.php.net';return true;" onmouseout="window.status='';return true;">PEAR</a>.  If you've been ignoring PEAR, perhaps it is time to take another look?</p><p></p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/183-The-evil-that-is-fear-banning-religion-from-US-prisons.html" rel="alternate" title="The evil that is fear: banning religion from US prisons" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2007-09-10T17:58:16Z</published>
        <updated>2007-09-10T17:58:16Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=183</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=183</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/8-Politics" label="Politics" term="Politics" />
    
        <id>http://greg.chiaraquartet.net/archives/183-guid.html</id>
        <title type="html">The evil that is fear: banning religion from US prisons</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>The past 6 years have seen an unprecedented rise in the institutionalization of fear as public policy in the United States.  This is of course primarily due to the attacks of 9/11, but not because of the terrorist attacks.  The institutionalization of fear is entirely due to our political leaders, led at the top by a president but followed by the many lawmakers within the legislative branch independent of political party.  The unprecedented abuse of fundamental clauses of our Constitution such as the right to have no unreasonable search and seizure, the right not to be tortured, and now even the freedom of religion all result from the institutionalization of fear as a policy of government.  This New York Times article (<a href="http://greg.chiaraquartet.net/exit.php?url=aHR0cDovL3d3dy5ueXRpbWVzLmNvbS8yMDA3LzA5LzEwL3VzLzEwcHJpc29uLmh0bWw=&amp;entry_id=183" title="http://www.nytimes.com/2007/09/10/us/10prison.html"  onmouseover="window.status='http://www.nytimes.com/2007/09/10/us/10prison.html';return true;" onmouseout="window.status='';return true;">http://www.nytimes.com/2007/09/10/us/10prison.html</a>) details the latest in the long string of evils committed in the name of preventing terrorism.  The article has a great deal of information, but the most important portion of the article is the first paragraph:</p><blockquote><p><i>Behind the walls of federal prisons nationwide, chaplains have been
quietly carrying out a systematic purge of religious books and
materials that were once available to prisoners in chapel libraries.</i></p></blockquote><p>Yes, it really is true, books that might foment radical muslim ideology or other terrorist ideas are being removed from prisons.</p><p>I almost don't know what to say.  Prisons already by design remove one of the three rights so often shouted from the hilltop when quoting the American Declaration of Independence:</p><blockquote><p><i>We hold these truths to be self-evident, that all men are created
equal, that they are endowed by their Creator with certain unalienable
Rights, that among these are Life, Liberty and the pursuit of Happiness</i></p></blockquote><p>Removal of liberty is of course the point of a prison, but removal of the possibility of spiritual enlightenment is a dangerous game to play.  It falls under the category of &quot;medicine is worse than the disease.&quot;  It is impossible to decide in advance what will result in a prisoner's transformation into a new person.  The mindset of creating an underclass of people with fewer rights has never resulted in long-term good.  Just ask those whose ancestors have been enslaved, or those who live today in a caste system.  It's not just morally wrong, it's bad for everyone.  This has been known for thousands of years.  The ChNew Testament includes dozens of examples of Jesus reaching out to people universally reviled, whether because of their profession (prostitutes and tax collectors), disease (leprosy) or because they were imprisoned.  Of course, many Christians argue that you should be nice to prisoners because who knows - maybe Christ will return as one of today's underclass just as he was first a lowly carpenter.  The real reason is not so self-serving.  The real reason is that it is wrong to consider other humans to be worth less than your own self-worth, regardless of your reasoning.  This is above religious teachings, above secular laws, and demonstrably bad public policy by a quick scan of the reasons for past governments' demise.</p><p>One could of course argue that prisoners are to be punished in prison and violating basic civil rights doesn't matter.  One could argue that all of the changes made to our society are necessary evils such as the warrantless monitoring of hundreds of phone conversations overseas, the re-instatement of guilt by association (providing material support to a group that may engage in terrorism is illegal, even if you were funding charitable efforts of that group like providing food to starving families in Palestinian territories), pre-emptive invasion of countries not threatening any harm to us, holding prisoners without charges because they might someday engage in terrorism if released.  One would be wrong.</p><p>All of these policy decisions were based on pre-conceived fears, and not on evidence that they can actually work to prevent the criminal act of violent terrorism.  In fact, the evidence suggests that wasting time on broad dragnets like warrantless surveillence actually decreases the chance of finding a real threat, and instead results in the innocent being treated as guilty without a trial and often the guilty being completely overlooked.  Guilt by association was the hallmark of the McCarthy hearings in Congress.  Not many people remember today the famous &quot;I have here in my hand a list of suspected Communists...&quot; line of Joseph McCarthy.  In retrospect, the threat of communism seems absurd.  In fact, the United States was the one instigating military agression by vastly expanding the nuclear arsenal, developing submarines that could deploy missiles to major population centers in the USSR within 15-30 minutes, and creating NATO to counteract the perceived threat of the Eastern bloc.  The USSR was reacting to the very real threat of the United State's perceived military aggression, which was ironically the result of the United State's fear of communism.  Sound familiar?</p><p>Torturing prisoners, removing freedom of religion, unreasonable search and seizure - all of these are not the ultimate problem.  The reason these are enshrined in our Constitution as no-nos for our government is because all of them have been known tools of despots and dictatorships for hundreds of years.  Every freedom in the Constitution is there to guarantee that we do not have a despotic system of government, and the reason is simply because despotism does not work.  Putting too much power in the hands of too few results in far worse decisions being made about the lives of those who are governed.  This isn't rocket science, but it requires the minimal ability of self-recognition on the part of those in power.</p><p>I challenge our leaders to ask themselves the real reason why they feel compelled to remove so many essential liberties.  Is it really to free America from the tyranny of terrorism and the fear that it engenders?  Perhaps it is to &quot;temporarily&quot; enslave Americans to fear in order to bring a speedier death to nameless faceless &quot;terrorists&quot; for the greater good of society?  Or maybe it is because the American system of government has failed, and liberty cannot result in true happiness, only total control, total monitoring of the populace for potential threats can ensure the safety of the public.</p><p>Sound familiar?  Substitute &quot;bourgeois capitalist&quot; for &quot;terrorist&quot; and &quot;class injustice&quot; for &quot;fear&quot; and you have the exact rationale used by communist dictators for enslaving and murdering their own people in order to bring about the greater good.</p><p>Fortunately, in the United States of America, citizens still have the full right of freedom of speech without fear of imprisonment (as long as you don't divulge classified information like how the advisor to the president tried to expose an active duty CIA agent for political reasons), and if our leaders fail us, it is then only up to us to remove them and hope that their replacements will understand why the old guys were kicked out.  The question then, is what are you going to do?  Will you condone the deaths of innocents because your leader has provided you some selfish benefit, or will you do the right thing and let your congresspeople and your senators know what you think about these issues and how your vote will be cast?</p><p>The tyranny of fear is all-corrupting, it results in not just fewer liberties but more deaths to innocent people.  The number of civilians killed in Iraq is unconscionable, and far exceeds the number of murders of Iraqi citizens perpetrated by Saddam Hussein.  Focusing all resources on anti-terrorism directly resulted in the unpreparedness of FEMA to deal with Hurricane Katrina, which is empirically a much greater threat to the life and liberty of Americans than terrorism (many more hurricanes hit the US than do terrorists).  Please help America put a halt to the madness of fear-governed policy, and minimally participate in government by calling or emailing your representatives.  It is time for U.S. citizens to turn the empty rhetoric about freedom and democracy so often foisted upon other countries into true freedom and democracy at home.<br /><i></i></p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://greg.chiaraquartet.net/archives/182-phar-gets-a-major-speed-boost-with-version-1.2.1.html" rel="alternate" title="phar gets a major speed boost with version 1.2.1" />
        <author>
            <name>Greg Beaver</name>
                    </author>
    
        <published>2007-08-30T04:15:23Z</published>
        <updated>2007-08-30T04:15:23Z</updated>
        <wfw:comment>http://greg.chiaraquartet.net/wfwcomment.php?cid=182</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://greg.chiaraquartet.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=182</wfw:commentRss>
    
            <category scheme="http://greg.chiaraquartet.net/categories/2-PHP" label="PHP" term="PHP" />
    
        <id>http://greg.chiaraquartet.net/archives/182-guid.html</id>
        <title type="html">phar gets a major speed boost with version 1.2.1</title>
        <content type="xhtml" xml:base="http://greg.chiaraquartet.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                
<p>A few minutes ago, I released <a href="http://greg.chiaraquartet.net/exit.php?url_id=607&amp;entry_id=182" title="http://pecl.php.net/package/phar"  onmouseover="window.status='http://pecl.php.net/package/phar';return true;" onmouseout="window.status='';return true;">phar</a> version 1.2.1.  phar is a PHP extension that allows the creation of complete filesystems within a single physical file.  In addition, a bootstrap stub written in PHP can be used to run a phar archive as if it were an executable file or shell script.  Documentation on its usage and how to create phars is at <a href="http://greg.chiaraquartet.net/exit.php?url_id=608&amp;entry_id=182" title="http://php.net/phar"  onmouseover="window.status='http://php.net/phar';return true;" onmouseout="window.status='';return true;">http://php.net/phar</a> in the PHP manual.</p><p>This version of phar fixes a number of issues as documented in my last blog post, as well as a quite few issues that Marcus fixed in relation to setting the bootstrap stub, using phar's phar.extract_list INI parameter with an apache module and others (full list <a href="http://greg.chiaraquartet.net/exit.php?url_id=609&amp;entry_id=182" title="http://pecl.php.net/package-changelog.php?package=phar&amp;release=1.2.1"  onmouseover="window.status='http://pecl.php.net/package-changelog.php?package=phar&amp;release=1.2.1';return true;" onmouseout="window.status='';return true;">here</a>).</p><p>In addition, I ran callgrind on the thing and found a few places it could use some trimming of the fat, and was able to cut down the number of stream operations by a factor of 2x when using phar in the most common use case, reading uncompressed files.  In addition, I cut another 2x for phars that have an MD5 or SHA1 signature.</p><p>This is quite a good release, looking forward to hearing your stories of using it.</p>
 
            </div>
        </content>
        
    </entry>

</feed>