<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tiki:Mojo Creative Services &#187; Technology</title>
	<atom:link href="http://tikimojo.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://tikimojo.com</link>
	<description>Where we make wonderful things happen</description>
	<lastBuildDate>Tue, 31 Jan 2012 19:27:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>HTML5 Audio Formats</title>
		<link>http://tikimojo.com/2012/01/html5-audio-formats/</link>
		<comments>http://tikimojo.com/2012/01/html5-audio-formats/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 22:05:43 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=562</guid>
		<description><![CDATA[You think a person could just put an audio file on their web site, but you&#8217;d be wrong.  There&#8217;s no one audio format that&#8217;s supported by all the browsers. Here&#8217;s the breakdown: For further details, read more at the Scirra blog: http://www.scirra.com/blog/44/on-html5-audio-formats-aac-and-ogg]]></description>
			<content:encoded><![CDATA[<p></p><p>You think a person could just put an audio file on their web site, but you&#8217;d be wrong.  There&#8217;s no one audio format that&#8217;s supported by all the browsers. Here&#8217;s the breakdown:</p>
<p style="text-align: center;"><a href="http://www.scirra.com/blog/44/on-html5-audio-formats-aac-and-ogg"><img class="aligncenter  wp-image-563" title="audio table" src="http://tikimojo.com/wp-content/uploads/2012/01/table.jpg" alt="audio table" width="451" height="169" /></a></p>
<p>For further details, read more at the Scirra blog: <a href="http://www.scirra.com/blog/44/on-html5-audio-formats-aac-and-ogg" target="_blank">http://www.scirra.com/blog/44/on-html5-audio-formats-aac-and-ogg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2012/01/html5-audio-formats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Nerds Rejoice! Build Sites in Ubuntu on your own Machine</title>
		<link>http://tikimojo.com/2011/12/web-nerds-rejoice-build-sites-in-ubuntu-on-your-own-machine/</link>
		<comments>http://tikimojo.com/2011/12/web-nerds-rejoice-build-sites-in-ubuntu-on-your-own-machine/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 19:15:34 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=533</guid>
		<description><![CDATA[Ok, you&#8217;ve got Ubuntu running on your machine through Parallels.  You could run all the linux/unix foo directly on your OSX hardware, and that&#8217;s not really hard at all, but what if you need to match what&#8217;s really going on with your live web server? So here, you want to setup multiple virtual web servers [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img class="alignright" title="Parallels Logo" src="/images/parallels-logo.jpg" alt="Parallels Logo" width="293" height="62" /><br />
<img class="alignright" src="/images/ubuntulogo.jpg" alt="Ubuntu Logo" width="264" height="68" />Ok, you&#8217;ve got Ubuntu running on your machine through Parallels.  You could run all the linux/unix foo directly on your OSX hardware, and that&#8217;s not really hard at all, but what if you need to match what&#8217;s really going on with your live web server?</p>
<p>So here, you want to setup multiple virtual web servers in Ubuntu under Parallels.  (note: these concepts apply to anyone running a virtual server on their actual hardware.  I&#8217;m doing it via Parallels on OSX, but you could be doing it with VMware on Windows or whatever works for you.)</p>
<h3>So, some things need to happen:</h3>
<ol>
<li>Your actual computer needs to be able to talk to the virtual OS on your machine</li>
<li>The virtual machine needs to be able to host multiple virtual web servers correctly</li>
<li>You need to be able to develop your stuff on the virtual machine, test it and then migrate the working results to the client&#8217;s live web server</li>
<li>This should all happen without anyone resulting to joining a cult, getting addicted to stress-reliving drugs or giving up entirely on the modern world.</li>
</ol>
<p>So – you&#8217;ve got Ubuntu installed in Parallels.  That was pretty easy, right?  Next, you&#8217;ll want to install the various bits of server software that may not have been included in the *nix you installed – Apache, MySQL, PHP, etc.  Google should be able to direct you to the right documentation to do that for your chosen flavor of unix.  At the end of this process, you should be able to start firefox in your virtual machine and get your local webserver to display when you go to &#8220;localhost&#8221;.  Go away and get that working.  All done?  Great!</p>
<h3>Set up multiple virtual web servers.</h3>
<p>Instructions for doing this changes depending on which unix and version you&#8217;re using.  <a href="http://library.linode.com/lamp-guides/ubuntu-11.10-oneiric?format=print" target="_blank">For Ubuntu 11, here&#8217;s some good instructions I&#8217;ve found</a>.  Now, since you&#8217;re just running this on your local machine you won&#8217;t have a DNS entry for your local virtual servers.  If you knew how to set that up, you probably wouldn&#8217;t be reading this blog post, so let&#8217;s edit your local hosts file to match a name to your virtual web server(s).</p>
<p>Somewhere in your apache configuration you have a line that tells apache what to call the virtual server.  Here&#8217;s an example of one I&#8217;m using:</p>
<pre>&lt;VirtualHost *:80&gt;
 ServerAdmin sbp@tikimojo.com
 ServerName coopers
 ServerAlias coopers
 DocumentRoot /srv/www/coopers/public_html/
 ErrorLog /srv/www/coopers/logs/error.log
 CustomLog /srv/www/coopers/logs/access.log combined
 &lt;Directory /&gt;
 Options FollowSyminks
 AllowOverride All
 &lt;/Directory&gt;
 &lt;/VirtualHost&gt;</pre>
<p>I&#8217;m doing a site for Cooper&#8217;s Auto Service, so I want to call the web server &#8220;coopers&#8221;.  Now we need to edit your hosts file.  Do this:</p>
<pre>sudo pico /etc/hosts</pre>
<p>For each virtual server you want, create an entry like this:</p>
<pre>127.0.0.1 coopers</pre>
<p>Replace &#8220;coopers&#8221; with what you&#8217;d like to type into the browser to get to your local site.  Save and now inside your virtual machine, when you type that name in the URL window of your browser, your local site should come up.  Victory!  Next step:</p>
<h3>Viewing and editing your local virtual web server</h3>
<p>Everything&#8217;s working properly inside your linux virtual OS, now we set things up so you can use the software on your physical machine to view and edit the sites running within the virtual OS.  First you probably want to be able to read the virtual OS&#8217;s file system, <a href="/2011/11/ubuntu-and-samba/" target="_blank">so let&#8217;s go setup Samba</a>.  Next you want to make sure the virtual OS is on the same subnet so you can get to it&#8217;s web servers.  (ok, there are other ways <em>and better ways</em> to do this, but in order to keep things simple here&#8217;s one way to do it.) In Parallels set the network to be bridged.  <a href="http://download.parallels.com/desktop/v5/docs/en/Parallels_Desktop_Users_Guide/22251.htm" target="_blank">Here&#8217;s some instructions on how to do that</a>.  If you care to read about it, <a href="http://kb.parallels.com/4948" target="_blank">here&#8217;s more infos on the Parallels networking options</a>.</p>
<p>Check to see what IP address the virtual machine has.  In Ubuntu, go system settings -&gt; network and it should tell  you that it&#8217;s IP address is something like 10.0.0.103.</p>
<p>Now, on your mac, crack open a terminal window and give this command:</p>
<pre>ping 10.0.0.103</pre>
<p>Remember to use the IP address you got from Ubuntu, not my example IP.  You should get a stream of lines like this:</p>
<pre>64 bytes from 10.0.0.103: icmp_req=1 ttl=64 time=0.073 ms</pre>
<p>If you don&#8217;t, then something is broken somewhere.  Hit control-c to stop the ping command.  Now if you type that IP address into a browser, the web site running on your virtual OS should appear!  Excellent work!  Just one last step.  Back in your terminal window enter this command:</p>
<pre>sudo pico /etc/hosts</pre>
<p>We&#8217;re now going to assign a hostname to your virtual web servers so you can use those names directly in your browsers instead of having to type the IP.  For each virtual web server you&#8217;ll have an entry like this:</p>
<pre>10.0.0.103    site_name_one
10.0.0.103    site_name_two
10.0.0.103    site_name_three</pre>
<p>When you type your site names in your web browsers, they will appear and work correctly!  The only catch is this hostname setup is manual.  If you change networks, or if your virtual OS gets assigned a different IP at some point, you&#8217;ll need to go and re-edit your computer&#8217;s hosts file.  That&#8217;s not too hard though.  You know how to do it now.</p>
<p>I hope you find this useful. Feedback? <a href="mailto:sbp@tikimojo.com">Email Steve at sbp@tikimojo.com.</a></p>
<div id="attachment_539" class="wp-caption alignleft" style="width: 150px">
	<a href="http://tikimojo.com/wp-content/uploads/2011/12/face.jpg"><img class="size-thumbnail wp-image-539 " title="Steve" src="http://tikimojo.com/wp-content/uploads/2011/12/face-150x150.jpg" alt="" width="150" height="150" /></a>
	<p class="wp-caption-text">Your Author</p>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/12/web-nerds-rejoice-build-sites-in-ubuntu-on-your-own-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.3, and what to do when Automatic Update fails</title>
		<link>http://tikimojo.com/2011/12/wordpress-3-3-and-what-to-do-when-automatic-update-fails/</link>
		<comments>http://tikimojo.com/2011/12/wordpress-3-3-and-what-to-do-when-automatic-update-fails/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 20:22:13 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=527</guid>
		<description><![CDATA[Hey kids! From the official WordPress site: The latest and greatest version of the WordPress software — 3.3, named “Sonny” in honor of the great jazz saxophonist Sonny Stitt — is immediately available for download or update inside your WordPress dashboard. If you go here, you can see a nifty video summarizing what&#8217;s in the new version. [...]]]></description>
			<content:encoded><![CDATA[<p></p><div id="attachment_495" class="wp-caption alignright" style="width: 180px">
	<a href="http://tikimojo.com/wp-content/uploads/2011/12/wordpress-logo-notext-rgb.png"><img class="size-medium wp-image-495 " title="wordpress-logo-notext-rgb" src="http://tikimojo.com/wp-content/uploads/2011/12/wordpress-logo-notext-rgb-300x300.png" alt="logo" width="180" height="180" /></a>
	<p class="wp-caption-text">WordPress</p>
</div>
<p>Hey kids! From the official WordPress site:</p>
<blockquote><p>The latest and greatest version of the WordPress software — 3.3, named “Sonny” in honor of the great jazz saxophonist Sonny Stitt — is <a href="http://wordpress.org/download/">immediately available for download</a> or update inside your WordPress dashboard.</p></blockquote>
<p><a href="http://wordpress.org/news/2011/12/sonny/" target="_blank">If you go here</a>, you can see a nifty video summarizing what&#8217;s in the new version.</p>
<p>Let&#8217;s say you go into your WordPress admin and it tells you that it wants your web server hostname and password before it can do the update.  You enter that stuff in, WordPress download a zip file and then gives you a message like:</p>
<pre style="padding-left: 30px;"><code>Could not create directory: /my/path/web/wp-content/upgrade/wordpress-3.tmp</code></pre>
<p>Now what?  The WordPress Codex has some <a href="http://codex.wordpress.org/Upgrading_WordPress" target="_blank">information on this right here, including how to do a manual upgrade</a>.</p>
<p>Possibly there&#8217;s ownership issues – the apache user has to be able to write to your WordPress files.  If you have some command-line skills you can look at the output from ps to figure out which is the right user:</p>
<pre style="padding-left: 30px;">ps auxw | grep -E apache</pre>
<p>And then you can go to the root of your WordPress site and change owner of the files with a command like this</p>
<pre style="padding-left: 30px;">sudo chown -R apache_username *</pre>
<p>After that, the automatic upgrade should work.  <em><strong>However</strong></em>, you may need to chown the files back to your user name to get editing permission back.  Doing this is a <em>hack</em> – in a more perfect world you&#8217;d go and learn enough about UNIX permissions to set everything correctly in the first place.  But will get you going in the meantime.</p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/12/wordpress-3-3-and-what-to-do-when-automatic-update-fails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress and Ubuntu</title>
		<link>http://tikimojo.com/2011/12/wordpress-and-ubuntu/</link>
		<comments>http://tikimojo.com/2011/12/wordpress-and-ubuntu/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 08:45:31 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=493</guid>
		<description><![CDATA[So, you are ready to run WordPress on your laptop so you can work on a web site without having to either be connected to the Internet, or if you are connected, having to wait for that site to load. There&#8217;s lots of different ways to do this, for this article I&#8217;m addressing running WordPress [...]]]></description>
			<content:encoded><![CDATA[<p></p><div id="attachment_495" class="wp-caption alignright" style="width: 210px">
	<a href="http://tikimojo.com/wp-content/uploads/2011/12/wordpress-logo-notext-rgb.png"><img class="size-medium wp-image-495 " title="wordpress-logo-notext-rgb" src="http://tikimojo.com/wp-content/uploads/2011/12/wordpress-logo-notext-rgb-300x300.png" alt="logo" width="210" height="210" /></a>
	<p class="wp-caption-text">WordPress</p>
</div>
<p><span class="drop_cap">S</span>o, you are ready to run <a href="http://www.wordpress.org" target="_blank">WordPress</a> on your laptop so you can work on a web site without having to either be connected to the Internet, or if you are connected, having to wait for that site to load.</p>
<p>There&#8217;s lots of different ways to do this, for this article I&#8217;m addressing running WordPress on <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a>.  Ubuntu 11.10 in my case.  Installing WordPress is easy once you&#8217;ve got MySQL, PHP and phpMyAdmin installed in Ubuntu – I&#8217;m going to leave that has an exercise for the reader.  It&#8217;s outside the scope of this article.</p>
<p>So&#8230; it appears you&#8217;ve got WordPress installed and running, but when you try to load your WordPress site the only thing you get in your web browser is the home page of your site – none of the other pages show up.  <em>Frustrating!</em></p>
<p>It turns out that Ubuntu (and Debian Linux) turn off <a href="http://en.wikipedia.org/wiki/Htaccess" target="_blank">htaccess</a> by default.  In short htaccess is a way to fool a web brower to do things you want when it tries to look at a URL on your server.  In this case WordPress uses it to hand visitors pretty URL&#8217;s.  If htaccess is turned off, WordPress won&#8217;t work correctly.  You&#8217;ll get the home page of your WordPress site, but nothing else.</p>
<p>Setting up Apache2 on Ubuntu is it&#8217;s own long topic – <a href="https://help.ubuntu.com/10.10/serverguide/C/httpd.html" target="_blank">here&#8217;s a place to start</a>.  Now if you&#8217;ve done your googling correctly you&#8217;ve got Apache2 up and running, and you&#8217;ve got it serving up virtual web servers, now we turn on .htaccess.</p>
<p>In Ubuntu under /etc/apache2/sites-enabled is an entry for each virtual web server you have running.  Perhaps you&#8217;ve got a site called <em>superkitty.com</em>.  In your terminal window, while you&#8217;re in the /etc/apache2/sites-enabled directory we need to give a command like this:</p>
<pre>sudo pico superkitty.com</pre>
<p>(ok &#8211; go off and learn how to use <a href="http://en.wikipedia.org/wiki/Pico_(text_editor)" target="_blank">Pico</a> and <a href="http://en.wikipedia.org/wiki/Sudo" target="_blank">sudo</a>.  We&#8217;ll wait.)  Make sure you&#8217;ve got something like this in that file:</p>
<pre>&lt;Directory /&gt;
     Options FollowSymLinks
     AllowOverride all
&lt;/Directory&gt;</pre>
<p>Now kick your Apache2 configuration in the head.  In the terminal type:</p>
<pre>sudo a2enmod rewrite</pre>
<p>You&#8217;ve got Apache good and woozy.  It&#8217;s time to tell it to restart.  In the terminal type:</p>
<pre>sudo /etc/init.d/apache2 restart</pre>
<p>H&#8217;okay.  Now your Ubuntu-based WordPress sites should be working properly.  Yay!  Feel good about yourself and consider getting some icecream!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/12/wordpress-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu and Samba</title>
		<link>http://tikimojo.com/2011/11/ubuntu-and-samba/</link>
		<comments>http://tikimojo.com/2011/11/ubuntu-and-samba/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 03:59:25 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=489</guid>
		<description><![CDATA[So, you&#8217;d like to use Samba (a.k.a. SMB &#8211; windows file sharing.  More than you wanted to know here.) to connect to your Ubuntu Linux machine and edit files. Of course you do, it&#8217;s a great idea. This is the place to start: https://help.ubuntu.com/11.04/serverguide/C/samba-fileserver.html However, you must must configure a directory to share, there isn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>So, you&#8217;d like to use Samba (a.k.a. SMB &#8211; windows file sharing.  <a href="http://en.wikipedia.org/wiki/Server_Message_Block" target="_blank">More than you wanted to know here.</a>) to connect to your Ubuntu Linux machine and edit files.</p>
<p><em>Of course you do</em>, it&#8217;s a great idea.</p>
<p>This is the place to start: <a href="https://help.ubuntu.com/11.04/serverguide/C/samba-fileserver.html">https://help.ubuntu.com/11.04/serverguide/C/samba-fileserver.html</a></p>
<p><em>However</em>, you must must configure a directory to share, there isn&#8217;t one setup in the Ubuntu example file.  I can&#8217;t teach you Samba configuration in a single blog post, but in your /etc/samba/smb.conf:</p>
<p>• Use this as a reference: <a href="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html">http://samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html</a></p>
<pre style="padding-left: 30px;">[name of your file share]
comment = Text people see when they attempt to connect
path = /path/to/the/directory/you/wanna/share</pre>
<p>There&#8217;s far too many options in smb.conf to cover here, but you&#8217;ll need those for sure.</p>
<p>• Now, you must also create a smb user with a password, your existing user accts don&#8217;t get access automatically.  <em>Guh!</em>  Did the Ubuntu docs forget to mention that?  D&#8217;OH!</p>
<pre style="padding-left: 30px;">sudo smbpasswd -a your_smb_user</pre>
<p>Replace &#8220;your_smb_user&#8221; with the username you&#8217;d like people to log in with.  It will ask you for a password, type that in.  For greater security you&#8217;ll have an smb username for each person you want to connect to the server.</p>
<p>Let&#8217;s say, <strong>just for the heck of it</strong>, that you&#8217;re connecting to an Ubuntu server running in Parallels on your Mac, or over the network.</p>
<ol>
<li>Find the <strong>IP address</strong> of the Ubuntu server.  Go System Settings -&gt; Network, it should tell you what the Ubuntu IP address is.</li>
<li>On the <strong>Mac</strong> in the <strong>Finder</strong> hit command-k.   In the &#8220;server address&#8221; field type: &#8220;smb://ip_address&#8221;</li>
<li>(replace ip_address with the IP address you found up in step 1)</li>
<li>Click Connect</li>
<li>It should ask you for the username and password you defined earlier in this blog post</li>
<li>If it can&#8217;t connect, open the <strong>Terminal</strong> and type &#8220;ping ip_address&#8221;  (see ip_address note above).</li>
</ol>
<div>If it doesn&#8217;t return something like this:</div>
<div>
<pre style="padding-left: 30px;">PING 192.168.5.71 (192.168.5.71): 56 data bytes
64 bytes from 192.168.5.71: icmp_seq=0 ttl=64 time=0.785 ms
64 bytes from 192.168.5.71: icmp_seq=1 ttl=64 time=0.574 ms
64 bytes from 192.168.5.71: icmp_seq=2 ttl=64 time=0.351 ms
64 bytes from 192.168.5.71: icmp_seq=3 ttl=64 time=0.581 ms</pre>
<p>Then something is wrong with your network setups and you&#8217;ve got some more googling to do.</p>
<p>Well, this is a pretty deep topic.  Hopefully this helps you connect from your desktop to an Ubuntu server!  Knock &#8216;m dead, Tiger!</p>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/11/ubuntu-and-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Joy of Chromium</title>
		<link>http://tikimojo.com/2011/11/the-joy-of-chromium/</link>
		<comments>http://tikimojo.com/2011/11/the-joy-of-chromium/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 07:41:30 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=455</guid>
		<description><![CDATA[So, you&#8217;ve probably heard of Google Chrome.  Chrome is a fine web browser produced at Google.  What you probably haven&#8217;t heard about is the open source version known as Chromium. You probably wouldn&#8217;t care, unless you&#8217;re like me and you want to run modern software on your old computers.  Let&#8217;s say you&#8217;re a web developer [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://tikimojo.com/wp-content/uploads/2011/11/chrome_logo.jpeg"><img class="alignright size-full wp-image-459" title="chrome_logo" src="http://tikimojo.com/wp-content/uploads/2011/11/chrome_logo.jpeg" alt="" width="266" height="190" /></a>So, you&#8217;ve probably heard of <a href="http://www.google.com/chrome" target="_blank">Google Chrome</a>.  Chrome is a fine web browser produced at Google.  What you probably haven&#8217;t heard about is the open source version known as <a href="http://www.chromium.org/Home" target="_blank">Chromium</a>.</p>
<p>You probably wouldn&#8217;t care, unless you&#8217;re like me and you want to run modern software on your old computers.  Let&#8217;s say you&#8217;re a web developer and you&#8217;d like to run the latest browsers on your old, unsupported OS.</p>
<p>In this case, I&#8217;ve got an old mac which won&#8217;t run anything newer than OSX 10.4.  <a href="http://tikimojo.com/2011/11/getting-new-life-from-your-old-computers/" target="_blank">Yet, using the tools of X11 we can make it do all kinds of modern things!</a></p>
<p><a href="http://tikimojo.com/2011/11/getting-new-life-from-your-old-computers/" target="_blank">That previous Tiki:Mojo blog post addresses how to run an app on one mac and display it on a completely different computer over the local network.</a>  What happens if when you need to use a linux/unix app that doesn&#8217;t run under OS X?</p>
<p>In this case, how can I run <a href="http://en.wikipedia.org/wiki/Google_Chrome" target="_blank">Google&#8217;s Chrome web browser</a>, but display it on my old Powerbook?  Here&#8217;s how I&#8217;m doing it.  This trick requires a newer Intel-based mac (or anything that can run Linux) and almost any older mac.</p>
<ol>
<li>On the newer mac you need a way to run a Linux installation.  This could be a dual-boot or through some kind of Virtual Machine software.  I&#8217;m using <a href="http://www.parallels.com/products/desktop/" target="_blank">Parallels Desktop</a>, but the clever monkey can adapt this info to any virtual machine system.</li>
<li>I&#8217;m running <a href="http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29" target="_blank">Ubuntu</a> on Parallels virtual machine in this case.  Inside Ubuntu, <a href="http://www.google.com/chrome" target="_blank">install Google Chrome</a>.  Consult your local linux nerd if you can&#8217;t figure out how to do that.</li>
<li>The next step is to make sure another computer on your local network can talk to the linux install you are running inside your virtual machine.  I&#8217;m not going to teach you networking 101 in this blog post, but if you&#8217;re using Parallels Desktop:</li>
<ol>
<li>In Parallels you&#8217;ll need to have the virtual machine &#8220;shut down&#8221; to make these changes</li>
<li>open hardware settings</li>
<li>choose &#8220;network 1&#8243;</li>
<li>under &#8220;type&#8221; choose a bridged network, and the one your computer uses to connect to other computers on the local network</li>
<li>then click OK</li>
</ol>
<li>Now, since you&#8217;re a smooth computer operator, you&#8217;ve done all that correctly and a machine on your local network can talk to the virtual machine on your physical machine on that network.  Genius!  Ok.  On that machine, open a Terminal window.</li>
<li>If you&#8217;re in OS X 10.4, start the X11 app.  If you&#8217;re in Windows, use Google to find yourself an X Server.  If you&#8217;re in some kind of Linux or Unix, you most likely already have X11 nearby.  In OS X 10.5 and newer, X11 is built in and your friendly computer is just ready t0 go.</li>
<li>The first thing we need to do is to allow another computer to send us a window.  Open a terminal window and type this:</li>
<ul>
<li>
<pre>xhost +</pre>
</li>
</ul>
<li>Now connect from the old machine to the newer machine that&#8217;s going to run Chrome for you.  In your terminal window follow these examples:</li>
<ul>
<li>
<pre>ssh username@ipaddress_of_the_newer_machine</pre>
</li>
<li>
<pre>ssh steve@10.0.2.1</pre>
</li>
</ul>
<li>Ok, now we need to tell the computer where to send the Chromium window.  Follow these examples:</li>
<ul>
<li>
<pre>export DISPLAY=your_ip_address:0</pre>
</li>
<li>
<pre>export DISPLAY=10.0.2.3:0</pre>
</li>
</ul>
<li><em><strong>But wait!</strong></em> There&#8217;s a shortcut to all these commands to set your display.  Skip back to step 6.  You just opened a terminal window.  Skip the xhost bit, this time our ssh command will connect us AND set the display correctly with just one line:</li>
<ul>
<li>
<pre>ssh -Y username@ipaddress_of_the_newer_machine</pre>
</li>
</ul>
<li>You should be ready to launch Chrome.  Here&#8217;s the command:</li>
<ul>
<li>
<pre>chromium-browser</pre>
</li>
</ul>
<li>Chrome should now appear on your old computer!  <a href="http://en.wikipedia.org/wiki/Zoidberg" target="_blank">Hooray for Zoidberg! </a> You now have the latest in web browsing technology on whatever old cranky computer you&#8217;ve got laying around.</li>
<li>By now you&#8217;ve noticed that Chromium and Chrome are the same thing, but it&#8217;s all confusing.  Chromium is the open source project behind Chrome.  <a href="http://www.chromium.org/Home" target="_blank">Go read about it here.</a></li>
<li>There is no step 12.  You&#8217;re done!  Go off and web it up!</li>
</ol>
<p><em>Note:</em>experienced computer nerds will note that &#8220;xhost +&#8221; allows anyone on your network to open windows on your machine.  If you&#8217;re concerned about this, you can restrict this to just the ip address of the machine that&#8217;s running Firefox for you.  Example:</p>
<pre>xhost +10.0.2.1</pre>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/11/the-joy-of-chromium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting New Life From Your Old Computers</title>
		<link>http://tikimojo.com/2011/11/getting-new-life-from-your-old-computers/</link>
		<comments>http://tikimojo.com/2011/11/getting-new-life-from-your-old-computers/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 04:01:51 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=446</guid>
		<description><![CDATA[Let&#8217;s say you&#8217;ve got an old laptop that still works, but can&#8217;t run a modern web browser.  Well, there&#8217;s this nifty old-school technology called X11 which allows the clever nerd to run a program on one machine and have it display on another.  So, how about I run the most recent Firefox on my new [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://tikimojo.com/wp-content/uploads/2011/11/xlogo.jpeg"><img class="alignright size-full wp-image-448" title="xlogo" src="http://tikimojo.com/wp-content/uploads/2011/11/xlogo.jpeg" alt="X11 Logo" width="172" height="190" /></a>Let&#8217;s say you&#8217;ve got an old laptop that still works, but can&#8217;t run a modern web browser.  Well, there&#8217;s this nifty old-school technology called <a href="http://en.wikipedia.org/wiki/X11" target="_blank">X11</a> which allows the clever nerd to run a program on one machine and have it display on another.  So, how about I run the most recent Firefox on my new computer, but have it display on my old computer!</p>
<p>In this case, I&#8217;ve got an old Apple Powerbook from 2000 which nobody is making new software for and I&#8217;ve also got a 2010 Macbook Pro which can run anything that runs on an Intel CPU.  X11 is built into OSX from 10.4 on, but these same concepts will work for Windows once you locate an X Server package (see Google).  X is generally built into any Unix/Linux.</p>
<p>So here&#8217;s how we go about running Firefox on one mac and having it appear on another.  Starting with how to install this stuff.</p>
<ol>
<li>Start up the Terminal on your faster, newer mac.  If you&#8217;re not comfortable doing some things in text in the terminal, this whole biznach isn&#8217;t for you.</li>
<li>Install macports – <a href="http://www.macports.org/install.php" target="_blank">http://www.macports.org/install.php</a>  Macports is a nifty tool that makes many unix applications available for your mac, which is actually unix under the surface.</li>
<li>Install Firefox for X11.  This will take a little while, depending on your network speed.  In the terminal type:</li>
<ul>
<li>
<pre>sudo port install firefox-x11</pre>
</li>
</ul>
<li>So!  Now you&#8217;ve got Firefox!  Take it for a test-ride!  In your terminal, type:</li>
<ul>
<li>
<pre>firefox-x11</pre>
</li>
</ul>
<p><a href="http://tikimojo.com/wp-content/uploads/2011/11/firefoxlogo.jpeg"><img class="alignright size-full wp-image-449" title="firefoxlogo" src="http://tikimojo.com/wp-content/uploads/2011/11/firefoxlogo.jpeg" alt="Firefox logo" width="143" height="143" /></a></p>
<li>Now, on your older mac.  In OSX 10.4 you have to start X11 manually.  It&#8217;s in applications -&gt; utilities -&gt; X11.  In OSX 10.5 and later, X11 is built-in.  So, double-click X11 if you&#8217;re in 10.4, otherwise just go back to your terminal.  First we tell your older mac that it&#8217;s OK for someone else to send you a window over the network.  Do this:</li>
<ul>
<li>
<pre>xhost +</pre>
</li>
</ul>
<li>Now we connect from your older computer to your newer.  This can be done with SSH.  If you&#8217;ve made it this far, you&#8217;ve probably already heard of it.  In the terminal window on the older machine follow these examples:</li>
<ul>
<li>
<pre>ssh username@ipaddress_of_the_newer_machine</pre>
</li>
<li>
<pre>ssh steve@10.0.2.1</pre>
</li>
</ul>
<li>Now we tell the computers where to send the Firefox window.   Follow these examples:</li>
<ul>
<li>
<pre>export DISPLAY=your_ip_address:0</pre>
</li>
<li>
<pre>export DISPLAY=10.0.2.3:0</pre>
</li>
</ul>
<li>Boy, that&#8217;s a lot of work!  <em><strong>Isn&#8217;t there a shortcut?</strong></em> Actually, yes there is.  Back in your terminal window at Step 5, instead of the xhost command, use this:</li>
<ul>
<li>
<pre>ssh -Y username@ipaddress_of_the_newer_machine</pre>
</li>
</ul>
<li>Now, at last, you can start Firefox.  In your terminal on your older computer:</li>
<ul>
<li>
<pre>firefox-x11</pre>
</li>
</ul>
<li>and there you go&#8230; Now you have the tools to run any X application on a *nix machine somewhere on another machine.  You can do more reading on xhost and setting the display here: <a href="http://macdevcenter.com/pub/a/mac/2003/03/14/install_x11.html?page=2" target="_blank">http://macdevcenter.com/pub/a/mac/2003/03/14/install_x11.html?page=2</a>.  Let&#8217;s say you want your terminal window back for more commands after starting Firefox?  Here&#8217;s whatcha do:</li>
<ul>
<li>
<pre>firefox-x11 &amp;</pre>
</li>
</ul>
</ol>
<p>Enjoy the cool feeling of making something nifty happen!</p>
<p><em>Note:</em>experienced computer nerds will note that &#8220;xhost +&#8221; allows anyone on your network to open windows on your machine.  If you&#8217;re concerned about this, you can restrict this to just the ip address of the machine that&#8217;s running Firefox for you.  Example:</p>
<pre style="padding-left: 60px;">xhost +10.0.2.1</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/11/getting-new-life-from-your-old-computers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smartphone Cold Wars</title>
		<link>http://tikimojo.com/2011/11/smartphone-cold-wars/</link>
		<comments>http://tikimojo.com/2011/11/smartphone-cold-wars/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 23:06:06 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=436</guid>
		<description><![CDATA[The smartphone war is over and Android won?  Well, maybe it&#8217;s not that simple.  Apple provides much more than a device.  There&#8217;s quite a bit of service they provide along with that device which hasn&#8217;t been happening for the Android market. In any case, there&#8217;s no one &#8220;winner&#8221; in the 90&#8242;s sense that Microsoft found [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The smartphone war is over and Android won?  Well, maybe it&#8217;s not that simple.  Apple provides much more than a device.  There&#8217;s quite a bit of service they provide along with that device which hasn&#8217;t been happening for the Android market.</p>
<div id="attachment_444" class="wp-caption aligncenter" style="width: 300px">
	<a href="http://tikimojo.com/wp-content/uploads/2011/11/white-flag.jpg"><img class="size-medium wp-image-444" title="Surrender?" src="http://tikimojo.com/wp-content/uploads/2011/11/white-flag-300x172.jpg" alt="Surrender?" width="300" height="172" /></a>
	<p class="wp-caption-text">Surrender!</p>
</div>
<p>In any case, there&#8217;s no one &#8220;winner&#8221; in the 90&#8242;s sense that Microsoft found a way to force everyone to use their products.  In many ways, everyone&#8217;s a winner because there will continue to be a lot of options in the smart phone world.</p>
<p>From Fast Company magazine:</p>
<p style="text-align: center;">
<p><a href="http://www.fastcompany.com/1792286/the-smartphone-wars-are-over?partner=homepage_newsletter" target="_blank">http://www.fastcompany.com/1792286/the-smartphone-wars-are-over?partner=homepage_newsletter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/11/smartphone-cold-wars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Users Getting Screwed</title>
		<link>http://tikimojo.com/2011/10/android-users-getting-screwed/</link>
		<comments>http://tikimojo.com/2011/10/android-users-getting-screwed/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 03:03:54 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=430</guid>
		<description><![CDATA[If you care about mobile devices, which you do if you work in the industry you probably should&#8230; this is interesting information. There&#8217;s been a lot of buzz around Google&#8217;s Android, and for good reason – it&#8217;s a good product and it&#8217;s making it&#8217;s way into the hands of a lot of people.  But there&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://tikimojo.com/wp-content/uploads/2011/10/016a_android_orphans.png"><img class="size-medium wp-image-431 alignright" title="Android Orphans" src="http://tikimojo.com/wp-content/uploads/2011/10/016a_android_orphans-218x300.png" alt="" width="218" height="300" /></a>If you care about mobile devices, which you do if you work in the industry you probably <em>should</em>&#8230; this is interesting information.</p>
<p>There&#8217;s been a lot of buzz around Google&#8217;s Android, and for good reason – it&#8217;s a good product and it&#8217;s making it&#8217;s way into the hands of a lot of people.  But there&#8217;s a catch.  Maybe Android doesn&#8217;t love you as much as you love it.  Based on this research there appears to be a pump-and-dump approach to Android phones.  This data suggests the game is to get the phone in a customer&#8217;s hands and then move on to finding the next customer.</p>
<p>This isn&#8217;t good news for many Android phone owners.  This chart suggests that if you want the new features Google has been working on, or at least security patches and fixes to what you have now, quite likely you&#8217;re out of luck.</p>
<p>No data on Windows Phone 7, possibly because it&#8217;s too new.</p>
<p>Read more here:</p>
<p><a href="http://theunderstatement.com/post/11982112928/android-orphans-visualizing-a-sad-history-of-support" target="_blank">Android Orphans: Visualizing a Sad History of Support</a></p>
<blockquote><p>I went back and found every Android phone shipped in the United States<sup id="fnref:1"><a href="http://theunderstatement.com/post/11982112928/android-orphans-visualizing-a-sad-history-of-support#fn:1" rel="footnote">1</a></sup> up through the middle of last year. I then tracked down every update that was released for each device &#8211; be it a major OS upgrade or a minor support patch &#8211; as well as prices and release &amp; discontinuation dates. I compared these dates &amp; versions to the currently shipping version of Android at the time. The resulting picture isn’t pretty &#8211; well, not for Android users.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/10/android-users-getting-screwed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser Speed Tests</title>
		<link>http://tikimojo.com/2011/09/browser-speed-tests/</link>
		<comments>http://tikimojo.com/2011/09/browser-speed-tests/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 23:22:25 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://tikimojo.com/?p=418</guid>
		<description><![CDATA[Lifehacker recently released the results of their Web browser speed tests. The results, fastest to slowest: Opera 11.51 Firefox 7 Internet Explorer 9 Chrome 14 Interestingly enough, while Chrome came in last overall, it&#8217;s the fastest at processing Javascript. Read the full results here.]]></description>
			<content:encoded><![CDATA[<p></p><p>Lifehacker recently released the results of their Web browser speed tests.</p>
<p>The results, fastest to slowest:</p>
<ol>
<li>Opera 11.51</li>
<li>Firefox 7</li>
<li>Internet Explorer 9</li>
<li>Chrome 14</li>
</ol>
<div>Interestingly enough, while Chrome came in last overall, it&#8217;s the fastest at processing Javascript.</div>
<p><a href="http://lifehacker.com/5844150/browser-speed-tests-firefox-7-chrome-14-internet-explorer-9-and-more" target="_blank">Read the full results here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tikimojo.com/2011/09/browser-speed-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

