<?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>Red Green Software</title>
	<atom:link href="http://www.red-green.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.red-green.com</link>
	<description>We take stopped projects and get them going again.</description>
	<lastBuildDate>Fri, 19 Feb 2010 08:03:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Walking the perlmonk walk</title>
		<link>http://www.red-green.com/2010/02/walking-the-perlmonk-walk/</link>
		<comments>http://www.red-green.com/2010/02/walking-the-perlmonk-walk/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 08:03:22 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=179</guid>
		<description><![CDATA[Having been an avid perl user for quite some time now, I understand a lot more about why perl people hate RHEL, RedHat Enterprise Linux (as well as CentOS), and why some people hate perl.&#160; RedHat has a bad, but well earned reputation for breaking perl.&#160; They like to upgrade perl versions, and include some [...]]]></description>
			<content:encoded><![CDATA[<p>Having been an avid perl user for quite some time now, I understand a lot more about why perl people hate RHEL, RedHat Enterprise Linux (as well as CentOS), and why some people hate perl.&nbsp; RedHat has a bad, but well earned reputation for breaking perl.&nbsp; They like to upgrade perl versions, and include some older perl modules, and other things that just break perl badly.&nbsp; So what does a perl loving <a href="http://perlmonks.org" target="_blank">perlmonk</a> do?</p>
<p>Well, you could whine about RHEL in #perl on the freenode servers.&nbsp; But whining isn&#39;t productive or helpful, it just annoys people that need to get things done, and doesn&#39;t help anyone get the most out of their perl experience.</p>
<p>So what do you do?&nbsp; Do what most power perl programmers do &#8212; Build your own perl.&nbsp; That is probably the best kept secret in the perl developer community, unfortunately!</p>
<p>When you do that, you can safely ignore the perl your Linux distribution includes.&nbsp; You can keep your Linux distribution updated, and you won&#39;t have to worry about breaking your production perl programs.&nbsp; And, when there is a new version of perl, you can build it, and safely test your code with the new version!</p>
<h2>Building perl</h2>
<p>First, download the <a href="http://www.perl.org/" target="_blank">perl source</a>.&nbsp; You will end up with the file latest.tar.bz2.&nbsp;</p>
<p>Extract with <code>tar -xjf latest.tar.bz2</code> then change into the source directory.&nbsp; Today, that is perl-5.10.1.</p>
<p>Now comes the questions:&nbsp; Do you want 64 bit integer support?&nbsp; Do you want threads, or do you want your perl to run faster?&nbsp; There is some overhead in making variables thread-safe.&nbsp; Some of these options are discussed at <a href="http://www.ccl4.org/~nick/P/Fast_Enough/" target="_blank">&quot;When perl is not fast enough&quot;</a>.</p>
<p>Here are the defaults that were recommended to me by Khisanth in #perl:</p>
<p><tt>sh Configure -Dprefix=$HOMEperl5100 -Duseshrplib -Dusemultiplicity -Duse64bitint -Duseperlio -Duselargefiles -des<br />
	</tt></p>
<p>Ok, that&#39;s not what I use.&nbsp; I don&#39;t need a shared perl library file (which run slower), because I won&#39;t be embedding perl anywhere.&nbsp; I haven&#39;t found anything on usemultiplicity, so I don&#39;t use that either.&nbsp; But, everything else is good.&nbsp; This is what I have been using:</p>
<p><tt>sh Configure -Dprefix=/opt/perl510 -Duse64bitint -Duseperlio -Duselargefiles -des<br />
	</tt></p>
<p>Note:&nbsp; Using $HOME doesn&#39;t actually work, I think he meant not for the shell to replace $HOME with your home directory, but rather it to be replaced by the person typing.&nbsp; Also, I am using the /opt directory, because I want my built perl to be used system-wide.&nbsp; For local use, or testing, -Dprefix=/home/stevet/perl510 is what I use.</p>
<p>Next, comes the build process: <tt>make&nbsp; </tt>Then, comes the test process: <tt>make test&nbsp; </tt>If everything passes: <tt>make install</tt></p>
<p>Congratulations, in your prefix directory, you now have a bin directory that contains: perl, perldoc, and cpan.&nbsp; Try it out, /opt/perl510/bin/perl -v should display the version information:</p>
<p><tt>This is perl, v5.10.1 (*) built for i686-linux-64int<br />
	</tt></p>
<h2>Testing new versions of perl</h2>
<p>To test new versions of perl, use the above directions, or run perl -V on your current production perl.&nbsp; (This will show what build options you used.)&nbsp; Grab the source to the new version of perl, and do everything the same except the -Dprefix.&nbsp; Install the new perl into another directory.&nbsp; Then, use the new perl with your code.&nbsp; If it works, wonderful!&nbsp; If not, continue to use the original perl binary until you get the new version worked out.</p>
<p>Most of the time, it is simply a matter of installing needed modules into the new version.&nbsp; Make sure you run the new perl&#39;s cpan!</p>
<h2>When cpan goes bad</h2>
<p>This is why I am writing this.&nbsp; Things went horribly wrong when I tried this.&nbsp; Strange failures installing XML::Parser, and then again installing MIME::Entities.&nbsp; Consult <a href="http://en.wikipedia.org/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy">the guide and don&#39;t panic</a>.</p>
<p>First, make sure that you have read the <a href="http://sial.org/howto/perl/life-with-cpan/">&quot;Life with CPAN&quot;</a> guide.&nbsp; Some of the things it talks about applies to having your own perl build.&nbsp; But that only gets you so far.&nbsp; Debugging cpan install failures is quite a challenge sometimes.&nbsp; But, it does get easier with time and practice.&nbsp; So let&#39;s get started with some CPAN debug tips, and then I&#39;ll finish up with my personal experiences with XML::Parser and MIME::Entities.</p>
<h2>Debugging CPAN installs</h2>
<p>Ok, you are at the cpan prompt, you type in: <tt>install DBD::mysql</tt> and suddenly pages of errors go flying by.&nbsp; Now what?&nbsp; Start with the <u>very first line</u> that gives an error.&nbsp; But that was many screens ago, how do you find that?&nbsp; Use the *nix tools available for just such things:&nbsp; <tt>screen</tt> or <tt>script</tt>.&nbsp; In screen, type ctrl-a and H.&nbsp; That turns on screen logging, and you&#39;ll see it starts logging everything to a file called screenlog.0.&nbsp; With script, you would type something like: <tt>script -c cpan</tt> and the output will be in a file called typescript.</p>
<p>Ok, so the first line that gives an error.&nbsp; What type of error is it?&nbsp; Does it look something like this:</p>
<p><tt>In file included from dbdimp.c:20:<br />
	dbdimp.h:22:49: error: mysql.h: No such file or directory<br />
	dbdimp.h:23:45: error: mysqld_error.h: No such file or directory<br />
	dbdimp.h:24:49: error: errmsg.h: No such file or directory</tt></p>
<p><tt>This is from the c compiler (in this case gcc).&nbsp; It is saying that it needs some header files.</tt></p>
<h2>Missing header files</h2>
<p>This means that you don&#39;t have the development version of the program or library installed on your system.&nbsp; Using your Linux distribution tools, install the development version.&nbsp;</p>
<p>In the above case of mysql, it would be something like this for RHEL/CentOS: <tt>yum install mysql-devel</tt>.</p>
<h2>Missing modules</h2>
<p>When cpan goes to make test, does it error out with: <tt>Can&#39;t locate Test/Pod.pm in @INC (@INC contains: ...)</tt>.&nbsp; Ok, this is probably a minor bug in the module.&nbsp; The module is supposed to list all of the modules that it has dependencies on, but maybe the author forgot one.&nbsp; At the cpan prompt try: <tt>install Test::Pod</tt>, or whatever the module name was that it couldn&#39;t find.&nbsp; If the missing module installs, retry installing the module that was giving you problems.&nbsp; Odds are good that it will work fine now.</p>
<h2>Failing tests, or what to try next</h2>
<p>Probably the best part of perl, and of cpan, is the testing modules.&nbsp; These allow the developer to design tests to exercise their code, and the libraries they depend upon to make sure that they function correctly.&nbsp; But, what when those tests fail?</p>
<p>First stop is <a href="http://search.cpan.org">search.cpan.org</a>.&nbsp; Search for the module that you are having problems with.&nbsp; Select the link to the module, and then on the right hand side click, <u>View bug reports</u>.&nbsp; Look through the reports.&nbsp; Are other people having the same error that you are?&nbsp; Or, even better, are there patches available that fix the problem?</p>
<p>If you don&#39;t see your particular error listed, you might want to report it to the developer.&nbsp; Or, even better, figure out what caused the error and report that!&nbsp; Writing code that works well on many platforms is hard, and the developer might not have access to a machine like what you are using.</p>
<p>As a last resort you can also go to <a href="http://www.cpantesters.org">http://www.cpantesters.org</a> and search for the troublesome module there.&nbsp; While you won&#39;t find any answers there, you will see if anyone else is having problems installing the module, and what error messages they are getting.&nbsp; Here are cpan testers&#39; <a href="http://www.cpantesters.org/distro/X/XML-Parser.html">results of installing XML::Parser</a> for example.</p>
<h2>Google the error message</h2>
<p>Just use google on error messages.&nbsp; Don&#39;t use google when working with normal perl, because there is a lot of old perl code out there on the Internet.&nbsp; There are still tutorials, which, when they were written 10 years ago were cutting edge.&nbsp; But now, they show you the wrong way to write modern perl code.&nbsp; If you want modern perl help use <a href="http://perlmonks.org">perlmonks</a>.</p>
<p>Ok, so maybe you have found something, like what I found on my failed test installing XML::Parser.</p>
<h2>XML::Parser</h2>
<p>First, I got:</p>
<pre><tt>Expat.xs:12:19: error: expat.h: No such file or directory</tt></pre>
<p>Ok, so install the expat-devel, using yum and you&#39;re set, right?&nbsp; No, this one gets much worse.&nbsp; The module builds, but now it fails tests.&nbsp; Searching around, I find out that debian is aware of this bug, thanks to failing perl tests.&nbsp; What happened was a bug was found in the expat library that caused a security issue.&nbsp; The library was quickly patched, however, the patch actually broke the expat library.&nbsp; It wasn&#39;t detected by the expat developers, but it was detected by XML::Parser.&nbsp; </p>
<p>Remember those module tests that are so great?&nbsp; Yes, they are great at finding problems, but sometimes it is slow getting the fixes.&nbsp; And RHEL, well, they have the broken security patch for expat.&nbsp; They haven&#39;t gotten the latest correct patch into their system.&nbsp; So, just like building your own perl, now you build your own expat.</p>
<p>Downloaded the expat 2.0.1 library from <a href="http://expat.sourceforge.net/">http://expat.sourceforge.net/</a> and installed it into /opt/expat.&nbsp; Finally, a working, bug free, xml parsing library is installed.</p>
<p>Configuring XML::Parser to use the working expat library was a challenge, but by doing <tt>look XML::Parser</tt> in cpan, I was able to build using:</p>
<p><tt>perl Makefile.PL EXPATLIBPATH=/opt/expat/lib EXPATINCPATH=/opt/expat/include</tt></p>
<p>Then make (which compiles the module), make test (which now passed for me), and finally make install.</p>
<h2>MIME::Entity</h2>
<p>This on fails like this:</p>
<p><tt>t/Smtpsend.t ......... accept failed: Connection timed out at t/Smtpsend.t line 46.<br />
	# Looks like your test exited with 110 before it could output anything.<br />
	</tt></p>
<p>If you are seeing this error, I would almost bet that you are using a dual-core or have multiple processors!&nbsp; The bug is in the test script itself.&nbsp; Use <tt>look MIME::Entity</tt> at the cpan prompt to get into the build directory.&nbsp; Edit the t/Smtpsend.t with your favorite editor, and jump to line 41.&nbsp; You should be right before the following lines:</p>
<p><tt># In the parent<br />
	my $s = $sock-&gt;accept();</tt></p>
<p>Above these lines add: <tt>sleep 1</tt></p>
<p>Ok, type: <tt>make test</tt> and it should pass just fine.&nbsp; What I think happens is when the test script forks on a dual core system, the connection is accepted before the connection happens, so it fails.&nbsp; But, with a 1 second sleep, the accept works correctly, and the test now passes.</p>
<h2>Crypt::SSLeay</h2>
<p>This fails on:</p>
<p><tt>t/01-connect.t .. 1/8<br />
	#&nbsp;&nbsp; Failed test &#39;Net::SSL-&gt;new&#39;<br />
	#&nbsp;&nbsp; at t/01-connect.t line 25.<br />
	# SSL negotiation failed:&nbsp; at t/01-connect.t line 11<br />
	#&nbsp; at t/01-connect.t line 11<br />
	# ; Interrupted system call at t/01-connect.t line 11<br />
	# ; Interrupted system call at t/01-connect.t line 11<br />
	# ; Interrupted system call at t/01-connect.t line 11<br />
	# Looks like you failed 1 test of 8.<br />
	t/01-connect.t .. Dubious, test returned 1 (wstat 256, 0x100)<br />
	Failed 1/8 subtests<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (less 7 skipped subtests: 0 okay)</tt></p>
<p>Again, the problem is with the test.&nbsp; If you failed this test, it means you are installing this on a server that has https running on port 443.&nbsp; Edit the t/01-connect.t script, and search for the two occurrences of 443 that look like:</p>
<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PeerPort =&gt; 443,</tt></p>
<p>and</p>
<p><tt>skip( &quot;nothing listening on localhost:443&quot;, 7 )</p>
<p>	</tt></p>
<p>Change them to some other port that isn&#39;t in use, like 4443.&nbsp; Re-run make test.&nbsp; If passing, now make install. </p>
<h2>Wouldn&#39;t it be easier to just force the install?</h2>
<p>No.&nbsp; Forcing the install of perl modules that fail their tests is just asking for trouble.&nbsp; Find out why it is failing.&nbsp; If the test is bad, fix the test.&nbsp; In the case of the expat bug, you would be opening your system up to exploits from malformed XML.&nbsp; Really, don&#39;t force installs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2010/02/walking-the-perlmonk-walk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Public DNS</title>
		<link>http://www.red-green.com/2009/12/google-public-dns/</link>
		<comments>http://www.red-green.com/2009/12/google-public-dns/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 18:39:00 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=176</guid>
		<description><![CDATA[Google has Public DNS available.&#160; http://code.google.com/speed/public-dns/index.html&#160;
Yawn.&#160; In other news, scientists around the world predict that the sun will come up tomorrow.
Usually Google does great things, but this time I&#39;d say their efforts were next to useless.&#160; Or, maybe Google doesn&#39;t google, and they aren&#39;t aware of what is already available on the Internet as far [...]]]></description>
			<content:encoded><![CDATA[<p>Google has Public DNS available.&nbsp; http://code.google.com/speed/public-dns/index.html&nbsp;</p>
<p>Yawn.&nbsp; In other news, scientists around the world predict that the sun will come up tomorrow.</p>
<p>Usually Google does great things, but this time I&#39;d say their efforts were next to useless.&nbsp; Or, maybe Google doesn&#39;t google, and they aren&#39;t aware of what is already available on the Internet as far as DNS service providers go?</p>
<p>I highly recommend <a href="http://www.opendns.com/" target="_blank">OpenDNS</a> for all of your DNS needs.&nbsp; They do filtering of bad sites (NSFW), anti Phishing and Malware site protection, as well as blocking of time wasters.&nbsp; And much more, I can&#39;t do their service justice here!&nbsp; Here&#39;s the <a href="http://www.opendns.com/solutions/overview/" target="_blank">overview of OpenDNS services</a>.</p>
<p>Compared to the Google DNS, I would pay for using OpenDNS.&nbsp; Google DNS &#8211;&nbsp; I&#39;m still not sure I understand why you would bother to use their service.&nbsp; If you want secure DNS then run your own DNS server.&nbsp; It&#39;s not that hard to setup, really!&nbsp; Why would someone that attacks DNS go after individually run, low volume DNS servers?&nbsp; They would attack something bigger, and something worth their while.</p>
<p>Ok, now I will admit, Google Public DNS is hundreds of times better then the DNS services provided by some ISPs, namely Verizon.&nbsp; Verizon likes to &#39;help you&#39;, and instead of returning NXDOMAIN like DNS is supposed to for missing domains, it directs you their catchall website.&nbsp; Google Public DNS currently reports NXDOMAIN, so you won&#39;t get useless screens of advertisements for what they think you wanted.&nbsp; So Goggle did get at least part of DNS service right.&nbsp; But how long before Google wants to also &#39;help you&#39; by directing you to their own search page?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2009/12/google-public-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking Web Applications Exposed</title>
		<link>http://www.red-green.com/2009/11/hacking-web-applications-exposed/</link>
		<comments>http://www.red-green.com/2009/11/hacking-web-applications-exposed/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 05:15:43 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=171</guid>
		<description><![CDATA[Reading, "Hacking Web Applications Exposed", I've learned a lot so far.]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>It is always nice when I get a chance to sit down and read a book I bought over year ago.&nbsp; Finally!&nbsp; I&#8217;ve been enjoying the book, and what I&#8217;ve enjoyed so far is the evolutionary process between attacks and web servers.</p>
<p>For example, Microsoft IIS was exploitable with long URLs.&nbsp; Microsoft fixes that, but attackers learn that they can just keep running the attacks anyway, and eventually the server dies anyway when it runs out of disk space from logging all those long URLs.&nbsp; Microsoft fixes that by reducing the length of information stored in the logs.&nbsp; Attackers still continue to use long URLs, because their complete attempts won&#8217;t be logged.&nbsp; You&#8217;ll know someone tried something with IIS, but you won&#8217;t know exactly what.&nbsp; It is an interesting technology arms race.</p>
<p>The other thing that I&#8217;ve enjoyed so far about the book is the real stories about how systems have been audited, and how they find silly security flaws in the system.&nbsp; Example:&nbsp; Being able to view, edit, or become other accounts in the web application.</p>
<p><a href="http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project" target="_blank">WebScarab</a> is quite a useful tool to see what is going on between web browser and server.&nbsp; And the ability to save all of the complete conversations within a browsing session is fantastic.&nbsp; It is certainly going to be useful when I have to interface into websites that insist on using javascript for authentication and browsing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2009/11/hacking-web-applications-exposed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World Community Grid</title>
		<link>http://www.red-green.com/2009/05/world-community-grid/</link>
		<comments>http://www.red-green.com/2009/05/world-community-grid/#comments</comments>
		<pubDate>Sun, 10 May 2009 04:50:26 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=152</guid>
		<description><![CDATA[ 
]]></description>
			<content:encoded><![CDATA[<p><iframe width="405" height="240" frameborder="0" scrolling="no" name="di" src="http://www.worldcommunitygrid.org/getDynamicImage.do?memberName=redgreen&amp;mnOn=true&amp;stat=3&amp;imageNum=1&amp;rankOn=true&amp;projectsOn=true&amp;special=true"></iframe> <a target="_blank" href="http://www.worldcommunitygrid.org/stat/viewMemberInfo.do?userName=redgreen"><img alt="World Community Grid Stats" src="http://www.boincstats.com/signature/user_1943768.gif" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2009/05/world-community-grid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft says forget Windows 2000 and XP</title>
		<link>http://www.red-green.com/2009/02/microsoft-says-forget-windows-2000-and-xp/</link>
		<comments>http://www.red-green.com/2009/02/microsoft-says-forget-windows-2000-and-xp/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 03:53:47 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=143</guid>
		<description><![CDATA[I guess Microsoft is hoping that we will all forget how fast computers run Windows 2000 and XP, and just hope we will all upgrade to Vista or even the over-hyped Windows 7.
I&#39;ve got a much better idea.&#160; How about a version of Windows just for business?&#160; You know, one that isn&#39;t bogged down with [...]]]></description>
			<content:encoded><![CDATA[<p>I guess Microsoft is hoping that we will all forget how fast computers run Windows 2000 and XP, and just hope we will all upgrade to Vista or even the over-hyped Windows 7.</p>
<p>I&#39;ve got a much better idea.&nbsp; How about a version of Windows just for business?&nbsp; You know, one that isn&#39;t bogged down with Digital Rights Management, because in business we&#39;re more interested in getting work done, rather then watching HD movies.&nbsp; And drop the high end graphics card requirements too.&nbsp; Really!&nbsp; You can do more with much less.</p>
<p>So do I really think that Microsoft is suddenly going to start producing products that businesses actually NEED?&nbsp; No!</p>
<p><a href="http://www.codeweavers.com/" target="_blank"><img src="/images/CircleLinux_125.png" alt="CrossOver Linux" title="CrossOver Linux" width="125" height="125" align="right" /></a> That&#39;s why I highly recommend that you give <a href="http://codeweavers.com" title="CodeWeavers - CrossOver: Windows Compatibility on Macintosh and Linux" target="_blank">CrossOver Office</a>  a try!&nbsp; Not only do you get Windows 2000 and XP support for your Windows applications, but you get great things called wine bottles.</p>
<p><a href="http://www.codeweavers.com/products/cxlinux/bottles/" title="Wine Bottles" target="_blank">Wine bottles</a>  allow you to have complete windows Applications isolated from each other.&nbsp; Easy to archive, easy to restore.&nbsp; One can be configured as Windows 2000, another Windows XP.&nbsp;</p>
<p>On the CodeWeavers website they have many listings of Windows applications along with the current status of how the application runs.&nbsp; Why give up your applications that work? </p>
<p><a href="http://www.theregister.co.uk/2009/05/01/windows_7_xp_mode_review/">Windows 7 XP Mode Review</a> &mdash; And here&#8217;s a review showing why you need CrossOver!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2009/02/microsoft-says-forget-windows-2000-and-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you think Microsoft software sucks, try an XBOX 360</title>
		<link>http://www.red-green.com/2008/12/if-you-think-microsoft-software-sucks-try-an-xbox-360/</link>
		<comments>http://www.red-green.com/2008/12/if-you-think-microsoft-software-sucks-try-an-xbox-360/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 20:12:39 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=138</guid>
		<description><![CDATA[Yes, I did experience the Red Ring Of Death &#8212; How&#39;d you guess?
After a little under 2 months of very light usage, my XBOX 360 died.&#160; I was impressed with Gamestop &#8212; despite being over their 30 day warranty, they switched it out!
So now I have another XBOX 360, and I&#39;m finding it hard to [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I did experience the Red Ring Of Death &#8212; How&#39;d you guess?</p>
<p>After a little under 2 months of very light usage, my XBOX 360 died.&nbsp; I was impressed with Gamestop &#8212; despite being over their 30 day warranty, they switched it out!</p>
<p>So now I have another XBOX 360, and I&#39;m finding it hard to really enjoy it now.</p>
<p>Is it going to die again while in the middle of Rock Band 2?</p>
<p>Will I have to send it off next time and wait forever for it to be fixed &#8212; hopefully for good?</p>
<p>Or will I turn to the WII and Playstation 2, that I&#39;ve put hours and hours on already, the tried, true, and tested game consoles that don&#39;t let me down when I want to play?&nbsp; I do know most of the games there already by heart, but they don&#39;t have a family history of dying.</p>
<h2>&quot;The day that Microsoft Products STOP SUCKING, will be the day that Microsoft starts selling vacuums.&quot;</h2>
<p>I see now why they dropped the prices on the XBOX 360, but who buys a game console and doesn&#39;t plan to play it to death?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2008/12/if-you-think-microsoft-software-sucks-try-an-xbox-360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Injection</title>
		<link>http://www.red-green.com/2008/12/sql-injection/</link>
		<comments>http://www.red-green.com/2008/12/sql-injection/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 05:40:28 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=123</guid>
		<description><![CDATA[While reading the SANS Internet Storm Center&#8217;s RSS feed, I found an interesting article on SQL Injections.  http://isc.sans.org/diary.html?storyid=5416
The intriguing part was doing injections without the use of quote or semicolons.&#160; Which allowed me to do some injections of my own on a production server!
It really is very important to treat any data coming from [...]]]></description>
			<content:encoded><![CDATA[<p>While reading the SANS Internet Storm Center&#8217;s RSS feed, I found an interesting article on SQL Injections.  <a target="_blank" href="http://isc.sans.org/diary.html?storyid=5416">http://isc.sans.org/diary.html?storyid=5416</a></p>
<p>The intriguing part was doing injections without the use of quote or semicolons.&nbsp; Which allowed me to do some injections of my own on a production server!</p>
<p>It really is very important to treat any data coming from the Internet as &#8216;tainted&#8217;, and sanitize it.&nbsp; If you think it can&#8217;t be &#8216;tainted&#8217;, <a target="_blank" href="http://www.opera.com/download/">download a copy of Opera</a>.&nbsp; Visit the web page with Opera.&nbsp; Use View Source, and edit away!&nbsp; Change all the default values you expect to unsafe data.&nbsp; Click the Apply Changes button.&nbsp; Use your altered form to inject with.</p>
<p>Notes from my experience:</p>
<ol>
<li>Remove debugging messages that show the final SQL statement.&nbsp; Showing the statement allows the attacker to see what they need to change in their input to cause the SQL to behave badly.&nbsp; Note:&nbsp; Showing &quot;SQL error&quot; is just as bad!&nbsp; Better to say, &quot;No records found&quot;.</li>
<li>Log SQL errors.&nbsp; Any form input in production should never generate a SQL error.</li>
<li>Test, test, and retest.&nbsp; Once you know what to look for, share what you have found with the rest of your development team.&nbsp; Security is paramount in this day and age.</li>
<li>Code review.&nbsp; Look for code that doesn&#8217;t sanitize input.</li>
<li>Add these checks into your routine testing process.</li>
<li>Try not to laugh when using PHP and security in the same sentence.&nbsp; It can be done, really!&nbsp; And secure PHP code can be written, really!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2008/12/sql-injection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Upgraded</title>
		<link>http://www.red-green.com/2008/05/wordpress-upgraded/</link>
		<comments>http://www.red-green.com/2008/05/wordpress-upgraded/#comments</comments>
		<pubDate>Fri, 30 May 2008 21:29:44 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.red-green.com/?p=122</guid>
		<description><![CDATA[Yet&#160;another painless WordPress upgrade.&#160;&#160;
]]></description>
			<content:encoded><![CDATA[<p>Yet&nbsp;another painless WordPress upgrade.&nbsp;<img src="http://www.red-green.com/wp-content/plugins/editormonkey/tinymce/plugins/emotions/images/smiley-laughing.gif" alt="Laughing" title="Laughing" />&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2008/05/wordpress-upgraded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spammers Win</title>
		<link>http://www.red-green.com/2008/05/spammers-win/</link>
		<comments>http://www.red-green.com/2008/05/spammers-win/#comments</comments>
		<pubDate>Fri, 30 May 2008 13:54:58 +0000</pubDate>
		<dc:creator>stevet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.red-green.com/2008/05/spammers-win/</guid>
		<description><![CDATA[I have abandoned my email address stevet@red-green.com thanks to   spam. I do look forward to the day where there is no spam. &#160;Yes, indeed, that day is coming!
 &#160;
]]></description>
			<content:encoded><![CDATA[<p>I have abandoned my email address <a href="mailto:stevet@red-green.com">stevet@red-green.com</a> thanks to   spam.<br /> I do look forward to the day where there is no spam. &nbsp;Yes, indeed, that day is coming!</p>
<p> &nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2008/05/spammers-win/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Six Stages of Debugging</title>
		<link>http://www.red-green.com/2008/01/the-six-stages-of-debugging/</link>
		<comments>http://www.red-green.com/2008/01/the-six-stages-of-debugging/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 20:42:02 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.red-green.com/2008/01/the-six-stages-of-debugging/</guid>
		<description><![CDATA[
That can&#39;t happen.
That doesn&#39;t happen on my machine.
That shouldn&#39;t happen.
Why is that happening?
Oh, I see.
How did that ever work?

]]></description>
			<content:encoded><![CDATA[<ol>
<li>That can&#39;t happen.</li>
<li>That doesn&#39;t happen on my machine.</li>
<li>That shouldn&#39;t happen.</li>
<li>Why is that happening?</li>
<li>Oh, I see.</li>
<li>How did that ever work?</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.red-green.com/2008/01/the-six-stages-of-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
