<?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>The Scott Preston Blog &#187; Computing</title>
	<atom:link href="http://www.scottpreston.com/articles/category/computing/feed" rel="self" type="application/rss+xml" />
	<link>http://www.scottpreston.com</link>
	<description>Rambles about computing and other things in Columbus, Ohio.</description>
	<lastBuildDate>Tue, 31 Aug 2010 18:03:09 +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>MacBook &#8211; Part 2</title>
		<link>http://www.scottpreston.com/articles/1119.php</link>
		<comments>http://www.scottpreston.com/articles/1119.php#comments</comments>
		<pubDate>Tue, 31 Aug 2010 18:03:09 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1119</guid>
		<description><![CDATA[I knew I wasn&#8217;t going to be happy with my 17&#8243; MacBook Pro, so I went online and purchased a 15&#8243; antiglare refurbished one. The problem was that I needed it before I was going to return my 17&#8243; to MicroCenter, so that I could transfer everything over. But then this happened. MBP was placed [...]]]></description>
			<content:encoded><![CDATA[<p>I knew I wasn&#8217;t going to be happy with my 17&#8243; MacBook Pro, so I went online and purchased a 15&#8243; antiglare refurbished one. The problem was that I needed it before I was going to return my 17&#8243; to MicroCenter, so that I could transfer everything over. But then this happened.</p>
<ol>
<li>MBP was placed on hold, for no reason. I got no phone call, no notification whatsoever, so my next day shipment never arrived so I called to find out what was up.</li>
<li>I was transferred to voice mail.</li>
<li>I was hung-up on, twice.</li>
</ol>
<p>I decided to just cancel the order and not to get another MacBook. Lenovo Anyone???</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1119.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Dell e6400 Woes</title>
		<link>http://www.scottpreston.com/articles/1115.php</link>
		<comments>http://www.scottpreston.com/articles/1115.php#comments</comments>
		<pubDate>Tue, 31 Aug 2010 17:59:33 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1115</guid>
		<description><![CDATA[About 8 months ago I started having problems with my e6400. The problem was with the video display. Had bad colors, bad response to drivers and intermittent Blue Screens. So I sent it to the Depot to get fixed, the video worked out but then I started having other strange problems. I did not work [...]]]></description>
			<content:encoded><![CDATA[<p>About 8 months ago I started having problems with my e6400. The problem was with the video display. Had bad colors, bad response to drivers and intermittent Blue Screens. So I sent it to the Depot to get fixed, the video worked out but then I started having other strange problems. I did not work on it much for the past 6 months but when I tried to switch from Desktop to Laptop w/dock here&#8217;s what happened.</p>
<ol>
<li>Machine Locked up with external mouse/keyboard.</li>
<li>DVI Display started blinking on dock.</li>
<li>Memory Failure</li>
</ol>
<p>After the memory failure I took off the back cover to discover my 800MHZ DDR2 memory had been replaced with two different generic knock-off memory chips. Yes, I sent them good memory, they kept it for themselves and gave me 667Mhz crap memory in exchange.</p>
<p>So I sent it to Dell again to get repaired, let&#8217;s see what I get in exchange.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1115.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switched Back to PC</title>
		<link>http://www.scottpreston.com/articles/1113.php</link>
		<comments>http://www.scottpreston.com/articles/1113.php#comments</comments>
		<pubDate>Tue, 31 Aug 2010 17:55:08 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1113</guid>
		<description><![CDATA[I had the MacBook Pro for about 5 days total before I returned it. Here&#8217;s the reasons: 17&#8243; was too big. It was awkward and a little heavy. The Glossy Screen. I did not like the glossy laptop screen, Anti-Glare/Matte is the way to go. UI/Metaphor. Not so much here. I could get use to [...]]]></description>
			<content:encoded><![CDATA[<p>I had the MacBook Pro for about 5 days total before I returned it. Here&#8217;s the reasons:</p>
<ol>
<li>17&#8243; was too big. It was awkward and a little heavy.</li>
<li>The Glossy Screen. I did not like the glossy laptop screen, Anti-Glare/Matte is the way to go.</li>
<li>UI/Metaphor. Not so much here. I could get use to it, but I did not like the way Office looked on it.</li>
<li>VMWare Impossible w/4GB of Ram. I actually had the computer lock up once and I got locks/swirling wheel of death a few times while trying to run my VMs under VMWare Fusion 3.01.</li>
</ol>
<p>I&#8217;ll get another PC, just not a Dell, see in my next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1113.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Made The Switch to Mac</title>
		<link>http://www.scottpreston.com/articles/1111.php</link>
		<comments>http://www.scottpreston.com/articles/1111.php#comments</comments>
		<pubDate>Mon, 23 Aug 2010 02:57:22 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1111</guid>
		<description><![CDATA[This morning I was all excited about installing new software on my new PC set-up and while installing / downloading something from iTunes, CRASH! The memory on my Dell e6400 stopped responding and just crashed. The Dell would not boot, it would not do anything. I was not certain as to what I was going [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I was all excited about installing new software on my new PC set-up and while installing / downloading something from iTunes, CRASH! The memory on my Dell e6400 stopped responding and just crashed. The Dell would not boot, it would not do anything.</p>
<p>I was not certain as to what I was going to do but I had to travel a little today to go see family and during the trip I just decided how exasperated I was in dealing with this issue, I did not know it, but when I walked into MicroCenter, I walked straight to the Apple section and looked at a few of the Mac Book Pros. The one I saw which really caught my eye was a 17&#8243; model from earlier this year, it&#8217;s got the Core 2 Duo, not the i5 or i7, but for a rock bottom price of just $400 more than another crappy Dell, I decided then and there to walk out with it and stop fighting my PC/Dell.</p>
<p>I still have my PC for games and some development, but things are changing&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1111.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop Retirement</title>
		<link>http://www.scottpreston.com/articles/1106.php</link>
		<comments>http://www.scottpreston.com/articles/1106.php#comments</comments>
		<pubDate>Sun, 22 Aug 2010 03:07:06 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1106</guid>
		<description><![CDATA[I&#8217;ve gotten to the point where having a desktop in my home office is not as practical as it once was. A few things have made me switch to laptop + a monitor. SSD Drives &#8211; This has made the performance of my laptop just as fast as my desktop (gaming withstanding). I&#8217;ve purchased my 2nd OCZ [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gotten to the point where having a desktop in my home office is not as practical as it once was. A few things have made me switch to laptop + a monitor.</p>
<ol>
<li>SSD Drives &#8211; This has made the performance of my laptop just as fast as my desktop (gaming withstanding). I&#8217;ve purchased my 2nd OCZ Agility 2 60GB Drive.</li>
<li>Cable Madness &#8211; While I still have a few cables at my desk there&#8217;s none on the floor.</li>
<li>Zero Power Cables On Floor &#8211; Since Lilu started crawling around it&#8217;s been increasingly difficult to keep here away from the desk.</li>
<li>3 Monitors &#8211; Not as useful as it once was. I am finding that I&#8217;m just moving everything over to my large monitor anyway and the extra monitors are more distractions than help.</li>
<li>More Room for my iMac &#8211; With the 3 monitors I had very little room for my Mac, since I&#8217;m doing iPhone development, having the extra desk space is nice, I can just hope over and do some work.</li>
<li>eSata &#8211; This allowed me to put a 1TB drive next to my laptop and store all the goodies I needed.</li>
<li>Less Clutter / Distraction &#8211; This simple system is allowing me to be a little more organize and when I take the laptop with me, I&#8217;ve got my work with me for the most part. Though I might be finding myself moving to a portable 1TB drive in a month or two based on convenience and portability.</li>
</ol>
<p>Big thanks to <a href="http://www.microcenter.com">MicroCenter </a>for helping me out.</p>
<p>Some of the issues I&#8217;ve had:</p>
<ol>
<li>eSata Eclosure/Dock &#8211; MicroCenter (Trip 1) The first one was labeled in correctly (Thanks China) and it was USB2.0. MicroCenter (Trip 2), after returning this I found an older enclosure, but without an eSata cable, so I returned the USB2.o one, and purchased a cable, up installation the SATA connector to the HDD broke. MicroCenter (Trip 3), after returning the cable, I decided to get a dual eSata Dock, but there was a small piece of paper saying that your computer must have a &#8220;port multiplier&#8221;, my Dell e6400 does not have one, so back to MicroCenter. MicroCenter (Trip 4), after returning the dual eSata Dock, I just got a single eSata Dock. Success!!!</li>
<li>Old PC refused to boot. It hung on an automatic update and never turn off, so I killed it, and no reboot. So I had to copy everything over manually&#8230;</li>
<li>Old 1TB Drive did not work in new eSata Dock, WTF!!! So I had top copy over via my Ethernet while it was in a USB2.0 dock&#8230; Going on now and through the night.</li>
<li>24&#8243; Monitor DVI blinks on my e6400. I&#8217;ve narrowed this down to either a crappy monitor, or my e6400 can not drive 1920&#215;1200, fortunately I have a 1920&#215;1080 that seems to be working OK on the DVI port.</li>
</ol>
<p>In conclusion it&#8217;s been a long day, about 14 hours in all, minus about 3 hours playing with Lilu. I&#8217;m glad it&#8217;s done and I hope there are no surprises tomorrow!</p>
<p>8/22 Update &#8211; Two More Reasons</p>
<ol>
<li>Power &#8211; My old PC and 3 Monitors used on average about 260 Watts, this laptop and single monitor uses about 100 Watts. The cost savings is around $12/month.</li>
<li>Noise &#8211; I am surprised at how frigging quiet my office is. Even with an insulated case the lack of hum is really noticeable.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1106.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StarCraft 2 Install Error &#8211; Solved</title>
		<link>http://www.scottpreston.com/articles/1085.php</link>
		<comments>http://www.scottpreston.com/articles/1085.php#comments</comments>
		<pubDate>Wed, 28 Jul 2010 03:00:19 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1085</guid>
		<description><![CDATA[I just purchased StartCraft2 and started to install it only to get this error: &#8220;The file &#8220;&#38;^%$*\StarCraft II&#8221; could not be found. If this problem persists, please contact Blizzard Technical Support. (IsAbsolutePath/path is not absolute)&#8221; Updated Fix: Open Command Prompt As Administrator Enter: &#62;net user administrator /active:yes Start &#62; Switch User You can now login [...]]]></description>
			<content:encoded><![CDATA[<p>I just purchased StartCraft2 and started to install it only to get this error:</p>
<p>&#8220;The file &#8220;&amp;^%$*\StarCraft II&#8221; could not be found. If this problem persists, please contact Blizzard Technical Support. (IsAbsolutePath/path is not absolute)&#8221;</p>
<p><img title="StarCraft2 Failure" src="/images/starcraft2_fail.png" alt="StarCraft2 Failure" width="510" height="298" /></p>
<p>Updated Fix:</p>
<ol>
<li>Open Command Prompt As Administrator</li>
<li>Enter: &gt;net user administrator /active:yes</li>
<li>Start &gt; Switch User</li>
<li>You can now login as administrator</li>
<li>Run install from this account normally</li>
<li>Logout as administrator</li>
<li>Login to your normal account</li>
<li>Go back to the command prompt and enter: &gt;net user administrator /active:no</li>
<li>Play your game!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1085.php/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Creating Your Own PHP Framework?</title>
		<link>http://www.scottpreston.com/articles/1074.php</link>
		<comments>http://www.scottpreston.com/articles/1074.php#comments</comments>
		<pubDate>Mon, 12 Jul 2010 04:08:06 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1074</guid>
		<description><![CDATA[I spent the past few days fighting over the following battle, do I either use an existing PHP Framework or Build One. I&#8217;ve currently been using my Model 1.5 Framework (ScottWork) for sometime, but have been using CodeIgniter on a few client projects and dabbling with some of the leading PHP Frameworks like Zend, Symfony, [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the past few days fighting over the following battle, do I either use an existing PHP Framework or Build One.</p>
<p>I&#8217;ve currently been using my Model 1.5 Framework (ScottWork) for sometime, but have been using CodeIgniter on a few client projects and dabbling with some of the leading PHP Frameworks like Zend, Symfony, DooPHP, Yii and CakePHP.</p>
<p>All of this MVC stuff of course got me thinking, what if I want to get other developers to code for me? What if I want to get other developers to maintain my apps/code? What if&#8230;?</p>
<p>So I write my own MVC framework here&#8217;s a summary if it&#8217;s main components:</p>
<ul>
<li><strong>mod_rewrite and routing of request</strong> &#8211; This is basically the nice thing like removing ? and &amp; from your URL so it looks pretty AND automatic routing of URLs to controllers-&gt;methods().</li>
<li><strong>Controllers </strong>- This is basically taking your request, and channeling it into some OO paradigm that allows you to &#8220;act&#8221; on your request in an object oriented way, then route your way to a &#8220;view&#8221;. It also contains all your logic and calls to your Model.</li>
<li><strong>Models </strong>- This allows you to talk to a database and controls your interaction with that database.</li>
<li><strong>Views </strong>- This presents your data combined/calculated/manipulated/read or otherwise transacted in your Controller.</li>
<li><strong>Helpers </strong>- This is a bunch of pre-built functionality designed to make the framework easier to use and code less.</li>
</ul>
<p>Here&#8217;s my opinion of those main components after comparing them to my Model 1.5 framework (scottwork).</p>
<ul>
<li><strong>mod_rewrite and routing of request</strong> &#8211; I see a lot of uses for mod_rewrite but the routing of request to some kind of controller/object oriented thingy is really a waste of time. Why have one huge controller with a bunch of methods in it, when you can just write a simple script designed to process the input of a page? It&#8217;s small, modular which means easy to maintain, there&#8217;s no object to create, or routes to manage. The easiest thing about not using some kind of route manager is that you can create a new page that reads data, by just adding the page, no controller/route/setting data to be read by the page later, it&#8217;s all right there, one php page. <strong><em>Vertict: mod_rewrite <span style="color: #339966;">(yes)</span>, routing <span style="color: #ff0000;">(no)</span>.</em></strong></li>
<li><strong>Controllers </strong>- You don&#8217;t need an object to call other pages, most frameworks just use the good-old include() statement, or they wrap it inside some output buffering, but essentially it&#8217;s an include. What I do in my framework &#8220;scottwork&#8221; is to create a processing page (it does not have any HTML) which is essentially the same contents of a controller method, but it&#8217;s in one file that&#8217;s only job is to process the data from the one page. <em><strong>Vertict: controllers<span style="color: #ff0000;"> (no)</span></strong></em></li>
<li><strong>Models </strong>- I use ADODB and a generated model based on that library. The model is good-old-fashion prepared statements with CRUD operations and basic validation to so that you can insert/update/delete and read-by certain fields. I extends the generated file with a child DAO that allows me to override CRUD operations or do new operations specific to my app. <em><strong>Vertict: models <span style="color: #339966;">(yes)</span></strong></em></li>
<li><strong>Views </strong>- This is completely ridiculous in MVC, the bindings and coupling between Controllers and Views is much worse than just having separate files with single methods. Plus for read-only pages, you just need to create your view, no controller-&gt;render_view() non-sense. <em><strong>Vertict: views <span style="color: #ff0000;">(no)</span></strong></em></li>
<li><strong>Helpers </strong>- This is a bunch of pre-built functionality  designed to make the framework easier to use and code less. <em><strong>Vertict: helpers <span style="color: #339966;">(yes)</span></strong></em></li>
</ul>
<h4>In Summary:</h4>
<p>You could use a framework or spend time writing your own MVC framework as I have done. Some people like OO, some people like the order/structure a framework provides. Personally I don&#8217;t like spending lots of time coding, so I generate most of my stuff. I also don&#8217;t like spending time figuring out a framework&#8217;s shortcomings or finding bugs in a framework. I believe in writing small testable, programs/scripts (web pages) that do one thing and do them well.</p>
<p>Some interesting reading:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Second-system_effect">Second System Effect</a> &#8211; The tendency to take something small and elegant, and make an elephant out of it.</li>
<li><a href="http://en.wikipedia.org/wiki/Unix_philosophy">Unix Philosophy</a> &#8211; Write programs that do one thing, and do it well.</li>
<li><a href="http://www.nealford.com">Neal Ford</a> &#8211; Essence vs. Ceremony Talk (no link to presentation)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1074.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox, Chrome, Safari and Cookies</title>
		<link>http://www.scottpreston.com/articles/1065.php</link>
		<comments>http://www.scottpreston.com/articles/1065.php#comments</comments>
		<pubDate>Mon, 07 Jun 2010 13:00:18 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1065</guid>
		<description><![CDATA[I had an issue recently where session cookies were not being set in Chrome and Safari but they were fine in Firefox. It turned out to be the time on the server was off. It seems that Firefox does not obey the same cookie setting rules as Chrome and Safari. I just thought I would [...]]]></description>
			<content:encoded><![CDATA[<p>I had an issue recently where session cookies were not being set in Chrome and Safari but they were fine in Firefox. It turned out to be the time on the server was off. It seems that Firefox does not obey the same cookie setting rules as Chrome and Safari.</p>
<p>I just thought I would mention this so that if anyone else was searching on cookies not being set in Chrome or Safari, they could get this post and verify the time on their server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1065.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome vs. Firefox</title>
		<link>http://www.scottpreston.com/articles/1052.php</link>
		<comments>http://www.scottpreston.com/articles/1052.php#comments</comments>
		<pubDate>Fri, 07 May 2010 19:32:10 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1052</guid>
		<description><![CDATA[I decided top stop using Firefox for my Gmail and other Google Apps yesterday. I&#8217;ve instead started using Chrome for those apps. I&#8217;ve already noticed a huge difference in memory utilization by Firefox, it&#8217;s ran the entire day and is still under 200MB. Chrome&#8217;s instance of Gmail is only about 100MB. Usually by this time, [...]]]></description>
			<content:encoded><![CDATA[<p>I decided top stop using Firefox for my Gmail and other Google Apps yesterday. I&#8217;ve instead started using Chrome for those apps. I&#8217;ve already noticed a huge difference in memory utilization by Firefox, it&#8217;s ran the entire day and is still under 200MB. Chrome&#8217;s instance of Gmail is only about 100MB. Usually by this time, I would have had to restart Firefox because it&#8217;s memory is over 1.2GB.</p>
<p>Who&#8217;s fault, Google or Firefox?</p>
<p>I think this is Google&#8217;s way of increasing market share on it&#8217;s browser, Chrome. I think that they&#8217;ve taken advantage by coding a leak that Chrome ignores, or has a way to circumvent. Personally I don&#8217;t care which browser I use, but it makes you wonder that if Facebook creates it&#8217;s own browser&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1052.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>State Of IT 2010</title>
		<link>http://www.scottpreston.com/articles/1044.php</link>
		<comments>http://www.scottpreston.com/articles/1044.php#comments</comments>
		<pubDate>Wed, 28 Apr 2010 00:56:50 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1044</guid>
		<description><![CDATA[I’ve noticed over the past year the computer book section at just about every Barnes &#38; Noble book store, is getting smaller and smaller. The once thriving programming language section is a mere 3 book cases when a few years ago it was an entire row of 10. Now there’s an entire shelf on digital [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve noticed over the past year the computer book section at just about every Barnes &amp; Noble book store, is getting smaller and smaller. The once thriving programming language section is a mere 3 book cases when a few years ago it was an entire row of 10. Now there’s an entire shelf on digital cameras another on PhotoShop something, and just a little of everything else. Ruby consist of one-third of a shelf, Java one and a half shelves.</p>
<p>Why aren’t people programming? Are they buying everything on-line? No, when you look at the Amazon rank of programming books, the top one is Objective-C at 1,125, the 2<sup>nd</sup> book, CSS Missing Manual, is 2,187.</p>
<p>Something strange is going on, I don’t know what…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1044.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
