<?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"
	>

<channel>
	<title>Intuition &#38; Elbow Grease</title>
	<atom:link href="http://www.vxrs.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vxrs.com</link>
	<description>The blog of Jeff Pickell</description>
	<pubDate>Thu, 28 Aug 2008 05:25:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>iPhone Impressions One Month Later</title>
		<link>http://www.vxrs.com/iphone/iphone-impressions-one-month-later/</link>
		<comments>http://www.vxrs.com/iphone/iphone-impressions-one-month-later/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 04:24:48 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
		
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=52</guid>
		<description><![CDATA[So it&#8217;s been a month since I stood in line that was too long to purchase my 16GB iPhone, and I&#8217;ve been putting it through its paces.  I even messed around with jailbreaking it.  (short answer: not worth it for me)  Overall, I am very pleased with the device!  Would I [...]]]></description>
			<content:encoded><![CDATA[<p>So it&#8217;s been a month since I stood in line that was too long to purchase my 16GB iPhone, and I&#8217;ve been putting it through its paces.  I even messed around with jailbreaking it.  (short answer: not worth it for me)  Overall, I am very pleased with the device!  Would I recommend it to all of my friends?  No, actually I probably wouldn&#8217;t.  This is the perfect device for those folks who are used to carrying a PDA of some sort and are looking to consolidate devices.   If you&#8217;re just looking for a replacement cell phone then the iPhone is most likely overkill.  With the addition of a few apps from the App Store,  I&#8217;ve now completely replaced both my trusted palm pilot as well as my Motorola RAZR with the iPhone.</p>
<p>Using the  3G network to check email and browse the web is not as fast as I would like, but it is definitely useable.  It was a fantastic companion when I flew to Las Vegas last month allowing me to alternately read some great fiction by <a title="Cory Doctorow" href="http://www.craphound.com/littlebrother" target="_blank">Cory Doctorow</a>,  listen to some of my favorite classical music and get caught up on some old episodes of Doctor Who.  Battery life has been great; I don&#8217;t think I&#8217;ve seen the meter drop below 50% once in the past month.</p>
<p>The phone portion works great for me.  I&#8217;ve been primarily on the 3G network when using the phone (usually with the included earbuds) and I&#8217;ve been quite pleased with the sound quality.  To me the call-quality is every bit as good as the Motorola RAZR that it replaced.</p>
<p>The one feature (if you could call it that) that I loved about my palm pilot was the abundance of third-party apps.  The iPhone&#8217;s 2.0 firmware and the App Store bring an abundance of third party applications for my downloading pleasure!  I can even browse and download new applications directly from the iPhone.   I wish it was that simple with my old palm pilot!  I&#8217;ve downloaded, used then deleted several dozen applications and there are now just a handful (five to be exact) that I use the most.</p>
<p>My top five favorite apps so far:</p>
<ol>
<li><a title="Pandora" href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284035177&amp;mt=8" target="_blank">Pandora</a> (free)<br />
Streaming internet audio while I drive to work!  I plug my iPhone into a cassette adapter, fire up Pandora, choose one of my stations and I get to enjoy and discover new music!  Because of this app I no longer feel the need to sync more than a handful of songs via iTunes.  With Pandora, I always have a great selection of music available anytime.</li>
<li><a title="MobileFinder" href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=286746714&amp;mt=8" target="_blank">MobileFinder</a>($2.99)<br />
Once a loooong time ago, I made the switch from using the Palm Memo application to using plain text files to maintain all of my notes and memos.  Boy, has that decision ever paid off!  This app not only provides an ftp server on my iPhone to transfer files back and forth, it also allows me to edit and create text-based files!  How could this be better?  How about adding scp file transfers instead of or in addition to the ftp server.   Maybe add the ability to assign a username/password to the ftp connection?  At least the server is only on for a very short time while I actually transfer the files from my desktop, but I&#8217;d feel so much better if the connection was encrypted.</li>
<li><a title="Stanza" href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284956128&amp;mt=8" target="_blank">Stanza</a> (free)<br />
With all the talk about no one reading anymore, I was really concerned that I was not going to be able to find a suitable replacement for Mobipocket.  Stanza is turning out to be quite a fine e-book reader!  It handles the simple comforts like being able to change font and background colors to providing an online catalog that you can access from the application to download free books from Feedbooks, The BBC, Wired Magazine and others.</li>
<li><a title="Twittelator" href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284698706&amp;mt=8" target="_blank">Twittelator</a> (free)<br />
This is one of several twitter clients available, and so far it&#8217;s my favorite; narrowly beating out <a title="Twitterific" href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284540316&amp;mt=8" target="_blank">Twitterific</a>.  I like the fact that it can post my current location via Twitter (although I almost never use this feature)</li>
<li><a title="WeatherBug" href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=281940292&amp;mt=8" target="_blank">WeatherBug</a> (free)<br />
The built-in weather app is nice, but I like looking at the radar maps and this app has them!  (you have to pinch-out and center the world-map on your location; not sure why this isn&#8217;t automatic, but maybe in a future release it will be)</li>
</ol>
<p>I haven&#8217;t added an ssh client yet.  There are now at least three apps available purporting to be good ssh clients, but each one seems to have its drawbacks of one kind or another.  Since I haven&#8217;t had the need to connect to a command line lately, I&#8217;m waiting for these apps to go through a round of updates to see how (or if) they mature before making a purchase there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vxrs.com/iphone/iphone-impressions-one-month-later/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Alert: Oracle Weblogic 0-day</title>
		<link>http://www.vxrs.com/security/alert-oracle-weblogic-0-day/</link>
		<comments>http://www.vxrs.com/security/alert-oracle-weblogic-0-day/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 04:44:12 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=51</guid>
		<description><![CDATA[Read the advisory here:
https://support.bea.com/application_content/product_portlets/securityadvisories/2793.html
It appears that without a username and password that a remote user can exploit a buffer overflow in the Weblogic plugin for Apache, potentially exposing confidential information.   Time for everyone to patch their Oracle Weblogic installations!
]]></description>
			<content:encoded><![CDATA[<p>Read the advisory here:</p>
<p><a href="https://support.bea.com/application_content/product_portlets/securityadvisories/2793.html" target="_blank">https://support.bea.com/application_content/product_portlets/securityadvisories/2793.html</a></p>
<p>It appears that without a username and password that a remote user can exploit a buffer overflow in the Weblogic plugin for Apache, potentially exposing confidential information.   Time for everyone to patch their Oracle Weblogic installations!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vxrs.com/security/alert-oracle-weblogic-0-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adventures in iPhone Land</title>
		<link>http://www.vxrs.com/iphone/adventures-in-iphone-land/</link>
		<comments>http://www.vxrs.com/iphone/adventures-in-iphone-land/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 03:35:18 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
		
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=50</guid>
		<description><![CDATA[When the iPhone launched last year, I promised myself that I would wait until the 3G version came out before I took the plunge.  You see, I use a pda (Palm Pilot TX) on a daily basis for such things as checking email, reading ebooks (a lot), watching the occasional video, tracking todos and [...]]]></description>
			<content:encoded><![CDATA[<p>When the iPhone launched last year, I promised myself that I would wait until the 3G version came out before I took the plunge.  You see, I use a pda (Palm Pilot TX) on a daily basis for such things as checking email, reading ebooks (a lot), watching the occasional video, tracking todos and maintaining a large list of text files (think &#8216;memos&#8217; on steroids)   Besides the pda, I also carry around a 20GB ipod photo for listening to music and podcasts during my daily commute, which can end up being nearly two hours round trip on very bad days.   And of course, I always always always have my cellphone with me no matter what.</p>
<p>So there is a certain logic in yearning for a convergent device that rolls all of the  necessary functionality into just one, shiny little object.  I wouldn&#8217;t need to lug around three different devices (all with separate charging needs, no less) and lighten my load, so to speak.   I&#8217;ve kept a close eye on the iPhone developments over the past year (including the whole &#8216;jailbreak&#8217; thing) but after seeing how quickly the new 3G version sold out, I realized it would probably be a few months before I finally got my hands on one.</p>
<p><span id="more-50"></span></p>
<p>I would regularly check the stock levels for our local Apple stores (of which we have two!) after 9:00pm each evening and as could be expected, they&#8217;ve been regularly sold out day after day.  Friday night I checked again and to my surprise both local stores showed that they would have stock of all models for Saturday.   Not getting my hopes up, but thinking I would just go by one of the stores a bit early in the morning to scope things out, I arrived at the larger of the two stores around 9:00am.   The mall doesn&#8217;t open until 10:00am, so really this was kind of silly.  I left my ipod in the car because I was just going to walk around the mall once, scope out the Apple store and probably just head back home.  (this turned out to be a mistake, it would&#8217;ve been quite handy later)</p>
<p>I entered the mall and was shocked (why I didn&#8217;t actually expect this, I don&#8217;t know) to see at least a hundred people already in line!  I walked the length of the line, noting that people seemed to have been there for quite some time already.  I found out later that people had started lining up before 7:00am!  I found the end of the line and out of curiosity more than the expectation of a new phone, I took my place at the end of the line.  Before too long (mere minutes in fact) the line had already grown to half a dozen people past me.</p>
<p>An Apple employee was quickly moving down the line handing out a pamphlet of some sort (maybe they would be vouchers!) so I waited to see what they were.  They turned out to be just some informational pamphlets regarding rate plans, but then I noticed that a couple more Apple employees were moving down the line (albeit at a much slower pace) and pulling people out of line, walking them into the store, then escorting them back to their place in line a few minutes later.  I also realized that the store was actually open, and those in the very front of the line were making their iPhone purchases and leaving!  The line was moving at a pace that would make a snail zoom past us, but it was moving!</p>
<p>I figured, what the heck!  I drove all the way down here, I&#8217;m already in line&#8230; the people at the very front of the line were actually making their purchases, I might as well stick it out for what, maybe an hour?  Well, after an hour and a half or so, the Apple folks that were escorting people in and out of the line finally made it back to me.  They brought me so that they could &#8216;pre-qualify&#8217; my purchase.  They wanted to make sure I was already an AT&amp;T customer, that I was eligible for the upgrade, and that I wasn&#8217;t trying to use any corporate rate to get my iPhone.   Once I was escorted back to my place in line, I was actually given a voucher for the iPhone of my choice!  (black, 16gb btw)</p>
<p>A couple of hours later and there were a group of about four or five of us that were getting along like old friends.  Chatting about our children, our phones, how silly we felt waiting in line.  This lasted for the first couple of hours after which point we were commiserating about our aching feet, our full bladders, our empty stomachs and our parched throats.   We kindly watched one another&#8217;s places in line for the inevitable bathroom breaks, but alas Starbucks was not pushing a cart up and down the line so our thirst went unquenched.</p>
<p><img class="alignright" style="margin-left: 5px; margin-right: 5px; float: right;" src="http://www.crazyaces.com/images/iPhone.jpg" alt="My new phone, Image is copyright 2008 CrazyAces.  Do not use without express written permission." width="320" height="240" /></p>
<p>About noon (yes, three hours later) there were only three people ahead of me in line.  And that&#8217;s when the Apple employees must&#8217;ve gone to lunch.  The line didn&#8217;t move at all for forty-five minutes!!!  But at this point, there was no way any of us were going to give up!  We were too close!  We had waited for too long to just give up!</p>
<p>Finally around 12:45p I was allowed into the Apple store to make my purchase!  I was only in the store for maybe ten minutes while my new iPhone was activated and the Apple employee gave me a quick tour of all the features.  Then I was free!  After four long hours in queue I left with my new iPhone.</p>
<p>Next up:  What do you mean &#8216;There&#8217;s no native ssh client&#8217;?  Are you kidding me?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vxrs.com/iphone/adventures-in-iphone-land/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Displaying an HTML table from MySQL data</title>
		<link>http://www.vxrs.com/misc/displaying-an-html-table-from-mysql-data/</link>
		<comments>http://www.vxrs.com/misc/displaying-an-html-table-from-mysql-data/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 23:42:42 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
		
		<category><![CDATA[misc]]></category>

		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=49</guid>
		<description><![CDATA[Here&#8217;s one from the 2003 archives:
Did you know that PHP could interface with a MySQL database? Well it can, and here&#8217;s how! The code below illustrates just how easy it is to produce a nice table with headers populated with data culled from a database. One little trick I like to use (and have used [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s one from the 2003 archives:</p>
<p>Did you know that <a href="http://www.php.net/">PHP</a> could interface with a <a href="http://www.mysql.com/">MySQL</a> database? Well it can, and here&#8217;s how! The code below illustrates just how easy it is to produce a nice table with headers populated with data culled from a database. One little trick I like to use (and have used for a very long time) when displaying table data is to alternate the background color. This makes it a bit easier to read the data (at least it does for me) Notice that when the table is initialized (&lt;table&gt;&lt;tr bgcolor=\&#8221;#afafaf\&#8221;&gt;), I define the background color. Later as the code iterates through the lines of data, I test to see what the current backgound color is, and then reverse it. Not rocket science, but it spruces things up just a bit. I have been using a heavily modified version of this code in several places, whether it is for displaying log files or pulling intrusion reports from a <a href="http://www.snort.org/">Snort</a> database and it has worked quite well.  Any comments or improvements are always welcome!</p>
<pre>
&lt;?php
$link = mysql_connect("database_host", "user", "password");

mysql_select_db("database_name", $link);

$qry = mysql_query("SELECT * FROM table_name", $link);
echo &lt;table&gt;&lt;tr bgcolor=\"#afafaf\"&gt;;
if (mysql_num_rows($qry) &gt; 0) {

for ($i = 0; $i&lt;mysql_num_fields($qry); $i++) {

echo "&lt;td&gt;&lt;b&gt;" . mysql_field_name($qry, $i) . "&lt;/b&gt;&lt;/td&gt;";

}

}else{

echo "&lt;td&gt;No entries found in the database&lt;/td&gt;";

}
echo "&lt;/tr&gt;\n";
if (mysql_num_rows($qry) &gt; 0) {

for ($j = 0; $j&lt;mysql_num_rows($qry); $j++) {

if ($bgcolor == "#ffffff"){

$bgcolor="#cccccc";

}else{

$bgcolor="#ffffff";

}

echo "&lt;tr bgcolor=\"$bgcolor\"&gt;";

for ($k = 0; $k&lt;mysql_num_fields($qry); $k++) {

echo "&lt;td&gt;" . mysql_result($qry,$j, $k) . "&lt;/td&gt;";

}

echo "&lt;/tr&gt;\n";

}

echo "&lt;/table&gt;";

}
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vxrs.com/misc/displaying-an-html-table-from-mysql-data/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gmail IMAP missing</title>
		<link>http://www.vxrs.com/misc/gmail-imap-missing/</link>
		<comments>http://www.vxrs.com/misc/gmail-imap-missing/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 20:35:55 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
		
		<category><![CDATA[email]]></category>

		<category><![CDATA[misc]]></category>

		<category><![CDATA[palm]]></category>

		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=43</guid>
		<description><![CDATA[UPDATE:  Looks like it&#8217;s been re-enabled.  Hopefully for good.  Maybe they were upgrading the service.
Looks like Google may be having some issues w/their IMAP services.  I noticed earlier that my palm pilot couldn&#8217;t access my gmail account via IMAP, producing a connection error.  When I log into my gmail settings, the IMAP section from the [...]]]></description>
			<content:encoded><![CDATA[<p>UPDATE:  Looks like it&#8217;s been re-enabled.  Hopefully for good.  Maybe they were upgrading the service.</p>
<p>Looks like Google may be having some issues w/their IMAP services.  I noticed earlier that my palm pilot couldn&#8217;t access my gmail account via IMAP, producing a connection error.  When I log into my gmail settings, the IMAP section from the &#8216;Forwarding and Pop&#8217; tab is now missing:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-51.png" class="lightview" rel="gallery[43]"><img class="alignnone size-medium wp-image-47" title="gmail-no-imap" src="http://www.vxrs.com/wp-content/uploads/2008/04/picture-51-300x106.png" alt="No IMAP settings in gmail" width="300" height="106" /></a></p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-51.png"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vxrs.com/misc/gmail-imap-missing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using VMWare Fusion on OSX</title>
		<link>http://www.vxrs.com/macintosh/using-vmware-fusion-on-osx/</link>
		<comments>http://www.vxrs.com/macintosh/using-vmware-fusion-on-osx/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 06:06:23 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<category><![CDATA[Fusion]]></category>

		<category><![CDATA[OSX]]></category>

		<category><![CDATA[Solaris]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=30</guid>
		<description><![CDATA[I&#8217;ve been using VMWare&#8217;s Fusion product on my 1st gen Apple Macbook (2.0Ghz, 2GB ram, 160GB hard drive upgrade) sporadically now for about six months.   I originally purchased the 1.0 version and was pleased when just a few weeks ago I found out that there was a free upgrade to 1.1 which included [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.vmware.com/products/fusion/" target="_blank">VMWare&#8217;s Fusion</a> product on my 1st gen Apple <a href="http://www.apple.com/macbook/" target="_blank">Macbook</a> (2.0Ghz, 2GB ram, 160GB hard drive upgrade) sporadically now for about six months.   I originally purchased the 1.0 version and was pleased when just a few weeks ago I found out that there was a free upgrade to 1.1 which included a few bug fixes.   The original install and subsequent upgrade were as smooth and uneventful as one tends to expect from Mac software versions.  Insert the installation cd, drag the icon to your Applications folder and you&#8217;re done.  After that, you&#8217;re ready to run Fusion for the first time.  Of course, you will need to configure or install your first virtual machine the first time you run it.  And wouldn&#8217;t you know it, there are hundreds of ready-made virtual machines for you to download at <a href="http://vmware.com/appliances/" target="_blank">VMWare&#8217;s appliance marketplace.</a></p>
<p>Perhaps a brief explanation of virtualization (of the software variety) might be in order here.  Normally your operating system (be it OSX, a Linux-variant, or <a href="http://www.microsoft.com" target="_blank">WindowsXP</a>) runs on top of the hardware platform that you&#8217;ve chosen.   The operating system needs to have various drivers that allow it to connect to and control the myriad little pieces of the system.  From network connections to video cards, they all need corresponding software for the operating system to be able to utilize them.   So imagine that you have a program that runs on top of your operating system that intercepts and mimics all of the system calls and abstracts and isolates them from the real hardware you are running on.  This software creates a separate &#8216;virtual&#8217; computer on top of your existing system.  You can then install a new operating system along with various programs into this &#8216;virtual&#8217; computer and you then have a computer system running inside of (or on top of, depending on your viewpoint) your original system.</p>
<p>But that&#8217;s silly you say.  Why in the world would I want to run two operating systems, one inside the other?  Surely that can&#8217;t be very efficient!  Actually there are several benefits to running a virtual system.  First and foremost is the ability to create distinctly separate environments in which to work.  For example:  My primary laptop is as I&#8217;ve mentioned previously a wonderful little Apple Macbook running the latest <a href="http://www.apple.com/macosx/" target="_blank">OSX Leopard </a>operating system.  There are times when it would be beneficial to have access to various WindowsXP programs, such as Internet Explorer when I am trying to work out some cross-browser html/css hack.  Or I need access to certain security tools that are only available for Windows (read: <a href="http://www.oxid.it/cain.html" target="_blank">Cain &amp; Abel</a> ~ caution: this site is not safe for work environments)  or perhaps I&#8217;m working on a particular Solaris 10 issue.  Wouldn&#8217;t it be handy if I could just fire up the operating system of my choice from within my macbook?</p>
<p>And that&#8217;s exactly what I do with VMWare Fusion!  Not only do I have two full WindowsXP installs, I also have the latest <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> Stable version (7.10 as of this writing) and a full version of <a href="http://www.opensolaris.org" target="_blank">OpenSolaris</a> 10 (Indiana) all available to me with just a click!</p>
<p>Another advantage comes from the ability to consolidate server hardware.  Suppose that you have a web server that is used primarily during business hours and a secure ftp server that has its peak activity during the middle of the night.  Instead of maintaining two separate servers, you could consolidate them onto a single server by migrating them into a VMWare instance running on a single server.   With some of VMWare&#8217;s other tools you could even load balance both the web server and the ftp server across multiple machines.</p>
<p>So you get the ability to access multiple operating systems from a single desktop, giving you the ability to create an on-the-fly virtual lab.  From a server perspective you can consolidate hardware resources (reducing power, heat and physical space consumption) or leverage your existing hardware better by taking advantage of VMWare&#8217;s <a href="http://www.vmware.com/products/vi/" target="_blank">Virtual Infrastructure</a>.</p>
<p>One particularly useful benefit of VMWare&#8217;s Fusion product is its &#8216;Unity&#8217; feature that allows you to run applications from a virtual machine along side your mac software.  Instead of a single window dedicated to your virtual machine and all of the programs that run inside of it, you get a drop down menu that allows you to run the individual applications in their own window!  Pretty slick and a fun trick to show your co-workers that you can run the latest <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9AE91EBE-3385-447C-8A30-081805B2F90B&amp;displaylang=en&amp;WT.srch=1" target="_blank">Internet Explorer</a> on your Mac (useful for testing those browser html/css hacks mentioned earlier!)</p>
<p>See some initial Fusion screenshots after the cut.</p>
<p><span id="more-30"></span></p>
<p>VMWare Fusion for OSX</p>
<p>(click on image for larger version)</p>
<p>Start up Screen:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/fusion_startup1.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-32" title="VMWare Fusion Start Screen" src="http://www.vxrs.com/wp-content/uploads/2008/04/fusion_startup1-150x150.png" alt="VMWare Fusion Start Screen" width="150" height="150" /></a></p>
<p>Network Configuration:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/fusion_config.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-33" title="Network Configuration" src="http://www.vxrs.com/wp-content/uploads/2008/04/fusion_config-150x150.png" alt="Network Configuration" width="150" height="150" /></a></p>
<p>Output of the &#8216;zoneadm&#8217; command within a bash shell on Solaris:</p>
<p>(running within the Fusion virtual server)</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/zoneadm_bash.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-35" title="zoneadm_bash" src="http://www.vxrs.com/wp-content/uploads/2008/04/zoneadm_bash-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Setting up a new virtual machine:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-1.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-36" title="Setting up a new virtual machine" src="http://www.vxrs.com/wp-content/uploads/2008/04/picture-1-150x150.png" alt="Setting up a new virtual machine" width="150" height="150" /></a></p>
<p>Choosing the O/S type:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-2.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-37" title="Choosing the Operating System" src="http://www.vxrs.com/wp-content/uploads/2008/04/picture-2-150x150.png" alt="Choosing the Operating System" width="150" height="150" /></a></p>
<p>Setting up the virtual file system:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-3.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-38" title="Setting up the virtual file system" src="http://www.vxrs.com/wp-content/uploads/2008/04/picture-3-150x150.png" alt="Setting up the virtual file system" width="150" height="150" /></a></p>
<p>Initial boot:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-6.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-39" title="Initial boot" src="http://www.vxrs.com/wp-content/uploads/2008/04/picture-6-150x150.png" alt="Initial boot" width="150" height="150" /></a></p>
<p>Starting the O/S install:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-5.png" class="lightview" rel="gallery[30]"><img class="alignnone size-thumbnail wp-image-40" title="Starting the OS Install" src="http://www.vxrs.com/wp-content/uploads/2008/04/picture-5-150x150.png" alt="Starting the OS Install" width="150" height="150" /></a></p>
<p>From here on its just a normal install process for whatever operating system you&#8217;ve chosen to run inside the virtual machine!  Once up and running, you can take snapshots of the system to enable restores or clones, and you can also suspend the virtual machine in whatever state its currently in, close Fusion, turn off your computer, come back in a couple of days and start everything back up and the virtual machine will start up exactly where you left it.  You can even move the virtual machine to a different host computer if you wish.  You could have a big 8-core box that you do most of your development on with a bunch of various virtual machines, and then transfer the ones you need to a usb drive to take along on that business trip!   Very convenient!</p>
<p>If you&#8217;re using a virtualization product, I&#8217;d love to read about your experiences (good and bad) in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vxrs.com/macintosh/using-vmware-fusion-on-osx/feed/</wfw:commentRss>
		</item>
		<item>
		<title># emerge osx-epic-fail</title>
		<link>http://www.vxrs.com/macintosh/emerge-osx-epic-fail/</link>
		<comments>http://www.vxrs.com/macintosh/emerge-osx-epic-fail/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 18:51:26 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
		
		<category><![CDATA[Macintosh]]></category>

		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=29</guid>
		<description><![CDATA[Gentoo Prefix Bootstrap Process for Mac OS X  has a lengthy walkthrough on getting Gentoo&#8217;s emerge package management system installed onto a Mac OSX system.  Naturally I had to give it a shot!  I&#8217;ve never worked with Gentoo before so I really had no idea what to expect from emerge.
From a few conversations with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml" target="_blank">Gentoo Prefix Bootstrap Process for Mac OS X </a> has a lengthy walkthrough on getting <a href="http://www.gentoo.org" target="_blank">Gentoo</a>&#8217;s emerge package management system installed onto a Mac OSX system.  Naturally I had to give it a shot!  I&#8217;ve never worked with Gentoo before so I really had no idea what to expect from emerge.</p>
<p>From a few conversations with a collegue I learned that I could very easily tailor the build process to my specific environment by customizing the make.conf file for emerge.  Unlike some package management systems that either grab a generic binary for your platform, emerge will pull down the latest source code and compile it directly for your specific machine.  If I recall correctly, the FreeBSD ports collection also works this way, as does Debian&#8217;s apt (although I&#8217;m not sure of the ability to modify machine-specific compile time flags with either system)</p>
<p>The install detailed in the walkthrough (see link above) is a bit sparse on background information such as why call emerge with the oneshot option.  (still not sure about that myself, from the emerge man page: <em>&#8220;Emerge as normal, but do not add the packages to the world profile for later updating&#8221;</em>)  Each of the build steps took a rather long time on the aging <a href="http://www.apple.com/support/powermac/g4/" target="_blank">Mac G4</a> box and I unfortunately kept running into compile errors about 3/4ths of the way through the process.  The process failed trying to compile Autom4te (an M4 replacement for autoconf) due to various reasons (one of which might be a missing perl library)</p>
<p>After stepping through the various stages of the install a couple of times and only getting marginal success, I decided the easiest route would be to script the install process so that I could re-run it at my leisure.  I just grabbed the commands listed in the walkthrough and stuck them in a shell script (no error-checking or anything fancy) which would allow me to set a couple of variables and then re-run the script as often as needed.   The script (and the author&#8217;s walkthrough) relies on another script called &#8216;bootstrap-prefix.sh&#8217; (also available from the walkthrough site) so I created a directory called &#8216;emerge&#8217; and therein placed both the &#8216;bootstrap-prefix.sh&#8217; script and my own &#8217;setup_gentoo_bootstrap_env.sh&#8217; script.</p>
<p>I set my &#8216;EPREFIX&#8217; variable to /usr/local/gentoo, so everytime the process would fail, I could just &#8216;rm -rf /usr/local/gentoo&#8217; and start over.   Since part of the process includes pulling down all the latest sources I figured that if I just waited a week, maybe someone would have found the issue and fixed it.  But alas, as of this morning the process still fails in the same spot.  So I&#8217;ll send a note to the maintainer and see what happens.  Until that time I have to conclude that emerge on OSX constitutes the &#8216;epic-fail&#8217; tag.</p>
<p>After all of this, I finally just grabbed the latest <a href="http://www.macports.org" target="_blank">macports</a> and within minutes I installed several standard software packages.  Both <a href="http://www.macports.org" target="_blank">macports</a> and <a href="http://www.finkproject.org/" target="_blank">fink</a> provide very easy access for OSX to most readily available linux software.  However it does appear at the moment that <a href="http://www.macports.org" target="_blank">macports</a> has been getting more attention and is more supported (at least by comparing the verbage on each of their websites) and even though I&#8217;ve been a big fan of <a href="http://www.finkproject.org/" target="_blank">fink</a> in the past, I went with <a href="http://www.macports.org" target="_blank">macports</a> if for no better reason other than its the one that I haven&#8217;t utilized before.</p>
<p>Code for setup_gentoo_bootstrap_env.sh located after the cut.</p>
<p><span id="more-29"></span></p>
<blockquote><p>#!/bin/sh</p>
<p>export EPREFIX=/usr/local/gentoo<br />
export PATH=&#8221;$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH&#8221;</p>
<p>./bootstrap-prefix.sh $EPREFIX tree<br />
./bootstrap-prefix.sh $EPREFIX/tmp wget<br />
./bootstrap-prefix.sh $EPREFIX/tmp tar<br />
./bootstrap-prefix.sh $EPREFIX/tmp sed<br />
./bootstrap-prefix.sh $EPREFIX/tmp python<br />
./bootstrap-prefix.sh $EPREFIX/tmp gawk<br />
./bootstrap-prefix.sh $EPREFIX/tmp findutils<br />
./bootstrap-prefix.sh $EPREFIX portage</p>
<p>export LDFLAGS=&#8221;-Wl,-search_paths_first -L${EPREFIX}/usr/lib -L${EPREFIX}/lib&#8221;<br />
export CPPFLAGS=&#8221;-I${EPREFIX}/usr/include&#8221;</p>
<p>hash -r</p>
<p>emerge &#8211;oneshot sed<br />
emerge &#8211;oneshot &#8220;&lt;bash-3.2_p33&#8243;<br />
emerge &#8211;oneshot &#8211;nodeps wget</p>
<p>emerge &#8211;oneshot coreutils<br />
emerge &#8211;oneshot findutils<br />
emerge &#8211;oneshot tar<br />
emerge &#8211;oneshot grep<br />
emerge &#8211;oneshot gawk</p>
<p>env FEATURES=&#8221;-collision-protect&#8221; emerge &#8211;oneshot portage</p>
<p>emerge &#8211;oneshot baselayout-prefix</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.vxrs.com/macintosh/emerge-osx-epic-fail/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
