<?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>CoryMathews.com</title>
	<atom:link href="http://corymathews.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://corymathews.com</link>
	<description>Things I should remember and then some...</description>
	<lastBuildDate>Wed, 04 Aug 2010 18:32:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Open All External Links in New Tabs</title>
		<link>http://corymathews.com/628/make-all-external-links-open-in-a-new-tab/</link>
		<comments>http://corymathews.com/628/make-all-external-links-open-in-a-new-tab/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 18:26:51 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=628</guid>
		<description><![CDATA[Here is a quick bit of jQuery to make all external links have the target=_blank attribute. &#60;script type="text/javascript"&#62; $(function(){ $("a[href^='http:']").not("[href*=EXAMPLE.com']").attr({ target: "_blank" }); }); &#60;/script&#62; You could also use this same technique to add a small friendly image next to these links  notifying the user they are about to leave the site. &#60;script type="text/javascript"&#62; $(function(){ [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick bit of jQuery to make all external links have the target=_blank attribute.</p>
<pre name="code" class="javascript">&lt;script type="text/javascript"&gt;
$(function(){
$("a[href^='http:']").not("[href*=EXAMPLE.com']").attr({ target: "_blank" });
});
&lt;/script&gt;</pre>
<p>You could also use this same technique to add a small friendly image next to these links  notifying the user they are about to leave the site.</p>
<pre name="code" class="javascript">&lt;script type="text/javascript"&gt;
$(function(){
$("a[href^='http:']").not("[href*=EXAMPLE.com']").attr({ target: "_blank" }).append(" &lt;img src=\"outLink.jpg\"&gt;");
});
&lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/628/make-all-external-links-open-in-a-new-tab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>301 Redirect using URLRewrite</title>
		<link>http://corymathews.com/597/301-redirect-using-urlrewrite/</link>
		<comments>http://corymathews.com/597/301-redirect-using-urlrewrite/#comments</comments>
		<pubDate>Tue, 11 May 2010 13:30:40 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=597</guid>
		<description><![CDATA[Just in case.. A 301 redirect tells the browser/search engine that the page has permanently been moved to this new address. First install URLRewrite on a windows server with IIS7 from  http://www.iis.net/download/URLRewrite After its installed a new button titled URL Rewrite will be added. Select it. Under Actions click Add Rule(s)&#8230; Select Rule with URL [...]]]></description>
			<content:encoded><![CDATA[<p><em>Just in case.. A 301 redirect tells the browser/search engine that the page has permanently been moved to this new address. </em></p>
<p>First install URLRewrite on a windows server with IIS7 from  <a href="http://www.iis.net/download/URLRewrite">http://www.iis.net/download/URLRewrite</a></p>
<p>After its installed a new button titled<strong> URL Rewrite</strong> will be added. Select it.</p>
<p><a href="http://corymathews.com/wp-content/uploads/2010/04/IISUrlRedirect.jpg"><img class="aligncenter size-full wp-image-599" title="IISUrlRedirect" src="http://corymathews.com/wp-content/uploads/2010/04/IISUrlRedirect.jpg" alt="IIS7 URL Redirect" width="546" height="277" /></a></p>
<p>Under Actions click <strong>Add Rule(s)</strong>&#8230;</p>
<p>Select <strong>Rule with URL Rewrite map</strong></p>
<p><a href="http://corymathews.com/wp-content/uploads/2010/04/IISRuleWithRewriteMap.jpg"><img class="aligncenter size-full wp-image-600" title="IISRuleWithRewriteMap" src="http://corymathews.com/wp-content/uploads/2010/04/IISRuleWithRewriteMap.jpg" alt="IIS7 Rule With Rewrite Map" width="546" height="277" /></a><strong>Change the Rule Action to Redirect </strong>and give it any name you wish it makes no difference what it is.</p>
<p>Then under actions click <strong>Add Mapping Entry</strong>&#8230;</p>
<p><a href="http://corymathews.com/wp-content/uploads/2010/04/IISMapping.jpg"><img class="aligncenter size-full wp-image-601" title="IISMapping" src="http://corymathews.com/wp-content/uploads/2010/04/IISMapping.jpg" alt="IIS7 Mapping" width="385" height="212" /></a>In the Original Value field give the path to the old page without the http://www.example.com in the above example it redirects /oldpage.html to /newpage.html</p>
<p>Keep adding new Mapping Entries for every page you need to redirect.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/597/301-redirect-using-urlrewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Select and Insert in 1 SQL Query</title>
		<link>http://corymathews.com/570/select-and-insert-in-1-sql-query/</link>
		<comments>http://corymathews.com/570/select-and-insert-in-1-sql-query/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 21:30:14 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[MsSQL]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=570</guid>
		<description><![CDATA[I really dislike messing with cursors and loops in SQL and so I jump on any chance I get to avoid them. This little SQL-Server trick allow me to perform a select and insert statements in just 1 short query. In the simplest form the query looks like the following. INSERT INTO Table2 (col1, col2) [...]]]></description>
			<content:encoded><![CDATA[<p>I really dislike messing with cursors and loops in SQL and so I jump on any chance I get to avoid them. This little SQL-Server trick allow me to perform a select and insert statements in just 1 short query. In the simplest form the query looks like the following.</p>
<pre>INSERT INTO Table2 (col1, col2)
SELECT col3, col4
FROM Table1</pre>
<hr />How about a bit detailed example using the following sample database structure.</p>
<p><strong>Table1</strong><br />
===========<br />
Tbl1_ID (going to assume an auto increment here)<br />
FK_Tbl2_ID<br />
Data_Copy</p>
<p><strong>Table2</strong><br />
===========<br />
Tbl2_ID<br />
Data</p>
<p><strong>Query1</strong>: Select Tbl2_ID From Table2 Where Data = 1</p>
<p>For every returned record from query1 it should insert a record into Table1</p>
<pre>INSERT INTO Table1 (FK_Tbl2_ID, Data_Copy)
SELECT Tbl2_ID, Data
FROM Table2
WHERE Data = 1</pre>
<p>If anyone has seen/done any kind of performance testing on this sort of query would you kindly post them below.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/570/select-and-insert-in-1-sql-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Validation ($SCHEMA$): Element ‘html’ and ASP.NET 2010</title>
		<link>http://corymathews.com/575/validation-schema-element-%e2%80%98html%e2%80%99-and-asp-net-2010/</link>
		<comments>http://corymathews.com/575/validation-schema-element-%e2%80%98html%e2%80%99-and-asp-net-2010/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 13:34:36 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=575</guid>
		<description><![CDATA[I finally got fed up with &#8220;Warning Validation ($SCHEMA$): Element ‘html’&#8221; enough today that I spent some time to figure out what was causing all the warnings on every html or even &#60;asp&#62; tag I had in my .aspx pages. Every time I would build my project I would get tons of warnings such as [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got fed up with &#8220;Warning Validation ($SCHEMA$): Element ‘html’&#8221; enough today that I spent some time to figure out what was causing all the warnings on every html or even &lt;asp&gt; tag I had in my .aspx pages. Every time I would build my project I would get tons of warnings such as</p>
<blockquote><p>Validation ($SCHEMA$): Element ‘html’<br />
Validation ($SCHEMA$): Element ‘div’<br />
Validation ($SCHEMA$): Element ‘table’<br />
blah.. on and on they went.</p></blockquote>
<p>The warnings however were not the problem, it was that IntelliSense would stop working when these were present.</p>
<h2>How to Fix it</h2>
<p>Crazy enough it seems that the default validation for html in Visual Studio 2010 is.. nothing. So nothing validates.</p>
<p><em>I knew that Microsoft didn&#8217;t care about web standards but damn.</em></p>
<p>Go to Tools &gt; Options &gt; Text Editor &gt; HTML &gt; Validation &gt; select one of the options.</p>
<p>I also disabled the show errors checkbox, mainly because I really don&#8217;t care about everything that does not validate.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/575/validation-schema-element-%e2%80%98html%e2%80%99-and-asp-net-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Animation</title>
		<link>http://corymathews.com/514/jquery-animation/</link>
		<comments>http://corymathews.com/514/jquery-animation/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 17:17:02 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=514</guid>
		<description><![CDATA[I was recently working with the .animate() function and found there are some really cool effects you can create with it. However the more I used it the more problems I ran into. Basic usage of .animate() Just for good measure here is the basic usage of the .animate() function. I won&#8217;t go to far into [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently working with the .animate() function and found there are some really cool effects you can create with it. However the more I used it the more problems I ran into.</p>
<p><strong>Basic usage of .animate()</strong></p>
<p>Just for good measure here is the basic usage of the .animate() function. I won&#8217;t go to far into this, check out the <a title="jQuery API Animate" href="http://api.jquery.com/animate/">jQuery API for more</a>.</p>
<pre name="code" class="html">$("#SomeID").animate({ width: '50px' }, { duration: 500 });</pre>
<p>This animates the id SomeID to a width of 50px over 500 milliseconds with a basic linear slide transition.</p>
<p><strong>The &#8220;animation&#8221; queue.</strong> (or so I will call it)</p>
<p>When jquery runs the .animate() function it runs it along side other javascript. This allows me to add multiple animations to a queue and then run one after another instead of all at the same time. For example</p>
<pre name="code" class="html">
$("#SomeID").animate({ width: '50px' }, { duration: 500 });
$("#SomeID").animate({ width: '150px' }, { duration: 500 });
$("#SomeID").animate({ width: '50px' }, { duration: 500 });
$("#SomeID").animate({ width: '150px' }, { duration: 500 });
</pre>
<p>This code will animate an id from a width of 50px to 150px to 50px to 150px one after another so I see a nice smooth slide from one stage to the next.</p>
<p>Now this code.</p>
<pre name="code" class="html">
$("#SomeID").animate({ width: '50px' }, { duration: 500 });
$("#SomeID").animate({ width: '150px' }, { duration: 500 });
$("#SomeID").animate({ width: '50px' }, { duration: 500 });
$("#SomeID").animate({ width: '150px' }, { duration: 500 });
alert('hi');
</pre>
<p>Notice the alert appears to run first. This <a href="http://stackoverflow.com/questions/1667757" target="_blank">got me</a> until I stopped to really think about the animation queue.</p>
<p>Take a look at this example from <a href="http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup" target="_blank">learning jquery</a></p>
<pre name="code" class="html">
$(document).ready(function() {
  $('ul.anim_queue_example1 a').hover(function() {
    $(this).animate({ left: 20 }, 'fast');
  }, function() {
    $(this).animate({ left: 0 }, 'fast');
  });
});
</pre>
<p>This is a simple hover effect for a list menu. The problem may not be easily spotted at first but try it out. Running your mouse over the menu quickly will cause the queue to fill up with animations and continue running them long after you stop. More then likely not the desired effect.</p>
<p><a href="http://brandonaaron.net/" target="_blank">Brandon Aaron</a> was easily able to fix this by adding a simple .stop() to the functions.</p>
<p>This now gives you this code</p>
<pre name="code" class="html">
$(document).ready(function() {
  $('ul.anim_queue_example2 a').hover(function() {
    $(this).stop().animate({ left: 20 }, 'fast');
  }, function() {
    $(this).stop().animate({ left: 0 }, 'fast');
  });
});
</pre>
<p>Adding the .stop() function will stop the current animation in the queue before running the next animation and will fix the problem.</p>
<p>Ok, now for the example problem that does not get fixed by calling .stop().</p>
<p>For the next example I am going to be using the<a href="http://blog.mythin.net/file_download/5" target="_blank">pause plugin</a> by Johnathan Howard and posted below</p>
<pre name="code" class="html">
$.fn.pause = function(milli) {
  milli = milli || 1000;
  return this.queue("fx",function(){
    var self = this;
    setTimeout(function(){$.dequeue(self);},milli);
  });
};
</pre>
<p>Now check out the following:</p>
<pre name="code" class="html">
$("#SomeID, #SomeID2").animate({ width: '50px' }, { duration: 500 }).pause(350);
$("#SomeID, #SomeID2").animate({ width: '150px' }, { duration: 500 });
$("#SomeID, #SomeID2").animate({ width: '50px' }, { duration: 500 }).pause(350);
$("#SomeID, #SomeID2").animate({ width: '150px' }, { duration: 500 });
$("#someID3").hover(function() {
$("#SomeID , #SomeID2").stop().height(50).width(50).animate({ width: '150px' }, 500);
} , function() {
$("#SomeID ").stop().animate({ width: '50px' }, 200);
$("#SomeID2").stop().animate({ width: '50px' }, 200);
});
</pre>
<p>This example will stop the current animation but when that short pause ends it will continue with the queue and mess with the desired animated effects. To stop this problem is actually pretty easy. To solve it change .stop() to .stop(true, false). This is because in .stop(true, false) the first true is the clearQueue parameter. This will clear all queued actions for the object. Meaning that all the future animations, once delayed, are now removed and will not interfere with the hover event.</p>
<p><strong>More problems</strong></p>
<p>1 more problem I have not looked into solving put probably will have to eventually is the problem of keeping those animations until after the hover is finished. Not every time will I want to completely clear the queue. I could see it being likely that I would want to do something more like the following:</p>
<pre name="code" class="html">
$("#someID3").hover(function() {
$("#SomeID , #SomeID2").pauseQueue().animate({ width: '150px' }, 500);
} , function() {
$("#SomeID , #SomeID2").stop().animate({ width: '50px' }, 200).startQueue();
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/514/jquery-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery to solve the 100% height problem</title>
		<link>http://corymathews.com/532/jquery-to-solve-the-100-height-problem/</link>
		<comments>http://corymathews.com/532/jquery-to-solve-the-100-height-problem/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:47:48 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=532</guid>
		<description><![CDATA[Real short post today just a quick snippet of jQuery that solves the 100% height problem. Yes there are complete CSS solutions to this but it seems that at times they can be problematic, and at other times laziness can kick in. $(document).ready(function () { $("#divID").height($(document).height()); }); //And the slightly more fancy way. With a [...]]]></description>
			<content:encoded><![CDATA[<p>Real short post today just a quick snippet of jQuery that solves the 100% height problem. </p>
<p>Yes there are complete CSS solutions to this but it seems that at times they can be problematic, and at other times laziness can kick in.</p>
<pre name="code" class="html">$(document).ready(function () {
    $("#divID").height($(document).height());
});</pre>
<p>//And the slightly more fancy way. With a subtle slide down.</p>
<pre name="code" class="html">$(document).ready(function () {
    $("#divID").animate({ height: $(document).height() }, 500 );
});</pre>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/532/jquery-to-solve-the-100-height-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Letting Google Load jQuery&#8230; The Right Way</title>
		<link>http://corymathews.com/517/letting-google-load-jquery-the-right-way/</link>
		<comments>http://corymathews.com/517/letting-google-load-jquery-the-right-way/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 00:23:42 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=517</guid>
		<description><![CDATA[For some time now I have been letting google load the jQuery and jQuery UI libraries for me. There are many benefits to it which I will not get into, you can read more reasons to use it elsewhere. However I did notice something worth posting. You may be loading the jQuery library like so: [...]]]></description>
			<content:encoded><![CDATA[<p>For some time now I have been letting google load the jQuery and jQuery UI libraries for me. There are many benefits to it which I will not get into, you can read more reasons to use it elsewhere. However I did notice something worth posting.</p>
<p>You may be loading the jQuery library like so:</p>
<pre class="html">&lt;script src="http://jqueryjs.googlecode.com/files/jquery-1.4.2.min.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>Well if you are then <strong>you are doing it wrong</strong>.</p>
<p>It was ySlow that told me why. Try changing that one line to the following and take another look at ySlow.</p>
<pre class="html">&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>Notice the difference? <strong>Google is now gzipping the library</strong> when its called from googleapis.com instead of googlecode.com thus lowering the files size drastically.</p>
<p>For those of us that are to lazy to try it out here is the result with the googleapis.com loaded instead of the googlecode.com.</p>
<p><a href="http://corymathews.com/wp-content/uploads/2009/12/jQueryLoading.gif"><img class="aligncenter size-medium wp-image-520" title="jQueryLoading" src="http://corymathews.com/wp-content/uploads/2009/12/jQueryLoading-300x27.gif" alt="jQueryLoading" width="300" height="27" /></a></p>
<p>You can see instead of downloading 57.2kb that you would with the googlecode file the gzip compression brings it down to 19kb.</p>
<p>The same rule would apply for other<a href="http://code.google.com/apis/ajaxlibs/documentation/#AjaxLibraries"> libraries that are hosted by google</a>. such as mootools, or even the jQuery UI.</p>
<p>So next time you go to include the library make sure to do it the right way.</p>
<p>Now I just need to switch all the sites I have that are using it.. such as this one.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/517/letting-google-load-jquery-the-right-way/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bug Reporting</title>
		<link>http://corymathews.com/497/bug-reporting/</link>
		<comments>http://corymathews.com/497/bug-reporting/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 12:32:52 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=497</guid>
		<description><![CDATA[Well it took it long enough for someone to officially report iSearchNotes.com&#8216;s first bug. By officially I mean not calling/texting/emailing me directly to tell me there was a bug but finding some way within the site. After I realized what the bug was, I am sure that many users have come across it before, but [...]]]></description>
			<content:encoded><![CDATA[<p>Well it took it long enough for someone to officially report <a title="Search College Student Notes" href="http://www.isearchnotes.com/">iSearchNotes.com</a>&#8216;s first bug. By officially I mean not calling/texting/emailing me directly to tell me there was a bug but finding some way within the site.</p>
<p>After I realized what the bug was, I am sure that many users have come across it before, but for whatever reason none of them submit the bug to me.  <strong></strong></p>
<p><strong>Why did it take so long?</strong></p>
<p>I would say on a normal business day i spend 10 hours a day developing (4 10&#8242;s is the way to go!). I probably run into 1-2 software bugs, not counting any in my own apps. That number goes way up if the day consists of heavy adobe product usage (fucking flash), up to about 6-10 in a single day. Regardless, I run into lots of bugs and may only report  one every 2-3 months.</p>
<p>Doing the math that means that there is 90-270 bugs I run into before I report 1 of them. Yes some of those are duplicate bugs but still thats a lot of missed reports.  <strong></strong></p>
<p><strong>So why do I not report more bugs?</strong></p>
<p>I would consider myself to be part of the target audience who <em>should</em> report software bugs, but I don&#8217;t.</p>
<ul>
<li><strong>Reporting bugs takes to long</strong></li>
</ul>
<p style="padding-left: 60px">Taking the time to put in enough information for a fellow developer to debug some error takes way to long. I would guess that on average it takes about 10-20 minutes. I personally do not care enough to spend 20 minutes to have point number 2 happen.</p>
<ul>
<li><strong>They normally mark it as unreproducible</strong> (Microsoft you are terrible at this!)</li>
</ul>
<p style="padding-left: 60px">Over time I have submitted 4-6 bugs to Microsoft, all about visual studio, with as much information as I can, and every single one has been marked unreproducible, then resolved (I don&#8217;t know how the fuck they consider it resolved?), then closed. <strong>It feels as if I am wasting my time</strong>, and because of it I stop submitting any more bugs.</p>
<p style="padding-left: 60px">On the other hand, when not dealing with Microsoft, I normally do not receive any kind of notice saying the company received the bug. So again I stop sending them in.</p>
<p style="padding-left: 60px"><strong>Make sure you respond to your users who are sending you bugs!</strong> Otherwise they will end up like myself and stop submitting ANY kind of feedback.</p>
<ul>
<li><strong>I have no clue where to report a bug</strong> (Adobe)</li>
</ul>
<p style="padding-left: 60px">Personally I hate adobe. Everyday it grows closer to my hate for apple, regardless with the exception of Facebook they seem to be the only major software company to have such buggy software. I cannot use an adobe product for more then a couple hours without it crashing. Flash, and Flash player are the worst!</p>
<ul>
<li><strong>I have no desire to report the bug</strong></li>
</ul>
<p style="padding-left: 60px">Sometimes we just have no desire to submit the bug. We couldn&#8217;t care less about the software and really don&#8217;t want to waste my time submitting the bug.</p>
<p style="padding-left: 60px"><strong>When you get a bug the user is telling the company that they care about their product, and that want them to fix it!</strong></p>
<p style="padding-left: 60px">So don&#8217;t get mad about bugs, be glad that users are submitting them.<strong> </strong></p>
<p><strong>How can we create a better way to report software bugs?</strong></p>
<p>I have not come across a site that does a better job then <a title="Free Internet Music" href="http://www.grooveshark.com/">grooveshark</a>. On their site they have a feedback button clearly located on every page.</p>
<p><img title="feedback" src="http://corymathews.com/wp-content/uploads/2009/10/feedback-300x222.png" alt="feedback" width="300" height="222" /></p>
<p>Once you click on this feedback button a very friendly message pops up and asks how you feel about the message and then asks for the message itself. Its a very simple way to get feedback and works great for submitting bugs, feedback, and any other form of general contact to them.</p>
<p><a href="http://corymathews.com/wp-content/uploads/2009/10/feedback2.png"><img class="size-medium wp-image-500  alignnone" title="feedback2" src="http://corymathews.com/wp-content/uploads/2009/10/feedback2-300x222.png" alt="feedback2" width="300" height="222" /></a><strong></strong></p>
<p><strong>What did this user go through to submit a bug on my site?</strong></p>
<p>This is a valid question that all site owners need to look into. Currently this site (corymathews.com) has a very prominent contact button.</p>
<p><a href="http://corymathews.com/wp-content/uploads/2009/10/feedback6.png"><img class="size-medium wp-image-506  alignnone" title="feedback6" src="http://corymathews.com/wp-content/uploads/2009/10/feedback6-300x77.png" alt="feedback6" width="300" height="77" /></a></p>
<p>How long did it take you to find it? Odds are, not to long.  However when I take a look at the <a href="http://www.isearchnotes.com">iSearchNotes.com</a> site its not so clear. Take a look at the image bellow.</p>
<p><a href="http://corymathews.com/wp-content/uploads/2009/10/feedback3.png"><img class="size-medium wp-image-501  alignnone" title="feedback3" src="http://corymathews.com/wp-content/uploads/2009/10/feedback3-300x247.png" alt="feedback3" width="300" height="247" /></a><strong></strong></p>
<p><strong>Do you quickly see a way to submit bugs?</strong></p>
<p>Well if you really looked you would find 2 ways to contact me. You probably semi quickly saw the feedback link in the right, but it may have taken you a while to notice the contact link in the footer.</p>
<p>While this is by no means the best solution I would say that it is sufficient for such a small site as <a title="Search College Student Notes" href="http://www.isearchnotes.com/">iSearchNotes.com</a>. However as the site grows I will need a more clear way to submit feedback.  <strong></strong></p>
<p><strong>How about we take a look at a larger site such as Facebook.</strong></p>
<p><strong></strong> <a href="http://corymathews.com/wp-content/uploads/2009/10/feedback4.png"><img class="size-medium wp-image-502  alignnone" title="feedback4" src="http://corymathews.com/wp-content/uploads/2009/10/feedback4-300x13.png" alt="feedback4" width="300" height="13" /></a><strong></strong></p>
<p>Did you notice that tiny help button in the bottom right corner? I did not think that you would click help to submit a bug. This is like hitting start to shutdown&#8230; confusing.</p>
<p>Even after you click on the help button you will come to a screen where you must click suggestions from a large listing of other random crap in order to submit a bug.</p>
<p><a href="http://corymathews.com/wp-content/uploads/2009/10/feedback5.png"><img class="size-medium wp-image-503    alignnone" title="feedback5" src="http://corymathews.com/wp-content/uploads/2009/10/feedback5-300x217.png" alt="feedback5" width="300" height="217" /></a></p>
<p>Needless to say its way to hard to submit bugs to facebook and facebook is HUGE! There is no excuse for such a large site to be so difficult.</p>
<p>So how hard is it to submit a bug about your site/application? Could you making it simpler?</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/497/bug-reporting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing a Blender Model into OpenGL</title>
		<link>http://corymathews.com/204/importing-a-blender-model-into-opengl/</link>
		<comments>http://corymathews.com/204/importing-a-blender-model-into-opengl/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 05:10:53 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[Misc Programming]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=204</guid>
		<description><![CDATA[Recently I was looking for a simple way to export a basic model from blender to use in my opengl code written with c++. After a few searches I came up with nothing and decided to look at all the different ways I could export a blender file. The first that was easy enough to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was looking for a simple way to export a basic model from blender to use in my opengl code written with c++. After a few searches I came up with nothing and decided to look at all the different ways I could export a blender file. The first that was easy enough to recognize the pattern right away was the the Raw Faces (.raw) format.</p>
<p>I quickly created a very basic (and very bad) model of a cup to see how it looked when I exported the cup in the .raw format. You can export a blender model using this format by first selecting the object you want to export (For whatever reason only the selected object(s) will be exported.) Then go to File -&gt; Export -&gt; Raw Faces(.raw). This is what I got after exporting. There shouldn&#8217;t be line wraps, however depending on your monitor you may see them. You can download the file in .raw format <a href="http://corymathews.com/wp-content/uploads/2009/01/cup.raw">here</a>.</p>
<blockquote><p>0.011633 -0.011633 0.011633 -0.001836 -0.016245 0.011633 -0.001512 -0.011633 -0.011633 0.008956 -0.008956 -0.011633<br />
-0.001836 -0.016245 0.011633 -0.011633 -0.011633 0.011633 -0.008956 -0.008956 -0.011633 -0.001512 -0.011633 -0.011633<br />
0.008956 0.008956 -0.011633 -0.001512 0.011633 -0.011633 -0.001836 0.016993 0.011633 0.011633 0.011633 0.011633<br />
-0.001512 0.011633 -0.011633 -0.008956 0.008956 -0.011633 -0.011633 0.011633 0.011633 -0.001836 0.016993 0.011633<br />
0.011633 -0.001745 -0.011633 0.008956 0.008956 -0.011633 0.011633 0.011633 0.011633 0.016943 -0.002119 0.011633<br />
0.016943 -0.002119 0.011633 0.011633 -0.011633 0.011633 0.008956 -0.008956 -0.011633 0.011633 -0.001745 -0.011633<br />
-0.011633 -0.011633 0.011633 -0.016295 -0.002119 0.011633 -0.011633 -0.001745 -0.011633 -0.008956 -0.008956 -0.011633<br />
-0.016295 -0.002119 0.011633 -0.011633 0.011633 0.011633 -0.008956 0.008956 -0.011633 -0.011633 -0.001745 -0.011633<br />
-0.001512 -0.011633 -0.011633 -0.001512 -0.001745 -0.011633 0.011633 -0.001745 -0.011633 0.008956 -0.008956 -0.011633<br />
0.008956 0.008956 -0.011633 0.011633 -0.001745 -0.011633 -0.001512 -0.001745 -0.011633 -0.001512 0.011633 -0.011633<br />
-0.008956 -0.008956 -0.011633 -0.011633 -0.001745 -0.011633 -0.001512 -0.001745 -0.011633 -0.001512 -0.011633 -0.011633<br />
-0.011633 -0.001745 -0.011633 -0.008956 0.008956 -0.011633 -0.001512 0.011633 -0.011633 -0.001512 -0.001745 -0.011633<br />
-0.011633 0.011633 0.011633 -0.016295 -0.002119 0.011633 -0.013645 -0.001861 0.011633 -0.009766 0.009583 0.011633<br />
-0.016295 -0.002119 0.011633 -0.011633 -0.011633 0.011633 -0.009766 -0.009779 0.011633 -0.013645 -0.001861 0.011633<br />
0.011633 -0.011633 0.011633 0.016943 -0.002119 0.011633 0.014015 -0.001861 0.011633 0.009596 -0.009779 0.011633<br />
0.016943 -0.002119 0.011633 0.011633 0.011633 0.011633 0.009596 0.009583 0.011633 0.014015 -0.001861 0.011633<br />
-0.011633 -0.011633 0.011633 -0.001836 -0.016245 0.011633 -0.001613 -0.013616 0.011633 -0.009766 -0.009779 0.011633<br />
-0.001836 -0.016245 0.011633 0.011633 -0.011633 0.011633 0.009596 -0.009779 0.011633 -0.001613 -0.013616 0.011633<br />
-0.001836 0.016993 0.011633 -0.011633 0.011633 0.011633 -0.009766 0.009583 0.011633 -0.001613 0.014044 0.011633<br />
0.011633 0.011633 0.011633 -0.001836 0.016993 0.011633 -0.001613 0.014044 0.011633 0.009596 0.009583 0.011633<br />
0.009596 0.009583 0.011633 -0.001613 0.014044 0.011633 -0.001311 0.010066 -0.007815 0.006850 0.006819 -0.007815<br />
-0.001613 0.014044 0.011633 -0.009766 0.009583 0.011633 -0.007247 0.006819 -0.007815 -0.001311 0.010066 -0.007815<br />
-0.001613 -0.013616 0.011633 0.009596 -0.009779 0.011633 0.006850 -0.007278 -0.007815 -0.001311 -0.010072 -0.007815<br />
-0.009766 -0.009779 0.011633 -0.001613 -0.013616 0.011633 -0.001311 -0.010072 -0.007815 -0.007247 -0.007278 -0.007815<br />
0.014015 -0.001861 0.011633 0.009596 0.009583 0.011633 0.006850 0.006819 -0.007815 0.010067 -0.001513 -0.007815<br />
0.009596 -0.009779 0.011633 0.014015 -0.001861 0.011633 0.010067 -0.001513 -0.007815 0.006850 -0.007278 -0.007815<br />
-0.013645 -0.001861 0.011633 -0.009766 -0.009779 0.011633 -0.007247 -0.007278 -0.007815 -0.010071 -0.001513 -0.007815<br />
-0.009766 0.009583 0.011633 -0.013645 -0.001861 0.011633 -0.010071 -0.001513 -0.007815 -0.007247 0.006819 -0.007815<br />
-0.001311 0.010066 -0.007815 -0.001115 -0.001287 -0.007815 0.010067 -0.001513 -0.007815 0.006850 0.006819 -0.007815<br />
-0.001115 -0.001287 -0.007815 -0.001311 -0.010072 -0.007815 0.006850 -0.007278 -0.007815 0.010067 -0.001513 -0.007815<br />
-0.007247 0.006819 -0.007815 -0.010071 -0.001513 -0.007815 -0.001115 -0.001287 -0.007815 -0.001311 0.010066 -0.007815<br />
-0.010071 -0.001513 -0.007815 -0.007247 -0.007278 -0.007815 -0.001311 -0.010072 -0.007815 -0.001115 -0.001287 -0.007815</p></blockquote>
<p>Basically, if you haven&#8217;t already noticed, it is 4 sets of x,y,z points. You will not get any of the materials when you export the object only the polygons.</p>
<p>Now that we have our object we will need to be able to display it using opengl. First we must read in and store the points. </p>
<blockquote><p>CupVectors[3][4][33];</p>
<p>ifstream cupFile;<br />
cupFile.open(&#8220;cup.raw&#8221;);</p>
<p>for(int z=0;z&lt;=32;z++)<br />
for(int y=0;y&lt;=3;y++)<br />
for(int x=0;x&lt;=2;x++)<br />
cupFile &gt;&gt; CupVectors[x][y][z];</p>
<p>cupFile.close();</p></blockquote>
<p>Pretty simple code. Store the points, open the file, loop through the points, store the points, close the file.</p>
<p>Now that the cup vertex points are stored we are able to easily display them in opengl with another small loop that will create the triangles and save them in our display list.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/204/importing-a-blender-model-into-opengl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>12 Slick jQuery Plugins</title>
		<link>http://corymathews.com/412/12-slick-jquery-plugins/</link>
		<comments>http://corymathews.com/412/12-slick-jquery-plugins/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 12:38:07 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=412</guid>
		<description><![CDATA[As I have been updating the jQuery links on my @jQueryLinks twitter account there were a couple that really stood out as a way to make just about any site feel slick. So here they are. Enjoy. 1. Gritter &#8211; By:@jboesch Plugin Page Demo 2. jQuery Link Nudging &#8211; By: @davidwalshblog Plugin Page Demo 3. [...]]]></description>
			<content:encoded><![CDATA[<p>As I have been updating the jQuery links on my <a href="http://twitter.com/jQueryLinks">@jQueryLinks</a> twitter account there were a couple that really stood out as a way to make just about any site feel slick. So here they are. Enjoy.</p>
<h2>1. Gritter &#8211; By:<a href="http://twitter.com/jboesch">@jboesch</a></h2>
<div id="attachment_413" class="wp-caption aligncenter" style="width: 560px"><a href="http://boedesign.com/2009/07/11/growl-for-jquery-gritter/"><img src="http://corymathews.com/wp-content/uploads/2009/08/Gritter.jpg" alt="jQuery Grown look-a-like plugin" title="Gritter jQuery Plugin" width="550" height="250" class="size-full wp-image-413" /></a><p class="wp-caption-text">jQuery Grown look-a-like plugin</p></div>
<p><a href="http://boedesign.com/2009/07/11/growl-for-jquery-gritter/">Plugin Page</a></p>
<p><a href="http://boedesign.com/demos/gritter/">Demo</a></p>
<hr />
<h2>2. jQuery Link Nudging &#8211; By: <a href="http://twitter.com/davidwalshblog">@davidwalshblog</a></h2>
<div id="attachment_420" class="wp-caption aligncenter" style="width: 560px"><a href="http://davidwalsh.name/jquery-link-nudging"><img class="size-full wp-image-420" title="jQuery Link Nudging Plugin" src="http://corymathews.com/wp-content/uploads/2009/08/LinkNudging.jpg" alt="Link Nudging" width="550" height="250" /></a><p class="wp-caption-text">A jQuery Link Nudging Plugin which is essentially a classy, subtle link animation </p></div>
<p><a href="http://davidwalsh.name/jquery-link-nudging">Plugin Page</a></p>
<p><a href="http://davidwalsh.name/dw-content/jquery-link-nudging.php">Demo</a></p>
<hr />
<h2>3. Create The Fanciest Dropdown Menu You Ever Saw</h2>
<p><div id="attachment_423" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw"><img src="http://corymathews.com/wp-content/uploads/2009/08/FancyDropdown.jpg" alt="Create The Fanciest Dropdown Menu You Ever Saw" title="Fancy Dropdown" width="550" height="250" class="size-full wp-image-423" /></a><p class="wp-caption-text">Create The Fanciest Dropdown Menu You Ever Saw</p></div><br />
<a href="http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw">Plugin Page</a></p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.html">Demo</a></p>
<hr />
<h2>4. ColorBox &#8211; By: <a href="http://twitter.com/jacklmoore">@jacklmoore</a></h2>
<p><div id="attachment_425" class="wp-caption aligncenter" style="width: 560px"><a href="http://colorpowered.com/colorbox/"><img src="http://corymathews.com/wp-content/uploads/2009/08/ColorBox.jpg" alt="A light-weight, customizable lightbox plugin for jQuery 1.3" title="ColorBox" width="550" height="250" class="size-full wp-image-425" /></a><p class="wp-caption-text">A light-weight, customizable lightbox plugin for jQuery 1.3</p></div><br />
<a href="http://colorpowered.com/colorbox/">Plugin Page</a></p>
<p><a href="http://colorpowered.com/colorbox/core/example5/index.html">Demo</a></p>
<hr />
<h2>5. Interactive, Filterable Portfolio &#8211; By: <a href="http://twitter.com/JoelSutherland">@JoelSutherland<a/></h2>
<p><div id="attachment_427" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.newmediacampaigns.com/page/a-jquery-plugin-to-create-an-interactive-filterable-portfolio-like-ours"><img src="http://corymathews.com/wp-content/uploads/2009/08/FilterablePortfolio.jpg" alt="A jQuery Plugin to Create an Interactive, Filterable Portfolio" title="FilterablePortfolio" width="550" height="250" class="size-full wp-image-427" /></a><p class="wp-caption-text">A jQuery Plugin to Create an Interactive, Filterable Portfolio</p></div><br />
<a href="http://www.newmediacampaigns.com/page/a-jquery-plugin-to-create-an-interactive-filterable-portfolio-like-ours">Plugin Page</a></p>
<p><a href="http://www.newmediacampaigns.com/section/portfolio">Demo</a></p>
<hr />
<h2>6. Animated Menu Using jQuery</h2>
<p><div id="attachment_434" class="wp-caption aligncenter" style="width: 560px"><a href="http://jqueryglobe.com/article/animated-menu"><img src="http://corymathews.com/wp-content/uploads/2009/08/FancyMenus.jpg" alt="Nice animated menu using jQuery and CSS" title="FancyMenus" width="550" height="250" class="size-full wp-image-434" /></a><p class="wp-caption-text">Nice animated menu using jQuery and CSS</p></div><br />
<a href="http://jqueryglobe.com/article/animated-menu">Plugin Page</a></p>
<p><a href="http://jqueryglobe.com/labs/animated_menu/">Demo</a></p>
<hr />
<h2>7. jQuery Ajax delete</h2>
<p><div id="attachment_432" class="wp-caption aligncenter" style="width: 560px"><a href="http://papermashup.com/jquery-ajax-delete/"><img src="http://corymathews.com/wp-content/uploads/2009/08/DeleteComment.jpg" alt="jQuery Ajax delete" title="DeleteComment" width="550" height="250" class="size-full wp-image-432" /></a><p class="wp-caption-text">jQuery Ajax delete</p></div><br />
<a href="http://papermashup.com/jquery-ajax-delete/">Plugin Page</a></p>
<p><a href="http://papermashup.com/demos/jquery-delete/">Demo</a></p>
<hr />
<h2>8. Galleria</h2>
<p><div id="attachment_439" class="wp-caption aligncenter" style="width: 560px"><a href="http://devkick.com/lab/galleria/"><img src="http://corymathews.com/wp-content/uploads/2009/08/Galleria.jpg" alt="Galleria is a javascript image gallery" title="Galleria" width="550" height="250" class="size-full wp-image-439" /></a><p class="wp-caption-text">Galleria is a javascript image gallery</p></div><br />
<a href="http://devkick.com/lab/galleria/">Plugin Page</a></p>
<p><a href="http://devkick.com/lab/galleria/demo_01.htm#img/grass-blades.jpg">Demo</a></p>
<hr />
<h2>9. Easy Slider By: <a href="http://twitter.com/cssglobe">@cssglobe</a></h2>
<p><div id="attachment_441" class="wp-caption aligncenter" style="width: 560px"><a href="http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider"><img src="http://corymathews.com/wp-content/uploads/2009/08/EasySlider1.jpg" alt="Easy Slider 1.7 - Numeric Navigation jQuery Slider" title="EasySlider" width="550" height="250" class="size-full wp-image-441" /></a><p class="wp-caption-text">Easy Slider 1.7 - Numeric Navigation jQuery Slider</p></div><br />
<a href="http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider">Plugin Page</a></p>
<p><a href="http://cssglobe.com/lab/easyslider1.7/03.html">Demo</a></p>
<hr />
<h2>10. Cycle Lite</h2>
<p><div id="attachment_431" class="wp-caption aligncenter" style="width: 560px"><a href="http://malsup.com/jquery/cycle/lite/"><img src="http://corymathews.com/wp-content/uploads/2009/08/cycleLite.jpg" alt="lightweight slideshow plugin" title="cycleLite" width="550" height="250" class="size-full wp-image-431" /></a><p class="wp-caption-text">lightweight slideshow plugin</p></div><br />
<a href="http://malsup.com/jquery/cycle/lite/">Plugin Page</a></p>
<p><a href="http://malsup.com/jquery/cycle/lite/">Demo</a></p>
<hr />
<h2>11. Notify Bar By: <a href="http://twitter.com/DmitriSmirnov">@DmitriSmirnov</a></h2>
<p><div id="attachment_440" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.dmitri.me/blog/notify-bar/"><img src="http://corymathews.com/wp-content/uploads/2009/08/NotifyBar.jpg" alt="shows a notify bar (like on Twitter&#039;s webpage)" title="NotifyBar" width="550" height="250" class="size-full wp-image-440" /></a><p class="wp-caption-text">shows a notify bar (like on Twitter's webpage)</p></div><br />
<a href="http://www.dmitri.me/blog/notify-bar/">Plugin Page</a></p>
<p><a href="http://www.dmitri.me/misc/notify/">Demo</a></p>
<hr />
<h2>12. Animated Tabbed Content &#8211; By: <a href="http://twitter.com/gayadesign">@gayadesign</a></h2>
<p><div id="attachment_443" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.gayadesign.com/diy/animated-tabbed-content-with-jquery/"><img src="http://corymathews.com/wp-content/uploads/2009/08/AnimatedTabs.jpg" alt="Animated Tabbed Content" title="AnimatedTabs" width="550" height="250" class="size-full wp-image-443" /></a><p class="wp-caption-text">Animated Tabbed Content</p></div><br />
<a href="http://www.gayadesign.com/diy/animated-tabbed-content-with-jquery/">Plugin Page</a></p>
<p><a href="http://www.gayadesign.com/scripts/tabbed/">Demo</a></p>
<hr />
<p>To Stay up to date with more great jQuery Links follow <a href="http://twitter.com/jQueryLinks">@jQueryLinks</a> on twitter.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/412/12-slick-jquery-plugins/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
