<?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>yaleman.org &#187; Programming</title>
	<atom:link href="http://www.yaleman.org/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yaleman.org</link>
	<description>a blog by James Hodgkinson</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:10:42 +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>Command line network drive quickies</title>
		<link>http://www.yaleman.org/2009/10/12/command-line-network-drive-quickies/</link>
		<comments>http://www.yaleman.org/2009/10/12/command-line-network-drive-quickies/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 06:04:46 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=483</guid>
		<description><![CDATA[The most common way to connect a drive to a network path in Windows is this command: net use X: \\SERVER\Share Where: X: is the drive letter you wish to map the share to, \\SERVER\Share is the UNC path to the share. Assuming you have permissions to map drives and to access that share, it [...]]]></description>
			<content:encoded><![CDATA[<p>The most common way to <a href="http://support.microsoft.com/kb/308582">connect a drive to a network path in Windows</a> is this command:</p>
<blockquote><p><em>net use X: \\SERVER\Share</em></p></blockquote>
<p>Where:</p>
<ul>
<li> <em>X:</em> is the drive letter you wish to map the share to,</li>
<li><em>\\SERVER\Share</em> is the UNC path to the share.</li>
</ul>
<p>Assuming you have permissions to map drives and to access that share, it will map the drive and tell you that it mapped successfully.</p>
<p>If you want quick access and do not want to map a network drive, you can access a UNC Path directly from the Command Prompt using pushd.</p>
<p>For example:</p>
<blockquote><p><em>pushd \\SERVER\Share</em></p></blockquote>
<p>This will connect to the path automatically for you and make it your current working directory.</p>
<p>When you are finished on the network share enter the <em>popd</em> command. This will return you to the directory you were in before and delete the temporary network drive.</p>
<p>The <a href="http://support.microsoft.com/kb/317379"><em>popd</em> and <em>pushd</em> commands</a> can be used with local directories. If change to a directory with <em>pushd</em> it stores the previous location you were in so that when you issue the <em>popd</em> command you are returned to it. This is similar to bash-stacking in linux where if you open a shell within an existing shell, quitting that will take you back to where you were when you opened it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2009/10/12/command-line-network-drive-quickies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When variable substitution goes wrong&#8230;</title>
		<link>http://www.yaleman.org/2009/05/14/when-variable-substitution-goes-wrong/</link>
		<comments>http://www.yaleman.org/2009/05/14/when-variable-substitution-goes-wrong/#comments</comments>
		<pubDate>Thu, 14 May 2009 06:09:40 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=439</guid>
		<description><![CDATA[Boy I love spam some days, it&#8217;s just &#8230; weird We had this one forwarded to us to block, I wonder if it&#8217;ll break something in our wonderfully crap filtering system. &#8212;&#8211;Original Message&#8212;&#8211; From: Julius Vailes [mailto:Julius-assolato@leeegs.demon.nl] Sent: Monday, 11 May 2009 10:06 AM To: [deleted] Subject: $WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt} [...]]]></description>
			<content:encoded><![CDATA[<p>Boy I love spam some days, it&#8217;s just &#8230; weird <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  We had this one forwarded to us to block, I wonder if it&#8217;ll break something in our wonderfully <a href="http://us.trendmicro.com/us/products/enterprise/interscan-messaging-security-suite/">crap filtering system</a>.</p>
<blockquote><p>&#8212;&#8211;Original Message&#8212;&#8211;<br />
From: Julius Vailes [mailto:<a href="mailto:Julius-assolato@leeegs.demon.nl">Julius-assolato@leeegs.demon.nl</a>]<br />
Sent: Monday, 11 May 2009 10:06 AM<br />
To: [deleted]<br />
Subject: $WordFile{click.txt}</p>
<p>$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}<br />
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}<br />
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}<br />
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}<br />
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}<br />
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}<br />
$WordFile{click.txt} $WordFile{click.txt}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2009/05/14/when-variable-substitution-goes-wrong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JCal Pro All day problem fix.</title>
		<link>http://www.yaleman.org/2008/08/28/jcal-pro-all-day-problem-fix/</link>
		<comments>http://www.yaleman.org/2008/08/28/jcal-pro-all-day-problem-fix/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 05:19:16 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[jcal]]></category>
		<category><![CDATA[jcal pro]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=340</guid>
		<description><![CDATA[It seems that on the &#8220;upcoming events&#8221; module of JCal Pro it shows &#8220;(All Day)&#8221; if you&#8217;ve got an all day item. It&#8217;s ugly and I was asked how to remove it. Here&#8217;s how to do it: Edit modules/mod_jcalpro_latest.php Comment out this line: $returnstring .= ( $EXTCAL_CONFIG['show_times'] ) ? &#8216; (&#8216; . $start_time . ( [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that on the &#8220;upcoming events&#8221; module of JCal Pro it shows &#8220;(All Day)&#8221; if you&#8217;ve got an all day item. It&#8217;s ugly and I was asked how to remove it. Here&#8217;s how to do it:</p>
<p>Edit modules/mod_jcalpro_latest.php<br />
Comment out this line:</p>
<blockquote><p>$returnstring .= ( $EXTCAL_CONFIG['show_times'] ) ? &#8216; (&#8216; . $start_time . ( ($EXTCAL_CONFIG['show_times'] == 3         || $no_end_specified) ? &#8221; : &#8216; &#8211; &#8216; . $end_time ) . &#8216;)&#8217; : &#8221;;</p></blockquote>
<p>Replace it with:</p>
<blockquote><p>if( $EXTCAL_CONFIG['show_times'] )<br />
{<br />
if( $start_time != EXTCAL_TEXT_ALL_DAY )<br />
{<br />
$returnstring .= &#8216; (&#8216; . $start_time . ( ($EXTCAL_CONFIG['show_times'] == 3 || $no_end_specified) ? &#8221; : &#8216; &#8211; &#8216; . $end_time ) . &#8216;)&#8217;;<br />
}<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2008/08/28/jcal-pro-all-day-problem-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress security tip</title>
		<link>http://www.yaleman.org/2008/08/01/wordpress-security-tip/</link>
		<comments>http://www.yaleman.org/2008/08/01/wordpress-security-tip/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 11:53:52 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=311</guid>
		<description><![CDATA[You can prevent people from looking inside your directories by creating a file in there called “.htaccess” and adding the following line: Options -Indexes This is a good way of doing this, since it then tells the web browser “You’re not allowed in here” rather than having to create blank files to hide your directories]]></description>
			<content:encoded><![CDATA[<p>You can prevent people from looking inside your directories by creating a file in there called “.htaccess” and adding the following line:</p>
<p style="padding-left: 30px;">Options -Indexes</p>
<p>This is a good way of doing this, since it then tells the web browser “You’re not allowed in here” rather than having to create blank files to hide your directories <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2008/08/01/wordpress-security-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missing categories problem with WordPress 2.6</title>
		<link>http://www.yaleman.org/2008/07/29/missing-categories-problem-with-wordpress-26/</link>
		<comments>http://www.yaleman.org/2008/07/29/missing-categories-problem-with-wordpress-26/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 12:00:45 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=302</guid>
		<description><![CDATA[So, loads of people are having issues with this as per a search or two on the WordPress forums, and I found myself in the same boat. Check it out &#8211; I found a fix I inserted the wp_categories table from my backups and then ran the sql query I found here: update wp_term_taxonomy, wp_categories [...]]]></description>
			<content:encoded><![CDATA[<p>So, loads of people are having issues with this as per a <a href="http://wordpress.org/search/+2.6+categories?forums=1">search or two</a> on the <a href="http://wordpress.org/support/">WordPress forums</a>, and I found myself in the same boat. Check it out &#8211; I found a fix <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I inserted the wp_categories table from my backups and then ran <a href="http://wordpress.org/support/topic/191189#post-814069">the sql query I found here</a>:</p>
<blockquote><p>update wp_term_taxonomy, wp_categories set description = cat_name where term_id = cat_ID;<br />
update wp_terms, wp_categories set name = cat_name, slug = category_nicename where term_id = cat_ID;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2008/07/29/missing-categories-problem-with-wordpress-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I bought new ram today.</title>
		<link>http://www.yaleman.org/2007/11/14/i-bought-new-ram-today/</link>
		<comments>http://www.yaleman.org/2007/11/14/i-bought-new-ram-today/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 06:28:40 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Adventures]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/11/14/i-bought-new-ram-today/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ricetek.net/wp-content/uploads/2007/11/2007-11-14-i-bought-ram.jpg" alt="2007-11-14-i-bought-ram.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/11/14/i-bought-new-ram-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupidfilter to save the intarwebs?</title>
		<link>http://www.yaleman.org/2007/11/13/stupidfilter-to-save-the-intarwebs/</link>
		<comments>http://www.yaleman.org/2007/11/13/stupidfilter-to-save-the-intarwebs/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 06:47:46 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Literature]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/11/13/stupidfilter-to-save-the-intarwebs/</guid>
		<description><![CDATA[Stupidfilter&#8216;s a project to create a bayesian filter to solve the spam and idiocy that&#8217;s becoming a serious problem with the internet these days. I&#8217;d love to see the general intelligence and maturity of the internet grow through projects like this, filtering people and things that are a waste of time.]]></description>
			<content:encoded><![CDATA[<p><a href="http://stupidfilter.org/" target="_blank">Stupidfilter</a>&#8216;s a project to create a bayesian filter to solve the spam and idiocy that&#8217;s becoming a serious problem with the internet these days. I&#8217;d love to see the general intelligence and maturity of the internet grow through projects like this, filtering people and things that are a waste of time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/11/13/stupidfilter-to-save-the-intarwebs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m helping!</title>
		<link>http://www.yaleman.org/2007/10/19/im-helping/</link>
		<comments>http://www.yaleman.org/2007/10/19/im-helping/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 20:46:30 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Adventures]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/10/19/im-helping/</guid>
		<description><![CDATA[Refactormycode is yet another Web2.0 site, this time for people to post code snippets and ask for help with making them better. I&#8217;ve been trawling through the rather infrequent posts of late and found something to help with! Warm fuzzy feeling: [Check] Weirded out that I helped with JavaScript: [CheckCheckCheckCheck]]]></description>
			<content:encoded><![CDATA[<p>Refactormycode is yet another Web2.0 site, this time for people to post code snippets and ask for help with making them better. I&#8217;ve been trawling through the rather infrequent posts of late and found <a href="http://refactormycode.com/codes/92-combining-javascript-for-2-models" target="_blank">something to help with</a>!</p>
<p>Warm fuzzy feeling: [Check]<br />
Weirded out that I helped with JavaScript: [CheckCheckCheckCheck]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/10/19/im-helping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I like smart videos.</title>
		<link>http://www.yaleman.org/2007/10/14/i-like-smart-videos/</link>
		<comments>http://www.yaleman.org/2007/10/14/i-like-smart-videos/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 07:39:28 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Adventures]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/10/14/i-like-smart-videos/</guid>
		<description><![CDATA[&#8220;Koichiro Tsujikawa&#8217;s dreamy music video to Cornelius&#8217;s &#8220;Fit Song&#8221; spends its entire time in the confines of a house, where CGI brings everyday items to a strange sort of life.&#8221; I found this on an animation site called FramesÂ Per SecondÂ - check out the vid, then the site &#8211; very cool]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;Koichiro Tsujikawa&#8217;s dreamy music video to Cornelius&#8217;s &#8220;Fit Song&#8221; spends its entire time in the confines of a house, where CGI brings everyday items to a strange sort of life.&#8221;</p></blockquote>
<p>I found this on an animation site called <a target="_blank" href="http://www.fpsmagazine.com/blog/2007/09/japan-media-arts-festival-2006-part-1.php">FramesÂ Per Second</a>Â - check out the vid, then the site &#8211; very cool <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><embed swLiveConnect="true" seamlesstabbing="false" allowScriptAccess="always" allowFullScreen="true" base="http://admin.brightcove.com" flashVars="allowFullScreen=true&amp;initVideoId=452299404&amp;servicesURL=http://www.brightcove.tv&amp;viewerSecureGatewayURL=https://www.brightcove.tv&amp;cdnURL=http://admin.brightcove.com&amp;autoStart=false" bgcolor="#FFFFFF" height="412" width="486" src="http://www.brightcove.tv/playerswf" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" name="bcPlayer"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/10/14/i-like-smart-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I shouldn&#8217;t trust salespeople.</title>
		<link>http://www.yaleman.org/2007/08/28/why-i-shouldnt-trust-salespeople/</link>
		<comments>http://www.yaleman.org/2007/08/28/why-i-shouldnt-trust-salespeople/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 12:26:21 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/08/28/why-i-shouldnt-trust-salespeople/</guid>
		<description><![CDATA[I really should know better than to trust sales people, I keep getting messed around, but I go back for more. This was a conversation I had with one of the reps at The Planet tonight. Please wait while we find an agent to assist you&#8230; You have been connected to Brian J. Brian J: [...]]]></description>
			<content:encoded><![CDATA[<p>I really should know better than to trust sales people, I keep getting messed around, but I go back for more. <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  This was a conversation I had with one of the reps at <a href="http://www.theplanet.com" target="_blank" title="The Planet - Web Hosting">The Planet</a> tonight.</p>
<blockquote><p><em>Please wait while we find an agent to assist you&#8230; </em><br />
<em>You have been connected to Brian J. </em></p>
<ul>
<li>Brian J: Hello, how may I help you?</li>
<li><strong>Customer: Hi, I was just wondering what the different backup solutions offered with the dedicated servers actually were</strong></li>
<li><strong> Customer: you list network backup or discsync, what&#8217;s the difference? </strong></li>
<li>Brian J: Disksync is automated and much more user friendly.</li>
<li>Brian J: You can set it up to automatically run as frequent as you prefer.</li>
<li>Brian J: NAS is space in a seperate storage array you would have to copy and send the data to when you would like to save.</li>
<li><strong>Customer: so the network backup is nas space allocated to us, disksync uses an automated agent? </strong></li>
<li>Brian J: Correct</li>
<li><strong>Customer: and what does disksync require on the server, a username/password setup on ftp or ssh?</strong></li>
<li>Brian J: Neither its a GUI agent installed on the user console</li>
<li><strong>Customer: I&#8217;m a little lost </strong></li>
<li>Brian J: Using a simple GUI interface, you can manage all aspects of your backup and recovery including data retention periods, backup schedules, and data restoration.</li>
<li><strong> Customer: yes, but how does it access the server assuming I&#8217;m going to change firewall rules and services running on the server I intend to setup? </strong></li>
<li><strong>Customer: (I&#8217;m looking at a bare bsd/centos box) </strong></li>
<li>Brian J: The firewall rules would have no effect on Discsync</li>
<li><strong>Customer: how does it access the server? </strong></li>
<li><strong>Customer: assuming it doesn&#8217;t traverse the network (which you seem to be implying by saying the firewall rules will not effect it) </strong></li>
<li>Brian J: Through the agent console installed on the box</li>
<li><strong>Customer: never mind, found the information</strong></li>
<li><strong>Customer: you&#8217;re incorrect by the way &#8211; firewall rules would actually cause problems if they weren&#8217;t correct </strong></li>
<li><strong>Customer: refer to your company&#8217;s faq on http://forums.theplanet.com/index.php?showtopic=83882  </strong></li>
<li><strong>Customer: goodbye. </strong></li>
</ul>
<p><em>Your session has ended. You may now close this window.</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/08/28/why-i-shouldnt-trust-salespeople/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nellâ€™s first experiences with the Primer.</title>
		<link>http://www.yaleman.org/2007/08/28/nell%e2%80%99s-first-experiences-with-the-primer/</link>
		<comments>http://www.yaleman.org/2007/08/28/nell%e2%80%99s-first-experiences-with-the-primer/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 08:36:24 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Literature]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/08/28/nell%e2%80%99s-first-experiences-with-the-primer/</guid>
		<description><![CDATA[Neal Stephenson, you&#8217;re an amazing man. Now, the question is &#8211; why don&#8217;t we have a device like this already? (hint, if this hasn&#8217;t already been looked at, I&#8217;ve got dibs on an implementation idea!) The book spoke in a lovely contralto, with an accent like the very finest Vickys. The voice was like a [...]]]></description>
			<content:encoded><![CDATA[<p>Neal Stephenson, you&#8217;re an amazing man. Now, the question is &#8211; why don&#8217;t we have a device like this already? (hint, if this hasn&#8217;t already been looked at, I&#8217;ve got dibs on an implementation idea!)<br />
<em>The book spoke in a lovely contralto, with an accent like the very finest Vickys. The voice was like a real personâ€™sâ€”though not like anyone Nell had ever met. It rose and fell like siow surf on a warm beach, and when Nell closed her eyes, it swept her out into an ocean of feelings.</em><em>Once upon a time there was a little Princess named Nell who was imprisoned in a tall dark castle on an island in the middle of a great sea, with a little boy named Harv, who was her friend and protector. She also had four special friends named Dinosaur, Duck, Peter Rabbit, and Purple. Princess Nell and Harv could not leave the Dark Castle, but from time to time a raven would come to visit them . . .</em></p>
<blockquote><p><em>â€œWhatâ€™s a raven?â€ Nell said.</em></p></blockquote>
<p><em>The illustration was a colorful painting of the island seen from up in the sky. The island rotated downward and out of the picture, becoming a view toward the ocean horizon. In the middle was a black dot. The picture zoomed in on the black dot, and it turned out to be a bird. Big letters appeared beneath.</em></p>
<blockquote><p><em>â€œR A V E N,â€ the book said. â€œRaven. Now, say it with me.â€<br />
â€œRaven.â€<br />
â€œVery good! Nell, you are a clever girl, and you have much talent with words. Can you spell raven?â€</em></p></blockquote>
<p><em>Nell hesitated. She was still blushing from the praise. After a few seconds, the first of the letters began to blink. Nell prodded it. The letter grew until it had pushed all the other letters and pictures off the edges of the page. The loop on top shrank and became a head, while the lines sticking out the bottom developed into legs and began to scissor. â€œR is for Run,â€ the book said. The picture kept on changing until it was a picture of Nell. Then something fuzzy and red appeared beneath her feet. â€œNell Runs on the Red Rug,â€ the book said, and as it spoke, new words appeared.</em></p>
<blockquote><p><em>â€œWhy is she running?â€<br />
â€œBecause an Angry Alligator Appeared,â€ the book said, and panned back quite some distance to show an alligator, waddling along ridiculously, no threat to the fleet Nell. The alligator became frustrated and curled itself into a circle, which became a small letter.<br />
â€œA is for Alligator. The Very Vast alligator Vainly Viewed Nellâ€™s Valiant Velocity.â€<br />
The little story went on to include an Excited Elf who was Nibbling Noisily on some Nuts. Then the picture of the Raven came back, with the letters beneath. â€œRaven. Can you spell raven, Nell?â€ A hand materialized on the page and pointed to the first letter.<br />
â€œR,â€ Nell said.<br />
â€œVery good! You are a clever girl, Nell, and good with letters,â€ the book said.<br />
â€œWhat is this letter?â€ and it pointed to the second one. This one Nell had forgotten.</em></p></blockquote>
<p><em>But the book told her a story about an Ape named Albert.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/08/28/nell%e2%80%99s-first-experiences-with-the-primer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I bought a laptop!</title>
		<link>http://www.yaleman.org/2006/07/29/i-bought-a-laptop/</link>
		<comments>http://www.yaleman.org/2006/07/29/i-bought-a-laptop/#comments</comments>
		<pubDate>Sat, 29 Jul 2006 07:43:21 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/07/29/i-bought-a-laptop/</guid>
		<description><![CDATA[Finally, I bought myself a laptop. For a very long time I thought I&#8217;d buy a macbook, having some of the best features and build quality out there, but while Mum and Dad were looking for a rice cooker today they toddled over to the electronics section of Harvey Norman and got talking to the [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I bought myself a laptop. For a very long time I thought I&#8217;d buy a macbook, having some of the best features and build quality out there, but while Mum and Dad were looking for a rice cooker today they toddled over to the electronics section of Harvey Norman and got talking to the computer guy there. Toshiba have just released a new version of their A100 series laptops, with new pricing and so forth.</p>
<p>I was at home, and Dad called me for my opinion on one (he was looking for a new one as well) and I rendered it, saying that it was a damn good buy. I ended up going and having a look, so we bought two.</p>
<p>It&#8217;s an Intel Core Duo 2.0Ghz, with a 120Gb SATA HDD, 1gb Ram, Nvidia 7300 Go graphics, 15&#8243; widescreen (1280&#215;800) and all the other usual things (including bluetooth) So far I&#8217;ve played <a href="http://www.eve-online.com">EVE Online</a> with it, and <a href="http://www.winamp.com">done</a> <a href="http://www.thunderbird.com">a</a> <a href="http://www.imdb.com/title/tt0137523/">bunch</a> <a href="http://www.getfirefox.com">of</a> <a href="http://www.rarlabs.com">other</a> things and it seems to be a quite capable machine, especially since it was only $2500 including a 3 year warranty <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The next test is to install linux on it &#8211; I&#8217;m not sure which distro I&#8217;m going to use &#8211; it&#8217;ll either be gentoo or ubuntu. I&#8217;ve been using ubuntu on my desktop for a while, and it &#8220;just works&#8221; &#8230; except for sound. Gentoo might get put on in that case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/07/29/i-bought-a-laptop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OLPC</title>
		<link>http://www.yaleman.org/2006/06/13/olpc/</link>
		<comments>http://www.yaleman.org/2006/06/13/olpc/#comments</comments>
		<pubDate>Mon, 12 Jun 2006 21:51:12 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/13/olpc/</guid>
		<description><![CDATA[The One Laptop Per Child project is something that I think is a seriously cool idea. The idea is to come up with a sub-$100US laptop for use by poverty stricken countries as educational tools. Local-mesh wireless setups, low power processor, flash memory so there&#8217;s no moving parts, some of them will be designed to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href='http://www.laptop.org'>One Laptop Per Child project</a> is something that I think is a seriously cool idea. The idea is to come up with a sub-$100US laptop for use by poverty stricken countries as educational tools. <a href='http://wiki.laptop.org/index.php/Hardware_specification'>Local-mesh wireless setups</a>, <a href='http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330_9863_9864,00.html'>low power processor</a>, flash memory so there&#8217;s no moving parts, some of them will be designed to be crank-powered so they don&#8217;t need local power infrastructure &#8211; hell, I wouldn&#8217;t mind paying a semi-normal retail price for one or two for my own use if it&#8217;s going to get me one of them and help the education of some kids <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  They&#8217;re being <a href='http://wiki.laptop.org/index.php/Software'>based on a free operating system</a> as well &#8211; <a href="http://fedoraproject.org/">Fedora Core 5</a> is the current development environment, which is seriously cool!</p>
<p>Here&#8217;s <a href='http://www.flickr.com/photos/pete/sets/72057594143224765/'>some photos of the laptop on its release</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/13/olpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>w32.Hoots &#8211; Orly? Yarly.</title>
		<link>http://www.yaleman.org/2006/06/13/w32hoots-ohnoes-orly-yarly/</link>
		<comments>http://www.yaleman.org/2006/06/13/w32hoots-ohnoes-orly-yarly/#comments</comments>
		<pubDate>Mon, 12 Jun 2006 21:43:27 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/13/w32hoots-ohnoes-orly-yarly/</guid>
		<description><![CDATA[Symantec&#8217;s info on w32.Hoots. When internet fads get WAY out of hand, this is what happens. The virus sends print jobs to a bunch of different hard-coded printer addresses with a picture of the ORLY owl! It seems to have been designed to spam someone in particular&#8217;s network, but it&#8217;s funny nonetheless.]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.symantec.com/avcenter/venc/data/w32.hoots.html'>Symantec&#8217;s info on w32.Hoots</a>. When internet fads get WAY out of hand, this is what happens. The virus sends print jobs to a bunch of different hard-coded printer addresses with a picture of the ORLY owl! It seems to have been designed to spam someone in particular&#8217;s network, but it&#8217;s funny nonetheless.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/13/w32hoots-ohnoes-orly-yarly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nvidia Dual monitors on Ubuntu Dapper</title>
		<link>http://www.yaleman.org/2006/06/11/nvidia-dual-monitors-on-ubuntu-dapper/</link>
		<comments>http://www.yaleman.org/2006/06/11/nvidia-dual-monitors-on-ubuntu-dapper/#comments</comments>
		<pubDate>Sun, 11 Jun 2006 07:03:41 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=420</guid>
		<description><![CDATA[This was a seperate page on the site, now it&#8217;s just a blog post. Here it is:   Ok, so there&#8217;s a bit of a dearth of real information on real topics on the internet, and I try to fix that where I can, here&#8217;s how to get (at the moment anyway) dual monitors working [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><em>This was a seperate page on the site, now it&#8217;s just a blog post. Here it is:</em></p>
<p> </p>
<p>Ok, so there&#8217;s a bit of a dearth of real information on real topics on the internet, and I try to fix that where I can, here&#8217;s how to get (at the moment anyway) dual monitors working in Ubuntu Dapper on an Nvidia video card.</p>
<p>Getting access to the packages<br />
Ubuntu plays nice as far as non-open-source programs and so forth goes, so you&#8217;re going to have to <a href="http://ubuntuguide.org/wiki/Dapper#How_to_apt-get_the_easy_way_.28Synaptic.29">activate the Multiverse and Universe repositories in Synaptic</a>.</p>
<p>Becoming god (or escalating your user to root for a while)<br />
I&#8217;m a console weenie, and that&#8217;s how to get this working, so to save messing around do this:</p>
<blockquote><p>sudo passwd</p></blockquote>
<p>Then enter your password, then follow the prompts to change the root password so you can actually su to root and do things easily. Yes, it&#8217;ll let you actually log in as root, yes this makes your PC less secure if you&#8217;re running without a firewall and an easily guessed password, no, I don&#8217;t care about you if you can&#8217;t secure your network. Change to the root login:</p>
<blockquote><p>su</p></blockquote>
<p>Put in your password and now you&#8217;re effectively logged in as root. Don&#8217;t do stupid things like deleting all your files &#8211; if you do, that&#8217;s your own fault.</p>
<p>Install the nvidia-glx package and its dependencies &#8211; here&#8217;s the commands via the console:</p>
<blockquote><p>apt-get update<br />
apt-get install nvidia-glx</p></blockquote>
<p>The first command updates your apt package list, and the second one installs the files. Read what&#8217;s on the screen, make sure it&#8217;s going to install things and then say yes when it asks you to.</p>
<p>Setting up xorg.conf<br />
First, make a backup &#8211; you want to be able to get back to where you were before you broke something if you did.</p>
<blockquote><p>cp /etc/X11/xorg.conf /etc/X11/xorg.conf.mybackup</p></blockquote>
<p>This&#8217;ll (if you didn&#8217;t guess) make a backup to /etc/X11/xorg.conf.mybackup.</p>
<p>In linux <a href="http://www.ati.com/">ATI</a> has a driver that works, kinda. <a href="http://www.nvidia.com/">Nvidia</a>&#8216;s got a great driver, but a sucky config program, so this is going to take a little bit of messing around. What we&#8217;re going to have to do is trick it a little. This might be the hard way to do it, but it&#8217;s how I got it working, so meh. Do this:</p>
<blockquote><p>rm /etc/X11/xorg.conf<br />
nvidia-xconfig &#8211;twinview</p></blockquote>
<p>That&#8217;ll delete the original file, then you&#8217;re running the nvidia config program and telling it to setup your xorg.conf file with twinview enabled. It should also set it up right to use the proprietry nvidia module instead of open source one.</p>
<p>After that, you&#8217;ll have to setup multiple screens &#8211; this was shamelessly stolen from <a href="http://download.nvidia.com/XFree86/Linux-x86/1.0-8762/README/appendix-p.html">Nvidia&#8217;s Howto on setting up multiple screens</a> which is not exactly what we want to do.</p>
<p>Open /etc/X11/xorg.conf for editing &#8211; I use VIM, but you can use gedit by going (from your logged-in-as-root console):</p>
<blockquote><p>gedit /etc/X11/xorg.conf</p></blockquote>
<p>Make sure to edit this line in the &#8220;Module&#8221; section to disable the glx module loading, because the nvidia driver seems to have it built in or something:</p>
<p>Original:</p>
<blockquote><p>Load &#8220;glx&#8221;</p></blockquote>
<p>Edited:</p>
<blockquote><p># Load &#8220;glx&#8221;</p></blockquote>
<p>Delete the section that starts with Section &#8220;Device&#8221; and then create two new Device sections, each listing the BusID of the graphics card to be shared and listing the driver as &#8220;nvidia&#8221;, and assign each a separate screen:</p>
<blockquote><p>Section &#8220;Device&#8221;<br />
Identifier &#8220;nvidia0&#8243;<br />
Driver &#8220;nvidia&#8221;<br />
BusID &#8220;PCI:5:0:0&#8243;<br />
Screen 0<br />
EndSection</p>
<p>Section &#8220;Device&#8221;<br />
Identifier &#8220;nvidia1&#8243;<br />
Driver &#8220;nvidia&#8221;<br />
BusId &#8220;PCI:5:0:0&#8243;<br />
Screen 1<br />
EndSection</p></blockquote>
<p>To find the right BusID, you&#8217;ll need to run the command:</p>
<blockquote><p>lspci</p></blockquote>
<p>Look for something with Nvidia VGA in it, and on the left will be something like &#8220;00:00:05&#8243; which would mean you&#8217;d use the same as above.</p>
<p>Then, create two Screen sections, each using one of the Device sections:</p>
<blockquote><p>Section &#8220;Screen&#8221;<br />
Identifier &#8220;Screen0&#8243;<br />
Device &#8220;nvidia0&#8243;<br />
Monitor &#8220;Monitor0&#8243;<br />
DefaultDepth 24<br />
Subsection &#8220;Display&#8221;<br />
Depth 24<br />
Modes &#8220;1024&#215;768&#8243;<br />
EndSubsection<br />
EndSection</p>
<p>Section &#8220;Screen&#8221;<br />
Identifier &#8220;Screen1&#8243;<br />
Device &#8220;nvidia1&#8243;<br />
Monitor &#8220;Monitor1&#8243;<br />
DefaultDepth 24<br />
Subsection &#8220;Display&#8221;<br />
Depth 24<br />
Modes &#8220;1024&#215;768&#8243;<br />
EndSubsection<br />
EndSection</p></blockquote>
<p>This&#8217;ll setup a pair of monitors running 1024&#215;768 at 24bit colour depth. If you want different resolutions or depths, just change it &#8211; remember that it won&#8217;t work too well if you&#8217;re running two different resolutions &#8211; I don&#8217;t know if it&#8217;ll work at all.</p>
<p>Since you&#8217;re running a second monitor you&#8217;ll need to add another monitor definition to the file, so add this somewhere:</p>
<blockquote><p>Section &#8220;Monitor&#8221;<br />
HorizSync 60-110<br />
Identifier &#8220;Monitor1&#8243;<br />
Option &#8220;DPMS&#8221;<br />
VendorName &#8220;Monitor2&#8243;<br />
VertRefresh 65.0-85.0<br />
EndSection</p></blockquote>
<p>That&#8217;s the right setup for an average 17&#8243; CRT that&#8217;ll do 1024&#215;768@85hz. I couldn&#8217;t find a page that&#8217;ll show you the right way to do any other setup, but it&#8217;s pretty easy to work out.</p>
<p>Next, edit the ServerLayout section to use and position both Screen sections. Just add these lines (you may need to change &#8220;leftOf&#8221; to &#8220;rightOf&#8221; or something like that depending on how you have your monitors setup &#8211; or just swap the cables over <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> :</p>
<blockquote><p>Screen 0 &#8220;Screen0&#8243;<br />
Screen 1 &#8220;Screen1&#8243; leftOf &#8220;Screen0&#8243;</p></blockquote>
<p>Run this again:</p>
<blockquote><p>nvidia-xconfig &#8211;twinview</p></blockquote>
<p>I don&#8217;t know why, but it fixed it for me. Restarting your pc (type &#8220;reboot&#8221; at the console for the easy way) should get you to a graphical desktop on Ubuntu spanned across two screens, with the ability to run 3D applications (they&#8217;ll probably span to 2048&#215;768, but that&#8217;s half the fun) and maximise normal applications to a single screen only &#8211; something that xinerama and plan twinview setups seem to break.</p>
<p>I&#8217;m pretty sure that should all work for you, I&#8217;ll test it on a spare machine in the next little while &#8211; suggestions/corrections? <a href="mailto:yaleman@ricetek.net%20nospam">Email me</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/11/nvidia-dual-monitors-on-ubuntu-dapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PC bits, woes, wonder!</title>
		<link>http://www.yaleman.org/2006/06/11/new-pc-bits-woes-wonder/</link>
		<comments>http://www.yaleman.org/2006/06/11/new-pc-bits-woes-wonder/#comments</comments>
		<pubDate>Sat, 10 Jun 2006 16:47:16 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Adventures]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/11/new-pc-bits-woes-wonder/</guid>
		<description><![CDATA[I&#8217;m really an AMD fan at heart &#8211; who wouldn&#8217;t be &#8211; they are cheap, fast and these days they are stable as well. Intel&#8216;s been behind in most desktop chip related matters since they released the Pentium 4, with its long pipeline and surface-of-the-sun temperatures. I&#8217;ve been using a P4 based system as my [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m really an <a href='http://www.amd.com'>AMD</a> fan at heart &#8211; who wouldn&#8217;t be &#8211; they are cheap, fast and these days they are stable as well. <a href='http://www.intel.com'>Intel</a>&#8216;s been behind in most desktop chip related matters since they released the Pentium 4, with its long pipeline and surface-of-the-sun temperatures. </p>
<p>I&#8217;ve been using a P4 based system as my <a href='http://www.gentoo.org'>linux desktop</a> because in 2004 when I set it up, the support for <a href='http://www.nvidia.com'>NForce2 chipset</a> related gubbins wasn&#8217;t that good, and there wasn&#8217;t a high performance/quality motherboard with anything else for AMD processors. It was an <a href='http://au.asus.com/products.aspx?l1=3&#038;l2=12&#038;l3=31&#038;model=178&#038;modelmenu=1'>ASUS P4P800-E Deluxe</a> WiFi Edition, with a couple of SATA controllers, onboard raid, fast chip and four memory slots &#8211; a great board all round. The 2.8Ghz &#8220;C&#8221; chip that was in it was a good speed for the money, and it&#8217;d worked well as my desktop workhorse since I bought it, but lately I&#8217;d been feeling the need for speed.<br />
<span id="more-210"></span><br />
Bob is one of those crazy overclocking types that I used to be before I broke too many things and got bored with an unstable computer, and he&#8217;d recently finished upgrading his PC on the cheap. It only cost him about $300, and that included a Sempron 2800+, new motherboard and a nice shiny X1600 Pro &#8211; damn good for the money.</p>
<p>I wanted to upgrade, seeing his machine be so fast and hearing that Nvidia video cards actually supported 3D while running dual monitors on linux (something ATI has yet to get working). MSY were still selling the Foxconn NF4K8AB-RS for $45, the same board that Bob had bought a few weeks ago and found to be pretty good for the money. As far as cheap video cards for PCI-E go, the 6200TC series seemed to be the way to go, and I bought the <a href="http://www.msi.com.tw/program/products/vga/vga/pro_vga_detail.php?UID=715" class="broken_link">MSI NX6200TC-TD256ELF</a> for $55 (Nvidia 6200 Turbo Cache Low Profile etc). Bob wanted a Sempron 3400+ and I didn&#8217;t need that much more speed, so I bought his Sempron 2800, knowing that he&#8217;d tested it to do at least 2.4Ghz (1.6Ghz stock speed) if I wanted to overclock it.</p>
<p>It was an easy install as usual for anything computer-related with me, and was nice that I didn&#8217;t even have to shift the motherboard standoffs. I re-used the Zalman CNPS7000B-Cu that I had from my P4 (yay for multi-fit coolers) and I was away. Well, to start with.</p>
<p>The Foxconn&#8217;s a cheap board, we&#8217;ve established this. Cheap boards with three ram slots tend to have the third one as a joke, and this was no exception. So far I haven&#8217;t been able to get it to boot with three RAM sticks in it &#8211; which sucks &#8211; having another half gigabyte of ram is always nice with what I do. So, with a BIOS reset and a gig of ram, I was away.</p>
<p>Next hurdle, video drivers. I hadn&#8217;t bothered to change the config in xorg.conf on my <a href='http://www.ubuntu.org'>Ubuntu</a> <a href='http://www.ubuntu.com/news/606released'>Dapper</a> install, so of course that broke, going from an <a href='http://www.ati.com'>ATI</a> video card to an <a href='http://www.nvidia.com'>Nvidia</a> will do that. A bit of research and messing around later I&#8217;d found how to tell dapper to let me nuke the ATI drivers and get the NVidia ones installed (there&#8217;s some weirdness in how it backs up some files as part of the ATI driver package being installed, not letting them be restored/removed when you got to remove them.)</p>
<p>Eventually I got back into graphical, with one monitor working, which was weird &#8211; every other dual-output graphics card I&#8217;d ever seen and used would automatically just clone the picture to the second one when you didn&#8217;t have monitor spanning setup. Two hours of swearing and searching the net later, I found a random post on one of those &#8220;user review&#8221; sites with someone complaining about some 6200 cards not supporting dual-monitor setups. I&#8217;d specifically asked in the store about dual monitors being supported by the card, so technically I was covered by the Fair Trading act if they gave me any problems, but it was quite easy to go and buy a more expensive card (not surprising) and I ended up with the Forsa 6600 256mb for the princely sum of $112. Huzzah.</p>
<p>A bit more messing around and I&#8217;d gotten dual monitors working. Then a bit more swearing and I actually got dual monitors working PROPERLY. Hooray for shitty documentation on the internet. My next post will be about getting dual monitors working, since I couldn&#8217;t find a clear howto that worked how I wanted it to (two monitors, 3d, the ability to shift windows between monitors and be able to hit maximise and not take up both screens)</p>
<p>Once that was all working we overclocked it a little, and now it&#8217;s sitting stable (so far) on 2.0ghz at just slightly above stock voltage. With the Zalman cooler on it it&#8217;s running at a low temperature and it&#8217;s basically silent. All for a total cost of under $250, most of which I should get back by selling the P4P800 and the 2.8C Pentium 4 on <a href='http://www.ebay.com.au'>eBay</a>! <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/11/new-pc-bits-woes-wonder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple binary search algorithm broken?</title>
		<link>http://www.yaleman.org/2006/06/06/simple-binary-search-algorithm-broken/</link>
		<comments>http://www.yaleman.org/2006/06/06/simple-binary-search-algorithm-broken/#comments</comments>
		<pubDate>Mon, 05 Jun 2006 14:07:44 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/06/simple-binary-search-algorithm-broken/</guid>
		<description><![CDATA[I seems that Google labs have found that nearly all established simple binary search algorithms are broken. Sometimes being bigger IS better]]></description>
			<content:encoded><![CDATA[<p>I seems that <a href='http://labs.google.com/'>Google labs</a> have found that <a href='http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html'>nearly all established simple binary search algorithms are broken</a>. Sometimes being bigger IS better <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/06/simple-binary-search-algorithm-broken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Woo, Mono.</title>
		<link>http://www.yaleman.org/2006/06/04/woo-mono/</link>
		<comments>http://www.yaleman.org/2006/06/04/woo-mono/#comments</comments>
		<pubDate>Sat, 03 Jun 2006 19:02:23 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/04/woo-mono/</guid>
		<description><![CDATA[I decided that it&#8217;s time for me to grow up and learn a compiled language, so I had a look around &#8211; there were the main ones &#8211; C, C++, Java or C# &#8211; I was talking to a friend and he said to look at C# because it&#8217;s so kickass. Cross compatibility, easy RAD, [...]]]></description>
			<content:encoded><![CDATA[<p>I decided that it&#8217;s time for me to grow up and learn a compiled language, so I had a look around &#8211; there were the main ones &#8211; C, C++, <a href='http://www.java.com'>Java</a> or C# &#8211; I was talking to a friend and he said to look at C# because it&#8217;s so kickass. Cross compatibility, easy RAD, lots of resources &#8211; why not? It&#8217;s everything Java was supposed to be, but didn&#8217;t end up being <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As you should know by now (just look at the last couple of posts) I&#8217;m a food nut.. oh, I mean a Linux nut. The Novell-sponsored <a href='http://www.go-mono.com/'>Mono</a> project seems the way to go, since I can&#8217;t exactly code in any of Microsoft&#8217;s IDE&#8217;s while using linux now can I?</p>
<p>So far I&#8217;ve read a few mini-tutorials, doing the &#8220;Hello World&#8221; thing in a GUI and on the console &#8211; it seems easy enough, bringing back memories of the last time I dealt with a compiled language &#8211; C in TAFE. I&#8217;ve gotten so used to scripted languages and their laziness (especially PHP) with variable definitions, I guess it&#8217;ll take a bit of learning to get things working how they are supposed to <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/04/woo-mono/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Linux ATI Drivers &#8211; wow!</title>
		<link>http://www.yaleman.org/2006/06/02/new-linux-ati-drivers-wow/</link>
		<comments>http://www.yaleman.org/2006/06/02/new-linux-ati-drivers-wow/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 18:07:56 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/02/new-linux-ati-drivers-wow/</guid>
		<description><![CDATA[Recently I bought a new hard drive &#8211; finally getting a half-decent speed SATA drive, upgrading from my quartet of 80gb IDE drives. I had a few woes trying to tie it all in, so I ended up reinstalling my PC. At first I stuck with Gentoo, then got sick of trying to work out [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I bought a new hard drive &#8211; finally getting a half-decent speed SATA drive, upgrading from my quartet of 80gb IDE drives. I had a few woes trying to tie it all in, so I ended up reinstalling my PC. At first I stuck with Gentoo, then got sick of trying to work out its annoying bugs and went to <a href='http://www.suse.org'>SUSE</a>.</p>
<p>As I tend to have a load of windows open at the one time, and I like to see them all at once having dual monitors is a must for me. The ATI 9600 card I have supports this, being dual head, and I&#8217;d had it running (kinda) on Gentoo just before I went through the reinstall process.</p>
<p>After a few hiccups I got it working on <a href='http://www.gnome.org'>GNOME</a> and then got sick of problems with <a href='http://en.wikipedia.org/wiki/Xinerama'>Xinerama</a> not working properly (who wants to hit maximise and have the program fill BOTH monitors? hello?) and some issues with <a href='http://www.gimp.org/'>GIMP</a> turning my half-decent PC into a complete slug when loading a bunch of photos from my <a href='http://www.canon.com.au/products/cameras/digital_slr/eos350dblackbody.html'>Canon 350D</a>.</p>
<p>I&#8217;d seen <a href='http://www.kde.org/'>KDE</a> 3.x, and at the time, I&#8217;d hated it &#8211; I guess it was the early revisions, but it just didn&#8217;t seem like the window manager for me. Seeing as GNOME was giving me problems, I decided to try it again &#8211; SUSE made this easy because it&#8217;s actually the default. I installed the packages, played around a bit to change the window manager and then restarted to get it going. So far I&#8217;ve had it running for three days, and it&#8217;s fast &#8211; a lot faster than GNOME, and most of my applications are GNOME based.</p>
<p>GIMP doesn&#8217;t give me the pc-is-a-slug programs (though it crashed and disappeared a few times today) and the machine seems a bit snappier to use all &#8217;round. Because of my newfound love for SUSE, my good friend and housemate Robert decided to try linux again &#8211; his last attempt was in 2004 with <a href='http://www.gentoo.org'>Gentoo</a> &#8211; a bad time to have an ATI card and no spare PC when you&#8217;re trying to learn Linux. The drivers and support SUCKED at that time, but have grown a lot better since.</p>
<p>He&#8217;s got a new PC since those days, but he&#8217;s still running an ATI based graphics card. His only real requirement for dumping windows finally was that he could play all his games &#8211; so he&#8217;d have to have full 3D hardware support and his windows games would have to work properly. I thought that the first one would be enough of a hiccup, but I was wrong &#8211; very wrong. </p>
<p>It seems in the week or so since I installed the ATI drivers, another version had come out with a graphical installer that actually worked properly. I was amazed. He&#8217;d gotten it working in an hour or two, where it&#8217;d taken me two days of messing around on the commandline &#8211; and I&#8217;m one of those nutty ex-Gentoo users that knows their way around recompiling chunks of the system to get things working!</p>
<p>I had to try them out &#8211; I downloaded the drivers from the ATI x86 Linux display driver page, uninstalled the current drivers and then ran the file. A little dialogue popped up, and I selected the option to install the drivers. Not long after, it told me that it was finished, and I restarted to find that everything was working fine. Colour me amazed &#8211; for the first time an ATI driver hadn&#8217;t busted <a href='http://x.org'>X</a> into pieces with a new driver release <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Xinerama still wasn&#8217;t working properly, and Bob mentioned that when he created his x.org config file using the aticonfig utility &#8211; worlds ahead in ease-of-use compared to the old fglrxconfig &#8211; that he&#8217;d specified the resolution on his single-monitor system. I gave it a go, using &#8220;<em>aticonfig &#8211;initial=dual-head &#8211;resolution=0,1024&#215;768 &#8211;resolution=1,1024&#215;768</em>&#8221; to specify a dual head system with two 1024&#215;768 screens. This is basically how it was already setup, so aticonfig didn&#8217;t do anything. I knew that it wasn&#8217;t actually working properly, so I set the <em>-f</em> flag to force it to rewrite the file, and it did.</p>
<p>I restarted X and it was working! Maximising a window would keep it to one monitor, something that I&#8217;d been missing ever since I&#8217;d gotten dual monitors to work on linux (a month or so ago) and had been a serious pain in the butt. The only thing that isn&#8217;t working for me is 3D DRI support, the system doesn&#8217;t have 3D hardware acceleration. It&#8217;s working on Bob&#8217;s single-monitor setup, so I hope that I can get it working too &#8211; though Xinerama might be a cause of my woes. I really want to play <a href='http://www.dawnofwargame.com/'>my</a> <a href='http://www.eveonline.com'>win32</a> <a href='http://www.steampowered.com'>games</a> on linux with the help of Cedega &#8211; I&#8217;m sure there will be a few posts about my experiments with that in the near future <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/02/new-linux-ati-drivers-wow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Suse 10.0 MP3 Support</title>
		<link>http://www.yaleman.org/2006/05/15/suse-100-mp3-support/</link>
		<comments>http://www.yaleman.org/2006/05/15/suse-100-mp3-support/#comments</comments>
		<pubDate>Sun, 14 May 2006 22:12:49 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/05/15/suse-100-mp3-support/</guid>
		<description><![CDATA[Ok, so Novell in their infinite wisdom decided to remove MP3 support from SuSE around v10.0. It&#8217;s a bit hard to find concrete information on how to get some sort of mp3 support in SuSE, so here it is: Install XMMS Download the XMMS mpg123 rpm from this page. Install it: # rpm -ivh xmms-mpg123-1.2.7-13.i386.rpm [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so Novell in their infinite wisdom decided to remove MP3 support from SuSE around v10.0. It&#8217;s a bit hard to find concrete information on how to get some sort of mp3 support in SuSE, so here it is:</p>
<ol>
<li>Install XMMS</li>
<li>Download the XMMS mpg123 rpm from this page.</li>
<li>Install it:<br />
<blockquote><p>
# rpm -ivh xmms-mpg123-1.2.7-13.i386.rpm<br />
Preparing&#8230;                ########################################### [100%]<br />
   1:xmms-mpg123            ########################################### [100%]
</p></blockquote>
</li>
<li>Run XMMS and enjoy!</li>
</ol>
<p>I don&#8217;t know how to get mp3 working in a lot of the other programs, I&#8217;ll try and work that out later. There&#8217;s a short article here in DesktopLinux.com on <a href='http://www.desktoplinux.com/articles/AT2703022234.html'>Hacking OpenSuSE &#8211; getting mp3 and dvd support in SuSE</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/05/15/suse-100-mp3-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

