<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.2" -->
<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/"
>

<channel>
	<title>/dev/random</title>
	<link>http://www.codymays.net</link>
	<description>The CPUID of my brain...</description>
	<pubDate>Fri, 28 Dec 2007 01:41:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>
	<language>en</language>

		<item>
		<title>Happy Holidays!</title>
		<link>http://www.codymays.net/content/2007/12/27/happy-holidays/</link>
		<comments>http://www.codymays.net/content/2007/12/27/happy-holidays/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 01:38:12 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>Site News</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>Geek Humor</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
	<category>Apple</category>
	<category>iPhone</category>
		<guid>http://www.codymays.net/content/2007/12/27/happy-holidays/</guid>
		<description><![CDATA[	Hey guys! I know this is a bit late, but I would like wish all of my remaining readers a happy holiday season. I know I&#8217;ve been a bit busy lately, but I&#8217;m going to try to keep this site updated again. 
	So let me give you a run down of just what has been [...]]]></description>
			<content:encoded><![CDATA[	<p>Hey guys! I know this is a bit late, but I would like wish all of my remaining readers a happy holiday season. I know I&#8217;ve been a bit busy lately, but I&#8217;m going to try to keep this site updated again. </p>
	<p>So let me give you a run down of just what has been going on. My last post (before the iPhone how-to) was February 20th of last year. A lot has happened since then. My absence initially started with a teacher at school drafting me into the <a href="http://www.fbla-pbl.org/">Future Business Leaders of America (FBLA)</a>. I was to compete in the Networking Concepts category. It was a 100 question multiple choice test on various networking topics. I took 1st place at both regional and state levels, so I qualified for the trip to compete at the FBLA-PBL nationals in Chicago last summer. I went. I had no chance, being more into coding than networking, but I guess I&#8217;m not half bad at it. :) From the people I talked to that competed against me, every single one of them had some form of networking certification. </p>
	<p>While I was in Chicago, I snuck off from the group and took a taxi to the Apple store on Michigan Avenue a.k.a. the Magnificent Mile. I got there right as the store opened, so I walked in and bought my iPhone in under 5 minutes. (The big wtf here is that the Cingular store had a line around the block&#8230;) Once purchased, I had a 3-4 mile hike back to the hotel. It was pretty fun. :)</p>
	<p>So the rest of my summer break after I got back from Chicago was spent on IRC trying to hack the iPhone. Yep, I knew most of the hackers and even was one of the first to start a serial dock for the thing, I just suck at soldering. I didn&#8217;t get to do much before I had to do summer assignments for school. It was fun while it lasted though. I got to meet many cool people, including <a href="http://en.wikipedia.org/wiki/John_Draper">Captain Crunch</a>.</p>
	<p>Now, we&#8217;re getting to the exciting stuff. A few weeks after school started I got offered a job at a startup in Silicon Valley doing PHP coding. The startup is called Qubescape. We&#8217;ll have a sweet product out shortly, that&#8217;s all I&#8217;m going to say. It&#8217;s been awesome so far. I work with some really good people.</p>
	<p>That brings us up to what&#8217;s going on currently. Currently, I have very little time thanks to school. AP US History and AP Physics B are keeping me slammed with work. My AP US History teacher has an insane passing record and intends to keep it that way &#8212; which I&#8217;m cool with because I enjoy the class. On the other hand, my AP Physics teacher just can&#8217;t teach. He&#8217;s a good guy, he understands it, but he *cannot* explain it; so, I&#8217;m left to figuring it out on my own.</p>
	<p>Time is going to get even more rare as I am involved in FBLA once again this year. I will be the first from my school to compete in the Internet Application Programming category. It looks incredibly easy. The project requires a website to track class averages and GPA with simple user authentication and a presentation explaining areas of your code the judges are interested in.</p>
	<p>Anyone else that read this blog heard of FBLA? It&#8217;s nationwide, but many people don&#8217;t seem to know about it.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2007/12/27/happy-holidays/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>The future and OpenID</title>
		<link>http://www.codymays.net/content/2007/02/20/the-future-and-openid/</link>
		<comments>http://www.codymays.net/content/2007/02/20/the-future-and-openid/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 04:11:05 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>Tips and Tricks</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
	<category>OpenID</category>
		<guid>http://www.codymays.net/content/2007/02/20/the-future-and-openid/</guid>
		<description><![CDATA[	After talking to a few people in #OpenID on irc.freenode.org last night, I finally decided I was going to get OpenID working with my own custom database library. The only full featured PHP library I could find was the one produced by JanRain. It&#8217;s not that I don&#8217;t like the features in the library, but [...]]]></description>
			<content:encoded><![CDATA[	<p>After talking to a few people in #OpenID on irc.freenode.org last night, I finally decided I was going to get OpenID working with my own custom database library. The only full featured PHP library I could find was the one produced by <a href="http://janrain.com">JanRain</a>. It&#8217;s not that I don&#8217;t like the features in the library, but the fact that it&#8217;s a <a href="http://pear.php.net">PEAR</a> style library, so it requires a few other PEAR libs that I absolutely refuse to use due to bloat, specifically PEAR::DB.</p>
	<p>This caused a real issue for me. Function names are extremely different, along with how queries are performed, compared to my mysqli library. Sometime last month I tried to make a PEAR-style wrapper for my class, but for some reason it failed with the library. Well, last night I found the <a href="http://wordpress.org">Wordpress</a> OpenID plugin. Knowing that WP runs it&#8217;s own MySQL class, I downloaded it and studied the wrapper. This allowed me to see what I had been doing wrong and get a system working before school started today.</p>
	<p>Once I had it working, I wrote a simple class I call EasyOpenID. This class allows me to minimize the amount of code in JanRain&#8217;s consumer example to very few lines of code. I&#8217;ve decided I was going to release this library, so I converted it to FileStore, which is the default the library ships with, and packed it up. I am going to release it here to hopefully get some feedback. If the feedback is good, I will probably continue to expand on the class.</p>
	<p>I will have a page up for the library later on tomorrow, but for now, download the file located <a href="http://codymays.net/files/EasyOpenID-1.0.zip">here.</a> This zip file contains the converted consumer example and my class. The class is released under the new BSD license, while the rest of the code is GPL. Please, provide me with any of your thoughts on the library. Even if you don&#8217;t use it on a real, live site, please just let me know what you thought.</p>
	<p>Talking with the folks in #OpenID also got me invited to be on the first official OpenID podcast recording, no idea if I&#8217;ll be involved, but I&#8217;m listening. You will be able to obtain the podcast on <a href="http://idcast.org/">http://idcast.org/</a> sometime tomorrow night or on Thursday. I hope all goes well. Hopefully this new podcast will provide a great resource for developers looking to learn and expand on OpenID.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2007/02/20/the-future-and-openid/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>25 days after the switch to a mac and RESTful fun</title>
		<link>http://www.codymays.net/content/2006/12/10/25-days-after-the-switch-to-a-mac-and-restful-fun/</link>
		<comments>http://www.codymays.net/content/2006/12/10/25-days-after-the-switch-to-a-mac-and-restful-fun/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 06:31:14 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>Site News</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
	<category>OSX</category>
		<guid>http://www.codymays.net/content/2006/12/10/25-days-after-the-switch-to-a-mac-and-restful-fun/</guid>
		<description><![CDATA[	So here it is 25 days after I made &#8220;the switch&#8221;, but not just any switch, I switched from Linux. So what are my thoughts? I&#8217;m loving it! OSX is an amazing OS, especially running on a core 2 duo. Obviously, there are some things I miss, such as complete POSIX compliance and compiles working [...]]]></description>
			<content:encoded><![CDATA[	<p>So here it is 25 days after I made &#8220;the switch&#8221;, but not just any switch, I switched from Linux. So what are my thoughts? I&#8217;m loving it! OSX is an amazing OS, especially running on a core 2 duo. Obviously, there are some things I miss, such as complete POSIX compliance and compiles working out of the box, but I&#8217;ve been able to get everything I needed to work to actually work. I&#8217;d have to say my productivity has increased since the switch, probably due to better tools (Textmate).</p>
	<p>Last weekend I got <a href="http://phpsysinfo.sf.net">phpSysInfo</a>&#8217;s Darwin support almost up-to-par with the other OS&#8217;s it supports. I still have a few things left, but I&#8217;ll be submitting them back as a patch here shortly. :)</p>
	<p>Today, I spent most of the day working on <a href="http://threadbound.com">ThreadBound</a> when I should have been starting my huge project for school that is due on Friday. Besides setting up a bug tracker and doing the usual bug fixing, I actually added a completely new feature to ThreadBound &#8212; an MVC based <a href="http://en.wikipedia.org/wiki/REST">REST</a> API system. It&#8217;s actually pretty complete and shouldn&#8217;t change much from here until the site goes live, since all I do now is create new class files and methods. Right now, it only has clones of <a href="http://flickr.com">Flick&#8217;s</a> <a href="http://www.flickr.com/services/api/flickr.test.echo.html">flickr.test.echo</a> and my own version of <a href="http://www.flickr.com/services/api/flickr.test.null.html">flickr.test.null</a>. Of course, all of mine go by threadbound.* instead of flickr.*.</p>
	<p>This site may go down for a few hours sometime within the next 3 days. I&#8217;m transferring the domain from enom.com to godaddy.com. Hopefully things will be fine when the transfer is done.</p>
	<p>I&#8217;m off to bed now.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/12/10/25-days-after-the-switch-to-a-mac-and-restful-fun/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>An Apple for Thanksgiving.</title>
		<link>http://www.codymays.net/content/2006/11/22/an-apple-for-thanksgiving/</link>
		<comments>http://www.codymays.net/content/2006/11/22/an-apple-for-thanksgiving/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 04:08:40 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>FreeBSD</category>
	<category>Linux</category>
	<category>Tips and Tricks</category>
	<category>Geek Humor</category>
	<category>Apache</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
	<category>OSX</category>
		<guid>http://www.codymays.net/content/2006/11/22/an-apple-for-thanksgiving/</guid>
		<description><![CDATA[	I would like to wish everyone that reads this blog a happy Thanksgiving. Hope you all don&#8217;t eat too much. I know I will be tomorrow&#8230;maybe even with an Apple. Yep, my new 17&#8243; MacBook Pro finally came on Monday and today is the first day I&#8217;ve really put the time into learning how to [...]]]></description>
			<content:encoded><![CDATA[	<p>I would like to wish everyone that reads this blog a happy Thanksgiving. Hope you all don&#8217;t eat too much. I know I will be tomorrow&#8230;maybe even with an Apple. Yep, my new 17&#8243; MacBook Pro finally came on Monday and today is the first day I&#8217;ve really put the time into learning how to use OS X. So far, I&#8217;m completely amazed, it&#8217;s a very nice system. I like how all the applications seem to work together for even simple tasks.</p>
	<p>The Kenwood Apple Store was true to their word, they called me the day they came in. I ended up getting to the store around 6:30-7pm and it was packed. These things must be selling like hotcakes because I know they sold 3 of them while we were waiting on the cashier to see if they had any 2gb ram sticks in stock &#8212; which they didn&#8217;t. So I&#8217;m still 1gb of ram short until my reserved stick comes in. They do have a nice deal going right now though. You can get an HP Photosmart C3180 printer for free with your MacBook if you are buying it on a college discount. You have to pay upfront, but you get a rebate for the full price of the printer, similar to how they were running the iPod deals.</p>
	<p>So far my experience of moving from Linux to OSX has been pretty grand, as I hinted at above. The built in wireless coupled with my new WRT45G, that I hadn&#8217;t tested the wireless on, seem to be working much better than my old setup. It&#8217;s so nice having wireless again, no cat5 cable to get tangled up in my mouse. Application-wise, I have already found a replacement for everything I used on Linux. I knew all of these before I even owned a Mac though, since I talk to/code with a few people that own a mac.</p>
	<p>Heck, in the three days I&#8217;ve had this thing, I&#8217;ve already spent $50 in software. I bought <a href="http://macromate.com">textmate</a> since it appears to be the best coding text editor on the planet for the mac and web 2.0 crew. I&#8217;m definitely liking it so far, but I&#8217;m on the hunt for PHP plugins now. They are a bit saturated with Ruby plugins. ;) I still need to get a legal copy of Photoshop CS2 for this box though. If only it was cheaper&#8230;</p>
	<p>I&#8217;ve also had the joy of being able to run a lot of my favorite Linux applications on this thing. Fink is quite a nice system. I already have X11 running at startup, without that stupid xterm. I&#8217;ve modified my shell settings so everything I need to start X apps from Terminal.app is there and ready to go. I suggest all of you go out and install <a href="http://www.rhythmiccanvas.com/software/xdroplets/index.html">Xdroplets</a>. Combined with this custom X11 setup and Xdroplets, I have a pretty standard application interface for running my old applications, such as XMMS or Konqueror for testing.</p>
	<p>To give you some idea of how fast this laptop is, I have two benchmarks for you. While I was writing this post, I started a compile of Apache 2.0.59 to start setting up my development environment for <a href="http://www.threadbound.com">ThreadBound</a>. Here are the command that I ran:</p>
	<blockquote><p>
$ ./configure<br />
$ export MAKEOPTS=&#8221;-j6&#8243;<br />
$ time make
</p></blockquote>
	<p>What are the results? Astounding, considering this is a 10-20 minute compile on my old Athlon64 3200+ laptop&#8230;</p>
	<blockquote><p>
real    1m37.240s<br />
user    0m53.671s<br />
sys     0m37.242s
</p></blockquote>
	<p>The other benchmark is from when I installed Windows XP on my friend&#8217;s MacBook Pro, which is identical to the one I bought. After installing Counter-Strike: Source, we ran the video stress test. These machines averaged 114 FPS on it. This test set all of the settings on high, so we tried it. We were getting about 60-90 FPS at 1680&#215;1050 during games. This just goes to show you the performance of this machine. Considering that people don&#8217;t know that the x1600 graphics cards they ship with are underclocked by around 45% below what ATI ships them as, due to heat. So I&#8217;m going to have to overclock them a bit and see how it does.</p>
	<p>Here is a nice picture of my MacBook Pro:</p>
	<div style="width:500px;text-align:right;"><a href="http://beta.zooomr.com/photos/codymays/435556/" title="Zooomr Photo Sharing :: Photo Sharing"><img src="http://static.zooomr.com/images/435556_931ea66bff.jpg" width="500" height="376" alt="Macbook Pro Core 2 Duo Opening" border="0" style="border:1px solid #000;" /></a><span style="float:left;">Macbook Pro Core 2 Duo Opening</span> Hosted on <strong>Zooom<span style="color:#9EAE15;">r</span></strong></div>
	<p>More pictures of it can be found <a href="http://beta.zooomr.com/smartsets/codymays/6140">here.</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/11/22/an-apple-for-thanksgiving/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>A bit of a test</title>
		<link>http://www.codymays.net/content/2006/09/25/a-bit-of-a-test/</link>
		<comments>http://www.codymays.net/content/2006/09/25/a-bit-of-a-test/#comments</comments>
		<pubDate>Tue, 26 Sep 2006 00:41:01 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>FreeBSD</category>
	<category>Linux</category>
	<category>Operating System Development</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
	<category>Prototype</category>
	<category>Script.aculo.us</category>
		<guid>http://www.codymays.net/content/2006/09/25/a-bit-of-a-test/</guid>
		<description><![CDATA[	The past few weeks have been pretty insane. I have not only had a lot to do at school, but a lot going on too. My Counter-Strike: Source addiction is coming back too, thanks to a bunch of my friends at school and our newly formed clan. I wont&#8217; have much time for anything the [...]]]></description>
			<content:encoded><![CDATA[	<p>The past few weeks have been pretty insane. I have not only had a lot to do at school, but a lot going on too. My Counter-Strike: Source addiction is coming back too, thanks to a bunch of my friends at school and our newly formed clan. I wont&#8217; have much time for anything the rest of the week though. Tomorrow and Wednesday I have PLAN testing, which is basically the pre-ACT test. Then I have a week to do my PSAT practice booklet and take the PSAT. Fun times ahead. :)</p>
	<p>In other news, I would like to leak a bit of news on one of my new projects that I am co-developing with a network operator for the<a href="http://wyldryde.org">WyldRyde.org</a> IRC network, <a href="http://www.damnsmallbsd.org">DamnSmallBSD</a>. It is a take off of the very first linux distribution I ever used, <a href="http://www.damnsmalllinux.org">Damn Small Linux</a>. Our goals are similar, but we are based on a completely different operating system, FreeBSD. We also have some cool ideas to keep it modular for people looking to remaster it. Keep your eyes open, the cd is bootable, we just haven&#8217;t done much work on the userland yet.</p>
	<p>Over the past day, I also broke back into some PHP. ThreadBound officially moved a step closer to it&#8217;s main goal. Here is a little hint of a very early page:</p>
	<div style="width:500px;text-align:right;"><a href="http://beta.zooomr.com/photos/codymays/230218/" title="Zooomr :: Photo Sharing"><img src="http://static.zooomr.com/images/230218_20636fef9a.jpg" width="500" height="237" alt="ThreadBound - preview" border="0" style="border:1px solid #000;" /></a><span style="float:left;">ThreadBound - preview</span> Hosted on <strong>Zooom<span style="color:#9EAE15;">r</span></strong></div>
	<p>I have also been contacted to do some more work for <a href="http://www.thunderit.com">ThunderIT.com</a>, so I&#8217;m very happy about that. The project I&#8217;ll be working on is very cool. Hopefully some of the cash I get from this job will help me get a new laptop.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/09/25/a-bit-of-a-test/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>ThreadBound.com</title>
		<link>http://www.codymays.net/content/2006/08/07/threadboundcom/</link>
		<comments>http://www.codymays.net/content/2006/08/07/threadboundcom/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 03:27:47 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Uncategorized</category>
	<category>Geekery</category>
	<category>Site News</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>Apache</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
	<category>Prototype</category>
	<category>Script.aculo.us</category>
		<guid>http://www.codymays.net/content/2006/08/07/threadboundcom/</guid>
		<description><![CDATA[	Well, we came up with the new name and the teaser page is up. Have fun. ThreadBound.com I&#8217;ll make a logo soon as Alpaca gets back from Canada. Fill out the form if you want updates.

]]></description>
			<content:encoded><![CDATA[	<p>Well, we came up with the new name and the teaser page is up. Have fun. <a href="http://www.threadbound.com">ThreadBound.com</a> I&#8217;ll make a logo soon as Alpaca gets back from Canada. Fill out the form if you want updates.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/08/07/threadboundcom/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Myspace theming without the ads</title>
		<link>http://www.codymays.net/content/2006/08/02/myspace-theming-without-the-ads/</link>
		<comments>http://www.codymays.net/content/2006/08/02/myspace-theming-without-the-ads/#comments</comments>
		<pubDate>Wed, 02 Aug 2006 23:05:35 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>Site News</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>Tips and Tricks</category>
	<category>Geek Humor</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
		<guid>http://www.codymays.net/content/2006/08/02/myspace-theming-without-the-ads/</guid>
		<description><![CDATA[	Okay, I&#8217;m going to make it very clear before I even write the rest of this. I am not a fan of myspace.com. In fact, I think it is the sludgepit of the internet. So no that we&#8217;ve made that clear&#8230;
	So we&#8217;ve all seen the disasters of pages created by millions of teenagers (like myself [...]]]></description>
			<content:encoded><![CDATA[	<p>Okay, I&#8217;m going to make it very clear before I even write the rest of this. I <strong>am not</strong> a fan of myspace.com. In fact, I think it is the sludgepit of the internet. So no that we&#8217;ve made that clear&#8230;</p>
	<p>So we&#8217;ve all seen the disasters of pages created by millions of teenagers (like myself :/ ), that are impossible to read or even look at without giving yourself a seizure. To top all of that off, they have annoying flash ads that even talk without a mute button. So, today I set out to get rid of them and create my own, special, page.</p>
	<p>First off, here is a screenshot for you to drool over:</p>
	<div style="width:500px;text-align:right;"><a href="http://beta.zooomr.com/photos/codymays/115174/" title="Zooomr :: Photo Sharing"><img src="http://static.zooomr.com/images/7d89f5493730333a3b8f98507ec589ba3bc35443.jpg" width="500" height="335" alt="moo" border="0" style="border:1px solid #000;" /></a><span style="float:left;">moo</span> Hosted on <strong>Zooom<span style="color:#9EAE15;">r</span></strong></div>
	<p>So to start, the first thing I did was see if I could escape the tables. Once I did this, I knew I could get rid of the ads and every other piece of junk I could. So in the About Me section, I had the following:</p>
	<blockquote><p>
   &lt;/td&gt;<br />
  &lt;/tr&gt;<br />
 &lt;/tbody&gt;<br />
&lt;/table&gt;<br />
  &lt;/td&gt;<br />
 &lt;/tr&gt;<br />
 &lt;/tbody&gt;<br />
&lt;/table&gt;<br />
   &lt;/td&gt;<br />
  &lt;/tr&gt;<br />
 &lt;/tbody&gt;<br />
&lt;/table&gt;<br />
   &lt;/td&gt;<br />
  &lt;/tr&gt;<br />
 &lt;/tbody&gt;<br />
&lt;/table&gt;<br />
&lt;/table&gt;
</p></blockquote>
	<p>This allowed me to get out of the table-hell layout that is myspace.com, but I had to do one thing to make it not display the rest of the page. I had to reopen the tables. Code is below:</p>
	<blockquote><p>
&lt;table&gt;<br />
&lt;tbody&gt;<br />
&lt;tr&gt;&lt;td&gt;
</p></blockquote>
	<p>Knowing this, I just added the CSS/HTML and images that can be found in the zip below to the About Me section.</p>
	<p><a href="http://codymays.net/files/myspace.zip">Click here to download the zip file.</a><br />
<a href="http://myspace.com/pwnageprofile">Click here to see the myspace live.</a></p>
	<p>I hope that helps some of you.</p>
	<p><strong>NOTE:</strong> This *WILL* violate your agreement to the Myspace.com Terms of Service. Until they allow the iframe, we have no way to show their ads.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/08/02/myspace-theming-without-the-ads/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Current Ideas</title>
		<link>http://www.codymays.net/content/2006/05/20/current-ideas/</link>
		<comments>http://www.codymays.net/content/2006/05/20/current-ideas/#comments</comments>
		<pubDate>Sun, 21 May 2006 04:21:16 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>Site News</category>
	<category>PHP</category>
	<category>C/C++</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>FreeBSD</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Web 2.0</category>
		<guid>http://www.codymays.net/content/2006/05/20/current-ideas/</guid>
		<description><![CDATA[	So today I did some more research for my new site. I into memcached and XMPP. You have to admit, for as much as the LiveJournal site is put down in the technology area on the web, they have some really cool technologies that were developed behind the scenes, memcached being one of them. Many [...]]]></description>
			<content:encoded><![CDATA[	<p>So today I did some more research for my new site. I into <a href="http://www.danga.com/memcached/">memcached</a> and <a href="http://www.xmpp.org/">XMPP</a>. You have to admit, for as much as the LiveJournal site is put down in the technology area on the web, they have some really cool technologies that were developed behind the scenes, memcached being one of them. Many people don&#8217;t even realise this, but memcached alone is used by many really large sites, such as sourceforge.net and slashdot.org. I will be using it in my new site as well, if things go as planned. (I haven&#8217;t messed with it on BSD yet)</p>
	<p>XMPP is the really nice XML based protocol that <a href="http://www.jabber.org/">Jabber</a> uses. Not only does it allow secure remote logins, but it can be used from all over the place. To top that off, the actual XMPP or Jabberd doesn&#8217;t have to be open to the public pool, how Gtalk was when it first came out. </p>
	<p>I REALLY like this protocal and I&#8217;m trying to find a nice implementation to play with. If I don&#8217;t find one, I will probably strip the JayantHTTPD code base and start reading the RFC for the protocol. Hopefully, I can get a server up and mod it to do authentication from a local database.</p>
	<p>Either way, I&#8217;ll be playing with it from the web. My new site needs global accounts that can be accessed from around the internet, similar to <a href="http://openid.net/">OpenID</a>. If I can keep this method fast and simple to work with, I&#8217;ll be extremely happy.</p>
	<p>Oh, and in other news, I have a work-in-progress mockup of the new design for this slum. See it <a href="http://crxgames.com/cody/blog">here.</a> Let me know what you think!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/05/20/current-ideas/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>High Traffic Web Development</title>
		<link>http://www.codymays.net/content/2006/04/16/high-traffic-web-development/</link>
		<comments>http://www.codymays.net/content/2006/04/16/high-traffic-web-development/#comments</comments>
		<pubDate>Mon, 17 Apr 2006 01:53:55 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web Development</category>
	<category>Tips and Tricks</category>
	<category>Apache</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
	<category>Experiences</category>
	<category>Reading</category>
		<guid>http://www.codymays.net/content/2006/04/16/high-traffic-web-development/</guid>
		<description><![CDATA[	Over the past week and a half, I have been in the process of reading up on  developing for high traffic sites. It is very interesting that it only requires small optimizations here and there. 
	One thing I&#8217;ve found in common with all large sites and that should be pretty obvious, is a PHP [...]]]></description>
			<content:encoded><![CDATA[	<p>Over the past week and a half, I have been in the process of reading up on  developing for high traffic sites. It is very interesting that it only requires small optimizations here and there. </p>
	<p>One thing I&#8217;ve found in common with all large sites and that should be pretty obvious, is a PHP compiler cache and some type of caching system.  Some of the more popular ones are APC, Bware Afterburner, Turck MMCache, and the Zend Accelerator. PHP caching systems are easy to write and can speed up template calls a ton.</p>
	<p>You can speed up your site by using output buffering. What this does is use writev() instead of write(). The write() calls were sent to apache as 4kb buffers, where as the writev() calls aren&#8217;t.  </p>
	<p>Another speed up can be accomplished by setting Apache&#8217;s SendBufferSize to PageSize. This allows the page to be handed over to the kernel, to be sent, without blocking.</p>
	<p>To reduce bandwidth, you may want to look into gzipping the contents of your page. I have seen this shrink 80gb backups down by almost a third the size, except for when most of the contents were images. So you should gain a lot for this if you can afford the overhead of the operations to compress your data.</p>
	<p>There are also some simple thinks you can do to speed up your code. To speed up database calls, only query for that data you need. No need to SELECT * when you only need to SELECT id. You should also only query a table once. Get the data you need from it and store it, don&#8217;t query it again. </p>
	<p>If you are using PHP5 or higher, you may also want to use MySQLi. This new MySQL API is much faster than the old API and includes both a functional and OOP interface. Most applications can be easily converted to use it. Plus, you get support for prepared statements and bind statements.</p>
	<p>Optimization can also be made during the design of your database. Make sure you realize the differences between MyISAM and the InnoDB storage engines.  MyISAM is very efficient for either very high volume writes or reads, but has table level locking. InnoDB has non-locking reads and row level updates, plus high concurrency.</p>
	<p>You may also want to cache query results if they are not expected to update as often. An example I often use for this is CMS systems. Why query all of the blocks you want on one page, when you can cache the results of the original query for 6 hours and have them quickly accessible? Plus, if the owner of the site changes them, just clear the cache&#8230;</p>
	<p>Now, back to what I&#8217;ve been up to. Besides reading up on the above, I have also been messing with my new project for the last two weeks straight. It is amazing how many hacks IE5-IE6 requires. I know I&#8217;ve used at least four to get my new site to display correctly. While the thing worked in Firefox, Safari, Epiphany, Konqeror, Opera, and IE7 the _whole_ time.</p>
	<p>I hope most people will like the design though. I have shown it to around 20 people on IRC, and only one person hasn&#8217;t liked it a lot. So I would say I&#8217;ve done pretty good considering this was the first site I had designed entirely in Photoshop and then converted it to CSS/XHTML by hand. The core work for this new project starts this week and will probably continue for the next few months to a year.</p>
	<p>Reference for high volume PHP: <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html">http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/04/16/high-traffic-web-development/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>How do I roll? I roll with PHP/6.0.0-dev.</title>
		<link>http://www.codymays.net/content/2006/03/23/how-do-i-roll-i-roll-with-php600-dev/</link>
		<comments>http://www.codymays.net/content/2006/03/23/how-do-i-roll-i-roll-with-php600-dev/#comments</comments>
		<pubDate>Fri, 24 Mar 2006 01:37:35 +0000</pubDate>
		<dc:creator>Cody Mays</dc:creator>
		
	<category>Geekery</category>
	<category>PHP</category>
	<category>Web Development</category>
	<category>Tips and Tricks</category>
	<category>Apache</category>
	<category>Personal</category>
	<category>Daily Grindage</category>
		<guid>http://www.codymays.net/content/2006/03/23/how-do-i-roll-i-roll-with-php600-dev/</guid>
		<description><![CDATA[	I&#8217;ve had one insanely sweet idea for a website last Sunday. So after I got home today, I worked on building a php6 installed. I must say it&#8217;s not easy. I could not get the direct cvs checkout to compile correctly. It seems to me that flex and yacc weren&#8217;t generating the parser and I [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;ve had one insanely sweet idea for a website last Sunday. So after I got home today, I worked on building a php6 installed. I must say it&#8217;s not easy. I could not get the direct cvs checkout to compile correctly. It seems to me that flex and yacc weren&#8217;t generating the parser and I didn&#8217;t feel like fixing. </p>
	<p>So I headed on over to <a href="http://snaps.php.net">snaps.php.net</a> and downloaded a prebuilt cvs export. After installing at least 15 libabc-dev packages via apt-get, I was ready to build. So I started it and saw something about ICU. Well it turns out, the Ubuntu package isn&#8217;t up-to-date enough. PHP 6 requires ICU 3.4+. So I had to compile all 8.5mb of that code. Make sure that you run ./configure like this on ICU (according to the one thing I found on google about it, let me know if it works differently) ./configure &#8211;prefix=/usr/local/ &#8211;disable-threads<br />
Here is what I build my PHP 6.0.0/dev install with:</p>
	<blockquote><p>
./configure &#8211;program-suffix=6 &#8211;with-apxs2=/usr/local/apache2/bin/apxs &#8211;enable-openssl &#8211;with-zlib &#8211;enable-bcmath &#8211;with-bz2 &#8211;enable-calender &#8211;with-curlwrappers &#8211;enable-dba &#8211;with-inifile &#8211;with-flatfile &#8211;enable-exif &#8211;enable-ftp &#8211;with-gd &#8211;with-gettext &#8211;enable-mbstring &#8211;with-mcrypt &#8211;with-mhash &#8211;with-mime-magic &#8211;with-mysql &#8211;with-mysqli &#8211;with-unixODBC=/usr/ &#8211;with-readline &#8211;with-mm &#8211;enable-soap &#8211;enable-sockets &#8211;enable-sysvshm &#8211;with-tidy &#8211;with-xsl &#8211;with-icu-dur=/usr/local &#8211;disable-mbregex
</p></blockquote>
	<p>Now, I&#8217;m off to mess with my long wanted namespaces in PHP.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.codymays.net/content/2006/03/23/how-do-i-roll-i-roll-with-php600-dev/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
