<?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>Internet is a Good Word &#187; Tutorials</title>
	<atom:link href="http://www.jasonhdavis.com/blog/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonhdavis.com/blog</link>
	<description>by Jason H. Davis</description>
	<lastBuildDate>Mon, 31 May 2010 13:56:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple Django Setup on Mac OS X</title>
		<link>http://www.jasonhdavis.com/blog/2010/05/simple-django-setup-on-mac-os-x/</link>
		<comments>http://www.jasonhdavis.com/blog/2010/05/simple-django-setup-on-mac-os-x/#comments</comments>
		<pubDate>Tue, 25 May 2010 03:16:42 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.jasonhdavis.com/blog/?p=461</guid>
		<description><![CDATA[I&#8217;ve been getting into some JQuery lately and will be posting some slideshow code I&#8217;ve built. First, though – learning Python and Django has been something new to play with for the past few days. I ran into a problem getting Django to work with a database. The rest was pretty straight-forward, so if you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been getting into some JQuery lately and will be posting some slideshow code I&#8217;ve built. First, though – learning Python and Django has been something new to play with for the past few days. I ran into a problem getting Django to work with a database. The rest was pretty straight-forward, so if you&#8217;re looking to get Python updated and Django installed, check out this article: <a href="http://docs.djangoproject.com/en/dev/topics/install/#installing-official-release">Install Django Official Release</a></p>
<h2>MySQL vs SQLite3</h2>
<p>I first tried MySQL because I am fairly familiar with it and it is pretty ubiquitous, but while MySQL appears simple to install at first, I ran into a few crazy errors:</p>
<ul>
<li>ERROR 1133 (42000): Can&#8217;t find any matching row in the  user table</li>
<li>django.core.exceptions.ImproperlyConfigured: Error  loading MySQLdb module: No module named MySQLdb</li>
<li>error: command &#8216;gcc-4.2&#8242; failed with exit status 1</li>
</ul>
<p>The first was solved by connecting to MySQL as &#8216;root&#8217;@'localhost&#8217; – ok, great.</p>
<p>The second appears that for some reason Python in OS X does not include the module for MySQL. – Uhhh, well, <a href="http://www.mangoorange.com/2008/08/01/installing-python-mysqldb-122-on-mac-os-x/">there was this resource to install it</a>.</p>
<p>Finally, I had gcc (a C compiler) installed with XCode, it was version 4.2.1, but my only explanation was it wasn&#8217;t working because <strong>it was the 64bit version and I have a 32bit Macbook.</strong></p>
<p>Ok, ok ok. That&#8217;s 4 hours down the drain.</p>
<p>Let&#8217;s try SQLite3: <a href="http://aralbalkan.com/1252">This article was helpful for this part</a>.</p>
<ol>
<li>Open Terminal and see that SQLite3 comes installed</li>
<li>$ sqlite3</li>
<li>If yes, then (why did we mess with MySQL?)</li>
<li>.exit (that&#8217;s dot exit to quit back to terminal)</li>
<li>cd /your/django/project/ (or near it)</li>
<li>$ sqlite3 mydatabase.db; (don&#8217;t forget the semi-colon)</li>
<li>.databases (to verify creation and path)</li>
<li>In your project&#8217;s settings.py, use &#8216;django.db.backends.sqlite3&#8242; and &#8216;/your/django/project/mydatabase.db&#8217;</li>
<li>Run python manage.py syncdb</li>
<li>Success!</li>
</ol>
<p>If you found this helpful, please visit a sponsor and get me some of that google money. Also, check out this book for learning Django – I&#8217;m using it now and can recommend it:<a href="http://www.amazon.com/gp/product/067232959X?ie=UTF8&amp;tag=jasdavima-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=067232959X"> Sams Teach Yourself Django in 24 Hours</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonhdavis.com/blog/2010/05/simple-django-setup-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Drive backup with Time Machine (Backup to NTFS / Windows XP and Vista)</title>
		<link>http://www.jasonhdavis.com/blog/2008/08/network-drive-backup-with-time-machine-backup-to-ntfs-windows-xp-and-vista/</link>
		<comments>http://www.jasonhdavis.com/blog/2008/08/network-drive-backup-with-time-machine-backup-to-ntfs-windows-xp-and-vista/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 22:19:38 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Network backup]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[Time Machine]]></category>

		<guid isPermaLink="false">http://www.jasonhdavis.com/blog/?p=295</guid>
		<description><![CDATA[I wrestled with this all day long. Hopefully this post will help people in my position.
Setup: I have a Windows Desktop and a Mac Laptop. There is plenty of space on the desktop so I do not own an external hard drive. I want to backup my laptop wirelessly using Time machine to a remote [...]]]></description>
			<content:encoded><![CDATA[<p>I wrestled with this all day long. Hopefully this post will help people in my position.</p>
<p><strong>Setup</strong>: I have a Windows Desktop and a Mac Laptop. There is plenty of space on the desktop so I do not own an external hard drive. I want to backup my laptop wirelessly using Time machine to a remote drive on my XP machine.</p>
<p><strong>What I thought</strong>: I would need to have a separate partition formated HFS+ to use Time Machine. Most of the day was spent finding out that HFS+ and NTFS (Window&#8217;s File System) can not exist on the same drive. Don&#8217;t ask me why.</p>
<p><strong>Why I thought this</strong>: Previously, when attempting to backup to a network drive, Time Machine gave me &#8220;The Backup Disk Image could not be mounted.&#8221; I automatically assumed Time Machine could not write to Windows.</p>
<p><strong>Why I was wrong</strong>: Time Machine creates a &#8220;.Sparcebundle&#8221; and saves files there. Apparently this can be saved on NTFS. The problem I had was creating this Sparce bundle in the first place.</p>
<p><strong>My Solution</strong>: Thanks to <a title="Time Machine possible problems" href="http://www.flokru.org/2008/03/15/time-machine-backups-on-network-shares-2-possible-problems/">this site</a> I was able to solve the issue. Here&#8217;s what I did.</p>
<ol>
<li>Select the location for the remote backup. I chose the partition I created TimeMachine (T:).</li>
<li>If you have not enabled &#8220;Unsupported Network Volumes,&#8221; follow <a title="Allow Time Machine to see Networked Drives" href="http://blog.imulus.com/george/software/using-leopard-time-machine-to-backup-of-a-network/">this tutorial</a>.</li>
<li><a title="How to mount a shared folder in OS X" href="http://lifehacker.com/software/mac-os-x/how-to-mount-a-windows-shared-folder-on-your-mac-247148.php">Mount your network drive</a> and select it in Time Machine.</li>
<li>Start Time Machine (Menu button &gt; Backup Now) and watch your remote location.</li>
<li>A file is created with the structure ComputerName_MACAddress.tmp.sparcebundle. Copy this file name.</li>
<li>On your Mac, open Disk Utility. Click &#8220;New Image.&#8221; Use the following settings:</li>
<li>Save As ComputerName_MACAddress</li>
<li>Volume name can be whatever you want.<br />
***EDIT: Custom volume size must be the last value set***</li>
<li>Change partition to &#8220;No Partition Map&#8221;</li>
<li>Change Image Format to &#8220;Sparce Bundle Disk Image&#8221;</li>
<li>Custom Volume size. Set the maximum you want to use on your remote location. Don&#8217;t worry if you don&#8217;t have the room on your Mac.</li>
<li>Save. Move this file to your remote location.</li>
<li>Tell Time Machine to backup again and it should be working.</li>
</ol>
<p>Good luck! If you found this article helpful, visit my sponsors.</p>
<p>Hopefully the rest of my computer upgrade won&#8217;t warrant a blog post!</p>
<p><strong>Long overdue edit</strong>: Thanks to everyone who has commented! It&#8217;s so great this article is being found and is helpful. If you&#8217;re trying to get this to work, there are some very helpful comments. In particular, Chris points out these three points:</p>
<ol>
<li>The MAC address has to be the ETHERNET adapter’s MAC Address and  “not” the Airport’s MAC address.</li>
<li>The final file you copy will be in this format:  ComputerName_MACAddress.sparcebundle</li>
<li>.sparcebundle is added to the file name by the Disk Utility,  not you and does not need to be removed.”</li>
</ol>
<p>Also, my desktop computer has been busted for over a year now. I&#8217;ve been running for luck not backing up my macbook and using it as my one and only computer. Sorry I didn&#8217;t do my job in keeping up with this post.</p>
<p>Thanks for reading and good luck!</p>
<p>Jason</p>
<p>ps: If you found this helpful, please visit a sponsor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonhdavis.com/blog/2008/08/network-drive-backup-with-time-machine-backup-to-ntfs-windows-xp-and-vista/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>one infinite loop</title>
		<link>http://www.jasonhdavis.com/blog/2008/04/one-infinite-loop/</link>
		<comments>http://www.jasonhdavis.com/blog/2008/04/one-infinite-loop/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 13:26:41 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[spaces]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.jasonhdavis.com/blog/index.php?/archives/59-guid.html</guid>
		<description><![CDATA[I finished and posted the video. You can see it on Vimeo. There will be a proper post later tonight.
one infinite loop on Vimeo
Jason
]]></description>
			<content:encoded><![CDATA[<p>I finished and posted the video. You can see it on Vimeo. There will be a proper post later tonight.</p>
<p><a href="http://www.vimeo.com/904258">one infinite loop on Vimeo</a></p>
<p>Jason</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonhdavis.com/blog/2008/04/one-infinite-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
