<?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>XxDesmusxX.NET &#187; Web Design</title>
	<atom:link href="http://xxdesmusxx.net/wp/category/webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://xxdesmusxx.net/wp</link>
	<description>Simplicity is underrated.</description>
	<lastBuildDate>Sat, 04 Sep 2010 08:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Brand new laptop: Dell XPS M1530</title>
		<link>http://xxdesmusxx.net/wp/2008/12/10/brand-new-laptop-dell-xps-m1530/</link>
		<comments>http://xxdesmusxx.net/wp/2008/12/10/brand-new-laptop-dell-xps-m1530/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 23:39:14 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Tweets]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[girlfriend]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[new]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/?p=1841</guid>
		<description><![CDATA[Just bought a new laptop and it should be here by the end of next week when I get back from NYC. I'm headed down to see my girlfriend again...yes, yet again. This is my gift to myself for graduating from college. 7 days and 6 nights with my girl...can't wait! Here's the specs of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-1845" title="Dell XPS M1530" src="http://xxdesmusxx.net/wp/wp-content/uploads/2008/12/xps_m1530_alternate_black_314.jpg" alt="Dell XPS M1530" width="314" height="314" /></p>
<p>Just bought a new laptop and it should be here by the end of next week when I get back from NYC. I'm headed down to see my girlfriend again...yes, yet again. This is my gift to myself for graduating from college. 7 days and 6 nights with my girl...can't wait!</p>
<p>Here's the specs of my brand new Dell XPS M1530:</p>
<ul>
<li>Intel Core 2 Duo Processor T8300 (2.4GHz/800MHz FSB, 3M L2 Cache)</li>
<li>Tuxedo Black Casing</li>
<li>4GB of DDR2 RAM at 667MHz (2 Dimms)</li>
<li>15.4 inch Wide Screen WXGA+ TrueLife LED LCD with 2.0 MP Camera</li>
<li>256MB NVIDIA GeForce 8600M GT</li>
<li>320GB 5400RPM SATA Hard Drive</li>
<li>Microsoft Windows Vista with SP1 Home Premium Edition 64-bit Edition</li>
<li>8X DVD+/-RW Slot Load Drive</li>
<li>Dell Wireless 1505 Wireless-N Mini-card</li>
<li>6-cell (56 WHr) Lithium Ion Battery</li>
<li>Finger Print Reader</li>
<li>Dell Wireless 355 Bluetooth Module (2.0+EDR)</li>
</ul>
<p>Needless to say I'm extremely excited! <img src='http://xxdesmusxx.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   I'll post some type of review with screen shots once I get a chance to get it all set up and fine tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/12/10/brand-new-laptop-dell-xps-m1530/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to download any song from Favtape.com</title>
		<link>http://xxdesmusxx.net/wp/2008/10/07/how-to-download-any-song-from-favtapecom/</link>
		<comments>http://xxdesmusxx.net/wp/2008/10/07/how-to-download-any-song-from-favtapecom/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 23:33:23 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Internet Related]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech Miscellaneous]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/?p=1765</guid>
		<description><![CDATA[I've had my doubts about posting this information because quite honestly I'm a big fan of Favtape.com and I don't want to see them get in trouble and/or close. That being said, I suppose it can't hurt that much to put this information out there. Here's a quick and simple way to download any song [...]]]></description>
			<content:encoded><![CDATA[<p>I've had my doubts about posting this information because quite honestly I'm a big fan of <a title="Favtape.com" href="http://favtape.com/">Favtape.com</a> and I don't want to see them get in trouble and/or close. That being said, I suppose it can't hurt that much to put this information out there. Here's a quick and simple way to download any song that you can play on <a title="Favtape.com" href="http://favtape.com/">Favtape.com</a></p>
<ol>
<li>Use Firefox (it's not required but we all know that when you use IE god will kill kittens).</li>
<li>Go to <a title="Favtape.com" href="http://favtape.com/">Favtape.com</a> (duh) and find a song that you want.<div id="attachment_1767" class="wp-caption alignright" style="width: 110px"><a href="http://xxdesmusxx.net/wp/wp-content/uploads/2008/10/songhover.png" rel="thumbnail"><img class="size-thumbnail wp-image-1767" title="FavTape songhover" src="http://xxdesmusxx.net/wp/wp-content/uploads/2008/10/songhover-150x150.png" alt="FavTape.com songhover" width="100" height="100" /></a><p class="wp-caption-text">  </p></div></li>
<li>Click the name of the song to begin playing it.</li>
<li>When you hover over the name of the song you should see something like this in the status bar: http://favtape.com/play/**Artist**/**Song**.mp3  (**Artist** and **Song* obviously replaced with the appropriate information). Click on the image to the right if you don't understand what I just said.</li>
<li>Now you can't simply right click and "Save link as". You actually can't right click at all. So how do you get the MP3 file?</li>
<li><strong>Method 1 - no tweaking involved</strong>:
<ol>
<li>Open a new tab in Firefox (control + t).</li>
<li>Click + hold the Artist - Song Name and drag this onto the new tab you just created.</li>
<li>That's it! The song should not start to download, but you'll need to rename it because it'll save as "fetch.mp3".</li>
</ol>
</li>
<li><strong>Method 2 - tweaking the Firefox settings:</strong><br />
<div id="attachment_1768" class="wp-caption alignright" style="width: 110px"><a href="http://xxdesmusxx.net/wp/wp-content/uploads/2008/10/contentsettings.png" rel="thumbnail"><img class="size-thumbnail wp-image-1768" title="FavTape contentsettings" src="http://xxdesmusxx.net/wp/wp-content/uploads/2008/10/contentsettings-150x150.png" alt="Click for full size" width="100" height="100" /></a><p class="wp-caption-text">  </p></div></p>
<ol>
<li>In Firefox goes to Tools --&gt; Options</li>
<li>Go to the "Content" tab</li>
<li>Find "Enable Javascript". To the right of this you will see "Advanced" click on this.</li>
<li>Find "Disable or replace context menus". Uncheck this box.</li>
<li>Click "OK" and then "OK" again.</li>
<li>Now you can right click on the Artist - Song Name and select "Save link as".</li>
<li>That's it! You can now just save the MP3 file we saw in the status bar earlier.</li>
<li><strong>Important Note:</strong> You may want to re-enable the "Disable or replace context menus" option because many web applications use this functionality.</li>
</ol>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/10/07/how-to-download-any-song-from-favtapecom/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Interesting Links 5.30.08</title>
		<link>http://xxdesmusxx.net/wp/2008/05/30/interesting-links-53008-2/</link>
		<comments>http://xxdesmusxx.net/wp/2008/05/30/interesting-links-53008-2/#comments</comments>
		<pubDate>Fri, 30 May 2008 23:21:18 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Internet Related]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech Miscellaneous]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/2008/05/30/interesting-links-53008-2/</guid>
		<description><![CDATA[TimesMachine - New York Times - TimesMachine can take you back to any issue from Volume 1, Number 1 of The New-York Daily Times, on September 18, 1851, through The New York Times of December 30, 1922. SuperLame! Comic Word Balloon Engine - Simply add speech bubbles to photos you upload. Useless? Sure, but fun. [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://timesmachine.nytimes.com/browser">TimesMachine - New York Times</a> - TimesMachine can take you back to any issue from Volume 1, Number 1 of The New-York Daily Times, on September 18, 1851, through The New York Times of December 30, 1922.</li>
<li><a href="http://www.superlame.com/index.php">SuperLame! Comic Word Balloon Engine</a> - Simply add speech bubbles to photos you upload. Useless? Sure, but fun.</li>
<li><a href="http://www.designshack.co.uk/tutorials/introduction-to-css3-part-4-user-interface">Introduction to CSS3 - Part 4: User Interface</a> - CSS3 brings some great new properties relating to resizing elements, cursors, outlining, box layout and more.</li>
<li><a href="http://www.designshack.co.uk/tutorials/introduction-to-css3-part-5-multiple-columns">Introduction to CSS3 - Part 5: Multiple Columns</a> - CSS3 introduces a new module known, appropriately, as multi-column layout. It allows you to specify how many columns text should be split down into and how they should appear.</li>
<li><a href="http://www.designshack.co.uk/tutorials/design-critique-blog-platforms">Design Critique: Blog Platforms</a> - Most designers are familiar with the relative pros and cons of different publishing tools – but what about the websites of the blog platforms themselves?</li>
<li><a href="http://www.tinysong.com/">TinySong</a> - type a song, get a link, share the full song with your friends. It's really that simple. Works great for those "have you heard this song?" moments.</li>
<li><a href="http://labs.adobe.com/">Adobe Labs</a> - Adobe has released the first betas for Dreamweaver CS4, Fireworks CS4, and Soundbooth CS4. Note: betas only work for 2 days unless you have an existing CS3 serial number.</li>
<li><a href="http://blog.fav.or.it/2008/05/26/fixing-twitter/">Fixing Twitter</a> - I am getting sick of talk about twitter and it’s scalability problems and also frankly unqualified people slagging the service for it’s unreliability and also coming up with stupid ignorant answers to how it should be fixed.</li>
<li><a href="http://www.readatwork.com/">Read at Work</a> - it looks like  you're being productive, but you're definitely not. Kind of funny, but I can't imagine actually using it.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/05/30/interesting-links-53008-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting Links 5.16.08</title>
		<link>http://xxdesmusxx.net/wp/2008/05/16/interesting-links-51608/</link>
		<comments>http://xxdesmusxx.net/wp/2008/05/16/interesting-links-51608/#comments</comments>
		<pubDate>Fri, 16 May 2008 13:25:46 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Internet Related]]></category>
		<category><![CDATA[Psychology]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/2008/05/16/interesting-links-51608/</guid>
		<description><![CDATA[picasa2flickr - A simple "plugin" that allows Picasa users to upload their photos to Flickr. Pimp my Outlook Today - I'm a big fan of TiddlyWiki so it seemed an ideal candidate for integration with the Outlook Today screen. CSS Attribute Selectors: Built-In Classes - Classes and IDs aren’t the only ways you can describe [...]]]></description>
			<content:encoded><![CDATA[<div style=''>
<ul>
<li><a href="http://picasa2flickr.sourceforge.net/index.html">picasa2flickr</a> - A simple "plugin" that allows Picasa users to upload their photos to Flickr.</li>
<li><a href="http://www.camera-shake.com/2008/04/pimp-my-outlook-today.html">Pimp my Outlook Today</a> - I'm a big fan of TiddlyWiki so it seemed an ideal candidate for integration with the Outlook Today screen.</li>
<li><a href="http://www.cssnewbie.com/css-attribute-selectors/">CSS Attribute Selectors: Built-In Classes</a> - Classes and IDs aren’t the only ways you can describe the elements in your website in order to style them. You can also make use of attribute selectors.</li>
<li><a href="http://designshack.co.uk/tutorials/introduction-to-css3-part-1-what-is-it">Introduction to CSS3 - Part 1: What is it?</a> - This first tutorial will give you a very basic introduction to the new possibilities created by the standard.</li>
<li><a href="http://designshack.co.uk/tutorials/introduction-to-css3-part-2-borders">Introduction to CSS3 - Part 2: Borders</a> - CSS3 takes borders to a new level with the ability to use gradients, rounded corners, shadows and border images.</li>
<li><a href="http://designshack.co.uk/tutorials/introduction-to-css3-part-3-text-effects">Introduction to CSS3 - Part 3: Text Effects</a> - CSS is already reasonably versatile in the way in which text can be displayed, but still constricts design in quite a few areas. CSS3 goes some way towards removing those limitations.</li>
<li><a href="http://ilovetypography.com/2008/05/07/15-great-examples-of-web-typography-q2-2008/">15 Great Examples of Web Typography</a> - It may be that not all the sites listed here are to your taste, but it’s hoped that something will inspire you.</li>
<li><a href="http://gosdot.com/unity/2008/02/19/web-based-workflow-tale-of-the-0-studio/">Web Based Workflow: Tale of the $0 Studio</a> - In the past few years we’ve seen an explosion of free, web and open source alternatives to popular, often expensive, design programs. With this workflow it’s all pure profit!</li>
<li><a href="http://www.crackunit.com/2008/04/30/10-things-i-learned-from-mental-detox-week/">10 Things I Learned from Mental Detox Week</a> - Getting rid of technology (or most of it) for one week.</li>
<li><a href="http://www.cracked.com/article_16239_5-psychological-experiments-that-prove-humanity-doomed.html">5 Psychological Experiments That Prove Humanity is Doomed</a> - A number of psychological experiments over the years have yielded terrifying conclusions about the subjects.</li>
<li><a href="http://library.duke.edu/digitalcollections/adaccess/">Ad*Access</a> - The Ad*Access Project presents images and information for over 7,000 advertisements printed in U.S. and Canadian newspapers and magazines between 1911 and 1955.</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/05/16/interesting-links-51608/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Baby&#8217;s First Ruby App</title>
		<link>http://xxdesmusxx.net/wp/2008/05/15/babys-first-ruby-app/</link>
		<comments>http://xxdesmusxx.net/wp/2008/05/15/babys-first-ruby-app/#comments</comments>
		<pubDate>Fri, 16 May 2008 02:31:09 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tech Miscellaneous]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/2008/05/15/babys-first-ruby-app/</guid>
		<description><![CDATA[So I've begun to learn Ruby (for work), and I thought I might share a little bit of my progress so far. Progress might be an exaggeration considering how basic this application actually is, but at least I'm slowly but surely moving in the right direction anyway. So here's the 1st part of it: 1: [...]]]></description>
			<content:encoded><![CDATA[<p>So I've begun to learn Ruby (for work), and I thought I might share a little bit of my progress so far. Progress might be an exaggeration considering how basic this application actually is, but at least I'm slowly but surely moving in the right direction anyway.</p>
<p>So here's the 1st part of it:</p>
<div class="csharpcode">
<pre class="alt"><span class="lnum">   1:  </span><span class="rem">#GET INPUT</span></pre>
<pre><span class="lnum">   2:  </span>puts <span class="str">"Please enter a number"</span>  </pre>
<pre class="alt"><span class="lnum">   3:  </span>STDOUT.flush  </pre>
<pre><span class="lnum">   4:  </span>num1 = gets.chomp.to_i</pre>
<pre class="alt"><span class="lnum">   5:  </span>&nbsp;</pre>
<pre><span class="lnum">   6:  </span>puts <span class="str">"Please enter another number"</span>  </pre>
<pre class="alt"><span class="lnum">   7:  </span>STDOUT.flush  </pre>
<pre><span class="lnum">   8:  </span>num2 = gets.chomp.to_i</pre>
<pre class="alt"><span class="lnum">   9:  </span>&nbsp;</pre>
<pre><span class="lnum">  10:  </span>puts <span class="str">"Please pick the type of operation:</span></pre>
<pre class="alt"><span class="lnum">  11:  </span>(A)dd</pre>
<pre><span class="lnum">  12:  </span>(S)ubtract</pre>
<pre class="alt"><span class="lnum">  13:  </span>(M)ultiply</pre>
<pre><span class="lnum">  14:  </span>(D)ivide)"  </pre>
<pre class="alt"><span class="lnum">  15:  </span>STDOUT.flush  </pre>
<pre><span class="lnum">  16:  </span>oper = gets.chomp</pre>
<pre>&nbsp;</pre>
</div>
<p>So here we're asking the user for 2 numbers, cleaning up the input, and then storing it into 2 variables (num1 and num2). We then ask the user to select which type of mathematical operation they'd like to perform (addition, subtraction, multiplication, or division).</p>
<p>The 2nd part:</p>
<div class="csharpcode">
<pre class="alt"><span class="lnum">   1:  </span><span class="rem">#SELECT THE OPERATION</span></pre>
<pre><span class="lnum">   2:  </span><span class="kwrd">if</span> oper == (<span class="str">"a"</span> or <span class="str">"A"</span>)  </pre>
<pre class="alt"><span class="lnum">   3:  </span>        add(num1, num2)</pre>
<pre><span class="lnum">   4:  </span>    elsif oper == (<span class="str">"s"</span> or <span class="str">"S"</span>)</pre>
<pre class="alt"><span class="lnum">   5:  </span>        subtract(num1, num2)</pre>
<pre><span class="lnum">   6:  </span>    elsif oper == (<span class="str">"m"</span> or <span class="str">"M"</span>)</pre>
<pre class="alt"><span class="lnum">   7:  </span>        multiply(num1, num2)</pre>
<pre><span class="lnum">   8:  </span>    elsif oper ==  (<span class="str">"d"</span> or <span class="str">"D"</span>)</pre>
<pre class="alt"><span class="lnum">   9:  </span>        divide(num1, num2)</pre>
<pre><span class="lnum">  10:  </span>end</pre>
</div>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p>So here we're deciding what we're going to do with our 2 variables (num1 and num2) based on the users selection. If they enter "a" or "A" (for example) we will then execute the method called "add" on line 3. Speaking of these methods...</p>
<p>The 3rd and final part:</p>
<div class="csharpcode">
<pre class="alt"><span class="lnum">   1:  </span><span class="rem">#DEFINE THE METHODS</span></pre>
<pre><span class="lnum">   2:  </span>def add(num1, num2)  </pre>
<pre class="alt"><span class="lnum">   3:  </span>  sum = num1 + num2</pre>
<pre><span class="lnum">   4:  </span>  puts <span class="str">"#{num1} + #{num2} = #{sum}"</span></pre>
<pre class="alt"><span class="lnum">   5:  </span><span class="kwrd">end</span>  </pre>
<pre><span class="lnum">   6:  </span>&nbsp;</pre>
<pre class="alt"><span class="lnum">   7:  </span>def subtract(num1, num2)</pre>
<pre><span class="lnum">   8:  </span>    <span class="kwrd">if</span> num1 &gt; num2  </pre>
<pre class="alt"><span class="lnum">   9:  </span>      diff = num1 - num2</pre>
<pre><span class="lnum">  10:  </span>      puts <span class="str">"#{num1} - #{num2} = #{diff}"</span></pre>
<pre class="alt"><span class="lnum">  11:  </span>    <span class="kwrd">else</span></pre>
<pre><span class="lnum">  12:  </span>      diff = num2 - num1</pre>
<pre class="alt"><span class="lnum">  13:  </span>      puts <span class="str">"#{num2} - #{num1} = #{diff}"</span></pre>
<pre><span class="lnum">  14:  </span>    <span class="kwrd">end</span></pre>
<pre class="alt"><span class="lnum">  15:  </span><span class="kwrd">end</span>  </pre>
<pre><span class="lnum">  16:  </span>&nbsp;</pre>
<pre class="alt"><span class="lnum">  17:  </span>def multiply(num1, num2)  </pre>
<pre><span class="lnum">  18:  </span>  prod = num1 * num2</pre>
<pre class="alt"><span class="lnum">  19:  </span>  puts <span class="str">"#{num1} X #{num2} = #{prod}"</span></pre>
<pre><span class="lnum">  20:  </span><span class="kwrd">end</span>  </pre>
<pre class="alt"><span class="lnum">  21:  </span>&nbsp;</pre>
<pre><span class="lnum">  22:  </span>def divide(num1, num2)  </pre>
<pre class="alt"><span class="lnum">  23:  </span>    <span class="kwrd">if</span> num1 &gt; num2  </pre>
<pre><span class="lnum">  24:  </span>        div = num1 / num2</pre>
<pre class="alt"><span class="lnum">  25:  </span>        puts <span class="str">"#{num1} /  #{num2} = #{div}"</span></pre>
<pre><span class="lnum">  26:  </span>    <span class="kwrd">else</span></pre>
<pre class="alt"><span class="lnum">  27:  </span>        div = num2/num1</pre>
<pre><span class="lnum">  28:  </span>        puts <span class="str">"#{num2} /  #{num1} = #{div}"</span></pre>
<pre class="alt"><span class="lnum">  29:  </span>    <span class="kwrd">end</span></pre>
<pre><span class="lnum">  30:  </span><span class="kwrd">end</span> </pre>
</div>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p>Each one of these methods (starting on lines 2, 7, 17, and 22) perform a particular set of functions based on the variables that are being passed in (num1 and num2). These methods are called based on the earlier code (part 2) that selected which method applied based on which of the mathematical operations the user selected. The 2 numbers that the user entered are passed into that method, some type of calculation is carried out, and then the result is displayed to the user. In the case of subtraction and division, I elected to add an additional step that would determine which of the 2 entered numbers was larger, and then it would order the calculation accordingly so as to not return a negative number (but this is purely optional). </p>
<p>To recap, and provide a plain English flow of how this happen in this simple little application: the user enters 2 numbers, and then they select a mathematical operation. Based on that operation we go through a series of checks to match which operation was selected, the 2 numbers entered by the users are passed to the method, and then we enter the applicable method. The method then performs the necessary calculations and displays the output to the user. </p>
<p>Pretty simple, not exactly rocket science, but it's a start at least. I wanted to play with conditional statements a bit, as well as creating and calling my own methods. Next up will be to continue to experiment with arrays and hashes. </p>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style></p>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/05/15/babys-first-ruby-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A New Chapter: Things to do this Summer</title>
		<link>http://xxdesmusxx.net/wp/2008/05/04/a-new-chapter-things-to-do-this-summer/</link>
		<comments>http://xxdesmusxx.net/wp/2008/05/04/a-new-chapter-things-to-do-this-summer/#comments</comments>
		<pubDate>Sun, 04 May 2008 18:58:00 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Internet Related]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech Miscellaneous]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/?p=1550</guid>
		<description><![CDATA[I thought I'd briefly update what I plan to accomplish this summer. The semester is finally finally done and over with (see my recent post regarding the ridiculous amount of things I needed to finish in the past 3 weeks). Reinstall Windows Home Server (WHS). Never mind, not going to reinstall. Read “Head First SQL”. [...]]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Posts in this series:</h3><ol><li><a href='http://xxdesmusxx.net/wp/2008/01/21/things-to-do-when-this-semester-is-finally-over/' title='Things to do when this semester is finally over.'>Things to do when this semester is finally over.</a></li><li><a href='http://xxdesmusxx.net/wp/2008/02/17/redux-things-to-do-when-this-semester-is-finally-over/' title='Redux: Things to do when this semester is finally over'>Redux: Things to do when this semester is finally over</a></li><li>A New Chapter: Things to do this Summer</li></ol></div> <p>I thought I'd briefly update what I plan to accomplish this summer. The semester is finally finally done and over with (<a title="Going to Brooklyn and the past 2 weeks" href="http://xxdesmusxx.net/wp/2008/04/25/going-to-brookly-and-the-past-2-weeks/">see my recent post</a> regarding the ridiculous amount of things I needed to finish in the past 3 weeks).</p>
<ul>
<li><span style="text-decoration: line-through;">Reinstall <a href="http://www.microsoft.com/windows/products/winfamily/windowshomeserver/default.mspx">Windows Home Server (WHS)</a>.</span> <strong>Never mind, not going to reinstall.</strong></li>
<li>Read <a href="http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?z=y&amp;EAN=9780596526849&amp;itm=1">“Head First <acronym title="Structured Query Language">SQL</acronym>”</a>.</li>
<li><span style="text-decoration: line-through;">Read <a href="http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?z=y&amp;EAN=9780345384560&amp;itm=2">“A History of God”</a>.</span> <strong>Never mind, this looks to be quite boring.</strong></li>
<li><span style="text-decoration: line-through;">Read <a href="http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?z=y&amp;EAN=9780618002214&amp;itm=9">“The Hobbit or There and Back Again”</a>.</span> <strong>DONE</strong></li>
<li>Have some type of relaxing vacation.</li>
<li>Decide if I will keep my web hosting.</li>
<li>Reinstall XP on my desktop because Vista sucks (even with SP1).</li>
<li><span style="text-decoration: line-through;">Rewrite my current blog theme from scratch (it’s using tables right now…ick!).</span> <strong>Never mind, not applicable any more.</strong></li>
<li><span style="text-decoration: line-through;">Update my laptop to Vista SP1 (why not reinstall XP? don’t ask).</span> <strong>DONE</strong></li>
<li>Work related: apparently I'm going to be learning Visual Basic this summer. We'll see.</li>
<li>Work related: I also may be learning Ruby on Rails (jRails specifically). We'll see.</li>
</ul>
 <div class='series_links'><a href='http://xxdesmusxx.net/wp/2008/02/17/redux-things-to-do-when-this-semester-is-finally-over/' title='Redux: Things to do when this semester is finally over'>Previous in series</a> </div>]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/05/04/a-new-chapter-things-to-do-this-summer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting Links 4.4.08</title>
		<link>http://xxdesmusxx.net/wp/2008/04/04/interesting-links-4408/</link>
		<comments>http://xxdesmusxx.net/wp/2008/04/04/interesting-links-4408/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 00:45:56 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Related]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/2008/04/04/interesting-links-4408/</guid>
		<description><![CDATA[Extensible CSS Interface I: The Foundation Extensible CSS Interface II: CSS Selectors &#38; jQuery Extensible CSS Interface III: Adding Ajax Interactivity Extensible CSS Interface IV: Testing for Extensibility Windows Live Folder Share 10 Important Differences Between Brains and Computers 9 Techniques for CSS Image Replacement The 6 Most Important CSS Techniques You Need To Know [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://cameronmoll.com/archives/2008/02/extensible_css_interface_the_foundation/">Extensible CSS Interface I: The Foundation</a></li>
<li><a href="http://cameronmoll.com/archives/2008/03/extensible_css_interface_css_selectors_jquery/">Extensible CSS Interface II: CSS Selectors &amp; jQuery</a></li>
<li><a href="http://cameronmoll.com/archives/2008/03/extensible_css_interface_adding_ajax/">Extensible CSS Interface III: Adding Ajax Interactivity</a></li>
<li><a href="http://cameronmoll.com/archives/2008/04/extensible_css_interface_testing_extensibility/">Extensible CSS Interface IV: Testing for Extensibility</a></li>
<li><a href="http://www.foldershare.com/">Windows Live Folder Share</a></li>
<li><a href="http://scienceblogs.com/developingintelligence/2007/03/why_the_brain_is_not_like_a_co.php">10 Important Differences Between Brains and Computers</a></li>
<li><a href="http://css-tricks.com/nine-techniques-for-css-image-replacement/">9 Techniques for CSS Image Replacement</a></li>
<li><a href="http://trevordavis.net/blog/tutorial/the-6-most-important-css-techniques-you-need-to-know/">The 6 Most Important CSS Techniques You Need To Know</a></li>
<li><a href="http://www.noupe.com/wordpress/powerfull-list-of-wordpress-lifesavers-plugin.html">Powerful List of WordPress Lifesavers Plugins</a></li>
</ul>
<p>An interesting collections of links, primarily aimed at CSS this time. I can't wait for this semester to be over with so I can get back to some web design. I am so behind in terms of things I want/need to read at this point.</p>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/04/04/interesting-links-4408/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting Links 3.7.08</title>
		<link>http://xxdesmusxx.net/wp/2008/03/07/interesting-links-3708/</link>
		<comments>http://xxdesmusxx.net/wp/2008/03/07/interesting-links-3708/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 03:14:12 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Internet Related]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech Miscellaneous]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/2008/03/07/interesting-links-3708/</guid>
		<description><![CDATA[The 6 Cutest Animals That Can Still Destroy You TweetStats How To Set Up and Host A Publicly-Accessible File on Amazon S3 (Simple Storage Service) Patched UxTheme Files for Vista SP1 RTM PdfMeNot.com - A nicer way of linking to PDF files Twitter-proxy: Any Interest? TeamViewer - free remote access software 10 Email Addresses That [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.cracked.com/article_15853_6-cutest-animals-that-can-still-destroy-you.html">The 6 Cutest Animals That Can Still Destroy You</a></li>
<li><a href="http://tweetstats.com/">TweetStats</a></li>
<li><a href="http://css-tricks.com/how-to-set-up-and-host-a-publicly-accessible-file-on-amazon-s3-simple-storage-service/">How To Set Up and Host A Publicly-Accessible File on Amazon S3 (Simple Storage Service)</a></li>
<li><a href="http://www.winmatrix.com/forums/index.php?showtopic=16977">Patched UxTheme Files for Vista SP1 RTM</a></li>
<li><a href="http://www.pdfmenot.com/">PdfMeNot.com - A nicer way of linking to PDF files</a></li>
<li><a href="http://assetbar.wordpress.com/2008/02/08/twitter-proxy-any-interest/">Twitter-proxy: Any Interest?</a></li>
<li><a href="http://www.teamviewer.com/download/index.aspx">TeamViewer - free remote access software</a></li>
<li><a href="http://www.labnol.org/internet/email/access-websites-over-email-without-internet-connection/1660/">10 Email Addresses That Will Be Useful When You No Internet Access</a></li>
<li><a href="http://arstechnica.com/news.ars/post/20080303-sanity-prevails-ie8-will-default-to-standard-compliant-mode.html">IE8 will default to standard-compliant mode</a></li>
<li><a href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/Install.htm">Internet Explorer 8 Beta 1 download</a></li>
<li><a href="http://www.google.com/support/calendar/bin/answer.py?answer=89955">Official Google Calendar Sync</a></li>
</ul>
<p>  I apologize, but I am far too lazy to write a blurb about each one of those links. I'll just leave it at this: IE8 Beta 1 is a step in the right direction, TeamViewer kicks ass for remote computer support, and the 6 animals that can destroy you is hilarious to read.</p>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/03/07/interesting-links-3708/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redux: Things to do when this semester is finally over</title>
		<link>http://xxdesmusxx.net/wp/2008/02/17/redux-things-to-do-when-this-semester-is-finally-over/</link>
		<comments>http://xxdesmusxx.net/wp/2008/02/17/redux-things-to-do-when-this-semester-is-finally-over/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 18:16:09 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech Miscellaneous]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/2008/02/17/redux-things-to-do-when-this-semester-is-finally-over/</guid>
		<description><![CDATA[My list of "things to do once the semester is over" keeps growing in length so I thought I'd just I'd add them on: Reinstall XP on my desktop because Vista sucks (even with SP1). Rewrite my current blog theme from scratch (it's using tables right now...ick!). Update my laptop to Vista SP1 (why not [...]]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Posts in this series:</h3><ol><li><a href='http://xxdesmusxx.net/wp/2008/01/21/things-to-do-when-this-semester-is-finally-over/' title='Things to do when this semester is finally over.'>Things to do when this semester is finally over.</a></li><li>Redux: Things to do when this semester is finally over</li><li><a href='http://xxdesmusxx.net/wp/2008/05/04/a-new-chapter-things-to-do-this-summer/' title='A New Chapter: Things to do this Summer'>A New Chapter: Things to do this Summer</a></li></ol></div> <p>My list of "things to do once the semester is over" keeps growing in length so I thought I'd just I'd add them on:</p>
<ul>
<li>Reinstall XP on my desktop because Vista sucks (even with SP1).</li>
<li>Rewrite my current blog theme from scratch (it's using tables right now...ick!).</li>
<li>Update my laptop to Vista SP1 (why not reinstall XP? don't ask).</li>
</ul>
 <div class='series_links'><a href='http://xxdesmusxx.net/wp/2008/01/21/things-to-do-when-this-semester-is-finally-over/' title='Things to do when this semester is finally over.'>Previous in series</a> <a href='http://xxdesmusxx.net/wp/2008/05/04/a-new-chapter-things-to-do-this-summer/' title='A New Chapter: Things to do this Summer'>Next in series</a></div>]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/02/17/redux-things-to-do-when-this-semester-is-finally-over/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting Links 1.25.08</title>
		<link>http://xxdesmusxx.net/wp/2008/01/25/interesting-links-12508/</link>
		<comments>http://xxdesmusxx.net/wp/2008/01/25/interesting-links-12508/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 20:08:54 +0000</pubDate>
		<dc:creator>xxdesmus</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Related]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://xxdesmusxx.net/wp/2008/01/25/interesting-links-12508/</guid>
		<description><![CDATA[PDF Hammer - PDF Hammer is a website that allows you to edit your PDF files online for free. Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8 - When a new version of that browser comes along and fixes bugs or misinterpretations of the spec (or introduces new ones) or in any way changes behavior, [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.pdfhammer.com/">PDF Hammer</a> - PDF Hammer is a website that allows you to edit your PDF files online for free.</li>
<li><a href="http://alistapart.com/articles/beyonddoctype">Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8</a> - When a new version of that browser comes along and fixes bugs or misinterpretations of the spec (or introduces new ones) or in any way changes behavior, sites break and our clients, bosses, and users get very unhappy.</li>
<li><a href="http://alistapart.com/articles/fromswitchestotargets">From Switches to Targets: A Standardista's Journey</a> -This actually makes browser vendors more susceptible to pressure to fix their bugs, and less fearful of doing so. That’s huge, as fundamentally game changing as was DOCTYPE switching, but on an ongoing basis.</li>
<li><a href="http://css-tricks.com/better-email-links-featuring-css-attribute-selectors/">Better Email Links: Featuring CSS Attribute Selectors&nbsp;</a> - We can use this similarity between links to our advantage, so that we can apply CSS styling to only email links.</li>
<li><a href="http://kilianvalkhof.com/2007/design/understanding-css-colour-modes/">Understanding CSS Colour modes</a> - CSS 2 and 3 offer a number of different ways to pick colours. While everyone knows the hexadecimal notation, fewer people know the RGB notation and colour keywords, and the new colour modes that CSS3 introduces are still a riddle to most.</li>
<li><a href="http://blog.wired.com/monkeybites/2008/01/the-html-5-draf.html">Draft of HTML 5 Hints at a Brave New Web</a> - HTML 5 presents a major change from HTML 4, and it will still be a long time before you’re likely to see HTML 5 markup in your browser.</li>
<li><a href="http://www.w3.org/TR/html5/">HTML 5</a> - W3C Working Draft 22 January 2008. This is the draft straight from the W3C. Not the easiest thing to read/understand, but certainly a great resource (obviously).</li>
<li><a href="http://www.w3.org/TR/html5-diff/">HTML 5 differences from HTML 4</a> - HTML 5 defines the fifth major revision of the core language of the World Wide Web, HTML. This article describes the differences between HTML 4 and HTML 5 and provides some of the rationale for the changes.</li>
<li><a href="http://ejohn.org/blog/html5-shiv/">HTML5 Shiv</a> - Assuming that it'll be a while before most browsers attempt to implement most of HTML 5 we need to start thinking of ways to tackle the creation and rendering of HTML 5 components in the meantime.</li>
</ul>
<p>   Perhaps you figured out the pattern for these links (except for the PDF hammer link)? The HTML 5 draft was finally released on the 22nd of January. The web has been a twitter with this and the fact that Microsoft has said that Internet Explorer 8 will include a "super standards" mode. The key is that this standards mode will require a particular META tag to enable this type of rendering. This has also sent the web into a frenzy because people are claiming that this will destroy progressive enhancement. The truth of the matter, as Eric Meyer points out, is that this will not be a detrimental change. The key moving forward will be that your websites will theoretically continue to work exactly how you coded them for the foreseeable future. In theory, even if we're all using IE10 your website that was designed for IE6 will still render just fine. The other point that Eric makes is that browser vendors will be able to implement new web standards much more quickly now that they'd no longer need to fear breaking millions of websites. Essentially current websites would remain untouched by new changes to IE's rendering engine. Unless the developer specifically codes the website to use the new render engine, which we can assume means that the developer has tested the page for issues, it would default to the legacy rendering engine that has proven to work. This is really a good thing for web designers, web standards supporters, and browser vendors.</p>
]]></content:encoded>
			<wfw:commentRss>http://xxdesmusxx.net/wp/2008/01/25/interesting-links-12508/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
