<?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>Sean Jordan &#187; Uncategorized</title>
	<atom:link href="http://seanjordan.me/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanjordan.me</link>
	<description>supernerd</description>
	<lastBuildDate>Wed, 25 Aug 2010 06:04:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A quick tip with how boolean expressions are handled in PHP</title>
		<link>http://seanjordan.me/2010/08/a-quick-tip-with-how-boolean-expressions-are-handled-in-php/</link>
		<comments>http://seanjordan.me/2010/08/a-quick-tip-with-how-boolean-expressions-are-handled-in-php/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 06:04:22 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=414</guid>
		<description><![CDATA[I can&#8217;t say this is specific to PHP, but this is another thing I see in code a lot, that kind of drives me nuts. if ($some_var == 3) { return TRUE; } else { return FALSE; } Because the == is a logical operator, the operation returns a boolean value. Boolean expressions like this [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t say this is specific to PHP, but this is another thing I see in code a lot, that kind of drives me nuts.</p>
<pre name="code" class="php">

if ($some_var == 3) {
   return TRUE;
} else {
   return FALSE;
}
</pre>
<p>Because the == is a logical operator, the operation returns a boolean value.  Boolean expressions like this always return TRUE or FALSE.</p>
<p>Ie, your code could be simplified to:</p>
<pre name="code" class="php">
    return ($some_var == 3);
</pre>
<p>It works with more complex examples as well:</p>
<pre name="code" class="php">
    return ( some_fun() &#038;&#038; $some_var == 3 || $foo == 'bar');
</pre>
<p>God, it seems like a lot of my posts are just complaining about the way <em>other</em> people write code.  You&#8217;d think it&#8217;s almost as if I write <strong>perfect</strong> code.  I now must take the time to admit that this is not the case.  Also, I can&#8217;t claim that coders who write in the style I just called out are wrong.  I just don&#8217;t like it. <img src='http://seanjordan.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2010/08/a-quick-tip-with-how-boolean-expressions-are-handled-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to the new host</title>
		<link>http://seanjordan.me/2010/08/welcome-to-the-new-host/</link>
		<comments>http://seanjordan.me/2010/08/welcome-to-the-new-host/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 00:38:29 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=409</guid>
		<description><![CDATA[You may have experienced some down time earlier today. I&#8217;ve moved to a new hosting solution! It&#8217;s not permanently settled, I&#8217;ve still got a lot of configuration to do, so service may be intermittent. Thanks!]]></description>
			<content:encoded><![CDATA[<p>You may have experienced some down time earlier today.</p>
<p>I&#8217;ve moved to a new hosting solution!</p>
<p>It&#8217;s not permanently settled, I&#8217;ve still got a lot of configuration to do, so service may be intermittent.</p>
<p>Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2010/08/welcome-to-the-new-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feedback wanted on email regex</title>
		<link>http://seanjordan.me/2010/07/feedback-wanted-on-email-regex/</link>
		<comments>http://seanjordan.me/2010/07/feedback-wanted-on-email-regex/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 00:36:21 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=396</guid>
		<description><![CDATA[I just wrote an email regex. If you don&#8217;t know much about regular expressions, don&#8217;t use this regular expression on your website. I&#8217;m not claiming this regex to be amazing. I just sat down to write one, and I want some feedback. If anyone can analyze it, and maybe tell me what I am not [...]]]></description>
			<content:encoded><![CDATA[<p>I just wrote an email regex.  If you don&#8217;t know much about regular expressions, <b>don&#8217;t use this regular expression on your website</b>.  I&#8217;m not claiming this regex to be amazing.  I just sat down to write one, and I want some feedback.</p>
<p>If anyone can analyze it, and maybe tell me what I am not thinking about, I&#8217;d appreciate it.  That&#8217;s all I want: to know what I am NOT thinking about.  My hope is, the insight from others may help me get better with this type of problem.  I&#8217;m not a regex rookie, I just thought it would be a nice exercise.  Gah.</p>
<p>There, now that all of that defending myself (probably for nothing) is out of the way, here it is:</p>
<p><code>/^[a-z0-9]+[a-z0-9-_.]*\@[a-z0-9]+[a-z0-9-_.]*\.([a-z]{2,4}|museum|travel)$/i</code></p>
<p>I purposely ignored the top level domains along the lines of <b>XN&#8211;MGBERP4A5D4AR</b>, because, well, I don&#8217;t want email from people on those domains?</p>
<p>Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2010/07/feedback-wanted-on-email-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Theorem #1</title>
		<link>http://seanjordan.me/2010/07/theorem-1/</link>
		<comments>http://seanjordan.me/2010/07/theorem-1/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 03:50:20 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=384</guid>
		<description><![CDATA[There exists an MD5 (or any other hashing algorithm, which produces fixed-length strings) sum, such that for some 32 character hexidecimal &#8220;string&#8221; (32 characters, when used with MD5), a, and another string, b of unknown length and character set, where the sum of the concatenation of a and b is identical to a. There just [...]]]></description>
			<content:encoded><![CDATA[<p>There exists an MD5 (or any other hashing algorithm, which produces fixed-length strings) sum, such that for some 32 character hexidecimal &#8220;string&#8221; (32 characters, when used with MD5), <em>a</em>, and another string, <em>b</em> of unknown length and character set, where the sum of the concatenation of <em>a</em> and <em>b</em> is identical to <em>a</em>.</p>
<p>There just has to be.  It may just be nearly impossible to find.</p>
<p>In much simpler terms, I&#8217;d state it like this:</p>
<pre name="code" class="php">
$a = md5($some_string); //give me some 32 character hexidecimal "string"
$b = $message_from_god;
$c = md5($a . $b);

if($a === $c) { //a and c are exactly identical!
   die('The world will now shatter to pieces.");
}
</pre>
<p>Make sense?  I can&#8217;t prove it, but I feel like it HAS to be true, for <em>b</em> of unlimited length.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2010/07/theorem-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New focus: nothing</title>
		<link>http://seanjordan.me/2010/06/new-focus-nothing/</link>
		<comments>http://seanjordan.me/2010/06/new-focus-nothing/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 02:59:49 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=318</guid>
		<description><![CDATA[So, I&#8217;ve decided to ditch the whole &#8216;Look at me, I&#8217;m a web developer: here is some useless PHP code!&#8217; theme that I had going on with my blog. Quite a few reasons. First, it was lame. Second, nobody really wants to read that. Third, I struggled to think of things to write about. More [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve decided to ditch the whole &#8216;Look at me, I&#8217;m a web developer: here is some useless PHP code!&#8217; theme that I had going on with my blog.  Quite a few reasons.  First, it was lame.  Second, nobody really wants to read that.  Third, I struggled to think of things to write about.  More complex examples would just take too much time; I&#8217;d probably lose focus before completing anything (If only you could see my &#8216;Drafts&#8217; folder).</p>
<p>Instead, from now on, I will probably make some more pointless posts that nobody wants to read, but I will hopefully enjoy more.  After all, this blog really is just about me, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2010/06/new-focus-nothing/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Worth Blogging About</title>
		<link>http://seanjordan.me/2009/11/worth-blogging-about/</link>
		<comments>http://seanjordan.me/2009/11/worth-blogging-about/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 06:30:18 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=93</guid>
		<description><![CDATA[Well, I thought I&#8217;d take a moment to bring up some news. Saturday, I officially made my first move towards becoming a successful affiliate marketer, with my first day of profit. It was only about $20 worth of profit, but, I hope to see that number grow, especially as the holiday shopping season kicks into [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I thought I&#8217;d take a moment to bring up some news.  Saturday, I officially made my first move towards becoming a successful affiliate marketer, with my first day of <span style="color:#00aa00; ">profit</span>.  It was only about $20 worth of profit, but, I hope to see that number grow, especially as the holiday shopping season kicks into full gear.</p>
<p>Perhaps, as I see more success, I&#8217;ll make more posts about my affiliate marketing ventures.  Yeah, one of <span style="font-style:italic; ">those</span> guys.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2009/11/worth-blogging-about/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>One Month Milestone</title>
		<link>http://seanjordan.me/2009/11/one-month-milestone/</link>
		<comments>http://seanjordan.me/2009/11/one-month-milestone/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 05:14:12 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=90</guid>
		<description><![CDATA[It&#8217;s now been over one month since I started this blog.  Just thought I&#8217;d point that out.  Have I made any valuable posts yet? I&#8217;d like to think so, but thats up for you to decide.  Aside from my blog, I&#8217;ve been working diligently on a few side projects, and some extra pages for my [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s now been over one month since I started this blog.  Just thought I&#8217;d point that out.  Have I made any valuable posts yet? I&#8217;d like to think so, but thats up for you to decide.  Aside from my blog, I&#8217;ve been working diligently on a few side projects, and some extra pages for my SeanJordan.me domain.</p>
<p>I&#8217;m that kind of person that always has 4,000 &#8220;entrepreneur&#8221; ideas going on in the back of my mind.  As I start unrolling some of these, I&#8217;ll be sure to let you in on them.  I have a good one coming up that I&#8217;d like to share, so be sure to stay tuned.  I&#8217;ll share as much as I can on my process of packaging up the finished product, how I market it, and any success I have.</p>
<p>It&#8217;s been one whole month, and I&#8217;m just now getting to 10 posts.  I&#8217;d hoped I would do better, I&#8217;ll try to in the future!</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2009/11/one-month-milestone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To all my readers, I&#8217;m sorry.</title>
		<link>http://seanjordan.me/2009/10/to-all-my-readers-im-sorry/</link>
		<comments>http://seanjordan.me/2009/10/to-all-my-readers-im-sorry/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 08:21:27 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=24</guid>
		<description><![CDATA[This one goes out to all my readers.  Its been almost two weeks since I set up this blog and I&#8217;m just now posting my second post.  To make matters worse, this isn&#8217;t even a relevant post.  I will say I started a couple drafts, and soon I should have a real content-related post up.  [...]]]></description>
			<content:encoded><![CDATA[<p>This one goes out to all my readers.  Its been almost two weeks since I set up this blog and I&#8217;m just now posting my second post.  To make matters worse, this isn&#8217;t even a relevant post.  I will say I started a couple drafts, and soon I should have a real content-related post up.  I just wanted to take the time and say, &#8220;I haven&#8217;t forgotten about you.&#8221;</p>
<p>So here it is, I&#8217;m sorry readers of my blog.  I&#8217;ll now call each of you out by name, to show my sincerity:</p>
<p>Googlebot 2.1 &#8211; You were my first loyal reader. Thanks for your continued support!<br />
Joker &#8211; You shared that awesome link about iPhones via the comments section.  I am eternally grateful! Thanks again!</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2009/10/to-all-my-readers-im-sorry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s got that new blog smell</title>
		<link>http://seanjordan.me/2009/10/hello-world/</link>
		<comments>http://seanjordan.me/2009/10/hello-world/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 19:36:30 +0000</pubDate>
		<dc:creator>Sean Jordan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seanjordan.me/?p=1</guid>
		<description><![CDATA[Hi.  Nice to meet you. My name is Sean Jordan, and I make web sites.  I&#8217;d like to use this blog as a way to share some tips, great scripts, cool websites, and any other randomness I feel fitting.]]></description>
			<content:encoded><![CDATA[<p>Hi.  Nice to meet you. My name is Sean Jordan, and I make web sites.  I&#8217;d like to use this blog as a way to share some tips, great scripts, cool websites, and any other randomness I feel fitting.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanjordan.me/2009/10/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
