<?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>CrapFlingingMonkey.com &#187; fun</title>
	<atom:link href="http://crapflingingmonkey.com/wp/tag/fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://crapflingingmonkey.com/wp</link>
	<description>Coding to the beat, yo</description>
	<lastBuildDate>Fri, 22 Jul 2011 00:39:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3-aortic-dissection</generator>
		<item>
		<title>Failed Internet April Fools Pranks</title>
		<link>http://crapflingingmonkey.com/wp/2010/04/failed-internet-april-fools-pranks/</link>
		<comments>http://crapflingingmonkey.com/wp/2010/04/failed-internet-april-fools-pranks/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 16:09:27 +0000</pubDate>
		<dc:creator>josh</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[april fools]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://crapflingingmonkey.com/wp/?p=112</guid>
		<description><![CDATA[It&#8217;s another year of the major internet holiday, and once again there&#8217;s a lot of half-assed April Fools &#8220;Pranks&#8221;. This time, however, I decided to compile a list of the ones I saw and explain why they suck.  Most are fake products.  Lots are straight-up marketing.  They&#8217;re all stupid. This is by no means a [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s another year of the major internet holiday, and once again there&#8217;s a lot of half-assed April Fools &#8220;Pranks&#8221;.  This time, however, I decided to compile a list of the ones I saw and explain why they suck.  Most are fake products.  Lots are straight-up marketing.  They&#8217;re all stupid.</p>
<p>This is by no means a comprehensive list (that would take way too long), but is just the ones I saw that made me say &#8220;lame&#8221;.</p>
<h3>What Sucks</h3>
<p>&#8220;<a href="http://techcrunch.com/2010/03/31/exclusive-google-to-go-nuclear/">Google Goes Nuclear</a>&#8221; (TechCrunch) &#8211; Google to use its own nuclear powerplants.  Nevermind that this was actually published a day early, but the idea is even stupid.  It probably had the same amount of thought as the rest of their posts &#8212; about none.</p>
<p><a href="http://www.google.com/google-d-s/promos/storage.html">&#8220;Store Anything In Google Docs&#8221;</a> (Google) - Put your apartment in Google docs.  Ok, it probably took about 2 minutes to think of the idea, another 5 to write down some &#8220;user reviews&#8221;.  There was absolutely no planning involved, and I doubt it tricked anyone.  If I wanted to read crap like this, I&#8217;d read theonion.</p>
<p><a href="http://www.thinkgeek.com/stuff/41/iCade.shtml?icpg=Carousel_iCade_1">&#8220;iCade&#8221;</a> (ThinkGeek) &#8211; While this one is actually believable, it still falls short of Fooling anyone.  Does it make anyone look stupid?  Nope, just Apple.  This &#8220;prank&#8221; was designed just to get traffic to the site (by targeting a high-profile item like the iPad), and is not clever in any way.  Props do go out to actually making an arcade and taking pictures.  Again, if I wanted crap like this, I&#8217;d read theonion.</p>
<p>&#8220;<a href="http://www.hulu.com/internal/confidential/the-initiative-chapter-1">Hulu Confidential</a>&#8221; (Hulu) &#8211; Hulu exposes their &#8220;Alien Plot&#8221;.  While the video production is quality, and it is an interesting plot, this was 100% designed by their marketing department (and it shows).  This could have been released any day of the year and nobody would have known the difference.</p>
<p>(for more check out <a href="http://aprilfoolsdayontheweb.com/">http://aprilfoolsdayontheweb.com/</a>)</p>
<h3>The Good Stuff</h3>
<p>There were a few that I actually got a good chuckle at:</p>
<p>&#8220;<a href="http://twitter.com/4chan/status/11409083836">4chan</a>&#8221; (4chan) &#8211; They just tweeted about 4chan 2.0.  This was great &#8212; what a way to poke fun at the rest of the internet.  Everyone thinks that Facebook Connect is a key to unlocking additional content, which facilitates additional revenue, etc, etc.  4chan is proof that thriving communities can and do still exist in a way that doesn&#8217;t directly correlate to revenue, and all the web 2.0&#8242;s and tight integration with social networks is complete BS.  I love it.</p>
<p>&#8220;<a href="http://www.reddit.com">Admin For A Day</a>&#8221; (reddit) &#8211; Reddit made it appear that there was a code glitch that allowed everyone to have admin rights.  This actually took some foresight and programming, and doesn&#8217;t appear to directly tie to traffic/revenue.  It&#8217;s just good old-fashioned fun.</p>
<p>&#8220;<a href="http://xkcd.com/">Command-line website</a>&#8221; (xkcd) &#8211; Browsing the site through the command-line&#8230; absolutely brilliant.</p>
<p>If it weren&#8217;t for these 3 sites, my April Fools would have been a waste.  Thanks guys.</p>
]]></content:encoded>
			<wfw:commentRss>http://crapflingingmonkey.com/wp/2010/04/failed-internet-april-fools-pranks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>April Fools Prank &#8212; Changing Images With Squid</title>
		<link>http://crapflingingmonkey.com/wp/2010/03/april-fools-prank/</link>
		<comments>http://crapflingingmonkey.com/wp/2010/03/april-fools-prank/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 21:07:10 +0000</pubDate>
		<dc:creator>josh</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[prank]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://crapflingingmonkey.com/wp/?p=90</guid>
		<description><![CDATA[Well, that time is upon us&#8230; time for April Fools.  I&#8217;m not very good at coming up with good pranks, but a friend of mine, Chris Alef, gave me a great idea: swap all the product images on Backcountry.com for pictures of our management, provided at http://www.backcountrycorp.com/corporate/section/0/aboutus_team.html. Pretty simple, and funny idea, but how do [...]]]></description>
			<content:encoded><![CDATA[<p>Well, that time is upon us&#8230; time for April Fools.  I&#8217;m not very good at coming up with good pranks, but a friend of mine, Chris Alef, gave me a great idea: swap all the product images on Backcountry.com for pictures of our management, provided at http://www.backcountrycorp.com/corporate/section/0/aboutus_team.html.</p>
<p>Pretty simple, and funny idea, but how do you make it work?  It was a lot easier than I thought.  The first idea was to use a proxy, and route all traffic from the office through the proxy.  That seemed less than ideal &#8212; if the proxy went down, so would everyones web access.  Orders would stop shipping, buyers would stop buying, and I would be in a lot of trouble.  There had to be a less risky way to do it.  Well, our images (all static content I guess) are hosted on content.backcountry.com.  Limited to a single domain, eh?  We have an internal DNS, so if we could get content.backcountry.com to just be a proxy, changing only a few images, we could just update the dns to use the proxy.  Brilliant!</p>
<p>I started up an EC2 instance of Ubuntu, installed squid, and started configuring it.  I followed relatively the same pattern as the <a href="http://www.ex-parrot.com/pete/upside-down-ternet.html">Upside-Down-Ternet</a>, using a redirector.  In all, these are the configs I changed/used in /etc/squid/squid.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="conf" style="font-family:monospace;">redirect_children 20
http_access2 allow all
http_port 80 accel defaultsite=content.backcountry.com vport=80
cache_peer content.backcountry.com parent 80 0 no-query originserver</pre></div></div>

<p>where <strong>content.backcountry.com </strong>is the origin server (what to proxy), and /tmp/test.pl is the redirector.  Without the redirector, this would be a completely transparent proxy to static content.  Now, the redirector code:</p>

<div class="wp_syntax"><div class="code"><pre class="perl perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
&nbsp;
<span style="color: #0000ff;">$|</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span>;
&nbsp;
<span style="color: #0000ff;">@images</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2131.jpg'</span><span style="color: #339933;">,</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2132.jpg'</span><span style="color: #339933;">,</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2133.jpg'</span><span style="color: #339933;">,</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2135.jpg'</span><span style="color: #339933;">,</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2129.jpg'</span><span style="color: #339933;">,</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2134.jpg'</span><span style="color: #339933;">,</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2130.jpg'</span><span style="color: #339933;">,</span>
  <span style="">'http://www.backcountrycorp.com/images/newsletter/2231.jpg'</span><span style="color: #339933;">,</span>
<span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>lt;&amp;gt;<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$tmp</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$_</span>;
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$tmp</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">/images\/items\/medium/</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">print</span> <span style="color: #0000ff;">$images</span><span style="color: #009900;">&#91;</span><span style="color: #000066;">int</span> <span style="color: #000066;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #000066;">scalar</span> <span style="color: #0000ff;">@images</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> . <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">print</span> <span style="color: #0000ff;">$tmp</span>;
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Restart squid, and done!  Now just test it by updating your /etc/hosts to add the ip of the proxy and content.backcountry.com.  Behold, the result:</p>
<div id="attachment_105" class="wp-caption alignleft" style="width: 310px"><a href="http://crapflingingmonkey.com/wp/wp-content/uploads/2010/03/00000019.png"><img class="size-medium wp-image-105" title="April Fools Prank" src="http://crapflingingmonkey.com/wp/wp-content/uploads/2010/03/00000019-300x197.png" alt="Jill looks good, doesn't she?" width="300" height="197" /></a><p class="wp-caption-text">Jill looks good, doesn&#39;t she?</p></div>
<p>I ended up not doing it.  I really didn&#8217;t feel it was worth losing my job by messing up.  If I could have found a better way to do it than updating the DNS, even the internal one, I would have done it.  But it was just too risky at my company.  Oh well, now you all know how to do it <img src='http://crapflingingmonkey.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://crapflingingmonkey.com/wp/2010/03/april-fools-prank/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

