<?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>Richard Morgan</title>
	<atom:link href="http://richardmorgan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://richardmorgan.com</link>
	<description>Web Development</description>
	<lastBuildDate>Wed, 11 May 2011 06:17:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Why I Support Brian Oley for Dallas City Council</title>
		<link>http://richardmorgan.com/dallas-city-council/why-i-support-brian-oley/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-i-support-brian-oley</link>
		<comments>http://richardmorgan.com/dallas-city-council/why-i-support-brian-oley/#comments</comments>
		<pubDate>Wed, 11 May 2011 06:13:58 +0000</pubDate>
		<dc:creator>Richard Morgan</dc:creator>
				<category><![CDATA[Dallas City Council]]></category>

		<guid isPermaLink="false">http://richardmorgan.com/?p=64</guid>
		<description><![CDATA[This is a letter I&#8217;m distributing to many of my neighbors: Dear Neighbor, I live near the corner of Elizabeth and McKinney. I just left you a door hanger for Brian Oley, who is running for City Council in our [...]]]></description>
			<content:encoded><![CDATA[<p>This is a letter I&#8217;m distributing to many of my neighbors:</p>
<p>Dear Neighbor,</p>
<p>I live near the corner of Elizabeth and McKinney.</p>
<p>I just left you a door hanger for Brian Oley, who is running for City Council in our district. He is a former resident of Uptown, and I wanted to leave a note explaining why I believe he is the best candidate to represent our neighborhood.</p>
<p>I first met Brian in March, though he has stood out to me in a positive light since early February. Since then, he has taken the time to meet with me on multiple occasions to discuss my concerns about our neighborhood and the city. Incidentally, one of those concerns is our current minimum parking regulations, which were established decades ago and are the source of many of our parking problems here in Uptown. He is committed to revisiting those regulations.</p>
<p>He also understands business, and he has pledged NOT to raise taxes. Instead, he is drawing on his experience as a former Sr. Auditor as he audits the city&#8217;s 650-page budget, looking for places to cut unnecessary spending. He believes that government transparency increases accountability, and he would like to improve both by making the city&#8217;s check registry available online for the public to track the city&#8217;s spending.</p>
<p>Some of you may not have heard much about Brian, and the reason for this is unlike other another candidate who is purchasing billboards across the city, Brian is running a 100% grassroots campaign. As a result, he has not flooded the media with promotional materials and paid political advertising, but instead he has a loyal following of individuals like me who are spreading the word because we feel he best represents our interests.</p>
<p>The media likes to focus on candidates who have raised the most money, often ignoring those who have raised little. Oley has funded his campaign with personal contributions and with several small contributions from friends and family. He explained to me that the reason for this is he wants his campaign to illustrate how he would run the city government&#8211;not with excessive spending but by cutting back and making responsible use of limited resources. I hope you join me in supporting his efforts.</p>
<p>If you would like a yard sign, please email me at contact@richardmorgan.com, and I will get you one.</p>
<p>In case anyone is wondering, I wrote and distributed this. It represents no one&#8217;s opinion but my own.</p>
<p>Sincerely,</p>
<p>Richard Morgan</p>
]]></content:encoded>
			<wfw:commentRss>http://richardmorgan.com/dallas-city-council/why-i-support-brian-oley/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Dom Exception: INVALID_CHARACTER_ERR (5) in IE9</title>
		<link>http://richardmorgan.com/web-development/jquery-dom-exception-invalid_character_err-5-in-ie9/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-dom-exception-invalid_character_err-5-in-ie9</link>
		<comments>http://richardmorgan.com/web-development/jquery-dom-exception-invalid_character_err-5-in-ie9/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 15:05:40 +0000</pubDate>
		<dc:creator>Richard Morgan</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.richardmorgan.com/?p=53</guid>
		<description><![CDATA[If you use jQuery and you&#8217;re getting these errors in IE9, there&#8217;s a good chance you need to upgrade to bgiframe 2.1.2: [php]DOM Exception: INVALID_CHARACTER_ERR (5)[/php]]]></description>
			<content:encoded><![CDATA[<p>If you use jQuery and you&#8217;re getting these errors in IE9, there&#8217;s a good chance you need to upgrade to <a href="https://github.com/brandonaaron/bgiframe/downloads" target="_blank">bgiframe 2.1.2</a>:</p>
<p>[php]DOM Exception: INVALID_CHARACTER_ERR (5)[/php]</p>
]]></content:encoded>
			<wfw:commentRss>http://richardmorgan.com/web-development/jquery-dom-exception-invalid_character_err-5-in-ie9/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Simple PHP Puzzle</title>
		<link>http://richardmorgan.com/web-development/simple-php-puzzle/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=simple-php-puzzle</link>
		<comments>http://richardmorgan.com/web-development/simple-php-puzzle/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 03:16:59 +0000</pubDate>
		<dc:creator>Richard Morgan</dc:creator>
				<category><![CDATA[PHP Interview Questions]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.richardmorgan.com/?p=44</guid>
		<description><![CDATA[I don&#8217;t care for a lot of the questions that I&#8217;ve been asked on interviews. Over time, I want to post a number of common, real-life PHP questions that I think would be more accurate at assessing how well someone [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t care for a lot of the questions that I&#8217;ve been asked on interviews. Over time, I want to post a number of common, real-life PHP questions that I think would be more accurate at assessing how well someone knows PHP. Naturally, the person interviewing should get the question right, but the speed and depth of the response should indicate how well they know the language.</p>
<p>This is an easy one. If you&#8217;re a PHP developer, you should be able to figure this out pretty quickly!</p>
<p>Scenario:</p>
<p>There are 2 files involved: skin.php and home.php. You load home.php in your browser, and the page title gets set, and the content gets output. Why doesn&#8217;t the navigation get displayed?</p>
<p>[php]<br />
&lt;?<br />
// skin.php</p>
<p>if( ! HIDE_NAV )<br />
	$nav = getNav();</p>
<p>function getNav()<br />
{<br />
	return &#8216;<br />
		&lt;ul&gt;<br />
			&lt;li&gt;&lt;a href=&quot;/&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
			&lt;li&gt;&lt;a href=&quot;/blog.php&quot;&gt;Blog&lt;/a&gt;&lt;/li&gt;<br />
			&lt;li&gt;&lt;a href=&quot;/about.php&quot;&gt;About Us&lt;/a&gt;&lt;/li&gt;<br />
			&lt;li&gt;&lt;a href=&quot;/contact.php&quot;&gt;Contact Us&lt;/a&gt;&lt;/li&gt;<br />
		&lt;/ul&gt;&#8217;;<br />
}</p>
<p>echo	&#8216;<br />
	&lt;html&gt;<br />
		&lt;head&gt;<br />
			&lt;title&gt;&#8217; . $title . &#8216;&lt;/title&gt;<br />
		&lt;/head&gt;</p>
<p>		&lt;body&gt;<br />
			&#8216; . $nav . &#8216;<br />
			&#8216; . $content . &#8216;<br />
		&lt;/body&gt;<br />
	&lt;/html&gt;&#8217;;</p>
<p>?&gt;<br />
[/php]</p>
<p>[php]<br />
&lt;?<br />
// home.php</p>
<p>$title = &#8216;Homepage&#8217;;<br />
$content = &#8216;Welcome to the homepage!&#8217;;</p>
<p>include &#8216;skin.php&#8217;;</p>
<p>?&gt;<br />
[/php]</p>
<p>Post your answer if you want feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://richardmorgan.com/web-development/simple-php-puzzle/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Zend Certified Engineer (ZCE), Zend Certification</title>
		<link>http://richardmorgan.com/web-development/zend-certified-engineer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zend-certified-engineer</link>
		<comments>http://richardmorgan.com/web-development/zend-certified-engineer/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 06:19:00 +0000</pubDate>
		<dc:creator>Richard Morgan</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.richardmorgan.com/?p=22</guid>
		<description><![CDATA[I became a Zend Certified Engineer in January 2009. At the time, I was more excited that there were under 50 PHP 5 Zend Certified Engineers in Texas than I was to actually be one of them! But I believe [...]]]></description>
			<content:encoded><![CDATA[<p>I became a Zend Certified Engineer in January 2009. At the time, I was more excited that there were under 50 PHP 5 Zend Certified Engineers in Texas than I was to actually be one of them! But I believe the Zend Certification is an important credential &#8212; especially as a PHP developer. Being a ZCE doesn&#8217;t mean you&#8217;re a good programmer, but because the barrier to entry is so low for PHP, it establishes that you at least know the language well. I&#8217;ve met people who&#8217;ve claimed to be PHP programmers simply because they installed and customized a PHP script. Being a Zend Certified Engineer doesn&#8217;t mean you&#8217;re great programmer, but at least it shows that you know PHP.</p>
<p>The biggest problem with the Zend Certification is its limited scope. It really only tests one thing &#8212; whether you know PHP. It will definitely test that you understand the difference between all the different sort methods and that you more or less know the order of parameters for all the important PHP functions (and several that you may not have thought were important), but when you think &#8220;Zend Certified Engineer&#8221;, you think of someone who understands what is required to build an enterprise-level PHP application that&#8217;s secure and scales well without any major maintenance issues. The biggest shortcoming with the exam is that it simply fails to test those things.</p>
<p>The good news is most recruiters don&#8217;t know that! Or if they do, they don&#8217;t care! (Maybe I&#8217;ve just had bad luck, but I&#8217;m impressed when I meet a recruiter who knows the difference between Java and JavaScript.) Being a ZCE has one major advantage that I&#8217;ve seen: if there are a couple dozen resumes sitting in a pile, the handful that say clearly Zend Certified Engineer will likely be moved to the top. Those candidates are simply the most likely to be qualified. Now the key is if it says Zend Certified Engineer, there&#8217;d better be some good work experience, or chances are it&#8217;s going to be a disappointment!</p>
<p>Here&#8217;s my actual listing in Zend Yellowpages: <a href="http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND007276" target="_blank">Richard Morgan</a></p>
]]></content:encoded>
			<wfw:commentRss>http://richardmorgan.com/web-development/zend-certified-engineer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Refugees in Vickery Meadow, Dallas; Bhutanese Refugees in Dallas, Burmese Refugees Lewisville</title>
		<link>http://richardmorgan.com/refugees/refugees-in-vickery-meadow-dallas/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=refugees-in-vickery-meadow-dallas</link>
		<comments>http://richardmorgan.com/refugees/refugees-in-vickery-meadow-dallas/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 05:22:22 +0000</pubDate>
		<dc:creator>Richard Morgan</dc:creator>
				<category><![CDATA[Refugees]]></category>
		<category><![CDATA[Dallas]]></category>
		<category><![CDATA[Vickery Meadow]]></category>

		<guid isPermaLink="false">http://www.richardmorgan.com/?p=23</guid>
		<description><![CDATA[In April, I met with the International Rescue Committee (IRC) about the tens of thousands of refugees living in Dallas. Here is what I learned: Each year, the President sets a cap on the number of refugees that the US [...]]]></description>
			<content:encoded><![CDATA[<p>In April, I met with the International Rescue Committee (IRC) about the tens of thousands of refugees living in Dallas. Here is what I learned:</p>
<p>Each year, the President sets a cap on the number of refugees that the US will shelter. In 2010, the US will accept up to 80,000 refugees, though for some reason, we usually don&#8217;t usually process anywhere close to the full number allowed. There is a cap of 2,500 refugees from Europe and Central Asia combined. 710 refugees came to Dallas via the IRC last year &#8212; 450 from Burma, 120 from Bhutan, 80 from Iraq, and the rest from other various countries. The Iraqi refugees are by far the most educated, but there are a lot of Bhutanese refugees, specifically in Vickery Meadow, who have little education.</p>
<p>Most of the refugees who come to Dallas live in Vickery Meadow (which is several square miles, northeast of Central Expressway and Northwest Highway), although there is a strong group of Burmese refugees in Lewisville. Vickery Meadow makes sense for a number of reasons: there are already lots of refugees nearby, rent is cheap, it&#8217;s within walking distance of the Dallas IRC headquarters, and people can have easy access to DART. I was told that there are &#8220;10&#8242;s of thousands&#8221; of refugees in Dallas, most of them living in Vickery Meadow, and the number is going to grow quite a bit over the next several years.</p>
<p>Refugees assisted by the IRC are provided with financial assistance for 120 days, and the goal is to get them familiar with their surroundings, working, and able to more or less provide for themselves within that time frame. Most of the refugees get food stamps and Medicaid within a few weeks of arriving. The food stamps can be renewed after the initial 4 months, depending on employment.</p>
<p>One of the IRC&#8217;s goals is to try to pair each family up with a mentor. It&#8217;s a 6-month mentorship program that just involves a volunteer spending about 2 hours a week, on average, with a refugee family, helping them practice their English, helping answer their questions and show them around, helping explain western culture, helping with job applications, etc. However, with around 60 volunteers and 710 refugees last year alone, they are quite understaffed. There are many other agencies and nonprofits working in the same neighborhoods but with their own refugees &#8212; it didn&#8217;t seem like they worked together much, but it may be that I just didn&#8217;t get to see that level of the operation.</p>
<p>To learn more or get involved, head to the <a title="Dallas IRC" rel="nofollow" href="http://www.theirc.org/us-program/us-dallas-tx" target="_blank">Dallas IRC</a> website. They will be happy to answer any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://richardmorgan.com/refugees/refugees-in-vickery-meadow-dallas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Generation and Search Engine Optimization</title>
		<link>http://richardmorgan.com/marketing/content-generation-and-search-engine-optimization/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=content-generation-and-search-engine-optimization</link>
		<comments>http://richardmorgan.com/marketing/content-generation-and-search-engine-optimization/#comments</comments>
		<pubDate>Tue, 18 May 2010 04:53:30 +0000</pubDate>
		<dc:creator>Richard Morgan</dc:creator>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.richardmorgan.com/blog/?p=11</guid>
		<description><![CDATA[[rough draft] I&#8217;ve been thinking about content generation lately. Search engines are in the business of finding and organizing information and then presenting the most relevant information they can find to those who are looking for it. Usually when I [...]]]></description>
			<content:encoded><![CDATA[<p>[rough draft]</p>
<p>I&#8217;ve been thinking about content generation lately. Search engines are in the business of finding and organizing information and then presenting the most relevant information they can find to those who are looking for it. Usually when I have anything interesting to say, I put it somewhere like Facebook or Twitter. It&#8217;s effective in that it more or less gets the people who follow me, but it does nothing to bring more visitors to my site.</p>
<p>It must be nearly impossible for a small, 5-page site to rank well for any competitive keyword. I&#8217;m not suggesting a simple site can&#8217;t get a top ranking &#8212; I&#8217;ve built half a dozen of those sites, and they&#8217;re all sitting very nicely in their market, but there is a big difference between holding the top ranking for <a href="http://www.spackleandsparkle.com" target="_blank">House Cleaning Rockwall</a> or <a href="http://www.ristmo.com" target="_blank">Rockwall Web Design</a> &#8212; neither of which have more than a dozen serious competitors &#8212; and getting a top ranking for something like Dallas Web Design which has thousands of competitors.</p>
<p>One of the phrases that has always interested me most is &#8220;search engine optimization&#8221;, because whoever can rank best for that phrase really is the best at search engine optimization. And the most obvious thing I continue to notice about that phrase is the top results all come from sites that have tons and tons of content and tons and tons of people linking to that content. <em>That</em> is what makes it the best result to show.</p>
<p>And so returning to the topic of content generation, the key to increasing organic traffic and getting a site to rank well is generating lots of content &#8212; content that can be indexed and organized, and content which is useful enough to cause others to link to and discuss it.</p>
<p>One of my goals for this site is to have a top ranking both for my name (Richard Morgan) and for the phrase web developer in the context of Dallas, Texas (where I live). Apparently Richard Morgan is a relatively popular name, because last I checked, there were nearly 4.5 million search results for it. Not just that, but there are a number of Richard Morgan&#8217;s who have either written books or run for political office, which means tons of sites are already linking to theirs. That sets me behind slightly, but I&#8217;m really not too concerned about it. When it comes to my name, it&#8217;s really just a matter of time and a little content before I outrank them. Simply having the domain name www.RichardMorgan.com will cause my site to rank a lot higher than many of the others. But my url doesn&#8217;t help me when it comes to ranking for Web Developer in Dallas.</p>
<p>There are two key aspects to ranking well. One is to increase the overall reputation of the site, and the other is to increase the relevance and reputation of a page. Ignoring page-specific optimization for now, since there&#8217;s really only so much that can be done, increasing the reputation of my site as a whole will pay off for each of the pages I decide to optimize individually.</p>
<p>Ultimately (down the road), the content I write on this site is a marketing tool. The more different phrases and topics my site ranks for, the more ways people can find my site, and the more people who find my site, the higher the chance they hear about and potentially use my services. What this means is that even just writing what little I know about refugees living in Vickery Meadow is a marketing campaign. There&#8217;s not a lot of reason to suspect that people trying to learn about the refugee situation here in Dallas are looking for a web developer, but who knows &#8212; <em>they could be</em>!</p>
<p>That&#8217;s the beauty of it. Simply by writing about all the different things that interest me, I&#8217;m creating content and building up more and more content that can be indexed. By writing about my interests, eventually groupings will begin to emerge. For example, if I write occasionally about going to happy hour in uptown, I may start to rank for specific happy hour queries, even if the bulk of my site is about business or web development.</p>
<p>As a result, writing about absolutely anything which interests me is an investment. And the beauty of writing about interests is that with time, hopefully they will develop, and I will begin to have more meaningful, insightful posts. The more meaningful the content, the more likely it becomes that it will further stimulate discussion regarding what I&#8217;ve written, again causing people to link to it. So simply by writing, I write better, and by writing better, I create leads and increase my site&#8217;s reputation.</p>
<p>As a web developer in Dallas, competing against my peers (and against multi-million dollar businesses) for a really tough keyword, I don&#8217;t know of a cheaper, easier way to begin to establish my site&#8217;s reputation in such a competitive market.</p>
<p><strong>Conclusion</strong></p>
<p>Ultimately, what I&#8217;m considering is that I&#8217;m doing myself a disservice to simply post random stuff on Facebook or Twitter. If I truly value my own site and want to begin to develop it and establish a reputation in Google, I need content that can be indexed&#8211;content that not only can be indexed but that can generate discussion and lead to others discussing my content. Ultimately, I need to be writing about the things I care about on my own site so that as I gain deeper understanding into all these random things, they will begin to feed visitors into my site and ultimately my interests will fuel my sales.</p>
<p><strong>Disclaimer</strong></p>
<p>Odds are I will be posting a lot of rough drafts. There is actually good reason for it, at least at this point. If I wait to write and rewrite and perfect each topic before posting it, it will take days or weeks for me to get around to completing a single post. I&#8217;m too much of a perfectionist to ever be satisfied with less. By simply posting what I have, I&#8217;ll solve the content generation problem quickly, and as I develop my points, I&#8217;ll begin to refine my writing.</p>
]]></content:encoded>
			<wfw:commentRss>http://richardmorgan.com/marketing/content-generation-and-search-engine-optimization/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Troubleshooting Errors: How many bytes?</title>
		<link>http://richardmorgan.com/web-development/troubleshooting-errors-how-many-bytes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=troubleshooting-errors-how-many-bytes</link>
		<comments>http://richardmorgan.com/web-development/troubleshooting-errors-how-many-bytes/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 06:07:50 +0000</pubDate>
		<dc:creator>Richard Morgan</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[404 errors]]></category>
		<category><![CDATA[IE 8]]></category>
		<category><![CDATA[Lookahead Downloader]]></category>
		<category><![CDATA[Trident/4.0]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.richardmorgan.com/blog/?p=4</guid>
		<description><![CDATA[Since tracking down a really annoying IE 8 issue last week, I&#8217;ve become increasingly observant of the number of bytes involved in the code I&#8217;m troubleshooting. For quite some time now (several months), I&#8217;ve been getting a number of 404 [...]]]></description>
			<content:encoded><![CDATA[<p>Since tracking down a really annoying IE 8 issue last week, I&#8217;ve become increasingly observant of the number of bytes involved in the code I&#8217;m troubleshooting. For quite some time now (several months), I&#8217;ve been getting a number of 404 errors which appeared to be scrambled strings, often containing html. The only thing they had in common was that Trident/4.0 appeared in the User-Agent. (Trident/4.0 is what identifies IE 8, even if the User-Agent says IE 7 &#8212; which is IE 8 running in compatibility mode.) As it turned out, IE 8&#8242;s Lookahead Downloader has a quirk that affects url&#8217;s that span any 4096th byte. The resulting url generated is a concatenation of the string immediately preceding the cutoff and the string immediately following it. It appears to treat any single or double quotation marks as delimiters. Fun issue. Not really &#8212; if you use XHTML, there&#8217;s no practical way to avoid getting these 404 errors from IE 8 users.</p>
<p>Several days later, I was troubleshooting an issue that also made little sense. There were two errors &#8212; one was an unclosed comment, and the other was an unexpected end of file. I went to the line in question and saw nothing abnormal that would be causing the issue. The page that errored is one that gets automatically re-generated, and the only possible scenario I could imagine was that the page must have been included as it was being written, and so the error took place because it had only been partially written when included. Made sense &#8212; seemed possible &#8212; but it was at most a theory. However, on a hunch, I checked the filesize of the page and noticed it was 69 KB, which made me excited. Sure enough, the error occured towards the bottom of the page. I copied the source code after the line the error occured and measured the number of bytes &#8212; it was right around 5 KB. At first, the most I had was a theory &#8212; a possible scenario, but with little support other than that I had no other explanation. Once I was able to demonstrate that the error occured 64 KB into the page, I had a case. Some numbers just aren&#8217;t coincidence.</p>
<p>Finally, a couple hours ago, one of my dba&#8217;s came by to tell that me a bunch of records were truncated after running my import process. I knew of no immediate reason why my script would have truncated any strings. I asked him whether his columns were able to hold the full length of the string, and he confirmed that they were. He said they were getting chopped off at &#8220;inf&#8221;, just a few words from the end. He hinted that my import script might be messed up, which I didn&#8217;t think was very likely. First thing I did was paste the string (up to &#8220;inf&#8221;) into my editor and check the length. It was 100 characters. Just too good a number to be coincidence. At this point, I found the procs that were responsible for saving the values to his tables. Sure enough &#8212; varchar(100).</p>
<p>Nothing terribly profound, but being aware of the number of bytes involved where issues occur can help confirm theories and be a helpful push in the right direction. In that last example, if the string had been truncated at 89 characters or 113 characters, I doubt I would have looked in the import proc first &#8212; I would have been scanning my code for string manipulation functions to see if something else could have chopped off the end. Strange, random number of characters, and I&#8217;m looking for a messed up regex; even, meaningful number of characters &#8212; I&#8217;m looking for something that truncates at a given number of bytes.</p>
]]></content:encoded>
			<wfw:commentRss>http://richardmorgan.com/web-development/troubleshooting-errors-how-many-bytes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

