<?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>Codeulate. &#187; humor</title>
	<atom:link href="http://codeulate.com/category/humor/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeulate.com</link>
	<description></description>
	<lastBuildDate>Mon, 03 Oct 2011 04:12:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>F*cking programming</title>
		<link>http://codeulate.com/2007/12/fcking-programming/</link>
		<comments>http://codeulate.com/2007/12/fcking-programming/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 15:44:11 +0000</pubDate>
		<dc:creator>Ben Orenstein</dc:creator>
				<category><![CDATA[humor]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://codeulate.com/?p=7</guid>
		<description><![CDATA[Yesterday I stumbled onto a delightful tool from Google Labs: Code Search. Turns out Google is now crawling through source code. The GoogleBot, in its never-ending quest for sentience, searches inside tars, zips, and even dives into CVS and Subversion repositories. As Code Search is targeted at programmers, you can perform fantastically powerful queries using [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I stumbled onto a delightful tool from <a href="http://labs.google.com/">Google Labs</a>:  <a href="http://www.google.com/codesearch">Code Search</a>.</p>
<p>Turns out Google is now crawling through source code.  The <a href="http://en.wikipedia.org/wiki/Googlebot">GoogleBot</a>, in its never-ending quest for sentience, searches inside tars, zips, and even dives into <a href="http://en.wikipedia.org/wiki/Concurrent_Versions_System">CVS</a> and <a href="http://subversion.tigris.org/">Subversion</a> repositories.  As Code Search is targeted at programmers, you can perform fantastically powerful queries using POSIX extended <a href="http://en.wikipedia.org/wiki/Regular_expression">regular expressions</a>.</p>
<p>Granted access to billions of lines of code and the awesome power of Google&#8217;s search technology, I did what any <a href="http://dictionary.reference.com/browse/silly">rational</a>, <a href="http://dictionary.reference.com/browse/immature">thinking</a> programmer would do: I typed in some profanity and hit enter.</p>
<p>In tribute to the valiant struggles of coders everywhere, please enjoy:</p>
<p><strong>The best in programming profanity</strong></p>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:akSuG5-16O8:bps1f-3w-lk:5erYlAtyva0&amp;sa=N&amp;cd=26&amp;ct=rc&amp;cs_p=ftp://sourceware.org/pub/gdb/snapshots/current/gdb-6.4.50.20060515.tar.bz2&amp;cs_f=gdb-6.4.50.20060515/bfd/coffcode.h#first">/*   We will NOT put a fucking timestamp in the header here.<br />
Every time you put it back, I will come in and take it out again.<br />
I&#8217;m sorry.  This field does not belong here.  We fill it with a 0 so<br />
it compares the same but is not a reasonable time. */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:NjaYpUjyIUM:h4-qRFMqymo:-bdFdG52GJY&amp;sa=N&amp;cd=19&amp;ct=rc&amp;cs_p=http://www.angstrom-distribution.org/unstable/sources/trunk_svn.tinymail.org_.svn.tinymail.__20061113.tar.gz&amp;cs_f=trunk/libtinymailui-mozembed/tny-moz-embed-stream.c#first">/* Dear free software world, do you NOW see we are fucking<br />
things up?! This is insane! */<br />
</a></p></blockquote>
<blockquote><p><a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:T_fbvS1HUss:3BJvFf4e_sQ:YTJYjZJDoOA&amp;sa=N&amp;cd=3&amp;ct=rc&amp;cs_p=http://www.cpan.org/modules/by-module/Template/Siesta-0.66.tar.gz&amp;cs_f=Siesta-0.66/lib/Siesta/Plugin/Moderated.pm#first"># This job would be great if it wasn&#8217;t for the fucking customers.<br />
</a></p></blockquote>
<blockquote><p><a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:hw4kJawooFE:sOaU6bySqSo:dl1IJ6xVOVo&amp;sa=N&amp;cd=30&amp;ct=rc&amp;cs_p=http://ftp.gnu.org/pub/gnu/metahtml/metahtml-5.07.tar.gz&amp;cs_f=metahtml-5.07/libserver/http.c#first">/* Boy, would I like to make the thing expire one second ago, or what? Of course I would.  But that slimy, stinking, load of pig manure that is called Netscape/1.1N doesn&#8217;t pay any attention to the seconds part of the time&#8230; after all, what&#8217;s a second or two amongst friends?  So, I thought to make it expire one minute ago, but naturally, that didn&#8217;t work on 1.1N either.  Losers.  So, I made it expire 24 hours ago, which, if you ask me, is most heinous, considering the Last-Modified date could be later than that.  I fucking hate you, you monopolizing piece of Netscape feces. */<br />
</a></p></blockquote>
<blockquote><p><a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:aZElO8f_gUE:yshVl7DkNoU:QdJ6ptiWqRw&amp;sa=N&amp;cd=35&amp;ct=rc&amp;cs_p=http://www.cpan.org/modules/by-module/CGI/CGI-FormBuilder-3.0202.tar.gz&amp;cs_f=CGI-FormBuilder-3.0202/lib/CGI/FormBuilder/Field.pm#first"></a><a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:aZElO8f_gUE:yshVl7DkNoU:QdJ6ptiWqRw&amp;sa=N&amp;cd=35&amp;ct=rc&amp;cs_p=http://www.cpan.org/modules/by-module/CGI/CGI-FormBuilder-3.0202.tar.gz&amp;cs_f=CGI-FormBuilder-3.0202/lib/CGI/FormBuilder/Field.pm#first"># However, this only works if there are MULTIPLE checkboxes!</a><br />
<a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:aZElO8f_gUE:yshVl7DkNoU:QdJ6ptiWqRw&amp;sa=N&amp;cd=35&amp;ct=rc&amp;cs_p=http://www.cpan.org/modules/by-module/CGI/CGI-FormBuilder-3.0202.tar.gz&amp;cs_f=CGI-FormBuilder-3.0202/lib/CGI/FormBuilder/Field.pm#first"># The fucking JS DOM *changes* based on one or multiple boxes!?!?!</a><br />
<a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:aZElO8f_gUE:yshVl7DkNoU:QdJ6ptiWqRw&amp;sa=N&amp;cd=35&amp;ct=rc&amp;cs_p=http://www.cpan.org/modules/by-module/CGI/CGI-FormBuilder-3.0202.tar.gz&amp;cs_f=CGI-FormBuilder-3.0202/lib/CGI/FormBuilder/Field.pm#first"># Damn damn damn I hate the JavaScript DOM so damn much!!!!!!<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:9D7DVbOVZVQ:Zir85D4MHYs:YU1GFHqjILQ&amp;sa=N&amp;cd=44&amp;ct=rc&amp;cs_p=ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/DJabberd-0.81.tar.gz&amp;cs_f=DJabberd-0.81/lib/DJabberd/IQ.pm#first"># Trillian, again, is fucking stupid and crashes on just<br />
# about anything its homemade XML parser doesn&#8217;t like.<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:kuE7Xr4RKB4:SfS_p7OMdLI:gcGLPd_dcOo&amp;sa=N&amp;cd=45&amp;ct=rc&amp;cs_p=http://ftp.osuosl.org/pub/nslu2/sources/gift-0.11.5.tar.bz2&amp;cs_f=gift-0.11.5/lib/list_lock.c#first">/* TODO: this is obviously not right &#8230; this whole fucking module sucks anyway */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:oe64fhJVHeQ:Wi8E3K-toXE:q521ksZa-MI&amp;sa=N&amp;cd=46&amp;ct=rc&amp;cs_p=http://examples.oreilly.com/learningjvscpt/examples.tar.gz&amp;cs_f=ljexamples/dojo/src/hostenv_adobesvg.js#first">// gratuitous hack for Adobe SVG 3, what a fucking POS<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:0yQtyIpu_6A:aZlKdD5qAYA:pE3phTjh5Hk&amp;sa=N&amp;cd=47&amp;ct=rc&amp;cs_p=https://www.blackhat.com/presentations/bh-asia-03/bh-asia-03-grugq/bh-asia-03-grugq.zip&amp;cs_f=bh-asia-03-grugq/ul_exec/ul_exec.c#first">/* if we get here, there are massive fucking problems, for a start our stack is fucked up, and we can&#8217;t return(). Just crash out. */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:66a7ElkKbNk:Qfbei-mwK3Y:UnLehldCdA0&amp;sa=N&amp;cd=60&amp;ct=rc&amp;cs_p=http://www.angstrom-distribution.org/unstable/sources/trunk_svn.tinymail.org_.svn.tinymail.__20070307.tar.gz&amp;cs_f=trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c#first">/* FIXME: please god, when will the hurting stop? Thus function is so<br />
fucking broken it&#8217;s not even funny. */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+toshok+why+oh+show:z_fzpvi7zww:q0bwIEnZ-OU:6SBoqMgTqoM&amp;sa=N&amp;cd=1&amp;ct=rc&amp;cs_p=http://ftp.gnome.org/pub/gnome/sources/evolution/2.4/evolution-2.4.2.tar.gz&amp;cs_f=evolution-2.4.2/smime/lib/e-cert-db.c#first">/* XXX toshok why oh *why* god WHY did they do this?  no fucking<br />
sense */</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:jgwgo0NL84A:5aqEwxfMmTs:o--QCtEg_tM&amp;sa=N&amp;cd=85&amp;ct=rc&amp;cs_p=http://gentoo.osuosl.org/distfiles/SQL-Abstract-1.20.tar.gz&amp;cs_f=SQL-Abstract-1.20/t/03values.t#first"># Note to self: I have no idea what this does anymore<br />
# It looks like a cool fucking segment of code though!<br />
# I just wish I remembered writing it&#8230; :-\<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:qOvH_M-5dL0:iYOfzejGnhk:DNMhT_bGQrY&amp;sa=N&amp;cd=108&amp;ct=rc&amp;cs_p=http://www.sugarforge.org/frs/download.php/2408/SugarOS-for-Microsoft-4.5.0h.zip&amp;cs_f=SugarOS-for-Microsoft-Full-4.5.0h/modules/InboundEmail/InboundEmail.php#first">/*   Outlook can&#8217;t fucking follow RFC if someone PAID them to do it&#8230;<br />
oh wait, someone paid them NOT to do it. */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:6oNsqmqPqo4:bVXWmRRRAZo:MkG3U2H98s8&amp;sa=N&amp;cd=152&amp;ct=rc&amp;cs_p=http://www.hoobie.net/security/exploits/hacking/mendax_linux.tgz&amp;cs_f=main.c#first">/* don&#8217;t fire dem packets too fucking fast */<br />
usleep(1000);<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:jlJxLk-5mUQ:Hvvm96O1pI8:jPEnkgRLjJk&amp;sa=N&amp;cd=227&amp;ct=rc&amp;cs_p=http://rubyforge.org/frs/download.php/16048/sup-0.0.3.tgz&amp;cs_f=sup-0.0.3/lib/sup/imap.rb#first">## fucking imap fucking sucks. what the FUCK kind of committee of<br />
## dunces designed this shit.<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:RtBU6Lu5r-A:Ks9NwvmUjJ0:e6WXZ-x5UM8&amp;sa=N&amp;cd=266&amp;ct=rc&amp;cs_p=http://x.cybermirror.org/R5contrib/xbiff.tar.Z&amp;cs_f=SSMailbox.c#first">Fuck me gently with a chainsaw!  Will someone please tell me how the fuck you resize a fucking widget??  Why, when I call whatever resize method I try with 64&#215;64 does the fucking window end up 64&#215;82?  WHY???????? WHY????????  WHY????????  WHY????????  WHY????????  WHY????????  (why..?)<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:5h3c1M_pWGs:3tWhy5n3O0o:04I2pDNg1_k&amp;sa=N&amp;cd=273&amp;ct=rc&amp;cs_p=http://downloads.sourceforge.net/afterstep/AfterStep-2.2.5.tar.bz2&amp;cs_f=AfterStep-2.2.5/libAfterStep/asdatabase.c#first">/* No we fucking don&#8217;t! DB entries should be stored in the same order<br />
as they are in the file ! I can&#8217;t belive I was so fucking stupid !<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:zP8kqT8zv30:p6EMRriSUgQ:ZgAmeZaYiUY&amp;sa=N&amp;cd=309&amp;ct=rc&amp;cs_p=http://belnet.dl.sourceforge.net/sourceforge/freenet/freenet-0.5.1.src.tar.bz2&amp;cs_f=freenet-0.5.1-source/Contrib/pyFreenet/freenet.py#first"># no, no, no, no, no, no, no, no<br />
# no.  fuck no.  I am a fucking<br />
# moron.<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:KItMVE4W5kw:5rMvMeEHb1I:ZYP5W7fHaPY&amp;sa=N&amp;cd=336&amp;ct=rc&amp;cs_p=http://rubyforge.org/frs/download.php/16149/sup-0.0.5.tgz&amp;cs_f=sup-0.0.5/lib/sup/buffer.rb#first"></a><a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:KItMVE4W5kw:5rMvMeEHb1I:ZYP5W7fHaPY&amp;sa=N&amp;cd=336&amp;ct=rc&amp;cs_p=http://rubyforge.org/frs/download.php/16149/sup-0.0.5.tgz&amp;cs_f=sup-0.0.5/lib/sup/buffer.rb#first">## aaahhh, user input. who would have though that such a simple<br />
## idea would be SO FUCKING COMPLICATED?! because apparently<br />
## Ncurses.getch (and Curses.getch), even in cbreak mode, BLOCKS<br />
## ALL THREAD ACTIVITY. as in, no threads anywhere will run while<br />
## it&#8217;s waiting for input. ok, fine, so we wrap it in a select. Of<br />
## course we also rely on Ncurses.getch to tell us when an xterm<br />
## resize has occurred, which select won&#8217;t catch, so we won&#8217;t<br />
## resize outselves after a sigwinch until the user hits a key.<br />
## and installing our own sigwinch handler means that the screen<br />
## size returned by getmaxyx() DOESN&#8217;T UPDATE! and Kernel#trap<br />
## RETURNS NIL as the previous handler!<br />
##<br />
## so basically, resizing with multi-threaded ruby Ncurses<br />
## applications will always be broken.<br />
##<br />
## i&#8217;ve coined a new word for this: lametarded.<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+shit+show:OJlcl4CfRWo:9EIJAqgQwwQ:66Keh5ijjtA&amp;sa=N&amp;cd=2&amp;ct=rc&amp;cs_p=http://kernel.org/pub/linux/kernel/v2.4/linux-2.4.34.1.tar.bz2&amp;cs_f=linux-2.4.34.1/arch/sparc/lib/checksum.S#first">/* Sun, you just can&#8217;t beat me, you just can&#8217;t.  Stop trying,<br />
* give up.  I&#8217;m serious, I am going to kick the living shit<br />
* out of you, game over, lights out. */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+shit+show:OJlcl4CfRWo:9EIJAqgQwwQ:66Keh5ijjtA&amp;sa=N&amp;cd=2&amp;ct=rc&amp;cs_p=http://kernel.org/pub/linux/kernel/v2.4/linux-2.4.34.1.tar.bz2&amp;cs_f=linux-2.4.34.1/arch/sparc/lib/checksum.S#first">/* Holy shit, we just updated more than one row!<br />
What do we do now? */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+shit+show:OJlcl4CfRWo:9EIJAqgQwwQ:66Keh5ijjtA&amp;sa=N&amp;cd=2&amp;ct=rc&amp;cs_p=http://kernel.org/pub/linux/kernel/v2.4/linux-2.4.34.1.tar.bz2&amp;cs_f=linux-2.4.34.1/arch/sparc/lib/checksum.S#first">/* 2,191 lines of complete and utter shit coming up&#8230; */<br />
</a></p></blockquote>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+shit+show:yNpNrvgKhbM:VQ1VFogQbm4:RtFWypvZEP4&amp;sa=N&amp;cd=84&amp;ct=rc&amp;cs_p=http://freshmeat.net/redir/nfs-utils/20699/url_tgz/nfs-utils-1.0.12.tar.gz&amp;cs_f=nfs-utils-1.1.0/utils/statd/misc.c#first">if (!(ptr = malloc (size)))<br />
/* SHIT!  SHIT!  SHIT! */<br />
die (&#8220;malloc failed&#8221;);<br />
</a></p></blockquote>
<p>And my personal favorite:</p>
<blockquote><p> <a href="http://www.google.com/codesearch?hl=en&amp;q=+fucking+show:x2qowZdz4eY:ecSpiLoD4sA:Ma_HyqqpGT4&amp;sa=N&amp;cd=99&amp;ct=rc&amp;cs_p=http://prdownloads.sourceforge.net/mojomail/dada-2_10_12.tar.gz&amp;cs_f=dada/DADA/MailingList/Archives.pm#first"># code below replaces code above &#8211; any problems?<br />
# yeah, it doesn&#8217;t fucking work.<br />
</a></p></blockquote>
<p>(Links are to the original sources)</p>
<p>Stay tough out there guys.  Happy Monday.</p>
]]></content:encoded>
			<wfw:commentRss>http://codeulate.com/2007/12/fcking-programming/feed/</wfw:commentRss>
		<slash:comments>122</slash:comments>
		</item>
	</channel>
</rss>

