<?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>mindfuzz</title>
	<atom:link href="http://www.mindfuzz.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.mindfuzz.net</link>
	<description>{ coding, maths, linux }</description>
	<lastBuildDate>Sat, 03 Nov 2012 14:17:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>tiny turing machine in C v2</title>
		<link>http://www.mindfuzz.net/?p=453</link>
		<comments>http://www.mindfuzz.net/?p=453#comments</comments>
		<pubDate>Thu, 07 Jun 2012 15:00:16 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=453</guid>
		<description><![CDATA[Here is the second version of my DTM in C. I used a linked list so the tape can be much larger. // could probably be much smaller given some work. // compressed version &#160; #include &#60;stdio.h&#62; #define w while #define b break int i,j;char s='S',d&#91;&#93;=&#34;S0a0&#62;S1a0&#62;a0a0&#62;a1a0&#62;a-H--&#34;;struct t&#123;t*l;t*r;char v;&#125;; int main&#40;int c, char**v&#41;&#123;t*h=0;w&#40;v&#91;1&#93;&#91;j&#93;&#41;&#123;t*n=new t;n-&#62;v=v&#91;1&#93;&#91;j&#93;;n-&#62;l=h;n-&#62;r=0;if&#40;h&#41;h-&#62;r=n; h=n;++j;&#125;w&#40;1&#41;&#123;if&#40;!h-&#62;l&#41;b;h=h-&#62;l;&#125;w&#40;1&#41;&#123;if&#40;s=='H'&#41;b;i=0;w&#40;d&#91;i&#93;&#41;&#123;if&#40;s==d&#91;i&#93;&#38;&#38;h-&#62;v==d&#91;i+1&#93;&#41;&#123; s=d&#91;i+2&#93;;h-&#62;v=d&#91;i+3&#93;;t*m=new [...]]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=453</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tiny turing machine in C</title>
		<link>http://www.mindfuzz.net/?p=446</link>
		<comments>http://www.mindfuzz.net/?p=446#comments</comments>
		<pubDate>Tue, 27 Mar 2012 20:26:11 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Maths]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[golf]]></category>
		<category><![CDATA[golfing]]></category>
		<category><![CDATA[tiny]]></category>
		<category><![CDATA[turing machine]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=446</guid>
		<description><![CDATA[I while ago I had a little contest with a friend to write a C/C++ Deterministic Turing Machine (DTM) in as little bytes of code as possible. We drew up a simple specification and set to work! Here&#8217;s mine (uncompressed): #include &#60;stdio.h&#62; #define w while &#160; int i,j,k,h=1024; char s='S',t&#91;2049&#93;,d&#91;&#93;=&#34;S0a0&#62;S1a0&#62;a0a0&#62;a1a0&#62;a-H--&#34;; &#160; int main&#40;int c, char**v&#41; [...]]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=446</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a big list of tlds</title>
		<link>http://www.mindfuzz.net/?p=409</link>
		<comments>http://www.mindfuzz.net/?p=409#comments</comments>
		<pubDate>Sat, 03 Mar 2012 23:15:47 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=409</guid>
		<description><![CDATA[I needed a big list of Top Level Domains (TLDs) for a small project I&#8217;ve been working on. It&#8217;s a pretty easy job with vim, some regex and a copy of this &#8211; but I&#8217;ve included it here for anyone that might be Googling for it. You can get the full list here, but I&#8217;ve [...]]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=409</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>tmux with irssi &#8211; ncurses redraw bug</title>
		<link>http://www.mindfuzz.net/?p=393</link>
		<comments>http://www.mindfuzz.net/?p=393#comments</comments>
		<pubDate>Wed, 15 Feb 2012 12:20:51 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[irssi]]></category>
		<category><![CDATA[ncurses]]></category>
		<category><![CDATA[tmux]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=393</guid>
		<description><![CDATA[I recently noticed that in large terminals (over 40 rows) irssi won&#8217;t draw properly with tmux. Apparently this is a bug with tmux. It&#8217;s easy to fix, just add the following line to your ~/.tmux.conf and the problem should go away! # set correct term set -g default-terminal screen-256color]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=393</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Talk chatback badge &#8211; auto open chat</title>
		<link>http://www.mindfuzz.net/?p=377</link>
		<comments>http://www.mindfuzz.net/?p=377#comments</comments>
		<pubDate>Tue, 15 Nov 2011 12:54:14 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[talk]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=377</guid>
		<description><![CDATA[Just recently I needed to make a Google Talk chatback session start automatically, that a website could offer assistance after x amount of idletime and start the chat upon request. Far cleaner than asking them to click a link, I wanted the session to initiate once a user click &#8220;Yes, start live chat!&#8221; (or something [...]]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=377</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perl password prompts</title>
		<link>http://www.mindfuzz.net/?p=373</link>
		<comments>http://www.mindfuzz.net/?p=373#comments</comments>
		<pubDate>Sun, 02 Oct 2011 16:09:14 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[IO::Prompt]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[prompt]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=373</guid>
		<description><![CDATA[I spent a while trying to find a nice solution for a password prompt without writing to much code. This is the best solution I found, the IO::Prompt module! It&#8217;s awesome! use IO::Prompt; my $pswd = prompt&#40;&#34;password for &#60;your name here&#62;: &#34;, -e =&#62; '*'&#41;; Hopefully this can save someone some time.]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=373</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gpgsend.com released</title>
		<link>http://www.mindfuzz.net/?p=370</link>
		<comments>http://www.mindfuzz.net/?p=370#comments</comments>
		<pubDate>Sun, 25 Sep 2011 16:44:29 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[gpgsend.com]]></category>
		<category><![CDATA[gpgsend]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[pgp]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=370</guid>
		<description><![CDATA[I just released the first version of my Javascript secure email service gpgsend.com. The service uses Javascript to encrypt a message using the recipients PGP key, and then my server forwards the message on behalf of the sender. The system will also search pgp.mit.edu for public keys if they&#8217;re unknown. It&#8217;d be great to hear [...]]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=370</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gentoo gcc &#8211; &#8220;emake failed with bootstrap-lean&#8221;</title>
		<link>http://www.mindfuzz.net/?p=366</link>
		<comments>http://www.mindfuzz.net/?p=366#comments</comments>
		<pubDate>Thu, 22 Sep 2011 10:24:53 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[emake]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=366</guid>
		<description><![CDATA[I found this short and simple solution to be the source of the error 90% of the time. Your server is running out of resources. Try the following: Remove -pipe from CLFAGS Decrease your -j# opts Increase/enable swap Increase RAM This should clear the problem, but if it does not then problems may run deeper. [...]]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=366</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>vim : highlight current line</title>
		<link>http://www.mindfuzz.net/?p=363</link>
		<comments>http://www.mindfuzz.net/?p=363#comments</comments>
		<pubDate>Sat, 27 Aug 2011 13:08:38 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimrc]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=363</guid>
		<description><![CDATA[Added this to my .vimrc today, can&#8217;t believe I never had it before! set cursorline]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=363</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>cubecart to prestashop database conversion</title>
		<link>http://www.mindfuzz.net/?p=351</link>
		<comments>http://www.mindfuzz.net/?p=351#comments</comments>
		<pubDate>Sun, 14 Aug 2011 11:13:22 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[cubecart]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://www.mindfuzz.net/?p=351</guid>
		<description><![CDATA[Intro Recently I had to move a large number of products from an existing CubeCart installation to a new PrestaShop set up. I had a quick look on the internet and didn&#8217;t fund much; a lot of people asking how and a company claiming they&#8217;d do it for a price &#8211; but that certainly wouldn&#8217;t [...]]]></description>
		<wfw:commentRss>http://www.mindfuzz.net/?feed=rss2&#038;p=351</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
