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

<channel>
	<title>2tap.com</title>
	<atom:link href="http://2tap.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://2tap.com</link>
	<description>Random projects and stuff by Russ Hall in London</description>
	<pubDate>Thu, 18 Dec 2008 02:22:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JSFractal - JavaScript Fractal Explorer</title>
		<link>http://2tap.com/2008/12/18/jsfractal-javascript-fractal-explorer/</link>
		<comments>http://2tap.com/2008/12/18/jsfractal-javascript-fractal-explorer/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 00:20:29 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

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

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

		<guid isPermaLink="false">http://2tap.com/?p=48</guid>
		<description><![CDATA[

Have a play
You can try out JSFractal here.
What is it?
JSFractal is a web-based tool (written entirely client side in JavaScript) to allow you to explore fractals. Currently, only the Mandelbrot set is implemented but I hope to add support for switching to Julia sets and other types in the future.
You can drag-select on the fractal [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<div><a href="http://2tap.com/jsfractal/"><img class="size-full wp-image-33" title="JSFractal" src="http://2tap.com/blog/wp-content/uploads/2008/12/jsfractal1.png" alt="JSFractal Screenshot" width="400" height="221" /></a></div>
<h3>Have a play</h3>
<p>You can <a href="http://2tap.com/jsfractal/">try out JSFractal here</a>.</p>
<h3>What is it?</h3>
<p>JSFractal is a web-based tool (written entirely client side in JavaScript) to allow you to explore fractals. Currently, only the <a href="http://en.wikipedia.org/wiki/Mandelbrot_set">Mandelbrot set</a> is implemented but I hope to add support for switching to <a href="http://en.wikipedia.org/wiki/Julia_set">Julia sets</a> and other types in the future.</p>
<p>You can drag-select on the fractal to choose an area to zoom in to. As you progress, you can see a <em>timeline</em> of previous points of the fractal, allowing you to switch to any prior state and continue in a different direction.</p>
<p>As well as allowing you to see previous states of the fractal, the timeline also supports a <em>playback</em> feature so you can watch the entire transition you&#8217;ve created zoom from start to finish.</p>
<p>At any point you can change the quality settings and size of the rendered fractal. Please note however, the higher the quality and the larger the fractal size - the longer you&#8217;ll wait! Currently there is only one colour scheme to choose from. </p>
<p>Finally, you can bookmark the page at any point. Returning to the URL will render the fractal that was showing at the point you bookmarked the page.</p>
<p><a href="http://2tap.com/jsfractal/">Have a go!</a>.</p>
<h3>Why?</h3>
<p>With the current JavaScript performance arms race going on between V8, Webkit, Mozilla and Opera, I wanted something fun to write that would really push the browsers to the limits. </p>
<p>After picking up James Gleick&#8217;s <em>Chaos</em> again, my interest with fractals was renewed and hence this project. Obviously this isn&#8217;t the best medium for something as computationally heavy as a fractal exploration tool - but what the hell. It&#8217;s a good experiment!</p>
<p>On a reasonably spec&#8217;d machine and one of the pre-release ultra-mega-crazy-fast JavaScript engines it&#8217;s actually pretty usable. There&#8217;s a few tricks used along the way to boost performance which I&#8217;ll go into later.</p>
<h3>How does it work?</h3>
<h4>Overview</h4>
<p>JSFractal is written entirely in JavaScript with no server side components. It uses MooTools 1.2 and the canvas element. Thus, Internet Explorer need not apply. Sorry! I attempted to patch in support with <a href="http://excanvas.sourceforge.net/">Google&#8217;s ExplorerCanvas</a> but it was so ridiculously slow that I had to drop it.</p>
<h4>Compatibility</h4>
<p>It has been tested and is thought to work in the following browsers:</p>
<ul>
<li>Mozilla Firefox 1.5+</li>
<li>Safari 3+</li>
<li>Opera 9</li>
<li>Google Chrome</li>
</ul>
<p>For reference, best performance is currently with Firefox 3.1 beta (with <a href="http://www.tech-recipes.com/rx/3381/firefox-31-how-to-enable-the-tracemonkey-javascript-engine/">JIT JavaScript enabled</a>) and Google Chrome.</p>
<h4>Rendering techniques</h4>
<p>Every time a fractal is generated, each pixel&#8217;s value needs to be calculated. On top of this, each pixel needs to be drawn individually. This means the key to fast performance is:</p>
<ul>
<li>Efficient calculations for each pixel</li>
<li>Fast drawing to the canvas</li>
</ul>
<p>I refined the fractal calculations as much as possible and had it running pretty fast. However, the actual rendering to the canvas proved to be a little trickier to speed up.</p>
<p>Initially I implemented rendering using the <strong>fillRect</strong> method of the canvas object to draw each pixel as a 1&#215;1 rectangle. This &#8230; is &#8230; unsurprisingly &#8230; slow. There is a lot of overhead in setting up and executing each call (setting fillColor etc.). This meant, particularly on the faster JS engines, the bottleneck was primarily the rendering.</p>
<p>I love <strong>createImage()</strong>. This is a canvas method implemented in Firefox 3+ (and recent Webkit nightlies I believe) which returns an updateable pixel buffer object. This means we can call it once at the beginning of a render to retrieve access to the pixel buffer and write RGBA values directly (it&#8217;s implemented, effectively, as a single dimensional array so access is fast). It can then simply be redrawn back to the canvas at the end. Fast!</p>
<p>The above is great, but not all the current canvas supporting browsers have this method. The spec for it is still somewhat in the air. There&#8217;s debates as to quite what it should return - the number of pixels does not always equal the canvas size etc. (at least, in theory). In effect, this means that Chrome and Opera are both missing this method which means the only option is fillRect.</p>
<p>It seemed a great shame that Chrome, despite having a very fast JS engine, was lagging behind Firefox merely because of the awful fillRect() method of rendering.</p>
<p>After posting a comment to an <a href="http://ajaxian.com/archives/jsspeccy-a-zx-spectrum-emulator-in-javascript#comments">unrelated article on a Spectrum Emulator</a> on <a href="http://ajaxian.com">Ajaxian</a>, <em>cromwellian</em> suggested the possibility of constructing DataURLs manually as an alternative.</p>
<h4>DataURLs?</h4>
<p>Using DataURLs is actually crazy enough to work. And, even better, it&#8217;s pretty fast. It effectively builds up a bitmap image file on the fly, draws it to an Image object and finally draws the loaded Image to the canvas. The great thing about this technique is that it&#8217;s shifting the performance burden from the canvas element to the JavaScript engine. And since the current crop of browsers are getting pretty <em>rapid</em> in this area, it isn&#8217;t too much of a performance hit.</p>
<p>Measurements in Firefox 3.1b showed only about a 40% hit for using the DataURL method of rendering compared to writing directly to the pixel buffer. This sounds a lot but compared to fillRect() it&#8217;s a great improvement.</p>
<p>All three rendering methods are included in JSFractal (the most appropriate is chosen dependent on your browser features). Note: The fillRect() implementation is never actually used since the only browser than I know of that would require this is Internet Explorer.</p>
<h3>Issues</h3>
<p>There are a few issues I&#8217;d like to address which I&#8217;ll go into here.</p>
<h4>Colours</h4>
<p>Currently there is only one colour scheme available. What&#8217;s more, it&#8217;s not the most optimal algorithm for producing the prettiest fractals. I&#8217;d like to improve this - it&#8217;s more evident the deeper into the fractal you go (differentiations in colour become less, leading to large blocks of the same colour). Best results happen when the quality level is whacked up high and the size is set to the maximum. </p>
<h4>Changing settings and the timeline</h4>
<p>Changing the settings (size, quality, colours) half way through a fractal exploration will only update the current fractal. The timeline playback etc. will still function but previous fractal states may be stretched to fit meaning the animation may change in quality during playback.</p>
<p>There&#8217;s not a lot I can do about this, however, since I&#8217;d need to re-render all previous fractals which would be an unacceptable performance hit. I think the current solution of allowing you to change settings mid-way through and doing its best to compensate for the change is the current best compromise.</p>
<h3>Credits</h3>
<ul>
<li>Parts of the bitmap and base64 encoding methods adapted from <a href="http://neil.fraser.name/software/bmp_lib/">Neil Fraser&#8217;s JavaScript BMP library</a>.</li>
<li><em>cromwellian</em> for his DataURL idea.</li>
<li>Graphics heavily inspired by <em>kailoon&#8217;s</em> <a href="http://themetation.com/2008/07/14/how-to-create-wordpress-themes-from-scratch-part-1/">Photoshop tutorial</a>.
</li>
</ul>
<h3>Over and out</h3>
<p>Any feedback, bug reports or ideas for improvement very much appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2008/12/18/jsfractal-javascript-fractal-explorer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tap Trap - The year of procrastination</title>
		<link>http://2tap.com/2008/12/10/tap-trap-the-year-of-procrastination/</link>
		<comments>http://2tap.com/2008/12/10/tap-trap-the-year-of-procrastination/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 22:54:29 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

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

		<category><![CDATA[Tap Trap]]></category>

		<guid isPermaLink="false">http://2tap.com/?p=16</guid>
		<description><![CDATA[Since launching Tap Trap, there have been a steady stream of players stumbling across the game and, frankly, getting hooked.
I wrote the game a couple of years ago now (mostly as an experiment with JavaScript) and didn&#8217;t really plan to promote it particularly but it&#8217;s great to see around 15 new players a day having [...]]]></description>
			<content:encoded><![CDATA[<p>Since launching <a title="Tap Trap" href="http://2tap.com/taptrap">Tap Trap</a>, there have been a steady stream of players stumbling across the game and, frankly, getting hooked.</p>
<p>I wrote the game a couple of years ago now (mostly as an experiment with JavaScript) and didn&#8217;t really plan to promote it particularly but it&#8217;s great to see around 15 new players a day having a go!</p>
<p>It recently passed the 500,000th game played - around half of those games were actually completed (a score was submitted). From a quick scribble on the back of a Topman receipt (taking a rough average of 2 minutes per game) this means there&#8217;s been about 1 man year of <span style="text-decoration: line-through;">procrastination</span> play so far</p>
<p>Well done to <span class="page-text"><em>Joe Bloggs 6140 </em>for the current high score of 5,510<em>. </em></span>The average score is <span class="page-text">1981.98 across all the games completed.</span></p>
<p><span class="page-text">The booby prize goes to </span><span class="page-text"><em>Joe Bloggs 2681 </em>for achieving the lowest score of just 152. It&#8217;s actually quite a feat to achieve such an abysmal score - seriously, try it. It&#8217;s not as easy as it looks!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2008/12/10/tap-trap-the-year-of-procrastination/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu on the Asus Eeepc 901/1000/1000h</title>
		<link>http://2tap.com/2008/08/12/ubuntu-on-the-asus-eeepc-90110001000h/</link>
		<comments>http://2tap.com/2008/08/12/ubuntu-on-the-asus-eeepc-90110001000h/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 23:05:14 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

		<guid isPermaLink="false">http://2tap.com/?p=14</guid>
		<description><![CDATA[Useful custom kernel (including working wireless drivers) available from &#8220;adamm&#8221;&#8217;s repository here: http://www.array.org/ubuntu/
At the time of writing not everything&#8217;s fully worked out (issues with the headphone socket etc.) but it&#8217;s a good way to get the stock Hardy 8.04 install functional and on the net.
For the most basic install (to get wireless working at least) [...]]]></description>
			<content:encoded><![CDATA[<p>Useful custom kernel (including working wireless drivers) available from &#8220;adamm&#8221;&#8217;s repository here: <a href="http://www.array.org/ubuntu/">http://www.array.org/ubuntu/</a></p>
<p>At the time of writing not <em>everything&#8217;s </em>fully worked out (issues with the headphone socket etc.) but it&#8217;s a good way to get the stock Hardy 8.04 install functional and on the net.</p>
<p>For the most basic install (to get wireless working at least) you can just <a href="http://www.array.org/ubuntu/setup901.html">copy a couple of debs</a> onto a usb stick and &#8220;dpkg -i *&#8221; install them before getting the rest of the updates via the net repository.</p>
<p>Up to date discussion of progress currently available in <a href="http://forum.eeeuser.com/viewtopic.php?id=32303">this thread</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2008/08/12/ubuntu-on-the-asus-eeepc-90110001000h/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Parklife</title>
		<link>http://2tap.com/2007/11/03/parklife/</link>
		<comments>http://2tap.com/2007/11/03/parklife/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 17:26:47 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[Stupid Boy Projects]]></category>

		<guid isPermaLink="false">http://2tap.com/2007/11/04/parklife/</guid>
		<description><![CDATA[I&#8217;m not entirely sure why this exists, but here&#8217;s a 3 minute video of a trip between Hammersmith and Piccadilly Circus in London (playing at 20x speed). It&#8217;s roughly 4 miles of urban assault course carnage.

Not a lot of planning went into this one (read: no planning went into this one) so the production qualities [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not entirely sure why this exists, but here&#8217;s a 3 minute video of a trip between Hammersmith and Piccadilly Circus in London (playing at 20x speed). It&#8217;s roughly 4 miles of urban assault course carnage.</p>
<p><object width="425" height="366"><param name="movie" value="http://www.youtube.com/v/b1xWkOM9jTY&#038;rel=1&#038;border=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/b1xWkOM9jTY&#038;rel=1&#038;border=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="366"></embed></object></p>
<p>Not a lot of planning went into this one (read: no planning went into this one) so the production qualities may, unfortunately, rule this out for a BAFTA. That, and the plagiarised unlicensed soundtrack.</p>
<p>Here&#8217;s a <a href="http://2tap.com/stupidboyprojects/londonwalk/hammersmith_to_piccadilly.avi" title="Hammersmith to Piccadilly Circus in 3 minutes" target="_blank">better quality version</a> encoded in DivX (right click/save as to download - roughly 21mb).</p>
<p>Those with epilepsy should probably give this one a miss!</p>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2007/11/03/parklife/feed/</wfw:commentRss>
<enclosure url="http://2tap.com/stupidboyprojects/londonwalk/hammersmith_to_piccadilly.avi" length="22298034" type="video/x-msvideo" />
		</item>
		<item>
		<title>Sharing files between a Windows guest and Ubuntu host using VMware and Samba</title>
		<link>http://2tap.com/2007/04/22/sharing-files-between-a-windows-guest-and-ubuntu-host-using-vmware-and-samba/</link>
		<comments>http://2tap.com/2007/04/22/sharing-files-between-a-windows-guest-and-ubuntu-host-using-vmware-and-samba/#comments</comments>
		<pubDate>Sun, 22 Apr 2007 06:31:15 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

		<guid isPermaLink="false">http://2tap.com/2007/04/22/sharing-files-between-a-windows-guest-and-ubuntu-host-using-vmware-and-samba/</guid>
		<description><![CDATA[VMware Workstation (and presumably the other enterprise-grade products in the VMware family) come with the handy &#8220;shared folders&#8221; feature which makes sharing files between a host and a virtual appliance nice and simple. The free products (VMware Player and Server) do not, unfortunately, have this ability and so we must find another way.
This quick guide [...]]]></description>
			<content:encoded><![CDATA[<p>VMware Workstation (and presumably the other enterprise-grade products in the VMware family) come with the handy &#8220;shared folders&#8221; feature which makes sharing files between a host and a virtual appliance nice and simple. The free products (VMware Player and Server) do not, unfortunately, have this ability and so we must find another way.</p>
<p>This quick guide shows how to use <a href="http://www.samba.org" title="Samba">Samba</a> to achieve the same aim. It is aimed at Ubuntu users but (the general concepts at least) should work on any modern Linux distribution. It is also written with a Windows XP guest in mind but a similar process should work in Windows Vista, Windows 2000 and other operating systems.</p>
<p>The goal is to set up a network share which both operating systems can transparently read and write to.</p>
<p>For reference, I am using Ubuntu 7.04 (Feisty).</p>
<h3>Which VMware?</h3>
<p>I&#8217;ll presume you have VMWare already installed with a Windows XP guest virtual appliance already set up. This guide is aimed at users of VMware Player and Server editions (I am using VMware Player).</p>
<p>VMware Player is a simple:</p>
<pre lang="bash">sudo apt-get install vmware-player </pre>
<p>away. For the Server edition, you&#8217;ll probably want to <a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_install_Windows_Applications_.28VMWare_Server_or_Workstation.29" alt="VMware Server guide">consult the wiki</a>.</p>
<h3>Install Samba</h3>
<p>If you don&#8217;t already have Samba installed, now would be a good time to do it:</p>
<pre lang="bash">sudo apt-get install samba</pre>
<p>In order to keeps things clean and easy to manage, we&#8217;ll set up a new user account to own the share. This account name will be used when connecting to the share from within Windows. For the purposes of illustration, I will be creating a share called <em>sandbox</em> with the username and group also being <em>sandbox</em>.</p>
<p>Create the new group and user account with no login privileges:</p>
<pre lang="bash">sudo groupadd sandbox
sudo useradd --gid sandbox --shell /bin/false sandbox</pre>
<p>To avoid creating a redundant home directory, you can add:</p>
<pre lang="bash">--home /nonexistent</pre>
<p>to the end of the previous command.</p>
<p>Now you need to add a matching Samba account. You&#8217;ll be prompted to set a password - make note of this as this is what you will use to connect to the share from within Windows.</p>
<pre>sudo smbpasswd -a sandbox</pre>
<p>Next you&#8217;ll need to create a directory to be used as the share (assuming you don&#8217;t already have one). Create a directory, setting the username to your usual login and group to <em>sandbox</em>. Then <strong>chmod</strong> the directory 775 (assuming you wish both yourself and the virtual appliance to have read/write access). Here is what I entered:</p>
<pre>cd $HOME
mkdir sandbox
sudo chown russ:sandbox sandbox
sudo chmod 775 sandbox</pre>
<p>When you write to the share from within Ubuntu, new files will be created with the default permissions 644 with the username and group being your own user account. When your Windows client connects to the share, it will access it as if it were the local system user <em>sandbox</em> and so the group permissions will apply and you won&#8217;t be able to write to any files created from within Ubuntu.</p>
<p>To get around this problem, we can set the groupid bit for the <em>sandbox</em> directory which means all new files created will inherit the permissions of the parent and so the <em>sandbox</em> user from within Windows will be able to make read and write changes as desired.</p>
<pre>sudo chmod g+s sandbox</pre>
<p>If you don&#8217;t understand the above, don&#8217;t worry, just chmod the directory with the command above and all should be well.</p>
<h3>Setting up the Samba share</h3>
<p>Now all that&#8217;s left to do is to tell Samba about our share. Open up <em>/etc/samba/smb.conf</em> in your favourite text editor.</p>
<pre>sudo gedit /etc/samba/smb.conf</pre>
<p>Firstly, we need to set the security mechanism to <em>user</em>. Look for the line:</p>
<pre>security = user</pre>
<p>and make sure it is uncommented (remove the preceding semicolon if there is one).</p>
<p>Now, scroll down to the <em>Share Definitions</em> section and add the following:</p>
<pre>[sandbox]
path = /home/russ/sandbox
valid users = sandbox
read only = No
create mask = 0777
directory mask = 0777</pre>
<p>Be sure to set the correct path to your share. Save the file and restart the Samba daemon:</p>
<pre lang="bash">sudo /etc/init.d/samba restart</pre>
<p>That should be it. You should now be able to connect to your share from within the Windows guest. At this point you need to know what IP address to connect to from within Windows. This depends on what networking mode you are using for your virtual appliance.</p>
<h4>Bridged Networking</h4>
<p>In this mode, your guest OS has its own IP address and so the address it needs to connect to is your usual host machine&#8217;s address. In this case your address is probably the top line from the output of this command:</p>
<pre lang="bash">ifconfig | grep "inet addr:"</pre>
<h4>NAT networking</h4>
<p>In this mode, your guest OS shares your host&#8217;s address (in terms of other machines on the LAN) and communicates with the host via a private network. In this case, the IP address you need to connect to is most likely the bottom one from the output of this command:</p>
<pre lang="bash">ifconfig | grep "inet addr:"</pre>
<h3>Connecting to the share from within Windows</h3>
<p>If you are unsure as to your host&#8217;s IP address, try and ping it first from within the Windows guest to confirm you have the right one.</p>
<p><img src="http://2tap.com/blog/wp-content/uploads/2007/04/vmware-windows-guest.gif" alt="Windows Map Networking Drive dialog" /></p>
<p>Having worked out what IP address to connect to, you should now be able to connect to your share from within Windows.</p>
<p>The easiest way to do this is:</p>
<ol>
<li>Open up <strong>My Computer</strong></li>
<li>Go to the <em>Tools</em> menu and then <em>Map Network Drive</em></li>
<li>Choose a drive letter to map the network share to</li>
<li>In <em>Folder</em>, enter: \\<strong>HOSTIP</strong>\sandbox (replacing <strong>HOSTIP</strong>)</li>
<li>Click &#8220;Connect using a different user name&#8221; and enter:
<ul>
<li>username: sandbox</li>
<li>password: <strong>yourpassword</strong></li>
</ul>
</li>
<li>Click <em>OK</em> and then the <em>Finish</em> button to connect</li>
</ol>
<p>Hopefully, congratulations are in order. If not, be sure to make sure that any firewalls you have running (host or guest) have the correct rules set to allow communication between the two systems.</p>
<h3>A note on security</h3>
<p>At this point, assuming you have a successful connection, it is worth noting that any other machine on your local network (and potentially the internet if you are not behind a NAT or firewall) can connect to your share (assuming they have the correct credentials).</p>
<p>If you are only using Samba for sharing with VMware (as I am), you may wish to restrict access to VMware only. This is quite easy to do since VMware creates virtual network interfaces for communication between hosts and guests. This means we can set Samba up to ignore any communications that do not originate from these interfaces.</p>
<p>To do this, open up your Samba configuration file again:</p>
<pre>sudo gedit /etc/samba/smb.conf</pre>
<p>Make sure you have a:</p>
<pre>bind interfaces only = true</pre>
<p>line and that it is uncommented (remove any preceding semicolons). Just above this should be an <em>interfaces</em> line (most likely commented out). Add the following just below this:</p>
<pre>interfaces = vmnet0 vmnet1 vmnet8</pre>
<p>These are the virtual interfaces VMware uses for each type of virtual networking: bridged, host only and NAT respectively.</p>
<p>After making the changes, you will need to restart Samba again:</p>
<pre lang="bash">sudo /etc/init.d/samba restart</pre>
<p>and possibly shutdown your VMware session and restart the VMware service:</p>
<p>VMware Player:</p>
<pre lang="bash">sudo /etc/init.d/vmware-player restart</pre>
<p>VMware Server:</p>
<pre lang="bash">sudo /etc/init.d/vmware restart</pre>
<h3>Finished</h3>
<p>You should now have a Samba share configured which is only accessible from your VMware guest appliances. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2007/04/22/sharing-files-between-a-windows-guest-and-ubuntu-host-using-vmware-and-samba/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tap Trap 1.1 - New features</title>
		<link>http://2tap.com/2006/10/10/tap-trap-11-new-features/</link>
		<comments>http://2tap.com/2006/10/10/tap-trap-11-new-features/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 22:26:08 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Tap Trap]]></category>

		<guid isPermaLink="false">http://2tap.com/2006/10/10/tap-trap-11-new-features/</guid>
		<description><![CDATA[The latest version of &#8220;Tap Trap&#8221; is now live.
New features include: 

More high scores shown (top 30 now rather than the original top 5)
&#8216;Replay&#8217; feature - watch any game currently in the top 30
New theme &#8220;alternate&#8221; - it&#8217;s ugly, but it might help people who have trouble with red/blue/green

]]></description>
			<content:encoded><![CDATA[<p>The latest version of <a href="http://2tap.com/taptrap" title="Tap Trap game">&#8220;Tap Trap&#8221;</a> is now live.</p>
<p><strong>New features include: </strong></p>
<ul>
<li>More high scores shown (top 30 now rather than the original top 5)</li>
<li>&#8216;Replay&#8217; feature - watch any game currently in the top 30</li>
<li>New theme &#8220;alternate&#8221; - it&#8217;s ugly, but it might help people who have trouble with red/blue/green</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2006/10/10/tap-trap-11-new-features/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tap Trap - Javascript puzzle game</title>
		<link>http://2tap.com/2006/10/05/tap-trap-10/</link>
		<comments>http://2tap.com/2006/10/05/tap-trap-10/#comments</comments>
		<pubDate>Thu, 05 Oct 2006 00:21:50 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

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

		<category><![CDATA[Tap Trap]]></category>

		<guid isPermaLink="false">http://2tap.com/2006/10/05/tap-trap-10/</guid>
		<description><![CDATA[
“Tap Trap” is a puzzle game written in Javascript. It was born after a lengthy battle with an addiction to the puzzle game Same GNOME. As a standard client application Same GNOME (distributed with the Gnome desktop environment) is great but I wanted a version that could be played online - complete with public high [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Play Tap Trap" href="http://2tap.com/taptrap/"><img id="image6" src="http://2tap.com/blog/wp-content/uploads/2006/10/taptrap-10-screenshot.jpg" alt="Tap Trap Screenshot" /></a></p>
<p><a title="Tap Trap" href="http://2tap.com/taptrap">“Tap Trap”</a> is a puzzle game written in Javascript. It was born after a lengthy battle with an addiction to the puzzle game <a title="Same GNOME" href="http://www.gnome.org/projects/gnome-games/">Same GNOME</a>. As a standard client application Same GNOME (distributed with the <a title="Gnome Desktop Environment" href="http://www.gnome.org/">Gnome desktop environment</a>) is great but I wanted a version that could be played online - complete with public high score tables and taking advantage of the global accessibility that the internet provides.</p>
<p>This is a <a title="Tap Trap" href="http://2tap.com/taptrap">playable</a> version 1.0.</p>
<p>More information on the <a title="Tap Trap project page" href="http://2tap.com/projects/tap-trap/">Tap Trap project page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2006/10/05/tap-trap-10/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My favourite colour is &#8230;</title>
		<link>http://2tap.com/2006/10/04/my-favourite-colour-is/</link>
		<comments>http://2tap.com/2006/10/04/my-favourite-colour-is/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 22:06:20 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://2tap.com/2006/10/04/my-favourite-colour-is/</guid>
		<description><![CDATA[Hello, and welcome. Whilst I&#8217;m really not a fan of blogs in the traditional sense (with some notable exceptions), they do seem to be a convenient, central place to collate ideas and useful finds for future reference. Which is my plan for 2tap.com.
There are two sins for which I am consistently guilty and wish to [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, and welcome. Whilst I&#8217;m really not a fan of blogs in the traditional sense (<a title="Joel on Software" href="http://www.joelonsoftware.com">with</a> <a title="Lambda" href="http://lambda-the-ultimate.org/">some</a> <a title="Benji Smith weblog" href="http://benjismith.net/">notable</a> <a title="Bare Naked App" href="http://www.barenakedapp.com/">exceptions</a>), they do seem to be a convenient, central place to collate ideas and useful finds for future reference. Which is my plan for <a title="2tap.com" href="http://2tap.com">2tap.com</a>.</p>
<p>There are two sins for which I am consistently guilty and wish to address:</p>
<ol>
<li>Frequently coming across, and promptly forgetting, useful tidbits of knowledge - either from others or items I&#8217;ve stumbled upon myself.</li>
<li>Leaving random projects I&#8217;ve done to languish on a CDR never to see the light of day again.</li>
</ol>
<p>So this is what <a title="2tap.com" href="http://2tap.com">2tap.com</a> shall become. Random software, web and technology interests with the odd project to share for good measure. Primarily for myself but also for anyone who can glean anything useful.</p>
<p>To sumarise, it&#8217;s geek stuff without the angst and political agendas. Well, <a title="Linux" href="http://www.linux.org/">mostly</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://2tap.com/2006/10/04/my-favourite-colour-is/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
