<?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>GraysUnderground.com &#187; Humor</title>
	<atom:link href="http://www.graysunderground.com/category/humor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.graysunderground.com</link>
	<description>Gray's Tech Blog</description>
	<lastBuildDate>Thu, 20 May 2010 17:31:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some Programmer Humor</title>
		<link>http://www.graysunderground.com/2007/12/14/some-programmer-humor/</link>
		<comments>http://www.graysunderground.com/2007/12/14/some-programmer-humor/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 19:18:42 +0000</pubDate>
		<dc:creator>Gray</dc:creator>
				<category><![CDATA[Humor]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.graysunderground.com/2007/12/14/some-programmer-humor/</guid>
		<description><![CDATA[This was sent to me by my brother. I do not in any way take responsibility or claim writing any of it. I am sure this has been passed around on the internet since the internet was conceived as a bunch of tubes.  Thats a bad attempt at humor BTW.
All credits to (unknown) original [...]]]></description>
			<content:encoded><![CDATA[<p>This was sent to me by my brother. I do not in any way take responsibility or claim writing any of it. I am sure this has been passed around on the internet since the internet was conceived as a bunch of tubes.  Thats a bad attempt at humor BTW.</p>
<p align="center"><font face="book antiqua, times new roman, times">All credits to (unknown) original author. Additions made by several others , and by myself</font></p>
<p align="center"><font face="book antiqua, times new roman, times"><big><font color="#ff0080"><big><strong><u>How to Shoot Yourself in the Foot using:</u></strong></big></font><br />
</big></font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Ada</big></strong></u></font><br />
After correctly packing your foot, you attempt to concurrently load the<br />
gun, pull the trigger, scream, and shoot yourself in the foot. When you<br />
try, however, you discover you can&#8217;t because your foot is of the wrong<br />
type.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>APL</big></strong></u></font><br />
You shoot yourself in the foot, then spend all day figuring out how to<br />
do it in fewer characters.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Access</big></strong></u></font><br />
You try to point the gun at your foot, but it shoots holes in all your<br />
Borland distribution diskettes instead.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>ActiveX</big></strong></u></font></font></p>
<p align="left"><font face="book antiqua, times new roman, times">Ole_Registration_Error: Cannot find object &#8220;ActiveFoot&#8221;,download the latest drivers.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Assembler </big></strong></u></font><br />
You try to shoot yourself in the foot, only to discover you must first<br />
invent the gun, the bullet, the trigger, and your foot.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Basic(interpreted)</big></strong></u></font><br />
You shoot yourself in the foot with a water pistol until your foot is<br />
waterlogged and rots off.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Basic(compiled) </big></strong></u></font><br />
You shoot yourself in the foot with a BB using a SCUD missile launcher.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Visual Basic</big></strong></u></font><br />
You&#8217;ll really only appear to have shot yourself in the foot, but you&#8217;ll<br />
have had so much fun doing it that you won&#8217;t care.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><strong><big><u>C</u> </big></strong></font><br />
You shoot yourself in the foot.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><u><font color="#ff0080"><strong><big>C++</big></strong></font></u><br />
You accidentally create a dozen instances of yourself and shoot them all<br />
in the foot. Providing emergency medical care is impossible since you<br />
can&#8217;t tell which are bitwise copies and which are just pointing at<br />
others and saying, &#8220;That&#8217;s me over there.&#8221;</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Cobol </big></strong></u></font><br />
USE HANDGUN.COLT(45), AIM AT LEG.FOOT, THEN WITH ARM.HAND.FINGER ON<br />
HANDGUN.COLT(TRIGGER) PERFORM.SQUEEZE RETURN HANDGUN.COLT(45) TO<br />
HIP.HOLSTER.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Concurrent Euclid</big></strong></u></font><br />
You shoot yourself in somebody else&#8217;s foot.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>dBase </big></strong></u></font><br />
You buy a gun. Bullets are only available from another company and are<br />
promised to work so you buy them. Then you find out that the next<br />
version of the gun is the one that is scheduled to actually shoot<br />
bullets.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Delphi</big></strong></u></font><br />
<font color="#000000">MyFoot := TFoot.Create( Self );<br />
Gun       := TGun.Create( .45, SOFT_NOSED_BULLETS, 6 );<br />
Gun.Aim( Self.MyFoot);<br />
while Gun.BulletsAvailable  do<br />
Gun.Shoot( Self.MyFoot ); </font></font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>FORTH</big></strong></u></font><br />
Foot in yourself shoot.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><strong><big><u>FORTRAN</u> </big></strong></font><br />
You shoot yourself in each toe, iteratively, until you run out of toes,<br />
then you read in the next foot and repeat. If you run out of bullets,<br />
you continue anyway because you have no exception handling ability.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>HTML</big></strong></u></font><br />
&lt;a target=&#8221;http://body/lower-half/leg/foot.appendage&#8221;&gt;Shoot here&lt;/a&gt;</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>HyperTalk</big></strong></u></font><br />
Put the first bullet of the gun into the foot left of leg of you. Answer<br />
the result.</font></p>
<p><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Java </big></strong></u></font><br />
The gun fires just fine, but your foot can&#8217;t figure out what the bullets<br />
are and ignores them.</font></p>
<p><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>LISP</big></strong></u></font><br />
You shoot yourself in the appendage which holds the gun with<br />
which you shoot yourself in the appendage which holds the gun with<br />
which you shoot yourself in the appendage which holds the gun with<br />
which you shoot yourself in the appendage which holds the gun with<br />
which you shoot yourself in the appendage which holds the gun with<br />
which you shoot yourself in the appendage which holds&#8230;</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Microsoft</big></strong></u></font><br />
&gt;ActiveX Object &#8220;Foot&#8221; not found.<br />
&gt;&#8221;Foot&#8221; will possibly be included in the next release.<br />
&gt;You can upgrade for $500.<br />
&gt;Press OK to Retry or Esc to cancel.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Modula2</big></strong></u></font><br />
After realizing that you can&#8217;t actually accomplish anything in this<br />
language, you shoot yourself in the head.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Motif </big></strong></u></font><br />
You spend days writing a UIL description of your foot, the trajectory,<br />
the bullet, and the intricate scrollwork on the ivory handles of the<br />
gun. When you finally get around to pulling the trigger, the gun jams.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><u><font color="#ff0080"><strong><big>NeXT</big></strong></font> </u><br />
We don&#8217;t sell guns anymore, just ammunition.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Paradox</big></strong></u></font><br />
Not only can <u>you</u> shoot yourself in your foot, your users can, too.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Pascal</big></strong></u></font><br />
The compiler won&#8217;t let you shoot yourself in the foot.</font></p>
<p><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Perl</big></strong></u></font><br />
1. You go to CPAN and download Geek, Body::Foot, Gadgets:Gun and<br />
Accesories::Bullet modules.<br />
2. Then:<br />
#!/usr/bin/perl -w<br />
use strict;<br />
use Geek;<br />
use Body::Foot;<br />
use Gadgets::Gun;<br />
use Accesories::Bullet;</font></p>
<p><font face="book antiqua, times new roman, times">my $me = Geek-&gt;getBorn($ENV{&#8216;USER&#8217;});<br />
my $foot = $me-&gt;{parts}-&gt;{feet}-&gt;[0];<br />
die &#8220;No feet (maybe both were cut off?), stopped&#8221;<br />
unless defined $foot;<br />
my $gun = ($me-&gt;{money} &gt;= Gadgets:Gun::price ? Gadgets:Gun-&gt;buy() : Gadgets:Gun-&gt;steal);<br />
my @bullets = map { Accesories::Bullet-&gt;new() } (0..5);</font></p>
<p><font face="book antiqua, times new roman, times">$gun-&gt;load(\@bullets);<br />
while ($gun-&gt;{bullets})<br />
{<br />
$gun-&gt;shoot($foot);<br />
last if $foot-&gt;shot();<br />
}<br />
print &#8220;Looser!\n&#8221; unless $foot-&gt;shot();</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>PL/1 </big></strong></u></font><br />
After consuming all system resources including bullets, the data<br />
processing department doubles its size, acquires 2 new mainframes and<br />
drops the original on your foot.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Prolog</big></strong></u></font><br />
You tell your program that you want to be shot in the foot. The program<br />
figures out how to do it, but the syntax doesn&#8217;t permit it to explain it<br />
to you.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>PHP</big></strong></u></font>  </font></font></font></p>
<p align="left"><font face="book antiqua, times new roman, times">After loading the gun you notice your foot is missing after some noob PHP programmer forgot to validate his input and now some  cross site scripting  has inflitrated and stole all your bullets.</font></p>
<p align="left"> <font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Smalltalk, Actor, et al</big></strong></u></font><br />
After playing with the graphics for 3 weeks, the programming manager<br />
shoots you in the head.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>SNOBOL</big></strong></u></font><br />
If you succeed, shoot yourself in the left foot. If you fail, shoot<br />
yourself in the right foot.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Sun</big></strong></u></font><br />
Just as soon as Solaris gets here, you can shoot yourself anywhere you<br />
want.</font></p>
<p align="left"><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Unix</big></strong></u></font><br />
% ls<br />
foot.c foot.h foot.o toe.c toe.o<br />
% rm * .o<br />
rm: .o: No such file or directory<br />
% ls<br />
%</font></p>
<p><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>XBase</big></strong></u></font><br />
Shooting yourself is no problem. If you want to shoot yourself in the<br />
foot, you&#8217;ll have to use Clipper.</font></p>
<p><font face="book antiqua, times new roman, times"><font color="#ff0080"><u><strong><big>Windows95 </big></strong></u></font><br />
&gt;shoot self in foot<br />
I don&#8217;t see any self here.</font></p>
<p><font face="book antiqua, times new roman, times">&gt;shoot me in foot<br />
There is no you in the foot.</font></p>
<p><font face="book antiqua, times new roman, times">&gt;shoot foot<br />
I don&#8217;t know which foot you&#8217;re talking about.</font></p>
<p><font face="book antiqua, times new roman, times">&gt;shoot left foot<br />
You don&#8217;t have the gun.</font></p>
<p><font face="book antiqua, times new roman, times">&gt;get gun<br />
You take the gun.<br />
You&#8217;re lantern just went out.<br />
* * * YOU HAVE DIED * * *<br />
Press OK to confirm.</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.graysunderground.com/2007/12/14/some-programmer-humor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
