<?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>No Znx! &#187; General</title>
	<atom:link href="http://znx.no/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://znx.no</link>
	<description>the pigeons!!!!</description>
	<lastBuildDate>Fri, 21 May 2010 16:05:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Internet WIN</title>
		<link>http://znx.no/2010/05/internet-win/</link>
		<comments>http://znx.no/2010/05/internet-win/#comments</comments>
		<pubDate>Fri, 21 May 2010 16:05:24 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[amazing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://znx.no/?p=289</guid>
		<description><![CDATA[Sometimes you come across something striking on the internet. An excellent thread on MetaFi is one of those. Two Russian girls were dead set on going to NYC for a very suspicious job offer. A worried friend of theirs posted a question, the rest you can read for yourself.]]></description>
			<content:encoded><![CDATA[<p>Sometimes you come across something striking on the internet. An excellent thread on <a href='http://ask.metafilter.com/154334/Help-me-help-my-friend-in-DC'>MetaFi</a> is one of those.</p>
<p>Two Russian girls were dead set on going to NYC for a very suspicious job offer. A worried friend of theirs posted a question, the rest you can read for yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2010/05/internet-win/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bit Flags</title>
		<link>http://znx.no/2010/02/bit-flag/</link>
		<comments>http://znx.no/2010/02/bit-flag/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 23:20:15 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://znx.no/?p=253</guid>
		<description><![CDATA[I was further discussing C ideas and this time we came across bit flags (also called bit fields). The idea behind them is conservation of memory, a boolean data type consumes 1 byte of memory but all that is really needed is a single bit. Therefore you can store several booleans in a single byte. [...]]]></description>
			<content:encoded><![CDATA[<p>I was further discussing C ideas and this time we came across bit flags (also called bit fields). The idea behind them is conservation of memory, a boolean data type consumes 1 byte of memory but all that is really needed is a single bit. Therefore you can store several booleans in a single byte.</p>
<p>Here is a simple example, note that each has a specific value to ensure that each matches a single bit in the 8-bit variable:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">enum</span> options <span style="color: #009900;">&#123;</span>
  option_a <span style="color: #339933;">=</span> <span style="color: #208080;">0x01</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/*   1 == 00000001 */</span>
  option_b <span style="color: #339933;">=</span> <span style="color: #208080;">0x02</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/*   2 == 00000010 */</span>
  option_c <span style="color: #339933;">=</span> <span style="color: #208080;">0x04</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/*   4 == 00000100 */</span>
  option_d <span style="color: #339933;">=</span> <span style="color: #208080;">0x08</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/*   8 == 00001000 */</span>
  option_e <span style="color: #339933;">=</span> <span style="color: #208080;">0x10</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/*  16 == 00010000 */</span>
  option_f <span style="color: #339933;">=</span> <span style="color: #208080;">0x20</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/*  32 == 00100000 */</span>
  option_g <span style="color: #339933;">=</span> <span style="color: #208080;">0x40</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/*  64 == 01000000 */</span>
  option_h <span style="color: #339933;">=</span> <span style="color: #208080;">0x80</span><span style="color: #339933;">,</span>  <span style="color: #808080; font-style: italic;">/* 128 == 10000000 */</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></pre></div></div>

<p>So basically we have 8 boolean flags (0 off/false, 1 on/true). We can use these by utilising bitwise operations. There is really only 3 operations that you will use regularly on bit flags so lets see them.</p>
<p>Switching individual/multiple options &#8220;on&#8221; (or setting value true):</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">options <span style="color: #339933;">|=</span> option_a<span style="color: #339933;">;</span>
<span style="color: #808080; font-style: italic;">/* Translates to:
  options = options | option_a;
  options = 00000000 | 00000001;
  options = 00000001;
*/</span>
&nbsp;
options <span style="color: #339933;">=</span> option_a <span style="color: #339933;">|</span> option_c <span style="color: #339933;">|</span> option_h<span style="color: #339933;">;</span>
<span style="color: #808080; font-style: italic;">/* Translates to:
  options = 00000001 | 00000100 | 10000000;
  options = 10000101;
*/</span></pre></div></div>

<p>Equally switching options &#8220;off&#8221; (or setting false) can be done as follows (note we are using the options from above, thus a, c and h are on):</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">options <span style="color: #339933;">&amp;=</span> ~option_a<span style="color: #339933;">;</span>
<span style="color: #808080; font-style: italic;">/* Translates to:
  options = options &amp; ~option_a;
  options = 10000101 &amp; ~00000001;
  options = 10000101 &amp; 11111110;
  options = 10000100;
*/</span></pre></div></div>

<p>Obviously you need a basic grasp of boolean mathematics to be able to handle this but learning the basics shouldn&#8217;t be too hard. Finally the last thing to do is check to see if a flag is &#8220;on&#8221; or &#8220;off&#8221; (again using the options from before, so c and h are &#8220;on&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> options <span style="color: #339933;">&amp;</span> option_b <span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;B is ON<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #808080; font-style: italic;">/* 10000100 &amp; 00000010 = 00000000 .. i.e. false, so no output */</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> options <span style="color: #339933;">&amp;</span> option_c <span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;C is ON<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #808080; font-style: italic;">/* 10000100 &amp; 00000100 = 00000100 .. i.e. true, so &quot;C is ON&quot; is outputting */</span></pre></div></div>

<p>As with most things in C, once you start using and abusing it should start to fall into place. I hope that this serves as a basic introduction to bit fields.</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2010/02/bit-flag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Variable Function Parameters</title>
		<link>http://znx.no/2010/02/variable-function-parameter/</link>
		<comments>http://znx.no/2010/02/variable-function-parameter/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 22:42:42 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://znx.no/?p=238</guid>
		<description><![CDATA[With C++ there is ways of handling optional function parameters or overloading functions to handle different amounts of parameters, obviously within C these abilities do not exist. However if we wanted to handle a variable list of parameters then C and C++ would work the same. Let&#8217;s see how we&#8217;d do that: #include &#60;stdarg.h&#62; #include [...]]]></description>
			<content:encoded><![CDATA[<p>With C++ there is ways of handling optional function parameters or overloading functions to handle different amounts of parameters, obviously within C these abilities do not exist. However if we wanted to handle a variable list of parameters then C and C++ would work the same.</p>
<p>Let&#8217;s see how we&#8217;d do that:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;stdarg.h&gt;</span>
<span style="color: #339933;">#include &lt;stdio.h&gt;</span>
&nbsp;
<span style="color: #993333;">int</span> Adding<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> cnt<span style="color: #339933;">,</span> ...<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  <span style="color: #808080; font-style: italic;">/* the three ... indicate a variable list */</span>
    <span style="color: #993333;">int</span> add<span style="color: #339933;">,</span> tmp<span style="color: #339933;">,</span> i<span style="color: #339933;">;</span>
    va_list args<span style="color: #339933;">;</span>            <span style="color: #808080; font-style: italic;">/* make a va_list */</span>
    va_start<span style="color: #009900;">&#40;</span>args<span style="color: #339933;">,</span> cnt<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #808080; font-style: italic;">/* variable list starts after 'cnt' */</span>
    <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span>i <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> cnt<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        tmp <span style="color: #339933;">=</span> va_arg<span style="color: #009900;">&#40;</span>args<span style="color: #339933;">,</span> <span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #808080; font-style: italic;">/* grab the next */</span>
        add <span style="color: #339933;">=</span> add <span style="color: #339933;">+</span> tmp<span style="color: #339933;">;</span>         <span style="color: #808080; font-style: italic;">/* add to the sum */</span>
    <span style="color: #009900;">&#125;</span>
    va_end<span style="color: #009900;">&#40;</span>args<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>    <span style="color: #808080; font-style: italic;">/* finished using variable list */</span>
    <span style="color: #b1b100;">return</span> add<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">int</span> main<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #993333;">int</span> a<span style="color: #339933;">;</span>
    a <span style="color: #339933;">=</span> Adding<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">2</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;%u<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> a<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #808080; font-style: italic;">/* Outputs 3 */</span>
    a <span style="color: #339933;">=</span> Adding<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">3</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">2</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;%u<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> a<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #808080; font-style: italic;">/* Outputs 6 */</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>So the first argument indicates how many variables we are going to pass and the rest are summed together. The function <code>Adding()</code> would be identical in C++.</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2010/02/variable-function-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import Missing GPG Keys</title>
		<link>http://znx.no/2010/01/import-missing-gpg-keys/</link>
		<comments>http://znx.no/2010/01/import-missing-gpg-keys/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 17:58:39 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://znx.no/?p=231</guid>
		<description><![CDATA[Sometimes when people are using Linux they will find that they come across a simple security check that confirms the authenticity of the RPM/Deb files that they are installing. Every so often the key is missing but that is easy to remedy. Here I will use an example with the YUM install of Adobe Flash: [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when people are using Linux they will find that they come across a simple security check that confirms the authenticity of the RPM/Deb files that they are installing. Every so often the key is missing but that is easy to remedy. Here I will use an example with the YUM install of Adobe Flash:</p>
<pre>[root@marine]# ls
adobe-release-i386-1.0-1.noarch.rpm
[root@marine]# yum localinstall adobe-release-i386-1.0-1.noarch.rpm
Loaded plugins: fastestmirror, priorities
Setting up Local Package Process
Examining adobe-release-i386-1.0-1.noarch.rpm: adobe-release-i386-1.0-1.noarch
Marking adobe-release-i386-1.0-1.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
* addons: anorien.csc.warwick.ac.uk
* base: anorien.csc.warwick.ac.uk
* centosplus: anorien.csc.warwick.ac.uk
* contrib: anorien.csc.warwick.ac.uk
* extras: anorien.csc.warwick.ac.uk
* rpmforge: fr2.rpmfind.net
* updates: anorien.csc.warwick.ac.uk
588 packages excluded due to repository priority protections
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package adobe-release-i386.noarch 0:1.0-1 set to be updated
--&gt; Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package              Arch     Version Repository                          Size
================================================================================
Installing:
adobe-release-i386   noarch   1.0-1   /adobe-release-i386-1.0-1.noarch   1.9 k

Transaction Summary
================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total size: 1.9 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID f6777c67

Public key for adobe-release-i386-1.0-1.noarch.rpm is not installed</pre>
<p>As you can see it attempted to install but because the key was missing it refused to install. So what do we do to find that key? First we must download the key from somewhere, there is various key servers around the world, some of the most popular are (note hkp is the HTTP keyserver protocol):</p>
<ul>
<li>hkp://subkeys.pgp.net</li>
<li>hkp://pgp.mit.edu</li>
<li>hkp://keys.gnupg.net</li>
<li>hkp://wwwkeys.uk.pgp.net  (where UK can be replaced by any country code)</li>
</ul>
<p>So lets search for the missing key:</p>
<pre>[root@marine]# gpg --keyserver hkp://wwwkeys.uk.pgp.net --recv-keys f6777c67
gpg: requesting key F6777C67 from hkp server wwwkeys.uk.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key F6777C67: public key "Adobe Systems Incorporated (Linux RPM
  Signing Key) <secure@adobe.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1</pre>
<p>So now we have the key and see that it is indeed Adobe&#8217;s key. Now all we need to do is add into RPM:</p>
<pre>[root@marine]# gpg --armor --export f6777c67 >tmp-gpg.key
[root@marine]# rpm --import tmp-gpg.key</pre>
<p>Simple as that, the install will work now!</p>
<p>This post is a refreshed look at a <a href='http://znx.no/2009/08/gpg-errors/'>previous</a> post on the same matter.</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2010/01/import-missing-gpg-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updates</title>
		<link>http://znx.no/2009/11/updates/</link>
		<comments>http://znx.no/2009/11/updates/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 20:23:49 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://znx.no/?p=201</guid>
		<description><![CDATA[So it has been a while since I posted last and I felt like updating and cleaning stuff up. The tags and categories have been improved and reduced to help with clarity. I have switched to a new theme, although it is still created by the previous designer. I have also added a Google CSE [...]]]></description>
			<content:encoded><![CDATA[<p>So it has been a while since I posted last and I felt like updating and cleaning stuff up. The tags and categories have been improved and reduced to help with clarity. I have switched to a new theme, although it is still created by the previous designer.</p>
<p>I have also added a Google CSE to assist with searching for a particular post, although I don&#8217;t exactly have too many.</p>
<p>I am very impressed with how WordPress has improved over recent times. The automatic upgrade is impressive and will surely ensure that less WP installs are hacked. The theme/plug-in search is quick and very easy to use, thus insuring that people will not be stuck with one design, or missing a vital plug-in. These two can be upgraded on the fly. Overall a real improvement proving that WP is a mature and stable piece of software.</p>
<p>There is only one minor annoyance and that is the speed at which pages are served, I do feel it could be slightly quicker.</p>
<p>Hope you all enjoy the updates that I applied!</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2009/11/updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Business Productivity Racism?</title>
		<link>http://znx.no/2009/08/microsoft-business-productivity-racism/</link>
		<comments>http://znx.no/2009/08/microsoft-business-productivity-racism/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 21:50:05 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[ms]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://znx.no/?p=152</guid>
		<description><![CDATA[I was recently pointed to the English and Polish pages for the MS Business Productivity. The most striking thing about the difference between the pages is that one depicts a white individual in place of a black individual. What could be the purpose of altering the image, surely it isn&#8217;t racism, after all the Chinese [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently pointed to the <a href='http://www.microsoft.com/businessproductivity/default.mspx'>English</a> and <a href='http://www.microsoft.com/poland/businessproductivity/default.mspx'>Polish</a> pages for the MS Business Productivity. The most striking thing about the difference between the pages is that one depicts a white individual in place of a black individual. What could be the purpose of altering the image, surely it isn&#8217;t racism, after all the Chinese individual is still in place.</p>
<p>Strange what goes through the brain of MS Business Productivity.</p>
<div id="attachment_153" class="wp-caption alignleft" style="width: 309px"><img class="size-full wp-image-153 " title="ms-diff1" src="http://znx.no/i/2009/08/ms-diff1.png" alt="Polish Alternative" width="299" height="158" /><p class="wp-caption-text">Polish Alternative</p></div>
<div id="attachment_154" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-154 " title="ms-diff2" src="http://znx.no/i/2009/08/ms-diff2-300x153.png" alt="English Alternative" width="300" height="153" /><p class="wp-caption-text">English Alternative</p></div>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2009/08/microsoft-business-productivity-racism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Funny Farm</title>
		<link>http://znx.no/2009/08/funny-farm/</link>
		<comments>http://znx.no/2009/08/funny-farm/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 00:30:48 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://znx.no/?p=145</guid>
		<description><![CDATA[So I came across a great game a few days ago. It is one of those puzzles that turn up now and then that make your brain pop. Fantastically simple but frustratingly tough. Finishing this on your own would be nearly impossible. Fortunately the creator of this puzzle added the ability to merge puzzles with [...]]]></description>
			<content:encoded><![CDATA[<p>So I came across a great game a few days ago. It is one of those puzzles that turn up now and then that make your brain pop. Fantastically simple but frustratingly tough. Finishing this on your own would be nearly impossible. Fortunately the creator of this puzzle added the ability to merge puzzles with your friends, genius!</p>
<p>I highly suggest that you give it a go first on your own and see how far you get. I was completely stumped on some of the stuff and others quickly sliced through them.</p>
<p>Have a go at the <a href="http://shygypsy.com/farm/">Funny Farm</a> puzzle.<br />
<img class="alignnone size-full wp-image-149" title="Funny Farm" src="http://znx.no/i/2009/08/funny-farm.png" alt="Funny Farm" width="515" height="293" /> <span id="more-145"></span><br />
For those of you that enjoy spoilers, here is the completed puzzle:<br />
<a title="Cheater!" href="http://shygypsy.com/farm/p.cgi?state=pppppppppppppppppppppppppppppppppppplpppphpppppppppppppppppppppppppppopppppppppppppnpppphppppppppppppppppaaaaaaaaaaaaaaaaaaaaaaa&amp;style=rhzbuaazexxqobxaouqzybonrtcycqbzstfzpcwigtgovqvvpsexqwrjvvgzurgbyzvedagc&amp;i=4&amp;j=4&amp;cmd=guess&amp;guess=+">Completed Funny Farm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2009/08/funny-farm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error Codes</title>
		<link>http://znx.no/2009/06/error-code/</link>
		<comments>http://znx.no/2009/06/error-code/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 22:22:21 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://znx.no/?p=123</guid>
		<description><![CDATA[I recently came across this caused me to smile if not giggle. ENOTOBACCO Read on an empty pipe EBEFOREI Invalid syntax ECHERNOBYL Core dumped ECRAY Program exited before being run EDINGDONG The daemon is dead EFLAT System needs tuning EGEEK Program written by inept Frat member EIEIO Here-a-bug, there-a-bug, .... EIUD Missing period ELECTROLUX Your [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across this caused me to smile if not giggle.</p>
<pre>ENOTOBACCO		Read on an empty pipe
EBEFOREI		Invalid syntax
ECHERNOBYL		Core dumped
ECRAY			Program exited before being run
EDINGDONG		The daemon is dead
EFLAT			System needs tuning
EGEEK			Program written by inept Frat member
EIEIO			Here-a-bug, there-a-bug, ....
EIUD			Missing period
ELECTROLUX		Your code could stand to be cleaned up
EMILYPOST		Wrong fork
END.ARMS.CONTROL	Silo overflow
ENOHORSE		Mount failed
ENONSEQUETOR		C program not derived from main(){printf("Hello, world");}
EWATERGATE		Extended tape gap
EWOK			Aliens sighted
EWOK			Your code appears to have been stir-fried
EWOULDBNICE     	The feature you want has not been implemented yet</pre>
<p>Not to be out done, a new signal:</p>
<pre>SIGNUKE     	Nuclear event occurred (cannot be caught or ignored)</pre>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2009/06/error-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GNU Screen</title>
		<link>http://znx.no/2009/01/gnu-screen/</link>
		<comments>http://znx.no/2009/01/gnu-screen/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 22:08:06 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://znx.no/?p=78</guid>
		<description><![CDATA[I am a constant user of screen and it always suprises me how many people use it and barely know how truly powerful it is. Here is a short list of some very neat tricks. Starting a new session screen Reattach to a session screen -r Leave a session ^A d Open another window ^A [...]]]></description>
			<content:encoded><![CDATA[<p>I am a constant user of screen and it always suprises me how many people use it and barely know how truly powerful it is. Here is a short list of some very neat tricks.</p>
<table style="border: 1px solid black;border-collapse:collaspe;">
<tbody>
<tr>
<td>Starting a new session</td>
<td>screen</td>
</tr>
<tr>
<td>Reattach to a session</td>
<td>screen -r</td>
</tr>
<tr>
<td>Leave a session</td>
<td>^A d</td>
</tr>
<tr>
<td>Open another window</td>
<td>^A c</td>
</tr>
<tr>
<td>Change to a window</td>
<td>^A <em>number</em></td>
</tr>
<tr>
<td>Change to next window</td>
<td>^A <em>space</em></td>
</tr>
<tr>
<td>Change window via the window list</td>
<td>^A &#8220;</td>
</tr>
<tr>
<td>Add a split region</td>
<td>^A S</td>
</tr>
<tr>
<td>Jump between split regions</td>
<td>^A <em>tab</em></td>
</tr>
<tr>
<td>Close region</td>
<td>^A X</td>
</tr>
<tr>
<td>Close all the other regions</td>
<td>^A Q</td>
</tr>
<tr>
<td>Enter &#8220;copy mode&#8221; (useful for scrollback!)</td>
<td>^A [</td>
</tr>
<tr>
<td>Watch for silence</td>
<td>^A _</td>
</tr>
<tr>
<td>Watch for activity</td>
<td>^A M</td>
</tr>
<tr>
<td>Protect screen with password</td>
<td>^A x</td>
</tr>
</tbody>
</table>
<p>As always looking through info and man pages can provide a raft of information about tools and sometimes uncover tricks that you might of otherwise not known about!</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2009/01/gnu-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Look GMail</title>
		<link>http://znx.no/2008/11/new-look-gmail/</link>
		<comments>http://znx.no/2008/11/new-look-gmail/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 21:23:30 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://znx.no/?p=44</guid>
		<description><![CDATA[So I have got access to the new look Gmail. I have to say that I am impressed, it is an obvious improvement in the overall look and feel of using Gmail. This is the new minimalistic theme, Wonderful! Good job Google.]]></description>
			<content:encoded><![CDATA[<p>So I have got access to the new look Gmail. I have to say that I am impressed, it is an obvious improvement in the overall look and feel of using Gmail.</p>
<p><a title="New Look Gmail" rel="lightbox[pics44]" href="http://znx.no/i/2008/11/screenshot.png"><img class="attachment wp-att-49 alignleft" src="http://znx.no/i/2008/11/screenshot.thumbnail.png" alt="New Look Gmail" width="300" height="164" /></a></p>
<p>This is the new minimalistic theme, Wonderful! Good job Google.</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2008/11/new-look-gmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
