<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Jim Walker's Blog</title>
	
	<link>http://datawalke.com</link>
	<description>PHP, PBBGs, and Business</description>
	<lastBuildDate>Thu, 11 Aug 2011 18:06:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Datawalke" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="datawalke" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>XAMPP, php-devel, and pecl errors</title>
		<link>http://datawalke.com/php/xampp-php-devel-and-pecl-errors/</link>
		<comments>http://datawalke.com/php/xampp-php-devel-and-pecl-errors/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 01:22:20 +0000</pubDate>
		<dc:creator>Jim Walker</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://datawalke.com/?p=76</guid>
		<description><![CDATA[A quick little tidbit that may help someone in their travels: I was looking to install the PECL oauth package on my mac development machine. Since it is running XAMPP and not compiling from the source I was a little worried I would run into a few issues &#8212; and I did. While trying to [...]]]></description>
			<content:encoded><![CDATA[<p>A quick little tidbit that may help someone in their travels:</p>
<p>I was looking to install the PECL oauth package on my mac development machine. Since it is running XAMPP and not compiling from the source I was a little worried I would run into a few issues &#8212; and I did. While trying to install the oauth package I ran into an error:</p>
<pre>
oauth error: expected '{' at end of input
make: *** [oauth.lo] Error 1
ERROR: `make' failed
</pre>
<p>After reading a few items online it looked like there could be an issue with phpsize. Looking into XAMPP phpsize is not included by default. Taking a somewhat ill advised route I installed mac ports and attempted to port install php5-devel. As it began to compile I realized the error in my way: it was porting php5 as well! </p>
<p><strong>To finally fix the issue: </strong>I hopped onto the <a href="http://www.apachefriends.org/en/xampp-macosx.html">Apache Friends XAMPP</a> page to take another look, and before my eyes I saw the XAMPP mac &#8220;Developer Package.&#8221; After downloading and installing the .pkg I attempted to run pecl install oauth again and it was smooth sailing.<br />
&nbsp;</p>
<p><strong>Still having issues?</strong> You may have to build the extension yourself. <a href="http://twitter.com/#!/sumardi">@sumardi</a> wrote a great article on how to do this at: <a href="http://www.sumardi.net/2011/06/04/installing-oauth-extension-in-xampp-for-mac-os-x/">http://www.sumardi.net/2011/06/04/installing-oauth-extension-in-xampp-for-mac-os-x/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://datawalke.com/php/xampp-php-devel-and-pecl-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dragon Duel Update #1</title>
		<link>http://datawalke.com/dragon-duel/dragon-duel-update-1/</link>
		<comments>http://datawalke.com/dragon-duel/dragon-duel-update-1/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 12:22:11 +0000</pubDate>
		<dc:creator>Jim Walker</dc:creator>
				<category><![CDATA[Dragon Duel]]></category>

		<guid isPermaLink="false">http://datawalke.com/?p=68</guid>
		<description><![CDATA[After a long hiatus from working on Dragon Duel I believe it&#8217;s time to kick things into action. Over the past two years Dragon Duel has faded in and out of my memory, and for good reason. These last two years have brought major ups and downs to my life. Some of these events have [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-67" title="Dragon Duel Blog #1" src="http://datawalke.com/wp-content/uploads/2010/10/dd_blog_1.jpg" alt="Dragon Duel Blog #1" width="720" height="200" />After a long hiatus from working on <a title="Dragon Duel" href="http://ddrpg.net" target="_blank">Dragon Duel</a> I believe it&#8217;s time to kick things into action. Over the past two years Dragon Duel has faded in and out of my memory, and for good reason. These last two years have brought major ups and downs to my life. Some of these events have caused me tremendous pain, others pure joy and love. When I started working on Dragon Duel in 2006 the world I lived in was untouched by the realities of life that set as your responsibilities grow. Because of this my world went from working on projects I was passionate about, like Dragon Duel, to working on applications for different companies. And while that type of work does bring bread to to the table, it also chips away at your passion and dreams.</p>
<p>So where do we go from here?</p>
<p>Dragon Duel was taken offline because of a series of issues: I no longer had the time to manage it properly, the economy was busted, the back-end of the game was a bit screwy, and a slew of other issues. Tian and I felt temporarily shutting it down was better than letting the game run amok. Since the time Dragon Duel has gone offline there has been multiple attempts to get it back online. Doing this however is not an easy task. The game has to be rebuilt from the ground up. By doing this, the game will ultimately be creating a new game.</p>
<p>By going down this path the walls to getting the game back online stretch higher into the sky. However, there is hope.</p>
<div class="wp-caption aligncenter" style="width: 731px"><img title="New Dragon Duel Interface" src="http://puu.sh/4Na" alt="The new Dragon Duel Battles screen" width="721" height="528" /><p class="wp-caption-text">The new Dragon Duel Battles screen</p></div>
<p>Some sections of the game have been completed: Battles, weapons, some basic training, a new interface. There is still a long path ahead of us to get the game back online but we are determined to do it. To stay on this path we would like to hear from you: Keep us in line, Ask hard questions, and let us know what features you would like to see. I am going to try and commit myself to writing at least one update per-week on how the development of the game is going. I want to let you into our minds and see how our development process works. If you have any questions along the way I want you to ask them and I will do my best to answer them for you.</p>
<p>See you next week. Please let me know what you think below.</p>
]]></content:encoded>
			<wfw:commentRss>http://datawalke.com/dragon-duel/dragon-duel-update-1/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>I Almost Got a Job on 37Signals Job Board</title>
		<link>http://datawalke.com/freelance/i-almost-got-a-job-on-37signals-job-board/</link>
		<comments>http://datawalke.com/freelance/i-almost-got-a-job-on-37signals-job-board/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 05:11:28 +0000</pubDate>
		<dc:creator>Jim Walker</dc:creator>
				<category><![CDATA[freelance]]></category>

		<guid isPermaLink="false">http://datawalke.com/?p=46</guid>
		<description><![CDATA[So after my still developing issue, I went out trying to find some additional freelance work to help build up my portfolio and put some money away in the bank. I wanted to skip the oDesks and outsourcing sites and go for something I thought may be a bit better: Job Boards. So I checked [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://datawalke.com/wp-content/uploads/2010/06/why.jpg" alt="" /><br />
So after my still developing issue, I went out trying to find some additional freelance work to help build up my portfolio and put some money away in the bank. I wanted to skip the oDesks and outsourcing sites and go for something I thought may be a bit better: Job Boards. So I checked out the 37Signals Job Board and found <a title="37Signals Job Listing" href="http://jobs.37signals.com/jobs/6922" target="_blank">this post</a>. How the brief was written scared me a little, but 37Signals charges a pretty decent amount to post a listing so I figured it was all going to be kosher. I added them to my list to contact and a few days later we spoke.</p>
<p>&#8220;phenomsolutions1&#8243; messaged me with no introduction spitting out loose questions around his project. After his description of the product I informed him that doing this from the ground up would not be a inexpensive task. He informed me he had &#8220;loads of money.&#8221; After I quoted him, he quickly took that statement back and changed the scope of the project, we agreed on a price and the following conversation took place:</p>
<dl class="conversation">
<dt>phenomsolutions1:</dt>
<dd> Do you have a merchant? </dd>
<dt>Me:</dt>
<dd> I&#8217;m sorry? For payments/my invoicing? </dd>
<dt>phenomsolutions1:</dt>
<dd> yes </dd>
<dt>phenomsolutions1:</dt>
<dd> Credit card processing </dd>
<dt>Me:</dt>
<dd> My myself I use PayPal and invoice through FreshBooks. </dd>
<dt>phenomsolutions1:</dt>
<dd> I dont use paypal, or use my credit card through paypal </dd>
<dt>phenomsolutions1:</dt>
<dd> any other option? </dd>
<dt>Me:</dt>
<dd> Out of curiosity, why not? I will have to look into another option. </dd>
<dt>Me:</dt>
<dd> (We could run the project through oDesk.) </dd>
<dt>phenomsolutions1:</dt>
<dd> What if we run it through 99designs? </dd>
<dt>Me:</dt>
<dd> That seems odd. </dd>
<dt>phenomsolutions1:</dt>
<dd> why </dd>
<dt>Me:</dt>
<dd> I think I&#8217;ll pass. </dd>
<dt>phenomsolutions1:</dt>
<dd> Why? </dd>
<dt>Me:</dt>
<dd> Because that isn&#8217;t the way business should be done. </dd>
<dt>phenomsolutions1:</dt>
<dd> Why not :S </dd>
<dt>phenomsolutions1:</dt>
<dd> paypal isnt the end of the universe, paypal is where i lost about 4 grand last time i used it. </dd>
<dt>phenomsolutions1:</dt>
<dd> Like what the heck is wrong with 99designs </dd>
<dt>Me:</dt>
<dd> Because 99Designs is used for contests. There is a slew of things you could do to cancel out the process along the way. </dd>
<dt>Me:</dt>
<dd> I have to protect myself here as well. </dd>
<dt>Me:</dt>
<dd> (I&#8217;ve been screwed a number of times myself.) </dd>
<dt>phenomsolutions1:</dt>
<dd> I will start the contest and give you the login details for the account and you can change the passowrd and take full control. </dd>
<dt>Me:</dt>
<dd> It&#8217;s okay. I think I am going to pass though. Best of luck with your project! </dd>
<dt>phenomsolutions1:</dt>
<dd> fuck you </dd>
<dt>phenomsolutions1:</dt>
<dd> faggot </dd>
<dt>phenomsolutions1:</dt>
<dd> you dumb dickhole </dd>
<dt>phenomsolutions1:</dt>
<dd> dont fucking insult me </dd>
<dt>phenomsolutions1:</dt>
<dd> calling me a scammer </dd>
<dt>phenomsolutions1:</dt>
<dd> fucking pussy </dd>
<dt>phenomsolutions1:</dt>
<dd> ill fuck you up </dd>
<dt>phenomsolutions1:</dt>
<dd> bitch </dd>
<dt>phenomsolutions1:</dt>
<dd> mother fucker </dd>
<dt>Me:</dt>
<dd> How am I insulting you? </dd>
<dt>phenomsolutions1:</dt>
<dd> fuck you. </dd>
<dt>phenomsolutions1:</dt>
<dd> Fucking cunt. </dd>
<dt>phenomsolutions1:</dt>
<dd> you fucking insulted me </dd>
<dt>phenomsolutions1:</dt>
<dd> you fucking idiot. </dd>
<dt>Me:</dt>
<dd> How so? </dd>
<dt>phenomsolutions1:</dt>
<dd> dont fucking insult me by calling me a scammer </dd>
<dt>phenomsolutions1:</dt>
<dd> shut the fuck up now </dd>
<dt>Me:</dt>
<dd> I&#8217;m just protecting myself in this situation. </dd>
<dt>phenomsolutions1:</dt>
<dd> your name is JIM WALKER, and you type *NOD* every 3 seconds </dd>
<dt>Me:</dt>
<dd> Have a good day. </dd>
<dt>phenomsolutions1:</dt>
<dd> so shutup </dd>
<dt>phenomsolutions1:</dt>
<dd> fucking clown.</dd>
</dl>
<p>That promptly ended my bid to do any work with him or his company. Do any of you run into this type of client every once and awhile? Or worse, have any of you ever gotten burned bad by a client?</p>
]]></content:encoded>
			<wfw:commentRss>http://datawalke.com/freelance/i-almost-got-a-job-on-37signals-job-board/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Installing DBSlayer with XAMPP</title>
		<link>http://datawalke.com/uncategorized/installing-dbslayer-with-xampp/</link>
		<comments>http://datawalke.com/uncategorized/installing-dbslayer-with-xampp/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 01:19:29 +0000</pubDate>
		<dc:creator>Jim Walker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://datawalke.com/?p=16</guid>
		<description><![CDATA[DBSlayer is an awesome lightweight database abstraction layer that is used under high-load websites. While nothing I am working on is necessarily high-load I am going to be using DBSlayer to work on a few projects using Node.js (Which deserves a post of its own.) Installing the DBSlayer requires the following other libraries must be [...]]]></description>
			<content:encoded><![CDATA[<p>DBSlayer is an awesome lightweight database abstraction layer that is used under high-load websites. While nothing I am working on is necessarily high-load I am going to be using DBSlayer to work on a few projects using Node.js (Which deserves a post of its own.) Installing the DBSlayer requires the following other libraries must be installed first:</p>
<ul>
<li> the Apache Portable Runtime (APR) library (1.0 or above)</li>
<li>the Apache Portable Runtime Utility (APU) library (1.0 or above)</li>
<li>the MySQL 5 client libraries (5.0 or above)</li>
</ul>
<p>While somewhat basic you may run into an issue with this if you already have XAMPP installed on your machine.  XAMPP keeps all of these files located in the /xamppfiles/bin/ folder. Therefore you need to modify your ./configure line when installing DBSlayer.</p>
<p><script src="http://gist.github.com/267330.js?file=gistfile1.sh"></script></p>
<p>Not rocket science but it took me a few minutes to debug. Hopefully this saves someone some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://datawalke.com/uncategorized/installing-dbslayer-with-xampp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dragon Duel</title>
		<link>http://datawalke.com/dragon-duel/dragon-duel/</link>
		<comments>http://datawalke.com/dragon-duel/dragon-duel/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 17:46:19 +0000</pubDate>
		<dc:creator>Jim Walker</dc:creator>
				<category><![CDATA[Dragon Duel]]></category>
		<category><![CDATA[dd]]></category>

		<guid isPermaLink="false">http://datawalke.com/?p=9</guid>
		<description><![CDATA[This is the first part of a four part series that covers the history of Dragon Duel. Throughout November and December a post will be made each week to cover various aspects of the game&#8217;s history. Make sure to check back in. So the launch of Dragon Duel got pushed back again &#8212; Not a [...]]]></description>
			<content:encoded><![CDATA[<p>This is the first part of a four part series that covers the history of Dragon Duel. Throughout November and December a post will be made each  week to cover various aspects of the game&#8217;s history. Make sure to check back in.</p>
<p>So the launch of Dragon Duel got pushed back again &#8212; Not a surprise given the history of Dragon Duel. However in the mean time the site has been updated to take in any users who are interested in playing the beta when it releases. If you would like to sign up <a title="Dragon Duel" href="http://ddrpg.net" target="_blank">check it out</a>.</p>
<p>Dragon Duel is an odd topic. Did you know there have already been four different versions of the same game rehashed over and over? We seem to keep going through a constant development cycle that never ends. The sad part is that all of these games ended up working really well too. We just never pushed them for release because they worked totally different that the original Dragon Duel did. We really wanted to keep the stats and current user base the same without having to change too much. This time around we kicked that philosophy  out the door and revamped a lot of different metrics kind of combining elements from all of the other versions of Dragon Duel together. Lets take a look at the past shall well?</p>
<p><strong>Dragon Duel </strong>(2005)</p>
<p>Started by Luke Hackett Dragon Duel started off of what is know as a &#8220;Dragon Swords&#8221; base of code. This was some base of code that a bunch of developers were working and it got leaked out onto the internet. Lots of bitching, moaning, and hacking up code later Dragon Duel gave its breath to the world and started to take in players.  Luke&#8217;s invovlement in the game is somewhat unknown to me. I really did not know him nor was I a member of the DD community at that time.</p>
<p><strong>Dragon Duel</strong> &#8211; <strong>Three Easy Payments</strong> (2006)</p>
<p>I approached Luke after seeing a post that he was selling his games due to a lack of resources. I emailed him on 5/16/06 and things started to get rolling. Price and other elements were discussed the basics came down to this (from his end):</p>
<ul>
<li>Two Games: DDRPG, SOD</li>
<li>Totally unique!</li>
<li>DDRPG.net</li>
<li>$200!</li>
</ul>
<p>So the deal went through, however with some snags. Luke told me from the start that all the games were unique:</p>
<blockquote><p>Hey, <span>DD</span> is original but SoD was open source (I helped make the original source) but it&#8217;s so different it cannot be recognised as the way it originally was. I&#8217;m not really fussed on the price because I really need to sell&#8230; So pretty much offer a price and yeah I&#8217;d probably say yes. <img src='http://datawalke.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></blockquote>
<blockquote><p>&#8211;<br />
<span style="color: #888888;">Luke Hackett. </span></p></blockquote>
<p>However a few weeks later I was informed they were just &#8220;clones&#8221;/rip-offs. Already having the code and paid into it we settled on $150.00 and I never heard from Luke again.</p>
<p>I moved Dragon Duel over to one of the original Bandhoster servers that I had and got everything setup. While the initial configuration wasn&#8217;t too bad the code was a pile of crap. Long blocks of code that looked similar to:<br />
<code><br />
$checkban = Mysql_query("Select * from bans where id='$id'");<br />
if(!$checkban){<br />
Mysql_query("insert into bans (id,time,mod) values ('$id','$days','$playerinfo[username]')");<br />
echo "Player $id has been banned for $days days.";</code></p>
<p>}else{<br />
Mysql_query(&#8220;update bans set time=&#8217;$days&#8217; and mod=&#8217;$playerinfo[username]&#8216; where id = &#8216;$id&#8217; &#8220;);<br />
echo &#8220;Player $id has been <strong>rebanned</strong> for $days days.&#8221;;</p>
<p>}<br />
Mysql_query(&#8220;insert into bans (id,time,mod) values (&#8216;$id&#8217;,'$days&#8217;,'$playerinfo[username]&#8216;)&#8221;);</p>
<p>mysql_query(&#8220;insert into usernews (id,user,text,time) values (&#8221;,&#8217;$id&#8217;,&#8217;<strong>$time</strong> You have been banned for $days days by $playerinfo[username] for unacceptable messageboard posts&#8217;,'$realtime&#8217;)&#8221;);<br />
$bloke = $id;<br />
// Manager Records<br />
$plaintime = date (&#8220;l dS of F Y h:i:s A&#8221;);<br />
$track2 = mysql_query(&#8220;INSERT INTO `trackweap` (`id`, `userid`, `adminid`, `change`, `tstamp`, `tstamp2`) VALUES (&#8221;, &#8216;$bloke&#8217;, &#8216;$playerinfo[id]&#8216;, &#8216;Received a <span style="color: pink;">$days MB Ban</span> from $playerinfo[username] ($playerinfo[id])&#8217;, NOW(), &#8216;$plaintime&#8217;);&#8221;);</p>
<p>$et=time();<br />
//admin tracker<br />
mysql_query(&#8220;insert into admintrack(time,admin,msg) values (&#8216;$et&#8217;,'$playerinfo[id]&#8216;,&#8217;$playerinfo[username] has banned $id&#8217;)&#8221;);<br />
$trackrecord = mysql_query(&#8220;INSERT INTO jailrecord (time, admin, convict, msg) VALUES (&#8216;$et&#8217;,'$playerinfo[id]&#8216;, &#8216;$id&#8217;,&#8217;<strong>$id</strong> MBB for $time<em>$gold</em>&#8216;)&#8221;);<br />
// Add jail record<br />
mysql_QUERY(&#8220;update jailrecord set convict=&#8217;$id&#8217;, jail_by=&#8217;$playerinfo[username]&#8216;, jail_reason=&#8217;MBB for $gold&#8217; where id=&#8217;$id&#8217;&#8221;);<br />
// check unbanned<br />
$resetthree = Mysql_query(&#8220;DELETE FROM bans where time=0&#8243;);<br />
}</p>
<p>}</p>
<p>A lot of junk that we had to go through and try out best to fix. Little did I know that once I had this code up and running I was walking into a trap.</p>
]]></content:encoded>
			<wfw:commentRss>http://datawalke.com/dragon-duel/dragon-duel/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>DNN: How to Add a External Menu Link that Opens in a New Window</title>
		<link>http://datawalke.com/dnn/dnn-how-to-add-a-external-menu-link-that-opens-in-a-new-window/</link>
		<comments>http://datawalke.com/dnn/dnn-how-to-add-a-external-menu-link-that-opens-in-a-new-window/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 22:18:50 +0000</pubDate>
		<dc:creator>Jim Walker</dc:creator>
				<category><![CDATA[DotNetNuke]]></category>

		<guid isPermaLink="false">http://datawalke.com/?p=3</guid>
		<description><![CDATA[Ever notice that when you go to add an external link page in DotNetNuke that there is no option for it to open in a new window? Well I have two methods that you can go about to get this working on your DNN site. The first, not for the faint of heart, involves a [...]]]></description>
			<content:encoded><![CDATA[<p>Ever notice that when you go to add an external link page in DotNetNuke that there is no option for it to open in a new window? Well I have two methods that you can go about to get this working on your DNN site. The first, not for the faint of heart, involves a little database work. The second is a quick Javascript fix.</p>
<p>The first method involves tricking DNN&#8217;s Tab table to thinking your URL link is something a little bit different.</p>
<ul>
<li>Open up the Tabs Table in your favorite SQL Editor</li>
<li>Look for the URL field of the external link you wish to open in a new window.</li>
<li>You may see something like:<strong> http://example.com</strong></li>
<li>You want to make it: <strong>http://example.com&#8221; target=&#8221;_blank</strong></li>
</ul>
<p>Once you save restart the application in the Host -&gt; Host Settings page and view your link you should be good to go!</p>
<p>The second method is a bit easier however it does use Javascript instead of a normal link.</p>
<ul>
<li>In the external Link field on your DNN Page Settings you will see something like: <strong>http://example.com</strong></li>
<li>Change it to be:<strong> javascript:void(window.open(&#8216;http://www.example.com&#8217;))</strong></li>
</ul>
<p>And save.</p>
<p>A little DNN hacking never hurt anyone.</p>
<p>But it makes you wonder why they do not have this option implemented. And why they don&#8217;t validate external URLs when you add them.</p>
]]></content:encoded>
			<wfw:commentRss>http://datawalke.com/dnn/dnn-how-to-add-a-external-menu-link-that-opens-in-a-new-window/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

