<?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>BigDiver</title>
	<atom:link href="http://bigdiver.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bigdiver.wordpress.com</link>
	<description>Dive away, explore the net...</description>
	<lastBuildDate>Tue, 24 Jan 2012 02:00:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bigdiver.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>BigDiver</title>
		<link>http://bigdiver.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bigdiver.wordpress.com/osd.xml" title="BigDiver" />
	<atom:link rel='hub' href='http://bigdiver.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Working with Ruby Version Manager</title>
		<link>http://bigdiver.wordpress.com/2011/11/24/working-with-ruby-version-manager/</link>
		<comments>http://bigdiver.wordpress.com/2011/11/24/working-with-ruby-version-manager/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 18:10:44 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[gemset]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rvm]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=329</guid>
		<description><![CDATA[You should first install the Ruby Version Manager (RVM), you can follow my other article on how to do it and get the latest version of Ruby and Rails working on your Mac. Once you have RVM you can change Ruby versions at will. For a full documentation of RVM you can go the the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=329&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You should first install the Ruby Version Manager (RVM), you can follow <a title="Update Ruby and Rails on Mac OS X" href="http://bigdiver.wordpress.com/2011/11/24/update-ruby-and-rails-on-mac-os-x/">my other article</a> on how to do it and get the latest version of Ruby and Rails working on your Mac.</p>
<p>Once you have RVM you can change Ruby versions at will. For a full documentation of RVM you can go the the <a title="Ruby Version Manager" href="http://beginrescueend.com/">website</a>.</p>
<p>This article is in no way a full on manual but a set of quick tips on how to get going, and best practices. So we&#8217;ll see how to:</p>
<ol>
<li>Choose a Ruby version</li>
<li>Gemsets and their basic functionality</li>
<li>How to use gemsets with rails projects</li>
</ol>
<h2>Choose a Ruby Version</h2>
<p>To select a working version of Ruby you can do</p>
<p><code><br />
bigdiver$ rvm use 1.9.3<br />
Using /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0<br />
</code></p>
<p>Then you can verify that you&#8217;re really using that version by running</p>
<p><code><br />
bigdiver$ ruby -v<br />
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]<br />
bigdiver$ which ruby<br />
/Users/bigdiver/.rvm/rubies/ruby-1.9.3-p0/bin/ruby<br />
</code></p>
<p>Notice that we&#8217;re using the ruby installed in the user&#8217;s home directory (<em>~/.rvm</em>)and not the system&#8217;s which is in <em>/usr/bin</em>.</p>
<h2>Gemsets</h2>
<p>The next thing to get familiar with are <em>gemsets</em>. RVM gives you a compartmentalized ruby environment that is independent of the other versions on the system. This is great because it gives you full control over the gem, or package, versions your projects needs to function properly.<br />
A huge part of that compartmentalization are the RVM <em>gemsets</em>. <em>Gemsets</em> are groups of Ruby Gems, that are associated with a version of ruby managed by RVM. You can think of them as gem repositories. You should have one <em>gemset</em> per project, and that&#8217;s where RVM really shines, because it makes the process really easy.</p>
<p>You can list the existing gemsets with the command</p>
<p><code><br />
bigdiver$ rvm gemset list</code></p>
<p>gemsets for ruby-1.9.3-p0 (found in /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0)<br />
global</p>
<p>At this point, and if you just installed RVM you should only have one <em>global gemset</em>, you can choose by using the command <em>gemset use</em></p>
<p><code><br />
bigdiver$ rvm gemset use global<br />
Using /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0 with gemset global<br />
bigdiver$ rvm gemset name<br />
global<br />
bigdiver$ rvm gemset list</code></p>
<p>gemsets for ruby-1.9.3-p0 (found in /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0)<br />
=&gt; global</p>
<p>Both <em>gemset name</em> and <em>gemset list</em> show the current gemset.</p>
<p>To create a gemset you run the command</p>
<p><code><br />
bigdiver$ rvm gemset create repo1<br />
'repo1' gemset created (/Users/bigdiver/.rvm/gems/ruby-1.9.3-p0@repo1).<br />
bigdiver$ rvm gemset use repo1<br />
Using /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0 with gemset app4<br />
</code></p>
<p>Easy. Repo1 gemset was created and selected for use. Notice the notation <em>1.9.3@repo1</em>? This indicates that we created the repo1 gemset &#8220;under&#8221; or &#8220;at&#8221; the &#8220;1.9.3&#8243; ruby version. By default RVM creates the gemset under the current ruby version (the one you chose with <em>rvm use</em> command).</p>
<p>You can abbreviate the two commands above with the <em>&#8211;create</em> option.</p>
<p><code><br />
bigdiver$ rvm --create 1.9.3@repo2<br />
bigdiver$ rvm gemset list</code></p>
<p>gemsets for ruby-1.9.3-p0 (found in /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0)<br />
repo1<br />
=&gt; repo2<br />
global</p>
<p>As you can see the hash-rocket (=&gt;) now points to the newly created <em>repo2</em> indicating that it is the selected <em>gemset</em>.</p>
<p>All the <em>gem</em> operations you make, like <em>gem install</em>, etc will only affect the current <em>gemset</em>.</p>
<p>The exception to this is the global gemset, which as the name indicates, is global to the ruby version in use. So all the <em>gems</em> installed to <em>global</em> will be available in all other <em>gemsets</em> created under this version. This is a very good thing since it saves us a lot of time and work when creating new projects.</p>
<h2>Using Gemsets with Rails</h2>
<p>I usually create a rails directory where all the projects go. And create a gemset per project. You should create the gemset and select it before creating the new rails application.</p>
<p>Let&#8217;s do it:<br />
<code><br />
bigdiver$ mkdir ~/work/rails/<br />
bigdiver$ cd ~/work/rails<br />
bigdiver$ rvm --create app1<br />
bigdiver$ rails new app1<br />
</code></p>
<p>If <em>rvm</em>, <em>ruby</em> and <em>rails</em> were properly installed all the commands should run without error, and the Bundler will install a bunch of new gems into the <em>app1 gemset</em> repository.</p>
<p>Now you&#8217;re ready for some RVM magic! Lets create a <em>.rvmrc</em> file so that RVM changes to the <em>app1 gemset</em> as soon as we enter, or <em>cd</em>, to the <em>app1</em> directory.</p>
<p><code><br />
bigdiver$ cd app1<br />
bigdiver$ rvm --rvmrc 1.9.3@app1<br />
</code></p>
<p>Again we&#8217;re using the @ syntax. This creates a .rvmrc file in the current directory, which was ~/work/rails/app1. Now all you need to do is exit from the directory and jump back in again.</p>
<p><code><br />
bigdiver$ cd ..<br />
bigdiver$ cd app1</code></p>
<p>==============================================================================<br />
= NOTICE =<br />
==============================================================================<br />
= RVM has encountered a new or modified .rvmrc file in the current directory =<br />
= This is a shell script and therefore may contain any shell commands. =<br />
= =<br />
= Examine the contents of this file carefully to be sure the contents are =<br />
= safe before trusting it! ( Choose v[iew] below to view the contents ) =<br />
==============================================================================<br />
Do you wish to trust this .rvmrc file? (/Users/bigdiver/work/rails/app1/.rvmrc)<br />
y[es], n[o], v[iew], c[ancel]&gt; Yes</p>
<p>Answer Yes to trust the current <em>.rvmrc</em> file, and you&#8217;re done. Now every time you change to the app1 directory the <em>1.9.3@app1 gemset</em> is selected automatically. Nice!</p>
<p>I also create a <em>.rvmrc</em> file in the rails directory that points to the g<em>lobal gemset</em>, so when I want to install gems globally all i need to do is <code>cd ..</code> from any project.</p>
<p><code><br />
bigdiver$ cd ..<br />
bigdiver$ rvm --rvmrc 1.9.3@global<br />
bigdiver$ cd ..<br />
bigdiver$ cd rails<br />
==============================================================================<br />
= NOTICE =<br />
==============================================================================<br />
= RVM has encountered a new or modified .rvmrc file in the current directory =<br />
= This is a shell script and therefore may contain any shell commands. =<br />
= =<br />
= Examine the contents of this file carefully to be sure the contents are =<br />
= safe before trusting it! ( Choose v[iew] below to view the contents ) =<br />
==============================================================================<br />
Do you wish to trust this .rvmrc file? (/Users/bigdiver/work/rails/global/.rvmrc)<br />
y[es], n[o], v[iew], c[ancel]&gt; yes<br />
Using: /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0@global<br />
</code></p>
<p>Try it out</p>
<p><code><br />
bigdiver$ cd app1<br />
Using: /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0@app1<br />
bigdiver$ cd ..<br />
Using: /Users/bigdiver/.rvm/gems/ruby-1.9.3-p0@global<br />
</code></p>
<p>Neat.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=329&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2011/11/24/working-with-ruby-version-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
		<item>
		<title>Update Ruby and Rails on Mac OS X</title>
		<link>http://bigdiver.wordpress.com/2011/11/24/update-ruby-and-rails-on-mac-os-x/</link>
		<comments>http://bigdiver.wordpress.com/2011/11/24/update-ruby-and-rails-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 11:54:00 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[install ruby]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rvm]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[version manager]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=319</guid>
		<description><![CDATA[The system version of Ruby is a bit outdated. In order to update it you should install the Ruby Version Manager or RVM, and not touch the System&#8217;s Ruby version. Trying to install it through MacPorts also gave me a bunch of problems, especially in OS X Lion (10.7). This install also requires Git Version [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=319&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The system version of Ruby is a bit outdated. In order to update it you should install the Ruby Version Manager or RVM, and not touch the System&#8217;s Ruby version. Trying to install it through MacPorts also gave me a bunch of problems, especially in OS X Lion (10.7).</p>
<p>This install also requires <a title="Git Version Control System" href="http://git-scm.com/">Git Version Control</a> system.<br />
If you&#8217;re using MacPorts you can install it by running</p>
<p><code>sudo port install git</code></p>
<p>But like I said some Ruby and Rails applications do not play well with MacPorts so you will sooner or later should migrate to <a href="https://github.com/mxcl/homebrew">Homebrew</a>. <a title="A MacPorts induced ruby bug" href="http://www.ruby-forum.com/topic/1029747">Here</a> is one of such problems due to mismatched OpenSSL MacPort library versions, that caused me to have to reinstall the whole thing&#8230;</p>
<p>Well using the system&#8217;s version of ruby it is easy to install Homebrew:</p>
<p><code>ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"</code></p>
<p>and then install Git</p>
<p><code>brew install git</code></p>
<p>Now you can install RVM. Just Copy &amp; Paste the whole line and run it as a single line in your terminal</p>
<p><code>bash &lt; &lt;(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )</code></p>
<p>I usually install RVM in my home directory, and run the previous command with my regular user. This is ok since we mostly use our Macs for development, with only one developer on that machine.</p>
<p>If you need to install RVM system wide you can run:</p>
<p><code>sudo bash &lt; &lt;(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )</code></p>
<p>Now you need to add RVM to your shell so it can do its magic.</p>
<p><code>echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/scripts/rvm"' &gt;&gt; ~/.bash_profile </code></p>
<p>Close your Terminal and reopen it. This will force it to process the code we just entered into <em>.bash_profile</em>. You can also run the following:</p>
<p><code>. ~/.bash_profile</code></p>
<p>Now you need to make sure you have the latest Xcode from Apple. You can download it from the App Store for free, or install it from your Mac OS X installation DVD.</p>
<p>If you are a die hard fan of MacPorts, please remove it from the <em>PATH</em> so Ruby does not compile against its libraries causing all sorts of errors later on. It usually suffices to remove all references to <em>/opt/local</em> from the <em>/etc/profile</em>, but your configuration maybe a little bit different.</p>
<p>Now that you have installed Xcode and removed the MacPorts from the PATH you can continue <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>At the time of this writing the current stable version of Ruby was 1.9.3 so that is what I use, you should probably use the latest sable version, and not 1.9.3, by the time you follow this procedure&#8230;</p>
<p><code>rvm install 1.9.3</code></p>
<p>If you&#8217;re on Mac OS X Lion 10.7.2 with Xcode 4.2.1 you may get a compilation error. In that case run</p>
<p><code>rvm install 1.9.3 --with-gcc=clang</code></p>
<p>Once it finishes downloading, compiling and installing ruby you can do</p>
<p><code>rvm --default use 1.9.3</code></p>
<p>To use the ruby version we just installed, and to make it the default version.</p>
<p>RVM is kind of neat since it does not disturb the system version of Ruby and allows you to maintain and work with different versions of Ruby so you can make sure your older projects that require older versions of Ruby, Rails or some other Gem still run even when you upgrade to newer versions.</p>
<p>RVM is kind of like a virtual machine, or environment that allows you to keep separate Ruby installs that will coexist peacefully, and that is why you should use it and not replace the system Ruby version.</p>
<p>RVM allows for the creation and use of several Gem Repositories or gemsets, that you can keep for each of your projects, and this is an invaluable feature so you don&#8217;t get stuck into gem dependency issues later on.</p>
<p>By default a <em>global</em> <em>gemset</em> is created and all gems installed to <em>global</em> will be shared among all the other gemsets that you create for a specific ruby version maintained by RVM.<br />
You should install gems, that like Rails, will be shared by all projects running under a Ruby version. So lets install some of the basic gems to get us going.</p>
<p><code><br />
rvm gemset list</code></p>
<p>You should get something like:</p>
<p><code><br />
gemsets for ruby-1.9.3-p0 (found in /Users/pedro/.rvm/gems/ruby-1.9.3-p0)<br />
global<br />
</code></p>
<p>Lets double check that we&#8217;re using the Ruby version we just installed:</p>
<p><code><br />
bigdiver$ ruby -v<br />
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]<br />
bigdiver$ gem -v<br />
1.8.10<br />
</code></p>
<p>Nice!<br />
Install sQlite3, JSON, and Rails</p>
<p><code><br />
gem install sqlite3 json rdoc rails cheat<br />
</code></p>
<p>If you get UTF-8 errors just set the LANG and LC_CTYPE environment variables. I usually do it in the <em>/etc/profile</em>, but you can do it in the <em>.bash_profile</em> in your home directory.<br />
Add the following lines to one of them and &#8220;source&#8221; them into your environment</p>
<p><code><br />
export LC_CTYPE="utf-8"<br />
export LANG=en_US.UTF-8<br />
</code></p>
<p><code>. /etc/profile</code></p>
<p>or</p>
<p><code>. ~/.bash_profile</code></p>
<p>And then install your gems.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/319/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=319&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2011/11/24/update-ruby-and-rails-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
		<item>
		<title>Get Coverage Reports working with PHPUnit and MAMP</title>
		<link>http://bigdiver.wordpress.com/2011/11/10/get-coverage-reports-working-with-phpunit-and-mamp/</link>
		<comments>http://bigdiver.wordpress.com/2011/11/10/get-coverage-reports-working-with-phpunit-and-mamp/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 15:56:50 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[komodo]]></category>
		<category><![CDATA[MAC OS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[coverage reports]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[phpunit]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=317</guid>
		<description><![CDATA[If you get a &#8220;The Xdebug extension is not loaded. No code coverage will be generated.&#8221; error message when running phpunit &#8211;coverage-html test, you need to add Xdebug to the php.ini as follows: zend_extension="/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/xdebug.so" xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 ;xdebug.idekey= The actual path may actual be different as I am using ActiveState&#8217;s Komodo version of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=317&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you get a <em>&#8220;The Xdebug extension is not loaded. No code coverage will be generated.&#8221;</em> error message when running <em>phpunit &#8211;coverage-html test</em>, you need to add Xdebug to the php.ini as follows:</p>
<p><code><br />
zend_extension="/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/xdebug.so"<br />
xdebug.remote_enable=1<br />
xdebug.remote_handler=dbgp<br />
xdebug.remote_mode=req<br />
xdebug.remote_host=127.0.0.1<br />
xdebug.remote_port=9000<br />
;xdebug.idekey=<br />
</code></p>
<p>The actual path may actual be different as I am using ActiveState&#8217;s Komodo version of Xdebug that I manually copied to the PHP extensions directory.</p>
<p>If you are running MAMP Pro you should also add the above lines to the php.ini template. Do this by opening MAMP Pro Application and click &#8220;Edit Template&#8221; from the File menu, then click &#8220;PHP 5.3.6 php.ini&#8221;.</p>
<p>Save and restart your servers.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=317&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2011/11/10/get-coverage-reports-working-with-phpunit-and-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
		<item>
		<title>PHPUnit 3.6 Tests and Komodo IDE Unit Testing</title>
		<link>http://bigdiver.wordpress.com/2011/11/10/phpunit-3-6-tests-and-komodo-ide-unit-testing/</link>
		<comments>http://bigdiver.wordpress.com/2011/11/10/phpunit-3-6-tests-and-komodo-ide-unit-testing/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 13:50:13 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[komodo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Activestate]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=312</guid>
		<description><![CDATA[The latest version of PHPUnit, which at the time of this writing is 3.6.3 breaks the Komodo IDE Test Plan feature due to the wrong PHPUnit include in the drive_testrunner.php file. My php_error.log file had the following: Fatal error: require_once(): Failed opening required 'PHPUnit/Framework.php' (include_path='.:/Applications/MAMP/bin/php/php5.3.6/lib/php') in /Applications/Komodo IDE.app/Contents/MacOS/python/komodo/harnesses/php/drive_testrunner.php on line 16 ... require_once() /Applications/Komodo IDE.app/Contents/MacOS/python/komodo/harnesses/php/drive_testrunner.php:57 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=312&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The latest version of PHPUnit, which at the time of this writing is 3.6.3 breaks the Komodo IDE Test Plan feature due to the wrong PHPUnit include in the drive_testrunner.php file.</p>
<p>My php_error.log file had the following:</p>
<p><code><br />
Fatal error:  require_once(): Failed opening required 'PHPUnit/Framework.php' (include_path='.:/Applications/MAMP/bin/php/php5.3.6/lib/php') in /Applications/Komodo IDE.app/Contents/MacOS/python/komodo/harnesses/php/drive_testrunner.php on line 16<br />
...<br />
require_once() /Applications/Komodo IDE.app/Contents/MacOS/python/komodo/harnesses/php/drive_testrunner.php:57<br />
</code></p>
<p>All that I needed to do was to edit the file <em>/Applications/Komodo IDE.app/Contents/MacOS/python/komodo/harnesses/php/drive_testrunner.php</em> and replace the outdated </p>
<p><code>require_once 'PHPUnit/Framework.php'</code></p>
<p>With</p>
<p><code>require_once 'PHPUnit/Autoload.php'</code></p>
<p>right at the top and now all is working. </p>
<p>If your tests stil don&#8217;t run under Komodo set the PHP interpreter to the MAMP binary in the PHP Languages Properties in the Komodo Preferences.<br />
In my case <em>/Applications/MAMP/bin/php/php5.3.6/bin/php</em>.</p>
<p>Happy testing.</p>
<p>If you&#8217;re having problems in getting PHPUnit to work in the first place check my other article to <a href="http://bigdiver.wordpress.com/2011/11/10/mamp-2-0-pear-and-phpunit-installation/" title="MAMP 2.0 Pear and PHPUnit Installation">get PHPUnit to work with MAMP on Mac OSX Snow Leopard and Lion</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=312&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2011/11/10/phpunit-3-6-tests-and-komodo-ide-unit-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
		<item>
		<title>MAMP 2.0 Pear and PHPUnit Installation</title>
		<link>http://bigdiver.wordpress.com/2011/11/10/mamp-2-0-pear-and-phpunit-installation/</link>
		<comments>http://bigdiver.wordpress.com/2011/11/10/mamp-2-0-pear-and-phpunit-installation/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 13:40:51 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[komodo]]></category>
		<category><![CDATA[MAC OS]]></category>
		<category><![CDATA[Mobile Phone]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=302</guid>
		<description><![CDATA[I have been struggling to get PHPUnit working under MAMP 2.0 on OSX Lion, and Snow Leopard. After a lot of searching and googling, and combing through countless forums I figured it out and my tests are finally running. Here are the steps I took for MAMP using PHP 5.3.6, if your PHP is different [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=302&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been struggling to get PHPUnit working under MAMP 2.0 on OSX Lion, and Snow Leopard. After a lot of searching and googling, and combing through countless forums I figured it out and my tests are finally running.</p>
<p>Here are the steps I took for MAMP using PHP 5.3.6, if your PHP is different adjust accordingly, but basically you have to be in the <em>bin</em> directory of MAMP&#8217;s PHP install. If you are you should see the binary for <em>php</em>, for <em>pear</em>, in this directory.</p>
<p><code><br />
cd /Applications/MAMP/bin/php/php5.3.6/bin<br />
sudo ./pear upgrade pear<br />
</code></p>
<p>In my brand new, fresh, install of MAMP i got the following error:</p>
<p><code><br />
Notice: unserialize(): Error at offset 276 of 1133 bytes in Config.php on line 1050<br />
ERROR: The default config file is not a valid config file or is corrupted.<br />
</code></p>
<p>If you get this error as well just delete the pear.conf file, and rerun the <em>pear upgrade</em></p>
<p><code><br />
rm /Applications/MAMP/bin/php/php5.3.6/conf/pear.conf<br />
sudo ./pear upgrade pear<br />
</code></p>
<p>You should now see something like (truncated the output for space):</p>
<p><code></p>
<p>downloading PEAR-1.9.4.tgz ...<br />
Starting to download PEAR-1.9.4.tgz (296,332 bytes)<br />
.............................................................done: 296,332 bytes<br />
downloading Archive_Tar-1.3.8.tgz ...<br />
Starting to download Archive_Tar-1.3.8.tgz (17,995 bytes)<br />
...done: 17,995 bytes<br />
downloading Console_Getopt-1.3.1.tgz ...<br />
Starting to download Console_Getopt-1.3.1.tgz (4,471 bytes)<br />
...done: 4,471 bytes<br />
upgrade ok: channel://pear.php.net/Archive_Tar-1.3.8<br />
upgrade ok: channel://pear.php.net/Console_Getopt-1.3.1<br />
upgrade ok: channel://pear.php.net/PEAR-1.9.4<br />
...<br />
</code></p>
<p>Now that you&#8217;ve upgraded Pear you can install PHPUnit and its dependencies. Following instructions from the PHPUnit Github repository, i.e. directly from the developer, you can install PHPUnit by running:</p>
<p><code><br />
./pear config-set auto_discover 1<br />
./pear install --alldeps pear.phpunit.de/PHPUnit<br />
</code></p>
<p>DO NOT RUN <code>./pear install phppunit</code> as that will install some old and useless version that will not work! There are a lot of tutorials out on the web that are outdated and will not work for the latest version of MAMP and PHPUnit.<br />
You should get something similar to the following (truncated for space):</p>
<p><code><br />
Attempting to discover channel "pear.phpunit.de"...<br />
downloading channel.xml ...<br />
Starting to download channel.xml (804 bytes)<br />
...<br />
install ok: channel://pear.phpunit.de/PHP_CodeCoverage-1.1.1<br />
install ok: channel://pear.phpunit.de/PHPUnit_MockObject-1.1.0<br />
install ok: channel://pear.phpunit.de/PHPUnit-3.6.3<br />
</code></p>
<p>Notice that PHPUnit_MockObject and PHP_CodeCoverage are also installed.<br />
You are now ready to run <em>phpunit</em> and see if it works&#8230;</p>
<p><code>./phpunit </code></p>
<p>Should print usage information without any errors, on the screen your your PHP Error log file. If there are any include errors in you PHP Error file, you may have multiple PHPUnit versions installed and you need to remove them all by using the <em>pear uninstall</em> command.</p>
<p>My php_error.log had a bunch of entries that looked like this:</p>
<p><code><br />
PHP Fatal error:  require_once(): Failed opening required 'PHPUnit/Framework/MockObject/Autoload.php' (include_path='.:/Applications/MAMP/bin/php/php5.3.6/lib/php') in /Applications/MAMP/bin/php/php5.3.6/lib/php/PHPUnit/Autoload.php on line 48<br />
...<br />
PHP Warning:  require_once(PHPUnit/TestCase.php): failed to open stream: No such file or directory in /Applications/MAMP/bin/php/php5.3.6/lib/php/PHPUnit.php on line 49<br />
</code></p>
<p>To resolve this I uninstalled all PHPUnit, and PHPUnit_MockObject.</p>
<p><code><br />
./pear uninstall phpunit<br />
./pear uninstall pear.phpunit.de/PHPUnit<br />
./pear uninstall pear.phpunit.de/PHPUnit_MockObject<br />
</code></p>
<p>Then reinstalled PHPUnit as explained earlier in this article.</p>
<p>One final comment on Using PHPUnit in your tests. A lot of the tutorials I found on the web, including the PHPUnit manual tell you to include PHPUnit in your code as:</p>
<p><code><br />
require_once 'PHPUnit/Framework.php'<br />
</code></p>
<p>For the version at the time of this writing which was PHPUnit 3.6.3 you must do the following instead </p>
<p><code><br />
require_once 'PHPUnit/Autoload.php';<br />
</code></p>
<p>Happy testing!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=302&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2011/11/10/mamp-2-0-pear-and-phpunit-installation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
		<item>
		<title>Jailbreak the Internet Browser on your Sharp Aquos</title>
		<link>http://bigdiver.wordpress.com/2011/08/21/jailbreak-the-internet-browser-on-your-sharp-aquos/</link>
		<comments>http://bigdiver.wordpress.com/2011/08/21/jailbreak-the-internet-browser-on-your-sharp-aquos/#comments</comments>
		<pubDate>Sun, 21 Aug 2011 15:27:10 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=290</guid>
		<description><![CDATA[Just got a new Sharp Aquos LC-52LE830U and I am really happy with it! The only problem is that Sharp decided to lock you out of a full Internet browser experience, and only give you access to a very limited set of Widgets. Not to sure why but definitely not a very consumer friendly policy. I just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=290&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just got a new Sharp Aquos LC-52LE830U and I am really happy with it!</p>
<p>The only problem is that Sharp decided to lock you out of a full Internet browser experience, and only give you access to a very limited set of Widgets. Not to sure why but definitely not a very consumer friendly policy. I just hate this new trend where manufacturers arbitrarily limit the functionality of the products we spend top dollar on.</p>
<p>Geting out of the Sharp Aquos Net jail is easy enough and will not damage your TV in anyway. In reality you do not have to change anything on the TV it self but as usual do this at your own risk and responsibility.</p>
<p>The basic idea is to use the bookmark feature to add a Bookmark to Google or any other page of your liking, so it is always accesible. From there you can then access any site you like.</p>
<p>Unfortunately the TV browser does not support Flash so no Youtube&#8230;</p>
<p>You will need:</p>
<ul>
<li>DNS Server (this can be done on your Internet router, Mac/Linux or Windows computer)</li>
<li>Web Server</li>
</ul>
<p>Install webserver on your laptop. I used <a href="http://www.mamp.info/en/index.html" target="_blank">MAMP</a> on MAC OSX</p>
<ol>
<ol>
<li>Create the <em>sharpaquos</em> folder on the web server root (/Applications/MAMP/htdocs/sharpaquos in my case)</li>
<li>Create the <em>widget_split.php</em> file in the <em>sharpaquos</em> folder with the following content</li>
</ol>
</ol>
<p><pre class="brush: xml;">
&lt;html&gt;
&lt;script language=&quot;JavaScript&quot;&gt;
 if (window != top) top.location.href = location.href;
&lt;/script&gt;
&lt;a href=&quot;http://www.google.com&quot;&gt;Google&lt;/a&gt;
&lt;/html&gt;
</pre></p>
<p><code><br />
</code></p>
<p>Highjack one of the Aquos Net widgets by redirecting the DNS name resolution to your webserver</p>
<ol>
<ol>
<li>We need to redirect special.accesshollywood.com to the webserver in my case 192.168.32.60</li>
<li>I added a the <em>accesshollywood.com</em> DNS Zone to my Fortigate, and configured it as follows:</li>
<li><a href="http://bigdiver.files.wordpress.com/2011/08/screen-shot-2011-08-21-at-11-34-01-am.png"><img class="aligncenter size-medium wp-image-296" title="Fortigate DNS Zone" src="http://bigdiver.files.wordpress.com/2011/08/screen-shot-2011-08-21-at-11-34-01-am.png?w=300&#038;h=208" alt="" width="300" height="208" /></a></li>
<li>Add the special.accesshollywood.com host and point it to the webserver</li>
<li><a href="http://bigdiver.files.wordpress.com/2011/08/screen-shot-2011-08-21-at-11-34-45-am.png"><img class="aligncenter size-medium wp-image-299" title="Adding the special..accesshollywood.com host" src="http://bigdiver.files.wordpress.com/2011/08/screen-shot-2011-08-21-at-11-34-45-am.png?w=300&#038;h=209" alt="" width="300" height="209" /></a>Press the Aquos Net button on your TV remote, and access the Access Holywood widget, mine was on page 4.</li>
<li>You should see the &#8220;Google&#8221; link inside the widget instead of the regular Access Hollywood widget content.</li>
<li>Navigate to the Widget and Google should open on the full page, and not restricted to the inside of the widget.</li>
<li>You can now bookmark the Google page by pressing the &#8220;D&#8221; button on the TV remote</li>
</ol>
</ol>
<div>After you successfully bookmark google you can remove the DNS redirect configuration from your Internet router.</div>
<div>Now you can acesss Aquos Net like always and use your &#8220;Get out of jail&#8221; Google bookmark to break free any time you like!</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/290/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=290&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2011/08/21/jailbreak-the-internet-browser-on-your-sharp-aquos/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>

		<media:content url="http://bigdiver.files.wordpress.com/2011/08/screen-shot-2011-08-21-at-11-34-01-am.png?w=300" medium="image">
			<media:title type="html">Fortigate DNS Zone</media:title>
		</media:content>

		<media:content url="http://bigdiver.files.wordpress.com/2011/08/screen-shot-2011-08-21-at-11-34-45-am.png?w=300" medium="image">
			<media:title type="html">Adding the special..accesshollywood.com host</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;There&#8217;s no App for that&#8221; should be RIM&#8217;s catch phrase for the Playbook</title>
		<link>http://bigdiver.wordpress.com/2011/06/21/theres-no-app-for-that-should-be-rims-catch-phrase-for-the-playbook/</link>
		<comments>http://bigdiver.wordpress.com/2011/06/21/theres-no-app-for-that-should-be-rims-catch-phrase-for-the-playbook/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 19:27:39 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blackberry Playbook]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=278</guid>
		<description><![CDATA[Thanks to my beautiful wife and daughter I got a Blackberry Playbook for Father&#8217;s Day. We already have an iPad and they thought the sharing was becoming a burden on the family&#8230; Knowing that I am a BlackBerry person she decided to buy a Playbook instead of another iPad. The initial setup was easy, but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=278&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thanks to my beautiful wife and daughter I got a Blackberry Playbook for Father&#8217;s Day. We already have an iPad and they thought the sharing was becoming a burden on the family&#8230;<br />
Knowing that I am a BlackBerry person she decided to buy a Playbook instead of another iPad.</p>
<p>The initial setup was easy, but the first signs of trouble came when it connected to RIM to check for new updates.<br />
The Playbook determined that there was a new version on the server, and started downloading it. The file was over 300 MB and the Playbook lost Wifi signal several times, delaying the download considerably.</p>
<p>I noticed that when the Playbook was flat on my desk the signal went down by a couple of bars, not as bad as the iPhone 4 but noticeable, and enough to cause the connection losses. So there I stood with the Playbook in hand until it finally downloaded the update file. It stared installing it, and after did a reboot. At this point I unplugged the device and went out.</p>
<p>Like any other Black Berry the Playbook takes FOREVER to boot, and when it was finally done it wanted me to connect to Wifi network and would not do anything else, or give me any option to continue. I was basically locked out!</p>
<p>So there I was stuck with a fresh new device searching for any open wireless network I could connect to. When I did find one, all the Playbook did was to give me a message thanking me for the upgrade. Well done RIM. Strike 1 &#8211; First impression: not good!</p>
<p>The second nightmare was installing the Blackberry Bridge software on my phone. I&#8217;m told by the Playbook that I need to go to the App World on the phone and download it, it even gave me a convenient QR code which, once scanned, opened the App World app on the phone. Easy. I was beginning to feel happy again, I could see my self doing all my corporate email, using my BBM, you know all that we love about our Blackberry phones.</p>
<p>That was not to be. Unfortunately, and to my utter amazement, AT&amp;T does not allow RIM to provide the Blackberry Bridge app to its subscribers, and all I got was message saying that I was SOL!<br />
Strike 2.</p>
<p>Now lets think about this for a moment. AT&amp;T does not let RIM use messaging, calendar, BBM, and all the applications and services we love the Blackberries for. Why do I need a Playbook for?</p>
<p>As a consolation prize the Playbook came with 2 pre-installed games Need for Speed and Tetris. The first time I ran the Blackberry world app it told me that these needed updating so I clicked the button. Big mistake! The NFS download was almost 300MB and the Playbook kept loosing Wifi connection, so it took over 2h and several failed attempts to get that update installed.</p>
<p>That brings me to my last point, THERE&#8217;S NO APP FOR THAT!<br />
Once running the Playbook is easy on the eyes, I liked the interface a lot, flash websites worked fine, but other than that there&#8217;s very few things to do with it. There are so few apps on the App World for the Playbook that the only parallel would be to compare it to the vast emptiness of the outer space. The claim that the Playbook runs Android apps had me excited, so I looked for a way to install the Android Market app so that I, at least could try those out, but no&#8230; no sir, RIM added one final hurdle to overcome. Developers need to submit their Apps to RIM so that they can approve, and add them to the Blackberry World.</p>
<p>Strike 3. The Playbook went back to the shelf at Best Buy.</p>
<p>Clearly this is a half-baked device, much like their recent phones, with a lot of limitations, installation problems, bugs (some pre-installed app for online video kept crashing) and above all no Bridge, ie, nothing Blackberry for AT&amp;T subscribers.</p>
<p>The combination of very few consumer apps, and the inability to use the enterprise apps for which Blackberry is known for will kill this device faster than you can say Steve Jobs!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=278&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2011/06/21/theres-no-app-for-that-should-be-rims-catch-phrase-for-the-playbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
		<item>
		<title>Clean your Apple Mighty Mouse Scroll Ball</title>
		<link>http://bigdiver.wordpress.com/2010/12/07/clean-your-apple-mighty-mouse-scroll-ball-cleaning/</link>
		<comments>http://bigdiver.wordpress.com/2010/12/07/clean-your-apple-mighty-mouse-scroll-ball-cleaning/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 20:49:43 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[mighty mouse]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=274</guid>
		<description><![CDATA[The scroll ball in the Apple Mighty Mouse is an essential piece of mouse hardware and it gets clogged often. When it does scrolling tends to become erratic and difficult, to the point where it stops completely. I use this method to clean the ball without opening the mouse. Trust me when I say you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=274&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The scroll ball in the Apple Mighty Mouse is an essential piece of mouse hardware and it gets clogged often. When it does scrolling tends to become erratic and difficult, to the point where it stops completely. I use this method to clean the ball without opening the mouse. Trust me when I say you do not want to open the Mighty Mouse&#8230;</p>
<ol>
<li>soak one Q-tip in alcohol, not dripping wet, you do not want to drown your mouse</li>
<li>start rubbing the Q-tip over the ball in all directions and notice that you&#8217;ll start to see dirt come to the top</li>
<li>gently rub off the dirt, or use a dry Q-tip to get it out.</li>
<li>repeat process until the ball is totally clean</li>
</ol>
<p>Hope this helps. If you have no time, no Q-tips, or no alcohol, just press the ball down hard, and scroll it. Do this a few times and whatever is stuck will become free and you&#8217;ll usually regain scrolling right away.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=274&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2010/12/07/clean-your-apple-mighty-mouse-scroll-ball-cleaning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
		<item>
		<title>Cassandra Development Environment in Mac OS Snow Leopard</title>
		<link>http://bigdiver.wordpress.com/2010/07/02/cassandra-development-environment-in-mac-os-snow-leopard/</link>
		<comments>http://bigdiver.wordpress.com/2010/07/02/cassandra-development-environment-in-mac-os-snow-leopard/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 03:13:10 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[MAC OS]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Cassandra]]></category>
		<category><![CDATA[chiton]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[thrift]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/?p=262</guid>
		<description><![CDATA[I just started working with Cassandra so I am no expert on the subject, and this post is more about self documentation of what I did to get it working on my laptop, running Snow Leopard, than an expert&#8217;s How to guide. If it helps you out all the better, and leave your comments. Getting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=262&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just started working with <a href="http://cassandra.apache.org/">Cassandra</a> so I am no expert on the subject, and this post is more about self documentation of what I did to get it working on my laptop, running Snow Leopard, than an expert&#8217;s How to guide. If it helps you out all the better, and leave your comments.</p>
<p>Getting Cassandra to run on Mac OSX is very easy just download the latest binary from <a href="http://cassandra.apache.org/">http://cassandra.apache.org/</a>. At the time of this writing the version was 0.6.3, but I updated the important parts to 0.7rc3 so it should work with that version as well.</p>
<p>Create the directories Cassandra needs to work:</p>
<p><code><br />
sudo mkdir -p /opt/cassandra<br />
sudo chown -R `whoami` /opt/cassandra<br />
sudo mkdir -p /var/log/cassandra<br />
sudo chown -R `whoami` /var/log/cassandra<br />
sudo touch /var/log/cassandra/system.log<br />
sudo mkdir -p /var/lib/cassandra<br />
sudo chown -R `whoami` /var/lib/cassandra<br />
</code></p>
<p>Get Cassandra and copy it to /opt/cassandra. In this example I used wget. Notice that the version numbers may change so use the correct link for your version from <a href="http://cassandra.apache.org/download/">http://cassandra.apache.org/download/</a></p>
<p><code><br />
wget http://apache.opensourceresources.org/cassandra/0.6.3/apache-cassandra-0.6.3-bin.tar.gz<br />
tar xzf apache-cassandra-0.6.3-bin.tar.gz<br />
cd apache-cassandra-0.6.3/bin<br />
./cassandra -f<br />
</code></p>
<p>If all is ok you should now see</p>
<p><code><br />
INFO 22:01:15,273 Auto DiskAccessMode determined to be mmap<br />
INFO 22:01:15,887 Saved Token not found. Using 114412163776176127313248360017471199843<br />
INFO 22:01:15,888 Saved ClusterName not found. Using Test Cluster<br />
INFO 22:01:15,898 Creating new commitlog segment /var/lib/cassandra/commitlog/CommitLog-1278036075898.log<br />
INFO 22:01:15,937 LocationInfo has reached its threshold; switching in a fresh Memtable at CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1278036075898.log', position=419)<br />
INFO 22:01:15,946 Enqueuing flush of Memtable-LocationInfo@1373164447(169 bytes, 4 operations)<br />
INFO 22:01:15,954 Writing Memtable-LocationInfo@1373164447(169 bytes, 4 operations)<br />
INFO 22:01:16,262 Completed flushing /var/lib/cassandra/data/system/LocationInfo-1-Data.db<br />
INFO 22:01:16,295 Starting up server gossip<br />
INFO 22:01:16,406 Binding thrift service to localhost/127.0.0.1:9160<br />
INFO 22:01:16,414 Cassandra starting up...<br />
</code></p>
<p>Now lets test Cassandra. Open a new Terminal window, or tab, and:</p>
<p><code><br />
cd /opt/cassandra/bin<br />
./cassandra-cli --host localhost --port 9160<br />
</code></p>
<p>Cassandra 0.7rc3 output and testing is a bit different so check with the comments bellow.</p>
<p>At the prompt (for 0.6.x)</p>
<p><code><br />
cassandra&gt; set Keyspace1.Standard2['jsmith']['first'] = 'John'<br />
Value inserted.<br />
cassandra&gt; set Keyspace1.Standard2['jsmith']['last'] = 'Smith'<br />
Value inserted.<br />
cassandra&gt; set Keyspace1.Standard2['jsmith']['age'] = '42'<br />
Value inserted.<br />
cassandra&gt; get Keyspace1.Standard2['jsmith']<br />
(column=age, value=42; timestamp=1249930062801)<br />
(column=first, value=John; timestamp=1249930053103)<br />
(column=last, value=Smith; timestamp=1249930058345)<br />
Returned 3 rows.<br />
cassandra&gt; quit<br />
</code></p>
<p>If you&#8217;re able to get the values out of Keyspace1 all is good and Cassandra is up and running.<br />
If you are installing 0.7 or higher the test Keyspace1 is not loaded automatically and you need to run jconsole to load the &#8220;schema&#8221;. And go to MBeans -&gt; org.apache.cassandra.service -&gt; StorageService -&gt; Operations -&gt; loadSchemaFromYAML as documented on <a href="http://wiki.apache.org/cassandra/LiveSchemaUpdates">LiveSchemaUpdates</a></p>
<p>Please note that jconsole needs to connect to localhost on port 8080, to talk to Cassandra. Do not use the Thrift port 9160.</p>
<p>Now lets install <a href="http://github.com/driftx/chiton">Chiton</a>, a GTK GUI written in Python that will allow us to view the data stored in Cassandra.</p>
<p><code><br />
mkdir chiton-temp<br />
cd chiton-temp<br />
git clone git://github.com/driftx/chiton.git<br />
export VERSIONER_PYTHON_PREFER_32_BIT=yes<br />
</code></p>
<p>In order to fulfill a Chiton dependecies we also need</p>
<ul>
<li>Twisted 8.1.0 or later</li>
<li>Thrift (latest svn)</li>
<li>PyGTK 2.14 or later</li>
<li>simplejson</li>
<li>Telephus</li>
</ul>
<p>First download and install Apple&#8217;s Xcode if you don&#8217;t have it already then, get a PyGTK Mac OS build  from <a href="http://www.daimi.au.dk/%7Emadsk/files/">http://www.daimi.au.dk/%7Emadsk/files/</a></p>
<p>Copy PyGTK to /Develper as instructed in the README.txt of the PyGTK package.</p>
<ul>
<li>Get simplejson from <a href="http://pypi.python.org/pypi/simplejson" target="_blank">http://pypi.python.org/pypi/simplejson</a></li>
<li>Get Twisted from <a href="http://twistedmatrix.com/trac/wiki/Downloads" target="_blank">http://twistedmatrix.com/trac/wiki/Downloads</a> and install the Twisted.mpkg package from the dmg file you just downloaded</li>
<li> Get Telephus using
<pre>git clone git://github.com/driftx/Telephus.git</pre>
</li>
<li>Get Thrift using
<pre>svn co http://svn.apache.org/repos/asf/thrift/trunk thrift</pre>
</li>
</ul>
<p>Now for each of the packages, except Thrift run</p>
<p><code><br />
cd<br />
sudo python setup.py install<br />
</code></p>
<p>If you want to use Python 2.6 run</p>
<pre>sudo python2.6 setup.py install</pre>
<p>Compiling thrift. Go to the directory to which you checked out Thrift from the SVN<br />
Because of the time it may take to compile all the updates, you may skip the<br />
<code>port selfupdate</code> and <code>port upgrade outdated</code>. But if you start getting compilation errors you MUST do them and wait <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
My iMac took 5 hours!!!</p>
<p><code><br />
cd<br />
sudo port selfupdate<br />
sudo port upgrade outdated<br />
sudo port install boost pkgconfig libevent<br />
cp /opt/local/share/aclocal/pkg.m4 ./aclocal<br />
aclocal --acdir=./aclocal<br />
./bootstrap.sh<br />
./configure --with-boost=/opt/local --with-libevent=/opt/local --prefix=/opt/local<br />
sudo make install<br />
cd /opt/cassandra/apache-cassandra-0.6.3/interface/<br />
thrift --gen py:new_style cassandra.thrift<br />
cp -a ./gen-py/cassandra ~/chiton-temp/<br />
</code></p>
<p>(thank you Rich for the  <a href="http://jetfar.com/installing-cassandra-and-thrift-on-snow-leopard-a-quick-start-guide/">configure details</a></p>
<p>Almost done!!!<br />
All we need to do is add the PYTHONPATH to our ~/.profile. Using your favorite editor open ~/.profile and add:</p>
<p><code><br />
export PYTHONPATH=/usr/lib/python2.6/site-packages/:/Developer/MacPyGTK/inst/lib/python2.6/site-packages:/usr/lib/python2.6/site-packages/thrift:/Library/Python/2.6/site-packages/telephus:~/chiton-temp/chiton<br />
export JAVA_HOME=$(/usr/libexec/java_home)<br />
export VERSIONER_PYTHON_PREFER_32_BIT=yes<br />
</code></p>
<p>The directories in your PYTHONPATH may be a bit different, but the idea is to add all the directories where all the packages we just installed are located. If you miss one you will get import errors when running chiton-client.</p>
<p>Reconfigure Cassandra to allow the Thrift connections from Chiton, you need to set ThriftFramedTransport to true in cassandra&#8217;s storage-conf.xml. In my system</p>
<p><code><br />
vi /opt/cassandra/apache-cassandra-0.6.3/conf/storage-conf.xml<br />
&lt;</code>ThriftFramedTransport&gt;<code>true&lt;/</code>ThriftFramedTransport&gt;</p>
<p>Done!!!!</p>
<p>If all is well you should now be able to run chiton-client. Login to localhost on port 9160. Don&#8217;t forget to have Cassandra daemon running (cassandra -f).</p>
<p><a href="http://bigdiver.files.wordpress.com/2010/07/screen-shot-2010-07-01-at-11-09-44-pm.png"><img class="aligncenter size-medium wp-image-267" title="chiton running on Mac OSX Snow Leopard" src="http://bigdiver.files.wordpress.com/2010/07/screen-shot-2010-07-01-at-11-09-44-pm.png?w=288&#038;h=300" alt="" width="288" height="300" /></a></p>
<p>Since we changed the Thrift access to framed, from now on if you want to use the cassandra-cli don&#8217;t forget the &#8211;framed command line option. Cassandra 0.6.3 daemon crashes with:</p>
<p><code><br />
ERROR 23:50:24,264 Uncaught exception in thread Thread[pool-1-thread-5,5,main]<br />
java.lang.OutOfMemoryError: Java heap space<br />
</code></p>
<p>if you don&#8217;t use &#8211;framed.</p>
<p>Hope this guide helps you get your development machine ready to work with Cassandra.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=262&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2010/07/02/cassandra-development-environment-in-mac-os-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>

		<media:content url="http://bigdiver.files.wordpress.com/2010/07/screen-shot-2010-07-01-at-11-09-44-pm.png?w=288" medium="image">
			<media:title type="html">chiton running on Mac OSX Snow Leopard</media:title>
		</media:content>
	</item>
		<item>
		<title>A Good Experience with Apple Support</title>
		<link>http://bigdiver.wordpress.com/2010/04/16/a-good-experience-with-apple-support/</link>
		<comments>http://bigdiver.wordpress.com/2010/04/16/a-good-experience-with-apple-support/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 02:39:18 +0000</pubDate>
		<dc:creator>bigdiver</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hinge]]></category>
		<category><![CDATA[MacBook Air]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://bigdiver.wordpress.com/2010/04/16/a-good-experience-with-apple-support/</guid>
		<description><![CDATA[Today I took my Macbook Air for repair at a local Apple store &#8211; broken hinge and antenna cover. Although the Air has been out of warranty for some time they said they would replace the whole top part &#8211; not jut the hinge &#8211; for free, because it was a known issue! The Apple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=260&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I took my Macbook Air for repair at a local Apple store &#8211; broken hinge and antenna cover. Although the Air has been out of warranty for some time they said they would replace the whole top part &#8211; not jut the hinge &#8211; for free, because it was a known issue!</p>
<p>The Apple &#8220;Genius&#8221; guy told me that the Air would be ready in 3 to 5 days, but a couple of hours later I got a call from him saying that the computer had been fixed and was ready to be picked up.</p>
<p>The great service relieved a lot of the frustration of seeing the  broken hinge. So if the same thing happens to you, don&#8217;t buy the hinges on eBay (some are selling for $300). Take your Macbook to an Apple store. They&#8217;ll do a professional repair and most likely it will be free.</p>
<p>Great job Apple!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bigdiver.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bigdiver.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bigdiver.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bigdiver.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bigdiver.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bigdiver.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bigdiver.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bigdiver.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bigdiver.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bigdiver.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bigdiver.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bigdiver.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bigdiver.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bigdiver.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bigdiver.wordpress.com&amp;blog=376322&amp;post=260&amp;subd=bigdiver&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bigdiver.wordpress.com/2010/04/16/a-good-experience-with-apple-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d3edb097f3fe6d4e4d1fa079f279a1d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bigdiver</media:title>
		</media:content>
	</item>
	</channel>
</rss>
