<?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>MPH Web Systems Blog</title>
	<atom:link href="http://blog.mphwebsystems.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.mphwebsystems.com</link>
	<description>Simple, Effective Web Systems</description>
	<lastBuildDate>Fri, 30 Apr 2010 01:21:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Selecting a &lt;option&gt; in a &lt;select&gt; with a given value.</title>
		<link>http://blog.mphwebsystems.com/?p=93</link>
		<comments>http://blog.mphwebsystems.com/?p=93#comments</comments>
		<pubDate>Fri, 30 Apr 2010 01:21:10 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Javascript Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=93</guid>
		<description><![CDATA[Have you ever needed to auto-select a specific &#60;option&#62; in a &#60;select&#62; with PHP but didn&#8217;t want to generate the whole &#60;select&#62; or go through a complex selecting process? Here is some Javascript code that will set the first &#60;option&#62; of a &#60;select&#62; with a given value to selected. function selectItem(name, value) { &#160;&#160;if(value == [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever needed to auto-select a specific &lt;option&gt; in a &lt;select&gt; with PHP but didn&#8217;t want to generate the whole &lt;select&gt; or go through a complex selecting process?</p>
<p>Here is some Javascript code that will set the first &lt;option&gt; of a &lt;select&gt; with a given value to selected.</p>
<p><code><br />
function selectItem(name, value) {<br />
&nbsp;&nbsp;if(value == "") {<br />
&nbsp;&nbsp;&nbsp;&nbsp;return;<br />
&nbsp;&nbsp;}<br />
&nbsp;&nbsp;var selectElement = document.getElementById(name);</p>
<p>&nbsp;&nbsp;var options = selectElement.getElementsByTagName('option');</p>
<p>&nbsp;&nbsp;for(var i = 0; i &lt; options.length; i++) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(options[i].value == value) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;options[i].selected = true;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;return;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;return;<br />
}</code></p>
<p>Say you had the following select, and you wanted to select a certain element say if the something went wrong when the user submited the form. You could call the above function to select the state of Texas like so: <code>selectItem("states", "TX")</code>. The first argument is the id of the select, and the second is the value you want to select.<br />
<code><br />
&lt;select name="State" id="states"&gt;<br />
&nbsp;&nbsp;&lt;option value="" selected="selected"&gt;Select a State&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="AL"&gt;Alabama&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="AK"&gt;Alaska&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="AZ"&gt;Arizona&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="AR"&gt;Arkansas&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="CA"&gt;California&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="CO"&gt;Colorado&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="CT"&gt;Connecticut&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="DE"&gt;Delaware&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="DC"&gt;District Of Columbia&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="FL"&gt;Florida&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="GA"&gt;Georgia&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="HI"&gt;Hawaii&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="ID"&gt;Idaho&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="IL"&gt;Illinois&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="IN"&gt;Indiana&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="IA"&gt;Iowa&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="KS"&gt;Kansas&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="KY"&gt;Kentucky&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="LA"&gt;Louisiana&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="ME"&gt;Maine&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="MD"&gt;Maryland&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="MA"&gt;Massachusetts&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="MI"&gt;Michigan&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="MN"&gt;Minnesota&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="MS"&gt;Mississippi&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="MO"&gt;Missouri&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="MT"&gt;Montana&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="NE"&gt;Nebraska&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="NV"&gt;Nevada&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="NH"&gt;New Hampshire&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="NJ"&gt;New Jersey&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="NM"&gt;New Mexico&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="NY"&gt;New York&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="NC"&gt;North Carolina&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="ND"&gt;North Dakota&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="OH"&gt;Ohio&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="OK"&gt;Oklahoma&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="OR"&gt;Oregon&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="PA"&gt;Pennsylvania&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="RI"&gt;Rhode Island&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="SC"&gt;South Carolina&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="SD"&gt;South Dakota&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="TN"&gt;Tennessee&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="TX"&gt;Texas&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="UT"&gt;Utah&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="VT"&gt;Vermont&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="VA"&gt;Virginia&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="WA"&gt;Washington&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="WV"&gt;West Virginia&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="WI"&gt;Wisconsin&lt;/option&gt;<br />
&nbsp;&nbsp;&lt;option value="WY"&gt;Wyoming&lt;/option&gt;<br />
&lt;/select&gt;<br />
</code></p>
<p>Hope this helps! <img src='http://blog.mphwebsystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=93" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=93</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to format PHP date() for MySQL&#8217;s DateTime DataType</title>
		<link>http://blog.mphwebsystems.com/?p=90</link>
		<comments>http://blog.mphwebsystems.com/?p=90#comments</comments>
		<pubDate>Thu, 11 Mar 2010 09:06:23 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[datatype]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[datetime]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[type]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=90</guid>
		<description><![CDATA[This is a simple call to a function like so: Get the current time: $time = date("y-m-d H\:i\:s"); Or get the current time from a timestamp, set to one week from the current time: $nextWeek = time() + (7 * 24 * 60 * 60); $time = date("y-m-d H\:i\:s", $nextWeek); Share on Facebook]]></description>
			<content:encoded><![CDATA[<p>This is a simple call to a function like so:</p>
<p>Get the current time:<br />
<code>$time = date("y-m-d H\:i\:s");</code></p>
<p>Or get the current time from a timestamp, set to one week from the current time:<br />
<code>$nextWeek = time() + (7 * 24 * 60 * 60);<br />
$time = date("y-m-d H\:i\:s", $nextWeek);</code></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=90" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MySQL Workbench from Source on Fedora 12</title>
		<link>http://blog.mphwebsystems.com/?p=85</link>
		<comments>http://blog.mphwebsystems.com/?p=85#comments</comments>
		<pubDate>Sat, 06 Mar 2010 02:56:50 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[12]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[workbench]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=85</guid>
		<description><![CDATA[Here is a quick tutorial on how to install MySQL Workbench on Fedora 12, as there are some unique things you need before it will install correctly. First, download the source code tar ball from dev.mysql.com here: http://dev.mysql.com/downloads/workbench Next, unpack the tarball into a directory of your choice, open a terminal, and cd into that [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick tutorial on how to install MySQL Workbench on Fedora 12, as there are some unique things you need before it will install correctly.</p>
<p>First, download the source code tar ball from dev.mysql.com here: <a href="http://dev.mysql.com/downloads/workbench">http://dev.mysql.com/downloads/workbench</a></p>
<p>Next, unpack the tarball into a directory of your choice, open a terminal, and cd into that directory where you unpacked the source.</p>
<p>You will need root priviliges for the install so you can do so by running either <code>su</code> or <code>sudo -s</code>.</p>
<p>You will need to run the following command to install the librarys required by MySQL Workbench.<br />
<code>yum install libtool<br />
libzip libzip-devel glib2 glib-devel2 libxml2 libxml2-devel libsigc++20 libsigc++20-devel libglade2 libglade2-devel gtkmm24 gtkmm24-devel libgnome libgnome-devel boost boost-devel libuuid libuuid-devel lua lua-devel pcre pcre-devel mysql mysql-devel</code></p>
<p>Next run <code>sh autogen.sh</code></p>
<p>Then <code>make</code></p>
<p>And then finally <code>make install</code></p>
<p>If the whole process succeeded, the MySQL Workbench binary should be /usr/local/bin/mysql-workbench</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=85" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=85</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Significant Figure Calculator</title>
		<link>http://blog.mphwebsystems.com/?p=79</link>
		<comments>http://blog.mphwebsystems.com/?p=79#comments</comments>
		<pubDate>Sun, 14 Feb 2010 02:38:28 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Developement Projects]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[figure]]></category>
		<category><![CDATA[significant]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=79</guid>
		<description><![CDATA[Here is a little calculator I wrote while I was at a conference this week. Nothin fancy but it will calculate a mathematical equation while taking into account the significant figures and precision of each number in the equation, rounding the final answer to the same precision as the number with the least precision in [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a little calculator I wrote while I was at a conference this week. Nothin fancy but it will calculate a mathematical equation while taking into account the significant figures and precision of each number in the equation, rounding the final answer to the same precision as the number with the least precision in the equation.</p>
<p><a href="http://mphwebsystems.com/SignificantFigureCalc/index.php">http://mphwebsystems.com/SignificantFigureCalc/index.php</a></p>
<p>Enjoy!</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=79" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=79</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending POST parameters via HTTP to a server in C#</title>
		<link>http://blog.mphwebsystems.com/?p=65</link>
		<comments>http://blog.mphwebsystems.com/?p=65#comments</comments>
		<pubDate>Mon, 21 Dec 2009 22:50:57 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[C# Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=65</guid>
		<description><![CDATA[Here is a C# Method for sending data to a server via POST. You would call this method like this: get_post_response("http://somesite/", "email=email&#038;password=password") If any of the characters in the params contain special characters (Such as $, #, @) you must call HttpUtility.UrlEncode() on each param or on the entire param string. Here is how you [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a C# Method for sending data to a server via POST.</p>
<p>You would call this method like this:<br />
<code>get_post_response("http://somesite/", "email=email&#038;password=password")</code></p>
<p>If any of the characters in the params contain special characters (Such as $, #, @) you must call <code>HttpUtility.UrlEncode()</code> on each param or on the entire param string. Here is how you do that: <a href="http://www.vcskicks.com/encode-url.php">http://www.vcskicks.com/encode-url.php</a></p>
<p><code>  public static string get_post_response(string page_url, string page_params) {<br />
            &nbsp;&nbsp;var request = (HttpWebRequest)HttpWebRequest.Create(page_url);<br />
            &nbsp;&nbsp;request.CookieContainer = new CookieContainer();<br />
            &nbsp;&nbsp;request.CookieContainer.Add(session);<br />
            &nbsp;&nbsp;request.ContentType = "application/x-www-form-urlencoded";<br />
            &nbsp;&nbsp;request.Method = "POST";<br />
            &nbsp;&nbsp;byte[] bytes = Encoding.ASCII.GetBytes(page_params);<br />
            &nbsp;&nbsp;request.ContentLength = bytes.Length;<br />
            &nbsp;&nbsp;using (Stream os = request.GetRequestStream()) {<br />
            &nbsp;&nbsp;&nbsp;&nbsp;    os.Write(bytes, 0, bytes.Length);<br />
            &nbsp;&nbsp;}</p>
<p>            &nbsp;&nbsp;var resp = request.GetResponse();</p>
<p>            &nbsp;&nbsp;CookieContainer cookieJar = new CookieContainer();</p>
<p>            &nbsp;&nbsp;session = cookieJar.GetCookies(request.RequestUri);</p>
<p>            &nbsp;&nbsp;Stream respStream = resp.GetResponseStream();</p>
<p>            &nbsp;&nbsp;byte[] buffer = new byte[1024];<br />
            &nbsp;&nbsp;string text = "";</p>
<p>            &nbsp;&nbsp;while (Convert.ToBoolean(respStream.Read(buffer, 0, buffer.Length)))<br />
&nbsp;&nbsp;&nbsp;&nbsp; text += Encoding.ASCII.GetString(buffer).Trim('\0');</p>
<p>            &nbsp;&nbsp;return text;<br />
        }</code></p>
<p>Enjoy!</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=65" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=65</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Say thank you to our troops!</title>
		<link>http://blog.mphwebsystems.com/?p=61</link>
		<comments>http://blog.mphwebsystems.com/?p=61#comments</comments>
		<pubDate>Thu, 10 Dec 2009 06:10:03 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[troops usa freedom thank you]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=61</guid>
		<description><![CDATA[Share on Facebook]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" data="http://widgets.clearspring.com/o/47d6d01110aa5765/4b20908d79abf3cf/47e40f34c586245f/19eeefc3" id="W47d6d01110aa57654b20908d79abf3cf" width="307" height="361"><param name="movie" value="http://widgets.clearspring.com/o/47d6d01110aa5765/4b20908d79abf3cf/47e40f34c586245f/19eeefc3" /><param name="wmode" value="transparent" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /></object></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=61" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=61</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Adobe Flash 10 on Slackware 13 for Firefox</title>
		<link>http://blog.mphwebsystems.com/?p=56</link>
		<comments>http://blog.mphwebsystems.com/?p=56#comments</comments>
		<pubDate>Mon, 07 Dec 2009 06:19:22 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[adobe flash]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=56</guid>
		<description><![CDATA[The installation of adobe flash on Slackware is quite a simple process actually. It requires 4 steps. First, open a terminal then type su to get a root shell. Next run the following command to get the latest version of adobe flash 10 from adobe. root@paulhenry-laptop:~# wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz Next uncompress the file you just downloaded. [...]]]></description>
			<content:encoded><![CDATA[<p>The installation of adobe flash on Slackware is quite a simple process actually. It requires 4 steps.</p>
<p>First, open a terminal then type su to get a root shell.</p>
<p>Next run the following command to get the latest version of adobe flash 10 from adobe.<br />
<code>root@paulhenry-laptop:~# wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz<br />
</code></p>
<p>Next uncompress the file you just downloaded.<br />
<code>root@paulhenry-laptop:~# tar -zxvf install_flash_player_10_linux.tar.gz</code></p>
<p>Then simply copy the uncompressed library file to the /plugins directory of firefox.<br />
<code>root@paulhenry-laptop:~# cp libflashplayer.so /usr/lib/firefox/plugins/</code></p>
<p>Restart (or start) firefox and look in Tools->Addons->Plugins and Shockwave flash should be installed!</p>
<p>Feel free to email me at <a href="mailto:paulhenry@mphwebsystems.com">paulhenry@mphwebsystems.com</a> if you have any problems.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=56" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=56</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New forums!</title>
		<link>http://blog.mphwebsystems.com/?p=43</link>
		<comments>http://blog.mphwebsystems.com/?p=43#comments</comments>
		<pubDate>Wed, 12 Aug 2009 20:23:26 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=43</guid>
		<description><![CDATA[Check out our new forms! Feel free to join up and post! http://forums.mphwebsystems.com/ Also check out our project management suite: http://project.mphwebsystems.com/ If you would like an account on the project management suite, please email me at paulhenry@mhpwebsystems.com Share on Facebook]]></description>
			<content:encoded><![CDATA[<p>Check out our new forms! Feel free to join up and post!</p>
<p><a href="http://forums.mphwebsystems.com/">http://forums.mphwebsystems.com/</a></p>
<p>Also check out our project management suite: <a href="http://project.mphwebsystems.com/">http://project.mphwebsystems.com/</a></p>
<p>If you would like an account on the project management suite, please email me at <a href="mailto::paulhenry@mphwebsystems.com">paulhenry@mhpwebsystems.com</a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=43" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scoring?</title>
		<link>http://blog.mphwebsystems.com/?p=40</link>
		<comments>http://blog.mphwebsystems.com/?p=40#comments</comments>
		<pubDate>Wed, 12 Aug 2009 00:14:09 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Competition Mangement System]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=40</guid>
		<description><![CDATA[Alright, so one of the major things that CMS will accomplish is the automatic scoring of a registered competition. How will CMS do this? First of all, we can lay down some basic rules on how we get the total score for each team. First: A team&#8217;s total score is the sum of all rounds [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, so one of the major things that CMS will accomplish is the automatic scoring of a registered competition. How will CMS do this?</p>
<p>First of all, we can lay down some basic rules on how we get the total score for each team.</p>
<p>First: A team&#8217;s total score is the sum of all rounds by that team. This tells us that for each team, their competition score is the sum of the total score for all rounds played by that team.</p>
<p>Second: A round has one or more actions.</p>
<p>Third: Every competition has a registered number of actions per round.</p>
<p>Fourth: Each action contributes to each round&#8217;s total score.</p>
<p>All we really need to do to find out scores is just to define actions, and those actions will make up rounds, and those rounds will make up a team&#8217;s score.</p>
<p>Now we just need to lay down some rules about how special cases, like ties are handled. I am thinking an additional round will be added. Anything you all would suggest?</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=40" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=40</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Main Website design</title>
		<link>http://blog.mphwebsystems.com/?p=35</link>
		<comments>http://blog.mphwebsystems.com/?p=35#comments</comments>
		<pubDate>Sat, 25 Jul 2009 17:00:59 +0000</pubDate>
		<dc:creator>paulhenry</dc:creator>
				<category><![CDATA[Updates]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[developement]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://blog.mphwebsystems.com/?p=35</guid>
		<description><![CDATA[Alight, so over the past few weeks, I have been monitoring the bandwidth usage for both blog.mphwebsystems.com and the main site, mphwebsystems.com and noticed one very interesting thing. There have been approximately 1,100 hits on the main site, and there have been 3,000 hits on the blog. Now, the really interesting part is the bandwidth [...]]]></description>
			<content:encoded><![CDATA[<p>Alight, so over the past few weeks, I have been monitoring the bandwidth usage for both <a href="http://blog.mphwebsystems.com/">blog.mphwebsystems.com</a> and the main site, <a href="http://mphwebsystems.com">mphwebsystems.com</a> and noticed one very interesting thing. There have been approximately 1,100 hits on the main site, and there have been 3,000 hits on the blog.  Now, the really interesting part is the bandwidth used by both. The main site, with 1,100 hits, used 13 MB. The blog, with 3,000 hits, used 10 MB. The theme I have used for the main site is extremely heavy, with 1600 lines of CSS, and about 20 images. The theme used for the blog is very very light and simple, thus the lower bandwidth usage. Now what this shows, is that it really makes a big difference how your website is designed. </p>
<p>Because of this difference, I went ahead and decided to redesign the main site. The new design has 3 images, and 251 lines of CSS, much lighter and simpler. I think the hardest part of web development is finding the balance between size and &#8220;shinyness&#8221;.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.mphwebsystems.com/?p=35" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mphwebsystems.com/?feed=rss2&amp;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
