<?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>Athena's Pad &#187; Programming</title>
	<atom:link href="http://athena.outer-reaches.com/wp/index.php/archives/category/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://athena.outer-reaches.com/wp</link>
	<description>Notes from the codex of wisdom and war according to AthenaOfDelphi</description>
	<lastBuildDate>Sun, 27 Jun 2010 15:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Some comments on Visual Studio</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/744</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/744#comments</comments>
		<pubDate>Fri, 25 Jun 2010 20:27:04 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=744</guid>
		<description><![CDATA[Now, before I go on, these are based on Visual Studio 2005 (but I have just looked at Visual Studio 2008 and I have no reason to think these don&#8217;t apply).  So what are my comments this time around on my Microsoft bashing merry go round  
Well, first up, let me make one [...]]]></description>
			<content:encoded><![CDATA[<p>Now, before I go on, these are based on Visual Studio 2005 (but I have just looked at Visual Studio 2008 and I have no reason to think these don&#8217;t apply).  So what are my comments this time around on my Microsoft bashing merry go round <img src='http://athena.outer-reaches.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <span id="more-744"></span></p>
<p>Well, first up, let me make one thing clear&#8230; people rave about Visual Studio and slag off Delphi&#8230; mostly it seems because Delphi is old.  Well, old it may be, but from the perspective of the visual form designer, Delphi 5 is in my opinion still streets ahead of Visual Studios efforts.  This could just be because I&#8217;ve not spent years learning all VS&#8217;s tricks, but I didn&#8217;t spend years learning Delphi&#8217;s either.  Delphi 5 had some great tools which made laying out forms a snap.</p>
<p>As an example&#8230; tab order&#8230; when I layout a form, I very rarely stick the controls on it in the order I want the user to tab through them.  So, in VS I have to select each control and tweak it&#8217;s tabIndex property&#8230; in Delphi, I right click the container, select &#8216;Tab order&#8217; and up pops a dialog that allows me to simply drag and drop control names to set their tab order.</p>
<p>Alignment&#8230; why in gods name when I switch from Line layout to Grid layout in VS do I have to close the designer and then re-open it?  Delphi can do that on the fly.  And best of all, Delphi&#8217;s snap facilities at least appear to work well and make it a breeze to layout forms so they look nice.</p>
<p>Control overlap&#8230; why oh why when I layout a form in VS do the controls end up overlapping each other when I run the application?  Why do things seemingly decide to change size on their own between when I design the form and when I execute it?  These two issues alone have caused me numerous headaches and coupled with the appalling snapping in the designer&#8230; laying out forms in VS is a nightmare.  I&#8217;ve never had this problem with Delphi, except when I start using the skinning facilities of the DevExpress controls&#8230; then they can change size, but just plain vanilla controls&#8230; if they don&#8217;t overlap at design time, they don&#8217;t overlap at runtime&#8230; unlike VS where they don&#8217;t overlap at design time, then at run time the controls overlap and render over one another.</p>
<p>Adding multiple instances of the same control&#8230; how do I add multiple instances of a control in VS, without having to go back to the toolbox and click it again and without using double click in the toolbox?  In Delphi I simply select the component from the palette with Shift pressed and I can add a multitude of instances of that same control.</p>
<p>And that brings me nicely onto a major gripe&#8230; straight out of the box, the component set provided by VS is dire.  I don&#8217;t use string grids very often, but just when I want to, I can&#8217;t because there isn&#8217;t one available in VS.  Overall, the standard toolbox offering in VS is completely eclipsed by the good old Delphi VCL.</p>
<p>So, now I&#8217;ve used C# and Visual Studio for more than just a few minutes, do I have anything good to say?  Well&#8230; not really no.  I&#8217;m using it through necessity as I don&#8217;t want the headache of trying to get Delphi hooked up for writing PowerPoint add-ins.  If Delphi provided an easy means of doing this I&#8217;d use it, but unfortunately it doesn&#8217;t, so I&#8217;m stuck with VS.</p>
<p>C# as a language is pretty good and fairly straight forward to switch to from Delphi, but there is one thing I really don&#8217;t like, and thats the fact there is no interface definition so it&#8217;s not so straight forward to see what your classes provide as you have to trawl through the actual functionality just to find out what methods are provided by the class.</p>
<p>So, that&#8217;s about all I have to say about VS and C#.  I&#8217;m actually developing a product with it which I hope to release soon, so for the foreseeable future at least, I&#8217;m going to have to use VS, but given the choice between VS and C# or Delphi and Object Pascal&#8230; that requires only a split second to compute.  Delphi would win most of the time, unless it&#8217;s tricky to achieve the desired result with it&#8230; for example, Windows Mobile development&#8230; that would be VS and C#.</p>
<p>I do find it quite interesting how most companies have gone down the VS and C# route when they could probably achieve the same results quicker with Delphi.</p>
<p><strong>Disclaimer</strong> &#8211; These are my thoughts based on the short time I&#8217;ve been using VS and C#.  As I&#8217;ve stated, it would be my weapon of choice for certain projects such as Office add-in and Windows Mobile development or building applications that need to be distributed on Win32 and Win64.  But, overall, it&#8217;s just not my favourite tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/744/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first real taste of C#</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/742</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/742#comments</comments>
		<pubDate>Sat, 29 May 2010 00:53:26 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=742</guid>
		<description><![CDATA[Well, I&#8217;ve dabbled with C# before, tweaking a RunUO instance, but this is the first time I&#8217;ve actually used the language in anger, writing something from scratch, so I figured I&#8217;d just jot down a few thoughts.  The project&#8230; a PowerPoint add-in.

Why am I writing anything about a language that isn&#8217;t new?  Well, [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve dabbled with C# before, tweaking a RunUO instance, but this is the first time I&#8217;ve actually used the language in anger, writing something from scratch, so I figured I&#8217;d just jot down a few thoughts.  The project&#8230; a PowerPoint add-in.<br />
<span id="more-742"></span></p>
<p>Why am I writing anything about a language that isn&#8217;t new?  Well, being a die hard Delphi fan-chick I thought my first foray into the world of C#, .net and Visual Studio may provide some useful insight to any other Delphi developers looking to move to the dark side <img src='http://athena.outer-reaches.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>So, the project&#8230; right now, I&#8217;m preparing a big presentation for work.  It&#8217;s a training course, and as such I have some things I want to do&#8230; these aren&#8217;t mind blowingly clever things, but PowerPoint out of the box just can&#8217;t do them without some pretty intensive labour.  For example&#8230; macros at design time&#8230; you can&#8217;t (or at least I couldn&#8217;t find any way of doing it) have macros assigned to shortcut keys that run in the editor&#8230; you can&#8217;t even access useful events like &#8216;PresentationOpened&#8217; without resorting to an add-in.</p>
<p>With this information in hand, I figured that I&#8217;d implement all the funky features I want in my own custom add-in.  If it pans out and I can make it work well (so far it&#8217;s going really well all things considered) then I may release it as a low-cost commercial product for other budding presenters.</p>
<p>But enough of that&#8230; lets get into my thoughts.</p>
<p>The environment&#8230; the first thing is the obvious difference in keystrokes.  Somethings that in Delphi require a single keypress require key combinations in Visual Studio.  I know that the more I use it, the more conversant I&#8217;ll become with the GUI, but for some reason many of the keypress don&#8217;t follow logically.  Take the Step Into, Step Over and Run buttons&#8230;  Delphi, it&#8217;s F7, F8 and F9 respectively.  VS it&#8217;s F11, F10 and F5 respectively&#8230; hardly a logical progression.  In Delphi, F12 toggles between the visual form and it&#8217;s code&#8230; in VS, it&#8217;s F7 for the code and Shift+F7 for the visual form.</p>
<p>My next gripe&#8230; double clicking a C# source file in the project explorer in VS opens the editor with some HTML in it??? WTF?  Double click means open the file I&#8217;m clicking in practically every other context I can think of, so why in VS does it open something else?  Even using the &#8216;Open&#8217; option from the popup menu results in the same thing!  I&#8217;ll say it again&#8230; WTF???</p>
<p>The editor in VS is OK, I find some of it&#8217;s auto-formatting stuff a bit annoying because it ends up with code which isn&#8217;t in my natural style, but at least the code ends up looking fairly standardised without too much effort from me.  The visual form designer seems a bit clunky somehow&#8230; I can&#8217;t quite put my finger on it, but suffice to say, I don&#8217;t think it&#8217;s as nice to use as Delphi&#8217;s.</p>
<p>So, I&#8217;m not overly impressed by the environment.</p>
<p>The language&#8230; I&#8217;ve said this many times to colleagues&#8230; a good software engineer will be able to pickup a new language and be productive with it in a matter of hours.  Now not wanting to blow my own trumpet, but all things considered (new environment, first real use of the language, first Office add-in and first Office ribbon customisation) I would say I&#8217;ve done pretty well.  The guts of my add-in are now complete and I can interact with my presentation in (for the most part) the manner I wanted to.  I have a few small gripes but these are of my own making and I plan to fully tackle them later, but for now&#8230; I can setup the data I need, I can store information in the presentation and retrieve it&#8230; and the whole thing has only taken me about 8 hours (including time design icons).  Most of this has been engineering the ribbon customisation.. it&#8217;s so picky and the documentation sucks.  The help is appalling&#8230; for some reason my local help is limited to the Windows Mobile SDK so I have to go hunting for information on-line&#8230; great when I&#8217;m at home, but shite if I&#8217;m sat in an airport terminal with no WiFi.  I&#8217;d like to say that Delphi&#8217;s help is better&#8230; in some respects it is&#8230; it&#8217;s all there, locally, out of the box, but compared to the help that shipped with Delphi 5, both VS and the later versions of Delphi suck when it comes to the help they provide.</p>
<p>Setting up the project&#8230; this was a snap&#8230; simply create a new project using the Visual Studio Tools for Office and you get the option to create an add-in.  Add ribbon customisation as a project component and you&#8217;re away&#8230; it really is that easy.  I&#8217;ve dabbled a little bit with the Windows Mobile SDK in the past, and creating an app for my smartphone was just as easy, so big up to Microsoft on that.  Whilst I could probably do the same with Delphi, I just know that it would require lots of fiddling and faffing to get anywhere close to a working add-in.  Who wants that hassle?  Besides, I&#8217;m a firm believer in picking the right tool for the job and in this case VS and C# is it.</p>
<p>I was going to say, the one thing I really like about the VS editor is it&#8217;s region capabilities&#8230; but I just fired up Delphi 2009 and that supports regions&#8230; Cool <img src='http://athena.outer-reaches.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>So what have I concluded from this first foray into the world of C# and VS&#8230; well&#8230; I&#8217;ve said for quite a while that what makes .net development difficult is the size of the libraries, and I stand by that.  Some of it gets in the way, like nearly everything being an object&#8230; I know in Delphi there are lots of objects, but C# just seems to be a little too OO in places.  Overall though, I&#8217;m pleased with the progress I&#8217;ve made and I&#8217;d be pretty happy to get into some more in-depth development with the tool set, but there are somethings I just don&#8217;t like.  Classes for example&#8230; no definitions&#8230; just bang it all in the body of the class&#8230; it makes finding stuff a pain in the ass as you can&#8217;t just skim a header and jump to the implementation of the method like you can in Delphi, regions help but it&#8217;s still a nightmare.  The use of &#8216;this&#8217;&#8230; in some places it seems to be required, but in other it doesn&#8217;t&#8230; this could just be my n00biness showing through, but when I&#8217;m in a class in Delphi I hardly ever use &#8216;self&#8217;.</p>
<p>Overall though, I&#8217;m pretty pleased and I hope to have my add-in finished with just a couple more hours of work, and well&#8230; I have now at least used it in anger&#8230; the question is, is that worthy of a place on my CV? <img src='http://athena.outer-reaches.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/742/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ACFW and WordPress 3</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/737</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/737#comments</comments>
		<pubDate>Sun, 18 Apr 2010 22:15:08 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ACFW]]></category>
		<category><![CDATA[WordPress 3.0]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=737</guid>
		<description><![CDATA[For anyone who uses my Advanced Custom Field Widget, I thought I&#8217;d get ahead of the game and see how it fairs when running under WordPress 3.  My initial tests running WP3 on my development blog suggest it will be fine, and should not require any changes.
The tests were done with ACFW Version 0.82 [...]]]></description>
			<content:encoded><![CDATA[<p>For anyone who uses my Advanced Custom Field Widget, I thought I&#8217;d get ahead of the game and see how it fairs when running under WordPress 3.  My initial tests running WP3 on my development blog suggest it will be fine, and should not require any changes.</p>
<p>The tests were done with ACFW Version 0.82 and WordPress 3.0 (Beta 1).</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/737/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ACFW Version 0.82 Released</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/700</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/700#comments</comments>
		<pubDate>Mon, 21 Dec 2009 12:40:09 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress 2.9]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=700</guid>
		<description><![CDATA[With the release of WordPress 2.9, a fault with the Advanced Custom Field Widget was identified which resulted in blank instances of the widget being displayed.  Version 0.82 (available here) has just been released to address the problem.
For more information about the widget, check out my wiki.
]]></description>
			<content:encoded><![CDATA[<p>With the release of WordPress 2.9, a fault with the Advanced Custom Field Widget was identified which resulted in blank instances of the widget being displayed.  Version 0.82 (available <a href="http://wordpress.org/extend/plugins/advanced-custom-field-widget/">here</a>) has just been released to address the problem.</p>
<p>For more information about the widget, check out my <a href="http://athena.outer-reaches.com/wiki/doku.php?id=projects:acfw:home">wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/700/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ShroudBNC Netgamers Script Moved</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/686</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/686#comments</comments>
		<pubDate>Sat, 25 Jul 2009 23:17:25 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=686</guid>
		<description><![CDATA[In my continued efforts to improve the information I provide about the projects I publish, I have moved the information about the ShroudBNC Netgamers script to my wiki.
I&#8217;m planning on moving more content to the wiki over the next few weeks, mainly because I find it easier to manage the content than I do when [...]]]></description>
			<content:encoded><![CDATA[<p>In my continued efforts to improve the information I provide about the projects I publish, I have moved the information about the ShroudBNC Netgamers script to my <a href="http://athena.outer-reaches.com/wiki/doku.php?id=projects:sbncnetgamers:home">wiki</a>.</p>
<p>I&#8217;m planning on moving more content to the wiki over the next few weeks, mainly because I find it easier to manage the content than I do when it&#8217;s published with WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/686/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ACFW Version 0.8 Released</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/682</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/682#comments</comments>
		<pubDate>Fri, 24 Jul 2009 21:47:12 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=682</guid>
		<description><![CDATA[I&#8217;m pleased to announce, after a bit of a delay, the next version of the Advanced Custom Field Widget has just hit the WordPress Subversion servers.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pleased to announce, after a bit of a delay, the next version of the Advanced Custom Field Widget has just hit the WordPress Subversion servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/682/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress media library open_basedir error</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/664</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/664#comments</comments>
		<pubDate>Fri, 17 Jul 2009 19:22:53 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=664</guid>
		<description><![CDATA[Well, seems today is my lucky day for finding useful bits of information out about WordPress.  Here&#8217;s the deal&#8230; you backup your site, move servers, restore everything and it all appears to work, BUT, when you go back and try and add an old image that you uploaded before you moved, it won&#8217;t display [...]]]></description>
			<content:encoded><![CDATA[<p>Well, seems today is my lucky day for finding useful bits of information out about WordPress.  Here&#8217;s the deal&#8230; you backup your site, move servers, restore everything and it all appears to work, BUT, when you go back and try and add an old image that you uploaded before you moved, it won&#8217;t display the image in the media library&#8230;  instead you&#8217;re getting an error spouting something about security and open_basedir&#8230; if this is your problem&#8230; read on as I have a solution.<span id="more-664"></span></p>
<p><b>Disclaimer -</b> This fix is not for the faint hearted.  If you are not happy about executing SQL, then don&#8217;t do this.</p>
<p>In fact, this is more than a fix just for the open_basedir error message I mentioned.  If you have moved your blog, its possible that this problem is affecting you too.  Whether or not you receive the error message about open_basedir depends on the version of PHP you are using and the configuration of PHP on your server.</p>
<p>The problem is caused because items uploaded via the media manager in WordPress are stored in the posts table and some of their path data is stored in the postmeta table, so even though you change the upload path in the config file and the miscellaneous options, these paths in postmeta remain unchanged.</p>
<p>The net result is, that when you move your blog to another host, if the OS/server is configured slightly differently, the paths that WordPress uses for locating the thumbnails for the uploaded images are drawn from postmeta which of course was created on a different host so the paths are different.</p>
<p>Now, ordinarily what might happen is the system will point the thumbnail at the full size image and have the browser scale it, BUT, with PHP 5 and it&#8217;s enhanced security, PHP might attempt to open a file which is in an area that you aren&#8217;t supposed to access.  If this is the case, you&#8217;ll probably get an error message about trying to open a file outside open_basedir (or words to that effect) and instead of getting the thumbnail and options, you&#8217;ll get nothing except the error for that item.</p>
<p>The only way I&#8217;ve found to fix this is to run a bit of SQL against the database which corrects the now erroneous entries in postmeta.</p>
<p><code><br />
UPDATE<br />
  wp_postmeta<br />
SET<br />
  meta_value=concat('/var/www',right(meta_value,length(meta_value)-length('/home/httpd')))<br />
WHERE<br />
  (meta_key="_wp_attached_file") AND<br />
  (instr(meta_value,'/home/httpd')&gt;0)<br />
</code></p>
<p>This is the code I ran.  You will need to adjust this, but what this does is looks for all postmeta records which have &#8216;/home/httpd&#8217; at the start of them (this is the part of the old path which is different).  We then update them by trimming off the &#8216;/home/httpd&#8217; (done using the right(meta_value,length(meta_value)-length(&#8216;/home/httpd&#8217;)) function) and sticking the new path component &#8216;/var/www&#8217; on the front (done with the concat function).</p>
<p>So, in the postmeta table, all _wp_attached_file records that have /home/httpd at the start, have that replaced with /var/www, making them correct once more.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/664/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pascal Gamer Launched</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/655</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/655#comments</comments>
		<pubDate>Fri, 17 Jul 2009 10:56:01 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sites]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=655</guid>
		<description><![CDATA[Jason &#8220;Will&#8221; McMillen, the former site manager of Pascal Game Development has launched a new downloadable magazine for those of us who are into developing games with Pascal.
You can get the first edition of Pascal Gamer at the new website at http://www.pascalgamer.com.
Get your free copy of Pascal Gamer at http://www.pascalgamer.com
]]></description>
			<content:encoded><![CDATA[<p>Jason &#8220;Will&#8221; McMillen, the former site manager of <a href="http://www.pascalgamedevelopment.com">Pascal Game Development</a> has launched a new downloadable magazine for those of us who are into developing games with Pascal.</p>
<p>You can get the first edition of Pascal Gamer at the new website at <a href="http://www.pascalgamer.com">http://www.pascalgamer.com</a>.</p>
<div id="attachment_651" class="wp-caption aligncenter" style="width: 410px"><a href="http://www.pascalgamer.com" target="_BLANK"><img src="http://athena.outer-reaches.com/wp/wp-content/uploads/2009/07/PascalGamer_Banner_468x60.png" alt="Get your free copy of Pascal Gamer at http://www.pascalgamer.com" title="Pascal Gamer Banner" width="400" height="51" class="size-full wp-image-651" /></a><p class="wp-caption-text">Get your free copy of Pascal Gamer at http://www.pascalgamer.com</p></div>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/655/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MantisBT graphs not working</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/643</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/643#comments</comments>
		<pubDate>Sun, 12 Jul 2009 09:16:02 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=643</guid>
		<description><![CDATA[Just a little note which may save someone some time.  If you&#8217;re using MantisBT and are having problems with getting the graphs and visual captcha working (even though you have GD installed), read on.
I spent several hours yesterday trying to get our issue tracker setup for registrations, of which the visual captcha is a [...]]]></description>
			<content:encoded><![CDATA[<p>Just a little note which may save someone some time.  If you&#8217;re using MantisBT and are having problems with getting the graphs and visual captcha working (even though you have GD installed), read on.<span id="more-643"></span></p>
<p>I spent several hours yesterday trying to get our issue tracker setup for registrations, of which the visual captcha is a part, and I also noticed the graphs weren&#8217;t working either.  I tried numerous things including tweaking the headers and changing the output format (from JPEG to PNG).  The interesting thing was that if I downloaded the image with a simple HTTP client written with Delphi, I could receive the image, stream it to disk and open it with Photoshop, but make the same request with a browser and there was nothing.</p>
<p>I even tried asking the guys in the Mantis channel on freenode, but the only person that replied couldn&#8217;t solve the problem.  Then I remembered an issue I had with the file downloader I wrote for the PGDAnnual competition site&#8230; downloads were failing with that for no reason.  Now I run PHP 5, like a lot of people, and I have output buffering turned on by default, and there in lies the problem.</p>
<p>If you are experiencing problems with images from scripts not working when all the other indicators suggest they should, or downloaders failing, turn off output buffering in the affected scripts and see if that helps.  Just add the &#8216;ob_end_clean();&#8217; command at the start of the script and check whether it helps.</p>
<p>I&#8217;ve solved several problems with scripts that generated/streamed content this way.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/643/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PGD Annual 2009 kicks off</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/637</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/637#comments</comments>
		<pubDate>Mon, 06 Jul 2009 10:26:27 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[PGD]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/?p=637</guid>
		<description><![CDATA[It gives me great pleasure to announce that the fourth Pascal Game Development Competition, The PGD Annual 2009, has  kicked off this weekend.
If you&#8217;re into Pascal, and developing games, why not give it a whirl.  Head over to the competition website at PGDAnnnual.com for more information, and to sign up and enter.
]]></description>
			<content:encoded><![CDATA[<p>It gives me great pleasure to announce that the fourth Pascal Game Development Competition, The PGD Annual 2009, has  kicked off this weekend.</p>
<p>If you&#8217;re into Pascal, and developing games, why not give it a whirl.  Head over to the competition website at <a href="http://www.pgdannual.com">PGDAnnnual.com</a> for more information, and to sign up and enter.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/637/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
