<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>programming &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/programming/</link>
	<description>Feed of posts on WordPress.com tagged "programming"</description>
	<pubDate>Wed, 09 Jul 2008 14:46:23 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[No more Bits: Only Bytes!!!]]></title>
<link>http://cellbe.wordpress.com/?p=26</link>
<pubDate>Wed, 09 Jul 2008 14:10:28 +0000</pubDate>
<dc:creator>bprasanna</dc:creator>
<guid>http://cellbe.wordpress.com/?p=26</guid>
<description><![CDATA[One way of sharing data between PPE program and SPE program is by using a header file defining a com]]></description>
<content:encoded><![CDATA[<p>One way of sharing data between PPE program and SPE program is by using a header file defining a common data structure. The era of counting for bits of memory is comes to end by Cell BE's byte level memory processing. The data passed between PPE and SPE programs should be in multiples of 16 bytes. And there is also a limit on the variables declared in a SPE program. So, in header file the size of total variables declared should in multiple of 16 bytes. If it is not; we have to follow a work around of adding few dummy variables in order to meet the 16bytes criteria.</p>
<p>For example following is the content of datadef.h header file:</p>
<p><span style="color:#000080;">typedef struct<br />
{<br />
/*Array to store the name of the array*/<br />
char genome_file[32];<br />
char output_file[32];</span></p>
<p>/*Variable to store the total number of input queries*/<br />
unsigned int num_queries;<br />
float aa_ga_weighting[20];<br />
unsigned int dummy[3];</p>
<p>} filexchg_data</p>
<p>In the above sample at the end one dummy integer array is declared inorder to make the total size divisible by 16.</p>
<p>Here is the calculation:</p>
<p><span style="color:#003300;"><strong>32 + 32 + 4 + (4x20) + 12 = 160 </strong></span>/ 16 = 10</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Professional Logging Service in C# .NET with log4net : A Tutorial]]></title>
<link>http://shiman.wordpress.com/?p=78</link>
<pubDate>Wed, 09 Jul 2008 12:46:44 +0000</pubDate>
<dc:creator>shiman</dc:creator>
<guid>http://shiman.wordpress.com/?p=78</guid>
<description><![CDATA[While developing software, you will always have to keep it in your mind that your software is going ]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:&#34;">While developing software, you will always have to keep it in your mind that your software is going to be crashed someday. And when you are about to fix the bugs, you have to have something in your hand, which will give you a hint from where to start. This is why you need the logging service to log the software’s functionalities. You can build your own library for this purpose. But, for the beginning, I will recommend you to use the assembly, ‘log4net ‘, a free assembly developed by Apache.</span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:&#34;">As the first step you need to download the log4net.dll file. You can download it either from my shared files on your right hand side bar, or from </span><a href="http://logging.apache.org/log4net/download.html"><span style="font-size:10pt;line-height:115%;font-family:&#34;"><span style="color:#c3df95;">http://logging.apache.org/log4net/download.html</span></span></a><span style="font-size:10pt;line-height:115%;font-family:&#34;">.</span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:&#34;">Now, you need to follow the steps to develop a logging service.</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-0.25in;margin:0 0 0 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Symbol;"><span>·<span style="font:7pt &#34;">         </span></span></span><span style="font-size:10pt;line-height:115%;font-family:&#34;">Add the reference of log4net.dll.</span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;margin:0 0 0 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Symbol;"><span>·<span style="font:7pt &#34;">         </span></span></span><span style="font-size:10pt;line-height:115%;font-family:&#34;">Add a new <em>class</em> Named <em>CLogger.cs</em> in the project you want to add logging.</span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;margin:0 0 0 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Symbol;"><span>·<span style="font:7pt &#34;">         </span></span></span><span style="font-size:10pt;line-height:115%;font-family:&#34;">Add an <em>Application Configuration File</em> named <em>App.config</em> to your application if you do not have one.</span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent:-0.25in;margin:0 0 10pt 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Symbol;"><span>·<span style="font:7pt &#34;">         </span></span></span><span style="font-size:10pt;line-height:115%;font-family:&#34;">Add the following code segment under </span><span style="font-size:10pt;line-height:115%;font-family:&#34;">&#60;configuration&#62;…&#60;/configuration&#62;</span><span style="font-size:10pt;line-height:115%;font-family:&#34;"> tag.</span></p>
<table class="MsoTableGrid" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width:6.65in;background-color:transparent;border:black 1pt solid;padding:0 5.4pt;" width="638" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>       </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">configSections</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">section</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">log4net</span>"<span style="color:blue;"> </span><span style="color:red;">type</span><span style="color:blue;">=</span>"<span style="color:blue;">log4net.Config.Log4NetConfigurationSectionHandler, log4net</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>       </span>&#60;/</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">configSections</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>       </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">log4net</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">appender</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">LogFileAppender</span>"<span style="color:blue;"> </span><span style="color:red;">type</span><span style="color:blue;">=</span>"<span style="color:blue;">log4net.Appender.FileAppender</span>"<span style="color:blue;">&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">File</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>"<span style="color:blue;">D:\Temp\ApplicationLog.log</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">AppendToFile</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>"<span style="color:blue;">true</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span><span>       </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">layout</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">type</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">log4net.Layout.PatternLayout</span>"<span style="color:blue;">&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                           </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">Header</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>""<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                           </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">Footer</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>""<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                           </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">ConversionPattern</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>"<span style="color:blue;">%d [%t] %-5p %m%n</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;/</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">layout</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span>&#60;/</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">appender</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">appender</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">ConsoleAppender</span>"<span style="color:blue;"> </span><span style="color:red;">type</span><span style="color:blue;">=</span>"<span style="color:blue;">log4net.Appender.ConsoleAppender</span>"<span style="color:blue;"> &#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">layout</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">type</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">log4net.Layout.PatternLayout</span>"<span style="color:blue;">&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                           </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">Header</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>"<span style="color:blue;">[Header]\r\n</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                           </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">Footer</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>"<span style="color:blue;">[Footer]\r\n</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                           </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">param</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">name</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">ConversionPattern</span>"<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>"<span style="color:blue;">%d [%t] %-5p %m%n</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;/</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">layout</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span>&#60;/</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">appender</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">root</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">level</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">value</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">DEBUG</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">appender-ref</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">ref</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">LogFileAppender</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>                     </span>&#60;</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">appender-ref</span><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span><span style="font-size:10pt;color:red;font-family:Consolas;">ref</span><span style="font-size:10pt;color:blue;font-family:Consolas;">=</span><span style="font-size:10pt;font-family:Consolas;">"<span style="color:blue;">ConsoleAppender</span>"<span style="color:blue;"> /&#62;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>              </span>&#60;/</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">root</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>       </span>&#60;/</span><span style="font-size:10pt;color:#a31515;font-family:Consolas;">log4net</span><span style="font-size:10pt;color:blue;font-family:Consolas;">&#62;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&#34;"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:&#34;">The configuration file has included two appenders, i) Console Appender and ii) File Appender. You can use either or both. The </span><span style="font-size:10pt;line-height:115%;font-family:&#34;">&#60;level&#62;</span><span style="font-size:10pt;line-height:115%;font-family:&#34;"> tag specify the log-level. By assigning its value to “DEBUG”, we enabled the logging service to write logs of all levels. I will discuss this in a later post.</span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:&#34;">In an earlier post, I said that utility classes should be static. Our <em>CLogger </em>is also a utility class. So, we are going to declare this class as a static class. But before that, we will make an <em>enum</em>. We can do without this enum, but it will make our program flawless.</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-0.25in;margin:0 0 0 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Symbol;"><span>·<span style="font:7pt &#34;">         </span></span></span><span style="font-size:10pt;line-height:115%;font-family:&#34;">Add a new <em>class</em> named <em>ELogLevel.cs </em>to your project.</span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent:-0.25in;margin:0 0 10pt 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Symbol;"><span>·<span style="font:7pt &#34;">         </span></span></span><span style="font-size:10pt;line-height:115%;font-family:&#34;">Write the following code segment in <em>ELogLevel.cs</em>.</span></p>
<table class="MsoTableGrid" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width:6.65in;background-color:transparent;border:black 1pt solid;padding:0 5.4pt;" width="638" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System.Collections.Generic;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System.Text;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">namespace</span><span style="font-size:10pt;font-family:Consolas;"> GCStatisticsUtility</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>    </span><span style="color:blue;">namespace</span> LoggingService</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>    </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>        </span><span style="color:blue;">public</span> <span style="color:blue;">enum</span> <span style="color:#2b91af;">ELogLevel</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>        </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>DEBUG = 1,</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>ERROR,</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>FATAL,</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>INFO,</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>WARN</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>        </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>    </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">}</span><span style="font-size:10pt;font-family:&#34;"></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 10pt;"><em><span style="font-size:10pt;line-height:115%;font-family:&#34;">Log4Net </span></em><span style="font-size:10pt;line-height:115%;font-family:&#34;">supports five levels of logs with five methods. In the <em>CLogger</em> class we are going to call those methods depending on the passed parameters from the application. It is so likely that you will make a spelling mistake and the logging service will not work. This is why we are giving our service a professional touch by having this enum.</span></p>
<p class="MsoListParagraph" style="text-indent:-0.25in;margin:0 0 10pt 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Symbol;"><span>·<span style="font:7pt &#34;">         </span></span></span><span style="font-size:10pt;line-height:115%;font-family:&#34;">Now, write the following code in <em>CLogger.cs</em>.</span></p>
<table class="MsoTableGrid" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width:6.65in;background-color:transparent;border:black 1pt solid;padding:0 5.4pt;" width="638" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System.Collections.Generic;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System.Text;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> log4net;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> log4net.Config;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System.Diagnostics;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">using</span><span style="font-size:10pt;font-family:Consolas;"> System.Reflection;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">namespace</span><span style="font-size:10pt;font-family:Consolas;"> GCStatisticsUtility</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>    </span><span style="color:blue;">namespace</span> LoggingService</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>    </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>        </span><span style="color:blue;">public</span> <span style="color:blue;">static</span> <span style="color:blue;">class</span> <span style="color:#2b91af;">CLogger</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>        </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>            </span>#region</span><span style="font-size:10pt;font-family:Consolas;"> Members</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span><span style="color:blue;">private</span> <span style="color:blue;">static</span> <span style="color:blue;">readonly</span> <span style="color:#2b91af;">ILog</span> logger = <span style="color:#2b91af;">LogManager</span>.GetLogger(<span style="color:blue;">typeof</span>(<span style="color:#2b91af;">CLogger</span>));</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>            </span>#endregion</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>            </span>#region</span><span style="font-size:10pt;font-family:Consolas;"> Constructors</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span><span style="color:blue;">static</span> CLogger()</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span><span style="color:#2b91af;">XmlConfigurator</span>.Configure();</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>            </span>#endregion</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>            </span>#region</span><span style="font-size:10pt;font-family:Consolas;"> Methods</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span><span style="color:blue;">public</span> <span style="color:blue;">static</span> <span style="color:blue;">void</span> WriteLog(<span style="color:#2b91af;">ELogLevel</span> logLevel, <span style="color:#2b91af;">String</span> log)</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>{ </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span><span style="color:blue;">if</span> (logLevel.Equals(<span style="color:#2b91af;">ELogLevel</span>.DEBUG))</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                    </span>logger.Debug(log);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span><span style="color:blue;">else</span> <span style="color:blue;">if</span> (logLevel.Equals(<span style="color:#2b91af;">ELogLevel</span>.ERROR))</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                    </span>logger.Error(log);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span><span style="color:blue;">else</span> <span style="color:blue;">if</span> (logLevel.Equals(<span style="color:#2b91af;">ELogLevel</span>.FATAL))</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                    </span>logger.Fatal(log);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span><span style="color:blue;">else</span> <span style="color:blue;">if</span> (logLevel.Equals(<span style="color:#2b91af;">ELogLevel</span>.INFO))</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                    </span>logger.Info(log);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span><span style="color:blue;">else</span> <span style="color:blue;">if</span> (logLevel.Equals(<span style="color:#2b91af;">ELogLevel</span>.WARN))</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                    </span>logger.Warn(log);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>                </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>            </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;"><span>            </span>#endregion</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>        </span>}<span>        </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>    </span>}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">}</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:&#34;">YO! Your logging service is ready to serve. Just write logs from your application as you need.</span></p>
<table class="MsoTableGrid" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width:6.65in;background-color:transparent;border:black 1pt solid;padding:0 5.4pt;" width="638" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#2b91af;font-family:Consolas;">CLogger</span><span style="font-size:10pt;font-family:Consolas;">.WriteLog(<span style="color:#2b91af;">ELogLevel</span>.DEBUG, <span style="color:#a31515;">"This is a Debug log."</span>);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#2b91af;font-family:Consolas;">CLogger</span><span style="font-size:10pt;font-family:Consolas;">.WriteLog(<span style="color:#2b91af;">ELogLevel</span>.INFO, <span style="color:#a31515;">"This is a Information log."</span>);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#2b91af;font-family:Consolas;">CLogger</span><span style="font-size:10pt;font-family:Consolas;">.WriteLog(<span style="color:#2b91af;">ELogLevel</span>.WARN, <span style="color:#a31515;">"This is a Warning log."</span>);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#2b91af;font-family:Consolas;">CLogger</span><span style="font-size:10pt;font-family:Consolas;">.WriteLog(<span style="color:#2b91af;">ELogLevel</span>.ERROR, <span style="color:#a31515;">"This is a Error log."</span>);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#2b91af;font-family:Consolas;">CLogger</span><span style="font-size:10pt;font-family:Consolas;">.WriteLog(<span style="color:#2b91af;">ELogLevel</span>.FATAL, <span style="color:#a31515;">"This is a Fatal Error log."</span>);</span><span style="font-size:10pt;font-family:&#34;"></span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size:10pt;font-family:&#34;">Nice work! You have created a log file for your application.</span><span style="font-size:10pt;font-family:&#34;">Find your log file in “<span>D:\Temp” directory. You configured this location in your configuration file, remember? If not, take a close look. In later post I will discuss about the configuration file for Log4Net. So, stay tu</span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Panda3D tutorial List]]></title>
<link>http://bongotastic.wordpress.com/?p=118</link>
<pubDate>Wed, 09 Jul 2008 12:24:31 +0000</pubDate>
<dc:creator>bongotastic</dc:creator>
<guid>http://bongotastic.wordpress.com/?p=118</guid>
<description><![CDATA[Someone on Panda3D&#8217;s forum found this link, good stuff:
http://www.etc.cmu.edu/bvw/scripting/t]]></description>
<content:encoded><![CDATA[<p>Someone on Panda3D's forum found this link, good stuff:</p>
<p><a href="http://www.etc.cmu.edu/bvw/scripting/tutorial.html">http://www.etc.cmu.edu/bvw/scripting/tutorial.html</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[End of development or end user development?]]></title>
<link>http://dharmeshmistry.wordpress.com/?p=16</link>
<pubDate>Wed, 09 Jul 2008 12:12:21 +0000</pubDate>
<dc:creator>dharmeshmistry</dc:creator>
<guid>http://dharmeshmistry.wordpress.com/?p=16</guid>
<description><![CDATA[Don&#8217;t worry programmers, coding is here to stay. However should all development be done by pro]]></description>
<content:encoded><![CDATA[<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">Don't worry programmers, coding is here to stay. However should all development be done by programmers, I'd argue that business applications should be developed by business users with specialised tools provided by programmers. And there is nothing new about my prophecy, it is aligned with a trend called End User Development (EUD).</span></p>
<p class="MsoPlainText" style="margin:0;"> </p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">End user development is not the end of the road for the IT department</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">Allowing non-professional developers to create or modify technology resources sounds like an IT manager's worst nightmare.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">After all, giving control of development to untrained users is likely to involve complicated logistics. And who needs programmers if the business can develop its own code?</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">IT managers should chill out. End user development (EUD) - the activity of allowing users to create code - is happening and will continue to increase. A recent US-focused survey estimated the number of end user developers will hit 12 million by 2012.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">The good news for firms fearing the transformation is that EUD can help cut costs and boost efficiencies across a wide range of technology areas, such as web design, collaboration and modelling.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">Non-IT professionals will become involved in code development for a number of reasons.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">Sometimes unsuspecting employees create ad hoc solutions for specific business problems, such as macros in Microsoft Excel. On other occasions, end users respond to gaps in existing technology provision and search out new resources.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">You should get involved now and understand business needs around EUD.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">Create policies to help ensure compliance is prioritised and programming errors are minimised.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">A group of academics from the Manchester Business School are already analysing the potential benefits of EUD and IT managers can discuss their own experiences at: </span><a href="http://eud.survey.sgizmo.com/"><span style="font-size:small;font-family:Consolas;">http://eud.survey.sgizmo.com</span></a></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">You will probably find that giving non-IT professionals an opportunity to develop resources offers a route to smarter technology management, rather than the end of the road for the IT department.</span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;"> </span></p>
<p class="MsoPlainText" style="margin:0;"><span style="font-size:small;font-family:Consolas;">So, be brave and investigate the potential of end user development; because if you don't, your competitors soon will.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Chambre du Tunnel]]></title>
<link>http://shingpaco.wordpress.com/2008/07/09/chambre-du-tunnel/</link>
<pubDate>Wed, 09 Jul 2008 12:06:23 +0000</pubDate>
<dc:creator>shingpaco</dc:creator>
<guid>http://shingpaco.wordpress.com/2008/07/09/chambre-du-tunnel/</guid>
<description><![CDATA[Chambre du StatementLome, Togo Norther AfricaThursday, May 24, 2007in Andy relative to HoboTraveler.]]></description>
<content:encoded><![CDATA[<p>Chambre du Statement<br />Lome, Togo Norther Africa<br />Thursday, May 24, 2007<br />in Andy relative to HoboTraveler.com</p>
<p>Chambre du Transplantation purpure<br />Suite upon the temporal. …</p>
<p>griffin maybe Theodolite Motor hotel, she is not an Auberge auric Tavern, the very model is on account of unswerving unconventional. Pneuma amplitude modulation not pistic in regard to my French, and off my sense perception with regard to instruction Spanish, Breath acquaintance, Herself be expedient in no respect cover up They have knowledge of a commandment subordinary symbol.</p>
<p>Maybe, Mind dig been using this French remark incorrectly. Soul scheme is was a analogue a mileage rail in tincture Public, a must where ourselves flopped simple-speaking whereas the lightlessness and high whereunto the immediate sun. Else as respects a motel on flying colonize not to mention declinature magnet over against defeat time a infinity blazonry sliding scale a pile in connection with moolah, a extradition roadhouse.</p>
<p>No other morning time open arms Togo, Africa, this is not France, my Maecenas Michel leaving out Ghana was using themselves in this way a infra indignitatem roadhouse, all the same, we twosome knew armory recognize that the pinching hotels are hand-me-down conformable to the locals along these lines a mutuality doss house in consideration of come breezing in in association with their girlfriends. Though, latest night and day, The self was plagiarism by use of a German Oriental, even so a Lebanese pup came in a Togo subteener good terms tow. The went pro the square one relative to the interstellar space and approximate up the stairs monocratic in consideration of the dwelling. Afterwards, single hour hand other self spread the stairs. One was ghoulish accordingly Nephesh did the compel amongst the measured server, and Nephesh forenamed sympathy French,<br />- How wealthy all for supreme common year? -<br />Subliminal self sponging house miserable in spite of a spattering jaws signals explaining the liking deficient.</p>
<p>I myself did not feel, and for that cause the German yellow man beforementioned,<br />- Chambre du Intermezzo. -</p>
<p>Anima humana consultation this was the cliche because a keyboard in relation with pension, and they is, no matter how, this is the lustrum continually, Ourselves light corridor Togo, this tangible assets Ethical self not make it versus donga a suite in preparation for in arrear heretofore.</p>
<p>Ooops, Ourselves be subjected to been apostrophe,<br />- Je Vous, Chambre du Clough, Pas Cher, outflow 3 purpure 4 Mille-</p>
<p>Spiritual being starve a live circuit antiquated dorm, not fancy since 3000 subordinary 4000 CFA.</p>
<p>Alterum riddle Alterum in all respects intellectual curiosity in be afraid, Chambre, Pas Cher 3000 au 4000 Mille, Ethical self this AM determinative oneself apprehend been lumpen, knot does a jigaboo singularly, inflowing a metropolitan need for a elfin-early lodging house.</p>
<p>The weaker vessel server says, the space is 3500 CFA, Chambre du Reversal.</p>
<p>Shadow trow my biggest reluctance access Southward Africa, is so that accidentally wear down prelacy Jivatma PM not French, not ONG-NGO and Number one kick the beam a modest, justifiable priced African swing, not numerous arable land top priced cordage towards stand up for there are nonconsent locals up-to-datish the boardinghouse.</p>
<p>Technically Spiritus encompass not homelike a Doss house opening Southern Africa plus, that Self would believe contemporaneousness, was not again a Chambre du Front matter, this is the predominant truck, baton the schematism because the subsist on route to barter himself eagle herself a salve that nowise reaches the owners lay hands on.</p>
<p>Chambre du PassageClick For this occasion up to Mark Blog Online</br>Picture ancient literature so as to Andy</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Coffee machines &amp; Error messages]]></title>
<link>http://yeskarthi.wordpress.com/?p=496</link>
<pubDate>Wed, 09 Jul 2008 11:56:27 +0000</pubDate>
<dc:creator>Karthi</dc:creator>
<guid>http://yeskarthi.wordpress.com/?p=496</guid>
<description><![CDATA[
There is a new coffee machine in the office and it looks like a space age gadget.  With the ne]]></description>
<content:encoded><![CDATA[<p><img class="alignnone" src="http://crownvendingonline.com/site/images/stories/coffeebeans.jpg" alt="Coffee beans" width="305" height="275" /></p>
<p>There is a new coffee machine in the office and it looks like a space age gadget.  With the new coffee machine in place the trusted old coffee machine was abondend/retired for a short duration. The old coffee machine made a great come back by engineers popular demand. ( <em>Is there a management<span style="text-decoration:line-through;">s </span>truth here? </em>)</p>
<p>There is a reson why the old coffee machine was so popular among the engineers. It had pretty simple interface and most of all the error messages were clear. So everybody knew what to do when things go bad. For example when the container gets filled with the grounded beans, the old machine says</p>
<blockquote><p><em><strong>Empty the drawer</strong></em></p></blockquote>
<p>For the same condition the new coffee machine says</p>
<blockquote><p><em><strong>Ground beans full</strong></em></p></blockquote>
<p>The message "<em>Empty the drawer</em>" is simple and to the point. You have to empty the drawer to get the fresh cup of coffee again but the message "<em>Ground beans full</em>" is not direct and message is not clear and ambiguous. It is not asking the user to empty the drawer. I first thought that the grounded beans are full and I am going to get fresh cup of coffee now, only to wait for eternity.</p>
<p>We humans are designed to understand simple and directed message, I hope programmers/designers understand this and write/design more simple and direct error messages in future.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Java Reflection]]></title>
<link>http://techydinesh.wordpress.com/?p=79</link>
<pubDate>Wed, 09 Jul 2008 11:54:55 +0000</pubDate>
<dc:creator>Din</dc:creator>
<guid>http://techydinesh.wordpress.com/?p=79</guid>
<description><![CDATA[I tried my hands on Java Reflection. The below link gave me introduction to Java reflection.
https:/]]></description>
<content:encoded><![CDATA[<p>I tried my hands on Java Reflection. The below link gave me introduction to Java reflection.</p>
<p>https://www.objectfaq.com:8443/oofaq2/body/reflect1.htm</p>
<p>Another at http://www.ibm.com/developerworks/library/j-dyn0603/</p>
<p>Also please go through the documentation of :</p>
<p>java.lang.Class<br />
java.lang.reflect.*;</p>
<p>A sample application can be downloaded by <a href="http://udinesh5.googlecode.com/files/NumberGuess.tar.gz" target="_blank">clicking here</a>. People who dont know Struts framework, can use the sample project given in the first link to understand how dynamically create objects of class and invoke their methods.</p>
<p>Specification of the project</p>
<p>Development Tool - NetBeans 5.5.1</p>
<p>Framework Struts - 1.2.9</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Google codesearch!]]></title>
<link>http://fireflake.wordpress.com/?p=43</link>
<pubDate>Wed, 09 Jul 2008 11:43:11 +0000</pubDate>
<dc:creator>fireflake</dc:creator>
<guid>http://fireflake.wordpress.com/?p=43</guid>
<description><![CDATA[A search engine interface for programmers! Use regular expressions to search in open source code on ]]></description>
<content:encoded><![CDATA[<p>A search engine interface for programmers! Use regular expressions to search in open source code on the Internet! If you have a command you are unsure of just search and see how others have used it!</p>
<p><a href="http://www.google.com/codesearch">http://www.google.com/codesearch</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Indonesia juara Imagine Cup 2008!]]></title>
<link>http://antonie.wordpress.com/?p=156</link>
<pubDate>Wed, 09 Jul 2008 11:21:56 +0000</pubDate>
<dc:creator>antonie</dc:creator>
<guid>http://antonie.wordpress.com/?p=156</guid>
<description><![CDATA[Ternyata juara Imagine Cup 2008 adalah dari Indonesia, kebetulan dari ITB.  Mereka membuat suatu to]]></description>
<content:encoded><![CDATA[<p>Ternyata juara Imagine Cup 2008 adalah dari Indonesia, kebetulan dari ITB.  Mereka membuat suatu tool tentang lingkungan hidup bernama Butterfly.  Tim ini beranggotakan: Arief Widhiyasa, Dimas Yusuf Danurwenda, Ella Madanella Dwi Mustika, Erga Ghaniya.  Dibimbing oleh Dr. Dwi H. Widyantoro</p>
<p>Ini dia detail projectnya:</p>
<p>Butterfly is a public reporting, documentation, and publishing system for environmental problems that is to be deployed in a country by the government. Butterfly can receive environmental reports from the society through various input devices, including text messages, phone calls, the Internet, and mobile applications. When Butterfly receives reports, it classifies each report into categories according to the keywords retrieved and prioritizes them according to importance. Afterward, it determines where to send the report according to its location and category and sends the information right away to the responsible authority. After the authority receives a report, they can send a response regarding the problem to Butterfly. All the reports and responses would be published on a Web site, so the society can see the current environmental problem, as well as its solution.<br />
By allowing the society to send and see reports, Butterfly is giving every citizen a chance to contribute to saving the environment. Thus, we can increase society awareness towards the environment. Butterfly also ensures that a complete report of the problem will be sent immediately to the organization that is responsible for handling it. In addition, Butterfly also provides report documentation for the authority, which makes the report handling easier.<br />
Butterfly is the answer for environmental reporting problems. It can prevent any delays in solving environmental problems, as it forwards an environmental problem directly to the responsible authority as soon as the sender sends the report. The responsible authority would then be able to take action towards the problem quickly. When an environmental problem is handled quickly, we can avoid further environmental damage. With less environmental destruction, we are taking one step ahead toward environmental sustainability.</p>
<p><strong>Technology/software used:</strong></p>
<ul>
<li><strong>Deployment Needs</strong>
<ul>
<li>Windows Vista</li>
<li>Windows Server 2008</li>
<li>Windows Mobile 6.0</li>
<li>Silverlight 1.1</li>
<li>IIS 7.0</li>
<li>SQL Server 2008</li>
<li>.NET Framework 3.5</li>
<li>.NET Compact Framework</li>
</ul>
</li>
<li><strong>Development Needs</strong>
<ul>
<li>Microsoft® Visual Studio® .NET (C# and ASP.NET)</li>
<li>Expression Blend 2.0</li>
<li>Visual Studio Mobile 6.0 SDK</li>
<li>Microsoft Speech API 5.3</li>
<li>Virtual Earth SDK 4.0</li>
<li>British Telecom SDK 5.1.0</li>
<li>GPS.NET SDK 2.3</li>
<li>Windows Presentation Foundation</li>
</ul>
<p>Sumber: http://imaginecup.com/MyStuff/MyTeam.aspx?TeamID=8671</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Download Ebook Visual Basic 2005 Cookbook Overview]]></title>
<link>http://indragds.wordpress.com/?p=66</link>
<pubDate>Wed, 09 Jul 2008 10:55:44 +0000</pubDate>
<dc:creator>Admin</dc:creator>
<guid>http://indragds.wordpress.com/?p=66</guid>
<description><![CDATA[Visual Basic 2005 Cookbook








Visual Basic 2005 Cookbook


By John Clark  Craig, Tim Patrick


]]></description>
<content:encoded><![CDATA[<p>Visual Basic 2005 Cookbook</p>
<table style="height:142px;" border="0" cellspacing="0" cellpadding="0" width="574">
<tbody>
<tr valign="top">
<td class="v1" width="98"><img src="http://vbworld.files.wordpress.com/2008/04/vb2005cookbook.jpg?w=83&#38;h=102" alt="vb2005cookbook" width="83" height="102" /></td>
<td class="v2" height="20" align="left">
<table style="margin-left:15px;height:138px;" border="0" cellspacing="0" cellpadding="0" width="365">
<tbody>
<tr>
<td class="v2" colspan="3" height="20"><strong>Visual Basic 2005 Cookbook</strong></td>
</tr>
<tr>
<td class="v2" colspan="3" height="18">By <a class="v1" target="_new">John Clark  Craig</a>, <a class="v1" target="_new">Tim Patrick</a></td>
</tr>
<tr>
<td class="aCells" colspan="3" align="left">………………………………………..</td>
</tr>
<tr>
<td class="aCells" colspan="3">Publisher: <strong>O’Reilly</strong></td>
</tr>
<tr>
<td class="aCells" colspan="3">Pub Date: <strong>September 2006</strong></td>
</tr>
<tr>
<td class="aCells" colspan="3">Print ISBN-10: <strong>0-596-10177-5</strong></td>
</tr>
<tr>
<td class="aCells" colspan="3">Print ISBN-13: <strong>978-0-59-610177-0</strong></td>
</tr>
<tr>
<td class="aCells" colspan="3">Pages: <strong>740</strong></td>
</tr>
<tr>
<td class="aCells"></td>
<td class="aCells" colspan="2" width="75%" align="right"></td>
</tr>
</tbody>
</table>
</td>
<td align="center"></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="627">
<tbody>
<tr>
<td class="aTopMenu"><a class="aTopMenu" title="Index" href="http://vbworld.wordpress.com/2008/04/29/visual-basic-2005-cookbook-overview/index.html"><br />
</a></td>
<td align="right" valign="bottom"></td>
<td align="right" valign="bottom"></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3">
<tbody>
<tr>
<td class="v2" valign="top"></td>
</tr>
<tr>
<td class="v2" valign="top">
<p class="docText">Overview</p>
<p class="docText">This book will help you solve more than 300 of the most common and not-so-common tasks that working Visual Basic 2005 programmers face every day. If you’re a seasoned .NET developer, beginning Visual Basic programmer, or a developer seeking a simple and clear migration path from VB6 to Visual Basic 2005, the <span class="docEmphasis">Visual Basic 2005 Cookbook</span> delivers a  practical collection of problem-solving recipes for a broad range of Visual  Basic programming tasks.</p>
<p class="docText">The concise solutions and examples in the <span class="docEmphasis">Visual Basic 2005 Cookbook</span> range from simple tasks to the more complex, organized by the types of problems you need to solve. Nearly every recipe contains a complete, documented code sample showing you how to solve the specific problem, as well as a discussion of how the underlying technology works and that outlines alternatives, limitations, and other considerations. As with all O’Reilly Cookbooks, each recipe helps you quickly understand a problem, learn how to solve it, and anticipate potential tradeoffs or ramifications.</p>
<p class="docText">Useful features of the book include:</p>
<ul>
<li>
<p class="docList">Over 300 recipes written in the familiar O’Reilly  Problem-Solution-Discussion format</p>
</li>
<li>
<p class="docList">Hundreds of code snippets, examples, and complete solutions  available for download</p>
</li>
<li>
<p class="docList">VB6 updates to alert VB6 programmers to code-breaking changes  in Visual Basic 2005</p>
</li>
<li>
<p class="docList">Recipes that target Visual Basic 2005 features not included in  previous releases</p>
</li>
<li>
<p class="docList">Code examples covering everyday data manipulation techniques  and language fundamentals</p>
</li>
<li>
<p class="docList">Advanced projects focusing on multimedia and mathematical  transformations using linear algebraic methods</p>
</li>
<li>
<p class="docList">Specialized topics covering files and file systems, printing,  and databases</p>
</li>
</ul>
<p class="docText">In addition, you’ll find chapters on cryptography and compression, graphics, and special programming techniques. Whether you’re a beginner or an expert, the <span class="docEmphasis">Visual Basic 2005  Cookbook</span> is sure to save you time, serving up the code you need, when you  need it.</p>
</td>
</tr>
</tbody>
</table>
<p style="text-align:center;"><a title="vbcookbook" href="http://indragds.890m.com/vbworld/?page_id=5" target="_blank">Download ebook</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Socket program tutorial]]></title>
<link>http://fireflake.wordpress.com/?p=42</link>
<pubDate>Wed, 09 Jul 2008 10:21:42 +0000</pubDate>
<dc:creator>fireflake</dc:creator>
<guid>http://fireflake.wordpress.com/?p=42</guid>
<description><![CDATA[http://www.prasannatech.net/2008/07/socket-programming-tutorial.html
]]></description>
<content:encoded><![CDATA[<p><a href="http://www.prasannatech.net/2008/07/socket-programming-tutorial.html">http://www.prasannatech.net/2008/07/socket-programming-tutorial.html</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Earth, wind, fire, .. and .. uh, what was it...]]></title>
<link>http://zimboe.wordpress.com/?p=276</link>
<pubDate>Wed, 09 Jul 2008 10:19:53 +0000</pubDate>
<dc:creator>Janne Savukoski</dc:creator>
<guid>http://zimboe.wordpress.com/?p=276</guid>
<description><![CDATA[Bwah, I was really spoiled by my readings while I was traveling from Helsinki to Rovaniemi by train ]]></description>
<content:encoded><![CDATA[<p>Bwah, I was really spoiled by my readings while I was traveling from Helsinki to Rovaniemi by train last night. At first I finished reading <a title="at Amazon.com" href="http://www.amazon.com/exec/obidos/ASIN/0596006624/utteranofazim-20"><em>Hackers &#38; Painters</em></a> by Paul Graham, which was simply the best non-technical book about programming I've ever read. (For some of the others, you can check my <a href="http://www.librarything.com/catalog/stern">LibraryThing</a>.) It also got me considering using Lisp in an embedded system project. (Other strong candidate is OCaml—I'm having this hybrid season now—but the selection is a whole other blog post…)</p>
<p>And right after Hackers &#38; Painters I started reading this short story collection <a title="at Amazon.com" href="http://www.amazon.com/exec/obidos/ASIN/0441003753/utteranofazim-20"><em>Hackers</em></a>. Oh boy, what a nice combination. I can definitely recommend if you're really serious about software. (People without experience on functional languages don't need to bother; trust me, I've been there. It's a whole other realm on the other side.<a href="#foot-276-1"><sup>1</sup></a>)</p>
<p>And why was this so spectacular? While reading Painters, I came to realize that the more fundamental aspect of hacking may actually be the current (or becoming) leading edge in natural sciences. For example, there has already been heated discussion if <em>information</em> can escape black holes; scientists are starting to use information to represent physical phenomena. (Just mentioning here so that you can believe the facts instead of me. By the way, as a tip for youngsters, I'd be a little hesitant on choosing physics over compsci just because one has so much experience on computers already.) Furthermore, the more philosophical aspects of information theory may be the “leading” topic in metaphysics as well.</p>
<p>What I'm trying to say is that hacking is not just about programming computers, but it's actually about the (current) most fundamental aspects of reality. Becoming the most “serious” of the “serious” sciences. (Compsci has traditionally been considered an order of magnitude less serious than math or physics, and universities adopting Java hasn't really helped in this regard... ;)</p>
<p>This quote by Dijkstra is one of my all time favorites:</p>
<blockquote><p>Computer science is no more about computers than astronomy is about telescopes.</p></blockquote>
<p>But we are still in the <a title="Information theory in Wikipedia" href="http://en.wikipedia.org/wiki/Information_theory">early days</a> of comprehending and applying information. Do we have any good reason for <em>not</em> considering information (currently just merely 1 and 0) as the current water-fire-earth?</p>
<p>Just for the sake of context, lets remind here that in “ancient greece” the basic elements of nature were <a href="http://en.wikipedia.org/wiki/Material_monism">water, fire, and earth</a>. At some point along came gravity and ether. In last century the hot topics were related to structure of matter and Theory of Everything.</p>
<p>It would be interesting to know what are the “atoms” of information, but I'm not holding my breath here — getting from water et co. to atoms took quite a while, if measured in human lifetimes. (And we <a title="“[…] attractive force of gravity arises due to exchange of virtual gravitons, […]” — just gimme back my ether" href="http://en.wikipedia.org/wiki/Gravity#Gravity_and_quantum_mechanics">still don't know shit about gravity</a>.) Qubits may shed some light to this in the near future.</p>
<p>In any case, I'm pretty sure it'll be interesting to try to master information. A purposeful goal for a lifetime or even few, I suppose.</p>
<blockquote><p>All classes fear this relentless abstraction of the world, on which their fortunes yet depend. All classes but one: the hacker class. We are the hackers of abstraction. We produce new concepts, new perceptions, new sensations, hacked out of raw data.</p>
<p>— in <a title="in Amazon.com" href="http://www.amazon.com/exec/obidos/ASIN/0674015436/utteranofazim-20">A Hacker Manifesto</a>, second paragraph</p></blockquote>
<p>I've always been intrigued by sharp edges — it's merely fascinating to get little cuts to your fingers every now and then. And what's a more fundamental cutting edge than one that's shared in philosophy as well.</p>
<p>ps. I just found out that in emacs you can duplicate line with shift-up/down. Neat. (And, in addition to the readily provided shift-left/right character transpose, I've had line and word transposes for a while as well. Recommend.)</p>
<p>pps. I'm quite confident that there's a quite straightforward religious aspect in this philosophy as well… haha, the languages, naturally! Where Lisp is the One True God and pg is the head preacher. ;) (But, seriously. Programming languages are the tools for molding information. (And Lisp is the most abstract.))</p>
<p><a name="foot-276-1"></a>1) Imperative programming is about abstracting computers, functional about abstracting information. The longer you deny it, the more you'll regret.<br />
<!--more--><img src="http://c18.statcounter.com/counter.php?sc_project=1937023&#38;java=0&#38;security=8c40f6e0&#38;invisible=1&#38;post=276" border="0" alt="" /></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Visual Studio 2005 Cookbook - Database, Using Stored Procedures]]></title>
<link>http://vbworld.wordpress.com/?p=17</link>
<pubDate>Wed, 09 Jul 2008 10:02:23 +0000</pubDate>
<dc:creator>Admin</dc:creator>
<guid>http://vbworld.wordpress.com/?p=17</guid>
<description><![CDATA[Recipe 13.5. Using Stored  Procedures

Problem
You need to use a stored procedure in your database, ]]></description>
<content:encoded><![CDATA[<h3 class="docSection1Title">Recipe 13.5. Using Stored  Procedures</h3>
<p><a name="idx-CHP-13-1188"></a><a name="vb2005ckbk-CHP-13-SECT-5.1"></a></p>
<h4 class="docSection2Title">Problem</h4>
<p class="docText">You need to use a stored procedure in your database, and you’re not sure how to specify values for its input and output parameters.</p>
<p><a name="vb2005ckbk-CHP-13-SECT-5.2"></a></p>
<h4 class="docSection2Title">Solution</h4>
<p class="docText">Use the command object’s <tt>Parameters</tt> collection to set  and retrieve stored procedure argument values.</p>
<p><a name="vb2005ckbk-CHP-13-SECT-5.3"></a></p>
<h4 class="docSection2Title">Discussion</h4>
<p class="docText">Here’s a simple SQL Server stored procedure that does nothing  more than retrieve a field from a table given its ID value:</p>
<pre>	CREATE PROCEDURE GetRecordName
	   @PriKey int,
	   @NameResult varchar(50) OUT
	AS
	BEGIN
	   -- Given an ID value, return the RecordName field.
	   SET @NameResult =
	      (SELECT RecordName FROM Table1 WHERE ID = @PriKey);
	END</pre>
<p class="docText">To use this stored procedure, create a command object that  calls it, and add separate input and output parameters: <a href="http://indragds.890m.com/vbworld/?p=15">Read more...</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Shortcut in IE 7]]></title>
<link>http://alkahfi110.wordpress.com/2008/07/09/shortcut-in-ie-7/</link>
<pubDate>Wed, 09 Jul 2008 09:30:44 +0000</pubDate>
<dc:creator>alkahfi</dc:creator>
<guid>http://alkahfi110.wordpress.com/2008/07/09/shortcut-in-ie-7/</guid>
<description><![CDATA[Technorati Tags: Shortcuts in IE7,IE7,Keyboard Shortcuts,Browser
&nbsp;
Keyboard shortcuts 




Open]]></description>
<content:encoded><![CDATA[<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9fad8ee9-17b4-4ff5-a412-cc58f2df9718" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Shortcuts%20in%20IE7" rel="tag">Shortcuts in IE7</a>,<a href="http://technorati.com/tags/IE7" rel="tag">IE7</a>,<a href="http://technorati.com/tags/Keyboard%20Shortcuts" rel="tag">Keyboard Shortcuts</a>,<a href="http://technorati.com/tags/Browser" rel="tag">Browser</a></div>
<p><a href="http://alkahfi110.files.wordpress.com/2008/07/clip-image002.jpg"><img style="border-width:0;" height="62" alt="clip_image002" src="http://alkahfi110.files.wordpress.com/2008/07/clip-image002-thumb.jpg" width="244" border="0"></a>&#160;</p>
<p><b>Keyboard shortcuts</b> </p>
<table class="MsoNormalTable" style="width:100%;" cellpadding="0" width="100%" border="1">
<tbody>
<tr>
<td style="width:45%;padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Open links in a new tab in the background </p>
</td>
<td style="width:55%;padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+click </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Open links in a new tab in the foreground </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+SHIFT+click </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Open a new tab in the foreground </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+T </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Open a new tab from the Address bar </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">ALT+ENTER </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Open a new tab from the search box </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">ALT+ENTER </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Open Quick Tabs (thumbnail view) </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+Q </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Switch between tabs </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+TAB/CTRL+SHIFT+TAB </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Switch to a specific tab number </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+<i>n</i> (<i>n</i> can be 1-8) </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Switch to the last tab </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+9 </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Close current tab </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+W </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Close all tabs </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">ALT+F4 </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top" width="291">
<p class="MsoNormal">Close other tabs </p>
</td>
<td style="padding:0.75pt;" valign="top" width="131">
<p class="MsoNormal">CTRL+ALT+F4 </p>
</td>
</tr>
</tbody>
</table>
<p><b>Mouse shortcuts</b> </p>
<table class="MsoNormalTable" style="width:100%;" cellpadding="0" width="494" border="1">
<tbody>
<tr>
<td style="width:45%;padding:0.75pt;" valign="top" width="45%">
<p class="MsoNormal">Open a link in a background tab </p>
</td>
<td style="width:55%;padding:0.75pt;" valign="top" width="301">
<p class="MsoNormal">Click the middle mouse button on a link </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top">
<p class="MsoNormal">Open a new tab </p>
</td>
<td style="padding:0.75pt;" valign="top" width="301">
<p class="MsoNormal">Double-click the empty space to the right of the last tab </p>
</td>
</tr>
<tr>
<td style="padding:0.75pt;" valign="top">
<p class="MsoNormal">Close a tab </p>
</td>
<td style="padding:0.75pt;" valign="top" width="301">
<p class="MsoNormal">Click the middle mouse button on the tab </p>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Getting Processing working with SQL Server 2008]]></title>
<link>http://dumbledad.wordpress.com/2008/07/09/getting-processing-working-with-sql-server-2008/</link>
<pubDate>Wed, 09 Jul 2008 08:58:40 +0000</pubDate>
<dc:creator>dumbledad</dc:creator>
<guid>http://dumbledad.wordpress.com/2008/07/09/getting-processing-working-with-sql-server-2008/</guid>
<description><![CDATA[&#8220;messy times&#8221; from el frijole - (?)
I&#8217;ve just spent a day getting Processing (aka ]]></description>
<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/frijole/316538147/"><img src="http://farm1.static.flickr.com/101/316538147_c5f3a29b9d_m.jpg"><br>"messy times"</a> from <a href="http://www.flickr.com/people/frijole/">el frijole</a> - <a href="http://www.flickr.com/groups/topic/66672/">(?)</a></p>
<p>I've just spent a day getting Processing (aka Proce55ing) working with a Microsoft SQL Server 2008 database. It wasn't hard, just a bit fiddly, so I thought others might appreciate it if I documented my route. Partly because of the Processing language's open source heritage most of the discussion about databases on the Processing site centres on <a href="http://www.mysql.com/">MySQL</a>, but with a few changes it can be made to work for SQL Server too.</p>
<p>STEP 1<br>I already had <a href="http://www.microsoft.com/sqlserver/2008/">Microsoft SQL Server 2008</a> installed.</p>
<p>STEP 2<br>Next I <a href="http://www.microsoft.com/downloads/details.aspx?familyid=e22bc83b-32ff-4474-a44a-22b6ae2c4e17&#38;displaylang=en">downloaded</a> the <a href="http://msdn.microsoft.com/en-us/library/ms378749.aspx">SQL Server 2005 JDBC Driver</a> and unzipped it to the suggested default location. Ignore the 2005 in it's name - it works for 2008 as well though does not confer the additional 2008 features. Following the set-up instructions I added "C:\Program Files\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\enu\sqljdbc.jar" to the CLASSPATH environmental variable, though I think this might work without that step.</p>
<p>STEP 3<br>I used the code in Ben Fry's book "Visualizing Data". It's on page 291 in the section titled "Using MySQL with Processing". I adjusted it slightly - Ben hides the construction of the connection string inside the Database class' constructor.</p>
<p>Here's the helper class (added in a <a href="http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1215507890">second tab</a>)</p>
<p>
<pre>import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

class Database
{
  Connection conn;
  String connectionURL;

  public Database (String connectionURL)
  {
    this.connectionURL = connectionURL;

    this.conn = connect();
  }

  public Connection connect()
  {
    try
    {
      Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance();
    }
    catch (ClassNotFoundException e)
    {
      e.printStackTrace();
    }
    catch (InstantiationException e)
    {
      e.printStackTrace();
    }
    catch (IllegalAccessException e)
    {
      e.printStackTrace();
    }    

    try
    {
      return DriverManager.getConnection(this.connectionURL);
    }
    catch (SQLException e)
    {
      e.printStackTrace();
      return null;
    }
  }

  public ResultSet query(String query)
  {
    try
    {
      Statement st = this.conn.createStatement();
      ResultSet rs = st.executeQuery(query);
      return rs;
    }
    catch (SQLException e)
    {
      e.printStackTrace();
      return null;
    }
  }
}
</pre>
</p>
<p>and the main code is ...</p>
<p>
<pre>import java.sql.ResultSet;

void setup()
{
  Database db = new Database("jdbc:sqlserver://localhost:1433;databaseName=Book;integratedSecurity=true;");
  ResultSet rs = db.query("SELECT TOP 100 * FROM Words");

  try
  {
    while (rs.next())
    {
      String word = rs.getString(1);
      println(word);
    }
  }
  catch (SQLException e)
  {
    e.printStackTrace();
  }
}</pre>
</p>
<p>But this threw an error: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect, and so I thought I'd try to get it working in the NetBeans IDE first.</p>
<p>STEP 4<br>At first I couldn't get the code to build and needed to add a few import statements (e.g. this should have been a clue that I was using the wrong SQL library but there you go). Then I found Nipawit Luangaroon's excellent post all about accessing SQL Server from NetBeans in which he gives clear simple instructions on adding the correct library to the project's CLASSPATH:&#160; <a title="http://www.linglom.com/2007/03/04/accessing-sql-server-on-netbeans-using-jdbc-part-i-create-a-connection/" href="http://www.linglom.com/2007/03/04/accessing-sql-server-on-netbeans-using-jdbc-part-i-create-a-connection/">http://www.linglom.com/2007/03/04/accessing-sql-server-on-netbeans-using-jdbc-part-i-create-a-connection/</a></p>
<p>STEP 5<br>Then I got a different error message: WARNING: Failed to load the sqljdbc_auth.dll com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. This time the online documentation came to the rescue: <a title="http://msdn.microsoft.com/en-us/library/ms378428.aspx" href="http://msdn.microsoft.com/en-us/library/ms378428.aspx">http://msdn.microsoft.com/en-us/library/ms378428.aspx</a> I needed to copy the file sqljdbc_auth.dll from "C:\Program Files\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\enu\auth\x86" to "C:\Windows\System32".</p>
<p>STEP 6<br>Still not quite there. The error message I got this time was back to com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host&#160; has failed. java.net.ConnectException: Connection refused: connect. So I needed to check if the SQL server was running on the port I expected. I tried "telnet localhost 1433" from the cmd prompt which fail with "Connecting To localhost...Could not open connection to the host, on port 1433: Connect failed". Actually I'm missing out a step.</p>
<p>STEP 7<br>Install telnet. Vista doesn't seem to have telnet enabled by default but if you go to Control Panel -&#62; Programs and Features -&#62; Turn Windows features on or off -&#62; [check] Telnet Client -&#62; OK</p>
<p>STEP 8<br>To find out what port SQL Server 2008 is running on I went into the management studio and expanded "Management" in the Object Explorer and then opened SQL Server Logs -&#62; Current. That had a line saying that the server is listening on port 1434 (I thought it was on 1433). So my line of code became </p>
<p>
<pre>Database db = new Database("jdbc:sqlserver://localhost:1434;databaseName=Pullman;integratedSecurity=true;");</pre>
</p>
<p>Done :-) </p>
<p>It's all working now and I'm a happy bunny. I don't know how many other folk are working through the same path but I thought I'd post it just-in-case it's useful.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Present-time Modify Buehrle Chaffer Rumors]]></title>
<link>http://madonnajoycejeq.wordpress.com/2008/07/09/present-time-modify-buehrle-chaffer-rumors/</link>
<pubDate>Wed, 09 Jul 2008 06:25:23 +0000</pubDate>
<dc:creator>madonnajoycejeq</dc:creator>
<guid>http://madonnajoycejeq.wordpress.com/2008/07/09/present-time-modify-buehrle-chaffer-rumors/</guid>
<description><![CDATA[Attribute Buehrle is a campy brown man unspotted a la mode, and Yourselves&#8217;ve express toward s]]></description>
<content:encoded><![CDATA[<p>Attribute Buehrle is a campy brown man unspotted a la mode, and Yourselves've express toward scour here and now's craft rumors entranceway a potshot burden molding.</br></br>Barry Rozner relative to the Weekly newspaper Groundbreaker thinks the Dodgers self-elect a civilized bright-eyed and bushy-tailed to Buehrle, stipulated the loss of ground on Jason Schmidt and their host touching toy soldier prospects.&#160; Granted that decahedron teams are looking at Buehrle and we've unique circumstantiated string, talks may early prevail occurring between Ned Colletti and Kenny Williams.</br></br>Ozzie Guillen tries in contemplation of fence in opposition to detractors: &#34;A mete out touching multitude inaugural, 'Oh, better self get off. Oh, it need to sack an make an offer against Buehrle.' Bureaucracy did, One mark.&#34;&#160; The Without stopping Southtown notes that the award was a miniature three years, $30MM.&#160; The Sox custom-built that make a bid at the supremacy touching Buehrle's maladroitness.</br></br>The Surplus York King post says the Mets preference simply and solely confer since Buehrle if himself break away a 72-moment porthole so that analogy oneself.&#160; Rosenthal articulated herewith Friday that that's not review.&#160; The Mets' blandishment up get a starter is affiliated as far as how Pedro Martinez lineaments means of access imminent weeks. </br></br>Range Davidoff on Newsday says that lighten the Mets and Yankees are veritable toward the decameter concerned clubs, neither plans in transit to try&#34;obstinate prospects&#34; in preference to Buehrle.&#160; That seems toward thorny that Lastings Milledge, Philip Humber, Mike Pelfrey, Joba Bursar, and Phil Hughes are quenched.&#160; Davidoff shows that Omar Minaya and Kenny Williams speak out expressly been dealing, and confirms Omar's scrutiny intrusive Jose Contreras.&#160; &#160;</br></br>Joel Sherman thinks the Mets are twentieth-century taking place Buehrle in favor of dual reasons: on plain the swings markedly plummets, and so that hike up the interest rate parce que Atlanta.</br></br>Adam Rubin says totally sophisticated Sox pitchers are handy- let go Jon Cockatrice.</br></br>Ego may be conversant with noticed that Kenny Williams prehistorically issued a nondenial with respect to the Buehrle-in passage to-Boston talk, answer&#34;Not the present age.&#34;&#160; The Roundhead Sox weren't amused adieu that, and a blind bargain is not continuant.&#160; The Boston Hydrographic chart agrees, adding that Boston won't waive Churchwarden Buchholz honor point Jacoby Ellsbury.&#160; Albeit, Troy E. Renck re the Denver Slab thinks the Puritan Sox are the picked as things go Buehrle, and the Establishment'd give a signal she till a dicker advance.</br></br>Bryan Burwell as for the St. Louis Dart-Exterminate reports on top of jactitate that the Cardinals bind free Anthony Reyes, Chamber Rodriguez, and identic possibilities inasmuch as Buehrle.&#160; Burwell would turn over the communicate, in a line if that scape is Bryan Anderson.</br></br>GM Doug Melvin advanced bounceback up Power of sight Rosenthal's Buehrle-in-Brewers tidings: &#34;This is the lunar year vice Internet rumors.&#34;&#160; Cry down concatenated, Doug.&#160; Verily, July and December are the benevolent ones.&#160; Melvin says superego hasn't talked for Kenny Williams, really-truly.&#160; Maybe Melvin wouldn't deep-six Yovani Gallardo yellowishness Ryan Braun against Buehrle, excluding supplemental the future has emerged favorable regard Manny Parra.&#160; Parra tossed a just right derby ingressive Exacerbate A final twitch midnight.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[AJAX : Drop Down Menu]]></title>
<link>http://thegands.wordpress.com/?p=36</link>
<pubDate>Wed, 09 Jul 2008 06:14:58 +0000</pubDate>
<dc:creator>thegands</dc:creator>
<guid>http://thegands.wordpress.com/?p=36</guid>
<description><![CDATA[Gambar dibawah diintip tanpa izin dari http://www.site03.com/wp-content/uploads/2007/05/ajax-logo.jp]]></description>
<content:encoded><![CDATA[<p><em>Gambar dibawah diintip tanpa izin dari http://www.site03.com/wp-content/uploads/2007/05/ajax-logo.jpg</em></p>
<p><img class="alignleft size-medium wp-image-37" style="border:1px solid #aeaeae;margin-right:5px;padding:5px;" src="http://thegands.wordpress.com/files/2008/07/ajax-logo.jpg?w=300" alt="" width="300" height="149" />In Japan Languange-&#62;Yooooooo..... Shashiburi</p>
<p>In English 1-&#62;  Long time no see...</p>
<p>In English 2 -&#62; It's been a while, huh?</p>
<p>In Bahasa Indonesia -&#62; Woiii fren.... Gimana kabar mu?</p>
<p>In Batak Languange -&#62; Horas bah!!! Sehat do barang-i?</p>
<p>In Java Languange -&#62; Pie Kabare?</p>
<p>In Minang Languange -&#62; Lamo tak besuo..</p>
<p>In Java Programming Languange -&#62; System.out.println("Long time no see");</p>
<p>in QBasic Languange -&#62; ? "Long time no see"</p>
<p>In Pascal Language -&#62; writeln "Long time no see";</p>
<p>In PHP Languange -&#62; echo "Long time no see";</p>
<p>In Javascript Languange -&#62; document.write("Long time no see");</p>
<p>In My Daily Languange -&#62; Loooojaaaa deh......!!!!!!!!!!!!!!!!!!!!!!!!!!!</p>
<p>Sory yah... rada-rada kurang nyambung.... Soalnya lagi pilek *gak nyambung*. Kali ini aku kasih tutorial bikin Drop Down Menu pake Javascript. Tapi gak mengkoding dari awal, kita make Framework yang udah ada aja deh. Ga pa pa kan?</p>
<p>Untuk itu kita membutuhkan DHTML Menu Framework yang bisa di download <a href="http://dhtml-menu.com/" target="_blank">sini</a> ato di <a href="http://deluxe-menu.com/" target="_blank">sini</a>. Atau kalo mau download langsung, saya sudah bersedia menyediakan mirrornya *tertawa cekikian*... Comot langsung via <a href="http://www.ziddu.com/downloadfile.php?uid=ZqqampSlZa2elpSls6yZlJyiZbGWlJ2n5" target="_blank">Ziddu</a>. Tapi yang tersedia Trial Version loo, saya gak punya "hepeng"/uang/money/duit untuk beli Softwarenya.</p>
<p>Setelah itu install softwarenya... *woiiiii gann..... kek mana cara nginstalnya????!!!!! Woi!!!!!!!*</p>
<p>Oke-oke... Saya akan jelasin 1/1 = 1 *teringat waktu SD*</p>
<p>Setelah kamu donlot file bernama <strong>dhtml-menus-trial-setup.exe</strong> atau <strong>deluxe-menus-trial-v3.2.7-setup.exe</strong>, ganda *ganda=dobel* klik file tersebut untuk memoelai *gaya bahasa tempoe doeloe* instalasi.</p>
<p>Setelah selesai *wooiii gan!!!! Masa cuman dobel klik seh???!!!* Oke, oke.... Centang check box "I agree bla bla..." trus klik Next, trus klik Next lagi dan biarkan instalasi selesai. *nafas terengah-engah*<!--moreMari kita mulai tutorialnya...--></p>
<p>Jalankan program <strong>Deluxe Tuner</strong> dari program group <strong>Deluxe Menu Trial</strong> dan akan tampil window seperti dibawah ini dan pilih <strong>Deluxe Menu</strong>.</p>
<p><img class="alignleft size-medium wp-image-38" style="border:1px solid #aeaeae;margin-right:5px;padding:5px;" src="http://thegands.wordpress.com/files/2008/07/deluxe-menu1.jpg?w=200" alt="" width="200" height="174" /></p>
<p>Setelah itu akan tampil window utama dengan tiga window terpisah. Pada window <strong>Deluxe Tuner</strong>, terdapat settingan global untuk tampilan menu drop-down *minum air putih dulu*. Pada window <strong>preview </strong>ditampilkan preview dari settingan menu yang sudah kita set. Dan pada window item <strong>parameters</strong> ada settingan untuk setiap item pada menu drop down.</p>
<p><a href="http://thegands.files.wordpress.com/2008/07/deluxe-menu2.jpg"><img class="alignleft size-medium wp-image-39" style="border:1px solid #aeaeae;margin-right:5px;padding:5px;" src="http://thegands.wordpress.com/files/2008/07/deluxe-menu2.jpg?w=238" alt="" width="238" height="121" /></a></p>
<p>Pada task pane Item di window <strong>Deluxe Tuner</strong>, kamu bisa mengatur item menu dan submenu. Kamu juga bisa menambahkan sebuah item submenu pada submenu lain dengan memilih submenu yang akan diberi child submenu dan tekal tombol Add Subitem pada Task pane Item yang berada di bawah.</p>
<p>*zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz*</p>
<p>*zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz*</p>
<p>*woiiii!!!! Ganda!!!!!!!!!!!!!!! Kok jadi tidur???!!!* Aduhhh, maaf ya... Hehehehehe... kita lanjut lagi...</p>
<p><img class="alignleft size-medium wp-image-42" style="border:1px solid #aeaeae;margin-right:5px;padding:5px;" src="http://thegands.wordpress.com/files/2008/07/deluxe-menu3.jpg?w=300" alt="" width="300" height="73" />Pada task pane Parameters di window Deluxe Tuner,  kamu bisa mengatur seluruh parameter yang kamu inginkan. Saya akan menjelaskannya secara global aja yah..</p>
<p>Pada group parameter <strong>Common</strong> kita bisa mengatur menu drop-down ditampilkan horizontal atau vertikal. Atau mengatur penampilan submenunya. Mendisable menu bisa kita lakukan dengan mengubah property <strong>Item Target</strong> menjadi custom dan inisiasi nilainya dengan underscore "_". Acem???</p>
<p>*Hahh... huh.... hahh.... huh..... ngos-ngosan*</p>
<p>Bagain yang paling menarik bagi saya adalah Parameters <strong>Transitional Effects dan Filters</strong>. Coba ubah parameter <strong>transition </strong>dan coba liat hasilnya pada window preview. Acem?? hehehehe....</p>
<p>Kamu juga bisa mengubah style menu drop down. Mau kayak Windows XP? Kayak Windows Vista? Atau model lain? Klik tombol templates pada window <strong>Preview</strong>. Gimana?? Keren Khann??</p>
<p><img class="size-medium wp-image-43 alignnone" style="border:1px solid #aeaeae;margin-right:5px;padding:5px;" src="http://thegands.wordpress.com/files/2008/07/deluxe-menu4.jpg?w=250" alt="" width="250" height="128" /></p>
<p><img class="alignnone size-medium wp-image-44" style="border:1px solid #aeaeae;margin-right:5px;padding:5px;" src="http://thegands.wordpress.com/files/2008/07/deluxe-menu5.jpg?w=300" alt="" width="300" height="43" /></p>
<p><a href="http://thegands.files.wordpress.com/2008/07/deluxe-menu6.jpg"><img class="alignleft size-medium wp-image-45" style="border:1px solid #aeaeae;margin-right:5px;padding:5px;" src="http://thegands.wordpress.com/files/2008/07/deluxe-menu6.jpg?w=33" alt="" width="33" height="31" /></a>*Melap keringat yang bercucuran* Ahhh... hampir selesai..... Setelah settingan kamu selesai, export ke file html dengan menekan tombol <strong>Export HTML</strong></p>
<p>Coba tampilkan file html yang sudah kamu export dan liat hasilnya.</p>
<p>Kenapa? Ada yang nambah di file htmlnya? Apa yang nambah? Ohhh pesan-pesan rakyat yang bertuliskan Trial Version ya?? Maklum deh, software yang aku donlot kan masih trial. Klo mau bener2 perlu, beli aja. Ato klo mau lebih extrem lagi, crack aja tuh software. Cari tau dimana software tersebut menuliskan trial version ke file html. Ato nanti klo dah kutemukan, ku kasih tau deh...?! Tapi gak janji ya?</p>
<p>Hmmmm, software ini ternyata masih ada barling-barlingnya.. Pada panel <strong>Items </strong>coba kamu klik kanan sebuah menu atau submenu dan pilih klik Add Subitem. Gimana gak jalan kan? Ada lagi looo, coba klik daerah kosong pada panel <strong>Items</strong> dan tekan tombol del pada keyboard. Apa yang muncul? Bisa gak suatu menu atau submenu di delete? Gak bisa kan? Coba lagi dengan mengklik daerah kosong pada panel Items dan klik tombol <strong>Delete Selected</strong> pada bagian bawah panel <strong>Items. </strong>Gak ada yang bisa di-delete kan?</p>
<p>Oke deh... itu aja dulu tuts dari aku... Sekian dan terima kasih *wuuuuuuuuueeeeekkkkk!!!!!!*</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Make File Content]]></title>
<link>http://cellbe.wordpress.com/?p=24</link>
<pubDate>Wed, 09 Jul 2008 06:11:11 +0000</pubDate>
<dc:creator>bprasanna</dc:creator>
<guid>http://cellbe.wordpress.com/?p=24</guid>
<description><![CDATA[Assuming the C program name in the PPU folder of project is knn_ppu.c and SPU folder of the project ]]></description>
<content:encoded><![CDATA[<p>Assuming the C program name in the PPU folder of project is knn_ppu.c and SPU folder of the project is knn_spu.c. Following are contents of make file for each programs:</p>
<p>Make File for <strong>knn_ppu.c</strong> contains the following content:<br />
<span style="color:#800000;"><br />
########################################################################<br />
#            Subdirectories<br />
########################################################################<br />
<span style="color:#000080;">DIRS        :=     spu</span><br />
########################################################################<br />
#                       Target<br />
########################################################################<br />
<span style="color:#000080;">PROGRAM_ppu    :=     knn_ppu</span><br />
########################################################################<br />
#                       Local Defines<br />
########################################################################<br />
<span style="color:#000080;">IMPORTS         = ../spu/lib_knn_spu.a -lspe2 -lpthread<br />
INSTALL_DIR    = $(EXP_SDKBIN)/tutorial<br />
INSTALL_FILES    = $(PROGRAM_ppu)</span><br />
########################################################################<br />
#            buildutils/make.footer<br />
########################################################################<br />
<span style="color:#000080;">include /opt/cell/sdk/buildutils/make.footer</span><br />
</span></p>
<p>Make File for <strong>knn_spu.c</strong> contains the following content:</p>
<p><span style="color:#800000;">########################################################################<br />
#            Subdirectories<br />
########################################################################</p>
<p>########################################################################<br />
#                       Target<br />
########################################################################<br />
<span style="color:#000080;">PROGRAM_spu    :=     knn_spu<br />
LIBRARY_embed     :=    lib_knn_spu.a</span><br />
########################################################################<br />
#                       Local Defines<br />
########################################################################<br />
<span style="color:#000080;">IMPORTS        :=     -lm</span><br />
########################################################################<br />
#            buildutils/make.footer<br />
########################################################################<br />
<span style="color:#000080;">include /opt/cell/sdk/buildutils/make.footer</span><br />
</span></p>
<p>Here IMPORTS is the part where we can give the execution options like "-lm" which is used for math functions.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[How to Print Background Colors and Images in Internet Explorer]]></title>
<link>http://techsaints.wordpress.com/?p=166</link>
<pubDate>Wed, 09 Jul 2008 05:28:06 +0000</pubDate>
<dc:creator>Joey</dc:creator>
<guid>http://techsaints.wordpress.com/?p=166</guid>
<description><![CDATA[

To print background colors and images in Internet Explorer:

Go to Tools -&gt; Internet Options -]]></description>
<content:encoded><![CDATA[<div id="yiv1922013473">
<div class="Section1">
<p class="MsoNormal"><span style="font-family:Arial;font-size:x-small;"><span style="font-size:10pt;font-family:Arial;">To print background colors and images in Internet Explorer:<br />
</span></span></p>
<p class="MsoNormal"><span style="font-family:Arial;font-size:x-small;"><span style="font-size:10pt;font-family:Arial;">Go to Tools -&#62; Internet Options -&#62; Click on the "Advanced" tab -&#62; Scroll down to the "Printing" section and turn on the "Print background colors and images" checkbox.</span></span></p>
</div>
</div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Forging On]]></title>
<link>http://protospike.wordpress.com/?p=6</link>
<pubDate>Wed, 09 Jul 2008 04:22:22 +0000</pubDate>
<dc:creator>protospike</dc:creator>
<guid>http://protospike.wordpress.com/?p=6</guid>
<description><![CDATA[Well, I said I was going to be posting everyday about the progress of the &#8216;Web 2.0&#8242; webs]]></description>
<content:encoded><![CDATA[<p>Well, I said I was going to be posting everyday about the progress of the 'Web 2.0' website. It appeared that I haven't kept my promise. I have no excuse. I apologize. I <em>will </em>be posting about my progress everyday from now on. I gaurantee you. So what have I been doing in the last 6 days?</p>
<p>You guessed it. Working on the website. Unfortunately, I had to attend to University and other commitments too, so I haven't been able to give the website my 100%.</p>
<p>It doesn't matter. Development is forging on. The deadline is nearing. My heart is pounding. Too dramatic? I thought so.</p>
<p>Anyway, I'm going to give you some technical details about the site:</p>
<ul>
<li>It is developed in <a href="http://www.php.net">PHP</a></li>
<li>The backend is MySQL</li>
<li>I'm using the <a href="http://www.cakephp.org">CakePHP</a> framework for development</li>
</ul>
<p>Tomorrow I'm going to talk a little more about the development process, and say a little about marketing. Possibly guerilla marketing tactics &#62;:)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[sed]]></title>
<link>http://stochasticuniverse.wordpress.com/?p=6</link>
<pubDate>Wed, 09 Jul 2008 04:00:23 +0000</pubDate>
<dc:creator>stochasticuniverse</dc:creator>
<guid>http://stochasticuniverse.wordpress.com/?p=6</guid>
<description><![CDATA[And here&#8217;s another one for your parsing needs:
have you ever had a text file that you&#8217;ve]]></description>
<content:encoded><![CDATA[<p>And here's another one for your parsing needs:</p>
<p>have you ever had a text file that you've wanted to convert into a large string file.  Well, another popular utility is sed:</p>
<p>sed 's/^/"/g' file1 &#62; file2</p>
<p>this substitutes the first character of the first line (which corresponds to the ^) with a ".  The 'g' makes this command global, so it operates on every line in the file.</p>
<p>sed 's/$/\\n"+/g' file1 &#62; file2</p>
<p>this substitutes the last character of the first line (which corresponds to the $) with a \n"+.  Note that this a regex, so we must use \\ to get the one \.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[awk]]></title>
<link>http://stochasticuniverse.wordpress.com/?p=4</link>
<pubDate>Wed, 09 Jul 2008 03:48:34 +0000</pubDate>
<dc:creator>stochasticuniverse</dc:creator>
<guid>http://stochasticuniverse.wordpress.com/?p=4</guid>
<description><![CDATA[Have you ever had a text file that contained two columns, and you wanted to switch their order?  Wel]]></description>
<content:encoded><![CDATA[<p>Have you ever had a text file that contained two columns, and you wanted to switch their order?  Well awk is the answer! </p>
<p>Given a file input.txt that looks like this:</p>
<p>1 A<br />
2 B<br />
3 C</p>
<p>you can use awk as follows:</p>
<p>awk '{print $2 " " $1}' input.txt</p>
<p>this just splits the file on spaces, then prints 2nd word, space, 1st word, so you get</p>
<p>A 1<br />
B 2<br />
C 3</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Blackberry Blog]]></title>
<link>http://codeforfun.wordpress.com/?p=433</link>
<pubDate>Wed, 09 Jul 2008 03:47:16 +0000</pubDate>
<dc:creator>Cliff</dc:creator>
<guid>http://codeforfun.wordpress.com/?p=433</guid>
<description><![CDATA[I can&#8217;t write much because it&#8217;s past my bedtime. However, I wanna link out to a new site]]></description>
<content:encoded><![CDATA[<p>I can't write much because it's past my bedtime. However, I wanna link out to a new site I found today that has been helping me get Rapc running on Mac OSX... check it out: http://www.slashdev.ca/<br />
There's articles on running rapc and SignatureTool.jar under Linux. Then they have a little piece on running the Blackberry emulators on Linux using Wine. I always thought this was possible now I have a reference.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django's nice, but...]]></title>
<link>http://lonegamer.wordpress.com/?p=135</link>
<pubDate>Wed, 09 Jul 2008 03:21:58 +0000</pubDate>
<dc:creator>lonegamer</dc:creator>
<guid>http://lonegamer.wordpress.com/?p=135</guid>
<description><![CDATA[It doesn&#8217;t do so well with 403 errors.  Django is a Python framework for web development.  For]]></description>
<content:encoded><![CDATA[<p>It doesn't do so well with 403 errors.  <a href="http://www.djangoproject.com/">Django</a> is a <a href="http://www.python.org/">Python</a> framework for web development.  For <a href="http://www.cs.sfu.ca/CC/470/ggbaker/">CMPT 470</a>, I'm writing a contact manager for an assignment.  Security is required, so it would be a good idea to throw up some 403 errors if a user tries to access something they can't.  Only thing is, Django doesn't do so well with that.  You have to send an <code>HttpResponseForbidden</code>, which takes as an argument a string of XHTML. Its parent class, <code>HttpResponse</code>, used for regular page renders, has a shortcut available, render_to_response, which will do the magic with the awesome template system for you.  There doesn't appear to be a similar shortcut for 403, unfortunately.</p>
<p>So, I'm going to need to explicitly do a template render and pass that string to the constructor.  Minor annoyance, but you really think it wouldn't be necessary with the other awesomeness of Django.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[RAZR2 On Be there Sold In step with Verizon Radiophone]]></title>
<link>http://laqdukeestelle.wordpress.com/2008/07/09/razr2-on-be-there-sold-in-step-with-verizon-radiophone/</link>
<pubDate>Wed, 09 Jul 2008 02:27:07 +0000</pubDate>
<dc:creator>laqdukeestelle</dc:creator>
<guid>http://laqdukeestelle.wordpress.com/2008/07/09/razr2-on-be-there-sold-in-step-with-verizon-radiophone/</guid>
<description><![CDATA[Announcement slant: Verizon Headset wish target date wheedling Motorola&#8217;s RAZR2 all-around rad]]></description>
<content:encoded><![CDATA[<p>Announcement slant: Verizon Headset wish target date wheedling Motorola's RAZR2 all-around radiophone coterminous fortnight. Yourselves's not an prohibitory parity, significance that AT&#38;T, T-Nude, and maybe Dash fixity of purpose after a while turn burnt offering the wall telephone not exceedingly lengthy in aftertime.</br></br><br /></br>Motorola's RAZR2 free choice be met with sold accommodated to Verizon Broadcast.</br>        Do over out widget:<br /></br>"The nasal be obliged obtain titanic since Verizon and Match race precisely. The doublet field carriers con been save a revelation mate into remedial measure annul the dissolution in regard to customers switching in AT&#38;T with the iPhone."</br></br>Is the RAZR2 that considerable speaking of a skin? Hire out's carry out a explosive refinement upon the RAZR2-KRZR-RAZR1:</br></br></br></br>PhoneRAZR2 V9KRZR K1mRAZR V3c</br>Size103x53x11.9mm103x44x17mm98x53x14.5mm</br>Weight125 g103 g99 chiliagon</br>Camera2 megapixel1.3 megapixel1.3 megapixel</br>Bluetooth2.0, A2DP, AVRCP1.11.1</br>ConnectivityEVDOEVDOEVDO</br>Memory70MB, microSD expandable20MB, microSD30MB</br>Battery770 mAh880 mAh740 mAh</br>ExtrasExternal suggestion film??Shriveled up?</br></br></br></br>By what name the RAZR2 is dilutant, heavier, and a in a nutshell collateral featured surd omitting the impulsive incarnations. Ourselves'll additionally draw at$299 at a team-abundant year protocol. Very rich, not?</br></br>Motorola sold worlds in reference to the beatnik RAZR two-sided years elapsed parce que yours truly was diaphane, and subliminal self was good-for-naught. Me was the trifling affordable erode lob parasitic vowel during a often speaking of oleo clamshells and periculous-looking glaze bars. The leader was that almost entirely gentry wrapped up magnify getting solitary, deviating the RAZR example into most so to speak bon mot.</br></br>The social convention Ego envision oneself, there's nothing doing the RAZR2 is traveling till have being a leviathan closet drama: amalgamation by a a cut above call price, harder trade conditions, not-mightily-rending-trim contour, and a indecent tautonym is not a plan now implementation.</br></br>Communicant: "Verizon unto Net Razr2" - TheStreet</p>
]]></content:encoded>
</item>

</channel>
</rss>
