<?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>Jonathan&#039;s Universe &#187; Geeky Rants</title>
	<atom:link href="http://jknipp.com/topics/geeky-rants/feed" rel="self" type="application/rss+xml" />
	<link>http://jknipp.com</link>
	<description>Make Yourself At Home</description>
	<lastBuildDate>Sun, 27 Jun 2010 17:39:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Google Wi-Fi Information &#8220;Theft&#8221; Is Overblown</title>
		<link>http://jknipp.com/2010/06/27/geeky-rants/248/google-wi-fi-information-theft-is-overblown</link>
		<comments>http://jknipp.com/2010/06/27/geeky-rants/248/google-wi-fi-information-theft-is-overblown#comments</comments>
		<pubDate>Sun, 27 Jun 2010 17:39:55 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>
		<category><![CDATA[Lame]]></category>
		<category><![CDATA[Opinion / Editorial]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=248</guid>
		<description><![CDATA[So I&#8217;m a little late to the party, but things have been crazy. For the past few months there have been news stories about how the Google Street View cars were also intercepting and analyzing people&#8217;s Wi-Fi signal as it &#8230; <a href="http://jknipp.com/2010/06/27/geeky-rants/248/google-wi-fi-information-theft-is-overblown">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://jknipp.com/2008/09/14/shameless-plugs/37/google-411' rel='bookmark' title='Google 411'>Google 411</a> <small>This is a pretty amazing service. And it&#8217;s free!&#8230; To everyone! Let&#8217;s say that I need to get a number...</small></li>
<li><a href='http://jknipp.com/2009/06/25/geeky-rants/209/google-voice-semi-released' rel='bookmark' title='Google Voice [Semi-]Released!'>Google Voice [Semi-]Released!</a> <small>Google has just announced the release/rolling out of Google Voice. Expectantly they are slowly rolling it out to people who&#8217;ve...</small></li>
<li><a href='http://jknipp.com/2009/08/06/opinion-editorial/228/google-voice-at-a-glance' rel='bookmark' title='Google Voice At A Glance'>Google Voice At A Glance</a> <small>Well, not exactly a glance. I&#8217;ve had it a few weeks now and think it&#8217;s great. When I got my...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m a little late to the party, but things have been crazy.</p>
<p>For the past few months there have been <a href="http://gizmodo.com/5539395/google-snooped-on-you-for-three-years-but-is-profoundly-sorry">news stories</a> about how the Google Street View cars were also <a href="http://gizmodo.com/5567460/wi+fi-data-captured-by-google-street-view-cars-included-passwords">intercepting</a> and <a href="http://gizmodo.com/5564876/google-targeted-by-30-states-over-wi+fi-snooping">analyzing </a>people&#8217;s <a href="http://www.engadget.com/2010/06/04/google-to-disclose-wifi-snooping-data-to-regulators-amid-allegat/">Wi-Fi signal</a> as it drove by their house.</p>
<p>Many privacy advocates are freaking out about this. I mean c&#8217;mon, the search engine giant is going around and sniffing packets right out of thin air. All their passwords and credit card numbers (when paying bills and such) are being exposed so the big, evil Google can take and do whatever it wants with it!</p>
<p>Two words. Bull crap.</p>
<p>While I cannot begin to speculate what exactly Google actually meant to do with this information (though, they now argue a rogue engineer put the code to capture the network data), it&#8217;s total bull crap to fault Google with privacy violations. The data that Google was actually pulling out of thin air was data being broadcasted from unsecured routers. Yup, that&#8217;s right. People are tossing their data out into the airwaves without a problem and call foul when that information is intercepted.</p>
<p>This is like having a private conversation using two way walkie talkies with your girlfriend down the street, and being upset and morally offended that anyone dare listen in. You&#8217;re not securing the data between endpoints. You are making a public broadcast. If you make a public broadcast, that broadcast is <em>obviously</em> available to the public.</p>
<p>People who are concerned about having Google intercepting passwords and credit card numbers need to take some personal responsibility. First off, you should NOT be entering your password or credit card number on any website that is not using SSL. Plain and simple. If the website is using SSL, your network being open is entirely moot because that data is encrypted between endpoints, so if some malicious hacker, or the &#8220;evil&#8221; Google gets it, they just see  gibberish.</p>
<p>Secondly, those privacy advocates that are all up in arms about Google &#8220;stealing&#8221; all of people&#8217;s information they are deliberately making public&#8230; they should be more focused on educating the technologically inept individuals on the 5-or-6 click process of adding a WPA key to one&#8217;s router. I mean, people, c&#8217;mon, it&#8217;s not like it&#8217;s expensive (it&#8217;s freakin&#8217; free!) to add a WPA key. Not only does it keep your information from being broadcast without a layer of security, but it also prevents criminals from being able to use your wi-fi for their own agenda.</p>
<p>Yeah, that&#8217;s right. I said it. People need to take responsibility themselves of their own network. This is the time of GUI. Graphic User Interface. Everything has shiny, clearly labeled buttons and tabs. There&#8217;s no advanced command line that only geeks can do. Nope. Log in to your router&#8217;s admin panel, go to security, click add WPA key. Type one in. Submit. Done.</p>
<p>As far as I&#8217;m concerned, there&#8217;s nothing criminal going on here. All these states can investigate Google all they want for &#8220;data theft.&#8221; They can waste all of our hard-earned tax-dollars going on a wild-goose chase and ultimately put Google in a kangaroo court just to prove to the people that the government &#8220;cares about its people and not megacorporations.&#8221; But it doesn&#8217;t change the fact that people have willingly and deliberately allowed their data to be viewable by anyone with a wireless network interface card.</p>
<p>If anything, let this serve as an example to those technologically inept people that this is the exact reason why you should secure your data. I&#8217;m sure Google as a corporation has no use for your private IM conversations or your hotmail password. But a malicious hacker or someone holding a grudge against you might.</p>
<p>Lock down your network. Take responsibility for your actions and inactions. Breathe. Stop using Google as a scapegoat.</p>
<p>Related posts:<ol>
<li><a href='http://jknipp.com/2008/09/14/shameless-plugs/37/google-411' rel='bookmark' title='Google 411'>Google 411</a> <small>This is a pretty amazing service. And it&#8217;s free!&#8230; To everyone! Let&#8217;s say that I need to get a number...</small></li>
<li><a href='http://jknipp.com/2009/06/25/geeky-rants/209/google-voice-semi-released' rel='bookmark' title='Google Voice [Semi-]Released!'>Google Voice [Semi-]Released!</a> <small>Google has just announced the release/rolling out of Google Voice. Expectantly they are slowly rolling it out to people who&#8217;ve...</small></li>
<li><a href='http://jknipp.com/2009/08/06/opinion-editorial/228/google-voice-at-a-glance' rel='bookmark' title='Google Voice At A Glance'>Google Voice At A Glance</a> <small>Well, not exactly a glance. I&#8217;ve had it a few weeks now and think it&#8217;s great. When I got my...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2010/06/27/geeky-rants/248/google-wi-fi-information-theft-is-overblown/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Windows 7</title>
		<link>http://jknipp.com/2009/10/28/geeky-rants/234/installing-windows-7</link>
		<comments>http://jknipp.com/2009/10/28/geeky-rants/234/installing-windows-7#comments</comments>
		<pubDate>Wed, 28 Oct 2009 18:25:46 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Digsby]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 7 Professional]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=234</guid>
		<description><![CDATA[It&#8217;s been awhile since I posted last. Most of my life has been pretty mundane and nothing really postworthy has occured, aside from getting a few job interviews. Actually, shortly I should be hearing back about a second interview as &#8230; <a href="http://jknipp.com/2009/10/28/geeky-rants/234/installing-windows-7">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://jknipp.com/2009/01/13/geeky-rants/155/botched-windows-7-beta-release-means-windows-7-beta-for-all' rel='bookmark' title='Botched Windows 7 Beta Release Means Windows 7 Beta For All'>Botched Windows 7 Beta Release Means Windows 7 Beta For All</a> <small>I&#8217;m a little late to the game, but meh. This past friday, Windows released Windows 7 Beta for public release....</small></li>
<li><a href='http://jknipp.com/2009/07/03/life/221/motorola-w490-cell-phone-broken' rel='bookmark' title='Motorola W490 Cell Phone Broken'>Motorola W490 Cell Phone Broken</a> <small>So, since last tuesday, my phone has been malfunctioning&#8230; and has gotten worse since. Not all the time, but often...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been awhile since I posted last. Most of my life has been pretty mundane and nothing really postworthy has occured, aside from getting a few job interviews. Actually, shortly I should be hearing back about a second interview as a PHP developer for a fairly local eLearning company.</p>
<p>I have just recently taken advantage of a deal to get Windows 7 Professional [upgrade only] for $29.99. I bought it and spent the rest of the night downloading. By the time I woke up, the download was done. However, I discovered that it wasn&#8217;t an ISO disc image Like I had expected, rather it was an executable with a folder and two .box files. Is is kind of aggravating as I wanted an image so I can burn a few backup discs and all that. But, conveniently during my normal news perusal I found an article on <a href="http://lifehacker.com/5388507/make-an-installation-dvd-from-windows-7-student-upgrade" target="_blank">Lifehacker</a> which helped me convert the files into a bootable disc image. Dude, it&#8217;s like magic!</p>
<p>However, I ran into some issues along the way during the install/upgrade. First off, I wanted to do an in-place upgrade.. meaning I don&#8217;t lose all my data and my installed programs. Turns out, since I had Windows Vista Home Premium I <em>could</em> upgrade to Windows 7 Professional using this disc, however I could <em>not</em> do an in-place upgrade, only a custom install, which results in losing all my files, install programs, settings et cetera. This was annoying, but I backed up all my data (music, pictures, et cetera) however, I&#8217;ll still have to re install all my programs again. Aggravating.</p>
<p>But that&#8217;s going out of order. At first, I didn&#8217;t know I couldn&#8217;t upgrade, because I had problems getting to the upgrade screen. First, I booted up from the DVD I created, however clicking the upgrade button demanded that If i want to upgrade, I have to run the CD from within the installer. Ugh, I just wasted 10 minutes in the shutdown, restart, screen navigation just to have to go back into the OS. Ugh. So it takes me 10 minutes to reboot (Vista has been taking FOREVER lately.. gosh) back to my desktop. I run the executable provided by Digital River, and I first get a splash screen.</p>
<p>I click &#8220;Install Windows&#8221; (exciting!)</p>
<p>I get a screen that says &#8220;<strong>Copying Temporary Files&#8230;</strong>&#8221; and then &#8220;<strong>Setup is Starting&#8230;</strong>&#8221; But that&#8217;s it the screen doesn&#8217;t update for about 5 minutes. I quit, and restart. Same thing, this time I wait 10 minutes. Still nothing. Then I thought &#8220;I&#8217;m being impatient, I&#8217;ll let it sit.&#8221; So while I sit watching COPS 2.0 on G4TV, I let it sit at the Setup is Starting screen. It&#8217;s still not progressing after an hour!</p>
<p>I turn to my good ol&#8217; friend google and try a few queries. I found a few people with the same problem, some unresolved, some resolved but the solution seemed irrelevant (It wasn&#8217;t a problem with my harddrive or motherboard.) Then I found an article on Microsoft&#8217;s knowledgebase. It said something about &#8220;This screen is the stage Windows is checking your hardware for compatibility.&#8221; Then for some reason, a lightbulb goes off in my head. I look down and notice how my zune data cable (with no zune attached!) was plugged into my computer. Sometimes I&#8217;m in a rush in the morning before work and I don&#8217;t unplug the zune datacable, just the zune itself.</p>
<p>So I remove the &#8216;empty&#8217; USB cable. The moment I did that that, my install screen advanced to the &#8220;Would you like to check windows update for updates before completing install?&#8221; screen. TADAA! Three hours for a damned deviceless USB cable. I honestly never even thought it would care about a cable plugged in with no device. I take it that&#8217;s probably a bug in the installer. It&#8217;s checking for hardware components and it gets stuck in loop while it waits for a device to registered. Oh well. Good job Microsoft.</p>
<p>So, I click through all the screens and I see the coveted &#8220;What kind of install do you want to do, young padawan?&#8221; screen. I click upgrade, because I want to keep all my stuff intact. However, I&#8217;m immediately greeted by a message saying &#8220;Windows Vista™ Home Premium cannot be upgraded to Windows 7 Professional. You  can choose to install a new copy of Windows 7 Professional instead, but this is  different from an upgrade, and does not keep your files, settings, and programs.&#8221; Ugh. I spent 3 hours trying to get to the upgrade screen, only to be told I can&#8217;t upgrade. Ugh. isuehfgudehgeiuhtiuehteiutahtiuerghsgihua. Okay. I&#8217;m done.</p>
<p>So, I reboot, again, and boot from DVD. Then I do a custom install. The install procedure was actually fairly quick. Once I was in, I liked what I saw. Everything is cleaner and faster. When idle and not running applications (called the baseline) the OS used less than a gig in RAM. While I remember Vista using one gig when idle. It&#8217;s a nice operating system.</p>
<p>So I take time and copy all my backed up data back to my folders&#8230; all my music and pictures and such. Sweet. There are a few annoyances I have that I&#8217;m still ironing out, for example, everytime I enter a link in internet explorer (havent had time to download firefox yet), I get a feedback sound effect. Yeah, gonna have to disable that.</p>
<p>All in all, it&#8217;s a pretty good operating system. I immediately switched my taskbar back to not group similar windows into one icon. It makes it quicker to get to the exact window i want. Maybe I&#8217;ll get used to the combined feature one day.</p>
<p>Another thing I wanted to mention was an issue i had with DIgsby. I love digsby, it&#8217;s awesome. It&#8217;s the first thing I downloaded (yeah yeah, shoulda gotten Firefox first, oh well). However, apparently there&#8217;s this issue with Digsby when using a brand new account on Windows 7. Basically, it&#8217;s not detecting full screen applications right, so as a result, Diggsby is incorrectly hiding IM windows. To fix this, go to your preferences, and make sure to uncheck &#8220;Hide IM windows when full screen window is active.&#8221; This will fix this. From what I understand, this glitch only occurs when the windows account is brand new. How new is defined, I&#8217;m not sure. The guide  I read said &#8220;about 1 hour.&#8221; But there you go.</p>
<p>Over the next couple days I&#8217;ll be going through and experimenting and optimizing it to my needs and comfort.</p>
<p>Related posts:<ol>
<li><a href='http://jknipp.com/2009/01/13/geeky-rants/155/botched-windows-7-beta-release-means-windows-7-beta-for-all' rel='bookmark' title='Botched Windows 7 Beta Release Means Windows 7 Beta For All'>Botched Windows 7 Beta Release Means Windows 7 Beta For All</a> <small>I&#8217;m a little late to the game, but meh. This past friday, Windows released Windows 7 Beta for public release....</small></li>
<li><a href='http://jknipp.com/2009/07/03/life/221/motorola-w490-cell-phone-broken' rel='bookmark' title='Motorola W490 Cell Phone Broken'>Motorola W490 Cell Phone Broken</a> <small>So, since last tuesday, my phone has been malfunctioning&#8230; and has gotten worse since. Not all the time, but often...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/10/28/geeky-rants/234/installing-windows-7/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hard Drive File Repository Project</title>
		<link>http://jknipp.com/2009/06/29/geeky-rants/219/hard-drive-file-repository-project</link>
		<comments>http://jknipp.com/2009/06/29/geeky-rants/219/hard-drive-file-repository-project#comments</comments>
		<pubDate>Mon, 29 Jun 2009 18:53:05 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=219</guid>
		<description><![CDATA[Hi. So uh.. I&#8217;ve been downloading media on my laptop since I&#8217;ve had it. Well, over time it&#8217;s taking up space on my pathetic 140-or-so GB laptop harddrive. So, I had an idea.. my employer is getting rid of computers &#8230; <a href="http://jknipp.com/2009/06/29/geeky-rants/219/hard-drive-file-repository-project">Continue reading <span class="meta-nav">&#8594;</span></a><!--- 
No related posts. -->]]></description>
			<content:encoded><![CDATA[<p>Hi.</p>
<p>So uh.. I&#8217;ve been downloading media on my laptop since I&#8217;ve had it. Well, over time it&#8217;s taking up space on my pathetic 140-or-so GB laptop harddrive.</p>
<p>So, I had an idea.. my employer is getting rid of computers that are many years old (asset tags start with 17,  I think we&#8217;re issuing asset tags that start with 26 now). Since they are throwing them away, why not take the harrdrives out and put them to use?</p>
<p style="text-align: center;"><a href="http://s3.amazonaws.com/twitpic/photos/full/14249011.jpg?AWSAccessKeyId=0ZRYP5X5F6FSMBCCSE82&amp;Expires=1246301250&amp;Signature=2aHXXX09630qXan5pjgkHfTxgHM%3D"><img class="aligncenter" title="Pre-Dissection " src="http://s3.amazonaws.com/twitpic/photos/full/14249011.jpg?AWSAccessKeyId=0ZRYP5X5F6FSMBCCSE82&amp;Expires=1246301250&amp;Signature=2aHXXX09630qXan5pjgkHfTxgHM%3D" alt="" width="256" height="320" /></a></p>
<p style="text-align: left;">So after a few minutes and 4 computers, I end up with:<br />
<a href="http://s3.amazonaws.com/twitpic/photos/full/14252317.jpg?AWSAccessKeyId=0ZRYP5X5F6FSMBCCSE82&amp;Expires=1246301372&amp;Signature=sadZKVuqSMm7tFRbD%2FUmArng1O4%3D"><img class="aligncenter" title="Harddrives Stacked Up" src="http://s3.amazonaws.com/twitpic/photos/full/14252317.jpg?AWSAccessKeyId=0ZRYP5X5F6FSMBCCSE82&amp;Expires=1246301372&amp;Signature=sadZKVuqSMm7tFRbD%2FUmArng1O4%3D" alt="" width="256" height="320" /></a>Four IDE harddrives of different brands (Maxtor, Western Digital, Seagate) and different sizes. The total size is  200 GB. Of course, these hard drives came out of <strong>discarded</strong> computers that have been thrown around from shelf-to-shelf, room-to-room, so there&#8217;s a possibility that some/all of them might not even work. Just now, I got some more harddrives that were sitting out in a discard box. These are even more likely to be broken, but it&#8217;s a possibility at free harddrive space, so why not? One of the harddrives I just grabbed is a SATA HDD, while the rest so far are IDE. I gotta make sure I note this
</p>
<p style="text-align: left;">I&#8217;ve bought a <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817145374" target="_blank">single external harddrive</a> from newegg that I&#8217;m going to use on the largest IDE drive. Then as I start consume more space, I&#8217;ll buy a new external and slowly fill up the drives. Then I&#8217;ll name or number them so I can make an index of what file is where. So if I&#8217;m in the mood for a certain type of media, I know which drive to mount to.</p>
<p style="text-align: left;">Sadly, I have to wait until wednesday before my external drive comes. For now the drives are sitting on my kitchen table.. waiting.</p>
<!--- <p>No related posts.</p> -->]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/06/29/geeky-rants/219/hard-drive-file-repository-project/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Voice [Semi-]Released!</title>
		<link>http://jknipp.com/2009/06/25/geeky-rants/209/google-voice-semi-released</link>
		<comments>http://jknipp.com/2009/06/25/geeky-rants/209/google-voice-semi-released#comments</comments>
		<pubDate>Thu, 25 Jun 2009 17:31:17 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=209</guid>
		<description><![CDATA[Google has just announced the release/rolling out of Google Voice. Expectantly they are slowly rolling it out to people who&#8217;ve requested an invite previously. I don&#8217;t know how long it will take for me receive an invite, but I&#8217;m super &#8230; <a href="http://jknipp.com/2009/06/25/geeky-rants/209/google-voice-semi-released">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://jknipp.com/2009/08/06/opinion-editorial/228/google-voice-at-a-glance' rel='bookmark' title='Google Voice At A Glance'>Google Voice At A Glance</a> <small>Well, not exactly a glance. I&#8217;ve had it a few weeks now and think it&#8217;s great. When I got my...</small></li>
<li><a href='http://jknipp.com/2008/09/14/shameless-plugs/37/google-411' rel='bookmark' title='Google 411'>Google 411</a> <small>This is a pretty amazing service. And it&#8217;s free!&#8230; To everyone! Let&#8217;s say that I need to get a number...</small></li>
<li><a href='http://jknipp.com/2010/06/27/geeky-rants/248/google-wi-fi-information-theft-is-overblown' rel='bookmark' title='Google Wi-Fi Information &#8220;Theft&#8221; Is Overblown'>Google Wi-Fi Information &#8220;Theft&#8221; Is Overblown</a> <small>So I&#8217;m a little late to the party, but things have been crazy. For the past few months there have...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://googleblog.blogspot.com/2009/06/google-voice-invites-on-their-way.html" target="_blank">Google has just announced</a> the release/rolling out of Google Voice. Expectantly they are slowly rolling it out to people who&#8217;ve requested an invite previously. I don&#8217;t know how long it will take for me receive an invite, but I&#8217;m super excited.</p>
<p><a href="http://3.bp.blogspot.com/_7ZYqYi4xigk/SkOmFtFfzzI/AAAAAAAAD8M/Yli2L8R0bx8/s400/picker+-+awesome.png"><img class="aligncenter" title="Google Voice Number Picker" src="http://3.bp.blogspot.com/_7ZYqYi4xigk/SkOmFtFfzzI/AAAAAAAAD8M/Yli2L8R0bx8/s400/picker+-+awesome.png" alt="" width="400" height="288" /></a></p>
<p>I&#8217;m tempted to request the phone number of (xxx) VRY-SEXY.</p>
<p>Dude, I so totally should.</p>
<p>Related posts:<ol>
<li><a href='http://jknipp.com/2009/08/06/opinion-editorial/228/google-voice-at-a-glance' rel='bookmark' title='Google Voice At A Glance'>Google Voice At A Glance</a> <small>Well, not exactly a glance. I&#8217;ve had it a few weeks now and think it&#8217;s great. When I got my...</small></li>
<li><a href='http://jknipp.com/2008/09/14/shameless-plugs/37/google-411' rel='bookmark' title='Google 411'>Google 411</a> <small>This is a pretty amazing service. And it&#8217;s free!&#8230; To everyone! Let&#8217;s say that I need to get a number...</small></li>
<li><a href='http://jknipp.com/2010/06/27/geeky-rants/248/google-wi-fi-information-theft-is-overblown' rel='bookmark' title='Google Wi-Fi Information &#8220;Theft&#8221; Is Overblown'>Google Wi-Fi Information &#8220;Theft&#8221; Is Overblown</a> <small>So I&#8217;m a little late to the party, but things have been crazy. For the past few months there have...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/06/25/geeky-rants/209/google-voice-semi-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Datatype Validation</title>
		<link>http://jknipp.com/2009/02/06/geeky-rants/185/php-datatype-validation</link>
		<comments>http://jknipp.com/2009/02/06/geeky-rants/185/php-datatype-validation#comments</comments>
		<pubDate>Fri, 06 Feb 2009 05:23:26 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=185</guid>
		<description><![CDATA[So, let&#8217;s say that you&#8217;re writing a function or some sort of script. and you need to sure you&#8217;re only getting a certain datatype as a value. Then you realize that PHP has no actual datatype enforcement like C or &#8230; <a href="http://jknipp.com/2009/02/06/geeky-rants/185/php-datatype-validation">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://jknipp.com/2008/02/29/php/9/php-powered-irc-services' rel='bookmark' title='PHP Powered IRC Services?'>PHP Powered IRC Services?</a> <small>So. For awhile, I&#8217;ve been thinking of doing something. I probably really won&#8217;t have the time to do it, but...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So, let&#8217;s say that you&#8217;re writing a function or some sort of script. and you need to sure you&#8217;re only getting a certain datatype as a value. Then you realize that PHP has no <em>actual</em> datatype enforcement like C or C++. You can set any variable to contain any kind of structure (strings, integers, arrays, etc) and you can later change it to any other structure later on the fly. This can be problematic depending on what you need to do.</p>
<p>With the function you&#8217;re supposedly writing, let&#8217;s say you wanted to make sure a argument you&#8217;re accepting via the PHP call is an integer. Well you could perform and is_int() function call by yourself, but thats not the point. The point of functions is to reduce tedious/repeated code. I made a class that has a function inside it that does all the testing for you depending on what  you, as a coder, is expecting. So passing &#8220;hi&#8221; into the validator when you specify you&#8217;re looking for an integer wouldn&#8217;t pass. It would pass if you stated you were looking for a string, though.</p>
<p>What&#8217;s also nifty is that i wrote it to accommodate for the event of expecting multiple kinds of datatypes. Like let&#8217;s say you want either an integer or a double (a decimal), you can simple combine them when you call the validator. If the value you give the validator is an integer or a double, it&#8217;ll spit back the datatype.</p>
<p>Okay, how do I have it check for datatypes? Every datatype that I could look for is assigned a number in base 2 (1, 2, 4, 8, 16, 32, etc) . I assign them base 2 values in hex, simple because I felt like it.</p>
<blockquote><p>define(&#8220;SCRAPBOOK_DATATYPE_STR&#8221;, 0&#215;01); // STRING<br />
define(&#8220;SCRAPBOOK_DATATYPE_ARR&#8221;, 0&#215;02); // ARRAY<br />
define(&#8220;SCRAPBOOK_DATATYPE_INT&#8221;, 0&#215;04); // INTEGER<br />
define(&#8220;SCRAPBOOK_DATATYPE_DOUBLE&#8221;, 0&#215;08); // DOUBLE</p></blockquote>
<p>SCRAPBOOK_DATATYPE_STR is set to 1, _ARR is 2, etc etc. You get the point. When I call the function, the first argument/parameter is the value I need to test. The second is the (possible) datatype(s) I&#8217;m expecting. What you may or may not know about bit addition is that its very easy to figure out what bits are included. For example, the value of 6 is ONLY made up of 2 and 4, which in  this are the bits that are assigned to _ARR and _INT. Using this logic, we can pass multiple datatypes we might get (for example, we want a number which might be an integer or a decimal) and the function can check to see if the datatype of the value I&#8217;m checking for matches one of the datatypes I&#8217;m looking for.</p>
<p>Here is an example of looking for one datatype and then two datatypes:</p>
<blockquote><p>//first instantiate the object<br />
$validate = new Validator();</p>
<p>//would return SCRAPBOOK_DATATYPE_ARR<br />
print $validate-&gt;validateDatatype(array(), SCRAPBOOK_DATATYPE_ARR).&#8221;\n&#8221;;</p>
<p>//would return SCRAPBOOK_DATATYPE_INT<br />
print $validate-&gt;validateDatatype(5, SCRAPBOOK_DATATYPE_INT|SCRAPBOOK_DATATYPE_DOUBLE).&#8221;\n&#8221;;<br />
//would return SCRAPBOOK_DATATYPE_DOUBLE<br />
print $validate-&gt;validateDatatype(5.3, SCRAPBOOK_DATATYPE_INT|SCRAPBOOK_DATATYPE_DOUBLE).&#8221;\n&#8221;;</p></blockquote>
<p>As you can see, the pipe (|) is used to add multiple of these bits together. The function would return the bit of the dataype found. this way if you&#8217;re expecting two datatypes, you can validate it and then see the exact type that was actually sent in.</p>
<p>Now how do i actually do the tests? well in the function I have something like this:</p>
<blockquote><p>function validateDatatype($value = NULL, $expectedtypes = SCRAPBOOK_DATATYPE_STR)<br />
{<br />
//are we testing if this datatype exists?  ||   now we test!<br />
if ( ($expectedtypes &amp; SCRAPBOOK_DATATYPE_STR) &amp;&amp; (is_string($value)) )<br />
return SCRAPBOOK_DATATYPE_STR;<br />
if ( ($expectedtypes &amp; SCRAPBOOK_DATATYPE_ARR) &amp;&amp;  (is_array($value)) )<br />
return SCRAPBOOK_DATATYPE_ARR;<br />
if ( ($expectedtypes &amp; SCRAPBOOK_DATATYPE_INT) &amp;&amp;  (is_int($value)) )<br />
return SCRAPBOOK_DATATYPE_INT;<br />
if ( ($expectedtypes &amp; SCRAPBOOK_DATATYPE_OBJECT) &amp;&amp;  (is_object($value)) )<br />
return SCRAPBOOK_DATATYPE_OBJECT;</p></blockquote>
<p>Essentially, i&#8217;m testing to see if we&#8217;re asking for each datatype, if we are asking for that datatype, i perform a function call to see if it actually is. If it&#8217;s not it keeps going until it returns something. if  it gets to the end of the function, that means it didn&#8217;t validate, so false is returned. The (<strong>x</strong> &amp;  <strong>y</strong>) test basically checks to see if bit <strong>y</strong> exists within value <strong>x</strong>. So again,  for example, lets say you have a number 13. The only way to get a number 13 through this method is  with numbers 8, 4 and 1 (8+4+1 = 13). So if you did (13 &amp; 4) it&#8217;d return true.  So on and so forth.</p>
<p>Ok, now that I gave you little snippets, <a href="http://privatepaste.com/731Yi9AGxC" target="_blank">check out</a> the entire script so you can see how it all blends together.</p>
<p>Related posts:<ol>
<li><a href='http://jknipp.com/2008/02/29/php/9/php-powered-irc-services' rel='bookmark' title='PHP Powered IRC Services?'>PHP Powered IRC Services?</a> <small>So. For awhile, I&#8217;ve been thinking of doing something. I probably really won&#8217;t have the time to do it, but...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/02/06/geeky-rants/185/php-datatype-validation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Allows Browsers In AppStore .. With a Catch</title>
		<link>http://jknipp.com/2009/01/14/geeky-rants/170/apple-allows-browsers-in-appstore-with-a-catch</link>
		<comments>http://jknipp.com/2009/01/14/geeky-rants/170/apple-allows-browsers-in-appstore-with-a-catch#comments</comments>
		<pubDate>Wed, 14 Jan 2009 18:16:35 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=170</guid>
		<description><![CDATA[Apple has seemed to open its gates in the AppStore in regards to the &#8220;Duplicate Functionality&#8221; rule. You see, there is a rule (graded at Apple&#8217;s discretion, of course) that says you cannot make an application for the iPhone/iPod Touch &#8230; <a href="http://jknipp.com/2009/01/14/geeky-rants/170/apple-allows-browsers-in-appstore-with-a-catch">Continue reading <span class="meta-nav">&#8594;</span></a><!--- 
No related posts. -->]]></description>
			<content:encoded><![CDATA[<p>Apple has seemed to open its gates in the AppStore in regards to the &#8220;Duplicate Functionality&#8221; rule.</p>
<p>You see, there is a rule (graded at Apple&#8217;s discretion, of course) that says you cannot make an application for the iPhone/iPod Touch that duplicates native functionality. In the business scope, this makes sense. They don&#8217;t want their work duplicated as it would deter people from using their stuff. From a developer&#8217;s standpoint, it&#8217;s a very frustrating rule &#8211; it minimizes the ability for the software concepts to evolve.</p>
<p>However, as of late, Apple has quietly started allowing browsers to be added on their catalog. What&#8217;s the catch? Oh&#8230; well you see&#8230; the browsers must be based on the Safari codebase. Simply put, it basically must be an extended version of safari made by the developer. There are a few browsers already, for example Cognito, which allows you to browser the internet without leaving a local history.</p>
<p>Apple might be doing this so it does not lose any market share. So for now, no firefox, chrome or opera functionality.</p>
<p>Baby steps, I guess.</p>
<!--- <p>No related posts.</p> -->]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/01/14/geeky-rants/170/apple-allows-browsers-in-appstore-with-a-catch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something&#8230; But Not Quite Nothing</title>
		<link>http://jknipp.com/2009/01/14/geeky-rants/159/something-but-not-quite-nothing</link>
		<comments>http://jknipp.com/2009/01/14/geeky-rants/159/something-but-not-quite-nothing#comments</comments>
		<pubDate>Wed, 14 Jan 2009 13:01:40 +0000</pubDate>
		<dc:creator>Phaux</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=159</guid>
		<description><![CDATA[Jonathan has brought me aboard to publish great reviews and cutting room floor information about the latest and greatest technology. Later on this month, I will be writing a lengthy review for Microsoft&#8217;s newest piece of work, Windows 7, as &#8230; <a href="http://jknipp.com/2009/01/14/geeky-rants/159/something-but-not-quite-nothing">Continue reading <span class="meta-nav">&#8594;</span></a><!--- 
No related posts. -->]]></description>
			<content:encoded><![CDATA[<p>Jonathan has brought me aboard to publish great reviews and cutting room floor information about the latest and greatest technology.  Later on this month, I will be writing a lengthy review for Microsoft&#8217;s newest piece of work, <a title="Windows 7" href="http://www.microsoft.com/windows/windows-7/" target="_blank"><em>Windows 7</em></a>, as well as reviews about and new games that will crop up this year, plus any new pieces of hardware I can get my hands on.</p>
<p>Make sure to check back here later on, as I&#8217;ll be making more posts about more awesome stuff <strong> <img src='http://jknipp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </strong></p>
<!--- <p>No related posts.</p> -->]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/01/14/geeky-rants/159/something-but-not-quite-nothing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>As if By Magic..</title>
		<link>http://jknipp.com/2009/01/14/geeky-rants/167/as-if-by-magic</link>
		<comments>http://jknipp.com/2009/01/14/geeky-rants/167/as-if-by-magic#comments</comments>
		<pubDate>Wed, 14 Jan 2009 05:15:28 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=167</guid>
		<description><![CDATA[I can twitter from my cell phone? Shh, Don&#8217;t tell T-Mobile! Related posts: T-Mobile Rants So awhile back, I switched from Sprint to T-Mobile. It started out with me needing to get a new charger... T-Mobile Twitter Troubles Oh yay, &#8230; <a href="http://jknipp.com/2009/01/14/geeky-rants/167/as-if-by-magic">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://jknipp.com/2008/09/12/geeky-rants/21/t-mobile-rants' rel='bookmark' title='T-Mobile Rants'>T-Mobile Rants</a> <small>So awhile back, I switched from Sprint to T-Mobile. It started out with me needing to get a new charger...</small></li>
<li><a href='http://jknipp.com/2009/02/18/lame/193/t-mobile-twitter-troubles' rel='bookmark' title='T-Mobile Twitter Troubles'>T-Mobile Twitter Troubles</a> <small>Oh yay, alliteration. Since last night, I have not been able to use Twitter via my mobile device. When I...</small></li>
<li><a href='http://jknipp.com/2008/03/21/geeky-rants/14/bluetooth' rel='bookmark' title='Bluetooth'>Bluetooth</a> <small>So. I went to Costco here, which is a wholesale club.. and they sell lots of stuff. And I saw...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I can twitter from my cell phone?</p>
<p>Shh, Don&#8217;t tell T-Mobile!</p>
<p>Related posts:<ol>
<li><a href='http://jknipp.com/2008/09/12/geeky-rants/21/t-mobile-rants' rel='bookmark' title='T-Mobile Rants'>T-Mobile Rants</a> <small>So awhile back, I switched from Sprint to T-Mobile. It started out with me needing to get a new charger...</small></li>
<li><a href='http://jknipp.com/2009/02/18/lame/193/t-mobile-twitter-troubles' rel='bookmark' title='T-Mobile Twitter Troubles'>T-Mobile Twitter Troubles</a> <small>Oh yay, alliteration. Since last night, I have not been able to use Twitter via my mobile device. When I...</small></li>
<li><a href='http://jknipp.com/2008/03/21/geeky-rants/14/bluetooth' rel='bookmark' title='Bluetooth'>Bluetooth</a> <small>So. I went to Costco here, which is a wholesale club.. and they sell lots of stuff. And I saw...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/01/14/geeky-rants/167/as-if-by-magic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Botched Windows 7 Beta Release Means Windows 7 Beta For All</title>
		<link>http://jknipp.com/2009/01/13/geeky-rants/155/botched-windows-7-beta-release-means-windows-7-beta-for-all</link>
		<comments>http://jknipp.com/2009/01/13/geeky-rants/155/botched-windows-7-beta-release-means-windows-7-beta-for-all#comments</comments>
		<pubDate>Tue, 13 Jan 2009 22:29:37 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>
		<category><![CDATA[Epic Fail]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=155</guid>
		<description><![CDATA[I&#8217;m a little late to the game, but meh. This past friday, Windows released Windows 7 Beta for public release. However, due to unanticipated (well, should&#8217;ve been anticipated, anyway) demand, the world brought the windows 7 web and distribution servers &#8230; <a href="http://jknipp.com/2009/01/13/geeky-rants/155/botched-windows-7-beta-release-means-windows-7-beta-for-all">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://jknipp.com/2009/10/28/geeky-rants/234/installing-windows-7' rel='bookmark' title='Installing Windows 7'>Installing Windows 7</a> <small>It&#8217;s been awhile since I posted last. Most of my life has been pretty mundane and nothing really postworthy has...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a little late to the game, but meh.</p>
<p>This past friday, Windows released Windows 7 Beta for public release. However, due to unanticipated (well, should&#8217;ve been anticipated, anyway) demand, the world brought the windows 7 web and distribution servers to their knees. There was a large amount of downtime involved due to the overwhelming load placed on Microsoft&#8217;s webserve division.</p>
<p>Honestly, I think Microsoft needs to think their launch strategy, including having mirrors and also distribute through torrenting. Someone please deliver a clue to their main office, please.</p>
<p>However, Windows 7 has restarted the download process and an because of the epic failure, has removed the previous download cap of 1.5 million downloads, and is now allowing unlimited downloads of the beta. I suggest that anyone interest grab one before something changes.</p>
<p>I haven&#8217;t personally gotten around to getting windows 7, but I will once I have a machine to put it on. I might put it on my old work computer.</p>
<p>Related posts:<ol>
<li><a href='http://jknipp.com/2009/10/28/geeky-rants/234/installing-windows-7' rel='bookmark' title='Installing Windows 7'>Installing Windows 7</a> <small>It&#8217;s been awhile since I posted last. Most of my life has been pretty mundane and nothing really postworthy has...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2009/01/13/geeky-rants/155/botched-windows-7-beta-release-means-windows-7-beta-for-all/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Am I The Only One&#8230;</title>
		<link>http://jknipp.com/2008/11/18/geeky-rants/103/am-i-the-only-one</link>
		<comments>http://jknipp.com/2008/11/18/geeky-rants/103/am-i-the-only-one#comments</comments>
		<pubDate>Tue, 18 Nov 2008 05:07:13 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Geeky Rants]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://jknipp.com/?p=103</guid>
		<description><![CDATA[That finds watching the task manager while closing firefox (after it&#8217;s been constantly running for a week) fun? Yeah.. I guess I am a geek.<!--- 
No related posts. -->]]></description>
			<content:encoded><![CDATA[<p><a href="http://jknipp.com/wp-content/uploads/2008/11/firefox-dropoff.jpg"><img class="aligncenter size-medium wp-image-104" title="firefox-dropoff" src="http://jknipp.com/wp-content/uploads/2008/11/firefox-dropoff-275x300.jpg" alt="" width="275" height="300" /></a></p>
<p>That finds watching the task manager while closing firefox (after it&#8217;s been constantly running for a week) fun?</p>
<p>Yeah.. I guess I am a geek.</p>
<!--- <p>No related posts.</p> -->]]></content:encoded>
			<wfw:commentRss>http://jknipp.com/2008/11/18/geeky-rants/103/am-i-the-only-one/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

