<?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; code candies</title>
	<atom:link href="http://www.codecandies.com/category/codecandies/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codecandies.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 Jun 2010 04:36:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>This effect and the next</title>
		<link>http://www.codecandies.com/2010/06/14/this-effect-and-the-next/</link>
		<comments>http://www.codecandies.com/2010/06/14/this-effect-and-the-next/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 04:36:18 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=2000</guid>
		<description><![CDATA[


/* This effect and the next are handled like vibrato.
&#160;* I&#8217;m a bit tired, so it begins to be ugly, sorry&#8230;
&#160;*/

Source: Direct link to the source code
Software: xsoundtrack
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* This effect and the next are handled like vibrato.<br />
&nbsp;* I&#8217;m a bit tired, so it begins to be ugly, sorry&#8230;<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#DHJRZdfz9gs/ge/educational_games/rubix-1.04.tar.bz2|k0Dsu649sz8/rubix-1.04/player/mixer.c&#038;l=346" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://sed.free.fr/xsound/" target="_blank">xsoundtrack</a><br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/06/14/this-effect-and-the-next/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cryptic</title>
		<link>http://www.codecandies.com/2010/06/10/cryptic/</link>
		<comments>http://www.codecandies.com/2010/06/10/cryptic/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 04:35:26 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1986</guid>
		<description><![CDATA[


        // One thing I cannot stand is f*cking variables that
        // are cryptic. I gotta lay off the dope when I code, shit!

Source: Direct link to the source code
Software: sapphire
Programming language: C++

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
        // One thing I cannot stand is f*cking variables that<br />
        // are cryptic. I gotta lay off the dope when I code, shit!
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#tS6Vu6eyK9A/distfiles/sapphire-0.15.6.tar.gz|Qv5DsX_-rdA/sapphire-0.15.6/src/client.cc&#038;l=46" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://sapphire.sourceforge.net/" target="_blank">sapphire</a><br />
<strong>Programming language:</strong> C++</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/06/10/cryptic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad window error</title>
		<link>http://www.codecandies.com/2010/06/07/bad-window-error/</link>
		<comments>http://www.codecandies.com/2010/06/07/bad-window-error/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 04:33:48 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1990</guid>
		<description><![CDATA[


        // This function here causes those goddamn BadWindow errors.
        // If I see another one of those I will f*cking scream!

Source: Direct link to the source code
Software: sapphire
Programming language: C++

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
        // This function here causes those goddamn BadWindow errors.<br />
        // If I see another one of those I will f*cking scream!</p>
</blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#tS6Vu6eyK9A/distfiles/sapphire-0.15.6.tar.gz|Qv5DsX_-rdA/sapphire-0.15.6/src/client.cc&#038;l=288" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://sapphire.sourceforge.net/" target="_blank">sapphire</a><br />
<strong>Programming language:</strong> C++</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/06/07/bad-window-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I should comment</title>
		<link>http://www.codecandies.com/2010/05/26/i-should-comment/</link>
		<comments>http://www.codecandies.com/2010/05/26/i-should-comment/#comments</comments>
		<pubDate>Wed, 26 May 2010 04:16:06 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1979</guid>
		<description><![CDATA[


# I should comment that I also like pink, but don&#8217;t
# tell anybody.

Source: Direct link to the source code
Programming language: Perl

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
# I should comment that I also like pink, but don&#8217;t<br />
# tell anybody.
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#1IKf2ZWr9OM/deps/third_party/cygwin/lib/perl5/vendor_perl/5.10/YAML.pm&#038;l=116" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> Perl</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/05/26/i-should-comment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let me know</title>
		<link>http://www.codecandies.com/2010/05/20/let-me-know/</link>
		<comments>http://www.codecandies.com/2010/05/20/let-me-know/#comments</comments>
		<pubDate>Thu, 20 May 2010 04:36:25 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1948</guid>
		<description><![CDATA[


# If you understand how these functions work, let me know.
# I haven&#8217;t got the slighest idea anymore :-)

Source: Direct link to the source code
Software: Filerunner
Programming language: Shell

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
# If you understand how these functions work, let me know.<br />
# I haven&#8217;t got the slighest idea anymore :-)
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#I0cABDTB4TA/pub/FreeBSD/ports/i386/packages-4-stable/All/filerunner-2.5.1_1.tgz|lUlAx6SDruM/lib/FileRunner/fr&#038;l=1867" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://linux.maruhn.com/sec/filerunner.html" target="_blank">Filerunner</a><br />
<strong>Programming language:</strong> Shell</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/05/20/let-me-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doing The Right Thing</title>
		<link>http://www.codecandies.com/2010/05/18/doing-the-right-thing/</link>
		<comments>http://www.codecandies.com/2010/05/18/doing-the-right-thing/#comments</comments>
		<pubDate>Tue, 18 May 2010 04:34:08 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1965</guid>
		<description><![CDATA[


;; Be *exceptionally* careful about modifications to this
;; function! Much of CC Mode depends on this Doing The Right
;; Thing.  If you break it you will be sorry.  If you think you
;; know how this works, you probably don&#8217;t.  No human on
;; Earth does! :-)

Source: Direct link to the source code
Software: CC [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
;; Be *exceptionally* careful about modifications to this<br />
;; function! Much of CC Mode depends on this Doing The Right<br />
;; Thing.  If you break it you will be sorry.  If you think you<br />
;; know how this works, you probably don&#8217;t.  No human on<br />
;; Earth does! :-)
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#4FSOSMZ6Pxc/distfiles/cc-mode-1.32-pkg.tar.gz|jwxLBpTR-IU/lisp/cc-mode/cc-engine.el&#038;l=59" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://cc-mode.sourceforge.net/" target="_blank">CC Mode</a><br />
<strong>Programming language:</strong> Lisp</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/05/18/doing-the-right-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use a spell-checker</title>
		<link>http://www.codecandies.com/2010/05/17/use-a-spell-checker/</link>
		<comments>http://www.codecandies.com/2010/05/17/use-a-spell-checker/#comments</comments>
		<pubDate>Mon, 17 May 2010 04:48:07 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1869</guid>
		<description><![CDATA[


/*
&#160;* Sun people can&#8217;t spell worth damn. &#8220;compatability&#8221; indeed.
&#160;* At least we *know* we can&#8217;t spell, and use a
&#160;* spell-checker.
&#160;*/
/* Uh, actually Linus it is I who cannot spell. Too much
&#160;* murky Sparc assembly will do this to ya.
&#160;*/

Source: Direct link to the source code
Software: Sparc port of Linux
Programming language: Assembly

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/*<br />
&nbsp;* Sun people can&#8217;t spell worth damn. &#8220;compatability&#8221; indeed.<br />
&nbsp;* At least we *know* we can&#8217;t spell, and use a<br />
&nbsp;* spell-checker.<br />
&nbsp;*/</p>
<p>/* Uh, actually Linus it is I who cannot spell. Too much<br />
&nbsp;* murky Sparc assembly will do this to ya.<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#iCXnLOj7beI/arch/sparc/kernel/head.S&#038;sa=N&#038;cd=78&#038;ct=rc&#038;l=49" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> Sparc port of Linux<br />
<strong>Programming language:</strong> Assembly</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/05/17/use-a-spell-checker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug Reports</title>
		<link>http://www.codecandies.com/2010/05/06/bug-reports/</link>
		<comments>http://www.codecandies.com/2010/05/06/bug-reports/#comments</comments>
		<pubDate>Thu, 06 May 2010 04:33:28 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1908</guid>
		<description><![CDATA[


;;; BUG REPORTS
;;; Please report bugs to ess-bugs@stat.math.ethz.ch
;;; Comments, suggestions, words of praise and large cash
;;; donations are also more than welcome, but should
;;; generally be split between all authors :-)

Source: Direct link to the source code
Software: Emacs Speaks Statistics
Programming language: Lisp

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
;;; BUG REPORTS<br />
;;; Please report bugs to ess-bugs@stat.math.ethz.ch<br />
;;; Comments, suggestions, words of praise and large cash<br />
;;; donations are also more than welcome, but should<br />
;;; generally be split between all authors :-)
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#xAlgQDHmdnQ/pub/gentoo/distfiles/ess-5.2.2.tar.gz|702HsZ2ENW8/ess-5.2.2/lisp/ess.el&#038;l=94" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://ess.r-project.org/" target="_blank">Emacs Speaks Statistics</a><br />
<strong>Programming language:</strong> Lisp</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/05/06/bug-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The book says</title>
		<link>http://www.codecandies.com/2010/04/29/the-book-says/</link>
		<comments>http://www.codecandies.com/2010/04/29/the-book-says/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 04:34:10 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1866</guid>
		<description><![CDATA[


    // no f*cking error checking and the book says (and I quote):
    // &#8220;There will be no errors.&#8221;  I hate this guy.

Source: Direct link to the source code
Software: RaiseMan
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
    // no f*cking error checking and the book says (and I quote):<br />
    // &#8220;There will be no errors.&#8221;  I hate this guy.
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#4SAhP8U0Rj4/RaiseMan/Classes/MyDocument.m&#038;cd=61&#038;ct=rc&#038;l=255" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> RaiseMan<br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/29/the-book-says/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Runtime data</title>
		<link>http://www.codecandies.com/2010/04/28/runtime-data/</link>
		<comments>http://www.codecandies.com/2010/04/28/runtime-data/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 04:36:36 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1874</guid>
		<description><![CDATA[


// Holy god damned shit! Do we really refer runtime data
// in Listviews? omg!!!

Source: Direct link to the source code
Software: WASTE
Programming language: C++

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
// Holy god damned shit! Do we really refer runtime data<br />
// in Listviews? omg!!!
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#23HYQNLbl_w/trunk/waste-source/xfers.cpp&#038;q=damn%20fuck&#038;sa=N&#038;cd=68&#038;ct=rc&#038;l=650" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> WASTE<br />
<strong>Programming language:</strong> C++</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/28/runtime-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Payback time</title>
		<link>http://www.codecandies.com/2010/04/22/payback-time/</link>
		<comments>http://www.codecandies.com/2010/04/22/payback-time/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 04:34:25 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[KDirStat]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1773</guid>
		<description><![CDATA[


/* No, no exceptions for Americans or Brits. I had to put up
&#160;* with their crap long enough, now it&#8217;s time for them to
&#160;* put up with mine. Payback time &#8211; though luck, folks. ;-)
&#160;*/

Source: Direct link to the source code
Software: KDirStat
Programming language: C++

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* No, no exceptions for Americans or Brits. I had to put up<br />
&nbsp;* with their crap long enough, now it&#8217;s time for them to<br />
&nbsp;* put up with mine. Payback time &#8211; though luck, folks. ;-)<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#-kmSHZF0HiY/pub/OpenBSD/distfiles/kdirstat-2.2.0.tgz|yjUhRv3SVLc/kdirstat-2.2.0/kdirstat/kdirtreeview.cpp&#038;l=1627" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://kdirstat.sourceforge.net/" target="_blank">KDirStat</a><br />
<strong>Programming language:</strong> C++</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/22/payback-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimized for performance</title>
		<link>http://www.codecandies.com/2010/04/14/optimized-for-performance/</link>
		<comments>http://www.codecandies.com/2010/04/14/optimized-for-performance/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 04:35:16 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1778</guid>
		<description><![CDATA[


/**
&#160;* This is optimized for performance, not for aesthetics.
&#160;* And every now and then the old C hacker breaks through in
&#160;* most of us&#8230; ;-)
&#160;*/

Source: Direct link to the source code
Software: KDirStat
Programming language: C++

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/**<br />
&nbsp;* This is optimized for performance, not for aesthetics.<br />
&nbsp;* And every now and then the old C hacker breaks through in<br />
&nbsp;* most of us&#8230; ;-)<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#-kmSHZF0HiY/pub/OpenBSD/distfiles/kdirstat-2.2.0.tgz|yjUhRv3SVLc/kdirstat-2.2.0/kdirstat/kdirtreeview.cpp&#038;l=1516" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://kdirstat.sourceforge.net/" target="_blank">KDirStat</a><br />
<strong>Programming language:</strong> C++</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/14/optimized-for-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Got this wrong</title>
		<link>http://www.codecandies.com/2010/04/13/got-this-wrong/</link>
		<comments>http://www.codecandies.com/2010/04/13/got-this-wrong/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 04:31:56 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1831</guid>
		<description><![CDATA[


/* whoops &#8211; got this wrong.  i think.  or don&#8217;t understand what&#8217;s happening. */

Source: Direct link to the source code
Software: Samba
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* whoops &#8211; got this wrong.  i think.  or don&#8217;t understand what&#8217;s happening. */
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#pFm0LxzAWvs/darwinsource/tarballs/other/samba-59.tar.gz|NWmPzYuReZU/samba-59/samba/source/rpc_server/srv_samr_nt.c&#038;l=1867" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://samba.org" target="_blank">Samba</a><br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/13/got-this-wrong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most optimised state</title>
		<link>http://www.codecandies.com/2010/04/09/most-optimised-state/</link>
		<comments>http://www.codecandies.com/2010/04/09/most-optimised-state/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 04:36:02 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[Pascal/Delphi]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1824</guid>
		<description><![CDATA[


  { I wrote this procedure late last night, so it may not be in it&#8217;s most optimised state. Sorry :-)}

Source: Direct link to the source code
Programming language: Pascal/Delphi

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
  { I wrote this procedure late last night, so it may not be in it&#8217;s most optimised state. Sorry :-)}
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#B5Vhsv81OW0/~redstar/asphyxia/new/source/tut7.pas&#038;l=568&#038;sa=N&#038;cd=26&#038;ct=rc" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> Pascal/Delphi</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/09/most-optimised-state/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shorter than the old code</title>
		<link>http://www.codecandies.com/2010/04/08/shorter-than-the-old-code/</link>
		<comments>http://www.codecandies.com/2010/04/08/shorter-than-the-old-code/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 04:33:17 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1821</guid>
		<description><![CDATA[


/*
After much wailing and gnashing of teeth it would seem that irix64 knows its ANSI spec well, knows that it doesn&#8217;t need to, and doesn&#8217;t.  Bah.  Anyway, the all unsigned code below is actually shorter than the old code. :-)
    */

Source: Direct link to the source code
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/*<br />
After much wailing and gnashing of teeth it would seem that irix64 knows its ANSI spec well, knows that it doesn&#8217;t need to, and doesn&#8217;t.  Bah.  Anyway, the all unsigned code below is actually shorter than the old code. :-)<br />
    */
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#E4XixW5gvCc/pub/CPAN/src/perl-5.8.1.tar.gz|NJKdlW8DkIY/perl-5.8.1/pp_hot.c&#038;l=370" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/08/shorter-than-the-old-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Noodle code</title>
		<link>http://www.codecandies.com/2010/04/07/noodle-code/</link>
		<comments>http://www.codecandies.com/2010/04/07/noodle-code/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 05:44:39 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1817</guid>
		<description><![CDATA[


/*
&#160;* I hate go to , but I use it again for the noodle code :-)
&#160;*/

Source: Direct link to the source code
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/*<br />
&nbsp;* I hate go to , but I use it again for the noodle code :-)<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#FQ8mpMIN558/kbs_bbs/src/mail.c&#038;sa=N&#038;cd=189&#038;ct=rc&#038;l=382" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/07/noodle-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bounds checkers</title>
		<link>http://www.codecandies.com/2010/04/06/bounds-checkers/</link>
		<comments>http://www.codecandies.com/2010/04/06/bounds-checkers/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 04:26:07 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1797</guid>
		<description><![CDATA[


/* This struct should never be alloced or sizeof() taken.
&#160;* It is defined for the sake of bounds checkers.
&#160;* Well, OK, to deceive bounds checkers really.  :-)
&#160;*/

Source: Direct link to the source code
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* This struct should never be alloced or sizeof() taken.<br />
&nbsp;* It is defined for the sake of bounds checkers.<br />
&nbsp;* Well, OK, to deceive bounds checkers really.  :-)<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#8D7fzMZcOz4/pub/slackintosh/current/slackware/l/svgalib4libggi-0.7-powerpc-1.tgz|3zi1dVPRJZY/usr/include/ggi/ll.h&#038;l=377" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/06/bounds-checkers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Push it above</title>
		<link>http://www.codecandies.com/2010/04/01/push-it-above/</link>
		<comments>http://www.codecandies.com/2010/04/01/push-it-above/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 04:31:33 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[Autoconf]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1809</guid>
		<description><![CDATA[


/* FIXME: If cygwin needs this, please push it above, if not, please remove this comment :-) */

Source: Direct link to the source code
Software: wxWindows
Programming language: Autoconf

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* FIXME: If cygwin needs this, please push it above, if not, please remove this comment :-) */
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#jDLBy-_BZUo/sourceforge.net/w/wx/wxwindows/wxX11-2.3.3a.tar.gz|0WVQUl3xLBc/configure.in&#038;l=1692" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://www.wxwindows.org/" target="_blank">wxWindows</a><br />
<strong>Programming language:</strong> Autoconf</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/04/01/push-it-above/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flush all caches</title>
		<link>http://www.codecandies.com/2010/03/30/flush-all-caches/</link>
		<comments>http://www.codecandies.com/2010/03/30/flush-all-caches/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 04:30:56 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1801</guid>
		<description><![CDATA[


/*
&#160;* This is a workaround until I know how to *really* flush
&#160;* all caches.. Seems to work now, but I leave that in. Who
&#160;* knows :-)
&#160;*/

Source: Direct link to the source code
Software: MILO
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/*<br />
&nbsp;* This is a workaround until I know how to *really* flush<br />
&nbsp;* all caches.. Seems to work now, but I leave that in. Who<br />
&nbsp;* knows :-)<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#KT_SPe28lCU/pub/historic-linux/early-ports/Mips/src/boot/milo-0.14.tar.gz|weHIXCr73gM/milo.c&#038;l=376" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> MILO<br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/03/30/flush-all-caches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inform the user</title>
		<link>http://www.codecandies.com/2010/03/26/inform-the-user/</link>
		<comments>http://www.codecandies.com/2010/03/26/inform-the-user/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 05:30:30 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[kde]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1788</guid>
		<description><![CDATA[


/**
&#160;* Display an &#8220;Error&#8221; dialog.
&#160;*[...]
&#160;* Your program f*cked up and now it&#8217;s time to inform the
&#160;* user. To be used for important things like &#8220;Sorry, I
&#160;* deleted your hard disk.&#8221;
&#160;*/

Source: Direct link to the source code
Software: KDE
Programming language: C++

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/**<br />
&nbsp;* Display an &#8220;Error&#8221; dialog.<br />
&nbsp;*[...]<br />
&nbsp;* Your program f*cked up and now it&#8217;s time to inform the<br />
&nbsp;* user. To be used for important things like &#8220;Sorry, I<br />
&nbsp;* deleted your hard disk.&#8221;<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#j8AwZ22JOcU/pub/linux/distributions/winlinux/2000/apps/kde2wldp.tgz|JlSAAgB6XZA/usr/local/kde-1.91/include/kmessagebox.h&#038;l=193" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://www.kde.org/" target="_blank">KDE</a><br />
<strong>Programming language:</strong> C++</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/03/26/inform-the-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dump some meaningless thing out</title>
		<link>http://www.codecandies.com/2010/03/25/dump-some-meaningless-thing-out/</link>
		<comments>http://www.codecandies.com/2010/03/25/dump-some-meaningless-thing-out/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 05:36:32 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1783</guid>
		<description><![CDATA[


/* whoops, it must have died between the read of the proc
&#160;* area and now. Oh well, lets just dump some meaningless
&#160;* thing out to keep the rest of the program happy
&#160;*/

Source: Direct link to the source code
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* whoops, it must have died between the read of the proc<br />
&nbsp;* area and now. Oh well, lets just dump some meaningless<br />
&nbsp;* thing out to keep the rest of the program happy<br />
&nbsp;*/
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#VWaY5Kze71o/download/sources/aix43/top-3.4.tar.gz|Wu8QIvOX8s8/top-3.4/machine/m_decosf1.c&#038;l=519" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/03/25/dump-some-meaningless-thing-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Everything is kosher</title>
		<link>http://www.codecandies.com/2010/03/24/everything-is-kosher/</link>
		<comments>http://www.codecandies.com/2010/03/24/everything-is-kosher/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 05:27:55 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1768</guid>
		<description><![CDATA[


/* If next_sb==NULL or it&#8217;s equal to a NUL, we&#8217;re at the end
&#160;* of the message, so everything is kosher (and I&#8217;m not
&#160;* even Jewish! :-) )     */

Source: Direct link to the source code
Software: Maximus
Programming language: C

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
/* If next_sb==NULL or it&#8217;s equal to a NUL, we&#8217;re at the end<br />
&nbsp;* of the message, so everything is kosher (and I&#8217;m not<br />
&nbsp;* even Jewish! :-) )     */
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#a1SwjXjAUJg/downloads/max303src.tar.gz|ZguXaFjI22g/maximus/squish/s_scan.c&#038;l=618" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://www.bbsdocumentary.com/software/UNIX/LINUX/MAXIMUS/" target="_blank">Maximus</a><br />
<strong>Programming language:</strong> C</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/03/24/everything-is-kosher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Between the tags</title>
		<link>http://www.codecandies.com/2010/03/23/between-the-tags/</link>
		<comments>http://www.codecandies.com/2010/03/23/between-the-tags/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 05:37:53 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JSPWiki]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1763</guid>
		<description><![CDATA[


// Check if it&#8217;s okay for this element to be empty.  Then we
// will trick the JDOM generator into not generating an empty
// element, by putting an empty string between the tags.
// Yes, it&#8217;s a kludge but what&#8217;cha gonna do about it. :-)

Source: Direct link to the source code
Software: JSPWiki
Programming language: Java

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
// Check if it&#8217;s okay for this element to be empty.  Then we<br />
// will trick the JDOM generator into not generating an empty<br />
// element, by putting an empty string between the tags.<br />
// Yes, it&#8217;s a kludge but what&#8217;cha gonna do about it. :-)
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#JO4o-rkcoGg/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java&#038;sa=N&#038;cd=436&#038;ct=rc&#038;l=1028" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> <a href="http://www.jspwiki.org/" target="_blank">JSPWiki</a><br />
<strong>Programming language:</strong> Java</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/03/23/between-the-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We have also buttons</title>
		<link>http://www.codecandies.com/2010/03/09/we-have-also-buttons/</link>
		<comments>http://www.codecandies.com/2010/03/09/we-have-also-buttons/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 05:24:55 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1754</guid>
		<description><![CDATA[


# WE ALSO HAVE BUTTONS (more BUTT than ONS&#8230;. nobody&#8217;s
# prefect, ford)

Source: Direct link to the source code
Software: zippimail
Programming language: Perl

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
# WE ALSO HAVE BUTTONS (more BUTT than ONS&#8230;. nobody&#8217;s<br />
# prefect, ford)
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.google.com/codesearch/p?hl=de#x4iZe-FktOY/coolprox/perl/zippimail/zippimail&#038;sa=N&#038;cd=89&#038;ct=rc&#038;l=461" target="_blank">Direct link to the source code</a><br />
<strong>Software:</strong> zippimail<br />
<strong>Programming language:</strong> Perl</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/03/09/we-have-also-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t forget to commit sucide</title>
		<link>http://www.codecandies.com/2010/03/05/dont-forget-to-commit-sucide/</link>
		<comments>http://www.codecandies.com/2010/03/05/dont-forget-to-commit-sucide/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 05:25:33 +0000</pubDate>
		<dc:creator>Christoph</dc:creator>
				<category><![CDATA[code candies]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.codecandies.com/?p=1746</guid>
		<description><![CDATA[


// Private joke : Don&#8217;t forget to commit sucide, elsewhere
//  you gonna be punched by a rollback and go to psychatry

Source: Direct link to the source code
Programming language: PHP
Thanks to Tobias J. for this code candy

]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>
// Private joke : Don&#8217;t forget to commit sucide, elsewhere<br />
//  you gonna be punched by a rollback and go to psychatry
</p></blockquote>
<p><strong>Source:</strong> <a href="http://www.phpclasses.org/browse/file/30347.html" target="_blank">Direct link to the source code</a><br />
<strong>Programming language:</strong> PHP</p>
<p><strong>Thanks to Tobias J. for this code candy</strong></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.codecandies.com/2010/03/05/dont-forget-to-commit-sucide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
