<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - Brilliant Code! Got Some?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Brilliant Code! Got Some?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sun, 19 May 2013 03:37:27 GMT</pubDate>
	<lastBuildDate>Sun, 19 May 2013 03:37:27 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>9</c9:totalResults>
	<c9:pageCount>-9</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p><h2>&quot;Billiant&quot; is sarcastic - the code here is less-than-brilliant...far less than brilliant.</h2>
<br>
<br>
I wrote the following up as a joke to a friend. Curious if you .NET guys have ever written your own jokes?<br>
<br>
The following code prints a link for each day of the current month: Day 1, Day 2, etc. The links direct you to another page that can do something with the query string...Enjoy.<br>
<br>
(Oh, and yes, this IS a joke - so no flaming <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' />)<br>
<br>
&lt;?php<br>
<br>
&nbsp;&nbsp;&nbsp; getDays();<br>
<br>
&nbsp;&nbsp;&nbsp; function getDays() {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $day = array(&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;,&quot;6&quot;,&quot;7&quot;,&quot;8&quot;,&quot;9&quot;,&quot;10&quot;,&quot;11&quot;,&quot;12&quot;,&quot;13&quot;,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;14&quot;,&quot;15&quot;,&quot;16&quot;,&quot;17&quot;,&quot;18&quot;,&quot;19&quot;,&quot;20&quot;,&quot;21&quot;,&quot;22&quot;,&quot;23&quot;,&quot;24&quot;,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;25&quot;,&quot;26&quot;,&quot;27&quot;,&quot;28&quot;,&quot;29&quot;,&quot;30&quot;,&quot;31&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $trueDays = array();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $arrayLinks = array();<br>
&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for($i = 0; $i &lt; count($day); $i&#43;&#43;) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if ($i &lt; date(&quot;t&quot;) &amp;&amp; $i &gt; 0) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (is_numeric($i)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $trueDays[] = ($day[$i] &gt; 0) ? $day[$i] : 0 ;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (is_array($trueDays) &amp;&amp; 1 == 1) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $dayString = implode(&quot;,&quot;,$trueDays);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (strlen($dayString) &gt; 0) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; foreach ($trueDays as $day) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $arrayLinks[] = &quot;&lt;a href='getDays.php?day={$day}'&gt;Day {$day}&lt;/a&gt;&quot;;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; print &quot;&lt;a href='getDays.php?day=1'&gt;Day 1&lt;/a&gt;, &quot; . implode(&quot;, &quot;,$arrayLinks);&nbsp;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp; }<br>
<br>
?&gt;<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/420916#420916</link>
		<pubDate>Mon, 11 Aug 2008 19:41:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/420916#420916</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p>I executed the PHP... it's just a list of days, clicking on a link doesn't actually do anything other than reload the page.<br>
<br>
This is under PHP5 though. Does your script make use of any PHP4-specific behaviour?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/8d87d5a8a9ea466588aa9deb0134b9a3#8d87d5a8a9ea466588aa9deb0134b9a3</link>
		<pubDate>Mon, 11 Aug 2008 19:52:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/8d87d5a8a9ea466588aa9deb0134b9a3#8d87d5a8a9ea466588aa9deb0134b9a3</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">W3bbo said:</div><div class="quoteText">I executed the PHP... it's just a list of days, clicking on a link doesn't actually do anything other than reload the page.<br>
<br>
This is under PHP5 though. Does your script make use of any PHP4-specific behaviour?<br>
</div></blockquote>It's not suppose to do anything other than list days. Something that could have been done like this:<br>
<br>
<blockquote>$list = &quot;&quot;;<br>
for ($i = 0; $i &lt; date('t&quot;); $i&#43;&#43;) {<br>
&nbsp; $list .= &quot;&lt;a href='pointlessCode.php?day={$i}' title='Day {$i}'&gt;Day {$i}&lt;/a&gt;, &quot;;<br>
}<br>
print $list;<br>
</blockquote>
<br>
As for any PHP4-Specific behaviour, not sure. I think all of the code is ambiguous. No PHP OO activity or anything. No usage of $_SESSION...I think&nbsp; it's all cross-compat with 4 and 5 <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /><br>
<br>
Somebody actually wanted a solution over at DevShed. They wanted links for days 1 - n of the current month. This was a joke-solution (although a functional one) for their problem. I thought it was funny <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /><br>
<br>
I was mostly curious if anybody here had every done anything similar as a joke.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/b1ca5f7812d34064ba7d9deb0134b9d1#b1ca5f7812d34064ba7d9deb0134b9d1</link>
		<pubDate>Mon, 11 Aug 2008 20:31:55 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/b1ca5f7812d34064ba7d9deb0134b9d1#b1ca5f7812d34064ba7d9deb0134b9d1</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p>Just found this one online:<br>
<br>
#include &lt;stdio.h&gt;<br>
<br>
typedef struct {<br>
&nbsp;&nbsp;&nbsp; int ch;<br>
&nbsp;&nbsp;&nbsp; int count;<br>
} star_t;<br>
<br>
int main(void) {<br>
&nbsp;&nbsp;&nbsp; star_t foo[] = {<br>
{46, 22}, {47, 1}, {194, 1}, {180, 1}, {194, 1}, {175, 1}, {47, 1}, {41, 1}, {'\n', 1},
<br>
{46, 20}, {44, 1}, {47, 1}, {194, 1}, {175, 1}, {46, 2}, {47, 1}, {'\n', 1}, <br>
{46, 19}, {47, 1}, {46, 4}, {47, 1}, {'\n', 1}, <br>
{46, 13}, {47, 1}, {194, 1}, {180, 1}, {194, 1}, {175, 1}, {47, 1}, {39, 1}, {46, 3}, {39, 1}, {47, 1}, {194, 1}, {180, 1}, {194, 1}, {175, 1}, {194, 1}, {175, 1}, {96, 1}, {194, 1}, {183, 1}, {194, 1}, {184, 1}, {'\n', 1},
<br>
{46, 10}, {47, 1}, {39, 1}, {47, 1}, {46, 3}, {47, 1}, {46, 4}, {47, 1}, {46, 7}, {47, 1}, {194, 1}, {168, 1}, {194, 1}, {175, 1}, {92, 1}, {'\n', 1},
<br>
{46, 8}, {40, 1}, {39, 1}, {40, 1}, {46, 3}, {194, 1}, {180, 1}, {46, 3}, {194, 1}, {180, 1}, {46, 4}, {32, 1}, {194, 1}, {175, 1}, {126, 1}, {47, 1}, {39, 1}, {46, 3}, {39, 1}, {41, 1}, {'\n', 1},
<br>
{46, 9}, {92, 1}, {46, 17}, {39, 1}, {46, 5}, {47, 1}, {'\n', 1}, <br>
{46, 10}, {39, 2}, {46, 3}, {92, 1}, {46, 10}, {32, 1}, {95, 1}, {46, 1}, {194, 1}, {183, 1}, {194, 1}, {180, 1}, {'\n', 1},
<br>
{46, 12}, {92, 1}, {46, 14}, {40, 1}, {'\n', 1}, <br>
{46, 14}, {92, 1}, {46, 13}, {92, 1}, {46, 1}, {32, 1}, {'\n', 1}<br>
&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; int i, j;<br>
&nbsp;&nbsp;&nbsp; for (i = 0; i &lt; sizeof(foo) / sizeof(foo[0]); i&#43;&#43;) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; star_t bar = foo[i];<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (j = 0; j &lt; bar.count; j&#43;&#43;) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;%c&quot;, (char )bar.ch);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; return 0;<br>
}<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/dd7e253046c64da08c2f9deb0134b9fe#dd7e253046c64da08c2f9deb0134b9fe</link>
		<pubDate>Mon, 11 Aug 2008 22:19:44 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/dd7e253046c64da08c2f9deb0134b9fe#dd7e253046c64da08c2f9deb0134b9fe</guid>
		<dc:creator>jsampsonPC</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jsampsonPC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p>Well there are some odd SQL tricks I have used one or two times,&nbsp; you can run a single SQL select with a dynamic text/string and a TSQL function....&nbsp; if you for example have a table of ID,Name to put into a dropdown you can make SQL build the complete
 HTML for the dropdown.... I'd have to dig out the code.... but it's kinda sweet how it works.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/78b6c52d7c564902b6629deb0134ba28#78b6c52d7c564902b6629deb0134ba28</link>
		<pubDate>Mon, 11 Aug 2008 22:19:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/78b6c52d7c564902b6629deb0134ba28#78b6c52d7c564902b6629deb0134ba28</guid>
		<dc:creator>figuerres</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/figuerres/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p>I've seen someone asking others to post code for some &quot;hello world&quot; level assignment on a C&#43;&#43; community in C, so someone took time to write a main.c that consist of all kinds of &quot;ooOOo&quot;, &quot;oOoo&quot; and &quot;#define&quot; directive that replacing them with meaningful
 keywords like &quot;void&quot;, &quot;main&quot;...<br>
<br>
That's what we called remarkable &quot;OO programming in C&quot;... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/0f92ad472bf94958bb1e9deb0134ba52#0f92ad472bf94958bb1e9deb0134ba52</link>
		<pubDate>Tue, 12 Aug 2008 10:26:23 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/0f92ad472bf94958bb1e9deb0134ba52#0f92ad472bf94958bb1e9deb0134ba52</guid>
		<dc:creator>cheong</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/cheong/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">cheong said:</div><div class="quoteText">I've seen someone asking others to post code for some &quot;hello world&quot; level assignment on a C&#43;&#43; community in C, so someone took time to write a main.c that consist of all kinds of &quot;ooOOo&quot;, &quot;oOoo&quot; and &quot;#define&quot; directive that replacing
 them with meaningful keywords like &quot;void&quot;, &quot;main&quot;...<br>
<br>
That's what we called remarkable &quot;OO programming in C&quot;... <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif" alt="Tongue Out"><br>
</div></blockquote>
<pre><code><br>/*     efdtt.c     Author:  Charles M. Hannum &lt;root@ihack.net&gt;             */<br>/*                                                                         */<br>/*     Thanks to Phil Carmody &lt;fatphil@asdf.org&gt; for additional tweaks.    */<br>/*                                                                         */<br>/*     DVD-logo shaped version by Alex Bowley &lt;alex@hyperspeed.org&gt;        */<br>/*                                                                         */<br>/*     Usage is:  cat title-key scrambled.vob | efdtt &gt;clear.vob           */<br><br><br>#define m(i)(x[i]^s[i&#43;84])&lt;&lt;<br><br>                   unsigned char x[5]      ,y,s[2048];main(  <br>                   n){for( read(0,x,5     );read(0,s ,n=2048  <br>                            ); write(1   ,s,n)         )if(s <br>                  [y=s      [13]%8&#43;20]  /16%4  ==1      ){int <br>                  i=m(      1)17  ^256 &#43;m(0)   8,k      =m(2) <br>                  0,j=      m(4)   17^ m(3)   9^k*     2-k%8 <br>                  ^8,a     =0,c    =26;for   (s[y]    -=16;  <br>                 --c;j  *=2)a=     a*2^i&amp;    1,i=i /2^j&amp;1   <br>                 &lt;&lt;24;for(j=        127;     &#43;&#43;j&lt;n;c=c&gt;     <br>                                    y)                      <br>                                    c                       <br>                                             <br>                           &#43;=y=i^i/8^i&gt;&gt;4^i&gt;&gt;12,              <br>                  i=i&gt;&gt;8^y&lt;&lt;17,a^=a&gt;&gt;14,y=a^a*8^a&lt;&lt;6,a=a     <br>                &gt;&gt;8^y&lt;&lt;9,k=s[j],k         =&quot;7Wo~'G_\216&quot;[k   <br>                 &amp;7]&#43;2^&quot;cr3sfw6v;*k&#43;&gt;/n.&quot;[k&gt;&gt;4]*2^k*257/<br>                       8,s[j]=k^(k&amp;k*2&amp;34)*6^c&#43;~y       <br>                                  ;}}<br>  </code></pre></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/fadc5806b7c8474db12f9deb0134ba80#fadc5806b7c8474db12f9deb0134ba80</link>
		<pubDate>Tue, 12 Aug 2008 12:40:47 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/fadc5806b7c8474db12f9deb0134ba80#fadc5806b7c8474db12f9deb0134ba80</guid>
		<dc:creator>Bass</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Bass/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Bass said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">cheong said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<pre><code><br>/*     efdtt.c     Author:  Charles M. Hannum &lt;root@ihack.net&gt;             */<br>/*                                                                         */<br>/*     Thanks to Phil Carmody &lt;fatphil@asdf.org&gt; for additional tweaks.    */<br>/*                                                                         */<br>/*     DVD-logo shaped version by Alex Bowley &lt;alex@hyperspeed.org&gt;        */<br>/*                                                                         */<br>/*     Usage is:  cat title-key scrambled.vob | efdtt &gt;clear.vob           */<br><br><br>#define m(i)(x[i]^s[i&#43;84])&lt;&lt;<br><br>                   unsigned char x[5]      ,y,s[2048];main(  <br>                   n){for( read(0,x,5     );read(0,s ,n=2048  <br>                            ); write(1   ,s,n)         )if(s <br>                  [y=s      [13]%8&#43;20]  /16%4  ==1      ){int <br>                  i=m(      1)17  ^256 &#43;m(0)   8,k      =m(2) <br>                  0,j=      m(4)   17^ m(3)   9^k*     2-k%8 <br>                  ^8,a     =0,c    =26;for   (s[y]    -=16;  <br>                 --c;j  *=2)a=     a*2^i&amp;    1,i=i /2^j&amp;1   <br>                 &lt;&lt;24;for(j=        127;     &#43;&#43;j&lt;n;c=c&gt;     <br>                                    y)                      <br>                                    c                       <br>                                             <br>                           &#43;=y=i^i/8^i&gt;&gt;4^i&gt;&gt;12,              <br>                  i=i&gt;&gt;8^y&lt;&lt;17,a^=a&gt;&gt;14,y=a^a*8^a&lt;&lt;6,a=a     <br>                &gt;&gt;8^y&lt;&lt;9,k=s[j],k         =&quot;7Wo~'G_\216&quot;[k   <br>                 &amp;7]&#43;2^&quot;cr3sfw6v;*k&#43;&gt;/n.&quot;[k&gt;&gt;4]*2^k*257/<br>                       8,s[j]=k^(k&amp;k*2&amp;34)*6^c&#43;~y       <br>                                  ;}}<br>  </code></pre>
</div></blockquote>wow lol that's crazy <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> lol again<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/70efa2e63eb64b82ab8e9deb0134baac#70efa2e63eb64b82ab8e9deb0134baac</link>
		<pubDate>Tue, 12 Aug 2008 20:13:30 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/70efa2e63eb64b82ab8e9deb0134baac#70efa2e63eb64b82ab8e9deb0134baac</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Brilliant Code! Got Some?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Bass said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">cheong said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<pre><code><br>/*     efdtt.c     Author:  Charles M. Hannum &lt;root@ihack.net&gt;             */<br>/*                                                                         */<br>/*     Thanks to Phil Carmody &lt;fatphil@asdf.org&gt; for additional tweaks.    */<br>/*                                                                         */<br>/*     DVD-logo shaped version by Alex Bowley &lt;alex@hyperspeed.org&gt;        */<br>/*                                                                         */<br>/*     Usage is:  cat title-key scrambled.vob | efdtt &gt;clear.vob           */<br><br><br>#define m(i)(x[i]^s[i&#43;84])&lt;&lt;<br><br>                   unsigned char x[5]      ,y,s[2048];main(  <br>                   n){for( read(0,x,5     );read(0,s ,n=2048  <br>                            ); write(1   ,s,n)         )if(s <br>                  [y=s      [13]%8&#43;20]  /16%4  ==1      ){int <br>                  i=m(      1)17  ^256 &#43;m(0)   8,k      =m(2) <br>                  0,j=      m(4)   17^ m(3)   9^k*     2-k%8 <br>                  ^8,a     =0,c    =26;for   (s[y]    -=16;  <br>                 --c;j  *=2)a=     a*2^i&amp;    1,i=i /2^j&amp;1   <br>                 &lt;&lt;24;for(j=        127;     &#43;&#43;j&lt;n;c=c&gt;     <br>                                    y)                      <br>                                    c                       <br>                                             <br>                           &#43;=y=i^i/8^i&gt;&gt;4^i&gt;&gt;12,              <br>                  i=i&gt;&gt;8^y&lt;&lt;17,a^=a&gt;&gt;14,y=a^a*8^a&lt;&lt;6,a=a     <br>                &gt;&gt;8^y&lt;&lt;9,k=s[j],k         =&quot;7Wo~'G_\216&quot;[k   <br>                 &amp;7]&#43;2^&quot;cr3sfw6v;*k&#43;&gt;/n.&quot;[k&gt;&gt;4]*2^k*257/<br>                       8,s[j]=k^(k&amp;k*2&amp;34)*6^c&#43;~y       <br>                                  ;}}<br>  </code></pre>
</div></blockquote>That's awesome. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif' alt='Big Smile' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/96a59f71060f4e19bea19deb0134bada#96a59f71060f4e19bea19deb0134bada</link>
		<pubDate>Tue, 12 Aug 2008 20:22:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/420916-Brilliant-Code-Got-Some/96a59f71060f4e19bea19deb0134bada#96a59f71060f4e19bea19deb0134bada</guid>
		<dc:creator>Bas</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Bas/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>