<?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/"
	>

<channel>
	<title>Random Randy Ramblings</title>
	<atom:link href="http://www.randymelder.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randymelder.com</link>
	<description>Stuff that was so important, I had to write it down.</description>
	<pubDate>Thu, 11 Mar 2010 22:47:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL Partitioning and open_file_limit</title>
		<link>http://www.randymelder.com/2010/03/11/mysql-partitioning-and-open_file_limit/</link>
		<comments>http://www.randymelder.com/2010/03/11/mysql-partitioning-and-open_file_limit/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 22:42:08 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[myisam]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[partitioning]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=207</guid>
		<description><![CDATA[  We ran into an interesting problem recently and wanted to share the research.
MySQL partitioning is a great way to improve performance in some circumstances, but it has a behavior that&#8217;s not widely noted. That is specifically with the MyISAM storage engine. MySQL seems to open two (2) file pointers for each table or partition [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2010/03/11/mysql-partitioning-and-open_file_limit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VMIX Plugin Test</title>
		<link>http://www.randymelder.com/2010/02/17/vmix-plugin-test/</link>
		<comments>http://www.randymelder.com/2010/02/17/vmix-plugin-test/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 21:57:02 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Wordpress Stuff]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=192</guid>
		<description><![CDATA[  For all my friends reading my blog on a regular basis, you know that it is a place to dump knowledge as I come across it. Ian at VMIX.com is releasing his WP plugin soon. We are beta testing today! Here&#8217;s a sample:

Thanks, Ian. So far, so good!
  ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2010/02/17/vmix-plugin-test/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Backing up your MySQL databases</title>
		<link>http://www.randymelder.com/2010/02/01/backing-up-your-mysql-databases/</link>
		<comments>http://www.randymelder.com/2010/02/01/backing-up-your-mysql-databases/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:50:39 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=184</guid>
		<description><![CDATA[  MYSQLDUMP is a utility for outputting database contents into text files. This is nice, but has many configuration options. One, often missed detail is the specific permissions required to accomplish the job. I made a note on the mysql manual (bottom of page) to illustrate what I consider to be a best practice for [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2010/02/01/backing-up-your-mysql-databases/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL memory usage stored procedure</title>
		<link>http://www.randymelder.com/2010/01/01/mysql_memory_usage_stored_procedure/</link>
		<comments>http://www.randymelder.com/2010/01/01/mysql_memory_usage_stored_procedure/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 15:37:40 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[function]]></category>

		<category><![CDATA[memory]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[stored procedure]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=172</guid>
		<description><![CDATA[  Want to know a close approximation of how much RAM MySQL is consuming right now? There&#8217;s a simple formula posted at MySQL.com. 
Want to add a function to your MySQL database that will allow you to access this value without having to remember the formula?
Answer: Create a Stored Procedure
I&#8217;m assuming your using a MySQL [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2010/01/01/mysql_memory_usage_stored_procedure/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A case for CASE in your SQL</title>
		<link>http://www.randymelder.com/2009/12/22/a-case-for-case-in-your-sql/</link>
		<comments>http://www.randymelder.com/2009/12/22/a-case-for-case-in-your-sql/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 13:59:11 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=168</guid>
		<description><![CDATA[  I&#8217;m going to add more to this later, but for now&#8230;
SQL CASE scenario #1
Ever wanted to offer quantity discounts for shoppers? Here&#8217;s an example of a trivial implementation of the CASE condition in MySQL to get the job done.

mysql> SET @cart_quantity := 3;
Query OK, 0 rows affected (0.00 sec)

mysql> select @cart_quantity;
+----------------+
&#124; @cart_quantity &#124;
+----------------+
&#124;  [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2009/12/22/a-case-for-case-in-your-sql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A PHP Factory Pattern Example</title>
		<link>http://www.randymelder.com/2009/12/15/a-php-factory-pattern-example/</link>
		<comments>http://www.randymelder.com/2009/12/15/a-php-factory-pattern-example/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 06:03:25 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[design pattern]]></category>

		<category><![CDATA[factory]]></category>

		<category><![CDATA[oop]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=156</guid>
		<description><![CDATA[  Recently I was challenged on the fly to come up with an example of a factory pattern. Here is the result:


/**
 * Database Connection Example
 * @author randymelder
 */
interface DatabaseConnection {
    function connect();
}
class MySQLDatabaseConnection implements DatabaseConnection {
    var $link;
    var $user;
    var [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2009/12/15/a-php-factory-pattern-example/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Quicksort Demonstration</title>
		<link>http://www.randymelder.com/2009/12/13/php-quicksort-demonstration/</link>
		<comments>http://www.randymelder.com/2009/12/13/php-quicksort-demonstration/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 15:49:17 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[quicksort php algorithm sorting]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=150</guid>
		<description><![CDATA[  While looking for a hip-pocket sorting, algorithm, I found some sample code here and thought it was perfect the way it was. 

function quicksort($seq) {
    if(!count($seq)) return $seq;
    $pivot= $seq[0];
    $low = $high = array();
    $length = count($seq);
    for($i=1; [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2009/12/13/php-quicksort-demonstration/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Linked List Example</title>
		<link>http://www.randymelder.com/2009/12/06/php-linked-list-example/</link>
		<comments>http://www.randymelder.com/2009/12/06/php-linked-list-example/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 18:10:13 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[data structures]]></category>

		<category><![CDATA[linked list]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=146</guid>
		<description><![CDATA[  Continuing my data structures thoughts from previous posts, I&#8217;ve created a linked list example. 

/*
 * Node - a basic link node.
 */
class Node {
	var $id;
	var $next;
	/*
	 *
	 */
	function __construct($id)
	{
		$this->id = $id;
	}
}
$a = new Node("mark");
var_dump($a);
$b = $a->next = new Node("wes");
var_dump($b);
$c = $a->next->next = new Node("mj");
var_dump($c);
$d = $a->next->next->next = new Node("bruce");
var_dump($d);
$d->next = $b;
var_dump($d);

echo " //loop [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2009/12/06/php-linked-list-example/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Stack - An implementation of a basic data structure</title>
		<link>http://www.randymelder.com/2009/12/05/php_stack/</link>
		<comments>http://www.randymelder.com/2009/12/05/php_stack/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 12:34:36 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Apache / PHP / MySQL]]></category>

		<category><![CDATA[Everything else...]]></category>

		<category><![CDATA[Linux, Unix, and Solaris]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Wordpress Stuff]]></category>

		<category><![CDATA[data structures]]></category>

		<category><![CDATA[oop]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[stack]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=134</guid>
		<description><![CDATA[  Recently, I started re-learning c++ and the topic of data structures surfaced. The conversation evolved to their usefulness in web development. Without commenting on that, I decided to partake in an exercise to implement c style functionality in a PHP OOP context. Here is the code I came up with:

/*
 * Stack - the [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2009/12/05/php_stack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DOM-inating dynamic form elements</title>
		<link>http://www.randymelder.com/2009/09/27/dom-inating-dynamic-form-elements/</link>
		<comments>http://www.randymelder.com/2009/09/27/dom-inating-dynamic-form-elements/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 16:50:10 +0000</pubDate>
		<dc:creator>Randy Melder</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[dom]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.randymelder.com/?p=129</guid>
		<description><![CDATA[  Objective:
Create an HTML form with a text field and allow users to add up to a fixed number of additional text input fields dynamically w/o refreshing.
This is probably the simplest things in the world for javascript gurus, but since I&#8217;m not, I found it difficult to accomplish even with examples found on Google.
Javascript:
var counter [...] ]]></description>
		<wfw:commentRss>http://www.randymelder.com/2009/09/27/dom-inating-dynamic-form-elements/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
