<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ginn with a Twist...</title>
	<atom:link href="http://blog.jeremyginn.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeremyginn.info</link>
	<description>The online journal of Jeremy Ginn</description>
	<lastBuildDate>Fri, 13 Aug 2010 10:34:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.jeremyginn.info' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c0795fcc59bf35add8caa83e8cd9da4b?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ginn with a Twist...</title>
		<link>http://blog.jeremyginn.info</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.jeremyginn.info/osd.xml" title="Ginn with a Twist..." />
	<atom:link rel='hub' href='http://blog.jeremyginn.info/?pushpress=hub'/>
		<item>
		<title>The Samsung Jack</title>
		<link>http://blog.jeremyginn.info/2010/08/12/the-samsung-jack/</link>
		<comments>http://blog.jeremyginn.info/2010/08/12/the-samsung-jack/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 00:37:40 +0000</pubDate>
		<dc:creator>jginn</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.jeremyginn.info/?p=125</guid>
		<description><![CDATA[This week I traded in my iPhone 3G for a Samsung Jack. I&#8217;m trying to be a PC, as I&#8217;ve been exploring some development ideas for Windows Mobile 7. Accordingly, I figured I&#8217;d turn in the 3G for a Windows phone&#8230;I wasn&#8217;t sure what to expect, I mean, as far as smartphones go it&#8217;s pretty [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.jeremyginn.info&blog=9691332&post=125&subd=velvetmonkey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This week I traded in my iPhone 3G for a Samsung Jack. I&#8217;m <em>trying</em> to be a PC, as I&#8217;ve been exploring some development ideas for Windows Mobile 7. Accordingly, I figured I&#8217;d turn in the 3G for a Windows phone&#8230;I wasn&#8217;t sure what to expect, I mean, as far as smartphones go it&#8217;s pretty hard to top an iPhone&#8211;even the lowly 3G.</p>
<p>Strictly going by the specs, the Samsung Jack should out-perform the iPhone. The Jack boasts a 528 MHz processor, while the iPhone 3G has a 412 MHz processor. The Jack has double the memory at 256 RAM/256 ROM, the iPhone 128 MB. While, as expected, the Jack&#8217;s video and screen resolution trails the iPhone&#8217;s, the Jack&#8217;s camera is a 3.2 MP, the iPhone&#8217;s 2.0. Seeing the hardware differences, I was very anxious to get the Jack in my hands and give it a try.</p>
<p>After having the Jack for about a week, here are my thoughts:</p>
<ul>
<li>I miss the touchscreen. This is not a big deal on most tasks, as the Jack&#8217;s turbo-scroll does make menu navigation quick and easy. Where the touchscreen is missed the most is when browsing the internet, which brings me to my next thought&#8230;</li>
<li>I miss safari. I&#8217;m trying hard to stay behind Microsoft across the board, but I&#8217;m sorry, IE sucks, and the mobile version is not immune to this fact. The Jack&#8217;s browsing experience is sorely lacking, so much so that I have decided to downgrade my data plan with AT&amp;T.</li>
<li>To me, one of the most frustrating thing about the Windows phone is the nested menus. This is no problem, and even necessary on a PC, but it becomes a huge hassle on a phone. The ease with which a user can navigate options on the iPhone blows the Jack&#8217;s user experience out of the water.</li>
<li>The iPhone is still faster. Not much else to say here&#8230;</li>
<li>The iPhone still has a better camera</li>
<li>iTunes, App Store, iPod&#8230;what was I thinking?
</ul>
<p>Well, all is not lost. My wife is wanting a new phone in a few months&#8230;I&#8217;ll give her my Samsung Jack and get me an iPhone 4.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/velvetmonkey.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/velvetmonkey.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/velvetmonkey.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/velvetmonkey.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/velvetmonkey.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/velvetmonkey.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/velvetmonkey.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/velvetmonkey.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/velvetmonkey.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/velvetmonkey.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/velvetmonkey.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/velvetmonkey.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/velvetmonkey.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/velvetmonkey.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.jeremyginn.info&blog=9691332&post=125&subd=velvetmonkey&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.jeremyginn.info/2010/08/12/the-samsung-jack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c8383cc0efd84b824f88253bf3e6ea0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jginn</media:title>
		</media:content>
	</item>
		<item>
		<title>Two Thumbs Up for CodeIgniter&#8230;</title>
		<link>http://blog.jeremyginn.info/2010/04/01/why-im-liking-codeigniter/</link>
		<comments>http://blog.jeremyginn.info/2010/04/01/why-im-liking-codeigniter/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 23:07:02 +0000</pubDate>
		<dc:creator>jginn</dc:creator>
				<category><![CDATA[PHP Development]]></category>

		<guid isPermaLink="false">http://blog.jeremyginn.info/?p=86</guid>
		<description><![CDATA[I just finished up a project which introduced me to CodeIgniter. I&#8217;ve been looking for a PHP MVC framework to devote myself to anyway, so I welcomed this opportunity with open arms. After spending a few days building out an app with CodeIgniter, I have to say that I like what I see. Is CodeIgniter [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.jeremyginn.info&blog=9691332&post=86&subd=velvetmonkey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I just finished up a project which introduced me to CodeIgniter. I&#8217;ve been looking for a PHP MVC framework to devote myself to anyway, so I welcomed this opportunity with open arms. After spending a few days building out an app with CodeIgniter, I have to say that I like what I see. Is CodeIgniter a one-size-fits all solution for PHP development? Certainly not. But it is a great, general purpose framework that offers many benefits to increase and enhance the efficiency and productivity of your code. Here are the things that immediately jumped out at me when starting with CodeIgniter:</p>
<ul>
<li><em>EXTREMELY</em> well documented. Not only is the CodeIgniter website loaded with documentation, but the online community is full of very helpful blogs on many topics, and there are some good publications out there to help get you started with CodeIgniter</li>
<li>It was very easy to install. Unzip a folder and a few lines on a few config files, and you&#8217;re up and running. It is very simple to set up your database for your models, and the framework makes changing your data source a relatively painless task. It&#8217;s like programming to an interface without actually having to program to an interface.</li>
<li>For the functionality CodeIgniter provides, it is extremely lightweight.</li>
<li>OO, MVC, ActiveRecord, drastically decreases code to write, . . . </li>
<li>It&#8217;s Free.</li>
</ul>
<p>Needless to say, this is not the last project I will use with CodeIgniter. I&#8217;m definitely a fan.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/velvetmonkey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/velvetmonkey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/velvetmonkey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/velvetmonkey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/velvetmonkey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/velvetmonkey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/velvetmonkey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/velvetmonkey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/velvetmonkey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/velvetmonkey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/velvetmonkey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/velvetmonkey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/velvetmonkey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/velvetmonkey.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.jeremyginn.info&blog=9691332&post=86&subd=velvetmonkey&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.jeremyginn.info/2010/04/01/why-im-liking-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c8383cc0efd84b824f88253bf3e6ea0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jginn</media:title>
		</media:content>
	</item>
		<item>
		<title>Easily Restore your MySQL Database from PHP</title>
		<link>http://blog.jeremyginn.info/2010/02/25/easily-restore-your-mysql-database-from-php/</link>
		<comments>http://blog.jeremyginn.info/2010/02/25/easily-restore-your-mysql-database-from-php/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 14:54:02 +0000</pubDate>
		<dc:creator>jginn</dc:creator>
				<category><![CDATA[Database Development]]></category>
		<category><![CDATA[PHP Development]]></category>

		<guid isPermaLink="false">http://blog.jeremyginn.info/?p=80</guid>
		<description><![CDATA[This week I found myself needing to restore a MySQL database on a Windows server, the host of which left me no access to MySQL other than the ability to create a database and users. If you find yourself in the same boat, here is a PHP script I used to perform my restore: &#60;?php [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.jeremyginn.info&blog=9691332&post=80&subd=velvetmonkey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This week I found myself needing to restore a MySQL database on a Windows server, the host of which left me no access to MySQL other than the ability to create a database and users. If you find yourself in the same boat, here is a PHP script I used to perform my restore:</p>
<p><code><br />
&lt;?php</p>
<p>$myFile = &#039;backupFileName.sql&#039;;<br />
$myHost = &#039;hostName--usually localhost&#039;;<br />
$username = &#039;username&#039;;<br />
$myPass = &#039;password&#039;;<br />
$myDB = &#039;nameOfDb&#039;; </p>
<p>mysql_connect($myHost, $username, $myPass) or die(&#039;Back to the drawing board: &#039; . mysql_error());<br />
mysql_select_db($myDB) or die(&#039;Back to the drawing board: &#039; . mysql_error());</p>
<p>$sqlEntry = &#039;&#039;;<br />
$rawFileData = file($myFile);</p>
<p>foreach ($rawFileData as $entry)<br />
{<br />
	// strip out comments<br />
	if (substr($entry, 0, 2) == &#039;--&#039; || $entry == &#039;&#039;)<br />
		continue;</p>
<p> 	// add line to the sql statement<br />
	$sqlEntry .= $entry;</p>
<p>	// if line ends with semicolon then you know it completes the sql statement<br />
	// go ahead and execute the query and reset the sql variable<br />
	if (substr(trim($entry), -1, 1) == &#039;;&#039;)<br />
	{<br />
		mysql_query($sqlEntry) or print(&#039;Query did not execute properly: &#039;' . $sqlEntry . '': ' . mysql_error());<br />
		$sqlEntry = '';<br />
	}<br />
}</p>
<p>?&gt;<br />
</code><br />
Just change the values for the variables $myHost, $myFile, $username, $myPass, and $myDB and your set. If your backup file is not in the same folder as this script make sure you include at least the relative path in the value.<br />
Hope this helps! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/velvetmonkey.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/velvetmonkey.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/velvetmonkey.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/velvetmonkey.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/velvetmonkey.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/velvetmonkey.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/velvetmonkey.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/velvetmonkey.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/velvetmonkey.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/velvetmonkey.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/velvetmonkey.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/velvetmonkey.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/velvetmonkey.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/velvetmonkey.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.jeremyginn.info&blog=9691332&post=80&subd=velvetmonkey&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.jeremyginn.info/2010/02/25/easily-restore-your-mysql-database-from-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c8383cc0efd84b824f88253bf3e6ea0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jginn</media:title>
		</media:content>
	</item>
	</channel>
</rss>