<?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>jathanism &#187; crack</title>
	<atom:link href="http://jathan.com/tag/crack/feed/" rel="self" type="application/rss+xml" />
	<link>http://jathan.com</link>
	<description>computers, robots, and other cool things.</description>
	<lastBuildDate>Fri, 28 May 2010 21:14:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>More Dongs on a Friday.  Surprise!!</title>
		<link>http://jathan.com/2009/10/16/more-dongs-on-a-friday/</link>
		<comments>http://jathan.com/2009/10/16/more-dongs-on-a-friday/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 16:45:54 +0000</pubDate>
		<dc:creator>jathan</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[blue dongs]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[crack]]></category>
		<category><![CDATA[dongs]]></category>
		<category><![CDATA[friday]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://jathan.com/?p=221</guid>
		<description><![CDATA[Due to popular demand, mkdong has been modularized!!  I present to you dong.py version 0.0.1. Enjoy: #!/usr/bin/env python ''' MKdong turned into a module. I think I was smoking crack and/or high on Red Bull this day. Dong goes into underpants Dong goes into boxers Dong goes into vagina Sperm comes out of dong Sperm [...]]]></description>
			<content:encoded><![CDATA[<p>Due to popular demand, mkdong has been modularized!!  I present to you dong.py version 0.0.1.</p>

<p>Enjoy:
<pre class="brush:py">#!/usr/bin/env python</pre></p>

<p>'''
MKdong turned into a module.  I think I was smoking crack and/or high on Red Bull this day.</p>

<p>Dong goes into underpants
Dong goes into boxers
Dong goes into vagina
Sperm comes out of dong
Sperm goes into vagina
Sperm goes into egg
Dong goes into mouth
Pee comes out of dong
Pee goes into toilet
Why am I iterating this crap?
'''</p>

<p>import os, sys</p>

<p>blue = '&#92;&#92;e[0;34m' # blue</p>

<p>class Dong:</p>

<pre><code>def __init__(self, maxlen=40, color=blue):
    self.maxlen = maxlen
    self.color  = color
    self.dong   = None

def mkdong(self):
    self.dong = '(_)/(_)'
    for i in range(self.maxlen): self.dong += '/'
    self.dong += 'D'
    os.system('echo -e "%s%s"' % (self.color, self.dong))
</code></pre>

<p>class Sperm(Dong):
    def <strong>init</strong>(self, count=500):
        self.count = count
        self.spermcount()
        Dong.<strong>init</strong>(self)</p>

<pre><code>def __repr__(self):
    return '' % self.count

def tighty_whities(self):
    print 'Tighty Whities lowered your sperm count!'
    self.count -= 50

def boxers(self):
    print 'Boxers raised your sperm count!'
    self.count += 50

def spermcount(self):
    print 'Sperm count is %d' % self.count

def bike_seat(self):
    print 'asdjfoisadjs'
    pass

def radiation(self):
    print ':-x'
    pass

def castration(self):
    print ':('
    pass

def smoke(self):
    print 'awwww yeahhhhh.'
    pass
</code></pre>

<p>class Egg(Sperm):
    pass</p>

<p>if <strong>name</strong> == '<strong>main</strong>':</p>

<pre><code>try:
    donglen = int(sys.argv[1])
except:
    print "usage: mkdong "
    sys.exit()

if donglen &amp;gt; maxlen:
    print 'warning: a %s" dong is too big! cannot be longer than %s"!' % (donglen, maxlen)
    sys.exit()
else:
    d = dong(donglen)
    d.mkdong()&lt;/pre&gt;
</code></pre>

<p>There&#8217;s really no excuse.  I should be ashamed of myself but I&#8217;m not.  </p>
]]></content:encoded>
			<wfw:commentRss>http://jathan.com/2009/10/16/more-dongs-on-a-friday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
