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

<channel>
	<title>hocuspokus</title>
	<atom:link href="http://hocuspokus.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://hocuspokus.net</link>
	<description>the life and times of a code monkey</description>
	<pubDate>Thu, 31 Jul 2008 10:39:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>VMWare Fusion 2 Beta&#160;2</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2F31%2Fvmware-fusion-2-beta-2%2F&amp;seed_title=VMWare+Fusion+2+Beta%26%23160%3B2</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2F31%2Fvmware-fusion-2-beta-2%2F&amp;seed_title=VMWare+Fusion+2+Beta%26%23160%3B2#comments</comments>
		<pubDate>Thu, 31 Jul 2008 10:35:11 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[mac]]></category>

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

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

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=156</guid>
		<description><![CDATA[It&#8217;s got friggin&#8217; Unity for Linux!!!  This looks good&#8230;


  The VMWare team has just released the second beta for VMWare Fusion 2.0, the company&#8217;s popular virtualization program for the Mac.
  
  The new beta adds a TON of new features, as the video above demonstrates. I got a chance to talk [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s got friggin&#8217; Unity for Linux!!!  This looks good&#8230;</p>

<blockquote>
  <p>The VMWare team has <a href="http://blogs.vmware.com/teamfusion/2008/07/safer-stronger.html">just released</a> <a href="http://www.vmware.com/communities/content/beta/fusion/fusion2_beta2.html">the second beta for VMWare Fusion 2.0</a>, the company&#8217;s popular virtualization program for the Mac.</p>
  
  <p>The new beta adds a TON of new features, as the video above demonstrates. I got a chance to talk to VMWare today about the new beta and it is HOT. I&#8217;ll be posting a more in-depth overview tomorrow, but until then, here are some of the highlights:</p>
  
  <ul>
  <li><strong>Unity 2.0</strong> - The newest version of Fusion is really focused on better Windows-Mac integration. You can now launch Windows programs from the dock or access Mac programs from within your virtual machine. You can also link folders like Documents, Pictures and Music on your virtual machine with those folders on your Mac.</li>
  <li><strong>Multiple Snapshots</strong> VMWare has worked really hard to bring a Time Machine-like ease to backing up and protecting your virtual machine. You can now designate how often you want to take full system snapshots of your VM, whether once an hour, once a day or once a week, and how many copies you want to keep.</li>
  <li><strong>Better Video and Graphics Graphics</strong> and shading support has been improved for Macs that have higher-end graphics cards, and even integrated Macs can now play 1080p HD video in virtual machines with considerably less CPU overhead.</li>
  <li><strong>Support for more client OSs</strong>, including Leopard Server You can now run Leopard Server as a VM in OS X 10.4 and 10.5, even on client machines (virtualizing Mac OS X client is blocked by Apple&#8217;s license terms). Support for the latest version of <a href="http://www.ubuntu.com">Ubuntu</a> (Hardy Heron) is also available right out of the box with Unity integration. Power users can now designate up to four virtual CPUs per virtual machine, which is great for anyone wanting to take an XServe or Mac Pro to the next level.</li>
  </ul>
  
  <p><a href="http://communities.vmware.com/community/beta/fusion">VMWare Fusion 2.0 beta 2</a> is available for Intel Macs running OS X 10.4 or OS X 10.5. New users can try the beta for free and the upgrade path (including future betas and the full version of Fusion 2.0) is free for all existing Fusion 1.0 customers.</p>
</blockquote>

<p>via <a href="http://www.tuaw.com/2008/07/30/vmware-fusion-2-beta-2-available-now/" class="via">TUAW</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2F31%2Fvmware-fusion-2-beta-2%2F&amp;seed_title=VMWare+Fusion+2+Beta%26%23160%3B2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gears of War 2 Introduces &#8220;Linked&#160;Achievements&#8221;</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2F29%2Fgears-of-war-2-introduces-linked-achievements%2F&amp;seed_title=Gears+of+War+2+Introduces+%26%238220%3BLinked%26%23160%3BAchievements%26%238221%3B</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2F29%2Fgears-of-war-2-introduces-linked-achievements%2F&amp;seed_title=Gears+of+War+2+Introduces+%26%238220%3BLinked%26%23160%3BAchievements%26%238221%3B#comments</comments>
		<pubDate>Tue, 29 Jul 2008 10:41:08 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[snippets]]></category>

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

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=149</guid>
		<description><![CDATA[Looks like people better get playing the original Gears leading up to November!!! (I know I will be&#8230;  )


  Gears of War 2 will feature &#8216;linked Achievements,&#8217; meaning that Achievements earned in the original Gears will help unlock bonuses in the sequel.
  
  Epic&#8217;s Cliff Bleszinski took the stage at Comic-Con [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like people better get playing the original Gears leading up to November!!! (I know I will be&#8230; <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> )</p>

<blockquote>
  <p>Gears of War 2 will feature &#8216;linked Achievements,&#8217; meaning that Achievements earned in the original Gears will help unlock bonuses in the sequel.</p>
  
  <p>Epic&#8217;s Cliff Bleszinski took the stage at Comic-Con to demonstrate to a live audience the E3 Sinkhole level and describe a new &#8220;linked achievements&#8221; feature for Gears 2 where achievements unlocked in the first Gears game would open features in the upcoming sequel.</p>
  
  <p>He offered three examples of how the system would work:</p>
  
  <ul>
  <li>Complete Act One in Gears Of War and receive a playable Anthony Carmine in Gears of War 2</li>
  <li>Find 10 COG tags in Gears Of War and get Minh Young Kim in Gears of War 2</li>
  <li>Kill Raam in Gears Of War and earn a playable Raam in Gears of War 2</li>
  </ul>
  
  <p>Questions such as whether all Gears of Wars achievements will be linked to the sequel and what other goodies can be grabbed besides characters won&#8217;t be answered until closer to the game&#8217;s November 7 release.</p>
</blockquote>

<p>via <a href="http://www.escapistmagazine.com/news/view/85287-Gears-of-War-2-Introduces-Linked-Achievements" class="via">The Escapist</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2F29%2Fgears-of-war-2-introduces-linked-achievements%2F&amp;seed_title=Gears+of+War+2+Introduces+%26%238220%3BLinked%26%23160%3BAchievements%26%238221%3B/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BBC Working on New Tomorrow&#8217;s&#160;World</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F06%2F04%2Fbbc-working-on-new-tomorrows-world%2F&amp;seed_title=BBC+Working+on+New+Tomorrow%26%238217%3Bs%26%23160%3BWorld</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F06%2F04%2Fbbc-working-on-new-tomorrows-world%2F&amp;seed_title=BBC+Working+on+New+Tomorrow%26%238217%3Bs%26%23160%3BWorld#comments</comments>
		<pubDate>Wed, 04 Jun 2008 15:18:56 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[snippets]]></category>

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

		<category><![CDATA[tomorrows world]]></category>

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=148</guid>
		<description><![CDATA[The BBC has announced that it is working on a successor to Tomorrow&#8217;s World.  This was always one of my favourite shows as a child, (yeah, I know I&#8217;m a nerd  ), and I&#8217;m glad to see something like this making a return.  We need some form of popular science show on [...]]]></description>
			<content:encoded><![CDATA[<p>The BBC has announced that it is working on a successor to Tomorrow&#8217;s World.  This was always one of my favourite shows as a child, (yeah, I know I&#8217;m a nerd <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> ), and I&#8217;m glad to see something like this making a return.  We need some form of popular science show on TV, otherwise the vast majority of people will become ignorant of even the basics of science - but that&#8217;s a rant for another day&#8230;</p>

<blockquote>
  <p>Just a month after Sir David Attenborough said it was &#8220;very, very sad&#8221; that Tomorrow&#8217;s World had been axed - five years ago - the BBC has today revealed it is making a &#8220;new popular science format for the early evening&#8221; on BBC1.</p>
  
  <p>A new science show is one of the BBC&#8217;s top priorities for BBC1 over the next year, according to its annual statements of programme policy for all its TV, radio and online services, published today. The SOPPs lay out the corporation&#8217;s programming plans for the year to the end of March 2009.</p>
</blockquote>

<p>via <a href="http://www.guardian.co.uk/media/2008/jun/04/bbc.television1" class="via">The Guardian</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F06%2F04%2Fbbc-working-on-new-tomorrows-world%2F&amp;seed_title=BBC+Working+on+New+Tomorrow%26%238217%3Bs%26%23160%3BWorld/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Trash Stuff From the Command&#160;Line</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F26%2Ftrash-stuff-from-the-command-line%2F&amp;seed_title=Trash+Stuff+From+the+Command%26%23160%3BLine</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F26%2Ftrash-stuff-from-the-command-line%2F&amp;seed_title=Trash+Stuff+From+the+Command%26%23160%3BLine#comments</comments>
		<pubDate>Mon, 26 May 2008 14:22:36 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[mac]]></category>

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

		<category><![CDATA[command-line]]></category>

		<category><![CDATA[os x]]></category>

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=147</guid>
		<description><![CDATA[A great little command-line tool for Leopard:


  osx-trash manipulates the Mac OS X trash from the command line, just like the Finder does. It uses AppleScript via Scripting Bridge on top of to communicate with the Finder. You can move files to the trash, empty the trash, and list items currently in the trash.


project [...]]]></description>
			<content:encoded><![CDATA[<p>A great little command-line tool for Leopard:</p>

<blockquote>
  <p><code>osx-trash</code> manipulates the Mac OS X trash from the command line, just like the Finder does. It uses AppleScript via Scripting Bridge on top of to communicate with the Finder. You can move files to the trash, empty the trash, and list items currently in the trash.</p>
</blockquote>

<p><a href="http://www.dribin.org/dave/osx-trash/" class="via">project page</a> <a href="http://www.dribin.org/dave/blog/archives/2008/05/24/osx_trash/" class="via">via</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F26%2Ftrash-stuff-from-the-command-line%2F&amp;seed_title=Trash+Stuff+From+the+Command%26%23160%3BLine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Default Text Field Values That Disappear on&#160;Focus</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F16%2Fdefault-text-field-values-that-disappear-on-focus%2F&amp;seed_title=Default+Text+Field+Values+That+Disappear+on%26%23160%3BFocus</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F16%2Fdefault-text-field-values-that-disappear-on-focus%2F&amp;seed_title=Default+Text+Field+Values+That+Disappear+on%26%23160%3BFocus#comments</comments>
		<pubDate>Fri, 16 May 2008 18:08:58 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[javascript]]></category>

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

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

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

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=146</guid>
		<description><![CDATA[You will have noticed this effect out on your travels on the internet - a text input field has some default text in it (often in a slightly dimmed colour), and when you click on the text box, default text disappears and then reappears when you click away from the box.  It happens on [...]]]></description>
			<content:encoded><![CDATA[<p>You will have noticed this effect out on your travels on the internet - a text input field has some default text in it (often in a slightly dimmed colour), and when you click on the text box, default text disappears and then reappears when you click away from the box.  It happens on the search box to the right here too.</p>

<p>I needed this same effect at work today so a quick Google came up with this great <a href="http://webdeveloper.beforeseven.com/jquery/default-text-field-value-disappears-focus">blog post</a> - a lovely example of the exact effect I was looking for in both raw javascript and a version using the <a href="http://jquery.com/">jQuery</a> library.</p>

<blockquote>
  <p>The script searches the page that it&#8217;s inserted on for all form input fields that have a class of &#8216;default-value&#8217; applied. Each form input field must also have a unique ID.</p>
  
  <p>When the page loads the script changes the color of the text in the text fields it has found to the value of &#8216;inactive&#95;color&#8217;. If the user clicks on the input field, the default text is blanked, and the colour changed to &#8216;active&#95;color&#8217;. If the user clicks away from the input field, i.e. the input field loses focus, the value of the text field will revert back to the original text, and the colour will change back to &#8216;inactive&#95;color&#8217;, unless the user has entered some other text.</p>
</blockquote>

<p>Here&#8217;s a copy of the jQuery version for my own personal notes, never know when that could be useful:</p>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/*
 * Written by Rob Schmitt, The Web Developer's Blog
 * http://webdeveloper.beforeseven.com/
 */</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> active_color <span style="color: #339933;">=</span> <span style="color: #3366CC;">'#000'</span>; <span style="color: #006600; font-style: italic;">// Colour of user provided text</span>
<span style="color: #003366; font-weight: bold;">var</span> inactive_color <span style="color: #339933;">=</span> <span style="color: #3366CC;">'#999'</span>; <span style="color: #006600; font-style: italic;">// Colour of default text</span>
&nbsp;
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;input.default-value&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;color&quot;</span><span style="color: #339933;">,</span> inactive_color<span style="color: #009900;">&#41;</span>;
  <span style="color: #003366; font-weight: bold;">var</span> default_values <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;input.default-value&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066;">focus</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>default_values<span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      default_values<span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span>;
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">==</span> default_values<span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">''</span>;
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">color</span> <span style="color: #339933;">=</span> active_color;
    <span style="color: #009900;">&#125;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066;">blur</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">color</span> <span style="color: #339933;">=</span> inactive_color;
        <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> default_values<span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span>;
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>


<p>However, we don&#8217;t use jQuery at work, our entire site is based around <a href="http://www.prototypejs.org/">Prototype</a> and <a href="http://script.aculo.us/">script.aculo.us</a>, so I did a bit of butchering and here&#8217;s the code adapted to use Prototype:</p>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/*
 * Written by Darren Oakley
 * http://hocuspokus.net
 */</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> active_color <span style="color: #339933;">=</span> <span style="color: #3366CC;">'#000'</span>; <span style="color: #006600; font-style: italic;">// Colour of user provided text</span>
<span style="color: #003366; font-weight: bold;">var</span> inactive_color <span style="color: #339933;">=</span> <span style="color: #3366CC;">'#999'</span>; <span style="color: #006600; font-style: italic;">// Colour of default text</span>
&nbsp;
Event.<span style="color: #660066;">observe</span><span style="color: #009900;">&#40;</span> window<span style="color: #339933;">,</span> <span style="color: #3366CC;">'load'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> default_values <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
    $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;input.default-value&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> color<span style="color: #339933;">:</span> inactive_color <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
        $<span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">observe</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'focus'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>default_values<span style="color: #009900;">&#91;</span>s.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                default_values<span style="color: #009900;">&#91;</span>s.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> s.<span style="color: #660066;">value</span>;
            <span style="color: #009900;">&#125;</span>
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>s.<span style="color: #660066;">value</span> <span style="color: #339933;">==</span> default_values<span style="color: #009900;">&#91;</span>s.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                s.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">''</span>;
                $<span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> color<span style="color: #339933;">:</span> active_color <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
            <span style="color: #009900;">&#125;</span>
            $<span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">observe</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'blur'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>s.<span style="color: #660066;">value</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    $<span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> color<span style="color: #339933;">:</span> inactive_color <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
                    s.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> default_values<span style="color: #009900;">&#91;</span>s.<span style="color: #660066;">id</span><span style="color: #009900;">&#93;</span>;
                <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>


<p>Now all you need to do is give your input text fields a unique id, and the class of &#8216;default-value&#8217;, then the script will take care of the rest.</p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F16%2Fdefault-text-field-values-that-disappear-on-focus%2F&amp;seed_title=Default+Text+Field+Values+That+Disappear+on%26%23160%3BFocus/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install PostgreSQL on Ubuntu&#160;8.04</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F13%2Finstall-postgresql-on-ubuntu-804%2F&amp;seed_title=Install+PostgreSQL+on+Ubuntu%26%23160%3B8.04</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F13%2Finstall-postgresql-on-ubuntu-804%2F&amp;seed_title=Install+PostgreSQL+on+Ubuntu%26%23160%3B8.04#comments</comments>
		<pubDate>Tue, 13 May 2008 16:19:41 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[linux]]></category>

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

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

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=145</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>1827</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>1827</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2180</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3025</b><br />
<br />
<b>Warning</b>:  implode() [<a href='function.implode'>function.implode</a>]: Argument must be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3077</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3108</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3108</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3151</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3151</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3292</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3292</b><br />
Following up from my old guide to installing PostgreSQL (for Ubuntu 7.10), I thought i&#8217;d better do an update for the latest releases&#8230;  

This quick walk-through are my notes for installing the PostgreSQL database server and the PgAdmin administration application on Ubuntu Linux, and also set up the server so it allows access to [...]]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>1827</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>1827</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2180</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3025</b><br />
<br />
<b>Warning</b>:  implode() [<a href='function.implode'>function.implode</a>]: Argument must be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3077</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3108</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3108</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3151</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3151</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3292</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/796/domains/hocuspokus.net/html/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3292</b><br />
<p>Following up from my old guide to installing PostgreSQL (for Ubuntu 7.10), I thought i&#8217;d better do an update for the latest releases&#8230; <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>

<p>This quick walk-through are my notes for installing the PostgreSQL database server and the PgAdmin administration application on Ubuntu Linux, and also set up the server so it allows access to other PC&#8217;s on your network.</p>

<p>Before we move on, this guide was tested on the current release of Ubuntu Linux, (8.04 - Hardy Heron) and PostgreSQL 8.3, but it should also be applicable to older versions (of Ubuntu and PostgreSQL) and other Debian based distros.</p>

<p><span id="more-145"></span></p>

<p>Right for the basic installation, at the command-line, enter the following commands (or search for the listed packages in synaptic if you prefer that way of working):</p>

<pre><code>$ sudo apt-get install postgresql postgresql-client postgresql-contrib
$ sudo apt-get install pgadmin3
</code></pre>

<p>This installs the database server/client, some extra utility scripts and the pgAdmin GUI application for working with the database.</p>

<p>Now we need to reset the password for the &#8216;postgres&#8217; admin account for the server, so we can use this for all of the system administration tasks. Type the following at the command-line (substitute in the password you want to use for your administrator account):</p>

<pre><code>$ sudo su postgres -c psql template1
template1=# ALTER USER postgres WITH PASSWORD 'password';
template1=# \q
</code></pre>

<p>That alters the password for within the database, now we need to do the same for the unix user &#8216;postgres&#8217;:</p>

<pre><code>$ sudo passwd -d postgres
$ sudo su postgres -c passwd
</code></pre>

<p>Now enter the same password that you used previously.</p>

<p>Then, from here on in we can use both pgAdmin and command-line access (as the postgres user) to run the database server.  But before you jump into pgAdmin we should set-up the PostgreSQL admin pack that enables better logging and monitoring within pgAdmin.  Run the following at the command-line:</p>

<pre><code>$ sudo su postgres -c psql &lt; /usr/share/postgresql/8.3/contrib/adminpack.sql
</code></pre>

<p>Finally, we need to open up the server so that we can access and use it remotely - unless you only want to access the database on the local machine. To do this, first, we need to edit the postgresql.conf file:</p>

<pre><code>$ sudo gedit /etc/postgresql/8.3/main/postgresql.conf
</code></pre>

<p>Now, to edit a couple of lines in the &#8216;Connections and Authentication&#8217; section&#8230;</p>

<p>Change the line:</p>

<pre><code>#listen_addresses = 'localhost'
</code></pre>

<p>to</p>

<pre><code>listen_addresses = '*'
</code></pre>

<p>and also change the line:</p>

<pre><code>#password_encryption = on
</code></pre>

<p>to</p>

<pre><code>password_encryption = on
</code></pre>

<p>Then save the file and close gedit.</p>

<p>Now for the final step, we must define who can access the server. This is all done using the pg_hba.conf file.<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup></p>

<pre><code>$ sudo gedit /etc/postgresql/8.3/main/pg_hba.conf
</code></pre>

<p>Comment out, or delete the current contents of the file, then add this text to the bottom of the file:</p>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre class="" style="font-family:monospace;"># DO NOT DISABLE!
# If you change this first entry you will need to make sure that the
# database
# super user can access the database using some other method.
# Noninteractive
# access to all databases is required during automatic maintenance
# <span class="br0">&#40;</span>autovacuum, daily cronjob, replication, and similar tasks<span class="br0">&#41;</span>.
#
# Database administrative login by UNIX sockets
local   all         postgres                          ident sameuser
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
&nbsp;
# &quot;local&quot; is for Unix domain socket connections only
local   all         all                               md5
# IPv4 local connections:
host    all         all         127.0.0.1/<span style="">32</span>          md5
# IPv6 local connections:
host    all         all         ::<span style="">1</span>/<span style="">128</span>               md5
&nbsp;
# Connections for all PCs on the subnet
#
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
host    all         all         <span class="br0">&#91;</span>ip address<span class="br0">&#93;</span>          <span class="br0">&#91;</span>subnet mask<span class="br0">&#93;</span>  md5</pre></td></tr></table></div>


<p>and in the last line, add in your subnet mask (i.e. 255.255.255.0) and the IP address of the machine that you would like to access your server (i.e. 138.250.192.115). However, if you would like to enable access to a range of IP addresses, just substitute the last number for a zero and all machines within that range will be allowed access (i.e. 138.250.192.0 would allow all machines with an IP address 138.250.192.x to use the database server).</p>

<p>That&#8217;s it, now all you have to do is restart the server:</p>

<pre><code>$ sudo /etc/init.d/postgresql-8.3 restart
</code></pre>

<p>And all should be working.</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p>The following advice can also be given to you (plus you don&#8217;t even need to figure out IP addresses and subnet masks) from the latest versions of pgAdmin (1.6.x).  But it doesn&#8217;t hurt to know how things work.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F13%2Finstall-postgresql-on-ubuntu-804%2F&amp;seed_title=Install+PostgreSQL+on+Ubuntu%26%23160%3B8.04/feed/</wfw:commentRss>
		</item>
		<item>
		<title>First Gears of War 2&#160;Footage</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F12%2Ffirst-gears-of-war-2-footage%2F&amp;seed_title=First+Gears+of+War+2%26%23160%3BFootage</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F12%2Ffirst-gears-of-war-2-footage%2F&amp;seed_title=First+Gears+of+War+2%26%23160%3BFootage#comments</comments>
		<pubDate>Mon, 12 May 2008 07:50:51 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[games]]></category>

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

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=144</guid>
		<description><![CDATA[Time to get that pre-order on, this looks like it&#8217;s going to be awesome&#8230;


]]></description>
			<content:encoded><![CDATA[<p>Time to get that pre-order on, this looks like it&#8217;s going to be awesome&#8230;</p>

<div align="middle"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/grPS2HgyyCs&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/grPS2HgyyCs&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></div>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F12%2Ffirst-gears-of-war-2-footage%2F&amp;seed_title=First+Gears+of+War+2%26%23160%3BFootage/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Orb - Live TV on&#160;iPhone</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F08%2Forb-live-tv-on-iphone%2F&amp;seed_title=Orb+-+Live+TV+on%26%23160%3BiPhone</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F08%2Forb-live-tv-on-iphone%2F&amp;seed_title=Orb+-+Live+TV+on%26%23160%3BiPhone#comments</comments>
		<pubDate>Thu, 08 May 2008 18:47:44 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[snippets]]></category>

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

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

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=143</guid>
		<description><![CDATA[That&#8217;s it, I REALLY want an iPhone now&#8230;


  You don&#8217;t need Steve Jobs&#8217; permission to watch TV on your iPhone any more. And you don&#8217;t need to pay the cable company twice. A native Orb client for the iPhone and iPod Touch popped up on the installer networks overnight, and Orb confirms that it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s it, I REALLY want an iPhone now&#8230;</p>

<blockquote>
  <p>You don&#8217;t need Steve Jobs&#8217; permission to watch TV on your iPhone any more. And you don&#8217;t need to pay the cable company twice. A native Orb client for the iPhone and iPod Touch popped up on the installer networks overnight, and Orb confirms that it&#8217;s official.</p>
  
  <p>The client software allows you to watch live TV on an iPhone or Touch wherever you are, in addition to your music. You&#8217;ll need a TV card or adaptor for your PC, of course, to get the live TV. So provided you have an internet connection, there&#8217;s no need to perform DIY transcoding using software such as Visual Hub. The client will even transcode the video stream nicely for 2.75G Edge networks. Orb does in software what Sling Media does in hardware.</p>
</blockquote>

<p><a href="http://www.reghardware.co.uk/2008/05/08/iphone_orb_native/" class="via">via</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F08%2Forb-live-tv-on-iphone%2F&amp;seed_title=Orb+-+Live+TV+on%26%23160%3BiPhone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing R/BioConductor on Ubuntu&#160;8.04</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F07%2Finstalling-r-bioconductor-on-ubuntu-804%2F&amp;seed_title=Installing+R%2FBioConductor+on+Ubuntu%26%23160%3B8.04</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F07%2Finstalling-r-bioconductor-on-ubuntu-804%2F&amp;seed_title=Installing+R%2FBioConductor+on+Ubuntu%26%23160%3B8.04#comments</comments>
		<pubDate>Wed, 07 May 2008 18:41:39 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[linux]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://hocuspokus.net/?p=119</guid>
		<description><![CDATA[The new version of Ubuntu is out, (as if you haven&#8217;t heard that by now), so that means a fresh install to play about with and working just the way I want!  

One of the tools that I currently need (for the thesis work) is R and the BioConductor libraries.  So here&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>The new version of Ubuntu is out, (as if you haven&#8217;t heard that by now), so that means a fresh install to play about with and working just the way I want! <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile-big.png' alt=':D' class='wp-smiley' /> </p>

<p>One of the tools that I currently need (for the thesis work) is <a href="http://www.r-project.org/">R</a> and the <a href="http://www.bioconductor.org/">BioConductor</a> libraries.  So here&#8217;s a quick run down on getting them up and installed on Hardy&#8230;</p>

<p>First up, run these commands in a terminal:</p>

<pre><code>sudo apt-get install build-essential g77 gfortran
sudo apt-get install refblas3 refblas3-dev zlib1g-dev
sudo apt-get install r-base
</code></pre>

<p>This will then install the R base packages and some of the BioConductor packages, along with the gcc and fortran compilers and some other libraries that will be required for the next step.</p>

<pre><code>sudo -s
R
</code></pre>

<p>Now at the R prompt, type the following…</p>

<pre><code>source("http://www.bioconductor.org/biocLite.R")
biocLite()
</code></pre>

<p>Now sit back for a few minutes while your system configures BioConductor for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F07%2Finstalling-r-bioconductor-on-ubuntu-804%2F&amp;seed_title=Installing+R%2FBioConductor+on+Ubuntu%26%23160%3B8.04/feed/</wfw:commentRss>
		</item>
		<item>
		<title>If Browsers Were&#160;Women&#8230;</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F07%2Fif-browser-were-women%2F&amp;seed_title=If+Browsers+Were%26%23160%3BWomen%26%238230%3B</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F07%2Fif-browser-were-women%2F&amp;seed_title=If+Browsers+Were%26%23160%3BWomen%26%238230%3B#comments</comments>
		<pubDate>Wed, 07 May 2008 12:51:46 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
		
		<category><![CDATA[snippets]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://hocuspokus.net/2008/05/07/if-browser-were-women/</guid>
		<description><![CDATA[ 
 
  &#34;if browser were women&#8230;&#34;
  
  Originally uploaded by jlxiong
 


Very good&#8230;
]]></description>
			<content:encoded><![CDATA[<div style="text-align:center;"><a href="http://www.flickr.com/photos/jlxiong/2467339021/" title="photo sharing"><img src="http://farm3.static.flickr.com/2107/2467339021_b55f492a1c_o.jpg" alt="" /></a>
 <br />
 <span style="font-size: 0.9em; margin-top: 0px;">
  <a href="http://www.flickr.com/photos/jlxiong/2467339021/">&quot;if browser were women&#8230;&quot;</a>
  <br />
  Originally uploaded by <a href="http://www.flickr.com/people/jlxiong/">jlxiong</a>
 </span>
</div>

<p>Very good&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2F07%2Fif-browser-were-women%2F&amp;seed_title=If+Browsers+Were%26%23160%3BWomen%26%238230%3B/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 4.492 seconds -->
<!-- Cached page served by WP-Cache -->
