<?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>DEVZA</title>
	<atom:link href="http://www.devza.co.za/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devza.co.za/blog</link>
	<description>Web design, programming and other randomness...</description>
	<lastBuildDate>Mon, 14 May 2012 19:04:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>MWEB Counter-Strike: Global Offensive Servers</title>
		<link>http://www.devza.co.za/blog/2012/05/mweb-counter-strike-global-offensive-servers/</link>
		<comments>http://www.devza.co.za/blog/2012/05/mweb-counter-strike-global-offensive-servers/#comments</comments>
		<pubDate>Mon, 14 May 2012 19:04:17 +0000</pubDate>
		<dc:creator>gnmaritz</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[csgo]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[mweb]]></category>

		<guid isPermaLink="false">http://www.devza.co.za/blog/?p=108</guid>
		<description><![CDATA[<p>I have been enjoying the new Counter-Strike: Global Offensive servers thoroughly since receiving my beta invite but have unfortunately not been able to play on any South African servers. There are currently only one server you will find in your &#8220;Community Server&#8221; browser; a gun-game hosted by <a href="http://www.wage.co.za" target="_blank">WAGE</a>.</p> <p>For some reason MWEB Gaming&#8217;s servers do [...]]]></description>
			<content:encoded><![CDATA[<p>I have been enjoying the new Counter-Strike: Global Offensive servers thoroughly since receiving my beta invite but have unfortunately not been able to play on any South African servers. There are currently only one server you will find in your &#8220;Community Server&#8221; browser; a gun-game hosted by <a href="http://www.wage.co.za" target="_blank">WAGE</a>.</p>
<p>For some reason MWEB Gaming&#8217;s servers do not show in the browser but do not fear, here are the IP&#8217;s:</p>
<ul>
<li>197.80.200.34:27015</li>
<li>197.80.200.35:27015</li>
<li>197.80.200.32:27015</li>
<li>197.80.200.30:27015</li>
</ul>
<p>Simple add these to your favorites and come play!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devza.co.za/blog/2012/05/mweb-counter-strike-global-offensive-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codbot, lua script for ADCH++</title>
		<link>http://www.devza.co.za/blog/2012/02/codbot-lua-script-for-adch/</link>
		<comments>http://www.devza.co.za/blog/2012/02/codbot-lua-script-for-adch/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 15:46:48 +0000</pubDate>
		<dc:creator>gnmaritz</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[adchpp]]></category>
		<category><![CDATA[callofduty]]></category>
		<category><![CDATA[lua]]></category>

		<guid isPermaLink="false">http://www.devza.co.za/blog/?p=101</guid>
		<description><![CDATA[<p>Firstly, kudos to the guys from <a href="http://adchpp.sourceforge.net/">ADCH++</a> for their awesome DC++ hub software.</p> <p>I thought a Call of Duty announcer would be nice as the people on the hub I run play CoD4 quite often. This bot simply emulates the CoD discovery protocol over the local network and then responds back to the user [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly, kudos to the guys from <a href="http://adchpp.sourceforge.net/">ADCH++</a> for their awesome DC++ hub software.</p>
<p>I thought a Call of Duty announcer would be nice as the people on the hub I run play CoD4 quite often. This bot simply emulates the CoD discovery protocol over the local network and then responds back to the user performing the query. It also checks if there are more than 4 people playing in a specific server and announces in the main channel that a CoD game is in progress.</p>
<p>In future I would want it to check the above automatically but with the addition of a few check to prevent spam.</p>
<p>The code can be found here: <a href="https://bitbucket.org/Konsalik/adch-scripts">https://bitbucket.org/Konsalik/adch-scripts</a></p>
<p>This script is free to use and improve but most of all I hope it can help others who struggle with ADCH++ plugin development.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devza.co.za/blog/2012/02/codbot-lua-script-for-adch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website publishing with Git</title>
		<link>http://www.devza.co.za/blog/2012/01/website-publishing-with-git/</link>
		<comments>http://www.devza.co.za/blog/2012/01/website-publishing-with-git/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 20:49:22 +0000</pubDate>
		<dc:creator>gnmaritz</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[bitbucket]]></category>
		<category><![CDATA[eendrag]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.devza.co.za/blog/?p=98</guid>
		<description><![CDATA[<p>I recently decided to move a <a href="http://www0.sun.ac.za/eendrag" target="_blank">website</a> I am managing from a Subversion VCS to a distributed system such as Git. I decided upon Git since I had used it before and limits imposed by the host machine on software installed.</p> <p>The old SVN repository had become terribly slow and the size of the site [...]]]></description>
			<content:encoded><![CDATA[<p>I recently decided to move a <a href="http://www0.sun.ac.za/eendrag" target="_blank">website</a> I am managing from a Subversion VCS to a distributed system such as Git. I decided upon Git since I had used it before and limits imposed by the host machine on software installed.</p>
<p>The old SVN repository had become terribly slow and the size of the site was approaching a few hundred megabytes as the repository included media files and other content. I decided to leave out the content and only created a repository containing the bare files that make up the site. The new Git repository shrunk in size to 36 MB, a great improvement.</p>
<p>To host the repository in one easily manageable location I chose <a href="http://bitbucket.org" target="_blank">BitBucket</a>. BitBucket offers great collaboration tools such as bug tracking and a project wiki which really suited our team. After proceeding to check the code into BitBucket and setting up repositories on my local and remote machines I could not get Git to push changes to the server.</p>
<p>After much struggling and searching and recreating the repositories a couple of times I came across a post by <a href="http://toroid.org/ams/" target="_blank">Abhijit Menon-Sen</a> where he describes how to set up Git for just this purpose. So if you are trying to do the same, do not try to reinvent the wheel, follow <a href="http://toroid.org/ams/git-website-howto" target="_blank">this elegant solution</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devza.co.za/blog/2012/01/website-publishing-with-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Programming and Mathematics</title>
		<link>http://www.devza.co.za/blog/2011/11/programming-and-mathematics/</link>
		<comments>http://www.devza.co.za/blog/2011/11/programming-and-mathematics/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 09:43:18 +0000</pubDate>
		<dc:creator>gnmaritz</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.devza.co.za/blog/?p=94</guid>
		<description><![CDATA[<p>I was inspired to write this blog post after reading <a title="Elegant Coding: Eleven Equations True Computer Science Geeks Should (at Least Pretend to) Know" href="http://www.elegantcoding.com/2011/11/eleven-equations-true-computer-science.html">Elegant Coding: Eleven Equations True Computer Science Geeks Should (at Least Pretend to) Know</a>.</p> <p>The topic of mathematics and coding has been long debated with people on either side having [...]]]></description>
			<content:encoded><![CDATA[<p>I was inspired to write this blog post after reading <a title="Elegant Coding: Eleven Equations True Computer Science Geeks Should (at Least Pretend to) Know" href="http://www.elegantcoding.com/2011/11/eleven-equations-true-computer-science.html">Elegant Coding: Eleven Equations True Computer Science Geeks Should (at Least Pretend to) Know</a>.</p>
<p>The topic of mathematics and coding has been long debated with people on either side having strong opinions on the subject. To summarize (as the above blog&#8217;s comments also show): Programmers with a maths background usually feel that it deepens their understanding of algorithms and their code in general, while programmers without this background usually rant that maths are completely unnecessary and that they have coded for years without any need of advanced mathematics.</p>
<p>Let us consider the programmers without a math background. I fully agree with them that mathematics is not necessary to code. You can teach basic programming to 10 (or even less!) year olds as looping and logic is quite easy to understand. Where these people usually err in their opinions is that most of them have never worked on a truly mathematical problem. Yes! you need to understand Bayes theorem if you want to do conditional probability and you need to understand how to statistically treat random variables. And no, a basic understanding of algorithmic complexity O() is not all that is required to be a good programmer.</p>
<p>I would dare to say that most of our software has some form of mathematics involved that makes it &#8220;go&#8221;. I must say that this does not mean that all programmers need a CS or maths degree. It is not stupid to even suggest that not having a qualification makes you an inferior coder.</p>
<p>So, to all programmers who do not understand Euler&#8217;s identity, you may never need any advanced mathematics and most of you code better than I ever will but don&#8217;t hate on the programmers who brought you Google, 3D Graphics engines, Matlab, etc <img src='http://www.devza.co.za/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.devza.co.za/blog/2011/11/programming-and-mathematics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.devza.co.za/blog/2011/09/hello-world/</link>
		<comments>http://www.devza.co.za/blog/2011/09/hello-world/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 08:42:14 +0000</pubDate>
		<dc:creator>gnmaritz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://207.45.178.42/~devzacoz/wordpress/?p=1</guid>
		<description><![CDATA[<p>DEVZA is back! Feel free to look around and comment to heart&#8217;s content!</p>]]></description>
			<content:encoded><![CDATA[<p>DEVZA is back! Feel free to look around and comment to heart&#8217;s content!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devza.co.za/blog/2011/09/hello-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stellenbosch University student number algorithm</title>
		<link>http://www.devza.co.za/blog/2010/10/stellenbosch-university-student-number-algorithm/</link>
		<comments>http://www.devza.co.za/blog/2010/10/stellenbosch-university-student-number-algorithm/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 13:27:20 +0000</pubDate>
		<dc:creator>gnmaritz</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.devza.co.za/blog/?p=69</guid>
		<description><![CDATA[<p>Friday, me and my friend <a href="http://www.jpmeijers.com" target="_blank">JP</a> were talking about student numbers at the University of Stellenbosch. Apparently there is an algorithm to check whether a student number is valid or not. By chance of luck my girlfriend overheard me speaking about this and being a good engineer, remembered that she has done something [...]]]></description>
			<content:encoded><![CDATA[<p>Friday, me and my friend <a href="http://www.jpmeijers.com" target="_blank">JP</a> were talking about student numbers at the University of Stellenbosch. Apparently there is an algorithm to check whether a student number is valid or not. By chance of luck my girlfriend overheard me speaking about this and being a good engineer, remembered that she has done something similar in the past. Turns out that the algorithm was given to them in a programming lecture as an example to write a simple program to check if a student number is valid. Here is the formula:</p>
<p>Let a, b, c, d, etc be the first, second, third, etc number of the student number. Then if&nbsp;<code>((8*a)+(7*b)+(6*c)+(5*d)+(4*e)+(3*f)+(2*g)+(h))%11</code> is equal to 0, the number is valid. (% means mod, the rest after division, so if you did all the multiplication and addition the value should be a multiple of 11 to be valid).</p>
<p>There it is, simple as that.</p>
<p><strong>Update:</strong> Someone pointed out that this algorithm is related to the ISBN check digit calculation: <a href="http://en.wikipedia.org/wiki/International_Standard_Book_Number#Check_digits">http://en.wikipedia.org/wiki/International_Standard_Book_Number#Check_digits</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.devza.co.za/blog/2010/10/stellenbosch-university-student-number-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

