<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Neural Core Dump &#187; WordPress</title>
	<atom:link href="http://www.jeffdarlington.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeffdarlington.com</link>
	<description>The personal blog of Jeffrey T. Darlington, creator of General Protection Fault</description>
	<lastBuildDate>Sat, 24 Jul 2010 19:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Blog Server Upgraded</title>
		<link>http://www.jeffdarlington.com/2009/06/13/blog-server-upgraded/</link>
		<comments>http://www.jeffdarlington.com/2009/06/13/blog-server-upgraded/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 23:47:33 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[GPF]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jeffdarlington.com/?p=232</guid>
		<description><![CDATA[It case you missed yesterday&#8217;s tweets, the jeffdarlington.com server has been successfully upgraded both to Fedora 11 and WordPress 2.8. The GPF server is next, although I haven&#8217;t started that effort and it&#8217;s bound to take longer. I&#8217;ll make a bigger deal about the downtime for GPF when that upgrade draws closer. Let me know [...]]]></description>
			<content:encoded><![CDATA[<p>It case you missed yesterday&#8217;s tweets, the <code>jeffdarlington.com</code> server has been successfully upgraded both to <a title="The Fedora Project" href="http://fedoraproject.org/">Fedora</a> 11 and <a title="WordPress" href="http://wordpress.org/">WordPress</a> 2.8. The <a title="General Protection Fault" href="http://www.gpf-comics.com/">GPF</a> server is next, although I haven&#8217;t started that effort and it&#8217;s bound to take longer. I&#8217;ll make a bigger deal about the downtime for GPF when that upgrade draws closer.</p>
<p>Let me know if you encounter any problems with the new site.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeffdarlington.com/2009/06/13/blog-server-upgraded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Praise for XCache</title>
		<link>http://www.jeffdarlington.com/2008/03/18/praise-for-xcache/</link>
		<comments>http://www.jeffdarlington.com/2008/03/18/praise-for-xcache/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 01:34:12 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[GPF]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[opcode]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[XCache]]></category>

		<guid isPermaLink="false">http://www.jeffdarlington.com/2008/03/18/praise-for-xcache/</guid>
		<description><![CDATA[The new GPF site has been running live for half a month now, and I&#8217;m proud to say things have been running incredibly smoothly. That is, at least, from my perspective; I haven&#8217;t seen any major glitches, and aside from a few typos in the comic (which are obviously independent of the site code), nobody [...]]]></description>
			<content:encoded><![CDATA[<p>The new <a href="http://www.gpf-comics.com/" title="General Protection Fault">GPF</a> site has been running live for half a month now, and I&#8217;m proud to say things have been running incredibly smoothly. That is, at least, from my perspective; I haven&#8217;t <em>seen</em> any major glitches, and aside from a few typos in the comic (which are obviously independent of the site code), nobody has written me about any problems. This is especially heartening because the new site was pretty much entirely coded by hand by me, sans a few bits and pieces. (I can&#8217;t take credit for the OS, the web server software, the database engine, or the forum. But everything else&#8230; yep, that was me.)</p>
<p>There were a lot of motivations for writing my own archiving system, but the primary one was efficiency. While I considered trying something off-the-shelf, so to speak, like <a href="http://mindfaucet.com/comicpress/" title="ComicPress">ComicPress</a> or <a href="http://drupal.org/" title="Drupal">Drupal</a>, I really wanted something that would be blazingly fast yet still dynamically generated to let me do things like <a href="http://www.gpf-comics.com/premium/" title="GPF Premium">GPF Premium</a> on the server side, primarily for security reasons. (Server-side processing means no messy JavaScript is required by the users, thus exposing them to less risks, while Premium content doesn&#8217;t even get sent to the browser at all if Premium isn&#8217;t enabled.) So the GPF site is optimized out the wahzoo, with certain high-volume pages built once by nightly crons while others that require more interactivity reduce database queries to simple selects as much as possible. I&#8217;m never one to brag and toot my own horn, but I&#8217;m actually pretty proud of the new site and how responsive it is.</p>
<p>Of course, I can&#8217;t really take <em>all</em> the credit. I do have to give some serious props to <a href="http://xcache.lighttpd.net/" title="XCache">XCache</a>.</p>
<p>For those unfamiliar with <a href="http://www.php.net/" title="PHP">PHP</a>, it is one of many server-side, interpreted scripting languages commonly used for dynamic Web site development. The caveat, however, to any interpreted language is that on each request the source script must be read, parsed, <a href="http://en.wikipedia.org/wiki/Compiler" title="Compiler article on Wikipedia">compiled</a>, and executed before anything is set back to the end user&#8217;s browser. This is one reason why dynamic sites are and will always be slower than serving purely static HTML files. Static HTML just needs to be read and regurgitated; anything that requires the Web server to actually <em>think</em> takes more time. Add to that the fact that there could be hundreds or even thousands of requests all competing at once for content and it&#8217;s a miracle anything get served at all.</p>
<p>XCache is one of several <a href="http://en.wikipedia.org/wiki/Opcode" title="Opcode article on Wikipedia">opcode</a> <a href="http://en.wikipedia.org/wiki/Cache" title="Cache article on Wikipedia">caching</a> extensions for PHP. Essentially, when the first request for a script is made, the script is parsed and compiled as usual. However, XCache stores the compiled code so subsequent requests can skip the parsing and compilation steps and go directly to executing the code. This significantly increases the speed of execution by eliminating one of the costliest parts of the process (except perhaps database connections). In addition, XCache also includes the ability to cache <a href="http://en.wikipedia.org/wiki/Variable" title="Variable article on Wikipedia">variables</a> and <a href="http://en.wikipedia.org/wiki/Object-oriented_programming" title="Object-oriented programming article on Wikipedia">objects</a>, so commonly repeated and expensive variable generation&#8211;such as the <a href="http://en.wikipedia.org/wiki/Cryptographic_hash_function" title="Cryptographic hash function article on Wikipedia">cryptographic hashes</a> I use for salting cookie hashes or database look-ups for common elements like the Premium subscription levels&#8211;can be stored in the cache rather rebuilt on each request.</p>
<p>I was first introduced to XCache by the <a href="http://neosmart.net/dl.php?id=12" title="NeoSmart Technologies: XCache for WordPress">XCache for WordPress</a> plugin, which was probably mentioned in one of the development feeds built into the <a href="http://wordpress.org/" title="WordPress">WordPress</a> dashboard. I&#8217;ve been running this combination here on the blog for a little while with moderate success; I&#8217;m still trying to find a good balance of configuration settings to get the best results, but I&#8217;ve been happy with the results so far. Without putting much thought into it, I went ahead and installed XCache on the GPF server, hoping that it would help even if I never got a chance to optimize it. Fortunately, it <em>has</em> helped, and now that I&#8217;ve optimized the settings it&#8217;s exceeded most of my expectations. I&#8217;m not sure if there&#8217;s something about my code that caches better than WordPress, but GPF has done much better with XCache than the blog has.</p>
<p>Admittedly, I haven&#8217;t compared it to any other opcode cachers, nor have I benchmarked it against any of the competition. That said, however, I heartily recommend it to anybody running PHP applications. To get the greatest benefit, you may need to modify some code (or install a plugin if you&#8217;re using a prepackaged application) to take advantage of the variable/object caching. But even without modification the opcode caching alone makes for a vast improvement.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeffdarlington.com/2008/03/18/praise-for-xcache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress security tweaks</title>
		<link>http://www.jeffdarlington.com/2007/10/31/wordpress-security-tweaks/</link>
		<comments>http://www.jeffdarlington.com/2007/10/31/wordpress-security-tweaks/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 20:31:29 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jeffdarlington.com/2007/10/31/wordpress-security-tweaks/</guid>
		<description><![CDATA[If you guys haven&#8217;t figured it out by now, I&#8217;m been becoming quite the Internet security nut over the past few years. A thorough search of the Technology category reveals a good bit of my interests in SSH, SSL, public key cryptography, etc. Maybe I ought to experiment with subcategories and introduce a Security category [...]]]></description>
			<content:encoded><![CDATA[<p>If you guys haven&#8217;t figured it out by now, I&#8217;m been becoming quite the <a href="http://en.wikipedia.org/wiki/Internet_security" title="Internet security article on Wikipedia">Internet security</a> nut over the past few years. A thorough search of the <a href="http://www.jeffdarlington.com/category/technology/" title="Category: Technology">Technology category</a> reveals a good bit of my interests in <a href="http://en.wikipedia.org/wiki/Secure_Shell" title="Secure Shell article on Wikipedia">SSH</a>, <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security" title="Transport Layer Security article on Wikipedia">SSL</a>, <a href="http://en.wikipedia.org/wiki/Public-key_cryptography" title="Public-key cryptography article on Wikipedia">public key cryptography</a>, etc. Maybe I ought to experiment with subcategories and introduce a Security category under Technology&#8230;.</p>
<p>Anyway, <a href="http://wordpress.org/" title="WordPress">WordPress</a> usually includes some default feeds in the Dashboard after you log in, mostly from WP developers. One recent entry linked to a <a href="http://dougal.gunters.org/" title="geek ramblings">&#8220;geek ramblings&#8221;</a> post about <a href="http://dougal.gunters.org/blog/2007/10/30/securing-wordpress" title="geek ramblings: Creating a secure WordPress install">creating a secure WordPress install</a>, which in turn references a <a href="http://blogsecurity.net/wordpress/wordpress-security-whitepaper/" title="BlogSecurity: WordPress Security Whitepaper">WordPress security whitepaper</a> over at <a href="http://blogsecurity.net/" title="BlogSecurity">BlogSecurity</a>. (If you didn&#8217;t know any of these sites existed, don&#8217;t feel bad. Neither did I until today.) There&#8217;s lots of interesting reading there, especially if you&#8217;re (a) interested in securing your WordPress site and (b) you happen to be curious and/or adept enough to dabble in a number of arcane Web server settings. I happen to fit both of those criteria.</p>
<p>One of the main reasons I&#8217;m mentioning this is that there might be a few changes and improvements for folks who have registered to comment. The site now redirects you to a secure SSL page on login, and your <a href="http://en.wikipedia.org/wiki/HTTP_cookie" title="HTTP cookie article on Wikipedia">cookies</a> will be stored in secure mode too, meaning they can&#8217;t be read unless sent over an SSL connection. This might require you to log in the next time you try to comment, even if you&#8217;ve told the site to remember you, because the old cookies won&#8217;t be secure and will need to be reset. Otherwise, you probably will never notice the difference unless you go to edit your profile, which most of you probably will never worry about once you&#8217;ve registered.</p>
<p>The rest of the changes are all behind the scenes, so I won&#8217;t bother you with them. Just read the links if you&#8217;re curious. I&#8217;m experimenting with some arcane <a href="http://httpd.apache.org/" title="Apache Web server">Apache</a> <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html" title="Apache mod_rewrite documentation">mod_rewrite</a> rules to really locking down the admin pages, all outside the scope of the links listed above, but so far those tests don&#8217;t seem to work. However, if I get them to do what I want, I might post them here (to give back to the community and all). It will be pretty sweet and borrows a few ideas from recent episodes of the <a href="http://www.grc.com/SecurityNow.htm" title="GRC | Security Now!">Security Now! podcast</a> (#113 specifically) to lock down access to the admin site from only certain locations or certain roaming computers.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeffdarlington.com/2007/10/31/wordpress-security-tweaks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Running &#8220;Dexter&#8221;</title>
		<link>http://www.jeffdarlington.com/2007/09/25/running-dexter/</link>
		<comments>http://www.jeffdarlington.com/2007/09/25/running-dexter/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 12:32:30 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jeffdarlington.com/2007/09/25/running-dexter/</guid>
		<description><![CDATA[Ordinarily, I don&#8217;t go about announcing underlying technology upgrades (for example, I just upgraded iptables and Apache this morning), but I thought this was mildly amusing and I thought I&#8217;d share. As the observant among you probably know, I&#8217;m running WordPress, which just released version 2.3, nicknamed &#8220;Dexter&#8221;. It is so named after the &#8220;great [...]]]></description>
			<content:encoded><![CDATA[<p>Ordinarily, I don&#8217;t go about announcing underlying technology upgrades (for example, I just upgraded <a href="http://www.netfilter.org/projects/iptables/index.html" title="The netfilter.org iptables project">iptables</a> and <a href="http://httpd.apache.org/" title="Apache official site">Apache</a> this morning), but I thought this was mildly amusing and I thought I&#8217;d share. As the observant among you probably know, I&#8217;m running <a href="http://wordpress.org/" title="WordPress">WordPress</a>, which <a href="http://wordpress.org/development/2007/09/wordpress-23/" title="WordPress &gt; Blog &gt; WordPress 2.3">just released version 2.3</a>, nicknamed &#8220;Dexter&#8221;. It is so named after the &#8220;great tenor saxophonist <a href="http://en.wikipedia.org/wiki/Dexter_Gordon" title="Dexter Gordon article on Wikipedia">Dexter Gordon</a>.&#8221; Darn&#8230; I was being <a href="http://www.gpf-comics.com/cast/dexter.html" title="GPF Cast: Dexter">hopeful</a>&#8230;.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeffdarlington.com/2007/09/25/running-dexter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
