<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>daft spunk blog</title>
	<link>http://www.daftspunk.com</link>
	<description>web developer, graphic designer, entrepreneur, conflict hero</description>
	<lastBuildDate>Wed, 28 Dec 2011 10:37:42 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0.5" -->

	<item>
		<title>PHP Chess Rank Algorithm from Facebook Movie</title>
		<description><![CDATA[Following on from the previous post, here is the algorithim used for ranking chess players as seen on The Social Network when Mark Zuckerberg is developing Facemash. The algorithm shown in the movie looked a bit like this: Ea = 1 / (1 + 10 ^ ((Rb-Ra)/400)) Eb = 1 / (1 + 10 ^ [...]]]></description>
		<link>http://www.daftspunk.com/code/php-chess-algorithm-from-facebook-movie.html</link>
			</item>
	<item>
		<title>PHP Experience Points (XP) Level System</title>
		<description><![CDATA[Here&#8217;s a fun little snippet that lets you create a XP leveling system similar to World of Warcraft. *ding!* function calculateXP($myPoints) { $calcStart = 0; // Level 1 Start XP $calcEnd = 10; // Level 1 End XP $calcInc = 0; // Increase by extra how many per level? $calcLevel = 6; // Multiply by [...]]]></description>
		<link>http://www.daftspunk.com/code/php-experience-points-xp-level-system.html</link>
			</item>
	<item>
		<title>Landing pages for dumbasses</title>
		<description><![CDATA[If you&#8217;re going to make a site that people will actually want to use, your landing page should do no less than answer to and inform of three things: What is it? What do I have to do? What do I get? Anything else should only relate to the above, for example if there is [...]]]></description>
		<link>http://www.daftspunk.com/spam/landing-pages-for-dumbasses.html</link>
			</item>
	<item>
		<title>Half measures for 1140px Grid by Andy Taylor</title>
		<description><![CDATA[Who uses 1024&#215;768 resolution anymore besides your grandma, give me a break. Andy Taylor&#8217;s 1140px CSS Grid could be considered the new 960 grid. Although super handy 12 columns doesn&#8217;t quite cut it for tight spaces. So using the amazing trickery of maths, this additional CSS beefs it up to potentially 24 by adding &#8220;half&#8221; [...]]]></description>
		<link>http://www.daftspunk.com/code/half-measures-for-1140px-grid-by-andy-taylor.html</link>
			</item>
	<item>
		<title>.htaccess redirect to avoid duplicate content penalties</title>
		<description><![CDATA[This might seem like an obvious one but it&#8217;s something seldom seen in newly launched sites. If your website can be accessed with yourdomain.com and www.yourdomain.com Google will see this as two completely separate sites and penalize you for having duplicated content. You must redirect your visitors to either yourdomain.com or www.yourdomain.com &#8211; not allowing [...]]]></description>
		<link>http://www.daftspunk.com/spam/htaccess-redirect-to-avoid-duplicate-content-penalties.html</link>
			</item>
	<item>
		<title>Dreamweaver color scheme for Netbeans editor</title>
		<description><![CDATA[If you&#8217;ve stepped up your game and ditched Dreamweaver in favour of using a real PHP IDE like Netbeans then this Dreamweaver-style theme will help make the transition that much easier. Being unable to find a Dreamweaver color scheme for Netbeans code editor anywhere, this one was built from scratch today using exact color codes [...]]]></description>
		<link>http://www.daftspunk.com/code/dreamweaver-color-scheme-for-netbeans-editor.html</link>
			</item>
	<item>
		<title>Making a Side Page Menu in WordPress</title>
		<description><![CDATA[For WordPress sites with nested pages a side menu is a valuable element to any design. First we determine if the current page is in fact the parent or a child and collect it&#8217;s ID. Then by calling the wp_list_pages command we can list the children and determine if a side menu is even required. [...]]]></description>
		<link>http://www.daftspunk.com/code/making-a-side-page-menu-in-wordpress.html</link>
			</item>
	<item>
		<title>Cool story bro</title>
		<description><![CDATA[The story we tell ourselves to justify, reason, explain our lack of&#8230;whatever. &#8220;They always&#8230;&#8221; &#8220;That happened to me because&#8230;&#8221; &#8220;They are&#8230;&#8221; They are a person. That happened to you because it happened. They never more than they always.]]></description>
		<link>http://www.daftspunk.com/conflict/cool-story-bro.html</link>
			</item>
	<item>
		<title>How to Recreate/Reset Table ID Fields (1,2,3,4&#8230;) using mySQL</title>
		<description><![CDATA[If you are anal retentive or obsessive–compulsive about having clean ID numbers in your mySQL tables, this code should prove itself useful as it will automatically: clean up, convert, recount, reset, recompile, recreate, repopulate the ID column for every entry modify the auto increment counter for the table It is important to note this script [...]]]></description>
		<link>http://www.daftspunk.com/code/how-to-reset-table-id-fields-1234-using-mysql.html</link>
			</item>
	<item>
		<title>The Cultural Conflict of Environment</title>
		<description><![CDATA[If you grew up in India you would be a product of that environment. This is probably the first and only time you can blame, or credit, your environment because you have absolutely no say in the matter. Beyond this point your environment becomes increasingly decided. At school you decide to hang out with the [...]]]></description>
		<link>http://www.daftspunk.com/conflict/the-conflict-of-environment.html</link>
			</item>
</channel>
</rss>

