<?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>Chet Reads &#38; Writes* &#187; Adventures in Coding</title>
	<atom:link href="http://chetgassett.com/category/adventures-in-coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://chetgassett.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 23:30:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Fun Times with Schrödinger&#8217;s Cat &amp; HTML</title>
		<link>http://chetgassett.com/2010/01/schrodingers-cat-html/</link>
		<comments>http://chetgassett.com/2010/01/schrodingers-cat-html/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 23:55:57 +0000</pubDate>
		<dc:creator>Chet</dc:creator>
				<category><![CDATA[Adventures in Coding]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://chetgassett.com/?p=284</guid>
		<description><![CDATA[Schrödinger&#8217;s cat is not dead. For more information: [Wikipedia Article] Also see: [User Friendly] Share/Bookmark]]></description>
			<content:encoded><![CDATA[<p>Schrödinger&#8217;s cat is <blink>not</blink> dead.</p>
<p>For more information: <a href="http://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat">[Wikipedia Article]</a></p>
<p>Also see: <a href="http://www.userfriendly.org/cartoons/archives/03apr/uf005440.gif">[User Friendly]</a></p>
<p><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://chetgassett.com/2010/01/schrodingers-cat-html/"></a><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://chetgassett.com/2010/01/schrodingers-cat-html/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://chetgassett.com/2010/01/schrodingers-cat-html/" data-text="Fun Times with Schrödinger&#8217;s Cat &#038; HTML"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchetgassett.com%2F2010%2F01%2Fschrodingers-cat-html%2F&amp;title=Fun%20Times%20with%20Schr%C3%B6dinger%E2%80%99s%20Cat%20%26%20HTML" id="wpa2a_4">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://chetgassett.com/2010/01/schrodingers-cat-html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Designer Declaration of Independence</title>
		<link>http://chetgassett.com/2009/07/web-declaration/</link>
		<comments>http://chetgassett.com/2009/07/web-declaration/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 17:53:26 +0000</pubDate>
		<dc:creator>Chet</dc:creator>
				<category><![CDATA[Adventures in Coding]]></category>
		<category><![CDATA[Comic Relief]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web standards]]></category>

		<guid isPermaLink="false">http://chetgassett.com/2009/web-declaration</guid>
		<description><![CDATA[I&#8217;m a huge fan of Web Design standards, and if I could I&#8217;d love to work with the W3C more closely. I believe that all Web developers, designers and users should follow their standards and stop taking petty shortcuts. Apparently I&#8217;m not alone; I&#8217;ve optimistically assumed that I never was alone in this. Sam Dunn [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a huge fan of Web Design standards, and if I could I&#8217;d love to work with the W3C more closely. I believe that all Web developers, designers and users should follow their standards and stop taking petty shortcuts. Apparently I&#8217;m not alone; I&#8217;ve optimistically assumed that I never was alone in this.<br />
Sam Dunn over on <i>Build Internet</i> has taken the time to develop <i><a href="http://buildinternet.com/2009/07/the-web-designer-declaration-of-independence/">The Web Designer Declaration of Independence</a></i>, and it&#8217;s awesome.<br />
The list of grievances are totally worth taking a gander at:</p>
<blockquote>
<ol>
<li>Myspace, which has empowered people everywhere to bring back the Geocities days of tiled backgrounds and animated GIFs. And sparkle text… so much sparkle text.</li>
<li>The Internet Marketer, their presence on Twitter, and their continued vague solicitations to “Market your internet”.</li>
<li>The pixel pusher client, because that one art class you took in college does not qualify you to “make the design better” by shifting everything 2 pixels to the left.</li>
<li>The family friend that gives you the “honor” of doing a free website for them. (Just wait, it will be the iTunes and Facebook killer – all in one).</li>
<li>Internet Explorer and everything it stands for.</li>
<li>Web 2.0 graphics, in all their high gloss, beveled, gradient covered, badge-y glory.</li>
<li>The use of meaningless stock photography, because a person and three of their coworkers are never that excited about what’s happening on a computer monitor. Stop pointing at it.</li>
<li>Tables used to layout an entire website with no tabular data. CSS was invented for a reason, quit using a candle when you have a lightbulb</li>
<li>“Dime a dozen” companies that “optimize SEO, innovate solutions, accessibility your HTML, scalability your Photoshop, and buzzword your buzzword. Oh yeah…unsurpassed quality too.”</li>
<li>Comic Sans.</li>
</ol>
</blockquote>
<p>For the full text of the declaration, and to sign it please visit <i><a href="http://buildinternet.com/2009/07/the-web-designer-declaration-of-independence/">Build Internet</a></i>.</p>
<p><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://chetgassett.com/2009/07/web-declaration/"></a><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://chetgassett.com/2009/07/web-declaration/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://chetgassett.com/2009/07/web-declaration/" data-text="Web Designer Declaration of Independence"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchetgassett.com%2F2009%2F07%2Fweb-declaration%2F&amp;title=Web%20Designer%20Declaration%20of%20Independence" id="wpa2a_8">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://chetgassett.com/2009/07/web-declaration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmer&#8217;s Delight</title>
		<link>http://chetgassett.com/2009/03/programmers-delight/</link>
		<comments>http://chetgassett.com/2009/03/programmers-delight/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 06:16:25 +0000</pubDate>
		<dc:creator>Chet</dc:creator>
				<category><![CDATA[Adventures in Coding]]></category>
		<category><![CDATA[Argh!]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Honey Pot]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://chetgassett.com/blog/?p=141</guid>
		<description><![CDATA[I've finally defeated most of the spammers in the world. I've struggled for months trying to solve my spam issues, to finally reach a resolve. There are multiple security techniques mentioned, though not explained. Help is provided if you're feeling left out.]]></description>
			<content:encoded><![CDATA[<p>I created a Web site for Fiance and I many months ago. It&#8217;s the home base for our wedding information as it stands now, and is updated almost daily by Fiance. It&#8217;s a relatively simple, and very, very minimal design. I think she is tired of it, and wants something more. I have a small project under works that I need to knock out, but then I need to do something new for Fiance. I feel something coming up now!</p>
<p>I sat down to pound out this post real quick in celebration of yet another victory by me against the spammers of the world. On aforementioned Web site I added a <a href="http://chetandnicole.com/guestbook">guestbook</a>. I know they used to be all the rage in the days of Angelfire, but with WordPress and Blogger with their fancy instantaneous comments, no one really uses guestbooks anymore. That is only a problem because when I started that Web site I was still a rather novice PHP programmer, and even younger still in experience with MySQL. Logically I did the next best thing to programming it from scratch, I found a basic script through Google. Sadly enough this script came with no security measures short of the ones that prevent SQL injections. </p>
<p>Over the course of three unchecked months we accumulated several pages of spam. All of it either penny stocks, Viagra or increasingly disturbing porn sites. My first attempts involved CAPTCHAs. I&#8217;ve always hated CAPTCHAs, and when I couldn&#8217;t program a successful one I hate them even more. I dropped that idea like a hot iron, and decided to attempt the <a href="http://en.wikipedia.org/wiki/Honeypot_(computing)">honey-pot method</a>. BINGO! It cleared out all spam I&#8217;ve had to worry about, and I get a convenient email every time an attempt is made. </p>
<p>Not long after my initial victory, I ran into something worse than a spam bot, a spam humanoid. The honey-pot method is virtually useless against human spammers. After a few weeks of collecting and deleting spam from real live people, I noticed the one common link among them. They all used the same e-mail service. For the sake of protecting my coding I won&#8217;t say which one. Tonight I&#8217;ve successfully implemented a means to block anyone using that Web address for email. Sadly though that blocks out a lot of traffic from a large country. Oh well, they shouldn&#8217;t let spammers run rampant. </p>
<p>Have any of you out there got any good spam stories?</p>
<p><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://chetgassett.com/2009/03/programmers-delight/"></a><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://chetgassett.com/2009/03/programmers-delight/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://chetgassett.com/2009/03/programmers-delight/" data-text="Programmer&#8217;s Delight"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchetgassett.com%2F2009%2F03%2Fprogrammers-delight%2F&amp;title=Programmer%E2%80%99s%20Delight" id="wpa2a_10">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://chetgassett.com/2009/03/programmers-delight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New, New, New!</title>
		<link>http://chetgassett.com/2008/12/new-new-new/</link>
		<comments>http://chetgassett.com/2008/12/new-new-new/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 16:10:07 +0000</pubDate>
		<dc:creator>Chet</dc:creator>
				<category><![CDATA[Adventures in Coding]]></category>

		<guid isPermaLink="false">http://chetgassett.com/new/blog/?p=122</guid>
		<description><![CDATA[Today is the first day of the new life of ChetGassett.com.]]></description>
			<content:encoded><![CDATA[<p>Today is the first day of the new life of ChetGassett.com. I have officially released v. 3.0, it&#8217;s been a long time coming, but it&#8217;s here now! I still have my treasured blog running, but I also now host my résumé and portfolio. Both of which are still being built up, but I couldn&#8217;t wait any longer to show this off!<br />
I&#8217;m very happy with this design, and I hope you love it too!</p>
<p><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://chetgassett.com/2008/12/new-new-new/"></a><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://chetgassett.com/2008/12/new-new-new/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://chetgassett.com/2008/12/new-new-new/" data-text="New, New, New!"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchetgassett.com%2F2008%2F12%2Fnew-new-new%2F&amp;title=New%2C%20New%2C%20New%21" id="wpa2a_12">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://chetgassett.com/2008/12/new-new-new/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Similar to the Panda, it&#8217;s a mystery to me how IE has survived.</title>
		<link>http://chetgassett.com/2008/08/similar-to-the-panda-its-a-mystery-to-me-how-ie-has-survived/</link>
		<comments>http://chetgassett.com/2008/08/similar-to-the-panda-its-a-mystery-to-me-how-ie-has-survived/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 23:37:57 +0000</pubDate>
		<dc:creator>Chet</dc:creator>
				<category><![CDATA[Adventures in Coding]]></category>
		<category><![CDATA[Argh!]]></category>

		<guid isPermaLink="false">http://chetgassett.com/chets_blog/?p=91</guid>
		<description><![CDATA[I recently entered the position of Web master at SHSU Recreational Sports. There are many projects that I am about to embark upon, but my first conquest is &#8220;fixing&#8221; the navigation bar. The following is the chronicle of my adventure into the land of CSS-only coding and design. Before I begin there are a few [...]]]></description>
			<content:encoded><![CDATA[<p>I recently entered the position of Web master at SHSU Recreational Sports. There are many projects that I am about to embark upon, but my first conquest is &#8220;fixing&#8221; the navigation bar. The following is the chronicle of my adventure into the land of CSS-only coding and design. Before I begin there are a few things you all should know.</p>
<ol>
<li>Internet Explorer should me likened to the spawn of Satan. Unlike the rest of Beelzebub&#8217;s seemingly intelligent sin practitioners,  it has Down Syndrome. I have a theory that Microsoft let a group of twelve three-year-old children write the Internet Explorer source code.</li>
<li>I hold great disdain for Internet Explorer and its tyrannical strangle hold over most household internet browser usage. If you&#8217;re viewing this now from Internet Explorer,  I beg of you to go out and download any of the other free browsers out there. This list includes but is not limited to Mozilla Firefox and Opera. They&#8217;re both superior to Internet Explorer.</li>
<li>Throughout the rest of this post Internet Explorer will be referred to as IE followed with a number to indicate which version I am working with (e.g. IE5.5, IE6, IE7).</li>
</ol>
<p>I sat down at my desk challenged with the task of making the Web site&#8217;s navigation bar work. On numerous pages the words and buttons didn&#8217;t line up or it was taking up more than one line on the page. Both of these unfortunate events were unacceptable. After browsing through the code behind the existing navigation bar and not being able to follow the previous author. I decided to create my own navigation bar to throw in, and to top it all off it was going to be completely CSS based. This was all jolly-good except I failed to understand that IE was coming in to thwart my day. The plan started out simple enough. I created a basic unordered list, then started applying the styles through my CSS, and it all started to flow together beautifully. I finally reached a point where I realized it would be a good time to give it a test run.</p>
<p>I opened up my browsers IE7 and Firefox 3.0. I loaded up the page and behold my link bar. I hovered over each button in IE, and everything worked flawlessly. I was so excited, because more often than not if it works in IE it will work in FF. I quickly clicked over to FF and then, what the hell? Nothing worked. The buttons just stared at me tauntingly. This was a crystal clear message. If it works in IE, but not FF it&#8217;s often because of faulty coding. I scoured my code, but found nothing. I then moved off to <a href="http://codingforums.com">CodingForums.com</a> for some real insight. They quickly helped me see my mistake and things were rolling smoothly again! Embarrasingly enough I was closing my list items too soon.</p>
<p>Now everything was working well, except the bar was vertically stacked instead of horizontally. I argued with my CSS for several minutes before I finally found a configuration that worked. It was extremely frustrating, because none of the techniques I was pulling out of the Google-sphere were working for me. Once i finally whipped the list into submission and had it flowing horizontally; I rested.</p>
<p>The next day I checked and noticed that everything was working everywhere, except IE6. There was no pop-down action what so ever. It was back to the forums. I found this neat little IE work-around which uses .htc files to force IE to accept the :hover pseudo-class. If that sounds like gibberish to you, that&#8217;s okay. It is gibberish that means nothing to real people. Just know that it means IE is a pain in my ass. I incorporated the .htc into my code and then it was once again working beautifully.</p>
<p>It was time for the final lap, the finish line was within sight and I would be sprinting by within in seconds. Suddenly somewhere YHWH decided to yell, &#8220;FAIL!&#8221; Eveything fell apart. I had loaded the RecSports homepage in FF3, IE6, and IE7. I focused on FF3 first. The menu was pushing everything down when it opened, and covered the words with errant background colors. I got rid of the background color, and added up some z-index (more gibberish). Success was mine! Everything was smashing in FF.</p>
<p>On to IE. IE7 actually offered me no issues except some positioning issues due to the z-indexing. Once I worked out the positions and sizing problems everything was flowing smooth. It was at this point that I was willing to award IE some point because of its drastic improvements between IE6 and IE7.</p>
<p>I pulled up IE6 and thar she blows. Everything was positioned perfectly! I excitedly scrolled over the links and saw the appropriate color changes, but then there were no drop downs. My brain went in to panicked mode. What had I changed that made it not work? I twiddled with the code making no progress. I finally decided to just view the menu by itself again. Lo and behold, the drop downs worked. I was perplexed to say the least.</p>
<p>I ran back to CodingForums to ask why in the world it worked in IE6 in some instances, but not all. No one has responded, except a great coder who has been a great help in all of this. They&#8217;ve suggested that I add in some JavaScript to counter-act IE6&#8242;s assholery (As a sidenote Firefox accepted the word <em>assholery</em> without question. What the heck?) This is where I am now, trying to incorporate the Javascript cleanly. It will work smoothly when I&#8217;m done.</p>
<p>The lesson you all should take away from this is, ABANDON INTERNET EXPLORER. Run for the hills and adopt any other Web browser out there! I use Firefox, but that&#8217;s because it&#8217;s fairly light and simple. Plus it let me have neat add-ins. There&#8217;s a link to the right that takes you to the Firefox download page. If you&#8217;re interested that is. One last proving point I have to offer is the fact that IE8 has been abandoned by Microsoft in support of Mozilla&#8217;s open source browser Firefox. This means that Firefox will come standard with Windows machines, and we won&#8217;t have to worry about IE workarounds ever again!</p>
<p>Next time: Grammar, Grammar and more Grammar!</p>
<p>ChetG</p>
<p><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://chetgassett.com/2008/08/similar-to-the-panda-its-a-mystery-to-me-how-ie-has-survived/"></a><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://chetgassett.com/2008/08/similar-to-the-panda-its-a-mystery-to-me-how-ie-has-survived/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://chetgassett.com/2008/08/similar-to-the-panda-its-a-mystery-to-me-how-ie-has-survived/" data-text="Similar to the Panda, it&#8217;s a mystery to me how IE has survived."></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchetgassett.com%2F2008%2F08%2Fsimilar-to-the-panda-its-a-mystery-to-me-how-ie-has-survived%2F&amp;title=Similar%20to%20the%20Panda%2C%20it%E2%80%99s%20a%20mystery%20to%20me%20how%20IE%20has%20survived." id="wpa2a_16">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://chetgassett.com/2008/08/similar-to-the-panda-its-a-mystery-to-me-how-ie-has-survived/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

