<?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>DavidPierron.Com/Net/Org &#187; Web Development</title>
	<atom:link href="http://www.davidpierron.com/index.php/archives/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidpierron.com</link>
	<description>The life and times of a struggling artist...</description>
	<lastBuildDate>Wed, 12 Oct 2011 20:55:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Rails is off track without Ruby &#8230;</title>
		<link>http://www.davidpierron.com/index.php/archives/2010/08/21/386/</link>
		<comments>http://www.davidpierron.com/index.php/archives/2010/08/21/386/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 06:18:59 +0000</pubDate>
		<dc:creator>David Pierron</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.davidpierron.com/?p=386</guid>
		<description><![CDATA[So I&#8217;ve been doing my thing.  Trying to get the gist of it all and get things in place, working, etc &#8230; and then they start with this Rails 3.0 stuff that it doesn&#8217;t seem I can run &#8230; What I mean is, developers seemed to have moved on to Rails 3 but I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been doing my thing.  Trying to get the gist of it all and get things in place, working, etc &#8230; and then they start with this Rails 3.0 stuff that it doesn&#8217;t seem I can run &#8230;</p>
<p>What I mean is, developers seemed to have moved on to Rails 3 but I don&#8217;t understand how.  I decided, okay, it&#8217;s an RC (Release Candidate) so I&#8217;ll take the plunge and install it on a public server and start developing.  Welp, Rails 3 requires ruby 1.9.2 far as I know and I can&#8217;t get that installed successfully in a FreeBSD environment when the latest ruby is 1.8.7 (2009-12-24 patchlevel 248) (which currently has a UTF-7 encoding XSS vulnerability in WEBrick.) &#8230; sure 1.9.2 will install, but it doesn&#8217;t install a &#8220;ruby&#8221; binary, it&#8217;s called ruby19 and you have to symlink or copy it to &#8220;ruby&#8221; &#8230; Why?</p>
<p>Can you run <a href="http://rvm.beginrescueend.com/" target="_blank">rvm</a> on a production server?  Would you?  Why?</p>
<p>In Rails defense, their website isn&#8217;t advocating a new release nor to install it, yet touts how many people are running it in production already &#8230;  Bah!  Cutting edge.</p>
<p>In other words, I think there&#8217;s just still too much stuff up in the air to actually try to massage Rails 3 into place before the rest of the world is ready for it.  I mean, Rails isn&#8217;t the only thing in my servers that use ruby &#8230;</p>
<p>&#8230; A couple hours later UPDATE: <a href="http://www.rubyinside.com/ruby-1-9-2-released-3700.html" target="_blank">Ruby 1.9.2 Released</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidpierron.com/index.php/archives/2010/08/21/386/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you&#8217;re a Mac, you&#8217;re a PC &#8230;</title>
		<link>http://www.davidpierron.com/index.php/archives/2010/04/28/378/</link>
		<comments>http://www.davidpierron.com/index.php/archives/2010/04/28/378/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 21:45:56 +0000</pubDate>
		<dc:creator>David Pierron</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Work/Graphics]]></category>

		<guid isPermaLink="false">http://www.davidpierron.com/?p=378</guid>
		<description><![CDATA[A PC is defined literally as a Personal Computer.  If you&#8217;re using a Mac, you&#8217;re using a personal computer.  The Mac vs. PC commercials are obviously Microsoft vs. Apple commercials, and they&#8217;re spot on when put in that context.  But why confuse everyone thinking that &#8220;PC&#8221; is a bad thing?  Or &#8220;PC&#8221; is the derogatory [...]]]></description>
			<content:encoded><![CDATA[<p>A PC is defined literally as a Personal Computer.  If you&#8217;re using a Mac, you&#8217;re using a personal computer.  The Mac vs. PC commercials are obviously Microsoft vs. Apple commercials, and they&#8217;re spot on when put in that context.  But why confuse everyone thinking that &#8220;PC&#8221; is a bad thing?  Or &#8220;PC&#8221; is the derogatory term that has opposite connotations than &#8220;Mac&#8221; &#8230;  I mean, don&#8217;t get me wrong, as a computer professional since the mid eighties, I have found my place in the Mac world.  I find myself utterly and completely more productive and enjoying my environment and experience 100 times more.  I was in misery at the hands of Microsoft products.</p>
<p>Probably many people don&#8217;t know that before Microsoft, it was an IBM world and the PC had become known as an &#8220;IBM Compatible.&#8221;  At that time we also had the Commodore, Apple ][ and Franklin.  Franklin was an Apple ][ clone and were sued by Apple.  Result being, you don't see any Franklins around, do you?</p>
<p>People also probably don't know that the CPUs in the first IBM computers were AMDs.  Seems that AMD came late to the game to most people, but my IBM XT had a 4.77Mhz AMD chip installed in it, and I used the "Tiny Turbo" to up that baby to a whopping 8Mhz.  I imagine Intel struck a deal early on with IBM and that's how they cornered the CPU market as well as Microsoft pushing IBM's PC-DOS out of existence with MS-DOS.</p>
<p>But, is it just me?  Someone like me that knows all the history of the little boxes and where they all came from and how they started?  (Of course I skipped over the earlier Apples and Tandy's attempt at PC greatness, the 5.25 floppies and 3.5s that don't exist anymore, etc).  Is it just a simple fact that "PC" now means IBM Compatible running Microsoft Windows and "Mac" means awesome computer that puts PCs (in this context) to shame?</p>
<p>I write this post on my 800MHz PowerPC G4 iMac with 768MB SDRAM that I bought used off of eBay and received January 14th, 2004.  It's running 10.4.11 Tiger Mac OS X ... It shipped with Jaguar (10.2) but the previous owner gave me Panther (10.3) which I had also purchased separately.</p>
<p>I now run 2 MacBook Pros, a 17 and a 15 both with Snow Leopard (10.6) and a Dell Mini running Leopard (10.5).  I bought 10.5 for the Dell (Family version) and tried to install it on the G4 PPC and that was a no go for processors under 866MHz and Snow is Intel only.  It took the Intel version of the Mac (and OSX) before I was able to lose Microsoft completely.  Whatever the mixture of technologies came together, that's the case for me.  The iMac didn't get me there in 2004, it took the MacBook Pro in 2008, 4 and a half years later.</p>
<p>I don't run any emulation software to run MS-Windows virtually, and I don't utilize BootCamp.   There is absolutely nothing Microsoft on my Macs at all.  It's wonderful.  The 15" came with Microsoft Office and I figured I would check it out.  When I loaded Word, it said it wanted to update and I said sure.  The words "Running Microsoft Update" came up on my screen and I freaked, I blew away the HD and installed my purchased Leopard from DVD.  I wanted no remnant of a Microsoft product on my Mac.</p>
<p>So!  Once you go Mac, you never go back.  I think this is the case for anyone that seriously uses a computer for computing and not just web browsing and email.  What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidpierron.com/index.php/archives/2010/04/28/378/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow Leopard Black Screen Fixed?</title>
		<link>http://www.davidpierron.com/index.php/archives/2009/09/13/370/</link>
		<comments>http://www.davidpierron.com/index.php/archives/2009/09/13/370/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 00:42:05 +0000</pubDate>
		<dc:creator>David Pierron</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[black screen]]></category>
		<category><![CDATA[fud]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://www.davidpierron.com/?p=370</guid>
		<description><![CDATA[I ordered Snow Leopard from Amazon.Com and waited patiently for it to arrive.  I read up on some sites about things to watch for when I upgraded, etc., but nothing can prepare you for when you actually go and do it. I opted to run Carbon Copy Cloner as suggested by one site found by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.davidpierron.com/wp-content/uploads/2009/09/MacSnowLeopardBox.png"><img class="alignleft size-medium wp-image-371" title="MacSnowLeopardBox" src="http://www.davidpierron.com/wp-content/uploads/2009/09/MacSnowLeopardBox-295x300.png" alt="MacSnowLeopardBox" width="295" height="300" /></a>I ordered Snow Leopard from Amazon.Com and waited patiently for it to arrive.  I read up on some sites about things to watch for when I upgraded, etc., but nothing can prepare you for when you actually go and do it.</p>
<p>I opted to run <a title="CCC" href="http://www.bombich.com/software/ccc.html" target="_blank">Carbon Copy Cloner</a> as suggested by one site found by <a title="Google" href="http://google.com" target="_blank">Google</a> to make a complete backup of the hard drive inside my MacBook Pro 17.  I tested by booting from the USB hard drive (hold down ALT at power up) to make sure I could &#8220;go back&#8221; if I had to by reversing the Carbon Copy Cloner step.</p>
<p>All of the FUD on the Internet was crap.  Everything just worked.  Until &#8230;</p>
<p>I had been working on my MacBook Pro 15 and the Snow Leopard blanked out (as my MBP17 normally does after about 20-30 minutes).  Working on another MacBook Pro is a suggested method for passing the time.  Yes, I suggest you have more than one Mac (if you&#8217;re cool enough).  As I do sometimes, I swipe my finger across the trackpad to bring back whatever is on the screen.  When I did this, the keyboard illuminated, but nothing shown on the screens (I have a 24&#8243; external).  The screen was black!  I thought maybe the brightness went out of range and pressed the &#8220;f2&#8243; key to bring it up.  I see the dialog for the brightness level, but there&#8217;s nothing on the screen.  I see the backlight getting brighter, but the screen is black &#8230; nothing there.  I try the volume and that shows on the 24&#8243; (which is set as the main display).  I Google on the MBP15 and find that people close their cover and open to a working Mac.  After I wake from sleep, moving the mouse I see it as the spinning beach ball that it is.  I hold down the power button to power off the Mac, there is no other choice.</p>
<p>Turn the MacBook Pro 17 on again and I have a working Snow Leopard.  All the things that &#8220;they&#8221; said didn&#8217;t work work for me.  I installed the 10.6.1 update and iTunes 9.  So everything is up to date.  It happens again, same symptoms.  Black screens, can see volume and brightness dialogs when keys are hit, no mouse until after I sleep and wake to spinning beach ball mouse with black screens.</p>
<p>Google searching brings up black screen during the install, and some similar to my problem, but not all the same.  Some blame just on the install blanking and they can see images on their screen with no backlight.  I guess they&#8217;re fine after they upgrade cause I see no follow ups.  I see more and more people blaming things having to do with the video or their video card.  Some it&#8217;s playing games and some it&#8217;s running VLC &#8230;  So I decided, mine &#8220;hangs&#8221; when the computer screen sleeps (that&#8217;s SCREEN, my MacBook Pro never sleeps), so I think *screen saver!*</p>
<p>While the computer is running, I click on the Apple, go to System Preferences&#8230; into Desktop &amp; Screen Saver.  Immediately, spinning beach ball.  Aha!  I can Force Quit System Preferences until I can get in there and click on the first screen saver I can click on to change it.  What was selected when it hung was a directory &#8220;Screen Savers&#8221; &#8230; I don&#8217;t know where it came from &#8211; only thing I can think of was a shareware copy of that Aqua Marine fish tank-like screen saver that I never ended up buying.  I&#8217;ve been using Flurry forever (and that was my first thought when I thought it might be OpenGL or something, which never worked on my KDE installs on cheap PC hardware) and thought that might have been hanging the computer&#8217;s video card or something.</p>
<p>So far so good, I will update if the longer the screen sleep gives different results.  Here&#8217;s hoping this helped someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidpierron.com/index.php/archives/2009/09/13/370/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Going Mac, one person at a time &#8230;</title>
		<link>http://www.davidpierron.com/index.php/archives/2009/08/26/355/</link>
		<comments>http://www.davidpierron.com/index.php/archives/2009/08/26/355/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 10:16:10 +0000</pubDate>
		<dc:creator>David Pierron</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Work/Sound]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.davidpierron.com/?p=355</guid>
		<description><![CDATA[So my brother Tom calls me one night frustrated as heck because he can&#8217;t make a copy of a DVD.  A simple thing, pop a DVD into the computer and click &#8220;Copy&#8221;.  It&#8217;s of his performance at a show, and he wants to make copies for himself and the rest of the members of the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.davidpierron.com/wp-content/uploads/2009/08/imac.jpg"><img class="alignleft size-thumbnail wp-image-345" title="imac" src="http://www.davidpierron.com/wp-content/uploads/2009/08/imac-150x150.jpg" alt="imac" width="150" height="150" /></a>So my brother Tom calls me one night frustrated as heck because he can&#8217;t make a copy of a DVD.  A simple thing, pop a DVD into the computer and click &#8220;Copy&#8221;.  It&#8217;s of his performance at a show, and he wants to make copies for himself and the rest of the members of the band.  He&#8217;s been trying Windows machines and utilizing Nero.  I think he had purchased a copy of Nero, but it wasn&#8217;t cooperating.  He then tried using a trial version from their web site that would be fully functional, just slow (write @ 1X or something).  It may be that he purchased Nero, and that was on his old PC which was in storage and he thought he might go get that to get the job done.  Regardless, no matter how far he got, the copy was not happening.</p>
<p>I told him to stop over, and I would make the copy no problem.  I have a Macbook Pro and a Windows PC where I was, so no matter what, we&#8217;d make a copy.  I ended up using a trial version of Toast I got with Cubase 5.  But even so, I would have tried the FREE Mac software Burn if Toast hadn&#8217;t stepped up.  It was a click, &#8220;Copy&#8221; and it asked how many copies you wanted.</p>
<p>While we waited for the process to complete, Tom reiterated his DVD copying experience and frustrations.  He was to the point where he was going to go out and buy a new computer to make this work!  He thought maybe his PC was too old for such a task as copying a DVD.  I said, &#8220;If you&#8217;re going to buy a new computer, you should buy a Mac.&#8221;  I think that was Monday, August 17th.  I saw Tom a week later, Monday, August 24th and he told me he bought an iMac.  He was going back to the store to have a one on one session with someone who knows Logic.  I told him Cubase 5 or Digital Performer 6 were good choices as well &#8230; and you can always play with GarageBand.</p>
<p>I hardly ever touch a Microsoft Windows machine anymore unless I have to.  All my servers are FreeBSD and the Mac software (OS X) is FreeBSD based.  The interface is so much more intuitive and I venture to say &#8220;cleaner&#8221; &#8230;  It&#8217;s much more of a pleasure to develop web sites and programs on and mix music as well &#8230; Come on Windows people, once you go Mac, you never go back!  Or so they say &#8230; but who are &#8220;they&#8221; actually?  Probably a bunch of satisfied Mac users! =)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidpierron.com/index.php/archives/2009/08/26/355/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline Rails API layout using RDoc&#8217;s RDOCOPT</title>
		<link>http://www.davidpierron.com/index.php/archives/2009/03/09/255/</link>
		<comments>http://www.davidpierron.com/index.php/archives/2009/03/09/255/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 10:15:07 +0000</pubDate>
		<dc:creator>David Pierron</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rdoc]]></category>

		<guid isPermaLink="false">http://www.davidpierron.com/?p=255</guid>
		<description><![CDATA[UPDATE March 29, 2009: This was all solved using: template="jamis" rake doc:rails Found on the blog by JamisBuck is the RDoc layout used online at api.rubyonrails.org. Simply acquire the file jamis.rb (posted here if you can&#8217;t find it elsewhere) and you&#8217;re covered with your Ruby Rdoc utilizing the instructions to append &#45;-template=jamis &#8230; But what [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>UPDATE March 29, 2009:</strong> This was all solved using:
<pre>template="jamis" rake doc:rails</pre>
</blockquote>
<p>Found on the <a href="http://weblog.jamisbuck.org/2005/4/8/rdoc-template">blog by JamisBuck</a> is the RDoc layout used online at <a href="http://api.rubyonrails.org/">api.rubyonrails.org</a>.  Simply acquire the file <a href='http://www.davidpierron.com/wp-content/uploads/2009/03/jamis.rb'>jamis.rb</a> (posted here if you can&#8217;t find it elsewhere) and you&#8217;re covered with your Ruby Rdoc utilizing the instructions to append <tt>&#45;-template=jamis</tt> &#8230;</p>
<p>But what about Rails?  <strong>rake doc:rails</strong> doesn&#8217;t like the &#45;-template=jamis argument.</p>
<p><tt>RDOCOPT="-S -f html -T jamis"</tt> &#8212; Then run &nbsp;<b><tt>rake doc:rails </tt></b> and your offline local API copy will look just like the online version.</p>
<p>Sure there may be other ways of accomplishing this, but this got the job done and will get the job done next time I want to build the latest Rails API.  If you&#8217;re interested in a more permanent solution, look at setting up variables in your <tt>.gemrc</tt> file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidpierron.com/index.php/archives/2009/03/09/255/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

