<?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"
	>

<channel>
	<title>Web 3.0, 6 Bladed Razors, 7 Minute Abs &#187; Humor</title>
	<atom:link href="http://www.zachleat.com/web/category/humor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zachleat.com/web</link>
	<description></description>
	<pubDate>Thu, 21 Aug 2008 06:02:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Surnamespacing</title>
		<link>http://www.zachleat.com/web/2008/05/07/surnamespacing/</link>
		<comments>http://www.zachleat.com/web/2008/05/07/surnamespacing/#comments</comments>
		<pubDate>Thu, 08 May 2008 01:30:31 +0000</pubDate>
		<dc:creator>Zach Leatherman</dc:creator>
		
		<category><![CDATA[Humor]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.zachleat.com/web/?p=133</guid>
		<description><![CDATA[Everyone has a library.  Everyone has their own utility classes and functions they're using in their own personal and contracted projects.  And now that everyone has a blog too, they're all releasing their libraries as open source, using the commando underoo philosophy of wild, free, and unrestricted naming schemes for their code.  Not anymore.  Let's surnamespace.]]></description>
			<content:encoded><![CDATA[<p>Everyone has a library.  Everyone has their own utility classes and functions they're using in their own personal and contracted projects.  And now that everyone has a blog too, they're all releasing their libraries as open source, using the commando underoo philosophy of wild, free, and unrestricted naming schemes for their code.  Not anymore.  Let's surnamespace.</p>
<p>What does surnamespacing give me?</p>
<ul>
<li><strong>Accountability</strong>: Your code is directly linked to your family honor.  You'd be surprised how hard people work at test cases and increased code coverage when the respect of their lineage is at stake.</li>
<li><strong>Connect</strong> with your Extended Family: Connect with programmers sharing your namespace, your family is now your development team.</li>
<li><strong>Minimize Collisons</strong>: The ball and chain associated with an imposed naming scheme means that we won't have everyone using foo and bar to hold their code, unless you're the lucky son of a bitch that has inherited that top notch surnamespace real estate.</li>
<li><strong>Faster</strong> Initial Development Cycle: Sometimes naming your library is the hardest part.  Skip this step and just surnamespace it.</li>
<p>Jesus Christ, please show me some examples:</p>
<p><strong>JavaScript Surnamespacing</strong></p>
<div class="syntax_hilite">
<div id="javascript-1">
<div class="javascript"><span style="color: #003366; font-weight: bold;">var</span> Christ = <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; Jesus: <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; walkOn: <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>obj<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; turn: <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>from, to<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; respawn: <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span>;<br />
<span style="color: #009900; font-style: italic;">// Sample Usage</span><br />
Christ.<span style="color: #006600;">Jesus</span>.<span style="color: #006600;">walkOn</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'water'</span><span style="color: #66cc66;">&#41;</span>;<br />
Christ.<span style="color: #006600;">Jesus</span>.<span style="color: #006600;">turn</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'water'</span>, <span style="color: #3366CC;">'wine'</span><span style="color: #66cc66;">&#41;</span>;<br />
Christ.<span style="color: #006600;">Jesus</span>.<span style="color: #006600;">respawn</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</div>
</div>
<p></p>
<p><strong>Java Surnamespacing</strong></p>
<div class="syntax_hilite">
<div id="java-2">
<div class="java">package Christ;<br />
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Jesus <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> walkOn<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> s<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> turn<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> from, <a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> to<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> respawn<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span></div>
</div>
</div>
<p></p>
<p><strong>PHP 6 Surnamespacing (<a href="http://php.net/~derick/meeting-notes.html">projected usage</a>)</strong></p>
<div class="syntax_hilite">
<div id="php-3">
<div class="php">namespace Christ <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">class</span> Jesus <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> walkOn<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$obj</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> turn<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$from</span>, <span style="color:#0000FF;">$to</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> respawn<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><br />
<span style="color:#006600; font-weight:bold;">&#125;</span></div>
</div>
</div>
<p></p>
<p><strong>Update</strong>: Apparently I can't write Java code.  Don't tell work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zachleat.com/web/2008/05/07/surnamespacing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OMG SOA</title>
		<link>http://www.zachleat.com/web/2007/03/12/omg-soa/</link>
		<comments>http://www.zachleat.com/web/2007/03/12/omg-soa/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 02:20:43 +0000</pubDate>
		<dc:creator>Zach Leatherman</dc:creator>
		
		<category><![CDATA[Humor]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[SOA]]></category>

		<category><![CDATA[SOAP]]></category>

		<guid isPermaLink="false">http://www.zachleat.com/web/2007/03/12/omg-soa/</guid>
		<description><![CDATA[In today's Web 2.0 world of ultimate abstraction, you don't need to be bothered with the rudimentary low level programming functions of everyday languages.  Client Side implementation of JavaScript functions across the browser landscape is unreliable at best, so why should you trust it for anything?  So using forward thinking and futureproof compatibility [...]]]></description>
			<content:encoded><![CDATA[<p>In today's Web 2.0 world of <strong>ultimate abstraction</strong>, you don't need to be bothered with the rudimentary low level programming functions of everyday languages.  Client Side implementation of JavaScript functions across the browser landscape is unreliable at best, so why should you trust it for anything?  So using forward thinking and futureproof compatibility design, naturally we will turn to the next great phase of web's evolutionary growth, the Service Oriented Architecture (SOA).  Using SOAP envelopes to package our function calls, I will now demo what is certainly to be the future of web development, and maybe, all programming endeavors.  I call it: <strong>OMG SOA</strong>.</p>
<div style="text-align: center; background: #fff"><a href='http://h-master.net/web2.0/index.php' title='OMG SOA'><img src='http://www.zachleat.com/web/wp-content/uploads/2007/03/reflectomg-soabeta.png' alt='OMG SOA' /></a></div>
<p>Are you programming a for loop?  How do you know that the client will increment your integers through the loop correctly?  That's why you need to call our <strong>Incrementer Web Service</strong> to increment your loop counter.</p>
<p><em>Sample Service Calls</em>:<br />
Increment 0: <a href="http://www.zachleat.com/Projects/SOA/index.php/incrementer/0">http://www.zachleat.com/Projects/SOA/index.php/incrementer/0</a><br />
Increment 3920: <a href="http://www.zachleat.com/Projects/SOA/index.php/incrementer/3920">http://www.zachleat.com/Projects/SOA/index.php/incrementer/3920</a><br />
Increment 98: <a href="http://www.zachleat.com/Projects/SOA/index.php/incrementer/98">http://www.zachleat.com/Projects/SOA/index.php/incrementer/98</a></p>
<p>Are you programming an array that needs to be magically combined into a string?  Do you think you can reliably count on Internet Explorer to perform the function in the same way as your Firefox's, or your Opera's, or even your (God Forbid) Safari's???  No, dare I say it, no.</p>
<p>But don't fear.  We are here to comfort your pain, with a shot in the arm of standarditity.  Welcome the <strong>String Concatenation Web Service</strong>.</p>
<p><em>Sample Service Call</em>:<br />
Concatenate string1 with string2 with string3: <a href="http://www.zachleat.com/Projects/SOA/index.php/concat/string1/string2/string3/">http://www.zachleat.com/Projects/SOA/index.php/concat/string1/string2/string3/</a></p>
<p>And finally, are you feeling lost in this sea of amorphous web technologies mixing and mashing together to form the gelatinous blob of money and media whores we know as Web 2.0?  Don't worry, OMG SOA is here for you again to solve all of your identity crisis problems.  Ask our <strong>Are you Web 2.0 Web Service</strong> with your URL and the magic 8 ball service will answer your question.</p>
<p><em>Sample Service Call</em>:<br />
Is www.zachleat.com Web 2.0? <a href="http://www.zachleat.com/Projects/SOA/index.php/am-i-web-2.0/www.zachleat.com/">http://www.zachleat.com/Projects/SOA/index.php/am-i-web-2.0/www.zachleat.com/</a></p>
<p>Technorati Tags: <a href="http://technorati.com/tag/soa" rel="tag">soa</a>, <a href="http://technorati.com/tag/soap" rel="tag"> soap</a>, <a href="http://technorati.com/tag/web+2.0" rel="tag"> web 2.0</a></p>
<p><strong>Update</strong>: apparently there is already a company called the Object Management Group with a <a href="http://soa.omg.org/">website about SOA</a>.  Whoops?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zachleat.com/web/2007/03/12/omg-soa/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
