<?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>code candies - codecandies.com &#187; It´s not a bug &#8211; It´s a feature</title>
	<atom:link href="http://www.codecandies.com/category/its-not-a-bug-its-a-feature/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codecandies.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jan 2012 20:19:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>getSort</title>
		<link>http://www.codecandies.com/2011/02/16/getsort/</link>
		<comments>http://www.codecandies.com/2011/02/16/getsort/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 20:15:13 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[DokuWiki]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=2166</guid>
		<description><![CDATA[Thanks to Keenora for this code candy: function getSort() { &#160; // class &#8220;Doku_Parser_Mode_code&#8221; returns 200 &#160; return 194; } Software: DokuWiki Programming language: PHP Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Thanks to Keenora for this code candy:</p>
<blockquote><p>
function getSort() {<br />
&nbsp; // class &#8220;Doku_Parser_Mode_code&#8221; returns 200<br />
&nbsp;  return 194;<br />
}
</p></blockquote>
<p><strong>Software:</strong> <a href="http://www.dokuwiki.org/plugin:code" target="_blank">DokuWiki</a><br />
<strong>Programming language:</strong> PHP</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2011/02/16/getsort/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2011%2F02%2F16%2Fgetsort%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton2166" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2011%2F02%2F16%2Fgetsort%2F&amp;via=codecandiescom&amp;text=getSort&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2011%2F02%2F16%2Fgetsort%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2011/02/16/getsort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strictly for testing</title>
		<link>http://www.codecandies.com/2010/10/05/strictly-for-testing/</link>
		<comments>http://www.codecandies.com/2010/10/05/strictly-for-testing/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 18:57:31 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[backdoor]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=2079</guid>
		<description><![CDATA[# Accessor method. Boy this one sucks. This is a backdoor # value. If this is set then any user matching this ID will # be successfully authenticated. Why? Strictly for testing. # NEVER, EVER SET THIS VALUE UNLESS YOU KNOW WHAT THE F*CK # YOU ARE DOING. Source: Direct link to the source code [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
# Accessor method.  Boy this one sucks.  This is a backdoor<br />
# value.  If this is set then any user matching this ID will<br />
# be successfully authenticated.  Why?  Strictly for testing.<br />
# NEVER, EVER SET THIS VALUE UNLESS YOU KNOW WHAT THE F*CK<br />
# YOU ARE DOING.
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#S67yNHIE_f4/authors/id/J/JE/JEFF/CGISession.tar.gz|jv2h4hfe0dY/CGI/Session/Session.pm&#038;l=943" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> CGI::Session<br />
<strong>Programming language:</strong> Perl</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2010/10/05/strictly-for-testing/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2010%2F10%2F05%2Fstrictly-for-testing%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton2079" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2010%2F10%2F05%2Fstrictly-for-testing%2F&amp;via=codecandiescom&amp;text=Strictly%20for%20testing&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2010%2F10%2F05%2Fstrictly-for-testing%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/10/05/strictly-for-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is cheating</title>
		<link>http://www.codecandies.com/2010/05/04/this-is-cheating/</link>
		<comments>http://www.codecandies.com/2010/05/04/this-is-cheating/#comments</comments>
		<pubDate>Tue, 04 May 2010 04:35:57 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1922</guid>
		<description><![CDATA[/* This is cheating, hehehe. We declare &#160;* the user has a 4 button joy to read &#160;* the 3rd and 4th button. Maybe the &#160;* user doesn&#8217;t have one, but hey, then &#160;* he won&#8217;t notice we are cheating ;) &#160;*/ Source: Direct link to the source code Programming language: C Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* This is cheating, hehehe. We declare<br />
&nbsp;* the user has a 4 button joy to read<br />
&nbsp;* the 3rd and 4th button. Maybe the<br />
&nbsp;* user doesn&#8217;t have one, but hey, then<br />
&nbsp;* he won&#8217;t notice we are cheating ;)<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#aivgwOHmhBo/mirror/pub/misc/alleg30.zip|YqUiaQqQx6s/allegro/examples/ex27.c&#038;l=48" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> C</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2010/05/04/this-is-cheating/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2010%2F05%2F04%2Fthis-is-cheating%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton1922" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2010%2F05%2F04%2Fthis-is-cheating%2F&amp;via=codecandiescom&amp;text=This%20is%20cheating&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2010%2F05%2F04%2Fthis-is-cheating%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/05/04/this-is-cheating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This function may be called recursively</title>
		<link>http://www.codecandies.com/2010/01/25/this-function-may-be-called-recursively/</link>
		<comments>http://www.codecandies.com/2010/01/25/this-function-may-be-called-recursively/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 05:28:47 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[gift]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1480</guid>
		<description><![CDATA[/* &#160;* This function may be called recursively if you don&#8217;t do &#160;* what giFT expects of you. This is a feature, not a bug, &#160;* trust me. &#160;*/ Source: Direct link to the source code Software: giFT Programming language: C Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/*<br />
&nbsp;* This function may be called recursively if you don&#8217;t do<br />
&nbsp;* what giFT expects of you. This is a feature, not a bug,<br />
&nbsp;* trust me.<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de&#038;sa=N&#038;cd=28&#038;ct=rc#JQxzORo5CpM/giFT/OpenFT/ft_xfer.c&#038;l=350" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://gift.sourceforge.net/" target="_blank">giFT</a><br />
<strong>Programming language:</strong> C</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2010/01/25/this-function-may-be-called-recursively/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2010%2F01%2F25%2Fthis-function-may-be-called-recursively%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton1480" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2010%2F01%2F25%2Fthis-function-may-be-called-recursively%2F&amp;via=codecandiescom&amp;text=This%20function%20may%20be%20called%20recursively&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2010%2F01%2F25%2Fthis-function-may-be-called-recursively%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/01/25/this-function-may-be-called-recursively/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transfer gigabytes through AIM</title>
		<link>http://www.codecandies.com/2009/12/23/transfer-gigabytes-through-aim/</link>
		<comments>http://www.codecandies.com/2009/12/23/transfer-gigabytes-through-aim/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 05:38:23 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[pidgin]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1437</guid>
		<description><![CDATA[/* holy crap. who the f*ck would transfer gigabytes through &#160;&#160; AIM?! */ static char *sizes[4] = { &#8220;bytes&#8221;, &#8220;KB&#8221;, &#8220;MB&#8221;, &#8220;GB&#8221; }; Source: Direct link to the source code Software: pidgin Programming language: C Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* holy crap. who the f*ck would transfer gigabytes through<br />
&nbsp;&nbsp; AIM?! */<br />
static char *sizes[4] = { &#8220;bytes&#8221;, &#8220;KB&#8221;, &#8220;MB&#8221;, &#8220;GB&#8221; };
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de&#038;sa=N&#038;cd=195&#038;ct=rc#7OEMyONFOOA/pidgin-2.0.0beta7/libpurple/protocols/toc/toc.c&#038;l=2199" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://www.pidgin.im/" target="_blank">pidgin</a><br />
<strong>Programming language:</strong> C</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/12/23/transfer-gigabytes-through-aim/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F12%2F23%2Ftransfer-gigabytes-through-aim%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton1437" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F12%2F23%2Ftransfer-gigabytes-through-aim%2F&amp;via=codecandiescom&amp;text=Transfer%20gigabytes%20through%20AIM&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F12%2F23%2Ftransfer-gigabytes-through-aim%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/12/23/transfer-gigabytes-through-aim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Really nasty redirection games</title>
		<link>http://www.codecandies.com/2009/11/30/really-nasty-redirection-games/</link>
		<comments>http://www.codecandies.com/2009/11/30/really-nasty-redirection-games/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 05:32:14 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[altavista]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1469</guid>
		<description><![CDATA[# Those altavista f*ckers are playing really nasty # redirection games these days: the filter your clicks # through their site, but use onMouseOver to make it look # like they&#8217;re not! Well, it makes it easier for us to # identify search results&#8230; Source: Direct link to the source code Software: webcollage Programming language: [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
# Those altavista f*ckers are playing really nasty<br />
# redirection games these days: the filter your clicks<br />
# through their site, but use onMouseOver to make it look<br />
# like they&#8217;re not!  Well, it makes it easier for us to<br />
# identify search results&#8230;
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de&#038;sa=N&#038;cd=390&#038;ct=rc#MYVpQcNH-K8/webcollage/webcollage&#038;l=1474" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://www.jwz.org/webcollage/" target="_blank">webcollage</a><br />
<strong>Programming language:</strong> Perl</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/11/30/really-nasty-redirection-games/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F11%2F30%2Freally-nasty-redirection-games%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton1469" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F11%2F30%2Freally-nasty-redirection-games%2F&amp;via=codecandiescom&amp;text=Really%20nasty%20redirection%20games&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F11%2F30%2Freally-nasty-redirection-games%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/11/30/really-nasty-redirection-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug warnings?</title>
		<link>http://www.codecandies.com/2009/09/07/debug-warnings/</link>
		<comments>http://www.codecandies.com/2009/09/07/debug-warnings/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 05:14:23 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1129</guid>
		<description><![CDATA[Danke an Volker für diesen code candy: /** &#160;* Displaying Debug warnings? (0 = now, 1+ = yes) &#160;* @var int &#160;*/ &#160;public $do_debug = 2; Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Danke an Volker für diesen code candy:</p>
<blockquote><p>
/**<br />
&nbsp;* Displaying Debug warnings? (0 = now, 1+ = yes)<br />
&nbsp;* @var int<br />
&nbsp;*/<br />
&nbsp;public $do_debug = 2;
</p></blockquote>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/09/07/debug-warnings/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F09%2F07%2Fdebug-warnings%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton1129" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F09%2F07%2Fdebug-warnings%2F&amp;via=codecandiescom&amp;text=Debug%20warnings%3F&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F09%2F07%2Fdebug-warnings%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/09/07/debug-warnings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why GMT?</title>
		<link>http://www.codecandies.com/2009/08/12/why-gmt/</link>
		<comments>http://www.codecandies.com/2009/08/12/why-gmt/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 05:32:59 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[god save the queen]]></category>
		<category><![CDATA[prodagent]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1007</guid>
		<description><![CDATA[/* This uses gmtime as a convention so that all LFNs get the same timestamp based on the request, rather than the local time zone interpretation. Why GMT? Because Im British dammit! God Save The Queen! */ Source: Direct link to the source code Software: ProdAgent Programming language: Python Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/*<br />
This uses gmtime as a convention so that all LFNs get the same timestamp based on the request, rather than the local time zone interpretation.</p>
<p>    Why GMT?  Because Im British dammit! God Save The Queen!<br />
*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de&#038;sa=N&#038;cd=41&#038;ct=rc#Mh61p7mOio8/~prodagent/Prodagent_v011/PRODAGENT/lib/MCPayloads/LFNAlgorithm.py&#038;l=28" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="https://twiki.cern.ch/twiki/bin/view/CMS/ProdAgent" target="_blank">ProdAgent</a><br />
<strong>Programming language:</strong> Python</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/08/12/why-gmt/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F08%2F12%2Fwhy-gmt%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton1007" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F08%2F12%2Fwhy-gmt%2F&amp;via=codecandiescom&amp;text=Why%20GMT%3F&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F08%2F12%2Fwhy-gmt%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/08/12/why-gmt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Any problems?</title>
		<link>http://www.codecandies.com/2009/07/28/any-problems/</link>
		<comments>http://www.codecandies.com/2009/07/28/any-problems/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 05:05:19 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[dada mail]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=950</guid>
		<description><![CDATA[# code below replaces code above &#8211; any problems? # yeah, it doesn&#8217;t f*cking work. Source: Direct link to the source code Software: Dada Mail Programming language: Perl Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
        # code below replaces code above &#8211; any problems?<br />
        # yeah, it doesn&#8217;t f*cking work.
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de&#038;sa=N&#038;cd=3&#038;ct=rc#K-0wIl7IJBo/dada/DADA/MailingList/Archives.pm&#038;l=1896" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://dadamailproject.com" target="_blank">Dada Mail</a><br />
<strong>Programming language:</strong> Perl</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/07/28/any-problems/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F07%2F28%2Fany-problems%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton950" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F07%2F28%2Fany-problems%2F&amp;via=codecandiescom&amp;text=Any%20problems%3F&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F07%2F28%2Fany-problems%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/07/28/any-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All the different IPs</title>
		<link>http://www.codecandies.com/2009/02/21/all-the-different-ips/</link>
		<comments>http://www.codecandies.com/2009/02/21/all-the-different-ips/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 09:00:10 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=323</guid>
		<description><![CDATA[/* woohoo! fun, I have no clue how to get &#160;* the correct IP, so I just send forward &#160;* queries with all the different IPs */ Source: Direct link to the source code Software: GDM &#8211; The GNOME Display Manager Programming language: C Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>/* woohoo! fun, I have no clue how to get<br />
&nbsp;* the correct IP, so I just send forward<br />
&nbsp;* queries with all the different IPs */</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#GhSkopB0-dg/gdm-2.14.9/daemon/xdmcp.c&#038;l=724" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://projects.gnome.org/gdm/" target="_blank">GDM &#8211; The GNOME Display Manager</a><br />
<strong>Programming language:</strong> C</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/02/21/all-the-different-ips/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F21%2Fall-the-different-ips%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton323" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F21%2Fall-the-different-ips%2F&amp;via=codecandiescom&amp;text=All%20the%20different%20IPs&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F21%2Fall-the-different-ips%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/02/21/all-the-different-ips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No script &#8211; no see</title>
		<link>http://www.codecandies.com/2009/02/06/no-script-no-see/</link>
		<comments>http://www.codecandies.com/2009/02/06/no-script-no-see/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 12:49:02 +0000</pubDate>
		<dc:creator>bridog</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[noscript]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=149</guid>
		<description><![CDATA[Vor einiger Zeit mal bei einem Dienstleister gesehen&#8230; &#60;script type=&#8221;text/javascript&#8221;&#62; document.write(&#8220;&#60;noscript&#62;&#8230;&#60;/noscript&#62;&#8221;); &#60;/script&#62; Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Vor einiger Zeit mal bei einem Dienstleister gesehen&#8230;</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>document.write(&#8220;&lt;noscript&gt;&#8230;&lt;/noscript&gt;&#8221;);</p>
<p>&lt;/script&gt;</p></blockquote>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/02/06/no-script-no-see/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F06%2Fno-script-no-see%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton149" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F06%2Fno-script-no-see%2F&amp;via=codecandiescom&amp;text=No%20script%20%26%238211%3B%20no%20see&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F06%2Fno-script-no-see%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/02/06/no-script-no-see/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ich versteh&#8217;s selber nicht &#8230;</title>
		<link>http://www.codecandies.com/2009/02/04/ich-verstehs-selber-nicht/</link>
		<comments>http://www.codecandies.com/2009/02/04/ich-verstehs-selber-nicht/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 12:45:29 +0000</pubDate>
		<dc:creator>matula</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[xt-commerce]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=116</guid>
		<description><![CDATA[&#8230; aber ich hab nen Workaround um es zu fixen. Hier meine Lieblings-Zeilen von XT-Commerce &#8211; irgendwie nicht sehr Vertrauens erweckend // don&#8217;t know why, but this happens sometimes and new user // becomes admin if ($customers_status == 0 &#124;&#124; !$customers_status) $customers_status = DEFAULT_CUSTOMERS_STATUS_ID; Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>&#8230; aber ich hab nen Workaround um es zu fixen. Hier meine Lieblings-Zeilen von XT-Commerce &#8211; irgendwie nicht sehr Vertrauens erweckend</p>
<blockquote><p>// don&#8217;t know why, but this happens sometimes and new user<br />
// becomes admin<br />
if ($customers_status == 0 || !$customers_status)<br />
$customers_status = DEFAULT_CUSTOMERS_STATUS_ID;</p></blockquote>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/02/04/ich-verstehs-selber-nicht/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F04%2Fich-verstehs-selber-nicht%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton116" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F04%2Fich-verstehs-selber-nicht%2F&amp;via=codecandiescom&amp;text=Ich%20versteh%26%238217%3Bs%20selber%20nicht%20%26%238230%3B&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F02%2F04%2Fich-verstehs-selber-nicht%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/02/04/ich-verstehs-selber-nicht/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>thedailywtf.com hat auch lustige &#8220;Features&#8221;</title>
		<link>http://www.codecandies.com/2009/01/30/thedailywtfcom-hat-auch-lustige-features/</link>
		<comments>http://www.codecandies.com/2009/01/30/thedailywtfcom-hat-auch-lustige-features/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 10:21:21 +0000</pubDate>
		<dc:creator>harivolker</dc:creator>
				<category><![CDATA[It´s not a bug - It´s a feature]]></category>
		<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=48</guid>
		<description><![CDATA[Wer kennt sie nicht, die auch ganz nette Konkurrenzseite thedailywtf.com? Wußtet Ihr aber, dass die dortige Rubrik Error&#8217;d zurückreicht bis zum Januar 1753? http://thedailywtf.com/Series/1753/01/Error_0x27_d.aspx Darauf angesprochen, meinten die Buben nur &#8220;That&#8217;s by design!&#8221; Tweet]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Wer kennt sie nicht, die auch ganz nette Konkurrenzseite <a href="http://thedailywtf.com" target="_blank">thedailywtf.com</a>? Wußtet Ihr aber, dass die dortige Rubrik Error&#8217;d zurückreicht bis zum Januar 1753?<br />
<a title="http://thedailywtf.com/Series/1753/01/Error_0x27_d.aspx" href="http://thedailywtf.com/Series/1753/01/Error_0x27_d.aspx" target="_blank">http://thedailywtf.com/Series/1753/01/Error_0x27_d.aspx</a></p>
<p>Darauf angesprochen, meinten die Buben nur &#8220;That&#8217;s by design!&#8221;</p>
<div class="google_plus_one"><g:plusone size="tall" count="true" url="http://www.codecandies.com/2009/01/30/thedailywtfcom-hat-auch-lustige-features/"></g:plusone></div>
<!-- google_ad_section_end -->
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.codecandies.com%2F2009%2F01%2F30%2Fthedailywtfcom-hat-auch-lustige-features%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div id="tweetbutton48" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.codecandies.com%2F2009%2F01%2F30%2Fthedailywtfcom-hat-auch-lustige-features%2F&amp;via=codecandiescom&amp;text=thedailywtf.com%20hat%20auch%20lustige%20%26%238220%3BFeatures%26%238221%3B&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.codecandies.com%2F2009%2F01%2F30%2Fthedailywtfcom-hat-auch-lustige-features%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.codecandies.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2009/01/30/thedailywtfcom-hat-auch-lustige-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

