<?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>debugger;</title>
	<atom:link href="http://cpb.coaxialhost.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cpb.coaxialhost.com</link>
	<description>A blog by Giancarlo Bellido</description>
	<lastBuildDate>Thu, 01 Dec 2011 08:27:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19861</generator>
		<item>
		<title>Building a PONG game with the j5g3 Javascript Game Engine</title>
		<link>http://cpb.coaxialhost.com/2011/building-a-pong-game-with-the-j5g3-javascript-game-engine/</link>
		<comments>http://cpb.coaxialhost.com/2011/building-a-pong-game-with-the-j5g3-javascript-game-engine/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 08:26:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[j5g3]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=103</guid>
		<description><![CDATA[I wrote a tutorial on how to build a simple game of pong using my Javascript HTML5 Game Engine j5g3. The tutorial can be found at j5g3.coaxialhost.com/tutorials/pong.html.]]></description>
			<content:encoded><![CDATA[<p>I wrote a tutorial on how to build a simple game of pong using my Javascript HTML5 Game Engine <a href="http://github.com/giancarlo/j5g3">j5g3</a>. </p>
<p>The tutorial can be found at <a href="http://j5g3.coaxialhost.com/tutorials/pong.html">j5g3.coaxialhost.com/tutorials/pong.html</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2011/building-a-pong-game-with-the-j5g3-javascript-game-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Isometric Map Generation</title>
		<link>http://cpb.coaxialhost.com/2011/random-isometric-map-generation/</link>
		<comments>http://cpb.coaxialhost.com/2011/random-isometric-map-generation/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 19:36:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[j5g3]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=92</guid>
		<description><![CDATA[My new JS demo uses HTML5 Canvas to generate a random isometric map. You can see it in action here: Isometric Demo The algorithm is simple, it selects four random points and then grows recursively until all the map is filled.]]></description>
			<content:encoded><![CDATA[<p>My new JS demo uses HTML5 Canvas to generate a random isometric map. You can see it in action here:</p>
<p><a href="http://hackerhosting.com/j5g3/www/examples/iso.html">Isometric Demo</a></p>
<p>The algorithm is simple, it selects four random points and then grows recursively until all the map is filled.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2011/random-isometric-map-generation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 for IE</title>
		<link>http://cpb.coaxialhost.com/2011/html5-for-ie/</link>
		<comments>http://cpb.coaxialhost.com/2011/html5-for-ie/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 21:42:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=89</guid>
		<description><![CDATA[This script allows you to use HTML5 tags (nav, header, footer, etc) in Internet Explorer 7 and 8. To use it put this code in your page: &#60;!--[if lt IE 9]&#62; &#60;script src=&#34;http://html5shiv.googlecode.com/svn/trunk/html5.js&#34;&#62;&#60;/script&#62; &#60;![endif]--&#62;]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/html5shiv/">This</a> script allows you to use HTML5 tags (nav, header, footer, etc) in Internet Explorer 7 and 8. </p>
<p>To use it put this code in your page:</p>
<pre class="brush: xml; title: ;">
&lt;!--[if lt IE 9]&gt;
&lt;script src=&quot;http://html5shiv.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;
&lt;![endif]--&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2011/html5-for-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing Text Selection using Javascript and Event Handlers</title>
		<link>http://cpb.coaxialhost.com/2011/preventing-text-selection-using-javascript-and-event-handlers/</link>
		<comments>http://cpb.coaxialhost.com/2011/preventing-text-selection-using-javascript-and-event-handlers/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 00:36:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=40</guid>
		<description><![CDATA[To prevent text selection of any element use: in Firefox, Opera and Webkit based browsers (Chrome, Safari, etc) this can be achieved by setting a CSS property. -webkit-user-select:none; -moz-user-select:none; -o-user-select: none; user-select: none; user-select is part of the CSS3 standard. For IE < 9 we have two options: Using javascript: onselectstart=&#34;return false;&#34; and using the [...]]]></description>
			<content:encoded><![CDATA[<p>To prevent text selection of any element use:</p>
<p>in Firefox, Opera and Webkit based browsers (Chrome, Safari, etc) this can be achieved by setting a CSS property.</p>
<pre class="brush: css; title: ;">
-webkit-user-select:none;
-moz-user-select:none;
-o-user-select: none;
user-select: none;
</pre>
<p><code>user-select</code> is part of the CSS3 <a href="http://www.w3.org/TR/2000/WD-css3-userint-20000216#user-select">standard</a>.</p>
<p>For IE < 9 we have two options: </p>
<p>Using javascript:</p>
<pre class="brush: jscript; title: ;">
onselectstart=&quot;return false;&quot;
</pre>
<p>and using the HTML attribute</p>
<pre class="brush: xml; title: ;">
unselectable=&quot;on&quot;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2011/preventing-text-selection-using-javascript-and-event-handlers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Ternary Search Tree Implementation</title>
		<link>http://cpb.coaxialhost.com/2011/ruby-ternary-search-tree-implementation/</link>
		<comments>http://cpb.coaxialhost.com/2011/ruby-ternary-search-tree-implementation/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 22:08:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=84</guid>
		<description><![CDATA[Simple Ternary Search Tree Implementation in Ruby. Currently supports: Insertion (insert) Search (search, node) Printing (to_s) git clone at: http://github.com/giancarlo/algorithms.git]]></description>
			<content:encoded><![CDATA[<p>Simple Ternary Search Tree Implementation in Ruby.</p>
<p>Currently supports:</p>
<ul>
<li>Insertion (insert)</li>
<li>Search (search, node)</li>
<li>Printing (to_s)</li>
<p>git clone at: <a href="http://github.com/giancarlo/algorithms.git">http://github.com/giancarlo/algorithms.git</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2011/ruby-ternary-search-tree-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Home Setup</title>
		<link>http://cpb.coaxialhost.com/2010/my-home-setup/</link>
		<comments>http://cpb.coaxialhost.com/2010/my-home-setup/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 00:17:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=73</guid>
		<description><![CDATA[Close Up Simple, yet Powerful &#8482;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/giancarlo84/5307620413/" title="IMAG0538 by giancarlo84, on Flickr"><img src="http://farm6.static.flickr.com/5205/5307620413_7aa35baa9a.jpg" width="500" height="299" alt="IMAG0538" /></a></p>
<p>Close Up</p>
<p><a href="http://www.flickr.com/photos/giancarlo84/5308210732/" title="IMAG0535 by giancarlo84, on Flickr"><img src="http://farm6.static.flickr.com/5045/5308210732_8b6af6430a.jpg" width="500" height="299" alt="IMAG0535" /></a></p>
<p>Simple, yet Powerful &trade;</p>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2010/my-home-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Validation Messages for jquery-validate plugin</title>
		<link>http://cpb.coaxialhost.com/2010/custom-validation-messages-for-jquery-validate-plugin/</link>
		<comments>http://cpb.coaxialhost.com/2010/custom-validation-messages-for-jquery-validate-plugin/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 23:17:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=52</guid>
		<description><![CDATA[The jquery.validate plugin allows us to define our own custom validation methods and messages like this: $.validator.addMethod(&#34;equal_to&#34;, function(value, element, params) { return value == condition; }, message); The interesting thing here is that message can be a function. We have complete access to the value, element and parameters of the input validation method. Assuming our [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jquery.validate</a> plugin allows us to define our own custom validation methods and messages like this:</p>
<pre class="brush: jscript; title: ;">
$.validator.addMethod(&quot;equal_to&quot;, function(value, element, params) {
    return value == condition;
}, message);
</pre>
<p>The interesting thing here is that <em>message</em> can be a function. We have complete access to the value, element and parameters of the input validation method.</p>
<p>Assuming our HTML is this:</p>
<pre class="brush: xml; title: ;">
&lt;input type=&quot;text&quot; equal_to=&quot;obj_id&quot; /&gt;
</pre>
<p>Our <em>equal_to</em> method can be written like this:</p>
<pre class="brush: jscript; title: ;">
var message = function(value, element, params) {
   var expected = document.getElementById(params).value;
   return value + &quot; is not equal to &quot; + expected;
}
</pre>
<p>This feature is useful when trying to implement validation methods, like greater_than_element or greater_date, that need additional information to generate their validation messages.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2010/custom-validation-messages-for-jquery-validate-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Carousel/Slideshow</title>
		<link>http://cpb.coaxialhost.com/2010/html5-carouselslideshow/</link>
		<comments>http://cpb.coaxialhost.com/2010/html5-carouselslideshow/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 21:55:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=49</guid>
		<description><![CDATA[This is my new script. An image carousel/slideshow made in Javascript (no frameworks, HTML5 browsers). It uses the new figure, figcaption HTML5 tags, and css3 opacity, transition, text-shadow and border-radius. Demo and Code Documentation GitHub Development Page The script was tested in Chrome 5.0. Submit Bugs and comments to github page.]]></description>
			<content:encoded><![CDATA[<p>This is my new script. An image carousel/slideshow made in Javascript (no frameworks, HTML5 browsers).<br />
It uses the new figure, figcaption HTML5 tags, and css3 opacity, transition, text-shadow and border-radius.</p>
<p><a href="http://hackerhosting.com/carousel/demo">Demo and Code</a><br />
<a href="http://hackerhosting.com/carousel">Documentation</a><br />
<a href="http://github.com/giancarlo/carousel">GitHub Development Page</a></p>
<p>The script was tested in Chrome 5.0. Submit Bugs and comments to github page.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2010/html5-carouselslideshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt + Boost Spirit Logo Interpreter</title>
		<link>http://cpb.coaxialhost.com/2010/qt-boost-spirit-logo-interpreter/</link>
		<comments>http://cpb.coaxialhost.com/2010/qt-boost-spirit-logo-interpreter/#comments</comments>
		<pubDate>Fri, 21 May 2010 04:19:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=46</guid>
		<description><![CDATA[This is a logo interpreter i have been working on: http://code.google.com/p/qslogo/ It uses Boost.Spirit for parsing and Qt for the GUI.]]></description>
			<content:encoded><![CDATA[<p>This is a logo interpreter i have been working on:</p>
<p><a href="http://code.google.com/p/qslogo/">http://code.google.com/p/qslogo/</a></p>
<p>It uses Boost.Spirit for parsing and Qt for the GUI. </p>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2010/qt-boost-spirit-logo-interpreter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Inheritance</title>
		<link>http://cpb.coaxialhost.com/2009/javascript-inheritance/</link>
		<comments>http://cpb.coaxialhost.com/2009/javascript-inheritance/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 15:43:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cpb.coaxialhost.com/?p=41</guid>
		<description><![CDATA[Inheritance in Javascript is pretty simple. function Child(arg1, arg2) { Parent.apply(this, arguments); // .. other methods } The apply function calls the Parent function with arguments and sets this to Child&#8217;s this object. The arguments variable contains all the arguments passed to Child. (Available since Javascript 1.2). To create an instance of Child call: var [...]]]></description>
			<content:encoded><![CDATA[<p>Inheritance in Javascript is pretty simple.</p>
<pre class="brush: jscript; title: ;">
function Child(arg1, arg2)
{
    Parent.apply(this, arguments);
    // .. other methods
}
</pre>
<p>The <i>apply</i> function calls the Parent function with <i>arguments</i> and sets <i>this</i> to Child&#8217;s <i>this</i> object. The <i>arguments</i> variable contains all the arguments passed to Child. (Available since Javascript 1.2). </p>
<p>To create an instance of Child call:</p>
<pre class="brush: jscript; title: ;">
    var instance = new Child(x, y);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://cpb.coaxialhost.com/2009/javascript-inheritance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

