<?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>RedBrain @ $HOME : ~ $ &#187; About Me</title>
	<atom:link href="http://redbrain.co.uk/index.php/tag/about-me/feed/" rel="self" type="application/rss+xml" />
	<link>http://redbrain.co.uk</link>
	<description>Frustrated Software Developer</description>
	<lastBuildDate>Wed, 16 Nov 2011 17:36:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Identi.ca -&gt; Curl -&gt; Update</title>
		<link>http://redbrain.co.uk/index.php/about-me/identica-curl-update/</link>
		<comments>http://redbrain.co.uk/index.php/about-me/identica-curl-update/#comments</comments>
		<pubDate>Mon, 25 May 2009 23:34:14 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Update!]]></category>
		<category><![CDATA[BLUG]]></category>
		<category><![CDATA[c/c++]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=358</guid>
		<description><![CDATA[<p>So yeah, i told you guys in my last post i would be doing a tutorial on compiler work, i am still working at this, tbh there is so much writing i am thinking i might make like a sub-domain for it like a latex-html type thing, i have been writing a long .odt in [...]]]></description>
			<content:encoded><![CDATA[<p>So yeah, i told you guys in my last post i would be doing a tutorial on compiler work, i am still working at this, tbh there is so much writing i am thinking i might make like a sub-domain for it like a latex-html type thing, i have been writing a long .odt in openOffice, but i think if i want to put it on this blog it will be far too big. But anyways well see i updated some of my stuff here on the blog feeling much happier i think i have found a theme i can settle on!</p>
<p>Oh and i added the link for my hello-world gcc-frontend</p>
<blockquote><p>$ git clone git://github.com/redbrain/gcc-sbsh.git</p>
<p>$ ./configure</p>
<p>$ make (..sleep for 2 hours&#8230;)</p></blockquote>
<p>//what your interested in is gcc/sbsh/ * all the files in there is all the stuff you have to do to make a hello world front-end you need all those definitions etc.. i think i have broke my Make-lang.in but i&#8217;ll fix it asap. If your on a mac i posted the fix for mpfr on the gcc-help mailing list.</p>
<p>To compile on a mac:</p>
<blockquote><p>$ wget -c ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.gz</p>
<p>$ tar xvf gmp-4.3.1.tar.gz</p>
<p>$ ./configure</p>
<p>$ make</p>
<p>$ sudo make install</p>
<p>$ sudo port install mpfr</p>
<p>$ cd gcc-sbsh</p>
<p>$ ./configure &#8211;prefix=&lt;maby put a prefix for install here instead of sys-wide install&gt; &#8211;with-mpfr-lib=/opt/local/lib &#8211;with-mpfr-include=/opt/local/include</p></blockquote>
<p>Now it should configure properly! <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   <a href="http://www.nabble.com/Configuration-problem:-not-recognizing-MPFR-td23556792.html">http://www.nabble.com/Configuration-problem:-not-recognizing-MPFR-td23556792.html</a>. You may find my on gcc-help pretty often now and automake bison and autoconf. I use these apps alot now and the mailing lists are really intereasting. Linux-kernel list sucks its far far too fast to follow unless you a full time-developer drizzle i dont have enough time for either KVM i think they are all over the place</p>
<p>And here is the git-repos of my work for the hello-world interpreter its still a work in progress but i think its ok for one evenings work <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>$ git clone git://github.com/redbrain/simple-programming-language.git</p>
<p>$ apt-get install build-essential autoconf automake libtool</p>
<p>$ sh autorun.sh</p>
<p>$ ./configure</p>
<p>$ make</p>
<p>$ ./src/simple &#8211;help</p>
<p>$ ./src/simple tests/helloworld.sim</p></blockquote>
<p>Oh and i have done some massive updates to the Belfast LUG wiki in general: <a href="http://www.belfastlinux.org/wiki/Main_Page">http://www.belfastlinux.org/wiki/Main_Page</a></p>
<p><a href="http://www.belfastlinux.org/wiki/2009-04-06_mobile-monday">http://www.belfastlinux.org/wiki/2009-04-06_mobile-monday</a></p>
<p><a href="http://www.belfastlinux.org/wiki/Meetings">http://www.belfastlinux.org/wiki/Meetings</a></p>
<p>I will aim to keep the Meetings page updated with my email after the meeting with what happened at the Meet like in: <a href="http://www.belfastlinux.org/wiki/2009-03-25_pubbage">http://www.belfastlinux.org/wiki/2009-03-25_pubbage</a>. I will maby start a page in the future about going to LugRadio live 2009 but thats a good few months off yet.. <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So yeah This last week and a few days i have spent my evenings doing some writing on compilers etc&#8230; for the tutorial and playing with haskell.. I am trying to learn the curl api to make an identi.ca client written in haskell and it cant be hard because the code to do it in C is well tiny look i knocked this up in a few mins:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="co2">#include &quot;stdio.h&quot;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co2">#include &quot;curl/curl.h&quot;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co2">#define IDENTICA &nbsp; &nbsp; &quot;http://identi.ca/api/statuses/update.xml&quot;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw4">int</span> main<span class="br0">&#40;</span> <span class="kw4">int</span> argc, <span class="kw4">char</span> *argv<span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; CURL *curl;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; CURLcode res;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; curl = curl_easy_init<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span> curl <span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw4">char</span> *data=<span class="st0">&quot;status=hello world identi.ca libcurl &#8211; c&quot;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; curl_easy_setopt<span class="br0">&#40;</span>curl, CURLOPT_POSTFIELDS, data<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="co1">//username:password&#8230; male sure to keep the &#8216;:&#8217;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; curl_easy_setopt<span class="br0">&#40;</span>curl, CURLOPT_USERPWD, <span class="st0">&quot;username:password&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; curl_easy_setopt<span class="br0">&#40;</span>curl, CURLOPT_URL, IDENTICA<span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; res = curl_easy_perform<span class="br0">&#40;</span>curl<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span class="kw3">printf</span></a><span class="br0">&#40;</span><span class="st0">&quot;result -&gt; %i<span class="es0">\n</span>&quot;</span>, res<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="coMULTI">/* always cleanup */</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; curl_easy_cleanup<span class="br0">&#40;</span>curl<span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">return</span> <span class="nu0">0</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>You can compile with:</p>
<blockquote><p>$ gcc -o identica main.c `curl-config &#8211;libs &#8211;cflags`</p></blockquote>
<p>So as you can see posting to identi.ca or twitter is a simple task. But haskell&#8230; well it isnt simple I do love haskell in some ways its very much the way you think of things if your doing a very long definition in Pure Math or a proof in Applied Math. Yeah i do a Math degree&#8230; i hate it <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  a i love it just i prefer doing programming mostly.</p>
<p>Anyways the problem i have with the language is its becoming EXTREMLY messy in my opinion, instead of people concentrating on making haskell useful to actually make apps and wrappers to useful libraries they seem to keep adding features to the language. Like the way things work in it take a long time to get your head around but to manipulate data is why i LOVE it. So its like look at this tutorial it just explains why i love haskell <a href="http://www.haskell.org/~pairwise/intro/section1.html#part4">http://www.haskell.org/~pairwise/intro/section1.html#part4</a></p>
<div class="wp-caption alignleft" style="width: 382px"><a href="http://icanhascheezburger.files.wordpress.com/2009/05/funny-pictures-cat-does-not-believe-you.jpg"><img title="lolcats" src="http://icanhascheezburger.files.wordpress.com/2009/05/funny-pictures-cat-does-not-believe-you.jpg" alt="lolcat" width="372" height="209" /></a><p class="wp-caption-text">lolcat</p></div>
<p>Thats just an awesome idea lazy evaluation, i am getting to grips with it but i think it would be better if i get a book on it rather than reading a sticking bits of what i see around the interenet together.Its just its all very well being able to make a list and do silly evaluations on them etc.. But you need to have some good networking apis or some decent file-read-write apis there are some but its just very centric around read or getch type functions. Then GHC dam its a huge and the main implemenation of haskell, but its sooo bloated. I was toying with my own idea to make a gcc-haskell front-end but i don&#8217;t know if i like the language enough to do it, i would probably prefer to make my own version of it. But then it would take a long time to persude people to move over. etc&#8230;</p>
<p>Anyways its nearly 1AM and i have work in the morning <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Remember to post comments guys! <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/about-me/identica-curl-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress syntax highlighting &#8211; String matching</title>
		<link>http://redbrain.co.uk/index.php/about-me/wordpress-syntax-highlighting-string-matching/</link>
		<comments>http://redbrain.co.uk/index.php/about-me/wordpress-syntax-highlighting-string-matching/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 00:28:48 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Update!]]></category>
		<category><![CDATA[c/c++]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux Outlaws]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=321</guid>
		<description><![CDATA[<p>So yeah i wanted to do this for ages! Proper code posting that works i played a lot with almost all plug-ins i am sure and like none of them worked for me and i just know it was probably something stupid but i really don&#8217;t know much about web-development if it isn&#8217;t talking about [...]]]></description>
			<content:encoded><![CDATA[<p>So yeah i wanted to do this for ages! Proper code posting that works i played a lot with almost all plug-ins i am sure and like none of them worked for me and i just know it was probably something stupid but i really don&#8217;t know much about web-development if it isn&#8217;t talking about pointers to memory and command line interfaces it doesn&#8217;t interest me rofl&#8230;</p>
<p>People laugh at me using mplayer at work for my music player in a tty but i just prefer it at the moment i like applications like songbird etc but no music application except <a href="http://www.atunes.org/">aTunes</a> has had good music database refreshing. What i mean is generally most music applications like you add your music to them thats dead on but if you manually manipulate that directory and move rename or delete the previous entries are still there! And there is never a refresh button to go through the folders and clean the database!</p>
<p>Anyways so i want to re-post my string matching algorithm because i love it <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  saves me a lot of time in some programs because in c there doesn&#8217;t seem to be that many nice string functions other than strcmp strcat and the relevant strncmp strncat for buffer-overflow and stack smashing  error handling..</p>
<p>So here it is:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="coMULTI">/**</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp; * @param str -&gt; string you want to search through</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp; * @param comap -&gt; the string you want to search for in the str*</span></div>
</li>
<li class="li2">
<div class="de2"><span class="coMULTI">&nbsp; * @returns the the postion the comparison is in the string else -1</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp; */</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw2">extern</span> size_t str_getPlace<span class="br0">&#40;</span> <span class="kw4">char</span>* str, <span class="kw4">char</span>* comp<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; size_t i, counter, complen=strlen<span class="br0">&#40;</span>comp<span class="br0">&#41;</span>, skip_counter=<span class="nu0">0</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; i=complen<span class="nu0">-1</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span>;;<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="co1">//printf(&quot;no: %i &#8211; orig: %c &#8211; %c\n&quot;,i,str[i],comp[complen-1]);</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span> comp<span class="br0">&#91;</span>complen<span class="nu0">-1</span><span class="br0">&#93;</span> == str<span class="br0">&#91;</span>i<span class="br0">&#93;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; <span class="co1">//reset counter = 1 as we found one char already <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; counter=<span class="nu0">1</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>complen &gt; <span class="nu0">1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw4">int</span> j;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">for</span><span class="br0">&#40;</span>j=complen<span class="nu0">-2</span>; j&gt;<span class="nu0">-1</span>; &#8211;j<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &#8211;i;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span> comp<span class="br0">&#91;</span>j<span class="br0">&#93;</span> == str<span class="br0">&#91;</span>i<span class="br0">&#93;</span> <span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; counter++;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">else</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="co1">//skipping length + the counter of already checked</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; i+=complen+counter;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="kw2">break</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; <span class="co1">//printf(&quot;Counters: comp length: %i -counter %i\n&quot;,strlen(comp),counter);</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span> counter == strlen<span class="br0">&#40;</span>comp<span class="br0">&#41;</span> <span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">return</span> i;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="co1">//if i is bigger than length of string or the remaining length is less than the length of the search</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>i &gt;= strlen<span class="br0">&#40;</span>str<span class="br0">&#41;</span> || <span class="br0">&#40;</span>strlen<span class="br0">&#40;</span>str<span class="br0">&#41;</span> -i<span class="br0">&#41;</span> &lt;= complen <span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; skip_counter++;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="co1">//if skipped more than the length of the search as there is no match!</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">if</span><span class="br0">&#40;</span> skip_counter &gt;= complen <span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw2">break</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="kw1">else</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; i=complen+skip_counter<span class="nu0">-1</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; i+=complen;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">return</span> <span class="nu0">-1</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>I really shouldn&#8217;t be returning -1 when the function returns type size_t but that can be changed quickly!  So lets see how this looks<br />
So recently i have been getting interested in lots of work!  I am concentrating on certain things and in my previous post i moved my main work over to launchpad. But i guess my main projects are:</p>
<p>silix-kernel, silix-compiler (just to be basic front-end compiler with gmp possibly)<br />
I am trying to decide to make either a nice working compiler using proper libraries or a simple compiler for me to bootstrap gcc when i get my kernel a little further!</p>
<p>The one thing in OS development i see at the minute is that there is like GCC for a compiler and that is pretty much it, and the problem i see with gcc is that say if you make a simple new kernel for a project you still cant bootstrap this onto your computer you have to make yourself a basic iso standard compiler. And even with GCC you depend bison GMP big num library and a few other bits a bobs. So porting this is a simple OS is like like not an easy task! Oh and yeah you need auto tools. So yeah when you get gcc onto your os then your sorted but you need a simple compiler before that to get bash setup etc. But i am by no means even close to getting that far!</p>
<p>To get to that stage i need memory mangement to free deallocated memory! I keep crashing atm. And i need a binary format hopefully something like a.out cant be that bad i think an elf binary could be pretty complicated for me to begin with but even before that i need file-system support! Haha</p>
<p>You can see the amount of work there is into a OS but i love it. I just want more time to work on it. I got that book the Minix book on OS its is really good. Probably one of the best to be very implementation specific.</p>
<p>Anyways moving on! This post is getting quite long and i have work tomorrow, though Rambo 2 has just come on to the tv!</p>
<p>Anyways the main part of this post i want you guys to check out Dan Lynch&#8217;s Blog he put up and awesome post on Linux there recently: <a href="http://danlynch.org/blog/2009/03/critical/">http://danlynch.org/blog/2009/03/critical/</a></p>
<p>It was really heart-warming and apparently his web-server died due to the digg-effect <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Dan and Fab from Linux outlaws have always been such a great inspiration to me for Linux and free-software. Mainly Linux because shows you normal people apricate what hackers are doing for the community and community tools. Imagine no Firefox or no open-office I&#8217;d be buggered! <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Anyways i spent my st patricks day watching Star-wars and playing quake for a little this morning. But the main part i started playing with drizzle -yacc and twisted python networking framework its insane how powerful it is! It could have so many uses! Check it out over at: <a href="http://twistedmatrix.com/trac/">http://twistedmatrix.com/trac/</a></p>
<p>Its really easy to work with and makes sending data around networks really simple and no need for working with sockets <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  Even though i secretly love working with Socket Programming because in the end is just the simplest way it all works. Because i really Hate things like CIM and WBEM whats the point of saturating your network with XML everywhere just to send 32bit number over the network the odd time. And the worst part its so sparse and CIM and Wbem all talk about being cross-platform etc, all you do is draw up schema&#8217;s etc, but the problem is CIM and wbem i think has been designed from Client side application designers so in the end you end up with something that works nicely for Client side applications that make it all really abstracted but its a messy system side design.</p>
<div class="wp-caption alignleft" style="width: 344px"><a href="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-strange-cat-wants-you-to-feed-him.jpg"><img title="Keep your attention" src="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-strange-cat-wants-you-to-feed-him.jpg" alt="Keep-your-attention" width="334" height="223" /></a><p class="wp-caption-text">Keep-your-attention</p></div>
<p>Anyways this is why i think Twisted should be a good framework,. i have noticed a lot of people are getting into using xmpp for the same kind of thing my problem with xmpp is its great to program with but you rely on a jabber server like openfire, and each component you write has to have its own login and password to xmpp because essentially you are handling everything like you opened a chat-window to your code, which is kind of funny but really whats the need for a whole seprate server you just want your landscape each with a program from which you have a local client app to connect to each of these.</p>
<p>One more thing i have been keeping an up dated Belfast LUG webpage recently over at: <a href="http://www.belfastlinux.org/wiki/Main_Page">http://www.belfastlinux.org/wiki/Main_Page</a></p>
<p>There is also Planet Belfast Linux which is an aggregation of all our blogs from the Belfast LUG <a href="http://planet.belfastlinux.org/">http://planet.belfastlinux.org/</a></p>
<p>Anyways i might quickly post up a new page on java-ant basics because it should be pretty sort, anyways:</p>
<p>Peace &lt;3 Linux- funny cats <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> : <a href="http://www.youtube.com/watch?v=SUNmLuNdiL8"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/about-me/wordpress-syntax-highlighting-string-matching/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Onto Launchpad!</title>
		<link>http://redbrain.co.uk/index.php/about-me/onto-launchpad/</link>
		<comments>http://redbrain.co.uk/index.php/about-me/onto-launchpad/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 22:58:40 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Update!]]></category>
		<category><![CDATA[c/c++]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[OS development]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=280</guid>
		<description><![CDATA[<p>So yeah i spent the last while just playing with yacc and reading code files. I cant believe how well yacc works i mean you have to put in like ZERO thought into parsing strings! I am so going to use it as much as i can in any project i get the chance to!</p>
<p>So [...]]]></description>
			<content:encoded><![CDATA[<p>So yeah i spent the last while just playing with yacc and reading code files. I cant believe how well yacc works i mean you have to put in like ZERO thought into parsing strings! I am so going to use it as much as i can in any project i get the chance to!</p>
<p>So i moved it all over to:<a title="https://launchpad.net/silix" href="https://launchpad.net/silix" target="_blank"> https://launchpad.net/silix</a></p>
<p>And updated my silix_os page: <a title="http://redbrain.co.uk/?page_id=103" href="http://redbrain.co.uk/?page_id=103" target="_blank">http://redbrain.co.uk/?page_id=103</a></p>
<p>I need to update my Scumm_3D page i started a little more work on this and changed the name to pMonkey Because the idea is i want like a physics playground but i am unsure if i will continue working on it because i dont mind programming but i really cant make graphics! I mean i used to play with blender now and again but i mean i cant really spend the time to learn mroe of it i would love to but its not what i am best at i want to concentrate on coding if i was to start a proper project to get commiters and commnunity support it would be pmonkey but it wouldnt be untill summer i start serious work on it i only been playing with ogre-heads hitting eachother and bounching in a box &#8230; a white box for that matter rofl</p>
<div class="wp-caption alignleft" style="width: 287px"><a href="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-your-cat-is-confused-by-algebra.jpg"><img title="code?!" src="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-your-cat-is-confused-by-algebra.jpg" alt="code?!" width="277" height="171" /></a><p class="wp-caption-text">code?!</p></div>
<p>I would probably prefer to keep working at my drizzle and silix_os because then i get to concentrate rather than my head all over the place for a while!</p>
<p>Oh yeah here is a great link for learning the basics of yacc: <a href="http://ds9a.nl/lex-yacc/cvs/lex-yacc-howto.html">http://ds9a.nl/lex-yacc/cvs/lex-yacc-howto.html</a></p>
<p>I have been reading up on compilers and this really seems intereasting: <a href="http://gmplib.org/">http://gmplib.org/</a></p>
<p>Its a Math library to be mega high-preformance it would be pretty head bending to learn but its cools! <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Anways off to merge some code!</p>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/about-me/onto-launchpad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorials and Pages on the go!</title>
		<link>http://redbrain.co.uk/index.php/about-me/tutorials-and-pages-on-the-go/</link>
		<comments>http://redbrain.co.uk/index.php/about-me/tutorials-and-pages-on-the-go/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 10:57:34 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Update!]]></category>
		<category><![CDATA[c/c++]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=270</guid>
		<description><![CDATA[<p>So i have been spending the last few days and nights trying to make an awesome tutorial on writing a c/c++ application with autoconf and automake + libtool, creating a library out of it with relevant headers and swig python bindings and then all the way to packaging to a PPA on launchpad which will [...]]]></description>
			<content:encoded><![CDATA[<p>So i have been spending the last few days and nights trying to make an awesome tutorial on writing a c/c++ application with autoconf and automake + libtool, creating a library out of it with relevant headers and swig python bindings and then all the way to packaging to a PPA on launchpad which will be debs no rpms here no idea how to make those!</p>
<p>So as you can see there is alot there!  So good wordpress is saving my stuff. When i am writing my tutorials now and articles i am starting to write them in OpenOffice first to make it much more professional of me. Posts are still quite spontaneous on me <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But i think for my pages etc.. it all has to take its time and be done right. On a plus things are going good now no more ranting from me anymores <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So yeah i am going to post updates of my OS work soon i am going to take it of gitorious probably because its too awkward to keep update because i spend so much time on launchpad now because of drizzle trying to merge my changes with the trunk there are a few problems but its because my tree was pretty old. And there was a good few autoconf updates since then for the project like more depandancies etc. So yeah i am working on it somtimes but drizzle is a little more important to me because it looks better on me i guess. But stay tunned and i will keep you up todate and more tutorials etc!</p>
<div class="wp-caption alignleft" style="width: 342px"><a href="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-kitten-realizes-his-friend-is-not-real.jpg"><img title="not real " src="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-kitten-realizes-his-friend-is-not-real.jpg" alt="not-real" width="332" height="221" /></a><p class="wp-caption-text">not-real</p></div>
<p>So next moving on here is something i am looking forward to: <a title="Terminator Salvation" href="http://www.imdb.com/title/tt0438488/" target="_blank">http://www.imdb.com/title/tt0438488/</a></p>
<p>There is a new trailer it looks sweet! Anyways follow me on identi.ca i keep it pretty uptodate <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/about-me/tutorials-and-pages-on-the-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long time&#8230;. no talk</title>
		<link>http://redbrain.co.uk/index.php/update/long-time-no-talk/</link>
		<comments>http://redbrain.co.uk/index.php/update/long-time-no-talk/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 23:10:18 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[Update!]]></category>
		<category><![CDATA[About Me]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=267</guid>
		<description><![CDATA[<p>So yeah its been a while i need to kick my arse in gear i guess but i have been so damn busy with work and no sleep  </p>
<p>But on the plus side i have alot of things working out which is a first for me in 2 years and writing a small python [...]]]></description>
			<content:encoded><![CDATA[<p>So yeah its been a while i need to kick my arse in gear i guess but i have been so damn busy with work and no sleep <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>But on the plus side i have alot of things working out which is a first for me in 2 years and writing a small python build bot and regression tester for drizzle to mail daily reports to the mailing list&#8230;</p>
<p>Anyways i have this week off work to rest so i&#8217;ll try and blog up a little i should maby hopefully have a my openmoko this week which will be exciting <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>But yeah some coding time and music to relax me <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  g33k</p>
<div class="wp-caption alignnone" style="width: 410px"><a href="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-kitten-steps-in-dog-poop1.jpg"><img title="lol @ cats" src="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-kitten-steps-in-dog-poop1.jpg" alt="poop cats" width="400" height="301" /></a><p class="wp-caption-text">poop cats</p></div>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/update/long-time-no-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

