<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Michael Biven</title>
	<atom:link href="http://biven.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://biven.org</link>
	<description></description>
	<lastBuildDate>Fri, 04 Nov 2011 04:02:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='biven.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Michael Biven</title>
		<link>http://biven.org</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://biven.org/osd.xml" title="Michael Biven" />
	<atom:link rel='hub' href='http://biven.org/?pushpress=hub'/>
		<item>
		<title>My time at Occupy Oakland</title>
		<link>http://biven.org/2011/10/31/my-time-at-occupy-oakland/</link>
		<comments>http://biven.org/2011/10/31/my-time-at-occupy-oakland/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 11:10:21 +0000</pubDate>
		<dc:creator>Michael B.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mbiven.wordpress.com/?p=404</guid>
		<description><![CDATA[Since last week my wife and I went to Occupy Oakland three times. Each time she went as a photojournalist and I went out of my own interest. During a small part of our Saturday afternoon there we ended up talking with two “revolutionaries”. It felt like I was debating with FOX news, they continually &#8230;<p><a href="http://biven.org/2011/10/31/my-time-at-occupy-oakland/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=404&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Since last week my wife and I went to Occupy Oakland three times. Each time she went as a photojournalist and I went out of my own interest. During a small part of our Saturday afternoon there we ended up talking with two “revolutionaries”. It felt like I was debating with FOX news, they continually ignored facts and their view of what was happening around them was based on conjecture.</p>
<p>&nbsp;</p>
<p>They both were ignorant of their rights given to them by our constitution. Interesting because one wasn’t even an American, he is a German citizen, though he still gets these rights. And both have taken what the Occupy movement was started over, the uncontrolled greed in Wall Street and unbalanced treatment by the government between the general population and big business, and have co-opt it to meet their view of an “occupational” revolution.</p>
<p>&nbsp;</p>
<p>Because you see the plaza is an “Occupied Zone” where the laws of our country do not apply, except of course when the police come back and they claim their First Amendment rights have been violated. This was the view that they were trying to explain to us. And this and the others there with different agendas if left unchallenged is what could take the spotlight away from the message of the Occupy Wall Street movement.</p>
<p>&nbsp;</p>
<p>My only personal experience with Occupy Wall Street is from my time in Oakland. I&#8217;ve not been to Occupy San Francisco or Zuccotti Park. And to many others Oakland became one of their views into the movement due to the actions taken by the Oakland Police Department last week.</p>
<p>&nbsp;</p>
<p>The people there with different agendas like those we met risk diluting the message that many are enduring hardships to spread. There needs to be people within the movement to step up to provide leadership roles, to become examples to the character of the movement and to represent themselves in society by participating in both our political and financial systems. Otherwise people who may not truly represent those ideals are becoming the face of the movement.</p>
<p>&nbsp;</p>
<p>During the time talking with these two young adults and listening to the others speaking around the plaza we were told many times do not take my picture, or that we&#8217;re racists, the media lies, that we&#8217;re part of the system that is taking their freedoms away. But each of those people while telling us to ignore them I feel all want our attention. They want the attention that their actions bring while they at the same time they say go away or you don’t understand. These actions can push others away from the Occupy movement by having these groups represent Occupy or at the least be the first impression for someone arriving at the plaza.</p>
<p>&nbsp;</p>
<p>The idea that the system is the problem or that we can break it and create a new one is wrong. It isn’t their system, it is our system and as a country we have ignored that fact allowing others to come in and buy it. Our lack of participation in it has created the vacuum that put into place the very things that today we have issues with. We are responsible for the situation the country is in just as much as anyone from Wall Street or government. We have been the silent observer not challenging those who have taken advantage of our silence.</p>
<p>&nbsp;</p>
<p>After the Deepwater Horizon accident information was posted online showing the different business that BP owns and operates and asked that you consider to stop doing business with them. After a few years our memory has softened a bit and most people would not think twice about spending their money at BP.</p>
<p>&nbsp;</p>
<p>We have to continue to exercise our rights and participate in our democracy. That includes voting, both at the ballot box and at the cash register. Just as there are consequences on how you as an individual vote in elections there are as to how you spend your money. Greed alone is not enough for the 1% to amass a large fortune; we actively give it to them and allow policies to continue to assist them in doing so.</p>
<p>&nbsp;</p>
<p>To be clear the issues brought up by the Occupy Wall Street movement line up with my political views, but I hope that leaders in that community appear or I fear it will be lost in the background of the different messages being presented.</p>
<p>&nbsp;</p>
<p>Michael Biven</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/404/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=404&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2011/10/31/my-time-at-occupy-oakland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
		<item>
		<title>Development on Demand with Vagrant</title>
		<link>http://biven.org/2010/04/12/development-on-demand-with-vagrant/</link>
		<comments>http://biven.org/2010/04/12/development-on-demand-with-vagrant/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 03:26:37 +0000</pubDate>
		<dc:creator>Michael B.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mbiven.wordpress.com/?p=390</guid>
		<description><![CDATA[Not too long ago I started setting up some EC2 AMIs and startup scripts for our engineers to use for development and with the addition of Buildout by one of those engineers it became what we referred to as dev-on-demand or &#8220;dod&#8221;. For various reasons we have now since retired the dev-on-demand and just have &#8230;<p><a href="http://biven.org/2010/04/12/development-on-demand-with-vagrant/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=390&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Not too long ago I started setting up some EC2 AMIs and startup scripts for our engineers to use for development and with the addition of <a href="http://www.buildout.org/">Buildout</a> by one of those engineers it became what we referred to as dev-on-demand or &#8220;dod&#8221;. For various reasons we have now since retired the dev-on-demand and just have a number of servers that the engineers can use.</p>
<p>Ideally you should be limited only by the performance of your machine or other resources to quickly fire up one or more virtual servers to work, test or learn with.</p>
<p><a href="http://vagrantup.com/">Vagrant</a> is a tool for doing just that &#8211; to build and deploy virtualized dev environments. By using Oracle&#8217;s <a href="http://www.virtualbox.org/">VirtualBox</a> along with <a href="http://www.opscode.com/chef/">Chef</a> from Opscode,  Vagrant is able to build out something from a simple dev setup to a complex dev environment that you can save, reproduce and then tear it all down when you are done. The reproducible part is something that I would point out if you are part of a team, because you can save standard setups that your team can use as a starting point or share entirely new configuration ideas with them.</p>
<p>And if you find yourself teaching a class or just needing to learn something new on your own Vagrant should be a good pick to use as your classroom. </p>
<p>Two little gotchas that I encountered after installing it on Mac OS 10.6: </p>
<pre>
$ sudo gem install vagrant
$ vagrant box add base http://files.vagrantup.com/base.box
</pre>
<p>When trying to add a new box after installing the Ruby gem I got the following error:</p>
<pre>
/usr/local/lib/ruby/gems/1.8/gems/nokogiri-1.4.1/
lib/nokogiri/nokogiri.bundle: 
dlopen(/usr/local/lib/ruby/gems/1.8/gems/
nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle, 9): 
no suitable image found.  Did find: (LoadError)
</pre>
<p>I had to reinstall Ruby, because of some issue when I upgraded to Snow Leopard. After the reinstall I was able to get past this step and onto setting up Vagrant and starting the server.</p>
<pre>
$ vagrant init
$ vagrant up
</pre>
<p>Until I had this second error:</p>
<pre>
/usr/local/lib/ruby/gems/1.8/gems/
virtualbox-0.5.4/lib/virtualbox/global.rb:122:in `config': 
The path to the global VirtualBox 
config must be set. See Global.vboxconfig= 
(VirtualBox::Exceptions::ConfigurationException)
</pre>
<p>I had just installed VirtualBox (we use VMware Fusion at work) and I hadn&#8217;t used it yet and just needed to run VirtualBox at least once to get <code>vagrant up</code> to work. After that the new box was downloaded, added and started right up.</p>
<p>If you&#8217;re reading this and thinking thats nice, but we use X instead of Ruby, unless you are on a OS that Vagrant doesn&#8217;t support it really shouldn&#8217;t be an issue. At work we are a Python / Django shop and I was able to add a recipe for mod_wsgi and get a simple Django app up and running with no issues. And I&#8217;m sure if I had time a recipe could be expanded to fit our needs to use buildout getting our app onto one or more boxes.</p>
<p>Read more about Vagrant <a href="http://vagrantup.com/docs/getting-started/index.html">here</a> and if you are managing any number of Unix/Linux servers and haven&#8217;t yet heard of <a href="http://www.puppetlabs.com/">Puppet</a> of <a href="http://www.opscode.com/chef/">Chef</a> I&#8217;d encourage you to spend some time with at least one of them. For those on a Mac who might have always wondered <a href="http://biven.org/writing/post/how_mac_os_x_almost_had_an_official_package_management_tool/">why</a> there isn&#8217;t a default package management system on Mac OS X and have been <a href="http://biven.org/writing/homebrew_packages_for_mac_os/">looking</a> for one check out <a href="http://mxcl.github.com/homebrew/">Homebrew</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=390&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2010/04/12/development-on-demand-with-vagrant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
		<item>
		<title>Homebrew package management for Mac OS</title>
		<link>http://biven.org/2009/12/30/homebrew-package-management-for-mac-os/</link>
		<comments>http://biven.org/2009/12/30/homebrew-package-management-for-mac-os/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 03:30:01 +0000</pubDate>
		<dc:creator>Michael B.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mbiven.wordpress.com/?p=393</guid>
		<description><![CDATA[There have been several different package management tools that have appeared for Mac OS &#8211; Fink, MacPorts and now Homebrew. Created by Max Howell former developer at Last.fm (led the work on all of their desktop and mobile software) it has become one of the most popular projects forked on GitHub. Like the others it&#8217;s &#8230;<p><a href="http://biven.org/2009/12/30/homebrew-package-management-for-mac-os/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=393&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There have been several different <a href="/writing/post/how_mac_os_x_almost_had_an_official_package_management_tool/">package management tools</a> that have appeared for Mac OS &#8211; <a href="http://www.finkproject.org/">Fink</a>, <a href="http://www.macports.org/">MacPorts</a> and now <a href="http://github.com/mxcl/homebrew">Homebrew</a>. Created by <a href="http://www.methylblue.com/">Max Howell</a> former developer at Last.fm (led the work on all of their desktop and mobile software) it has become one of the most popular projects forked on GitHub.</p>
<p>Like the others it&#8217;s a simple method of installing open source software, but it is built to keep them in line with software that is already installed either by yourself or the default stuff in Mac OS. This is due to it giving you control over where it&#8217;s installed,a loose policy of not duplicating what is in CPAN, Python Easy_install, pip or Ruby gems and that Homebrew allows you to see what is going on in the background during the install which hopefully encourages you to make changes yourself.</p>
<p>&nbsp;</p>
<h4>Requirements</h4>
<p>If you plan on creating your own fork to add your own formulas you should install the following:</p>
<ul>
<li><a href="http://developer.apple.com/technology/xcode.html">Xcode</a></li>
<li><a href="http://rubycocoa.sourceforge.net/HomePage">RubyCocoa</a></li>
<li><a href="http://git-scm.com/">Git</a> (<a href="http://hivelogic.com/articles/compiling-git-on-snow-leopard/">install instructions for Snow Leopard</a>).</li>
</ul>
<h4>Where To Install</h4>
<p>One advantage of installing it in /usr/local is that it is already in your PATH which lets any future software that you install work with stuff installed by Homebrew and for Homebrew to work with anything you already have there. You can install Homebrew anywhere, but it make sense to have it at /usr/local for the reasons stated above.</p>
<h4>Download And Install</h4>
<p>Grab the latest copy from Max&#8217;s repository on GitHub and place them in /usr/local.</p>
<pre>curl -L http://github.com/mxcl/Homebrew/tarball/master /
| tar xz --strip 1 -C /usr/local</pre>
<p>If you want to create your own fork go to Homebrew&#8217;s GitHub <a href="http://github.com/mxcl/homebrew">page</a> and click &#8220;Fork&#8221;. Now to install at /usr/local run the commands below, but change YOURGITHUBNAME to your github account name.</p>
<pre>cd /usr/local
git init
git remote add origin git://github.com/YOURGITHUBNAME/homebrew.git
git pull origin master</pre>
<h4>Starting Off</h4>
<p>Now Homebrew is installed at /usr/local with the following directories:</p>
<pre>/usr/local/Library/Contributions - contributions
/usr/local/Library/Formula - the formulas
/usr/local/Library/Homebrew - files for Homebrew itself
/usr/local/Cellar - placeholder for items installed by Homebrew 
(they get symlinked to /usr/local/bin, /usr/local/lib etc)</pre>
<p>Two commands you should start off with is search and info.</p>
<p>search &#8211; search to see if there is a formula in the local copy of Homebrew, remember people are adding formulas and they will not find themselves added to Max&#8217;s copy immediately. So check the <a href="http://github.com/mxcl/Homebrew/issues#sort=updated">tickets</a> to see if someone has already created what you are looking for.</p>
<pre>brew search apache</pre>
<p>info &#8211; shows the version of the software that the formula installs, the homepage for the project, dependencies, if it is already installed shows its location and then any caveats (quick and dirty readme) that might be in the formula.</p>
<pre>brew info apachetop</pre>
<h4>There reasons I stopped using Homebrew</h4>
<p>When you install a formula Homebrew does not show you the dependencies and it will install them without prompting you. I don&#8217;t like the idea of having a script making changes that I&#8217;ve not approved of and I shouldn&#8217;t have to open up each formula and follow the dependency path to see what&#8217;s getting installed. It is a common practice to display any additional packages that will be installed by a package management tool like in the example below using Yum.</p>
<p>&nbsp;</p>
<p>The last point I have is more of a personal preference and observation. And that is how Homebrew works with any formula using version control to check out the software in place of downloading a tar file. If you look in formula.rb you will see the checks for the different URL prefixes that common version control systems use and a few that have to include the domain name and path for URLs that are using a common prefix like http or https.</p>
<p>&nbsp;</p>
<p>Adding a regex check for these common URL prefixes will become a management pain in the ass and the user would be better served if the formula would specify the VCS used and if not formula.rb could still default to using the CurlDownLoadStrategy. As more formulas are added using version control additional regex checks would need to be added from time to time and specifying the VCS used in the formula would help keep things simple. And this wouldn&#8217;t require someone to update formula.rb for any new formulas that use a common prefix along with version control. It would already be set.</p>
<p>If neither of these points are an issue for you and you would like to have your package management system use your existing installed software then you should fine Homebrew a good fit.</p>
<p>More information on <a href="http://github.com/mxcl/homebrew">Homebrew</a> and some of the other <a href="/writing/how_mac_os_x_almost_had_an_official_package_management_tool/">package management tools</a> for Mac OS.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/393/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=393&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2009/12/30/homebrew-package-management-for-mac-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
		<item>
		<title>How Mac OS X almost had an official package management tool</title>
		<link>http://biven.org/2009/07/01/how-mac-os-x-almost-had-an-official-package-management-tool/</link>
		<comments>http://biven.org/2009/07/01/how-mac-os-x-almost-had-an-official-package-management-tool/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 03:19:09 +0000</pubDate>
		<dc:creator>Michael B.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mbiven.wordpress.com/?p=376</guid>
		<description><![CDATA[A package management tool is common to most Linux and Unix operating systems to automate installing, updating and removing software. In the early days of Mac OS X there were no such tools available and installing Open Source software usually would require a complex list of steps that created demand for projects like Fink and &#8230;<p><a href="http://biven.org/2009/07/01/how-mac-os-x-almost-had-an-official-package-management-tool/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=376&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A package management tool is common to most Linux and Unix operating systems to automate installing, updating and removing software. In the early days of Mac OS X there were no such tools available and installing Open Source software usually would require a complex list of steps that created demand for projects like <a href="http://www.finkproject.org/">Fink</a> and DarwinPorts (now <a href="http://www.macports.org/">MacPorts</a>) to provide an easier method. The work on these projects gave the Mac community a set of tools that were missing in the OS, returned several improvements that are now used and along the way one of them almost became the official package management tool for Mac OS X.</p>
<p>In the fall of 2006 I started working on an article covering the package management tools available for Mac OS, the Metapkg Alliance and rumors that Apple considered adopting one of the projects as the official package management system for Mac OS. And for the last few years all of those emails and notes have been sitting unused until I decided to pick them backup and piece together what I had started.</p>
<h3>1999 &#8211; 2000</h3>
<p>The first version of Mac OS X was released as OS X Server 1.0 and we saw the public beta which was the first time the Aqua user interface was released to the public. At the end of 2000 <a href="http://chrisp.de/">Christoph Pfisterer</a> started the Fink project, giving OS X it&#8217;s first package management tool.</p>
<h3>2001 &#8211; 2002</h3>
<p>We saw the official release of Mac OS 10.0,  two point releases (10.1 and 10.2), and the creation of two projects OpenDarwin (Apple&#8217;s attempt at helping  development of open source software for OS X and create a standalone version of the Darwin OS) and DarwinPorts (a package management system). With the former being founded by Apple with Internet Systems Consortium and the later including the involvement of a few Apple employees.</p>
<h3>2003</h3>
<p>Started as a way to share information on porting software to the Mac OS, the <a href="http://www.metapkg.org/">MetaPkg Alliance</a> was created between members of Fink, Gentoo and DarwinPorts.</p>
<p><span class="alt">Unofficially</span> Apple considered using Fink as the official package management system, but because of their reluctance of using anything licensed under the GPL, decided to disregard the idea.</p>
<p> Below are the results from the emails and notes left from when I was originally started on this in 2006. The only thing that is edited below is the order that I have placed the quotes to try to show a clear timeline of Apple&#8217;s consideration of adopting Fink as the <span class="alt">offical</span> package management system. I could have fleshed out a bit more information, but I felt that I would never have time to complete it and decided instead to lay out what I have. Hopefully giving a small, but interesting piece of history of early Mac OS X development.</p>
<blockquote><p>&#8220;I suggest you talk to Landon Fuller.  Metapkg was his personal project from the beginning and I don&#8217;t think anyone from OpenDarwin (or Apple) ever got involved at all.  Landon would know the details &#8211; I was one of those who never got involved with it and probably have as many questions about it as you do!&#8221; &#8211; Jordan K. Hubbard, Apple&#8217;s director of engineering for Unix Technologies</p></blockquote>
<blockquote><p>&#8220;When Mac OS X was originally released, porting software to the platform was considerably more difficult than it was today. It was highly unlikely that any mildly complex piece of software would work without (extensive) patching, and MetaPkg was intended to provide a venue for sharing the load of that porting work between Fink, DarwinPorts, and Gentoo.&#8221; &#8211; <a href="http://landonf.bikemonkey.org/">Landon Fuller</a>, former Apple BSD Technology Group engineer and MacPorts developer
</p></blockquote>
<blockquote><p>
&#8220;However, MetaPkg arrived just in time to solve a problem that was disappearing:<br />
       &#8211; Apple improved Mac OS X&#8217;s support for common APIs (eg, dlsym, poll, nls, etc.)<br />
       &#8211; As the UNIX Mac OS X developer community grew, projects were ported to the platform by the upstream developers, and fewer changes were required.</p>
<p>Simply put, the success of Mac OS X, and porting software to Mac OS X, quickly obsolesced the cooperative project. Good news, really.&#8221; &#8211; Landon Fuller
</p></blockquote>
<blockquote><p>
It has also helped that libtool&#8217;s support for OS X has greatly matured (thanks in large part to <a href="http://pogma.com/">Peter O&#8217;Gorman</a>, formerly a Fink core team member). &#8211; David R. Morrison, Fink
</p></blockquote>
<blockquote><p>
&#8220;Wow&#8230; a looooong time ago.  As I remember it, Apple decided to name<br />
one of the package formats/repositories the &#8220;official&#8221; format at WWDC,<br />
very shortly after metapkg was announced, which seemed to go against<br />
the entire spirit of the metapkg alliance.&#8221; &#8211; <a href="http://blog.funtoo.org/">Daniel Robbins</a>, Founder Gentoo
</p></blockquote>
<p>Was there any influence from Apple after the Alliance was announced to consolidate to one format or any other changes to have an &#8220;official&#8221; repository?</p>
<blockquote><p>
&#8220;Not especially. Apple had been struggling with the packaging question long before Kevin Van Vechten, JKH, and I wrote DarwinPorts, and until Apple selected a single packaging format there was little room for them to push for an official repository. DarwinPorts (now MacPorts) has never solved the packaging format question, though we did implement support for a variety of formats &#8212; everything from rpm, to dpkg, to Apple&#8217;s .pkg.&#8221; &#8211; Landon Fuller
</p></blockquote>
<blockquote><p>
&#8220;We got an email from some guy at Apple telling us that one of the<br />
package formats was going to be declared officially supported by Apple<br />
at WWDC.&#8221; &#8211; Daniel Robbins
</p></blockquote>
<blockquote><p>
&#8220;There were indications that Apple was seriously considering adopting one of the open source package management tools as the official one.  (I don&#8217;t remember the timing too well, but it may have been right around the time that Metapkg started.)&#8221; &#8211; David R. Morrison
</p></blockquote>
<blockquote><p>
&#8220;If I remember correctly, I think they chose fink. The whole series of<br />
events didn&#8217;t seem noteworthy to me except to show me that Apple was<br />
being clueless and inappropriate in regards to community efforts, and<br />
that maybe I should focus my time elsewhere.&#8221; &#8211; Daniel Robbins
</p></blockquote>
<blockquote><p>
&#8220;Well, Apple never ended up doing anything about package<br />
management&#8230;  The closest they came was creating dports, and it<br />
actually made it into one of the seeds of panther, but was quietly<br />
removed again, and as we all know by this point, opendarwin and dports<br />
got pretty much ignored except by the few people on the BSD team that<br />
spent their own time on it.  :)&#8221; &#8211; <a href="http://www.racoonfink.com/">Benjamin Reed</a>, Project Admin Fink
</p></blockquote>
<blockquote><p>
&#8220;I&#8217;ve heard some rumors of RPM support in leopard server but hadn&#8217;t<br />
looked into it.  I helped out on the early dports<br />
RPM-binary-generation port, RPM works pretty well on OSX and has the<br />
advantage of having an architecture designed for platform &#8220;variants&#8221;<br />
that should work reasonably well with universal binaries, so it seems<br />
a plausible rumor, if not likely.&#8221; &#8211; Benjamin Reed
</p></blockquote>
<blockquote><p>
&#8220;The most promising code to come out of Apple in regards to a packaging format was <a href="http://code.google.com/p/xar/">Xar</a>, originally written by <a href="http://www.synack.net/~bbraun/">Rob Braun</a> (and contributed to heavily by Kevin Van Vechten), who was also a member of the BSD team at Apple, as well as the fellow responsible for the creation of the OpenDarwin project.&#8221; &#8211; Landon Fuller
</p></blockquote>
<p>Installer.app in Mac OS 10.5 uses xarchives from xar for installing software which replaced the previous method of using gzipped pax files.</p>
<blockquote><p>&#8220;Metapkg post-date&#8217;s any official Apple discussions along the lines of<br />
package management, by the time we formed it, it was for our own<br />
edification &#8211;internal politics had made them punt &#8220;real&#8221; package<br />
management in OSX until some future release, and the Installer.app<br />
team &#8220;won&#8221; for the time being.  We mostly did metapkg to save<br />
ourselves some time, but it turned out to not really work out that<br />
way, so it fell by the wayside, and we all continued on as we had<br />
been.&#8221; &#8211; Benjamin Reed
</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=376&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2009/07/01/how-mac-os-x-almost-had-an-official-package-management-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
		<item>
		<title>2400 miles later</title>
		<link>http://biven.org/2008/11/09/2400-miles-later/</link>
		<comments>http://biven.org/2008/11/09/2400-miles-later/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 03:21:42 +0000</pubDate>
		<dc:creator>Michael B.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mbiven.wordpress.com/?p=382</guid>
		<description><![CDATA[It has been a busy last couple of months for me with a cross country move and a new job. I drove across the country (the third such road trip this year) from Frankfort, KY to Alameda, CA to move in with girlfriend, Bay Area photographer Lane Hartwell. Who I&#8217;ve had a wonderful summer with &#8230;<p><a href="http://biven.org/2008/11/09/2400-miles-later/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=382&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It has been a busy last couple of months for me with a cross country move and a new job.</p>
<p>I drove across the country (the third such <a href="http://flickr.com/photos/michaelbiven/sets/72157608056417570/">road trip</a> this year) from Frankfort, KY to Alameda, CA to move in with girlfriend, Bay Area photographer <a href="http://fetching.net/">Lane Hartwell</a>. Who I&#8217;ve had a wonderful summer with driving twice together cross-country, including driving through parts of Route 66. Driving 2400 plus miles with two cats was a test in patience requiring a stop every four or so hours to give both the cats and me a break. </p>
<p>The new job is working as the systems administrator with <a href="http://www.crowdscience.com/">Crowd Science</a> at their new office in Mountain View ( I do get to telecommute too). It is a great opportunity with plenty of technical challenges to sort out and I&#8217;m getting to work with some really sharp people who genuinely believe in their product and work. Like making real changes in the way online research is done. If you are an online publisher and looking for an audience analytics service take a look at <a href="http://www.crowdscience.com/overview/">Crowd Science Demographics</a>.</p>
<p>The new job included a new MacBook Pro maxed out on memory which makes running some Solaris VMs in Fusion a breeze for testing. Being a Python shop this is letting me get up to speed on it and Django.  I&#8217;ve always had the opinion of eating your own dog food so I&#8217;m planning to build a site using <a href="http://www.blueprintcss.org/">BluePrintCSS</a> as I have it laid out <a href="http://biven.org/">here</a> as a template and migrate over to Django here very soon. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=382&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2008/11/09/2400-miles-later/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
		<item>
		<title>Millennium Falcon Cake: The KY to Maryland run in Less Than Nine Hours</title>
		<link>http://biven.org/2008/07/14/millennium-falcon-cake/</link>
		<comments>http://biven.org/2008/07/14/millennium-falcon-cake/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 16:03:32 +0000</pubDate>
		<dc:creator>michaelb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michael.biven.org/?p=84</guid>
		<description><![CDATA[&#160; Photo by Michael Biven First thanks to everyone who helped pull this off: Mom, Dad, Carrie, Lane, Kegan, Biddy, Tom, Charm City Cakes, the staff at Tsunami’s Baltimore and everyone who showed up. Without these people the event wouldn’t have happened, the cake would not have been made and I would have probably had &#8230;<p><a href="http://biven.org/2008/07/14/millennium-falcon-cake/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=84&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://mbiven.files.wordpress.com/2008/07/mf-cake.jpg"><img class="alignnone size-full wp-image-372" title="mf-cake" src="http://mbiven.files.wordpress.com/2008/07/mf-cake.jpg?w=545" alt=""   /></a></p>
<p>Photo by <a href="http://michael.biven.org">Michael Biven</a></p>
<p>First thanks to everyone who helped pull this off: Mom, Dad, Carrie, Lane, Kegan, Biddy, Tom, Charm City Cakes, the staff at Tsunami’s Baltimore and everyone who showed up. Without these people the event wouldn’t have happened, the cake would not have been made and I would have probably had a heart attack from stressing out trying to have everything work out. Thank you all big time!</p>
<p>UPDATE 7/15 Charm City Cakes emailed me today to say they are glad the cake was a hit and that it should appear in an episode in September.</p>
<p>A little over four months ago I started hatching a plan to surprise my brother Brian with a birthday party at Tsunami’s in Baltimore. The idea was to have some family and friends to come in from his home town of Louisville to surprise him with his friends in Maryland and a cake from Charm City Cakes. With Brian’s job and CCC both in Baltimore it seemed like the perfect over the top way to celebrate his birthday. The original idea for the cake was a simple round cake with some type of collage of little bits of his life; music (he plays in a couple of local bands), Tsunami’s (he manages and helped open the Baltimore location) and Star Wars (from his childhood). After talking with Mary Alice at CCC the idea of doing the Millennium Falcon was brought up and after thinking it over that is what we stuck with.</p>
<p>Brian tried very hard to wreck the plans twice. Originally he told me he was going to be working on his birthday which was going to make it hard to smuggle everyone into the restaurant plus the cake. Later I found out he had the day off and had a show scheduled with one of his bands, but with Carrie’s help we were able to get that show cancelled. Then he tells me he was thinking about leaving the restaurant and moving back to Louisville, I had to ask him to not rush into anything and at least wait till after his birthday since I had not seen the Baltimore location (there is a Tsunami&#8217;s in Annapolis as well). The last thing that complicated things was that Lane and I had to drive in that morning from Kentucky and the GPS unit was not set correctly for DST and was showing us an incorrect arrival time. It was our responsibility to get Brian there at 6 PM and CCC was scheduled to be there about 6:15. A few frantic phone calls later with Lane’s, Carrie’s and Mary Alice&#8217;s help everything was taken care of and we arrived with Brian a bit late surprising him with a group of close family and friends and a very kick ass cake!</p>
<p>Keep an eye out for the episode later this year on Ace of Cakes. I have a feeling that it will be the one were Duff is in Louisville delivering a cake to the Lebowski Fest. Brian was great on camera, but for myself I don&#8217;t think they ever had a person who will be blipped so much in what gets aired. I was a bit excited, relieved and that was the first and last surprise party I ever organize.</p>
<p>Added for those viewing this in a feed reader and not seeing the comments. As Lane pointed out the cake was chocolate cherry with the cockpit and several of the other details made out of a very dense rice krispie treat. There was a couple of wooden dow rods to keep two pieces of the cake attached and it was mounted on a pedestal to give the look it was in flight. We did start to wonder how we would cut the cake, but Lane had the great idea to grab a knife from one of the sushi chefs there and as soon as it was in Brian’s hands he had no problem dismantling the ship. Another comment or assumption made by people is that it would not taste as good as it looked, while fondate isn’t the best the cake and the rice krispie tasted great. I don’t remember seeing anyone without a smile eating the cake and even with the large amount of fondate there was plenty of cake to go around.</p>
<p>Thanks for the comments, it was a great addition to Brian’s surprise party and to a very long week. Lane and I drove from San Francisco, CA to Louisville, KY; got a few days break and then drove from Kentucky to Annapolis, MD to check into our hotel, grab Brian and rush out to the restaurant in Baltimore.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mbiven.wordpress.com/84/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mbiven.wordpress.com/84/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=84&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2008/07/14/millennium-falcon-cake/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>

		<media:content url="http://mbiven.files.wordpress.com/2008/07/mf-cake.jpg" medium="image">
			<media:title type="html">mf-cake</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrating WordPress to a different domain or server</title>
		<link>http://biven.org/2008/01/31/migrating-wordpress-to-a-different-domain-or-server/</link>
		<comments>http://biven.org/2008/01/31/migrating-wordpress-to-a-different-domain-or-server/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 20:12:19 +0000</pubDate>
		<dc:creator>michaelb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michael.biven.org/2008/01/31/migrating-wordpress-to-a-different-domain-or-server/</guid>
		<description><![CDATA[Two common questions I see both at work and from friends is how best to migrate a WordPress site from one server to another or how to go about changing the Domain Name. There are four different scenarios that will affect the changes you would be making: Changing the Domain Name only or in combination &#8230;<p><a href="http://biven.org/2008/01/31/migrating-wordpress-to-a-different-domain-or-server/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=78&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Two common questions I see both at <a href="http://laughingsquid.net/">work</a> and from friends is how best to migrate a WordPress site from one server to another or how to go about changing the Domain Name. There are four different scenarios that will affect the changes you would be making:</p>
<p>Changing the Domain Name only or in combination with one of the scenarios below<br />
Moving from one self-installed server to another self-installed server<br />
Moving from a self-installed server to WordPress.com<br />
Moving from WordPress.com to a self-installed server</p>
<p>Below are the steps that I suggest including backups, starting DNS changes, configuring the new server, database import and changes, verifying the new server, final DNS changes, 301 redirects and final verification. I will point out which applies to each of the different scenarios and also briefly go over a few tools that can help at the end of the guide. Remember though I don&#8217;t expect anything bad to happen this guide is completely use at your own risk and I do not take responsibility for anything resulting from following them.</p>
<h3>Backup:</h3>
<p>(applies to all four scenarios)</p>
<p>The very first thing to do is make a complete backup of the existing site for a few different reasons. First if you really do care about the work and effort you are putting into your site take the extra time to backup it up on some sort of regular schedule. Next is that we are about to make changes to the site and you will want a recent (as in the day your making the changes) backup to fall back on just in case something goes awry. And if you are moving from a self-installed copy of WordPress to another you will already have a copy of the plugins, themes and uploads to copy over to the new server. You do already have a <a href="http://michael.biven.org/2008/01/23/optimizing-performance-for-wordpress/">current copy of WordPress and any plugins</a> you have installed right?</p>
<p>So now on to backing up your site. I would suggest that you follow <a href="http://lorelle.wordpress.com/2005/09/20/backing-up-wordpress/">Lorelle&#8217;s guide</a> to create a backup for WordPress and keep in mind the XML export would be needed if you are migrating from or to WordPress.com.</p>
<h3>First set of DNS changes:</h3>
<p>(applies to all four scenarios)</p>
<p>Try to make the following changes in DNS at least 24 hours before you plan to switch to the new domain name or server. Drop the Time To Live (TTL) for the A record that the blog uses down to something like 300 (make note of it&#8217;s original setting since you will need to change it back later). The TTL is in seconds so the 300 is equal to 5 minutes. During the migration to the new server you will be getting a new IP address, this way the TTL is dropped and since you made the change at least 24 hours before your migration you should only be looking at a 5 minute hiccup during the switch to the new server.</p>
<h3>Configuring the new server:</h3>
<p>(applies to all four scenarios)</p>
<p>Next on the new server go ahead and complete the basic install of WordPress. If you are moving to WordPress.com configure the new site, keep it set to private, but do not enable the domain alias at this point (under Options &gt; Domains). For self-installed copies of WordPress depending on what type of access you have with the server you may need to edit your <a href="http://en.wikipedia.org/wiki/Hosts_file">hosts file</a> on your local computer to complete the install since you do not have DNS pointing to the new IP address, specifically when you run the file wp-admin/install.php.</p>
<h3>Importing the data:</h3>
<p>(applies to all four scenarios)</p>
<p>Now that we have the basic WordPress site completed it is time to import the data (posts, comments, pages) into the new server. Remember if you will be changing the Domain Name as well you will need to make the necessary changes in two tables in the database which I will go over at the end of this step.</p>
<p>If you are moving from one self-installed copy of WordPress to another use the backup of the database to create a new database on the new server. You will need to recreate the database user and edit the file wp-config.php to reflect any changes in the database name, user and password.</p>
<p>If you are moving to or from  WordPress.com you will only be able to import the data to the new server from the XML export you created earlier. From the dashboard at the new WordPress.com site go to Manage &gt; Import and then select WordPress. You will then be prompted to browse to the location of the XML from the previous export. Also when importing the file you will be asked if you want to change the author for the posts and drafts you are importing.</p>
<p>If you have changed the domain name used for the site and used the database backup to import your data you will need to make changes to two different tables. We need to change the  Blog Address (URL), WordPress Address (URL) and the GUID for the posts. The Blog Address is listed as siteurl in the field option_name and the WordPress Address is home in the same field. You can use either phpMyAdmin or mysql if you have shell access, but the examples I give will be using phpMyAdmin.</p>
<p>The first two fields are located in the tables wp_options. After logging into phpMyAdmin click on the name of the database in the left hand side (you will need to select it form the drop down box if you have multiple databases) and then click on the SQL tab at the top of the page. In the &#8220;Run SQL query/queries&#8221; text box enter the following and press &#8220;Go&#8221; to change the Blog Address (URL):</p>
<pre>UPDATE wp_options SET option_value =</pre>
<pre>replace(option_value, 'http://old.domain.com', 'http://new.domain.com')</pre>
<pre>WHERE option_name = 'home';</pre>
<p>And to change the WordPress Address (URL):</p>
<p>(remember if you have your WordPress files in its own <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">separate directory</a> this URL will be different than the Blog Address)</p>
<pre>UPDATE wp_options SET option_value =</pre>
<pre>replace(option_value, 'http://old.domain.com', 'http://new.domain.com')</pre>
<pre>WHERE option_name = 'siteurl';</pre>
<p>To update the GUID with the new domain name enter:</p>
<pre>UPDATE wp_posts SET guid = replace(guid, 'http://old.domain.com','http://new.domain.com');</pre>
<p>And for any links to other pages or posts internally in your site with absolute URLs:</p>
<pre>UPDATE wp_posts SET post_content =</pre>
<pre>replace(post_content, 'http://old.domain.com', 'http://new.domain.com');</pre>
<p>Now that we have the data over get your theme and any plugins that you will be using configured on the new site.</p>
<h3>Checking our work up to this point:</h3>
<p>(applies to all four scenarios)</p>
<p>At this point you should have the new site up and running on the new server, but before we make it live by updating DNS with the new IP address or enabling the domain alias in WordPress.com you should take a moment to verify (thanks to the edit to the hosts file) that everything looks and behaves correctly. Consider viewing the site both while you are logged in as an admin and while logged out. You won&#8217;t be able to view a WordPress.com site while logged out unless you create a new user account and grant it permissions to access the site under Options &gt; Privacy.</p>
<h3>Final changes to DNS:</h3>
<p>(applies to all scenarios)</p>
<p>After you are satisfied with the new install make the final change to DNS by either changing the A record or enabling the domain alias in WordPress.com. The changes for the A record includes updating it with the new IP address and changing the TTL back to it&#8217;s original setting.</p>
<h3>301 redirects:</h3>
<p>(applies to scenarios where the domain name changes)</p>
<p>So you just changed the domain name for the site and you might be asking yourself what about any links to the old domain name that are still getting spit out by search engines. You can take care of this with a simple .htaccess file in the root of your old domain names web server. Simply create or edit the file to include the following:</p>
<pre>RedirectMatch permanent (.*) http://new-doamin.com$1</pre>
<p>This will send any links to the old domain to their corresponding page at the new domain name as long as you do not make changes in the permalink structure. The longer you can leave this the better, but you should start seeing search engines updating with the new link, because we used a permanent redirect.</p>
<h3>Final checks:</h3>
<p>(applies to all scenarios)</p>
<p>It would be easy to think you&#8217;re done and stop right here, but I would suggest a couple more checks. Though you might have to wait a few hours or a day depending on how you made your DNS changes, take advantage of <a href="http://www.google.com/webmasters/start/%23utm_source=en-et-wc&amp;utm_medium=et&amp;utm_campaign=sitemaps-us-wc">Google&#8217;s Webmaster tools</a>, the <a href="http://feedvalidator.org/">Feed Validator</a>, or <a href="http://siteexplorer.search.yahoo.com/">Yahoo! Site Explorer</a> to verify your sites robots.txt, sitemap, and any errors that they encounter with your site or feed. Also keep an eye on your bandwidth after the change just in case you have misconfigured something that is causing any problems with the site making calls to itself (ie using the RSS widget to load its own RSS feed) or anything else that we might not think of at the moment.</p>
<h3>Closing and additional tools to help:</h3>
<p>If you are planning on moving your site I hope you&#8217;ve found this guide useful, good luck and enjoy.</p>
<p>A few additional tips to help you check things as you go or troubleshoot (hopefully not) any problems.</p>
<h4>Flush your local DNS cache:</h4>
<p>In addition to making the changes in your local compuaters hosts file you may need to clear out your local DNS cache.</p>
<p>Mac OS 10.4 and older:</p>
<pre>lookupd -flushcache</pre>
<p>Mac OS 10.5:</p>
<pre>dscacheutil -flushcache</pre>
<p>Windows XP and newer (might work on Windows 2000):</p>
<pre>ipconfig /flushdns</pre>
<h4>Query DNS servers with dig:</h4>
<p>Being able to query the DNS server you are using or others is another handy skill to have when your mucking around in your sites DNS. On a Mac running OS X or Linux you can query your&#8217;s and other DNS server to see what they have listed for your domain using dig.</p>
<p>check your current DNS server for the A record</p>
<pre>dig domain.com</pre>
<p>check your current DNS server for the MX record</p>
<pre>dig domain.com mx</pre>
<p>check your current DNS server for the A record on a subdomain</p>
<pre>dig sub.domain.com</pre>
<p>check a different DNS server for the A record</p>
<pre>dig @DNS.server.com domain.com</pre>
<p>check a different DNS server for the MX record</p>
<pre>dig @DNS.server.com domain.com mx</pre>
<p>check a different DNS server for the A record on a subdomain</p>
<pre>dig @DNS.server.com sub.domain.com</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mbiven.wordpress.com/78/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mbiven.wordpress.com/78/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=78&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2008/01/31/migrating-wordpress-to-a-different-domain-or-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
		<item>
		<title>Optimizing performance for WordPress</title>
		<link>http://biven.org/2008/01/23/optimizing-performance-for-wordpress/</link>
		<comments>http://biven.org/2008/01/23/optimizing-performance-for-wordpress/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 02:17:43 +0000</pubDate>
		<dc:creator>michaelb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michael.biven.org/2008/01/23/optimizing-performance-for-wordpress/</guid>
		<description><![CDATA[Taking responsibility of your WordPress site by keeping it up to date to the latest version and managing it&#8217;s load on the server hosting it is just as important as the content you&#8217;re writing for it. Security updates, performance improvements and other bug fixes will help keep your site running smoothly, but there are a &#8230;<p><a href="http://biven.org/2008/01/23/optimizing-performance-for-wordpress/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=75&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Taking responsibility of your WordPress site by keeping it up to date to the latest version and managing it&#8217;s load on the server hosting it is just as important as the content you&#8217;re writing for it. Security updates, performance improvements and other bug fixes will help keep your site running smoothly, but there are a few other steps you can take to improve it&#8217;s performance.</p>
<h3>Keeping WordPress in check:</h3>
<p>First thing is to make sure your install is current. It&#8217;s amazing the number of sites that you can come across that are still running older versions even with great tools like the <a href="http://techie-buzz.com/wordpress-plugins/wordpress-automatic-upgrade-plugin.html">WordPress Automatic Upgrade</a> plugin written by Keith Dsouza of Techie Buzz which is a very simple way to update your site. It will backup your sites files and database, download the latest version of WordPress, place the site in maintenance mode (a simple splash screen), de-activate all plugins, updates WordPress and then reactivates the plugins after you have clicked the upgrade link. This step is probably one of the most missed tasks in maintaining your WordPress site and remember we&#8217;re not just talking about performance improvements here, but also keeping it update to any available security patches and preventing exploits like <a href="http://ma.tt/2007/11/al-gore-hacked/">adding spam</a> or <a href="http://laughingsquid.com/wordpress-232-urgent-security-release/">reading</a> copies of your saved drafts.</p>
<h3>Caching in WordPress:</h3>
<p>After making sure you have the latest version installed using caching is one of the simplest ways to improve your sites load times and also help reduce its load on the server. Donncha O Caoimh&#8217;s <a href="http://ocaoimh.ie/wp-super-cache/">WordPress Super Cache</a> plugin is an improved version of the <a href="http://mnm.uib.es/gallir/wp-cache-2/">WP-Cache 2</a> plugin by Ricardo Galli Granda. One improvement is that unlike the WP-Cache 2 plugin Super Cache will actually create a static HTML page instead of still having some PHP calls when served from the cache. It will serve simple HTML without having to use any PHP as long as the user visiting the site is not logged in or has not posted a comment. If they have commented or are logged in and tries to load a cached page the normal WP-Cache function will serve the page, but one of the best features of this plugin is the &#8220;LockDown&#8221; button. This will prevent the cache files from being deleted when a new comment is made. So if you think a post of yours is going to get hit by Digg or Slashdot you can have the server ready for the traffic or simply enable this after noticing any high traffic.</p>
<h3>Comment and Pingback Spam:</h3>
<p>Besides being just plain annoying comment and pingback spam can actually increase the load generated by your site. First make sure you are using the Akistmet plugin that comes with WordPress, then take a look at the using the comment blacklist feature under Options &gt; Discussion. This will help reduce the number of spam that finds its way into your comments and pingbacks, but we also want to prevent blatant spam from posting at all to keep your queue of stuff marked as such as low as possible. To do that you can add some additional lines to your sites .htaccess file that I found at <a href="http://perishablepress.com/press/2006/11/20/block-spam-by-denying-access-to-no-referrer-requests/">Perishable Press</a>. By adding the rule found at the previous link you can keep any spammer from directly calling the file wp-comments-post.php to post a comment. If you do find that you have a large number of items marked as spam (hundreds or more of pages when you got to Comments &gt; Akismet Spam) keep in mind that Akismet will automatically delete messages marked as spam greater than 15 days old. Depending on how your sever is performing it&#8217;s possible you might see the site slow down while its deleting all of those items marked as spam (a little later I&#8217;ll show you a tool that will help see what is going on in the background).</p>
<h3>Offload as much as possible:</h3>
<p>Any images, videos, audio,  CSS and JavaScript files that you are serving from your server increase the number of requests that the web browser makes each time it loads your site. The good thing is that there are some very simple alternatives to place these files on a different server that is configured especially to serve static files. Instead of just using the obvious services from Flickr and YouTube for images and videos you can also use services like <a href="http://www.amazon.com/gp/browse.html?node=16427261">Amazon&#8217;s S3</a> to serve the CSS and any JavaScript files that your site is using. Also take a look at any additional JavaScript that you are adding for statistics, ads, calendars or basically any other information your are adding to it that is not a post or page. Consider using a web statistics product that is hosted on a different server (Google Analytics) instead of one that is served from your site like Mint for example. Other web stats tools like AWStats and Webalizer don&#8217;t actually place any scripts on the site, but instead use the web servers access logs to generate the statistics, either of these tools would allow you  to remove a call to any type of a webstats tool, but remember these are generally created from a scheduled job that is run and would not provide you with any type of real time reporting.</p>
<h3>Pruning the Plugins:</h3>
<p>If there are any plugins that you are not using you should deactivate and remove them from the wp-contents/plugins directory. After that take a close look at each plugin and try to determine the value your site gets out of it and what actually goes on in the background when the it is used. In the next section I&#8217;ll briefly go over a few tools that you can use, but remember to check both the <a href="http://codex.wordpress.org/Main_Page">WordPress Codex</a>, <a href="http://wordpress.org/support/">forums</a> and the plugins site as some of the question you&#8217;re about to ask may already been answered. If the plugin actually interacts with the database look at the number of queries that it is sending to it and try to determine if it using any type of caching or can be rewritten without using the database. If you are lucky enough to find a way to improve it&#8217;s performance make sure to submit a patch to the plugins author to allow others to benefit from your hard work.</p>
<h3>How to see what is going on:</h3>
<p>Here are a few tools you can use to see what is going on in the background on the web server your site is hosted on.</p>
<h4>Firebug</h4>
<p>A Firefox <a href="http://www.getfirebug.com/">add-on</a> giving you tools to edit, troubleshoot and view CSS, HTML and JavaScript in real time for a web page. Allowing you to see the load times and sizes of individual files (images, CSS and JavaScript) it can help pin down what is slowing down a site.  And if you add the <a href="http://developer.yahoo.com/yslow/">YSlow</a> add-on from the Yahoo Developer Network it will integrate with Firebug to give you some feedback on your sites performance and some suggestions on how to improve things.</p>
<h4>LiveHTTPHeaders</h4>
<p>Another FireFox add-on <a href="https://addons.mozilla.org/en-US/firefox/addon/3829">LiveHTTPHeaders</a> will display the http headers showing you any redirects, sessions, cookies, compression or caching that may be happening when viewing your site.</p>
<h4>Mytop</h4>
<p>To see what queries are running in your database you could use <a href="http://jeremy.zawodny.com/mysql/mytop/">mytop</a> which is similar to the Top command, but looks at MySQL instead. This tool would require that you have shell access and the ability to install it if it is not already there, but it&#8217;s a great way to see real time what your sites is asking the database for and to do.</p>
<h4>Access / Error logs</h4>
<p>Looking at your web servers access and error logs can give you a great deal of information. Being able to see any web server or PHP errors, where all of that traffic is coming from if the site starts to crawl to a halt from high traffic, if it is getting crawled or scraped by a bot, and can show suspicious activity.  If you see a problem or suspect something unusual is happening these logs should be one of the first places you look.</p>
<h4>Phpinfo</h4>
<p>And don&#8217;t forget to take a look at how PHP is setup by using phpinfo. Create a file called phpinfo.php and enter only the following in it:</p>
<p>&lt;?php</p>
<p>phpinfo();</p>
<p>?&gt;</p>
<p>Save that and place it in your sites directory on the web server and you will be able to view the options, extensions, and a slew of additional information on PHP and the web server when you load the file in your web browser.</p>
<p>OK, that was a basic overview of some steps I take to optimize a WordPress site (or any site for that matter), but don&#8217;t forget another way to keep things humming along would be to consider actually hosting it on <a href="http://wordpress.com/">WordPress.com</a>. Hopefully these steps will point you in the right direction to improving your site performance.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mbiven.wordpress.com/75/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mbiven.wordpress.com/75/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=75&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2008/01/23/optimizing-performance-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
		<item>
		<title>Preparing companies for large scale epidemics or emergencies.</title>
		<link>http://biven.org/2006/05/03/preparing-companies-for-large-scale-epidemics-or-emergencies/</link>
		<comments>http://biven.org/2006/05/03/preparing-companies-for-large-scale-epidemics-or-emergencies/#comments</comments>
		<pubDate>Wed, 03 May 2006 13:06:20 +0000</pubDate>
		<dc:creator>michaelb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michael.biven.org/?p=226</guid>
		<description><![CDATA[Today the Bush Administration will release a draft of their Pandemic Flu Plan to the public and it appears that the Private sector, State and Local governments are on their own on how they are to deal with such an event. Whether if you believe that the Bird Flu is not the end of the &#8230;<p><a href="http://biven.org/2006/05/03/preparing-companies-for-large-scale-epidemics-or-emergencies/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=40&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p class="MsoNormal">Today the Bush Administration will <a href="http://www.npr.org/templates/story/story.php?storyId=5378481">release</a> a draft of their Pandemic Flu Plan to the public and it appears that the Private sector, State and Local governments are on their own on how they are to deal with such an event. Whether if you believe that the Bird Flu is <a href="http://arstechnica.com/journals/science.ars/2005/10/18/1547">not</a> the end of the world or not, it has gotten some companies to start looking at plans on how to deal with such events and keep their business and services going. <a href="http://www.oreillynet.com/pub/au/213">Brian McConnell</a> has <a href="http://www.oreillynet.com/pub/a/etel/2006/05/02/for-sars-press-one.html">written</a> <a href="http://www.oreillynet.com/pub/a/etel/2006/05/02/building-teleconference-system-with-asterisk-and-gizmo.html">three</a> <a href="http://www.oreillynet.com/pub/a/etel/2006/05/02/how-to-implement-telecommuting-in-a-hurry.html">articles</a> that cover preparations for large scale telecommuting in response to large scale epidemics or emergencies. Defiantly worth the time to read and think how your organization would respond to such an event.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mbiven.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mbiven.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mbiven.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mbiven.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biven.org&#038;blog=83425&#038;post=40&#038;subd=mbiven&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biven.org/2006/05/03/preparing-companies-for-large-scale-epidemics-or-emergencies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">michaelb</media:title>
		</media:content>
	</item>
	</channel>
</rss>