<?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>Macha Mackha</title>
	<atom:link href="http://blog.webicity.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.webicity.info</link>
	<description>Gaming, Programming and Random Rants</description>
	<lastBuildDate>Sun, 28 Feb 2010 18:18:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vim</title>
		<link>http://blog.webicity.info/2010/02/28/vim/</link>
		<comments>http://blog.webicity.info/2010/02/28/vim/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 18:18:45 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=146</guid>
		<description><![CDATA[
			
				
			
		
On the advice of Sirupsen, I have been trying out vim during the last few weeks. Up until now, my editor of choice has been gedit on Linux, or Notepad++ on Windows for most stuff. I have also used VS on Windows, which while good for C#, it doesn&#8217;t really help writing multi-platform programs. And [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F28%2Fvim%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F28%2Fvim%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>On the advice of <a href="http://blog.sirupsen.dk">Sirupsen</a>, I have been trying out vim during the last few weeks. Up until now, my editor of choice has been gedit on Linux, or Notepad++ on Windows for most stuff. I have also used VS on Windows, which while good for C#, it doesn&#8217;t really help writing multi-platform programs. And I&#8217;ve used Eclipse a bit, back when I used Java for a while. But, most of my programming is done in languages such as Python, PHP and Javascript, and for the small size of my projects, IDEs tend to get in the way, and they also aren&#8217;t quite as good for dynamically typed languages anyway.</p>
<p>So first of all, to quote one of my<a href="http://twitter.com/MachaHack/status/8689386342"> tweets </a>:</p>
<blockquote><p>After using it a while, I apologise to vim users. It isn&#8217;t weird and crap, it&#8217;s just weird.</p></blockquote>
<p>I haven&#8217;t exactly been the most positive of vim. After all, as a Linux user, it&#8217;s nigh impossible to use many of them without one of them using vim or a vim-like interface for something. And while nano manages to be relatively easy to understand, vim does not. Because vim is weird.</p>
<p>But after a while of using it, I realise it&#8217;s weird for a reason. Want to get rid of a line? In other text editors it&#8217;s:</p>
<ul>
<li>Left arrow to start of line</li>
<li>Hold shift</li>
<li>Hold right arrow to end of line</li>
<li>Press delete</li>
</ul>
<p>In vim it&#8217;s:</p>
<ul>
<li>Type dd</li>
</ul>
<p>Don&#8217;t like that 13 line function anymore, and want to delete it?</p>
<p>In normal editors it&#8217;s:</p>
<ul>
<li>Up and left arrows to start of function</li>
<li>Hold shift</li>
<li>Down and right arrows to end of function</li>
</ul>
<p>Vim is:</p>
<ul>
<li>Type 13dd</li>
</ul>
<p>Weird, obtuse, but once you learn it, it&#8217;s far more efficient. A final example. Suppose you want to rename that variable from $car to $vehicle:</p>
<p>A normal text editor?</p>
<ul>
<li>Edit</li>
<li>Search and Replace (somethings this is part of search anyway and under Ctrl-F, other times it&#8217;s its own menu, under Ctrl-H)</li>
<li>Type in $car.</li>
<li> Type in $vehicle</li>
</ul>
<p>Vim?</p>
<ul>
<li>Type :%s/$car/$vehicle/</li>
</ul>
<p>At this stage, I&#8217;m still not getting the most out of vim. After all, I only know a few basic commands (and even then I&#8217;m missing a few. Any vim users care to tell me how to Select All?). Yet I&#8217;m already finding it easier and faster than I did in other editors. vim is also cross platform, unlike the Windows-only Notepad++ and Linux-only gedit, which means I can use the one editor across all OSes. For that matter, it&#8217;s even available on my jailbroken iPod touch.</p>
<p>Another useful feature of it is it&#8217;s huge styling and plugin community. Again, Sirupsen pointed me to BusyBee. I didn&#8217;t quite like that, so I found <a href="http://hcalves.deviantart.com/art/Mustang-Vim-Colorscheme-98974484">Mustang</a>, the theme it was based on. I haven&#8217;t yet found plugins that I&#8217;d reccomend, but the choice is huge. One of the inbuilt ones, allows you to set different options per language. I&#8217;m doing a project in Ruby atm, and in any other editor I&#8217;d have to change my settings to and from my personal preference of tabs and Ruby style of double spaces. With vim, I can set it to do tabs with all other files, and just do the silly double space thing with Ruby.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2010/02/28/vim/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>You know, I kind of liked Vista</title>
		<link>http://blog.webicity.info/2010/02/21/you-know-i-kind-of-liked-vista/</link>
		<comments>http://blog.webicity.info/2010/02/21/you-know-i-kind-of-liked-vista/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 15:46:24 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[PCs]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=149</guid>
		<description><![CDATA[
			
				
			
		
Still doesn&#8217;t make this any less funny.


&#60;Snakeman^Engineer&#62; Do I sense some hatred towards Windows Vista originating from your direction?
&#60;Chrysalid^Revenge&#62; Oh no, not at all
* Chrysalid^Revenge stands up in a medieval recitation pose
&#60;Chrysalid^Revenge&#62; &#8220;OS X for the Mac users, pretentious in their coffeeshops
&#60;Chrysalid^Revenge&#62; Gentoo for the nerd-lords in their mother&#8217;s basement
&#60;Chrysalid^Revenge&#62; XP for the everyday user, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F21%2Fyou-know-i-kind-of-liked-vista%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F21%2Fyou-know-i-kind-of-liked-vista%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<div id="_mcePaste">Still doesn&#8217;t make <a href="http://bash.org/?813975">this</a> any less funny.</div>
<div></div>
<blockquote>
<div id="_mcePaste">&lt;Snakeman^Engineer&gt; Do I sense some hatred towards Windows Vista originating from your direction?</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; Oh no, not at all</div>
<div id="_mcePaste">* Chrysalid^Revenge stands up in a medieval recitation pose</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; &#8220;OS X for the Mac users, pretentious in their coffeeshops</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; Gentoo for the nerd-lords in their mother&#8217;s basement</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; XP for the everyday user, bound to muck around with bloody settings and registry values they should damn well leave alone</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; Then Vista from the Dark Lord behind his desk</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; In the Microsoft office, where crappy programming is performed</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; One OS to eat your RAM, One OS to spy on your digital media</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; One OS to screw them all, and in frustration bind them</div>
<div id="_mcePaste">&lt;Chrysalid^Revenge&gt; In the Microsoft office, where crappy programming is performed&#8221;</div>
<div id="_mcePaste">&lt;Sectoid^Authopsy&gt; Whoa!</div>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2010/02/21/you-know-i-kind-of-liked-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The wi-fi doesn&#8217;t work. I give up. I&#8217;m going back to&#8230; Linux</title>
		<link>http://blog.webicity.info/2010/02/16/the-wi-fi-doesnt-work-i-give-up-im-going-back-to-linux/</link>
		<comments>http://blog.webicity.info/2010/02/16/the-wi-fi-doesnt-work-i-give-up-im-going-back-to-linux/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 16:47:05 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[PCs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wi-fi]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=116</guid>
		<description><![CDATA[
			
				
			
		
Linux and wi-fi. They normally go together like a square peg and a round hole. Every wireless adapter I&#8217;ve had the past few years has had at least some problems running under Linux. Ranging from my USB WPN111 putting an end to my first foray into Linux (&#8220;screw this &#8211; no internet, it&#8217;s too much [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F16%2Fthe-wi-fi-doesnt-work-i-give-up-im-going-back-to-linux%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F16%2Fthe-wi-fi-doesnt-work-i-give-up-im-going-back-to-linux%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Linux and wi-fi. They normally go together like a square peg and a round hole. Every wireless adapter I&#8217;ve had the past few years has had at least some problems running under Linux. Ranging from my USB WPN111 putting an end to my first foray into Linux (&#8220;screw this &#8211; no internet, it&#8217;s too much effort, I&#8217;m going back to Windows&#8221;), about 2 years ago, to my current laptop&#8217;s random DNS failures when I used WPA2.</p>
<p>So, I was pleasantly surprised when my new TP-Link WN821N worked straight away on Linux on my desktop PC. Given that is was a €20 Wireless N adapter, I didn&#8217;t expect it to. All well and good. Then it came to Windows. Expecting it to be simple as usual, I installed the driver. The wi-fi thing showed up, I used Connect to a Network, and&#8230; No network.</p>
<p>Several minutes of googling later reveals there is no Windows 7 driver (which is what Server 2008 R2 normally uses). Instead there is a Vista driver, which is no good in this case. So I&#8217;ve either:</p>
<ul>
<li>Ran into one of those edge cases where the difference between Windows 7 and Windows Server 2008 R2 actually does matter.</li>
<li>Ran into one of those edge cases where the difference between Vista and 7 does matter</li>
</ul>
<p>or</p>
<ul>
<li>Both</li>
</ul>
<p>Which really sucks. Especially when the majority of what I do on that desktop using Windows is gaming. (Yeah, yeah, gaming over Wi-Fi, tut tut&#8230;). Gaming sans multiplayer is kind of limited. I mean, sure I can play Fallout 3, and Oblivion fine, but what about Team Fortress 2? Oh, hold on, that works on Wine. Actually, so does Fallout 3. And openTTD. And that&#8217;s basically all I play in PC games lately.</p>
<p>Right, so why am I running Windows on this machine? My copy of Visual Studio is from <a href="http://dreamspark.com/">DreamSpark</a> (as is my copy of Windows, which is why I&#8217;m using Server 2008 R2 in the first place &#8211; it was that or XP, I&#8217;ve no Windows 7 yet, and my Vista disc is a Dell OEM disc), which I&#8217;m fairly certain can only be installed once, and it&#8217;s already on my laptop. uTorrent and Paint.NET both blow away their nearest competitors on Linux, but uTorrent is useless without an internet connection, and Paint.NET is only one program at the end of the day.</p>
<p>So, screw this &#8211; no internet, it&#8217;s too much effort, I&#8217;m going back to Linux*. And that is something I never thought I&#8217;d say when I first started experimenting with Linux. Of course, most of this is TP-Link&#8217;s fault. If some random outsider can write a working driver for Linux, I don&#8217;t see why they shouldn&#8217;t be able to write a driver for Windows 7. I won&#8217;t be buying from them again.</p>
<p>* On this desktop at least, on my laptop I still dual-boot to have VS for programming Windows languages, and iTunes for syncing my iPod Touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2010/02/16/the-wi-fi-doesnt-work-i-give-up-im-going-back-to-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First projects</title>
		<link>http://blog.webicity.info/2010/02/05/first-projects/</link>
		<comments>http://blog.webicity.info/2010/02/05/first-projects/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 09:40:37 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[learning]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=109</guid>
		<description><![CDATA[
			
				
			
		
One of my online friends has started learning programming in C++ and Python a few months ago. While he seems fairly competent in it, he was complaining that he feels he hasn&#8217;t acheived anything worthwhile in it. He said he just can&#8217;t think of anything useful to make.
This reminded me of when I was starting [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F05%2Ffirst-projects%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F02%2F05%2Ffirst-projects%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>One of my online friends has started learning programming in C++ and Python a few months ago. While he seems fairly competent in it, he was complaining that he feels he hasn&#8217;t acheived anything worthwhile in it. He said he just can&#8217;t think of anything useful to make.</p>
<p>This reminded me of when I was starting out (and again when I was starting out with Javascript, and again with PHP, and again with&#8230; you get the picture). Like him, I also struggled to think of something to make. My first trivial program was a Java clock applet when I was 13. I saw one on another site and decided to make one for my own. My first non-trivial program was a social network, written in PHP when I was 15. Two years to think of an decent idea that I could keep working on until completion.</p>
<p>I think the problem with beginners projects by self-learners is one of overreaching. I&#8217;ve certainly done it a lot. If they try to write a social network, they want to write Facebook. If they write a forum, they want to write vBulletin. If they write a game, they want to write Fallout 3. All of these were written over a significant amount of time by large groups of people.</p>
<p>My advice is this: Start small. Reduce whatever you plan to build to it&#8217;s basics. A social network can be reduced to users who can add friends, edit profiles and leave comments on other&#8217;s profiles. A forum can be reduced to users creating threads and posts. A game can be something like Pacman. Implement these basics. When you have them done, you will have enough motivation to get the <a href="http://www.codinghorror.com/blog/archives/001284.html">rest of the stuff</a> done (login, logout, etc.). While you can&#8217;t assume designing a successful product is as simple, as the linked blog post shows, designing a beginners project to practice your coding is easier than designing a product to base a business around.</p>
<p>Despite not being quite that simple, many successful products are based on simplicity. Compare Twitter to Facebook, punbb to vbulletin, Google Chrome to Firefox. Simple and fully-featured are two equally valid design strategies (although I tend to favour simple products myself), but simple ones are much easier to get going.</p>
<p>Once you have your basic program written, you can then add features to it. You could add image uploads to your social network, bbcode to your forum or extra enemies to your game. Further again, you can add groups to your social network, tagging to your forum, and new level types to the game. Since you already have a working base to start from, it&#8217;s much easier to look at it feature by feature, instead of waiting ages until you have <strong>anything</strong> that works.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2010/02/05/first-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seeing your old code</title>
		<link>http://blog.webicity.info/2010/01/17/seeing-your-old-code/</link>
		<comments>http://blog.webicity.info/2010/01/17/seeing-your-old-code/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 19:03:34 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=103</guid>
		<description><![CDATA[
			
				
			
		
Lately I have been working on one of my oldest pieces of code again. This code is that of a website I created for my school about 2 years ago, when I had just started programming.
Given that (a) it&#8217;s written by a beginner (me two years ago) and (b) it&#8217;s PHP, you wouldn&#8217;t be surprised [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F01%2F17%2Fseeing-your-old-code%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F01%2F17%2Fseeing-your-old-code%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Lately I have been working on one of my oldest pieces of code again. This code is that of a website I created for my school about 2 years ago, when I had just started programming.</p>
<p>Given that (a) it&#8217;s written by a beginner (me two years ago) and (b) it&#8217;s PHP, you wouldn&#8217;t be surprised to hear that the code is bloody awful. Even for a basic CRD app (I hadn&#8217;t programmed the U bit), it sucks.</p>
<p>Hardcoded numbers and categories everywhere, no sign of code organisation, redundant code, copy/paste as a design pattern and inconsistent naming. It&#8217;s a wonder that information going into the database was even escaped. And let&#8217;s not talk about character encodings.</p>
<p>Needless to say, now that I&#8217;ve picked up the code again, it&#8217;s had a swift rewrite. It&#8217;s still pretty crap, but at least it doesn&#8217;t screw up completely if you type a euro sign.</p>
<p>Has anyone else ever seen some of their first code and gone: &#8220;I can&#8217;t believe I wrote this crap&#8221;?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2010/01/17/seeing-your-old-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building a PC</title>
		<link>http://blog.webicity.info/2010/01/12/building-a-pc/</link>
		<comments>http://blog.webicity.info/2010/01/12/building-a-pc/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:19:54 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[PCs]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[desktop]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/2010/01/12/building-a-pc/</guid>
		<description><![CDATA[
			
				
			
		
A while back I decided to build a PC from parts for the first time. Why didn&#8217;t I ever do so before? (a) Lack of money, and (b) Worry I&#8217;d screw something up. Of course, what kind of computer nerd would I be if I never built my own?
So first things first, the specs (some [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F01%2F12%2Fbuilding-a-pc%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F01%2F12%2Fbuilding-a-pc%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>A while back I decided to build a PC from parts for the first time. Why didn&#8217;t I ever do so before? (a) Lack of money, and (b) Worry I&#8217;d screw something up. Of course, what kind of computer nerd would I be if I never built my own?</p>
<p>So first things first, the specs (some components old, the rest ordered from <a href="http://komplett.ie">komplett.ie</a>):</p>
<ul>
<li>MSI G41M-F Motherboard </li>
<li>Intel Core 2 Quad Q8300 (2.5Ghz) </li>
<li>Geforce 210 (512mb) </li>
<li>2GB RAM </li>
<li>630W PSU </li>
<li>500GB HDD </li>
<li>Nox Saphira Case </li>
<li>DVD±RW drive </li>
</ul>
<p>Nothing astounding there. A decidedly below-par graphics card for a new system, but considering it was my first buld, I didn&#8217;t want to spend loads in case I screwed up. Plenty of room for expansion later however.</p>
<p>The first part of the build went easy enough. A minor beginners mistake when I didn&#8217;t check which way I was putting the heatsink beforehand, so I had to unwrap more of the CPU fan cable than otherwise needed (which meant I later had to cable tie it to another cable to keep it away from the fan blades).</p>
<p>The system was assembled and wired up, hassle-free. Turning it on first time yielded spinning fans, spinning hard drive, running graphics card, no CD drive and no display. After a minor panic attack, it turned out I&#8217;d forgotten to plug in the extra 12V power cable for the motherboard. That solved, the system booted up fine.</p>
<p>System setup was the next step. The first OS to go on was Windows Server 2008 R2. Why Windows Server? Because I&#8217;m a cheapskate, and could get it for free from <a href="http://dreamspark.com">Microsoft Dreamspark</a>. That started installation. Everything looked fine, but it froze at expanding Windows files. A quick install of Fedora 10 proved the system was capable of running an OS, and even Windows XP ran fine. Then it dawned on me. I burned a new disc, and Server 2008 R2 installed fine.</p>
<p>A little tinkering was needed to get a decent desktop experience from the Server OS. This is actually so common, there are websites for converting <a href="http://win2008workstation.com">Server 2008 to a Vista-esque PC</a> and the same for <a href="http://server2008r2workstation.com">Server 2008 R2 to 7</a>.</p>
<p>The system runs fine, and can handle all my games without any difficulty, except Fallout 3. I don&#8217;t know what&#8217;s causing the Fallout 3 problem, but it freezes randomly within the first 5 minutes. A quick google reveals some people have the same problem with Windows 7, so it may just be an incompatibility, so I&#8217;ll have to hang on and wait for another patch.</p>
<p>In total (remember, some parts are from old systems), this build cost me just under €350. Could I have gotten a comparable system for €350? Checking on Dell, the same money would buy me a Pentium Dual Core E5300 and integrated graphics, so probably not.</p>
<p>Footnote: I&#8217;ve written this post while trying out Windows Live Writer. It seems cool. My one problem is it doesn&#8217;t quite render my theme right in the edit section, but apart from that it is fine. Anyone know of any Linux programs with similar features?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2010/01/12/building-a-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dear Adobe, Apple and Sun, your update is not important enough that you have to crash my game</title>
		<link>http://blog.webicity.info/2010/01/06/dear-adobe-apple-and-sun/</link>
		<comments>http://blog.webicity.info/2010/01/06/dear-adobe-apple-and-sun/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 15:23:24 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[PCs]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=92</guid>
		<description><![CDATA[
			
				
			
		
Auto updaters are great. They keep Windows secure, they save me having to manually install each time with Firefox, they&#8217;re completely transparent with Chrome and on Linux, the whole system&#8217;s updates are controlled through the one interface. Some are less ideal. Paint.NET prompts you to update on startup, usually when you&#8217;ve just turned it on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F01%2F06%2Fdear-adobe-apple-and-sun%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2010%2F01%2F06%2Fdear-adobe-apple-and-sun%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Auto updaters are great. They keep Windows secure, they save me having to manually install each time with Firefox, they&#8217;re completely transparent with Chrome and on Linux, the whole system&#8217;s updates are controlled through the one interface. Some are less ideal. Paint.NET prompts you to update on startup, usually when you&#8217;ve just turned it on for a quick edit (and you can&#8217;t use it while it downloads the updates &#8211; apparently this is fixed in the newest version). It&#8217;s still better than nothing however.</p>
<p>There are one class of updates that aren&#8217;t quite so great however. These are the ones that decide they need to sit in your system, all running simultaneously. And when there is an update? It&#8217;s so important that they need to pop up a window to alert you of this, even if you have no intention of going near said application for a week. Or maybe they are like Apple&#8217;s. An update to iTunes includes Safari by default. Why?</p>
<p>The other day, I was two hours into a Supreme Commander LAN party. While I was about to start the final attack, what happens? The game minimizes, and a message pops up. New update for Adobe Reader. Last time I opened a PDF was a week ago (<a href="http://blog.webicity.info/2009/11/21/uploading-a-pdf-is-not-putting-information-on-the-web/">against my will</a>). On my system, once you minimize any of these games:</p>
<ul>
<li>Oblivion</li>
<li>Supreme Commander</li>
<li>Call of Duty 5</li>
<li>Team Fortress 2</li>
<li>Unreal Tournament III</li>
<li>etc.</li>
</ul>
<p>They aren&#8217;t coming back up again. Say goodbye to your progress if there isn&#8217;t a recent save. I tried in vain to start the game again. Click the taskbar entry. Up pops another Window:</p>
<p>&#8220;Supreme Commander Application has stopped responding&#8221;</p>
<p>It closes. I end up disconnected from the LAN game. Up pops to the nearly defeated player &#8220;Macha has been defeated&#8221;. All because some stupid cruddy app to open files created by those too lazy to make an actual web page decided it needed to update itself right now. (Yes, I am aware Adobe Reader and PDFs are useful to some people in some situations. I am not one of them).</p>
<p>While the Java updater was not the guilty culprit this time, it has been at other times, with behavior similar to that of Adobe&#8217;s updater.</p>
<p>That is one clear advantage to console gaming. The nearest equivalent is the 360&#8217;s forced update or be signed out of xbox live being applied to single player games as well, and that&#8217;s not nearly as bad.</p>
<p>I can remove these applications from startup of course, but somehow they seem to always make their way back there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2010/01/06/dear-adobe-apple-and-sun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Source control and me &#8211; Why I use git and github</title>
		<link>http://blog.webicity.info/2009/12/29/source-control-and-me-why-i-use-git-and-github/</link>
		<comments>http://blog.webicity.info/2009/12/29/source-control-and-me-why-i-use-git-and-github/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 15:27:35 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[PCs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[source control]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=79</guid>
		<description><![CDATA[
			
				
			
		
The biggest change to programming for me this year (apart from spreading out from just PHP and Javascript) is that I now use source control for most of my projects. I started out on subversion because it was widespread, easy to use (with TortoiseSVN, I was still a Windows &#8220;everything must be GUI&#8221; user at [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2009%2F12%2F29%2Fsource-control-and-me-why-i-use-git-and-github%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2009%2F12%2F29%2Fsource-control-and-me-why-i-use-git-and-github%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>The biggest change to programming for me this year (apart from spreading out from just PHP and Javascript) is that I now use source control for most of my projects. I started out on subversion because it was widespread, easy to use (with TortoiseSVN, I was still a Windows &#8220;everything must be GUI&#8221; user at the time), and there was a <a href="http://www.codinghorror.com/blog/archives/001093.html" target="_blank">handy tutorial</a> for it published for it on a blog I happened to read. I used that for a good while until a friend showed me <a href="http://git-scm.com/" target="_blank">git</a> and <a href="http://github.com" target="_blank">github</a>. I&#8217;d used Sourceforge and Google Code for a while, because although my projects are too small for anyone else to be interested in adding to them, the benefits of having a remote source control service that&#8217;s always accessible from any computer are huge for me. And it&#8217;s handy for showing people the program in more detail if I need help on <a href="http://stackoverflow.com" target="_blank">Stack Overflow</a>.</p>
<p>While I was (<a href="http://twitter.com/MachaHack/status/6933725190">and still remain</a>) unconvinced about the benefits of distributed source control versus normal source control, and more specifically of git vs svn, the benefits of github versus google code (which I had been using at the time) were more than enough to convince me to make the switch. It also helped that at the time, Linux had recently become my main OS with Windows being relegated to usage for syncing my iPod Touch and gaming, and I had become much more familiar with CLI usage of the system, so the command line orientation was no longer the problem it once was.</p>
<div id="attachment_80" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.webicity.info/blog/wp-content/uploads/2009/12/Screenshot-The-YD-Forum-Network-GitHub-Chromium-e1262099425972.png"><img class="size-medium wp-image-80  " title="Github Graph of YD Forum" src="http://blog.webicity.info/blog/wp-content/uploads/2009/12/Screenshot-The-YD-Forum-Network-GitHub-Chromium-e1262099425972-300x86.png" alt="Branch history of a small github project" width="300" height="86" /></a><p class="wp-caption-text">Look at the pretty graphs! (ignore Chromium for Linux&#39;s fail at positioning. My cursor is actually on that big green dot on my screen. It&#39;s just the screenshot gone wrong. This is the fault of flash+chromium, not github)</p></div>
<p>Setting up git and github was simple. I could give you instructions on how to do it, but <a href="http://blog.sirupsen.dk/guides/starting-with-git/" target="_blank">Sirupsen has already done this</a> much better than I could for Linux users. For Windows, <a href="http://github.com/guides/using-git-and-github-for-the-windows-for-newbies" target="_blank">there is another tutorial hosted on github</a>,</p>
<p>Usage of git with <a href="http://github.com/Macha">my github account</a> is equally simple.</p>
<ul>
<li>Change files</li>
<li><code>git commit -a</code></li>
<li>Type commit message into nano (or vim if you&#8217;ve changed your system editor, or notepad if you&#8217;re on Windows)</li>
<li><code>git push origin master</code></li>
</ul>
<p>The only thing I missed during switching was that Subversion numbers revisions like 1, 2, 3&#8230;20000 while git uses md5 hashes. But I can live with that.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2009/12/29/source-control-and-me-why-i-use-git-and-github/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Programming: Simple Python Todo List manager</title>
		<link>http://blog.webicity.info/2009/12/28/programming-simple-python-todo-list-manager/</link>
		<comments>http://blog.webicity.info/2009/12/28/programming-simple-python-todo-list-manager/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 13:57:51 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[The Playground]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[simple python todo]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=73</guid>
		<description><![CDATA[
			
				
			
		
My latest programming project is a todo list manager written in Python.
Features

Add, Remove and show items
Manage multiple lists
Lists are stored in JSON

It also has a GUI, but that needs a lot of work. As always, the source code is available on my github. Unusually for my projects, it is already fully functional (though as I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2009%2F12%2F28%2Fprogramming-simple-python-todo-list-manager%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2009%2F12%2F28%2Fprogramming-simple-python-todo-list-manager%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>My latest programming project is a todo list manager written in Python.</p>
<p>Features</p>
<ul>
<li>Add, Remove and show items</li>
<li>Manage multiple lists</li>
<li>Lists are stored in JSON</li>
</ul>
<p>It also has a GUI, but that needs a lot of work. As always, the source code is available on <a title="Simple Python Todo on github" href="http://github.com/Macha/Simple-Python-Todo">my github</a>. Unusually for my projects, it is already fully functional (though as I said, the GUI needs a little work).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2009/12/28/programming-simple-python-todo-list-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Playground</title>
		<link>http://blog.webicity.info/2009/12/12/the-playground/</link>
		<comments>http://blog.webicity.info/2009/12/12/the-playground/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 14:20:51 +0000</pubDate>
		<dc:creator>Macha</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[The Playground]]></category>
		<category><![CDATA[JS Battleship]]></category>
		<category><![CDATA[machat]]></category>
		<category><![CDATA[twitter matter]]></category>
		<category><![CDATA[webicity]]></category>
		<category><![CDATA[YD Forum]]></category>

		<guid isPermaLink="false">http://blog.webicity.info/?p=70</guid>
		<description><![CDATA[
			
				
			
		
Over the last 2 years, I&#8217;ve done a lot of personal programming projects. Some of these are available on my github, but any information about them is spread among Twitter and a few forums (some of which no longer exist). So over the next month, I&#8217;m going to blog about a few of these. I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webicity.info%2F2009%2F12%2F12%2Fthe-playground%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webicity.info%2F2009%2F12%2F12%2Fthe-playground%2F&amp;source=MachaHack&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Over the last 2 years, I&#8217;ve done a lot of personal programming projects. Some of these are available on <a href="http://github.com/Macha">my github</a>, but any information about them is spread among Twitter and a few forums (some of which no longer exist). So over the next month, I&#8217;m going to blog about a few of these. I&#8217;ve chosen the name &#8220;The Playground&#8221; for the category because it accurately reflects both the nature of the projects (small projects that are mostly tinkered with, with very little concrete plans) and the reasons for making them (to practice programming, or to mess about, or because I was bored).</p>
<p>Anyway, for the time being, here is a quick summary of my projects currently in my github repo:</p>
<p><strong>Twitter Matter</strong></p>
<p>This is a simple Python program to send tweets from the command line. At the moment, it can send tweets, and get the latest tweets from your timeline, your friend&#8217;s timeline, and @replies to you. I made it mainly because although I&#8217;ve always said Python looks like a nice language, and I know the basics of it, I never wrote an actual program in it beyond Project Euler maths puzzles.</p>
<p><strong>JavascriptCity (aka Webcity, webicity, JSC)</strong></p>
<p>This is an attempt to write a Simcity clone in Javascript. I got quite far into it, with the ability to set zones, have them develop and build roads actually working. However, at the current stage any change I make is too bad for performance that it is basically on hold. I can say it&#8217;s definitely not impossible to write a Simcity clone in Javascript, but you need someone with better Javascript skills than me to make it, and probably someone who knows about <code>&lt;canvas&gt;</code>.</p>
<p><strong>Young Developer Forum</strong></p>
<p>This is a program set up by me and a Iroup of people on a forum which has since shut down. It didn&#8217;t really get very far.</p>
<p><strong>Machat</strong></p>
<p>This is an IM server and client that I wrote in Java. It was my first experiment in GUI programming and Threading in Java. Some revisions of it work, and some don&#8217;t.</p>
<p><strong>JS Battleship</strong></p>
<p>This is a battleship game I am writing in Javascript. It re-uses a lot of code from JavascriptCity, but without the huge 200&#215;200 table grid that caused a lot of programs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webicity.info/2009/12/12/the-playground/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
