<?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>Jtmcgee.net</title>
	<atom:link href="http://jtmcgee.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://jtmcgee.net</link>
	<description>A Technological Guru Blog</description>
	<lastBuildDate>Sat, 28 Aug 2010 17:54:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The Facebook Graph and OAuth 2.0</title>
		<link>http://jtmcgee.net/archives/2010/08/the-facebook-graph-and-oauth-2-0/</link>
		<comments>http://jtmcgee.net/archives/2010/08/the-facebook-graph-and-oauth-2-0/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 17:54:32 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=209</guid>
		<description><![CDATA[During my recent Facebook app development using Java, I had to have some minor integration with Facebook, and I am here to share what I have learned and the cool parts about Facebook&#8217;s &#8220;Graph.&#8221; Introduction to Working with Facebook When writting my application, it happened to be a canvas app, or it was accessed via ]]></description>
			<content:encoded><![CDATA[<p>During my recent <a href="http://jtmcgee.net/archives/2010/08/social-schedules-my-first-facebook-application/">Facebook app development</a> using <a href="http://jtmcgee.net/archives/2010/08/java-the-power-language-for-web-or-console/">Java</a>, I had to have some minor integration with Facebook, and I am here to share what I have learned and the cool parts about Facebook&#8217;s &#8220;Graph.&#8221;</p>
<h3>Introduction to Working with Facebook</h3>
<p>When writting my application, it happened to be a canvas app, or it was accessed via apps.facebook.com with a iframe to my acctual app. When I would get a new user I would immediatley get a new cookie that was named <code>fbs_APPID</code> within this cookie, most importantly, there was a access token. Now to know any information about a user, one must have one thing, an OAuth access token.</p>
<h3>Getting an OAuth access token</h3>
<p>Most times you will have a token in the cookies, however on some random times that I never figured out the pattern to, you just don&#8217;t have that information there. And as for most apps, you need to know some information about a user, and possibly even post or something of the like with the users permission. However, for protection, Facebook just doesn&#8217;t allow any application developer access to their entire database. So to allow only certain access to certain applications, applications are given OAuth tokens, these tokens are user specificic and generally session specific. With these tokens, you could use the later discussed Facebook Graph to get just about any needed data.<br />
The process of getting an OAuth token if it is not in the &#8220;fbs_&#8221; cookie can be quite strenuous. First you need to redirect the user to the Graph server with certain application-specific parameters. Next, one of the parameters happened to be a call back url, now that url is called and Facebook gives you a code. Using this code and your application secret you can finally get a new OAuth access token. Basically what all these redirects does is allow Facebook to check that this user is acctually logged in and that this user is allowing the application access to this information.</p>
<p><span id="more-209"></span></p>
<h3>The Facebook Graph</h3>
<p>Why they call it the &#8220;Graph&#8221; I am not quite sure, however it is quite a handy tool. Just heading over to <a href="http://graph.facebook.com/me">http://graph.facebook.com/me</a> will provide you some basic information about yourself, provided that you are currently logged into Facebook on that browser. Furthermore looking up more information is easy, all you need to know about something is it&#8217;s Facebook ID. Everything on Facebook has an ID, from an event to a group, to a person. With people you can even use words like the ones that are for your profile. You can access some basic information on me by going to <a href="http://graph.facebook.com/jordan.deloach">http://graph.facebook.com/jordan.deloach</a>.<br />
Want other information? It&#8217;s easy</p>
<ul>
<li>http://graph.facebook.com/me/picture links to that select person&#8217;s profile (replace Me with the FB ID of anything on Facebook)</li>
<li>http://graph.facebook.com/me/home Your news feed</li>
<li>http://graph.facebook.com/me/feed Your wall</li>
<li>http://graph.facebook.com/me/movies Your movies.</li>
</ul>
<p>Obviously there are many more than this, and it as simple as fetching these url&#8217;s in your application to get all this data. Check out the <a href="http://jtmcgee.net/archives/2010/08/java-the-power-language-for-web-or-console/">Graph API</a> for more examples and the nitty-gritty syntax. You can get all sorts of data on any event, photo, anything really.</p>
<h3>Where these two technologies meet</h3>
<p>Now the reason that we discussed OAuth tokens was that so you had them in your application for when the time came when you needed some data. Not all data requires a token, in fact any data visible by outside (non-friend) users is visible. However when that no longer cuts it, an access token with proper permissions can get you all the data you need. When applying the access token it is as simple as putting it as a GET argument</p>
<pre><code>https://graph.facebook.com/me/friends?access_token=w5h2kl5jhkleh235hjkl23h5jkwhfklq3
</code></pre>
<p>Note: when using an access token you must use HTTPS or a secure connection.</p>
<p>Another note: Me refers to the user who authorized the access token, not the developer.</p>
<p>And another, major note: all data will be returned in JSON Object forrm, so all you need is a few libraries, or if they are included with your language you&#8217;re fine.<br />
For Java I used the libraries are JSON.org, they worked just fine.</p>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F08%2Fthe-facebook-graph-and-oauth-2-0%2F&title=The+Facebook+Graph+and+OAuth+2.0" rel="news, programming"><span style="display:none">During my recent Facebook app development using Java, I had to have some minor integration with Facebook, and I am here to share what I have learned and the cool parts about Facebook&#8217;s &#8220;Graph.&#8221; Introduction to Working with Facebook When writting my application, it happened to be a canvas app, or it was accessed via </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/08/the-facebook-graph-and-oauth-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java &#8211; The Power Language (for Web or Console)</title>
		<link>http://jtmcgee.net/archives/2010/08/java-the-power-language-for-web-or-console/</link>
		<comments>http://jtmcgee.net/archives/2010/08/java-the-power-language-for-web-or-console/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 01:30:07 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[appengine]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=205</guid>
		<description><![CDATA[Recently, I wrote my first Facebook application. It was a small project, and it&#8217;s main purpose was to replace the common note entitled something like &#8220;Xth grade Schedule!!!&#8221; and it was designed to be more efficient for the end user. After inputting your schedule, you would go through and see who is in your classes ]]></description>
			<content:encoded><![CDATA[<p>Recently, I <a href="http://jtmcgee.net/archives/2010/08/social-schedules-my-first-facebook-application/">wrote my first Facebook application</a>. It was a small project, and it&#8217;s main purpose was to replace the common note entitled something like &#8220;Xth grade Schedule!!!&#8221; and it was designed to be more efficient for the end user. After inputting your schedule, you would go through and see who is in your classes (that the system already knows). There were other cool features like using some <a href="http://developers.facebook.com/plugins">Facebook Social Plugins</a> like the &#8220;Like&#8221; button and Facebook comments.</p>
<p>Now for this application, as I wrote it in a matter of days and released it the day of schedule releases, I had to go with a language I knew very well, and I had to have a reliable, dependable source to host it at. I automatically though of the <a href="http://code.google.com/appengine/">Google App Engine</a> as it is pretty sweet to play around with and now would be a great time to test it in a live environment. My previous application I had wrote on Google&#8217;s free, scalable engine was written in Python. It utilized the amazing Django framework, but I felt like I didn&#8217;t really understand the Python language as well as some others. The only other option for selection on the App Engine was Java. This was perfect as I had just completed a summer class on Java and it was extremely fresh in my mind.</p>
<p><span id="more-205"></span></p>
<h2>Core Java Servlets</h2>
<p>Now coming from PHP for web development the idea of Servlets and JSP&#8217;s was totally a different way of thinking. With PHP I was used to putting what code I needed to on each page to achieve what needed to be done. With a bit of Python/Django experience, Java&#8217;s way was still different, but not as different as PHP to Java. Java&#8217;s JSP method reminded me a lot of Django templates, except that JSP&#8217;s are a load more powerful. As Django templates (at least from my experience) only allow a few tags, a JSP allows practically any Java code (that would normally go inside a main method) and allows imports and special features unique to JSP&#8217;s, like includes. JSP&#8217;s includes in fact reminded me some more of Django&#8217;s templates with all the splitting up possible of the HTML files.</p>
<p>Now that we briefly know what a JSP is, a servlet is just like a Java class that implements the standard Apache servlet. Within these servlets you have two methods by default <code>doGet(HttpServletRequest req, HttpServletResponse resp)</code> and <code>doPost()</code> with the same arguments. There are a few differences from a standard Java class beyond those previously noted:</p>
<pre><code>resp.getWriter().println(); // to print to the screen you must get the PrintWriter via the resp.getWriter() method
resp.setContentType("text/html"); // must do if you print out any HTML and don't want it to appear as standard text
resp.sendRedirect(String url); // a simple way to send a user to be redirected
</code></pre>
<p>There is (obviously) no console input on a web browser, so the standard way to get input via the web is through GET and POST methods. These are handled via the corresponding <code>doGet()</code> and <code>doPost()</code> methods. Now to actually get the value passed, you must know the variable name and use it accordingly.</p>
<pre><code>req.getParameter(String paramName); // where paramName is the ?name=Joe&amp;age=18 name or age
</code></pre>
<p>Sometimes you will also find yourself in need of getting an array, from say a multiple choice drop down.</p>
<pre><code>req.getParameterValues(String paramName); // just once and it will return a String[]
</code></pre>
<p>Now onto more of the theory behind servlets, and less of the syntax. Now please remember when I say theory, this is just the way I perceive it. In my application if I would have a full blown HTML page, I would always put it in a JSP as it is so simple and better looking. However when there was a simpler page that had a bit more code behind it, I would make that a servlet. An example of a simpler page with more code that I used as a servlet would be my form handlers (any adding or updating interaction with the database), and also I handled the OAuth authentication with servlets.</p>
<h2>JSP&#8217;s</h2>
<p>JSP&#8217;s, or Java Server Pages, are a mix between Java code &amp; client-side scripting. It allows you to mix the power of Java and your the models in your MVC framework with the simplicity of a HTML file. You probably see them all over the web, as they are quite effective, especially in larger businesses and universities.<br />
I have not personally gone that far into all the powers of JSP&#8217;s but enough to know that I like them. I am not going to try and write a tutorial but just point out a few things I use and a good tutorial or two.<br />
Now one of the simplest, but greatest is the server-side include of static content. This allows you to keep your web pages on the server side leaner and able to easily change base things like headers or footers.</p>
<pre><code>&lt;%@ include file="/include.html" %&gt;
</code></pre>
<p>Other useful things to know, if you need to get any parameters or need to mess with the request or response, they are simply called <code>request</code> and <code>response</code> in all JSP&#8217;s. So you could use a <code>request.getParameter("id");</code> for example.<br />
If you need to write anything to the page from within the Java code just throw a <code>out.println(String value);</code> or <code>out.print(String value)</code>.</p>
<p>For anything more than what I included check Google for some JSP tutorials or here is a good looking <a href="http://www.jsptut.com/">one</a>.</p>
<h2>Benefits</h2>
<p>I see there being several benefits of using Java as the language behind more complex applications because of it is an object oriented language. It being OO allows code to get so many more times complex. Now, in web development at least, a OO language is only as good as the database that supports it . I happened to be very lucky with Google App Engine as it was powered by a OO database allowing me to store some of my unique data types like &#8220;Student&#8221;, &#8220;Teacher&#8221;, &#8220;Course&#8221;, and &#8220;Schedule&#8221; in the database and retrieve it like it has been open since it was created. Most of the interface for this was provided in the JDO classes in <code>javax.JDO</code>.<br />
With this and a few classes for getting and selecting certain Students/Teachers/Courses, it was very easy to get exactly the results I want in a few lines of code in a JSP. And I know that in Python and PHP you can have classes and objects, but it&#8217;s just not the same as it is in Java. While Java can be pretty strict with it&#8217;s types and defining them, it in turn gives a lot of power to create awesome and dynamic applications for the end user.</p>
<h2>Finally</h2>
<p>As I have been reading in my &#8220;Clean Code&#8221; book, it is better to take longer and write software better the first time. Better being Javadoc&#8217;d and Object-Oriented. If you were to write it the other way, with say PHP or Python and have each script access the relational database, get the results, sort the results into the data you need, and output it correctly, that is so much code duplication. One script could be anywhere from 20% &#8211; 50% of the same code over and over, why not just write it great in the beginning in an OO way so the only code duplication you have is one or two lines to load the pre-written-by-you libraries that does all that work in one place, one time.</p>
<p>And sorry <a href="http://epicserve.com">Brent</a> I think I like Java Servlets &amp; JSP&#8217;s a wee bit more than Python/Django even though I think Django is a great framework and would love if it were written in Java instead, Python just isn&#8217;t as big and powerful as Java.</p>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F08%2Fjava-the-power-language-for-web-or-console%2F&title=Java+%26%238211%3B+The+Power+Language+%28for+Web+or+Console%29" rel="news, programming"><span style="display:none">Recently, I wrote my first Facebook application. It was a small project, and it&#8217;s main purpose was to replace the common note entitled something like &#8220;Xth grade Schedule!!!&#8221; and it was designed to be more efficient for the end user. After inputting your schedule, you would go through and see who is in your classes </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/08/java-the-power-language-for-web-or-console/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Social Schedules: My First Facebook Application</title>
		<link>http://jtmcgee.net/archives/2010/08/social-schedules-my-first-facebook-application/</link>
		<comments>http://jtmcgee.net/archives/2010/08/social-schedules-my-first-facebook-application/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 16:31:17 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[servlets]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=201</guid>
		<description><![CDATA[I have had this idea for several years, I had always thought the way of sharing schedules on Facebook was inefficient. At my high school I would have to go through 1200 notes, just to see who was in my class. My application, only available for MHS students, allows you to add your schedule (teachers and classes), ]]></description>
			<content:encoded><![CDATA[<p>I have had this idea for several years, I had always thought the way of sharing schedules on Facebook was inefficient. At my high school I would have to go through 1200 notes, just to see who was in my class.</p>
<p>My application, only available for MHS students, allows you to add your schedule (teachers and classes), see who&#8217;s in your class, comment and Facebook Like both your teachers and your hours.</p>
<p>It was written on the Google App engine, using an OO (object oriented) database with JSP&#8217;s and Core-servlets. I  will be writing a post about this stuff later.</p>
<p>For some who want to complain about how &#8220;bad&#8221; it is, I remind you this was about 8 days of work. However here is some of my attached code for it. Note: this is only SOME, not all.</p>
<p><a href="http://jtmcgee.net/wp-content/uploads/2010/08/socialschedulesSource.zip">socialschedulesSource</a> [zip]</p>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F08%2Fsocial-schedules-my-first-facebook-application%2F&title=Social+Schedules%3A+My+First+Facebook+Application" rel="news, programming"><span style="display:none">I have had this idea for several years, I had always thought the way of sharing schedules on Facebook was inefficient. At my high school I would have to go through 1200 notes, just to see who was in my class. My application, only available for MHS students, allows you to add your schedule (teachers and classes), </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/08/social-schedules-my-first-facebook-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java &#8211; From a PHP programmers perspective</title>
		<link>http://jtmcgee.net/archives/2010/07/java-from-a-php-programmers-perspective/</link>
		<comments>http://jtmcgee.net/archives/2010/07/java-from-a-php-programmers-perspective/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 19:03:29 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=179</guid>
		<description><![CDATA[Java has intimidated me for years mostly because all you have to do to just create a "Hello World", now I come to share about Java and a few tips so it doesn't seem so intimidating]]></description>
			<content:encoded><![CDATA[<p>Java has one heck of a complex &#8220;Hello World&#8221;, intimidating many away from it. However as I had no choice but to learn it as it was the language of 7/8 weeks of my summer programming class at K-State I had to start using it.</p>
<p>I do not see the &#8220;Hello World&#8221; that intimidating anymore, for the single reason is that I know what and why all those words are there at the beginning of the file, and the best way for you to get into it is to understand it.</p>
<pre><code>public class HelloWorld {

    public static void main(String[] args) {

        System.out.println("Hello World");

    }

}
</code></pre>
<p>The first line is public class HelloWorld. <code>public</code> simply means that from anywhere and by anybody this class can be called. The <code>class</code> simply means that it is a class, as all beginning files in Java will be. The <code>HelloWorld</code> I think should be pretty easy to understand. The second line, <code>public static void main(String[] args)...</code> is a bit more complicated. The <code>public</code> meaning that this method can be called from outside this class. <code>static</code> means that this method can be called without initializing the whole class as an object. <code>void</code> simply means that it returns no value, as methods in the future might, like <code>int</code> or <code>boolean</code>. The next part, <code>main</code> means that this method should be run whenever this program is run, for any Java program to run, there must be a main method. <code>String[] args</code> is probably the strangest part, <code>String</code> is a line of characters, like a word, sentence, anything really. In Java, this <code>[]</code> mean an array, so <code>String[] args</code> means that for it&#8217;s  parameters it takes an array of Strings. However you won&#8217;t deal with this for a while in your Java career. <code>System.out.println...</code> breaks down to <code>System</code>, which is a package (a folder full of classes) and <code>out</code> is a class within the package that deals with output. Finally <code>println</code> is a method (function) which prints the line.</p>
<p><span id="more-179"></span></p>
<h2>Understanding Strings</h2>
<p>Ever wondered why in Java, you see things like <code>int</code> and <code>double</code> and they are lower-cased, but <code>String</code> is capitalized? All class names in Java are capitalized, and so must <code>String</code> be.</p>
<pre><code>String myname = "Jordan";
</code></pre>
<p>You are creating a new object (unique version of a class) of the class <code>String</code>. With strings you can do so much more than a primitive type (<code>int</code>, <code>boolean</code>, <code>short</code>, etc.). As myname is an object, it has methods that uniquely work with it.</p>
<pre><code>System.out.print(myname.length()); // prints number of chars in myname

System.out.print(myname.charAt(4)); // prints a' for the 5th char in it
</code></pre>
<p>There are many more options, but that will do for examples of how this is an amazing way to store Strings.</p>
<h2>More on Classes and Objects</h2>
<p>To help you differentiate between classes and objects, I offer the following example.</p>
<pre><code>MathOps.factorial(5); // uses the class MathOps and static method factorial()

MathOps math = new MathOps();

math.factorial(5); // uses the unique object

// another example that shows benefits

ShoppingCart cart1 = new ShoppingCart();

ShoppingCart cart2 = new ShoppingCart();

cart1.add("blanket");

cart1.add("shampoo");

cart2.add("ice cream");

cart1.remove("shampoo");

System.out.println(cart1.list());

System.out.println(cart2.list());
</code></pre>
<p>Yes, I have not actually made any of those classes, but those were just for examples, see with the <code>ShoppingCart</code> example, you saw exactly the benefits of the different objects as opposed to storing them in one big class where it would get all mixed up together.</p>
<h2>User Input &amp; Reading Files</h2>
<p>It is quite strange, but in Java these are EXTREMELY similar so they shall be grouped together.  To read user input in Java, one must first look for it.</p>
<pre><code>Scanner s = new Scanner(System.in);
</code></pre>
<p><code>Scanner</code> is a great class. I used to oppose it, but now seeing it&#8217;s virsitility, it&#8217;s a great class. Anyways what this says is create a new object named &#8220;s&#8221; that reads System input. To get a line of input is as easy as <code>s.nextLine();</code></p>
<pre><code>System.out.print("Please enter your name: ");

String name = s.nextLine();

System.out.println("Hello " + name);
</code></pre>
<p>Now the reason it was grouped with reading files is because if you want to ready a file, just tell <code>Scanner</code> so.</p>
<pre><code>Scanner s = new Scanner(new File("filename.txt"));

while(s.hasNext()) { // hasNext() returns true as long is there more lines

    System.out.println(s.nextLine());

}
</code></pre>
<p>That would print out every line of the file. It is just like reading input, just a different start.</p>
<h2>Loops and If&#8217;s</h2>
<p>If your familiar with PHP this is extremely easy and only requires a paragraph or two.</p>
<pre><code>boolean a  = true;

if(a) {

    // then do this

} else if(!a) {

    // then do this, notice the space between else and if not elseif

} else {

    // else do this

}

if(a) {

    // one line only can use this format

} else {

    // same for loops too

}

for(int i = 0; i &lt; 10; i++) // you can use {} if you want

    System.out.println(i);

while(true) {

    // infinite loop

}
</code></pre>
<h2>Good Things to Know</h2>
<pre><code>Integer.parseInt("123"); // can take a string (like user input) and convert it

Double.parseDouble("2.3"); //ditto

String b = "hey";

b.charAt(0); // gets the a (parameter) character from a string
</code></pre>
<h2>Conclusion</h2>
<p>With just that basic two to three page intro, you should be pretty set. Using just the things desribed here, you can do just about anything text-based. If you want to start working with GUI&#8217;s you&#8217;ll have to go to google and find a nice tutorial on how to do that. It&#8217;s more work, but it is just an extension of this sort of thing.</p>
<h2>Glossary</h2>
<p>Method (Java) ~ Function (PHP)</p>
<p>Int ~ Medium ranged integers</p>
<p>Double ~ For numbers with a decimal</p>
<p>Boolean ~ True or false</p>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F07%2Fjava-from-a-php-programmers-perspective%2F&title=Java+%26%238211%3B+From+a+PHP+programmers+perspective" rel="news, programming"><span style="display:none">Java has intimidated me for years mostly because all you have to do to just create a "Hello World", now I come to share about Java and a few tips so it doesn't seem so intimidating</span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/07/java-from-a-php-programmers-perspective/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Tips/Useful things for new Linux people</title>
		<link>http://jtmcgee.net/archives/2010/07/ubuntu-tipsuseful-things-for-new-linux-people/</link>
		<comments>http://jtmcgee.net/archives/2010/07/ubuntu-tipsuseful-things-for-new-linux-people/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 14:20:01 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=173</guid>
		<description><![CDATA[Reduce all that typing, use the * and ~ command. As most of you know * is a wildcard, the cool thing is it can be applied virtually anywhere in the Linux Shell. It&#8217;s great for being lazy when you don&#8217;t want to complete a whole file name. sudo nano /etc/apache2/sites-enabled/* That command would edit ]]></description>
			<content:encoded><![CDATA[<h2>Reduce all that typing, use the * and ~ command.</h2>
<p>As most of you know * is a wildcard, the cool thing is it can be applied virtually anywhere in the Linux Shell. It&#8217;s great for being lazy when you don&#8217;t want to complete a whole file name.</p>
<blockquote><p><strong>sudo nano /etc/apache2/sites-enabled/*</strong></p></blockquote>
<p>That command would edit the sites-enabled file, it is named ( at least on my server ) something strange like &#8220;000-default&#8221; and instead of remembering that, just put part of it. And a even more known thing is to use a ~ for your home directory, cool thing is you don&#8217;t even need to keep it in /home for it to find it.</p>
<blockquote><p><strong>cd ~/Pictures/May*9</strong></p></blockquote>
<p>That command would change directory into Pictures in your home directory and go to the folder that starts with May and ends with 9, such as <strong>May</strong> 200<strong>9</strong></p>
<p><strong><br />
</strong></p>
<h2>Don&#8217;t wait for a command to finish, just list them all at once with &amp;&amp;</h2>
<blockquote><p><strong>sudo apt-get update &amp;&amp; sudo apt-get upgrade</strong></p></blockquote>
<p>The command right there is a great command that simplifies Ubuntu updates to just one line, instead of updating ( finding out what needs to be upgraded ) and acctually upgrading the packages. These commands can really be piled on, like yesterday I used the following:</p>
<blockquote><p><strong>wget http://localhost:8080/ &amp;&amp; cat index.html &amp;&amp; rm index.html</strong></p></blockquote>
<p>I would download a file, print it out, and delete it. All in one command. &amp;&amp; is great.</p>
<blockquote><p><strong>sudo mkdir /media/Data &amp;&amp; sudo mount /dev/sdc1 /media/Data</strong></p>
<p><strong><br />
</strong></p></blockquote>
<h2><span id="more-173"></span></h2>
<h2>Stop scanning through all that output, find it quickly with grep</h2>
<p>This one took me a long time to understand ( not sure why ) but whenever your searching for something in output, just add a &#8220;| grep zzzz&#8221; at the end to find zzzz. Here is a real life example:</p>
<blockquote><p><strong>sudo netstat -tupan | grep 8080</strong></p></blockquote>
<p>That command would look at what program is using port 8080, or another example:</p>
<blockquote><p><strong>ls -Ra ~ | grep file.txt</strong></p></blockquote>
<p>That would list all the files in your home directory, ( the R is for recursive so it goes through all the folders in there not just the base one and the a is for all files, even hidden. ) and it would print out anything it finds that has &#8220;file.txt&#8221; in it.</p>
<h2>Important Options on Important Commands</h2>
<ul>
<li><strong>ls -l</strong> lists files with there permissions</li>
<li><strong>sudo -i</strong> become root</li>
<li><strong>cp -r, mv -r, ls -R, etc.</strong> Recursivley do something ( look through all the folders, not just the starting folder )</li>
<li><strong>any command with -h </strong>-h or &#8211;help is normally the help output and is almost always there.</li>
<li><strong>almost any command with -v</strong> verbose tells you everything it is doing, great for debugging</li>
</ul>
<h2>Great Commands</h2>
<ul>
<li><strong>cat</strong> read a file without entering it, eg cat file.txt would output the contents of file.txt</li>
<li><strong>touch</strong> create a file without entering it, eg touch file.txt creates file.txt</li>
<li><strong>&#8220;echo &#8216;text here&#8217; &gt;&gt; file.txt&#8221;</strong> adds &#8216;text here&#8217; add the bottom of file.txt, can also use with commands like <strong>lshw &gt;&gt; lshw.txt</strong></li>
<li><strong>lshw -html &gt;&gt; lshw.html</strong> lists your hardware with lots of details in a neat html file.</li>
<li><strong>sudo start/stop/restart servicename</strong> like <strong>sudo stop mysqld </strong>stops mysql</li>
</ul>
<h2>Other Random Things:</h2>
<ul>
<li>&#8220;.&#8221; is the present directory, just the period, like <strong>cp /etc/apache2/ ./ </strong>would copy everything in the apache2 folder to the present directory</li>
<li>&#8220;..&#8221; or &#8220;../&#8221; is the upper directory, apache2&#8242;s would be /etc and /bin&#8217;s would be / ( great for cd ../ )</li>
<li>The &#8220;d&#8221; at the end of things like sshd or mysqld normally stands for daemon</li>
<li>cron schedules things to run at certain times</li>
<li>Use public/private keys</li>
</ul>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F07%2Fubuntu-tipsuseful-things-for-new-linux-people%2F&title=Ubuntu+Tips%2FUseful+things+for+new+Linux+people" rel="news, programming"><span style="display:none">Reduce all that typing, use the * and ~ command. As most of you know * is a wildcard, the cool thing is it can be applied virtually anywhere in the Linux Shell. It&#8217;s great for being lazy when you don&#8217;t want to complete a whole file name. sudo nano /etc/apache2/sites-enabled/* That command would edit </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/07/ubuntu-tipsuseful-things-for-new-linux-people/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>63 Reasons to Love Ubuntu, Linux, and Unix</title>
		<link>http://jtmcgee.net/archives/2010/06/63-reasons-to-love-ubuntu-linux-and-unix/</link>
		<comments>http://jtmcgee.net/archives/2010/06/63-reasons-to-love-ubuntu-linux-and-unix/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 02:23:42 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=170</guid>
		<description><![CDATA[Intro: Started as 10,20,30 reasons and would add up to 50. There are just too many great things about Ubuntu / Linux / Unix. Look, I sat down to write 50 and Ubuntu ( and Linux ( and Unix )) are so amazing I couldn’t stop until I got to 63 reasons why it is ]]></description>
			<content:encoded><![CDATA[<p>Intro: Started as 10,20,30 reasons and would add up to 50. There are just too many great things about Ubuntu / Linux / Unix. Look, I sat down to write 50 and Ubuntu ( and Linux ( and Unix )) are so amazing I couldn’t stop until I got to 63 reasons why it is amazing.</p>
<h2>11 Reasons to Love Ubuntu:</h2>
<ul>
<li>Ubuntuforums.org</li>
<li>Simple website, setup, all around simple</li>
<li>Apt-get</li>
<li>Apt-get</li>
<li>Ubuntu Wiki</li>
<li>The Ubuntu community</li>
<li>Most programs have a special install for it, or at least have specific instructions for Ubuntu.</li>
<li>Wonderful built in software</li>
<li>2 Updates a year</li>
<li>LTS updates</li>
<li>Ubuntu chartroom is great for instant support</li>
</ul>
<h2><span id="more-170"></span></h2>
<h2>28 Reasons to love Linux:</h2>
<ul>
<li>Open Source</li>
<li>Open Source</li>
<li>Open Source</li>
<li>Open Source</li>
<li>Great help base (though Ubuntu’s is superior)</li>
<li>Anything is possible with the right knowledge</li>
<li>Gnome</li>
<li>Reliability</li>
<li>Free</li>
<li>Lash / ffmpeg / lspci / lsusb (amazing, simple commands)</li>
<li>Grep</li>
<li>Amazing logging (try finding that in windows!)</li>
<li>File transfer speeds are shown (MAJOR)</li>
<li>Makes the best servers</li>
<li>Cron</li>
<li>Wget / fdisk / DF –H (so many great command)</li>
<li>Wine (the Windows emulator, not the alcoholic beverage)</li>
<li>Not graphically weighed down, but still looks good</li>
<li>You have a choice of gui ( Gnome, KDE, Xfce, etc. )</li>
<li>You can run just about any sort of server on Linux</li>
<li>So freaking customizable</li>
<li>X</li>
<li>X over SSH</li>
<li>Great built in support for encryption</li>
<li>Really easy to start making your own scripts and customizing it just the way you like it.</li>
<li>Best security, anywhere. No config necessary (but you still can)</li>
<li>CUPS</li>
<li>It can run on anything even a 200 MHz processor</li>
</ul>
<h2>24 Reasons to love Unix:</h2>
<ul>
<li>SSH</li>
<li>Amazing setup (root /) so much better than C: and D: and E: and F: etc.</li>
<li>Great integration with PHP, Python, etc.</li>
<li>Bash / SH</li>
<li>Mounting is SO easy</li>
<li>Terminal is worth knowing (cmd.exe is a joke)</li>
<li>Great built in support for compression (more than just windows zip!)</li>
<li>Transmission (app)</li>
<li>Finder/Nautilus are not the ugly  explorer.exe</li>
<li>Mounting more than a hard drive is possible (network and virtuals)</li>
<li>You don’t need extras; the basics do it (Ex: ISO making is included in Unix by default)</li>
<li>Efficiency</li>
<li>Rarely has Apps act up like Windows (You’ll forget what to do when you see a Don’t Send)</li>
<li>The Icons look good</li>
<li>You finally can break away from the start menu of windows.</li>
<li>Directory/File permissions are worth using</li>
<li>Directory/File owners are worth using</li>
<li>Groups are worth using</li>
<li>Customizabilicity. ( Yes, it’s not a word but even when you can customize your boot loader than is pretty amazing )</li>
<li><strong>SUDO</strong></li>
<li>Terminal can look pretty flashy ( compared to cmd.exe )</li>
<li>It doesn’t lie, it throws files away, it doesn’t recycle them ( attack on the Recycle Bin of Windows )</li>
<li>It gets along with everyting, Windows, Mac, Linux, Unix always communicates great.</li>
<li>There is hope for when you have problems</li>
</ul>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F06%2F63-reasons-to-love-ubuntu-linux-and-unix%2F&title=63+Reasons+to+Love+Ubuntu%2C+Linux%2C+and+Unix" rel="news, programming"><span style="display:none">Intro: Started as 10,20,30 reasons and would add up to 50. There are just too many great things about Ubuntu / Linux / Unix. Look, I sat down to write 50 and Ubuntu ( and Linux ( and Unix )) are so amazing I couldn’t stop until I got to 63 reasons why it is </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/06/63-reasons-to-love-ubuntu-linux-and-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Update 3.0</title>
		<link>http://jtmcgee.net/archives/2010/06/wordpress-update-3-0/</link>
		<comments>http://jtmcgee.net/archives/2010/06/wordpress-update-3-0/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 14:54:06 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=167</guid>
		<description><![CDATA[I just finished upgrades on the site to 3.0. I have not seen much changes, but it&#8217;s always good to be up to date. Just thought I would in form everyone of that. I just finished upgrades on the site to 3.0. I have not seen much changes, but it&#8217;s always good to be up ]]></description>
			<content:encoded><![CDATA[<p>I just finished upgrades on the site to 3.0. I have not seen much changes, but it&#8217;s always good to be up to date. Just thought I would in form everyone of that.</p>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F06%2Fwordpress-update-3-0%2F&title=WordPress+Update+3.0" rel="news, programming"><span style="display:none">I just finished upgrades on the site to 3.0. I have not seen much changes, but it&#8217;s always good to be up to date. Just thought I would in form everyone of that</span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/06/wordpress-update-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just an update</title>
		<link>http://jtmcgee.net/archives/2010/05/just-an-update/</link>
		<comments>http://jtmcgee.net/archives/2010/05/just-an-update/#comments</comments>
		<pubDate>Sat, 22 May 2010 18:59:25 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=162</guid>
		<description><![CDATA[I haven&#8217;t posted in a while, so here is an update on what I have been doing: I have installed a gigabit switch and patch panel. It rocks. I have got a server up and running beautifully that my family uses for backups and media streaming I am in the middle of setting up a ]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t posted in a while, so here is an update on what I have been doing:</p>
<ul>
<li>I have installed a gigabit switch and patch panel. It rocks.</li>
<li>I have got a server up and running beautifully that my family uses for backups and media streaming</li>
<li>I am in the middle of setting up a git server on my server.</li>
<li>I have been messing around with RSA and DSA and PGP keys.</li>
<li>Finishing up school</li>
<li>Prepping for taking CIS 200 at K-State. College class at 15 <img src='http://jtmcgee.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ( Software Design Fundamentals )</li>
<li>I have become an avid Ubuntu addict.</li>
<li>Can&#8217;t wait to get a Macbook.</li>
</ul>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F05%2Fjust-an-update%2F&title=Just+an+update" rel="news, programming"><span style="display:none">I haven&#8217;t posted in a while, so here is an update on what I have been doing: I have installed a gigabit switch and patch panel. It rocks. I have got a server up and running beautifully that my family uses for backups and media streaming I am in the middle of setting up a </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/05/just-an-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ObamaCare &#8211; Before, During, and After the Fight</title>
		<link>http://jtmcgee.net/archives/2010/03/obamacare-before-during-and-after-the-fight/</link>
		<comments>http://jtmcgee.net/archives/2010/03/obamacare-before-during-and-after-the-fight/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 02:36:53 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[democrats]]></category>
		<category><![CDATA[gop]]></category>
		<category><![CDATA[healthcare]]></category>
		<category><![CDATA[obama]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[republicans]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=157</guid>
		<description><![CDATA[What is in this bill? “We have to pass the bill so that you can find out what is in it.&#8221; Speaker of the House, Nancy Pelosi ( D &#8211; California ) Now that we have &#8220;passed the bill&#8221; we can finally &#8220;what is in it.&#8221; What&#8217;s in it? Good question, we have secret deals ]]></description>
			<content:encoded><![CDATA[<p><strong>What is in this bill?</strong></p>
<blockquote><p>“We have to pass the bill so that you can find out what is in it.&#8221; Speaker of the House, Nancy Pelosi ( D &#8211; California )</p></blockquote>
<p>Now that we have &#8220;passed the bill&#8221; we can finally &#8220;what is in it.&#8221; What&#8217;s in it? Good question, we have secret deals for Nebraska and other states, we have $500 billion in cuts to Medicare, $52 billion in Social Security cuts, and taking over the loan industry.</p>
<p>Now those first ones are easy to believe, but that last one &#8220;taking over the loan industry?&#8221; Yes, sadly it is true. According to a March 22 article of USA Today &#8220;The government will shut down private lenders, sell expensive loans to 19 million college students and use the profits to finance ObamaCare.&#8221;</p>
<p>This bill is loaded with unfair, important-industry-cutting, profiting crap. After just knowing what is in this wretched bill, it should be enough to show you this bill is not right.</p>
<p>Yes, there are some good effects, but it is how we get there. Just like we can quickly solve the middle east problem with a nuke, it&#8217;s an unacceptable way of getting there.</p>
<p><strong>How do the American people feel about this bill?</strong></p>
<p>60% disapprove of this bill! And 57% are disgusted at the Democrats way of getting this past, the secret deals, the close door meetings, etc. Since Obama has been pushing this, Obama has hit his lowest rating ever.  These three statistics clearly show most Americans don&#8217;t want this, yet Democrats are using crude and rude tactics to get this in. A final, resounding statistic is 11% currently agree with  congress right now. If that doesn&#8217;t make something ring in your head, well&#8230; nothing will.</p>
<p><span id="more-157"></span></p>
<p><strong>Some evidence of new government power<br />
</strong></p>
<p>According to a &#8220;Ways and Means&#8221; report of the U.S. House, IRS agents now have the right to:</p>
<ul style="list-style-type: disc;">
<li style="margin: 0in 0in 0pt;"><span style="font-family: arial,sans-serif; font-size: 10pt;">IRS agents <span style="text-decoration: underline;">verify if you have “acceptable” health care coverage</span>;<br />
</span></li>
<li style="margin: 0in 0in 0pt;"><span style="font-family: arial,sans-serif; font-size: 10pt;">IRS has the <span style="text-decoration: underline;">authority to fine you up to $2,250 or 2 percent of your income</span> (whichever is greater) for failure to prove that you have purchased “minimum essential coverage<span style="color: #31849b;">;</span>”<br />
</span></li>
<li style="margin: 0in 0in 0pt;"><span style="font-family: arial,sans-serif; font-size: 10pt;">IRS can <span style="text-decoration: underline;">confiscate your tax refund</span>;<br />
</span></li>
<li style="margin: 0in 0in 0pt;"><span style="font-family: arial,sans-serif; font-size: 10pt;">IRS <span style="text-decoration: underline;">audits are likely to increase</span>;<br />
</span></li>
<li style="margin: 0in 0in 0pt;"><span style="font-family: arial,sans-serif; font-size: 10pt;">IRS will need <span style="text-decoration: underline;">up to $10 billion to administer</span> the new health care program this decade;<br />
</span></li>
<li style="margin: 0in 0in 0pt;"><span style="font-family: arial,sans-serif; font-size: 10pt;">IRS may need to <span style="text-decoration: underline;">hire as many as 16,500 additional auditors, agents and other employees</span> to investigate and collect billions in new taxes from Americans; and<br />
</span></li>
<li style="margin: 0in 0in 0pt;"><span style="font-family: arial,sans-serif; font-size: 10pt;">Nearly <span style="text-decoration: underline;">half of all these new individual mandate taxes will be paid by Americans earning less than 300 percent of poverty</span> ($66,150 for a family of four.)</span></li>
</ul>
<p>See all those &#8220;quotes&#8221; are places where its up to the specific IRS agent, how they feel about you, that day, etc. I don&#8217;t know about you, but this scares me a little.</p>
<p><strong>What can we/you/I do?</strong></p>
<p>Support the &#8220;no&#8221;-ers. Those people, Republicans or Democrats, who weren&#8217;t affraid of anything, those were able to vote against everyone else. They need support both now and in the upcoming midterms. Another thing we can do is in the midterms, elect those who promise to repeal it.</p>
<p>Right now Senator Jim DeMint has promised a health care repeal bill by the end of the week. The repealing process has started, now it just needs support! Even if it is not successful right away in November when the GOP gains power, the repealing will be in an ever great forward motion. And even if that fails, many think that is what many will care about in the 2012 election, &#8220;will you repeal healthcare?&#8221;</p>
<p><strong>In Conclusion</strong></p>
<p>I hope this article has been a bipartisan explanation of what is, what is wrong, and what is to come. And I am quite tired, so I shall end this article right now.</p>
<p>Sources:</p>
<p><a href="    *  IRS agents verify if you have “acceptable” health care coverage;     * IRS has the authority to fine you up to $2,250 or 2 percent of your income (whichever is greater) for failure to prove that you have purchased “minimum essential coverage;”     * IRS can confiscate your tax refund;     * IRS audits are likely to increase;     * IRS will need up to $10 billion to administer the new health care program this decade;     * IRS may need to hire as many as 16,500 additional auditors, agents and other employees to investigate and collect billions in new taxes from Americans; and     * Nearly half of all these new individual mandate taxes will be paid by Americans earning less than 300 percent of poverty ($66,150 for a family of four.) ">http://www.cbsnews.com/8301-503544_162-6084818-503544.html</a></p>
<p><a href="http://www.cbsnews.com/8301-503544_162-6084856-503544.html">http://www.cbsnews.com/8301-503544_162-6084856-503544.html</a></p>
<p><a href="http://www.rasmussenreports.com/public_content/politics/obama_administration/daily_presidential_tracking_poll">http://www.rasmussenreports.com/public_content/politics/obama_administration/daily_presidential_tracking_poll</a></p>
<p><a href="http://republicans.waysandmeans.house.gov/News/DocumentSingle.aspx?DocumentID=176997">http://republicans.waysandmeans.house.gov/News/DocumentSingle.aspx?DocumentID=176997</a></p>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F03%2Fobamacare-before-during-and-after-the-fight%2F&title=ObamaCare+%26%238211%3B+Before%2C+During%2C+and+After+the+Fight" rel="news, programming"><span style="display:none">What is in this bill? “We have to pass the bill so that you can find out what is in it.&#8221; Speaker of the House, Nancy Pelosi ( D &#8211; California ) Now that we have &#8220;passed the bill&#8221; we can finally &#8220;what is in it.&#8221; What&#8217;s in it? Good question, we have secret deals </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/03/obamacare-before-during-and-after-the-fight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wiring a gigabit network out of phone lines.</title>
		<link>http://jtmcgee.net/archives/2010/02/wiring-a-gigabit-network-out-of-phone-lines/</link>
		<comments>http://jtmcgee.net/archives/2010/02/wiring-a-gigabit-network-out-of-phone-lines/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 01:59:44 +0000</pubDate>
		<dc:creator>Jordan DeLoach</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtmcgee.net/?p=137</guid>
		<description><![CDATA[So this morning I got up at 4 a.m. ( yes on a saturday ) and I was ready to go. I have been wanting to get quad-monitors but I had no spots PCI-E or PCI to put in another graphics card. I however had a PCI wireless card that if I could get rid ]]></description>
			<content:encoded><![CDATA[<p><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3175.jpg"><img class="alignleft size-medium wp-image-151" title="img_3175" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3175-300x225.jpg" alt="img_3175" width="300" height="225" /></a><br />
<a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3166.jpg"><img class="alignleft size-medium wp-image-138" title="img_3166" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3166-300x225.jpg" alt="img_3166" width="300" height="225" /></a>So this morning I got up at 4 a.m. ( yes on a saturday ) and I was ready to go. I have been wanting to get quad-monitors but I had no spots PCI-E or PCI to put in another graphics card. I however had a PCI wireless card that if I could get rid of, I could replace with a dual-headed graphics card.<br />
I was willing to do anything to get a Ethernet line to my room, my dad and I had a plan, it involved going through the unfinished base boards and running Ethernet that way from the heater room. When I was looking for a phone jack to plug the modem into ( for digital telephone, our modem does cable, internet, and telephone all from coaxial ) and I found this wiring that looked like a phone line but it had extra wires. It kept me perplexed for about an hour until I found a website that said most new houses had Cat5E wiring in them for telephone and I knew my house was only about 3 years old so I wondered&#8230; I went back and looked at the wire and sure enough it said Cat5E!!</p>
<p>So this is my &#8220;make shift gigabit switch and phone switch&#8221; as the real 8 gigabit switch and connector pieces are en route. It is connecting my room line and the line to the router as everyone else is yet to get on the bandwagon.</p>
<p><span id="more-137"></span></p>
<p><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3176.jpg"><img class="alignleft size-medium wp-image-152" title="img_3176" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3176-300x225.jpg" alt="img_3176" width="300" height="225" /></a><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3174.jpg"><img class="alignleft size-medium wp-image-150" title="img_3174" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3174-300x225.jpg" alt="img_3174" width="300" height="225" /></a><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3173.jpg"><img class="alignleft size-medium wp-image-149" title="img_3173" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3173-300x225.jpg" alt="img_3173" width="300" height="225" /></a><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3172.jpg"><img class="alignleft size-medium wp-image-148" title="img_3172" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3172-300x225.jpg" alt="img_3172" width="300" height="225" /></a><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3170.jpg"><img class="alignleft size-medium wp-image-147" title="img_3170" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3170-300x225.jpg" alt="img_3170" width="300" height="225" /></a><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_31661.jpg"><img class="alignleft size-medium wp-image-144" title="img_31661" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_31661-300x225.jpg" alt="img_31661" width="300" height="225" /></a><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3165.jpg"><img class="alignleft size-medium wp-image-143" title="img_3165" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3165-300x225.jpg" alt="img_3165" width="300" height="225" /></a><a href="http://jtmcgee.net/wp-content/uploads/2010/02/img_3163.jpg"><img class="alignleft size-medium wp-image-141" title="img_3163" src="http://jtmcgee.net/wp-content/uploads/2010/02/img_3163-300x225.jpg" alt="img_3163" width="300" height="225" /></a></p>
		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fjtmcgee.net%2Farchives%2F2010%2F02%2Fwiring-a-gigabit-network-out-of-phone-lines%2F&title=Wiring+a+gigabit+network+out+of+phone+lines." rel="news, programming"><span style="display:none">So this morning I got up at 4 a.m. ( yes on a saturday ) and I was ready to go. I have been wanting to get quad-monitors but I had no spots PCI-E or PCI to put in another graphics card. I however had a PCI wireless card that if I could get rid </span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://jtmcgee.net/archives/2010/02/wiring-a-gigabit-network-out-of-phone-lines/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
