<?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>Stickblog &#187; General</title>
	<atom:link href="http://the-stickman.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://the-stickman.com</link>
	<description>Random developer notes</description>
	<lastBuildDate>Tue, 13 Jul 2010 14:08:25 +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>Installing Ubuntu on Eee PC 1000</title>
		<link>http://the-stickman.com/general/installing-ubuntu-on-eee-pc-1000/</link>
		<comments>http://the-stickman.com/general/installing-ubuntu-on-eee-pc-1000/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 08:39:40 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/?p=203</guid>
		<description><![CDATA[I decided the other day that I wanted to try to install Ubuntu on my Eee PC 1000. I&#8217;d already replaced the default Xandros Linux that comes pre-installed with Windows XP (because my other half needed it) but recently I&#8217;ve become annoyed with its tendency to seize up every now and again for no apparent [...]]]></description>
			<content:encoded><![CDATA[<p>I decided the other day that I wanted to try to install Ubuntu on my Eee PC 1000. I&#8217;d already replaced the default Xandros Linux that comes pre-installed with Windows XP (because my other half needed it) but recently I&#8217;ve become annoyed with its tendency to seize up every now and again for no apparent reason.</p>
<p>So I downloaded the <a href="http://www.canonical.com/projects/ubuntu/unr">Ubuntu Netbook Remix</a>, and set about installing it as a dual-boot option. It was very simple, following <a href="https://wiki.ubuntu.com/UNR#The Easy (recommended) way">the instructions</a> took around 40 minutes for the entire process and it all seemed to be going fine. But when I came to reboot, there was no sign of Ubuntu.</p>
<p>Now, the Eee PC 1000 has a 40GB SSD (Solid State Drive) &#8212; which is in fact two drives, one of 8GB and one of 32GB. The 8GB is the &#8216;primary&#8217; drive, and that&#8217;s where Windows is installed, but there wasn&#8217;t space for me to install Ubuntu alongside it so I created a small partition for it on the &#8217;secondary&#8217; drive.</p>
<p>I guessed that the problem was probably related to this fact so I had a poke around to see what could be done. Checking the Eee&#8217;s BIOS, there&#8217;s no distinction between the two drives so you can&#8217;t choose to boot from the secondary drive. I was tempted to give up at this point (I didn&#8217;t seem to be able to find any useful info on the web), but since the install process is so quick I decided to have another go and see if I could spot anything along the way that might be of use.</p>
<p>Sure enough, right near the end of the setup process (after creating/assigning partitions) there&#8217;s a little button labelled &#8216;Advanced&#8217;. Clicking on it popped up a dialog window with a drop-down list that allowed me to assign the boot loader to the primary drive (/dev/sda) instead of the secondary drive (/dev/sdb) that it had defaulted to. So I let it go ahead and install, and one reboot later there it was: a list of boot options. Success!</p>
<p>So, is it any good? Well, it certainly <em>looks</em> good and I like the &#8216;remixed&#8217; desktop/interface which organises applications in a sensible and easy-to-find way. Boot time isn&#8217;t noticeably quicker than WinXP, which is disappointing but could be explained in part by the fact that it&#8217;s running on the slower secondary drive. From what I can tell after one day&#8217;s use, once started it runs very smoothly with apps launching very quickly and no unexplained &#8216;freezes&#8217;.</p>
<p>As far as compatibility is concerned the wireless, sound, touchpad, camera, display, USB and SD ports all worked out-of-the-box with no configuration required. I have my doubts that Bluetooth is working but haven&#8217;t had a chance to test it yet. The one serious gripe is the time it takes for the wireless to establish a connection &#8212; it suffers here even in comparison to Windows, which would (re)connect almost instantly where Ubuntu can take 40 seconds or more. I often use the netbook for a very short time (say, to do a quick web search) and then put it into hibernate, so a slow restart is a definite annoyance.</p>
<p>If you&#8217;re interested in checking out the Ubuntu Netbook Remix but don&#8217;t want to go to the trouble of installing it, then you can run it from a USB stick (1GB or bigger) without any installation. Startup is slow but once it&#8217;s going it&#8217;s fine and if you decide you do want to keep it, then you can install it from the same USB stick.</p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/installing-ubuntu-on-eee-pc-1000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash 10 (beta) released, ex Flash developer feels his age</title>
		<link>http://the-stickman.com/general/flash-10-beta-released-ex-flash-developer-feels-his-age/</link>
		<comments>http://the-stickman.com/general/flash-10-beta-released-ex-flash-developer-feels-his-age/#comments</comments>
		<pubDate>Thu, 15 May 2008 12:31:04 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/uncategorized/flash-10-beta-released-ex-flash-developer-feels-his-age/</guid>
		<description><![CDATA[OK so I haven&#8217;t really done much with Flash for a few years now but I&#8217;ll admit I was taken aback when I saw this morning that Adobe has released a beta of version 10. The tenth version! 
Don&#8217;t worry, I&#8217;m not going to get bogged down in all the nostalgia stuff. But looking at [...]]]></description>
			<content:encoded><![CDATA[<p>OK so I haven&#8217;t really done much with Flash for a few years now but I&#8217;ll admit I was taken aback when I saw this morning that Adobe <a href="http://labs.adobe.com/technologies/flashplayer10/">has released a beta of version 10</a>. The <i>tenth</i> version! </p>
<p>Don&#8217;t worry, I&#8217;m not going to get bogged down in all the nostalgia stuff. But looking at Flash now &#8212; with streaming audio and video, built-in 3D effects, advanced text manipulation and on and on &#8212; and thinking about some of the &#8216;amazing&#8217; techniques that I (and others) experimented with <a href="http://www.the-stickman.com/tutorials/">back in the the day</a>, makes me feel very old. </p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/flash-10-beta-released-ex-flash-developer-feels-his-age/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New look, same old content&#8230;</title>
		<link>http://the-stickman.com/general/new-look-same-old-content/</link>
		<comments>http://the-stickman.com/general/new-look-same-old-content/#comments</comments>
		<pubDate>Thu, 15 May 2008 08:59:15 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/?p=127</guid>
		<description><![CDATA[I&#8217;ve been running this blog-based iteration of my site for almost three years now, and recently &#8212; after numerous on-the-fly software updates &#8212; I&#8217;ve found that WordPress had become rather unstable and slow. So yesterday I decided that I&#8217;d had enough and it was time to start again with a clean slate.
The basic process was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running this blog-based iteration of my site for almost three years now, and recently &#8212; after numerous on-the-fly software updates &#8212; I&#8217;ve found that <a title="Wordpress" href="http://wordpress.org/">WordPress</a> had become rather unstable and slow. So yesterday I decided that I&#8217;d had enough and it was time to start again with a clean slate.</p>
<p>The basic process was relatively painless: I created a temporary subdomain and installed a fresh copy of WordPress, then used its built-in export/import facilities to transfer all the existing articles and comments over. Then I had to install all the various plugins I&#8217;d accumulated over the years (<a title="Akismet" href="http://akismet.com/">Akismet</a>, <a title="Bad Behavior" href="http://www.bad-behavior.ioerror.us/">Bad Behavior</a>, <a title="Code Markup" href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/">Code Markup</a>, <a title="Google XML Sitemaps" href="http://www.arnebrachhold.de/redir/sitemap-home/">Google XML Sitemaps</a>, <a title="OpenID Registration" href="http://sourceforge.net/projects/wpopenid/">OpenID Registration</a>) and configure them appropriately. I couldn&#8217;t find an up-to-date version of the old theme I was using, so I spent a while browsing before finding <a title="Gathering Wordpress theme" href="http://journal.barleyhut.com/the-gathering-wordpress-theme/">this one</a>, which I&#8217;m fairly happy with although I might tweak here and there as time goes on.</p>
<p>Finally I had to do some work to re-integrate the various ad spots and a few other bits and bobs (e.g. point the RSS links to <a title="FeedBurner" href="http://www.feedburner.com/fb/a/home">FeedBurner</a>) before the installation was complete. All in all, it was probably half a day&#8217;s work, which I think is acceptable for a complete restart.</p>
<p>So I hope you like the new look. If you spot any problems then please let me know via the comments form below.</p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/new-look-same-old-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In search of the perfect coding environment: the search continues</title>
		<link>http://the-stickman.com/general/in-search-of-the-perfect-coding-environment-the-search-continues/</link>
		<comments>http://the-stickman.com/general/in-search-of-the-perfect-coding-environment-the-search-continues/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 04:51:07 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/general/in-search-of-the-perfect-coding-environment-the-search-continues/</guid>
		<description><![CDATA[About a year ago I posted about my search for a replacement for TextPad. Since then, a new version has finally been released but for me it&#8217;s too little (the new features are hard to find, and still don&#8217;t match even my limited wish-list), too late. 
After a dalliance with jEdit, I decided that I [...]]]></description>
			<content:encoded><![CDATA[<p>About a year ago I posted about <a href="http://the-stickman.com/general/in-search-of-the-perfect-coding-environment/">my search for a replacement for TextPad</a>. Since then, <a href="http://www.textpad.com/download/index.html#downloads">a new version</a> has finally been released but for me it&#8217;s too little (the new features are hard to find, and still don&#8217;t match even my limited wish-list), too late. </p>
<p>After a dalliance with jEdit, I decided that I wanted an editor that would fit in with my ongoing <a href="http://the-stickman.com/general/living-the-portable-life/">quest to use only portable applications</a>. For quite a while I stuck with <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a>, which is an excellent all-rounder with plenty of great features. But as has so often been the case in the past, it just didn&#8217;t quite feel right, so then I moved on to <a href="http://www.pspad.com/">PSPad</a>, which I had tried for an extended period a while ago. Again I stuck with it for a while but some little niggles (mainly unexplained crashes) prevented me from falling in love with it. </p>
<p>Yesterday I came across an article on ArsTechnica that introduced me to <a href="http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml">Komodo Edit</a>, an open-source (&#8216;community&#8217;) version of the popular <a href="http://www.activestate.com/Products/komodo_ide/index.mhtml">Komodo IDE</a> from ActiveState. I did in fact try &#8212; and like &#8212; Komodo some years ago but I was never able to justify shelling out for it. But this free version fits quite neatly with my requirements: it&#8217;s stable and simple, but extensible (it&#8217;s built on the Mozilla platform so if you&#8217;ve used Firefox or Thunderbird then you&#8217;ll find the add-on management rather familiar). There&#8217;s a simple <a href="http://community.activestate.com/komodo-extension/source-tree">code explorer add-on</a> which meets my basic needs and I&#8217;ve also installed the <a href="http://community.activestate.com/komodo-extension/todo-helper">TODO Helper</a> extension to help me keep track of all those FIXME notes I&#8217;ve left dotted around our codebase.</p>
<p>It&#8217;s not portable by default, but with a little tweaking (thanks to <a href="http://community.activestate.com/forum-topic/portable-komodo-0">this forum thread</a>) I was able to get it to run quite happily from a USB key. And I have to admit that I&#8217;m already getting used to the code-completion (which I rely on quite heavily when writing C#, but was never really bothered about in PHP) and the search feature in the project tab, which helps find class files quickly. Check out the <a href="http://www.activestate.com/Products/komodo_ide/edit_features.mhtml">full feature list</a> for more on its capabilities.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/in-search-of-the-perfect-coding-environment-the-search-continues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What does your web site say about you?</title>
		<link>http://the-stickman.com/general/what-does-your-web-site-say-about-you/</link>
		<comments>http://the-stickman.com/general/what-does-your-web-site-say-about-you/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 13:20:07 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/general/what-does-your-web-site-say-about-you/</guid>
		<description><![CDATA[Here&#8217;s a tip for anyone currently job-seeking in the web developer area &#8212; if you&#8217;re going to point people to your portfolio site make sure it&#8217;s a) working and b) not a complete embarrassment.
The company I work for is currently in the process of hiring web developers. An ad on Monster attracted a fair few [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tip for anyone currently job-seeking in the web developer area &#8212; if you&#8217;re going to point people to your portfolio site make sure it&#8217;s a) working and b) not a complete embarrassment.</p>
<p>The company I work for is currently in the process of hiring web developers. An ad on Monster attracted a fair few responses, some of which were more interesting than others and so I and a colleague sat down to review the candidates and narrow down those we would ask in for an interview.</p>
<p>I was interested to note that one CV included not one but two web site URLs, and so out of curiosity I took a look. The first didn&#8217;t work at all (no response whatsoever) and the second was a Flash-based portfolio that was not only horribly dated-looking, but also badly broken.</p>
<p>Don&#8217;t make the mistake of thinking that the first impression you make is when you walk through the door of the interview room in your freshly dry-cleaned suit. </p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/what-does-your-web-site-say-about-you/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tempted by Ubuntu</title>
		<link>http://the-stickman.com/general/tempted-by-ubuntu/</link>
		<comments>http://the-stickman.com/general/tempted-by-ubuntu/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 09:23:22 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/general/tempted-by-ubuntu/</guid>
		<description><![CDATA[First of all, yes I&#8217;ve been quiet for a couple of months but it&#8217;s because I&#8217;ve been heads-down on a new, open-source project that I hope to announce in the next few weeks. Details to follow soon.
Anyway I just wanted to add my twopenny-worth to the rising flood of verbiage about Ubuntu, the Linux distro [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, yes I&#8217;ve been quiet for a couple of months but it&#8217;s because I&#8217;ve been heads-down on a new, open-source project that I hope to announce in the next few weeks. Details to follow soon.</p>
<p>Anyway I just wanted to add my twopenny-worth to the rising flood of verbiage about <a href="http://ubuntu.com">Ubuntu</a>, the Linux distro that finally seems to be bringing the open source operating system into the mainstream.</p>
<p>I&#8217;ve dabbled with desktop Linux a few times in the past, but was never able to make the switch because I was so tied-in to Windows software (mainly <a href="http://www.adobe.com/products/flash/">Flash</a>). But I rarely touch Flash these days and since then I&#8217;ve switched almost entirely to open source software: I develop web sites on <a href="http://php.net/">PHP</a>/<a href="http://www.mysql.com/">MySQL</a> in <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> using <a href="http://www.jedit.org/">jEdit</a>. I use <a href="http://www.openoffice.org/">OpenOffice</a> for word processing, spreadsheet etc. and <a href="http://www.mozilla.com/en-US/thunderbird/">Thunderbird</a> for email. </p>
<p>So out of curiosity, last night I downloaded <a href="http://www.ubuntu.com/getubuntu/download">the latest Ubuntu release</a> (Fiesty Fawn at time of writing) and tried running it as a live CD, i.e. booting from CD without installing to the hard drive. On my (Dell Inspiron 6400) laptop, it ran out-of-the-box without a hitch (although it did take a couple of goes to pick up my wireless network). Very slick.</p>
<p>Then I tried it on my (homebrew AMD Athlon) desktop. Now I should point out that I tried installing Ubuntu on this machine last year and it chewed up the master boot record, resulting in a dead Linux partition and a complete re-install of Windows. And a vow by me never to touch Linux again. </p>
<p>However, this time it ran flawlessly out-of-the-box, having auto-detected all my hardware without blinking. Colour me impressed. It&#8217;s fast, looks very good (I love the orange/brown interface style) and comes pre-installed with plenty of handy software. </p>
<p>So, am I going to switch? Sadly, no.</p>
<p>I&#8217;d like to, I really would. But as luck would have it, I&#8217;ve just begun getting myself up to speed with <a href="http://the-stickman.com/general/c-visual-studio-and-the-lure-of-the-dark-side/">C# and .Net 2.0</a>, which means I&#8217;m tied to Windows. Yes,<a href="http://www.mono-project.com/Main_Page"> Mono</a> is getting there but it&#8217;s a ways off yet and I don&#8217;t know if it&#8217;s ever really going to be a drop-in replacement for the .Net framework itself. </p>
<p>So, for now at least, I&#8217;m stuck with Windows. I might well end up trying a dual-boot setup but I can&#8217;t see that I&#8217;m likely to want to spend time switching back and forth between the two. Virtualisation is another option, but in my experience it&#8217;s so slow as to be practically unusable for all but the most basic of tasks.</p>
<p>So I guess it&#8217;s back to restarting Explorer every ten minutes or so&#8230;*sigh*</p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/tempted-by-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Finding Open Source alternatives</title>
		<link>http://the-stickman.com/general/finding-open-source-alternatives/</link>
		<comments>http://the-stickman.com/general/finding-open-source-alternatives/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 11:04:40 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/general/finding-open-source-alternatives/</guid>
		<description><![CDATA[Just stumbled across a handy site today: osalt.com aims to guide you through the process of finding Open Source alternatives to commonly-used commercial software. 
]]></description>
			<content:encoded><![CDATA[<p>Just stumbled across a handy site today: <a href="http://www.osalt.com/">osalt.com</a> aims to guide you through the process of finding Open Source alternatives to commonly-used commercial software. </p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/finding-open-source-alternatives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Response from the Dark Side</title>
		<link>http://the-stickman.com/general/response-from-the-dark-side/</link>
		<comments>http://the-stickman.com/general/response-from-the-dark-side/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 17:12:10 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/general/response-from-the-dark-side/</guid>
		<description><![CDATA[A couple of days ago I wrote a rather lengthy piece about my first encounter with Visual Studio and C#. Yesterday, I was quite surprised (and also flattered and a little unnerved) to receive an email from Dan Fernandez, Lead Product Manager of the Non-Professional Tools Team at Microsoft: that is, the people responsible for [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago I wrote <a href="http://the-stickman.com/general/c-visual-studio-and-the-lure-of-the-dark-side/">a rather lengthy piece</a> about my first encounter with Visual Studio and C#. Yesterday, I was quite surprised (and also flattered and a little unnerved) to receive an email from <a href="http://blogs.msdn.com/danielfe/">Dan Fernandez</a>, Lead Product Manager of the Non-Professional Tools Team at Microsoft: that is, the people responsible for the Visual Studio Express line of products that I had written about. </p>
<p>I was surprised and flattered because, in spite of the traffic stats for this site that suggest otherwise, my innate pessimism has me convinced that no-one actually reads this blog &#8212; I&#8217;m sure the comments are all put there by my mother trying to cheer me up (thanks mum!). I was unnerved because the article had been live for barely a day: does Microsoft have some sort of blog radar, constantly checking the &#8216;net for references to its products? OK probably not, but I&#8217;m wearing my tinfoil underpants as I type this, just in case&#8230;</p>
<p>Anyway the email was very positive, addressing some of the points I&#8217;d made in the article and supplying some useful further info. Indeed I thought it might be of interest (if you&#8217;re still reading, mum) to reproduce some of the mail here, so here goes:</p>
<blockquote><p>Microsoft is going through a <a href="http://blogs.msdn.com/danielfe/archive/2006/08/10/694715.aspx">Hobbyist Renaissance</a> where we come back to our roots with recently launched tools and frameworks for hobbyists ranging from Robotics using <a href="http://msdn.com/robotics">Robotics Studio</a> to homebrew Xbox games using <a href="http://msdn.com/xna">XNA Game Studio Express</a>, or the newly announced <a href="http://en.wikipedia.org/wiki/Windows_Home_Server">Windows Home Server</a> for self-hosting your own Web site. <a href="http://msdn.com/coding4fun">Coding4Fun</a> is our community for fun, cool projects ranging from productivity features like writing your own desktop search to hardware projects using web cams and motion detection to game development like <a href="http://msdn.microsoft.com/coding4fun/gaming/arcade/article.aspx?articleid=1719502&amp;title=Creating+.NET+AI+Bots+for+Unreal+Tournament">Unreal Tournament</a> or arcade clones like <a href="http://msdn.microsoft.com/coding4fun/gaming/arcade/article.aspx?articleid=916430&amp;title=Upgrade+Your+Game%3a+Space+Blitz+%28Visual+C%23%29">Space Invaders</a> or <a href="http://msdn.microsoft.com/coding4fun/gaming/arcade/article.aspx?articleid=916355">Pong</a>.</p>
<p>&#8230;We try to provide a balance between developers that want to look under the covers and understand how things work to non-developers that just want to create *something*. It can be difficult deciding what the right level of abstraction is to appease both of these audiences, but that&#8217;s always a work in progress. [...] </p>
<p>In reading some of your comments, you should also be aware that there is a thriving community of open-source .NET developers on SourceForge (<a href="http://sourceforge.net/softwaremap/trove_list.php?form_cat=271">over 5K C# projects</a>) and CodePlex (<a href="http://www.codeplex.com">www.codeplex.com</a>).</p></blockquote>
<p>OK so some of it inevitably reads rather like a press release, but I was impressed that someone at Microsoft had taken the time to respond to the points that I&#8217;d made. And from other comments that Dan made in the mail, it does seem that Microsoft &#8212; or at the very least, this part of it &#8212; is genuinely interested in creating good, free tools for small-scale developers. </p>
<p>It&#8217;s a smart move: I for one would never have paid for the retail version of Visual Studio for the sake of a side-project like this, but having tried out the Express edition I&#8217;m now thinking seriously about spending more time getting familiar with C# &#8212; which might even lead me to spend my cash, too. And the more people who &#8212; like me &#8212; are tempted to develop on the .Net platform the more of a standard it will become, which has to be good for Microsoft.</p>
<p>I don&#8217;t know how much further I will go with Visual Studio/C#. It&#8217;s not applicable to my current job; then again, another skill is always handy. But I applaud Microsoft for its pro-active approach and for what really is an impressively slick product.</p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/response-from-the-dark-side/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>C#, Visual Studio and the lure of the Dark Side</title>
		<link>http://the-stickman.com/general/c-visual-studio-and-the-lure-of-the-dark-side/</link>
		<comments>http://the-stickman.com/general/c-visual-studio-and-the-lure-of-the-dark-side/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 09:47:49 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/general/c-visual-studio-and-the-lure-of-the-dark-side/</guid>
		<description><![CDATA[A few months ago I began work on a project &#8212; a relatively simple Windows application &#8212; as a favour for a friend. Because I&#8217;d been fiddling with it for a while and it seemed like a convenient choice, I chose to develop the app in AutoIt. 
I&#8217;ve mentioned before how cool I think AutoIt [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago I began work on a project &#8212; a relatively simple Windows application &#8212; as a favour for a friend. Because I&#8217;d been fiddling with it for a while and it seemed like a convenient choice, I chose to develop the app in <a href="http://www.autoitscript.com/">AutoIt</a>. </p>
<p>I&#8217;ve mentioned <a href="/general/more-on-autoit-windows-scripting-made-easy/">before</a> how cool I think AutoIt is, and how suitable for the rapid development of small Windows utilities and applications. Well as time went on and the app grew in complexity, I began to struggle. The problem stemmed mainly from my inability to adjust my thinking to cope with AutoIt&#8217;s BASIC-style procedural syntax. I&#8217;ve been thinking in an Object-Oriented way for so long now, that I tried to organise the code in a way that was as close to OO as AutoIt could manage. The result was a mess of global variables, tortuously long variable names, and complex and inconvenient hash arrays. Development was slowing to a halt and I was rapidly losing interest in the project.</p>
<p>Back when I was first planning my approach, I&#8217;d briefly considered writing the app in either C# or <a href="http://java.sun.com/">Java</a>. I quickly gave up on the idea because, frankly, I was scared off by all the extra faff that comes along with these &#8216;grown up&#8217; frameworks &#8212; i.e. having to learn all about strong typing, managing dependencies, building executables from source and so on. It&#8217;s just not what I&#8217;m used to: this was supposed to be a bit of fun, not a massive project where I would need to learn to be a <i>real</i> programmer.&nbsp; </p>
<p>But about two weeks ago I was getting a bit desperate and I decided to reassess my options. I considered Java for a brief interval (mainly for cross-platform support, which I don&#8217;t really need in this case), but then I found that Microsoft is giving away various &#8216;cut-down&#8217; versions of <a href="http://msdn.microsoft.com/vstudio/express/">Visual Studio</a> for free. Just out of curiosity I downloaded the snappily-titled &#8216;<a href="http://msdn.microsoft.com/vstudio/express/visualcsharp/">Visual Studio C# 2005 Express Edition</a>&#8216; and was sucked in almost instantly.</p>
<p>Not being a programmer by training, I&#8217;ve never encountered Visual Studio (or the like) before. And I was genuinely surprised by just how&#8230;<i>tight</i> it is. Yes I knew vaguely that it allowed you to create GUIs with drag-and-drop. But then I clicked on a new button and it built a stub event handler for me. I dragged a table from an SQLite data source onto the GUI and it created a data grid, and populated it. I decided to change a class name and it instantly refactored the code to update all references. I clicked another button and it compiled and launched the app, with the debugger in the background so I could look at the code, peer into objects, fiddle with variables and even make code changes while it was still running. And finally, when I come to package up the final product, it will automate the whole process.</p>
<p>Again, I had a vague notion that this stuff was possible but I&#8217;d never really come into contact with it before and certainly wasn&#8217;t aware of how slick it had become. I feel like a kid in a candy store. No, scratch that: I feel like a country bumpkin who&#8217;s just visited the big city for the first time. In the (less than) two weeks since first downloading the software, I&#8217;ve caught up with all the work I&#8217;d done in AutoIt over several months (this is a spare-time project, mostly evenings) and then some. </p>
<p>It&#8217;s not all roses, of course. For a start, although I have succeeded in building a very solid and professional-looking bit of software, for the most part I have little idea how it works: the vast majority of the underlying code was automatically generated and I&#8217;ve only looked at it in passing. You might think that&#8217;s an advantage &#8212; why would I need to know how it works, if it&#8217;s all done for me? &#8212; which is fair enough, but I don&#8217;t feel like I know much more about C# than I did when I started. When the project is completed I might be able to say that I&#8217;m competent in Visual Studio, but I won&#8217;t by any means be a C# programmer. </p>
<p>Also, the app I&#8217;ve been working on is really little more than a glorified database front-end, so it plays to the strengths of the framework. Clearly if the demands of the task were more complex, I&#8217;d need to be spending a lot more time and effort digging around in the guts of C# and the whole .Net platform. And while the reference documentation for the language is nigh-on perfect, I&#8217;ve yet to come across the sort of tight-knit, responsive <a href="http://www.autoitscript.com/forum/">community that surrounds AutoIt</a>: somewhere I can go and be sure either to find my question already answered, or someone willing to work through it with me. That said, I&#8217;ve yet to come up against a problem that a Google search didn&#8217;t answer within the first page or two.</p>
<p>So I&#8217;m not sure I&#8217;d want to do this sort of thing for a living: while my productivity is relatively high for this project I don&#8217;t think I&#8217;ll have the same sense of achievement when it&#8217;s finished as I would if I&#8217;d built it from the ground up. Where, on a good day, writing a good piece of software can feel like craftsmanship (pretentious, moi?) this feels more like assembling flat-pack furniture. And, having been an Open Source devotee for years, I can&#8217;t help feeling the odd pang of guilt for succumbing to the lure of the <a href="http://www.microsoft.com/">Dark Side</a>. But it&#8217;s just so <i>effortless</i>&#8230;</p>
<p>Right, now to get back to the real world: hacking out PHP. By hand. Hmm&#8230;&#8221;<a href="http://www.qadram.com/products.php">Visual Studio PHP</a>&#8220;, maybe?  </p>
<p><b>UPDATE: </b>I had <a href="http://the-stickman.com/general/response-from-the-dark-side/">a response to this article</a> from Microsoft.</p>
<p><b>UPDATE #2: </b>Looks like there&#8217;s more than one contender in the &#8216;Visual PHP&#8217; market: check out the upcoming <a href="http://www.codegear.com/Products/Delphi/DelphiforPHP/tabid/237/Default.aspx">Delphi for PHP</a> from CodeGear (Borland). Interesting&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/c-visual-studio-and-the-lure-of-the-dark-side/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>In search of the perfect coding environment</title>
		<link>http://the-stickman.com/general/in-search-of-the-perfect-coding-environment/</link>
		<comments>http://the-stickman.com/general/in-search-of-the-perfect-coding-environment/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 12:36:41 +0000</pubDate>
		<dc:creator>Stickman</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://the-stickman.com/general/in-search-of-the-perfect-coding-environment/</guid>
		<description><![CDATA[I&#8217;ve said it before: I&#8217;m easily distracted. If my working environment is not just right, my productivity goes all to ratshit. And probably the single most important factor in this is the editor I use for coding.
I&#8217;ve been using TextPad for years &#8212; so long that I can&#8217;t even remember, but certainly since the late [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve said it <a href="http://the-stickman.com/general/things-that-make-you-go-expletive-deleted/">before</a>: I&#8217;m easily distracted. If my working environment is not just right, my productivity goes all to ratshit. And probably the single most important factor in this is the editor I use for coding.</p>
<p>I&#8217;ve been using <a href="http://www.textpad.com">TextPad</a> for years &#8212; so long that I can&#8217;t even remember, but certainly since the late 90s. I love it because it&#8217;s super-fast, handles large files with ease, and doesn&#8217;t put a whole load of &#8216;handy&#8217; features (which I&#8217;d never use) between me and the code. By now &#8212; after eight hours a day, five days a week usage &#8212; the keyboard shortcuts have become hard-coded into my consciousness. </p>
<p>Having said all that, for some time now I&#8217;ve been trying to find a replacement. There is a small number of additional features that I&#8217;ve been hankering for, for some time. Most notably, a code browser &#8212; i.e. an overview of (say) a class with all the methods listed. Many of the classes that we&#8217;ve written for our publishing framework are quite long now, with sometimes dozens of methods, and navigating the code quickly can be a chore.</p>
<p>I&#8217;ve tried more alternatives than I could possibly remember, from simple text editors to fully-fledged IDEs. There&#8217;s some really quite impressive free software out there (<a href="http://tswebeditor.tigris.org/">TSWebEditor</a>, <a href="http://www.pspad.com/">PSPad</a>, <a href="http://www.scintilla.org/SciTE.html">Scite</a>&#8230;) but I couldn&#8217;t get on with any of them for more than a few hours before going back to my beloved TextPad. And as for the commercial options (<a href="http://www.zend.com/products/zend_studio">Zend Studio</a>, <a href="http://www.activestate.com/products/komodo_ide/">Komodo</a>, <a href="http://www.waterproof.fr/products/">PHPEdit</a>, <a href="http://www.ultraedit.com/">UltraEdit</a> and the like), none of them offered sufficient attractions to warrant investing my hard-earned cash.&nbsp; &nbsp;</p>
<p>I was briefly lured by the whole &#8216;real men use <a href="http://www.gnu.org/software/emacs/">Emacs</a>&#8216; schtick, but the vertical learning curve quickly convinced me (as if I needed convincing) that I&#8217;m not a real man. I want to use my editor to write code, not write code to use my editor.</p>
<p>I even flirted with <a href="http://www.eclipse.org/">Eclipse</a> for a while (and its <a href="http://www.joomlatwork.com/products/free_products_for_joomla/php_development_studio_2.0.html">PHP incarnation</a>), but quite apart from the (lack of) speed I just couldn&#8217;t get on with all the baggage that it carries. I&#8217;m sure it&#8217;s great if you&#8217;re working in some monumentally complex development environment with build processes and strict source control procedures and whatnot. But for hacking a bit of PHP it&#8217;s a sledgehammer to crack a nut.</p>
<p>So I&#8217;d all but given up on ever finding a successor to TextPad, clinging instead to the <a href="http://www.textpad.info/forum/viewtopic.php?t=7881">apparently vain hope</a> that someday there might be a new version:&nbsp; although the developers insist that work is continuing on the software, the last update was released well over two years ago.</p>
<p>Then a couple of days ago I downloaded <a href="http://www.jedit.org/">jEdit</a>. I&#8217;d seen mention of it before, but ignored it because it&#8217;s Java-based: using Eclipse had convinced me that any Java software would be horribly resource-intensive and slow. But it seems that the newest version of the <a href="http://java.sun.com/javase/downloads/index.jsp">JRE</a> (1.6 at the time of writing) has improved this situation significantly, so I decided to give it a go.</p>
<p>Now jEdit doesn&#8217;t do anything radically different from the many other editors/IDEs that I&#8217;ve auditioned in the past. But what I&#8217;ve come to realise is that I never <i>really</i> wanted to replace TextPad at all: what I wanted was TextPad plus one or two nice extra features. So when I&#8217;ve been trying all these other contenders, I&#8217;ve spent most of my time trying (and failing) to make them work the way I&#8217;m accustomed to &#8212; i.e. to make them look and act like TextPad. And the thing that jEdit offers in spades is configurability (if that&#8217;s even a word&#8230;).</p>
<p>For a start, every command in jEdit can be bound to whichever key combination you like. Then there&#8217;s <a href="http://plugins.jedit.org/">a great big list of plugins</a> that add all sorts of handy features &#8212; e.g. the code browser I&#8217;ve been after for so long &#8212; which can be browsed/installed/removed using the built-in plugin manager. And the macros, which can be recorded in real-time and then edited (they use the <a href="http://www.beanshell.org/">BeanShell</a> scripting language) which gives you tremendous power. And I love playing with the code-folding (takes me back to my days coding <a href="http://en.wikipedia.org/wiki/AMOS_BASIC_programming_language">AMOS</a> <img src='http://the-stickman.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). </p>
<p>It took some effort (reconfiguring keys, downloading plugins and editing macros), but finally I&#8217;ve got what I really wanted: something that looks and works almost exactly like TextPad, but better. It&#8217;s not perfect, but it&#8217;s the closest I&#8217;ve come so far. </p>
<p>Now if I could just convince my esteemed colleague to turn off AOL Radio, I&#8217;d be a really happy bunny. </p>
<p>PS. One other component in my perfect editing environment is <a href="http://www.tobias-jung.de/seekingprofont/">Profont</a>. It&#8217;s a monospaced font designed specifically for coding: it&#8217;s small (meaning you can get more code on the screen at a time) yet very legible.</p>
]]></content:encoded>
			<wfw:commentRss>http://the-stickman.com/general/in-search-of-the-perfect-coding-environment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
