<?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>computer-programming &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/computer-programming/</link>
	<description>Feed of posts on WordPress.com tagged "computer-programming"</description>
	<pubDate>Fri, 25 Jul 2008 05:40:45 +0000</pubDate>

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

<item>
<title><![CDATA[Batch Files - For Windows]]></title>
<link>http://gengineer.wordpress.com/?p=25</link>
<pubDate>Fri, 25 Jul 2008 03:05:19 +0000</pubDate>
<dc:creator>greeleyengineering</dc:creator>
<guid>http://gengineer.wordpress.com/?p=25</guid>
<description><![CDATA[This is the first basic tutorial that G-Engineering has to offer.
Do you ever get sick and tired of ]]></description>
<content:encoded><![CDATA[<p style="text-align:center;"><span style="color:#339966;">This is the first basic tutorial that G-Engineering h</span><span style="color:#339966;">as to of</span><span style="color:#339966;">fer.</span></p>
<p style="text-align:center;"><span style="color:#ff0000;">Do you ever get sick and tired of openning the same exa</span><span style="color:#ff0000;">ct programs over and over again?</span><img class="aligncenter" src="http://www.stcatharines.library.on.ca/updates/images/viruse3.jpg" alt="" width="121" height="109" /></p>
<p style="text-align:center;"><span style="color:#999999;">For example, if you are playing a video g</span><span style="color:#999999;">ame, you want to launch a game and voice chat at the same time. Maybe you want to load up aim and an IRC client at the same time. Or perhaps whenever you talk on aim, you surf the internet at the same time.</span></p>
<p style="text-align:center;"><span style="color:#0000ff;">For scenarios such as the ones listed above, the "program" you're looking for is called a <strong>batch file</strong>.</span></p>
<p style="text-align:center;">
<h2 style="text-align:center;"><span style="color:#0000ff;">What is a batch file?</span></h2>
<p><span style="color:#993300;">According to wikipedia, "a <strong>batch file</strong> is a <a title="Text file" href="http://en.wikipedia.org/wiki/Text_file">text file</a> containing a series of <a title="Command (computing)" href="http://en.wikipedia.org/wiki/Command_%28computing%29">commands</a> intended to be executed by the <a title="Command line interpreter" href="http://en.wikipedia.org/wiki/Command_line_interpreter">command interpreter</a>"</span></p>
<p><strong><em><span style="color:#993300;">In other words, you write a set of instructions that cmd.exe follows.</span></em></strong></p>
<h3><strong>Lets get familiar with cmd:</strong></h3>
<p>The focus is on folders and their executables. Although you may be used to starting a program from a desktop shortcut, you should also know that there is a folder in your c:/programfiles directory that contains the actual .exe (executable) file.</p>
<p>The two basic functions you will need to know are "<span style="text-decoration:underline;">cd" and "start"</span></p>
<p><span style="color:#ff9900;"><strong>Cd </strong>is short for "copy director</span><span style="color:#ff9900;">y"</span></p>
<p><span style="color:#ff9900;">Contrary to its name, you will not be copying any folders. The cd function is merely used for telling the command line where to look for the program you want to launch.</span></p>
<p><span style="color:#ff0000;"><strong>Start</strong> simply tells the command prompt to run the selected program.</span></p>
<p><span style="color:#ff0000;">Lets start by making a file that opens up windows media player and notepad.</span></p>
<ol>
<li>Open Notepad</li>
<li>Find the directory of windows media player executable file. You should find the directory to be <code> C:\Program Files\Windows Media Player </code></li>
<li>Find the name of the .exe file. You should find it to be <code>wmplayer.exe</code> (it is obviously not the other .exe files because their names indicate a setup or something strange - i.e. wmsetsdk.exe &#60; Probably not going to run main application with a name like that. If you are ever unsure of the correct .exe file go to your shortcut's properties and find the target application.</li>
<li>Repeat steps 2 and 3 for Notepad. You should find the information to be: Directory - <code><em> C:\WINDOWS\system32</em> </code>;    and the .exe is <code> <em>notepad.exe</em><strong> </strong></code></li>
<li>Now we write the program: First alert the command prompt (via notepad batch file) what directory it should look for WMP in by typing: <strong><code>cd C:\Program Files\Windows Media Player </code></strong></li>
<li>On a new line tell the command prompt to start wmplayer.exe which is in the directory you specified above by typing: <strong><code>start wmplayer.exe</code></strong></li>
<li>On the next line repeat step 5 for "notepad": <strong><code>cd C:\WINDOWS\system32</code></strong></li>
<li>On the next line repeat step 6 for "notepad":<code> <strong>start notepad.exe</strong></code></li>
<li>Save the file as &#60;yournamehere&#62;.bat</li>
<li>Wait for it to create the program</li>
</ol>
<p>Congratulations! You have created your first batch file!!!</p>
<p>If it doesn't run when you click on it make sure your slashes are backslashes and make sure that you saved it as a .bat file (not a .bat.txt &#60;&#60;</p>
<p>Here it is again as a full file:<br />
<code><br />
<strong>cd C:\Program Files\Windows Media Player<br />
start wmplayer.exe<br />
cd C:\WINDOWS\system32<br />
start notepad.exe</strong></code></p>
<p>as long as you type it in like that, notepad and wmp will both launch when you click on the batch file!</p>
<h2 style="text-align:center;"><span style="color:#ff0000;">Pop-Quiz:</span></h2>
<p>What programs would this batch file open?<br />
<code><br />
<strong>cd C:\Program Files\Windows Media Player<br />
start wmplayer.exe<br />
cd C:\WINDOWS\system32<br />
start notepad.exe<br />
cd C:\WINDOWS\system32<br />
start minesweeper.exe</strong><br />
</code></p>
<p>Scroll down for answer<br />
.<br />
..<br />
...<br />
..<br />
.<br />
..<br />
...<br />
..<br />
.<br />
The answer is: <strong>WMP, Notepad, and Minesweeper</strong></p>
<p>Hope this is useful and in the future I will show you how to do more complicated things with .bat (batch) files!</p>
<h2><strong>What can I do now?</strong></h2>
<p>Now you have been certified by G-engineering to create your own batch files to open a group of programs at a single time. If you are feeling risky and you know cmd/the DOS command line pretty well, you can tell your batch files to do more complicated things such as opening up several webpages at once - simply write a different command you want the command prompt to perform on a different line of notepad.</p>
<p>To get started with advanced ideas try integrating some of these commands into your batch files:</p>
<p>http://www.cknow.com/tutorcom/advdos.htm</p>
<p>http://www.computerhope.com/overview.htm</p>
<p>Both are comprehensive lists of most of the DOS command line commands.</p>
<p>---</p>
<p>I wrote a program using one word that launches the command prompt and displays the time and date:<br />
<code><strong><br />
date</strong></code></p>
<p>and I saved it as Time.bat</p>
<p>---</p>
<p>Sorry if this tutorial was a little choppy. It is my first one and I am really tired :)</p>
<p>Enjoy</p>
<p>-Evan</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Retroprogramming project...]]></title>
<link>http://dwhyte.wordpress.com/?p=4</link>
<pubDate>Sun, 20 Jul 2008 08:51:37 +0000</pubDate>
<dc:creator>dwhyte</dc:creator>
<guid>http://dwhyte.wordpress.com/?p=4</guid>
<description><![CDATA[I spent a few hours today working on some graphics for a project that will eventually see the light ]]></description>
<content:encoded><![CDATA[<p>I spent a few hours today working on some graphics for a project that will eventually see the light of day on an Atari 8-bit computer or emulator near you.</p>
[caption id="attachment_17" align="aligncenter" width="300" caption="a redefined Atari character set for the project"]<a href="http://dwhyte.files.wordpress.com/2008/07/untitled.png"><img class="size-medium wp-image-17" src="http://dwhyte.wordpress.com/files/2008/07/untitled.png?w=300" alt="a redefined Atari character set for the project" width="300" height="194" /></a>[/caption]
<p>Some of you out there will recognize the characters represented in the above windowshot.  If not then you've missed out on one of the greatest fantasy stories ever to be published.  There's some out there that may whine that I'm not coming up with something original, however, I beg to differ.  This is something that has been brewing in the back of my mind for well over two decades.  For the most post, this game will be programmed in 100% 6502 assembler language using some fine Atari related tools that are available on both Windows, Linux, OS-X (and other systems to be compiled on as all these tools are Opensource).</p>
<p>The actual cross-assembler I'm using is called <a title="xasm" href="http://atariarea.krap.pl/x-asm/" target="_blank">xasm</a> that is based upon Quick Assembler's syntax.  This is an excellent cross-assembler as it has built-in macros for handling loops, 16 bit addressing and math, and many other wonderful little abilities that an assembly language programmer from the 70s or 80s would have loved to have.  For all you brave enough to compile your own version of xasm you'll need some form of a <a href="http://en.wikipedia.org/wiki/D_language" target="_blank">D language</a> compiler such as  the <a href="http://www.digitalmars.com/d/" target="_blank">Digital Mars</a> version or an Opensource version such as <a href="http://dgcc.sourceforge.net/" target="_blank">gdc</a> for you Linux and OS-X users (Windows users too!)</p>
<p>For redefining the character set I used an Opensource tool called <a href="http://atari.miribilist.com/envision/index.html" target="_blank">EnvisionPC</a> by Mark Schmelzenbach that is available for Windows, Linux, and OS-X.  This is basically a PC/Mac version of an excellent tool released on the Atari in the 80s called Envision.  It allows you to redefine the character set of an Atari computer and also generate a character map.  It outputs into many different language formats for the Atari programmer as well.</p>
<p>When it comes to sound, I'll be using the excellent <a href="http://raster.infos.cz/atari/rmt/rmt.htm" target="_blank">Raster Music Tracker</a> by Radek Sterba.  This is a Windows only program that takes music tracking on the Atari to a new level.  This tracker handles stereo sound for those that upgraded their Atari systems with a second Pokey chip.  Another shining feature of this program is it's ability to manipulate envelopes for some truly great sound that in some circumstances sounds very close to the competitions sound chip, the MOS-Tech SID chip used in the Commodore 64/128 computers.</p>
<p>Any other tools will be Atari 8-bit based.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Crucial Skills of Computer Programming]]></title>
<link>http://persiansoftnotes.wordpress.com/?p=5</link>
<pubDate>Tue, 15 Jul 2008 10:56:12 +0000</pubDate>
<dc:creator>Abozar Nozari</dc:creator>
<guid>http://persiansoftnotes.wordpress.com/?p=5</guid>
<description><![CDATA[These days with the simplification of computer programming procedure by releasing powerful software ]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:justify;margin:0;"><span style="font-family:Tahoma;"><span style="font-size:small;">These days with the simplification of <a class="wp-caption" href="http://en.wikipedia.org/wiki/Computer_programming">computer programming</a> procedure by releasing powerful software tools, we can see many people enter or try to enter to this job. And because of this demand, some educational institutes hold courses around it. In this post we aim to survey the crucial skills of computer programming and essential qualification of a successful programmer.</span></span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:justify;margin:0;"><span style="font-family:Tahoma;"><span style="font-size:small;">I believe that learning a programming language or in a general view learning every new concept or skill needs to prepare some prerequisites and preliminary skills which called fundamental skills. For example if you want to learn driving, at first you must to learn driving rules and laws. Same as this for learning programming you should take proficiency in some things such as: problem solving techniques, presenting solutions in unambiguous ways, acceptable knowledge in mathematics and some other parameters which discussed about them later in this post.</span></span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:justify;margin:0;"><span style="font-family:Tahoma;"><span style="font-size:small;">I believe that programming is some how depends on two important abilities. The first one is mentality abilities and the other one is knowledge. We can say that the first factor is not acquired while the second one is. It means that if you are not a talent person in solving problems you can not remedy this deficiency easily, but if you are in lack of knowledge about a technical filed you can try to equipped with the necessary skills easier than the mentality abilities. Although psychologists now days proved that we can increase our mentality and behavioral abilities easier. Surly this is a subject which we can not discuss about it here.</span></span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:justify;margin:0;"><span style="font-family:Tahoma;"><span style="font-size:small;">As I mentioned to learn a programming language or more than this to learn programming and achieve the ability of writing software programs in every computer programming language, you must learn some general techniques and concepts, before beginning with the syntax of a certain programming language like C#, Java… So we are decided to discuss briefly about these techniques and concepts here. I named some proficiency around learning programming, now I want to complete and detailed them.</span></span></p>
<ol style="margin-top:0;text-align:justify;" type="1">
<li class="MsoNormal"><span style="font-size:small;"><strong><span style="font-family:Tahoma;">Problem solving strategy</span></strong><span style="font-family:Tahoma;">: In our ordinary life we use some fixed and predefined ways or on the other hand strategies totally unaware. It means that we did not any education for learning these ways. Scientists in mathematics, psychology and other related sciences worked on these techniques and formulated them and released them as <a class="wp-caption" href="http://en.wikipedia.org/wiki/Problem_solving">Problem Solving Strategies</a>. Some thing interesting is that animals use problem solving strategies instinctively too. For example now days in <a class="wp-caption" href="http://en.wikipedia.org/wiki/Computer_Network">Computer Network</a> one of the famous algorithms for routing is "Ant Colony Optimization Algorithm (ACO)" which is inspired from the process of finding nest in ants. I think a useful and famous book around Problem Solving Strategy in mathematics is "<em><a class="wp-caption" href="http://en.wikipedia.org/wiki/How_to_Solve_It">How to Solve It</a></em>" by <em><a class="wp-caption" href="http://en.wikipedia.org/wiki/George_P%C3%B3lya">George Polya</a></em> from <em>Princeton University Press</em> in 1945. Problem solving strategy is a deep and huge major which we can not detailed it here.</span></span></li>
<li class="MsoNormal"><span style="font-size:small;"><strong><span style="font-family:Tahoma;">Problem Solution Presentation</span></strong><span style="font-family:Tahoma;">: Because of the ambiguity of natural languages like English language, it is not suitable to explain the solution of problems with the sentences of natural languages. Especially this situation will be complicated when problem or solution will some how difficult. To prevent ambiguous in problem solving it is better to define the problem solution with diagrams or <a class="wp-caption" href="http://en.wikipedia.org/wiki/Flowchart">flowcharts</a> in a step-wised way. Now days in Software Industry before implementing the software system, means writing the codes of software, the development team working on an important phase called <a class="wp-caption" href="http://en.wikipedia.org/wiki/Requirements_analysis">Requirement Analysis</a>. In this phase Analyzers present and model the requirements of the system with different and various diagrams. Same as this phase development team repeat this job in the other phases.</span></span></li>
<li class="MsoNormal"><span style="font-size:small;"><strong><span style="font-family:Tahoma;">General Knowledge about PCs</span></strong><span style="font-family:Tahoma;">: for a person who wants to be a programmer it is necessary to have a general knowledge about the functionality of PC's hardware and software. It is not important to know the details, only knowing the structure and the relationship of different units or the communication process of hardware and software will be sufficient. </span></span></li>
<li class="MsoNormal"><span style="font-size:small;"><strong><span style="font-family:Tahoma;">Average knowledge in Mathematics</span></strong><span style="font-family:Tahoma;">:<strong> </strong>we know that mathematics is master of all sciences on the world. The relationship among computer and mathematics is undeniable. I think for succeeding in computer programming an average knowledge in mathematics, especially in a new branch of this major named <a class="wp-caption" href="http://en.wikipedia.org/wiki/Discrete_mathematics"><em>Discrete Mathematics</em> </a>is needed. Now days in public education systems like high school or college period teaching these courses in most of the countries all over the world. Computer programming is related to <em>Discrete Mathematics</em> and <a class="wp-caption" href="http://en.wikipedia.org/wiki/Mathematical_logic"><em>Mathematical</em> <em>Logic</em></a> directly.</span></span></li>
<li class="MsoNormal"><span style="font-size:small;"><strong><span style="font-family:Tahoma;">Behavioral skills</span></strong><span style="font-family:Tahoma;">:<strong> </strong>emotional and behavioral skills are very important in every technical field. In programming to be a successful programmer you must have a personality with some highlighted characteristics<strong> </strong>such as: perseverance in problem solving, attentiveness, regularity and patiently. Surly these characteristics are not restricted only to computer programming while the effective role of them is observable in almost every job.</span></span></li>
</ol>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:small;font-family:Tahoma;">For completing this list we can mention many other parameters yet, especially from Engineering view point. But in this post our objective was surveying the crucial skills of computer programming.<strong> </strong>After receiving the feedbacks and comments of readers and visitors I will write down about <em>Modern Computer Programming Skills</em> and it's prerequisites from Software Engineering point of view.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Reverse Engineering Code with IDA Pro]]></title>
<link>http://vyrist.wordpress.com/?p=157</link>
<pubDate>Tue, 15 Jul 2008 09:53:00 +0000</pubDate>
<dc:creator>thoma vyrist</dc:creator>
<guid>http://vyrist.wordpress.com/?p=157</guid>
<description><![CDATA[
IDA Pro is much more than a simple debugger. It is a programmable, interactive disassembler and deb]]></description>
<content:encoded><![CDATA[<p><a href="http://i261.photobucket.com/albums/ii56/vyrist13/RE-IDA-1.png"><img class="alignnone" src="http://i261.photobucket.com/albums/ii56/vyrist13/RE-IDA-1.png" alt="" width="533" height="658" /></a></p>
<p>IDA Pro is much more than a simple debugger. It is a programmable, interactive disassembler and debugger. With IDA Pro you can reverse-engineer just about any type of executable or application fi le in existence. IDA Pro can handle fi les from console machines such as Xbox, Playstation, Nintendo, to Macintosh computer systems, to PDA platforms, Windows, UNIX, and a whole lot more.</p>
<p><!--more--></p>
<p><a href="http://www.4shared.com/file/55247623/c10fd34e/RECodwitIDAP_vyristwordpresscom.html">4shared</a> [3.6 MB]</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Query SQL #1]]></title>
<link>http://ronnyfch.wordpress.com/?p=306</link>
<pubDate>Mon, 14 Jul 2008 06:48:17 +0000</pubDate>
<dc:creator>ronnyfch</dc:creator>
<guid>http://ronnyfch.wordpress.com/?p=306</guid>
<description><![CDATA[Ada seorang teman menanyakan query kepada saya

SELECT
    Products.ProductID,
    Products.ProductN]]></description>
<content:encoded><![CDATA[<p>Ada seorang teman menanyakan query kepada saya</p>
<blockquote>
<pre><strong>SELECT
    Products.ProductID,
    Products.ProductName,
    SaldoIn.[In],
    SaldoOut.Out,
    Saldo.saldo
FROM
    Products
    LEFT JOIN SaldoIn ON Products.ProductID = SaldoIn.CodProd
    LEFT JOIN SaldoOut ON Products.ProductID = SaldoOut.CodProd
    LEFT JOIN Saldo ON Products.ProductID = Saldo.codProd
GROUP BY
    Products.ProductID,
    Products.ProductName,
    SaldoIn.[In],
    SaldoIn.Bln,
    SaldoOut.Out,
    SaldoOut.Bln,
    Saldo.saldo,
    Saldo.bln
HAVING
    SaldoIn.Bln="12"
    AND SaldoOut.Bln="12"
    AND Saldo.bln)="12";</strong></pre>
</blockquote>
<p>hasilnya ketika salah satu tabel tidak menemukan record yang bersangkutan, bisa jadi hasilnya kosong</p>
<p>untuk itu bagaimana bila query tersebut saya modifikasi seperti ini</p>
<p><!--more--></p>
<blockquote>
<pre><strong>SELECT
    Products.ProductID,
    Products.ProductName,
    SaldoIn.[In],
    SaldoOut.Out,
    Saldo.saldo
FROM
    Products
    LEFT JOIN SaldoIn ON Products.ProductID = SaldoIn.CodProd and SaldoIn.Bln=12
    LEFT JOIN SaldoOut ON Products.ProductID = SaldoOut.CodProd and SaldoOut.Bln=12
    LEFT JOIN Saldo ON Products.ProductID = Saldo.codProd and Saldo.BlnJ=12
GROUP BY
    Products.ProductID,
    Products.ProductName,
    SaldoIn.[In],
    SaldoIn.Bln,
    SaldoOut.Out,
    SaldoOut.Bln,
    Saldo.saldo,
    Saldo.bln</strong></pre>
</blockquote>
<p>atau selengkapnya dalam Script SQL server adalah:</p>
<blockquote>
<pre><strong>declare @Bulan as Byte;
set @Bulan=12;

SELECT
    Products.ProductID,
    Products.ProductName,
    SaldoIn.[In],
    SaldoOut.Out,
    Saldo.saldo
FROM
    Products
    LEFT JOIN SaldoIn ON Products.ProductID = SaldoIn.CodProd and SaldoIn.Bln=@Bulan
    LEFT JOIN SaldoOut ON Products.ProductID = SaldoOut.CodProd and SaldoOut.Bln=@Bulan
    LEFT JOIN Saldo ON Products.ProductID = Saldo.codProd and Saldo.BlnJ=@Bulan
GROUP BY
    Products.ProductID,
    Products.ProductName,
    SaldoIn.[In],
    SaldoIn.Bln,
    SaldoOut.Out,
    SaldoOut.Bln,
    Saldo.saldo,
    Saldo.bln

Go</strong></pre>
</blockquote>
]]></content:encoded>
</item>
<item>
<title><![CDATA[programming debug tips]]></title>
<link>http://pdna.wordpress.com/?p=458</link>
<pubDate>Fri, 11 Jul 2008 04:38:30 +0000</pubDate>
<dc:creator>pdna</dc:creator>
<guid>http://pdna.wordpress.com/?p=458</guid>
<description><![CDATA[Tags: debug,programming,problem-solving,error correction,fix bugs,fix glitches,fix syntax,fix compil]]></description>
<content:encoded><![CDATA[<p>Tags: debug,programming,problem-solving,error correction,fix bugs,fix glitches,fix syntax,fix compile,fix runtime,programming tips,computer science tips,tips for software developers,software development</p>
<p>Computer programming can be fun. As you get more experienced, you will find out some very special debugging techniques.<br />
For software developers, website designers etc..  Tell us in the comments your opinion or personal techniques for debugging programs.<br />
Especially when programming advanced things, where basic debugging fails... (i.e. My JavaScript permutations calculator).. (I may have overcomplicated it..) But that is besides the point that debugging skills, can really come into play. With every program I write I have been adding some small tips :D .. Well I should have been anyways. There are some quite advanced debugging techniques, that you don't think of until its too late.. So I decided to keep track of some of them.</p>
<p>Your program isn't working .. Now what?</p>
<p>**<br />
=====================================================================</p>
<p>EXTREMELY IMPORTANT TIP FOR PROBLEMS WITH READING FILES! [Especially on Windows platform]</p>
<p>Make sure you open the text file in crimson. Because simply saving a file in notepad will have hidden characters.<br />
\r\n (found that on some forum) I believe there is some extra character with windows file system.<br />
if you want to work with a unix based file then..</p>
<p>1) Download Crimson Editor(google it)<br />
2)Open the text file in Crimson<br />
3) Go to Document Menu--&#62;File Format<br />
--&#62;Unix LF Only</p>
<p>It looks like Unix file format for text works with Line Feeds whereas Dos Format (typical when saving in XP SP2..etc. in notepad.. saves line feeds and Carriage returns..) causing problems if you just check for \n...and also more problems if you don't have the file in the string and add extra code to check for 2 characters...<br />
**</p>
<p>=====================================================================</p>
<p>1. Well for JavaScript.. If it is a function make sure you are using the reference and not a copy...you need to use the .splice()  .. To make a full copy of an array( I think..)</p>
<p>2. find out what is wrong and test that rather than working with the entire problem. i.e. cut down the problem to 1 test case  that fails.</p>
<p>3. Do a walkthrough or tracing of your source code..</p>
<p>4. Take a break, and hopefully it will come to you..hopefully</p>
<p>5.  Start at the top error.. if there are many errors. since there may be some useless errors</p>
<p>Use -qstaticinline option to supress warnings when compiling c++ programs.</p>
<p>6. Google the errors... You might find your answer in a forum somewhere for more rare problems.</p>
<p>7. Comment out parts to narrow down the problem</p>
<p>8. Add Print statements everywhere to find out what is going on!</p>
<p>9. Common sense when working with a new language is to memorize what an error probably means. For example, if you forget a semicolon you problem won't get a "you forgot a semicolon error" ..   So try to remember the basics like that.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The Rat Lab]]></title>
<link>http://trends.wordpress.com/?p=20</link>
<pubDate>Tue, 08 Jul 2008 19:56:24 +0000</pubDate>
<dc:creator>trends</dc:creator>
<guid>http://trends.wordpress.com/?p=20</guid>
<description><![CDATA[I&#8217;ve noticed this one for years&#8230;but haven&#8217;t written about it, until now. Impatienc]]></description>
<content:encoded><![CDATA[<p>I've noticed this one for years...but haven't written about it, until now. Impatience. I think computers are training us at some level to be more impatient with one another. Fundamentally, we're animals and like any creature trained for action=reward. Push the button, get the pellet.</p>
<p>In the information age, the button that we push is "enter" and the pellet that we get is information in whatever form we requested. Push the button, get the info.</p>
<p>We take that with us. We're out engaging with someone. They aren't moving fast enough--or correctly enough--or they aren't giving us the right information--we've pushed the button, where is your response??!</p>
<p>An example of this is a programmer I used to date many years ago. At the time, I thought he was the odd guy out with his intolerance and impatience if I didn't respond immediately or the way he wanted me to. I thought it was an isolated issue, just with him. However, over the years, amongst working and dating people within the technical community, I started to notice this as a pattern. They'd push the button, they wanted their response. Just like running their programs.</p>
<p>Now with search engine popularity, this has trained the entire computer literate society. Push the button, give us our information. </p>
<p>A lot of recent news has blamed this on the narcissistic children of the boomers, and I think some of that impatience comes from that, but I'd bet a bigger wager on the collective rat lab training of the computer literate human race to push buttons and get responses.</p>
<p>Trend: as more people come online and are "trained" by pushing "enter" to get responses, the impatience of society overall is going to grow.</p>
<p>Best get your pellets ready.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Alot of stuff...]]></title>
<link>http://jasoncmartin.wordpress.com/?p=56</link>
<pubDate>Mon, 23 Jun 2008 14:41:34 +0000</pubDate>
<dc:creator>legosjedi</dc:creator>
<guid>http://jasoncmartin.wordpress.com/?p=56</guid>
<description><![CDATA[Wow, I have quite a bit of news. First off, the Mod CP Plugin has been updated to 1.0.9. This updat]]></description>
<content:encoded><![CDATA[<p>Wow, I have quite a bit of news. First off, the <strong>Mod CP Plugin</strong> has been updated to <strong>1.0.9</strong>. This update fixes some bugs, as well as adds a setting to enable or disable Moderator's abilities to view IP Addresses. All users are encouraged to upgrade to the latest version. <a href="http://mods.mybboard.net/view/moderator-control-panel" target="_blank">Download</a>.</p>
<p>Today, I'm announcing a new Mac Application I'm making called <strong>iBlog</strong>. This software is a desktop blogging application, and will be <strong>free</strong>. I'm making this because all the free desktop blogging software don't really have the whole Mac OS X feel, because they're all cross platform. Keep an eye here for updates, as well as screenshots.</p>
<p>Hmmm, what else? Oh! Recently I was added to the MyBB development team. I sent an application a while ago, but they've finally added more people to the support team, as well as the development team, and I'm one of them. I'm waiting to get access to the SVN, but then I can start developing as soon as I do.</p>
<p>Hmmm, I think that's about it. Yeah, I still have too many projects. &#62;_&#60;</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Martial Arts and Computer Programming, The Equalities and Differences]]></title>
<link>http://triaslama.wordpress.com/?p=192</link>
<pubDate>Fri, 20 Jun 2008 12:08:27 +0000</pubDate>
<dc:creator>triaslama</dc:creator>
<guid>http://triaslama.wordpress.com/?p=192</guid>
<description><![CDATA[








(Both images taken from sosamartialarts.com and degreedirectory.org)
First and foremost, th]]></description>
<content:encoded><![CDATA[<table border="0">
<tbody>
<tr>
<td><img class="alignnone size-medium wp-image-193" src="http://triaslama.wordpress.com/files/2008/06/martial_arts.jpg?w=125" alt="Martial Arts" width="125" height="125" /></td>
<p><img class="alignnone size-medium wp-image-195" src="http://triaslama.wordpress.com/files/2008/06/comp_programming1.jpg?w=124" alt="Computer Programming" width="124" height="93" /></p>
<td></td>
</tr>
</tbody>
</table>
<p>(Both images taken from <a href="http://www.sosamartialarts.com/">sosamartialarts.com</a> and <a href="http://degreedirectory.org/articles/Computer_Programming_OpenCourseWare_University_Rankings.html">degreedirectory.org</a>)</p>
<p>First and foremost, this is only my own opinion, you not necassary agree with me  or maybe you have your own opinion. What I write here maybe not reflect the reality of both (martial arts and computer programming). Second I write this with <strong>"As Far As I Know"</strong> assumption.</p>
<p>In this post I just tempted to unveil what is reside in my mind. By now I want to talk about equalities and differences between martial arts and computer programming.</p>
<p>Lets start with the equalities:</p>
<p><strong>Sometimes it is suck, but it is rock!</strong><br />
Learning martial arts can be so suck, the same thing happen with computer programming! But best of all both of two things is rock! So your sacrifice is worth!</p>
<p><strong>It is good when you enjoy it!</strong><br />
What is better than do thing that we like? So its really good for us especially when we enjoy doing it!</p>
<p><!--more--></p>
<p><strong>Both need to be done with "Best Practices"</strong><br />
Practice makes perfect, but best practices can do more! do the best practices and lets hope that it will bring best results!</p>
<p>Now it's the time for the differences</p>
<p><strong>Martial arts is physical activities, computer programming is brain activities</strong><br />
It is clear, I think it is really hard to mastering a martial art just by imagine it, we need physical activities to handle it. Programming is brain activities because becoming a computer programmer will not broken your leg, right?</p>
<p><strong>Martial arts is how to control our body, computer programming is how to control the machine</strong><br />
I just talk in the surface, because in both fields I am not yet a master! What I do when I practice a martial art? I do the physical activities, something that make me full with sweat. What I do when I coding? I write programs to make the computer do what I want.</p>
<p><strong>Martial arts teach me how to life healthier, computer programming teach me how to make money</strong><br />
Maybe it is sound odd but its true. I am a martial arts fans, just like another sports it make us life healthier. Currently my job as software developer, so I earned money from write computer programs.</p>
<p>Sorry, I just kidding.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[What Every Engineer Should Know about Software Engineering; Philip Laplante]]></title>
<link>http://vyrist.wordpress.com/?p=152</link>
<pubDate>Sat, 14 Jun 2008 18:26:27 +0000</pubDate>
<dc:creator>thoma vyrist</dc:creator>
<guid>http://vyrist.wordpress.com/?p=152</guid>
<description><![CDATA[



4shared [6.3 MB]
]]></description>
<content:encoded><![CDATA[<p><img src="http://i261.photobucket.com/albums/ii56/vyrist13/WhatEveryEngineerShouldKnowaboutSof.jpg" alt="" /></p>
<p><!--more--></p>
<p><img src="http://i261.photobucket.com/albums/ii56/vyrist13/WhatEveryEngineerShouldKnowabout-1.jpg" alt="" /></p>
<p><img src="http://i261.photobucket.com/albums/ii56/vyrist13/WhatEveryEngineerShouldKnowabout-2.jpg" alt="" /></p>
<p><a href="http://www.4shared.com/file/51309923/e01fb236/WhatEveryEngShouldKnowBoutSoftwrEng_vyristwordpresscom.html">4shared</a> [6.3 MB]</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Computer Viruses And Malware]]></title>
<link>http://vyrist.wordpress.com/?p=148</link>
<pubDate>Sat, 14 Jun 2008 17:56:14 +0000</pubDate>
<dc:creator>thoma vyrist</dc:creator>
<guid>http://vyrist.wordpress.com/?p=148</guid>
<description><![CDATA[
The focus of this book is malware, and the techniques which can be used to detect, detain, and dest]]></description>
<content:encoded><![CDATA[<p><img src="http://i261.photobucket.com/albums/ii56/vyrist13/ComputerVirusesAndMalware.jpg" alt="" /></p>
<p>The focus of this book is malware, and the techniques which can be used to detect, detain, and destroy it.  This is not accidental.  Of the four  threats listed above, malware has the deepest connection to the other three. Malware may be propagated using spam, and may also be used to send spam; malware may take<br />
advantage of bugs; malware may be used to mount DoS attacks.  Addressing the problem  of  malware  is vital for  improving  computer  security.  Computer security is vital to our society's critical  infrastructure.</p>
<p><!--more--></p>
<p><a href="http://www.4shared.com/file/51306633/aa3bd41c/CompVirMlwr_vyristwordpresscom.html">4shared</a> [9.6 MB]</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[algorithm oh algorithm]]></title>
<link>http://aswinindraprastha.wordpress.com/?p=166</link>
<pubDate>Thu, 12 Jun 2008 10:00:41 +0000</pubDate>
<dc:creator>aswinindraprastha</dc:creator>
<guid>http://aswinindraprastha.wordpress.com/?p=166</guid>
<description><![CDATA[Something funny about algorithm is&#8230;um..sometime you feel like  looking at something interesti]]></description>
<content:encoded><![CDATA[<p>Something funny about algorithm is...um..sometime you feel like  looking at something interesting from a distance. It is irritating because you have to go there but somehow you don't  know how to get there.  It is NOT just about HOW to get there, but also...WHAT to make you go there.</p>
<p>It is maybe why they called it <em>algorithm</em>. The sense or intelligence to breakdown problem by examine it's part into SEQUENTIAL  way of solution. The algorithm way I think is interesting because it always come with logic first. <em>Linear logic</em>. That is the difference with designing. Sometime, or most of time, it's just pop-up in our head without reasoning. Best design not always come with excellent reasoning of what or how, but excellent computer program always comes with <em>par excellent</em> lines of codes.</p>
<p>This time my head spinning because of I had a  lot of algorithm thinking. Smallest problem become great challenge in algorithm way. Algorithm teach us to think structurally, sequential, thorough and complete. I am not birthed in a algorithm brain, I just love my design minded brain. But many people out there  gladly share their idle brain into something new..like...algorithm. <em>Completely different approach, completely different headache.</em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Alice.org]]></title>
<link>http://mrschu81.wordpress.com/?p=919</link>
<pubDate>Mon, 09 Jun 2008 21:24:41 +0000</pubDate>
<dc:creator>mrschu81</dc:creator>
<guid>http://mrschu81.wordpress.com/?p=919</guid>
<description><![CDATA[I’ve spent the afternoon reading Randy Pausch’s inspirational book, The Last Lecture. He helped ]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0 0 10pt;"><span style="color:#0070c0;"><span style="font-size:small;"><span style="font-family:Calibri;">I’ve spent the afternoon reading Randy Pausch’s inspirational book, <em>The Last Lecture.</em> He helped develop <em>Alice</em>, the Carnegie Mellon 3D programming world that makes it easy for people of all ages to create animations. It is a free service that millions have downloaded. To Randy, Alice “…is infinitely scalable. It’s scalable to the point where I can picture tens of millions of kids using it to chase their dreams. From the time we started Alice in the early 1990s, I’ve loved that it teaches computer programming by use of the head fake. Remember the head fake? That’s when you teach somebody something by having them think they’re learning something else. So students think they’re using Alice to make movies or create video games. The head fake is that they’re actually learning how to become computer programmers.” </span></span></span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="color:#0070c0;"><span style="font-size:small;"><span style="font-family:Calibri;">I plan to play with the program this summer and introduce it to sudents next year. Thank you, Randy! </span></span></span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="color:#0070c0;"><span style="font-size:small;"><span style="font-family:Calibri;"><a href="http://www.alice.org">www.alice.org</a> </span></span></span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="color:#0070c0;">                                   <img class="reflect" src="http://farm4.static.flickr.com/3081/2565099741_cff2fd2655.jpg?v=0" alt="" width="500" height="316" /></span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="color:#0070c0;"><span style="font-size:small;"><span style="font-family:Calibri;"><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/Nm7bv4wduTI'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/Nm7bv4wduTI&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></span></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Happy B--]]></title>
<link>http://lionello.wordpress.com/?p=4</link>
<pubDate>Tue, 03 Jun 2008 00:30:21 +0000</pubDate>
<dc:creator>lionello</dc:creator>
<guid>http://lionello.wordpress.com/?p=4</guid>
<description><![CDATA[I didn&#8217;t expect anything for my birthday, especially as I&#8217;m $500.00 behind on getting pa]]></description>
<content:encoded><![CDATA[<p>I didn't expect anything for my birthday, especially as I'm $500.00 behind on getting paid, but my boss' husband called her up today and mentioned it.  So they told me to meet them at the local town restaurant in the evening -- and to mow the lawn.<br />
They blew off the restaurant.  I haven't done the lawn.<br />
It's been a gradual slide downhill for me.  I came in here expecting $400 a week.  Then it turned to rent plus $250 and all utilities paid.  Now I shouldn't even be on this computer because I'm "using electricity".  I'm wondering where it's going to end.  They have a  Jaguar and two houses.  But no to electricity.<br />
My goal is to keep this blog up though until I am hired as a computer programmer somewhere legit, or as a blogger.  I've spent the last eight years working for and living with sketchy people and it's time to look out for Numero Uno.  Always was, but at least I'm going to start digging out of here with a sharpened spoon.</p>
<p>Thank you for reading my blog.<br />
Lionello</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[XLogo:  Free Computer Programming Tool for Little Kids]]></title>
<link>http://spottybanana.wordpress.com/?p=86</link>
<pubDate>Sat, 31 May 2008 10:01:05 +0000</pubDate>
<dc:creator>ginac</dc:creator>
<guid>http://spottybanana.wordpress.com/?p=86</guid>
<description><![CDATA[
XLogo is a very simple drawing program that lets young kids easily learn the concepts of computer p]]></description>
<content:encoded><![CDATA[<p><img style="vertical-align:top;" src="http://xlogo.sourceforge.net/images/small_xlogo.gif" alt="" width="66" height="50" /></p>
<p>XLogo is a very simple drawing program that lets young kids easily learn the concepts of computer programming.  XLogo uses a subset of the LOGO programming language and only uses about 42 commands.  Kids write simple programs to draw on the screen using commands like newturtle, showturtle and hideturtle.  Yes, turtles are what you 'control' in order to draw on the screen.</p>
<p>XLogo is great because its interface is so simple, kids can get started in minutes.  XLogo is a fun way to teach logic, creative problem solving and typing skills.  If your child masters this little language, he/she can extend his/her knowledge to more robust versions.</p>
<p>The XLogo version we are using is only available for Mac OS X.  There is an updated version that can be installed on a PC, but we have not tried it.  From looking at screenshots of the PC version, it looks like the PC version is somewhat more complex but also more powerful than the simple Mac version.</p>
<p>If you want to give XLogo a try, here are some resources to get you started:</p>
<p><strong>Mac OS X</strong></p>
<ul>
<li><a title="XLogo for Mac OS X" href="http://sourceforge.net/project/showfiles.php?group_id=84063" target="_blank">Download</a> XLogo 0.3.5 for Mac OS X</li>
<li>XLogo <a href="http://xlogo.sourceforge.net/documentation/EducatorDoc.txt" target="_blank">Educator Documentation</a></li>
<li>XLogo <a href="http://xlogo.sourceforge.net/documentation/UserDoc.txt" target="_blank">User Documentation</a> (You may want to print this for quick reference)</li>
</ul>
<p><strong>Windows</strong></p>
<ul>
<li><a title="About XLogo 0.9.92" href="http://xlogo.tuxfamily.org/en/presentation-en.html" target="_blank">About the XLogo 0.9.92 version</a></li>
<li><a href="http://xlogo.tuxfamily.org/en/download-en.html" target="_blank">Download XLogo 0.9.92</a></li>
<li><a href="http://xlogo.tuxfamily.org/en/documentation-en.html" target="_blank">Documentation and Tutorial</a></li>
</ul>
<p>Have Fun!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[What makes you truly know a programming language?]]></title>
<link>http://pdna.wordpress.com/?p=401</link>
<pubDate>Mon, 26 May 2008 01:17:37 +0000</pubDate>
<dc:creator>pdna</dc:creator>
<guid>http://pdna.wordpress.com/?p=401</guid>
<description><![CDATA[so you are learning a new computer programming language, such as C++, Visual Basic, Java, &#8230; C ]]></description>
<content:encoded><![CDATA[<p>so you are learning a new computer programming language, such as C++, Visual Basic, Java, ... C , Turing? .. We all are looking to learn new things ... But when can you confidently say that you know a programming language?</p>
<ul>
<li>use of brackets</li>
<li>if statements</li>
<li>Else if statements</li>
<li>How to print..</li>
<li>How to do a website in it?</li>
<li>database I/O</li>
<li>File I/O</li>
<li>How to call a function...</li>
</ul>
<p>Just some basic things.. To solve a problem in the language can help you truly get it better<br />
...etc.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Scrolling the Background]]></title>
<link>http://pcgameprogramming.wordpress.com/?p=130</link>
<pubDate>Fri, 23 May 2008 08:31:29 +0000</pubDate>
<dc:creator>Jesse</dc:creator>
<guid>http://pcgameprogramming.wordpress.com/?p=130</guid>
<description><![CDATA[Games usually have levels that are much bigger than the screen. When a game character moves, the gam]]></description>
<content:encoded><![CDATA[<p style="text-align:left;">Games usually have levels that are much bigger than the screen. When a game character moves, the game automatically moves the level so that the parts that were previously not on the screen can come within view. This technique is called scrolling and is used in almost all 2D platform games. Recently, I decided to learn this technique and I used it to explore the first level of Castlevania using the flying bat that I animated the last time. I use the keyboard to control the flying bat and as I do, the entire level slowly gets displayed on the screen. To program this, it helped me to compare scrolling to cropping a sprite sheet to select an image.<a href="http://pcgameprogramming.files.wordpress.com/2008/05/scrolling.png"><img class="alignnone size-full wp-image-131 aligncenter" src="http://pcgameprogramming.wordpress.com/files/2008/05/scrolling.png" alt="level scrolling" width="257" height="194" /></a></p>
<p>Basically what I have is an image file, which is the level map, and my screen can only display part of this large image. The screen resolution is the same size as the viewable area. As the bat moves around, this changes the coordinates of the viewable area. I use an SDL_Rect to clip the level map to the same dimensions of the screen. Then I center this rectangle on the bat. It's like a huge bounding box around the bat except that the rectangle will determine what part of the level gets clipped and what part gets displayed. When I move the bat, the coordinates of the rectangle change accordingly so that when I blit the next frame, the new changes will take place.</p>
<p>Of course the hard part is distinguishing between the coordinates of the bat versus the coordinates of the center of the viewable area. These should be the same but they don't have to be. In my case, they are the same so whatever the bat "sees" when it flies around in the level is automatically displayed on the screen.</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/wshf9g6CXaM'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/wshf9g6CXaM&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Programming tip]]></title>
<link>http://pdna.wordpress.com/?p=399</link>
<pubDate>Mon, 19 May 2008 22:19:56 +0000</pubDate>
<dc:creator>pdna</dc:creator>
<guid>http://pdna.wordpress.com/?p=399</guid>
<description><![CDATA[Need some programming assignment tips?
Doing some programming for a company, but having trouble]]></description>
<content:encoded><![CDATA[<p>Need some programming assignment tips?</p>
<p>Doing some programming for a company, but having trouble... Perhaps this tip can help<br />
Programming tip<br />
<strong>-Write it down.. Or draw it out</strong><br />
Why?<br />
You can see what you are working with<br />
-By drawing it out or writing it down, you go from a trial and error approach to a more guaranteed correct approach.<br />
-IN order to proceed often you will need to know the required prerequiste information. Thus, writing things down or drawing things out, i.e. Doing a quick walk through or 'tracing' allows you to get the problem solved faster and better.<br />
 <br />
I had a grid of numbers that I was messing up because the array index starts at 0. Basically I need a special if statement</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Computer Programming]]></title>
<link>http://marieclaire20.wordpress.com/?p=23</link>
<pubDate>Fri, 16 May 2008 19:08:30 +0000</pubDate>
<dc:creator>marieclaire20</dc:creator>
<guid>http://marieclaire20.wordpress.com/?p=23</guid>
<description><![CDATA[

Computer programming is the craft of writing codes used to perform a meaningful task in computing ]]></description>
<content:encoded><![CDATA[<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal" style="text-align:justify;">Computer programming is the craft of writing codes used to perform a meaningful task in computing system.<span> </span>Programming a computer can be performed using different programming languages.<span> </span>There are a lot of programming languages available now, ranging from low-level languages to high level languages.<span> </span>Low-level languages like machine language is a lot harder to program.<span> </span>Because it consist of numerous lines of codes to write when it is just a simple command.<span> </span>For instance, in assembly language when you want the computer to clear the lines it would take up to five to six lines of code. But when you are using high-level language like Turbo C/C++ it would just consist of only one word.<span> </span></p>
<p class="MsoNormal" style="text-align:justify;">
<p class="MsoNormal" style="text-align:justify;">There are a lot of high-level languages like JavaScript, Turbo C/C++ as I mentioned earlier, Pascal, Fortran, BASIC and <a href="http://www.outsourceit2philippines.com/outsource-latest-services.htm">PHP</a>.<span> </span>But for me when I created my software project I used Visual Basic 6.<span> </span>For me visual basic 6 is a lot easier to learn and it’s easier to use.<span> </span>The command is very easy to familiarize and to memorize. <span> </span>It has a user friendly GUI (Graphical User Interface).<span> </span></p>
<p class="MsoNormal" style="text-align:justify;">
<p class="MsoNormal" style="text-align:justify;">Computer Programming is just a part of a much larger field Software Engineering.<span> </span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Table Of Contents]]></title>
<link>http://rot1blg.wordpress.com/?p=19</link>
<pubDate>Fri, 16 May 2008 18:09:56 +0000</pubDate>
<dc:creator>Rot1</dc:creator>
<guid>http://rot1blg.wordpress.com/?p=19</guid>
<description><![CDATA[Perfix     Data Type
a              Array (of any kind)
ch           ]]></description>
<content:encoded><![CDATA[<p><strong>Perfix</strong>     <strong>Data Type</strong></p>
<p><em>a              Array (of any kind)</em></p>
<p><em>ch            Single Character</em></p>
<p><em>cb            Count of bytes</em></p>
<p><em>tp             Function Pointer or FILE pointer </em></p>
<p><em>h               Handle (generic handle, Example - ReadFile(hFile,..))</em></p>
<p><em>i                An index</em></p>
<p><em>l                Long integer (int C, Pascal:longint, Exmaple - SendMessage(..,lParam))</em></p>
<p><em>lp              Far or large pointer (Example - FindWindow(lpClassName,..))</em></p>
<p><em>n               Integer</em></p>
<p><em>np             Near or small pointer</em></p>
<p><em>sz              ASCIIZ String (NULL Terminating String)</em></p>
<p><em>w               Word (unsigned int, Exmaple - PostMessage(..,wParam))</em></p>
<p><em>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</em></p>
<p><strong>Variable name</strong>          <strong>Explanation</strong></p>
<p><em>pfOutput                      Points to output file</em></p>
<p><em>szName                       Character value</em></p>
<p><em>chInput                       Character</em></p>
<p><em>iLoop                          Index Loop</em>  </p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[My School Is Prettier Than Yours]]></title>
<link>http://asadream.wordpress.com/?p=384</link>
<pubDate>Wed, 14 May 2008 06:24:42 +0000</pubDate>
<dc:creator>asadream</dc:creator>
<guid>http://asadream.wordpress.com/?p=384</guid>
<description><![CDATA[I went to the cegep&mdash;that&#8217;s college for you&mdash;today (Tuesday).
I had the stupid idea ]]></description>
<content:encoded><![CDATA[<p>I went to the cegep&#8212;that's college for you&#8212;today (Tuesday).</p>
<p>I had the stupid idea of walking from the metro station to my destination. As I said: stupid idea. The walk was much longer than anticipated and, because I have no familiarity with the place, I ended up going the long way. Long path + feet rather than bus led to my being very much in late, by about 45 minutes. As if it weren't enough, I was only 5 minutes before closure. Fortunately for me, though, the woman I had to meet did not actually finish in 5 minutes, so I could meet her...Much to my disappointment, I had been "summoned" merely to sign something. Great. Marvelous. About 1 hour and 30 minutes of subway and walk just to sign a bloody paper.</p>
<p>At least, it allowed me to see the area for the first time. Not only is there a bus going right from the metro station to the college, but it passes along a beautiful park. Trees, ladies and gentlemen, trees! I love trees.</p>
<p>The building itself is quite ordinary. Just a building, with windows, doors and that kind of stuff. The park, however, is very beautiful. There are also lots of trees on the actual lot of the college, which is awesome. Even the parking doesn't look too much like the classic ugly wide parking for well frequented buildings.</p>
<p>Yes, it was my first time going. Actually, up to about 10 minutes before sending in my admission request, I don't think I had ever heard about it. There are quite a few colleges in Montreal, and most of them offer the program I'm going in&#8212;it has some fancy and rather odd name for what it is, but is it basically computer programming.</p>
<p>I will admit it to you, whole world: I chose this particular college because it was the first one on the list whose site I could access. I won't go studying computer programming in a college that can't even make a Firefox-compatible website. ;)</p>
<p>Don't worry too much about the state of accessibility in the province though, it was something like the second on the list.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Adding Music and a Title Screen]]></title>
<link>http://pcgameprogramming.wordpress.com/?p=121</link>
<pubDate>Mon, 12 May 2008 03:43:07 +0000</pubDate>
<dc:creator>Jesse</dc:creator>
<guid>http://pcgameprogramming.wordpress.com/?p=121</guid>
<description><![CDATA[It&#8217;s been a while since my last post but I&#8217;ve had college finals to study for. With summ]]></description>
<content:encoded><![CDATA[<p>It's been a while since my last post but I've had college finals to study for. With summer vacation approaching, I'll hopefully have more time to work on games. Since it is my first game and my first major C++ program, I'd say Pong is practically done. To put the finishing touches though, I want to add a title screen and some sounds. A title screen can be made using the GIMP and sounds can be added using the SDL_mixer library.</p>
<p>To get started, I downloaded the <a href="http://www.libsdl.org/projects/SDL_mixer/">SDL_mixer library</a> and installed the header files in Mingw's include folder; then I copied the .lib files to the lib directory and the .dll files to the bin directory. This takes care of the installation of the mixer library.</p>
<p>To use the library, I need to include the headers and initialize SDL like before. Instead of putting the header "SDL/SDL_mixer.h" file in my main program, I put it in my contstants.h since all my classes include this particular header. This is my soundboard class I use to instantiate a sound object at run time:</p>
<p><a href="http://pcgameprogramming.files.wordpress.com/2008/05/sound.png"><img class="alignnone size-full wp-image-122" src="http://pcgameprogramming.wordpress.com/files/2008/05/sound.png" alt="source code" width="333" height="516" /></a></p>
<p>These are pretty self-explanatory. The pointers point to the game music and the sound effect files. The methods are simply wrappers for the SDL library functions. To implement the class, I needed to read the documentation for SDL_mixer to figure out which functions to call:</p>
<p><a href="http://pcgameprogramming.files.wordpress.com/2008/05/soundboard.png"><img class="alignnone size-full wp-image-123" src="http://pcgameprogramming.wordpress.com/files/2008/05/soundboard.png" alt="source code" width="451" height="660" /></a></p>
<p><a href="http://pcgameprogramming.files.wordpress.com/2008/05/sounds.png"><img class="alignnone size-full wp-image-124" src="http://pcgameprogramming.wordpress.com/files/2008/05/sounds.png" alt="" width="362" height="140" /></a></p>
<p>The constructor initializes the SDL mixer and sets-up a sound object using a sampling of 22050 Hz at 4096 bps using 2 channels. The sound pointers are initialized to NULL. When the game loads the graphics files, I call the load_sound () method and load the game sounds too. I need to have my three wave files in the same directory as the program. Two of them are sound effects while the third one is a music file. When the play_music () method gets called, it plays the music.wav file and loops it until I call the stop_music () method. The sound effect wave files are played when either of the paddles scores. I could also add collision wave files but there are some problems I'm having with that and the mixer seems to delay a bit before playing the wave file.</p>
<p>Since the sound object will be instantiated dynamically on the heap, I have to make sure to delete the resources when the destructor gets called. I have done that in main(). I know this sound system is primitive, but this takes care of the basic sounds for now.</p>
<p>To add a title screen to Pong requires using the GIMP. I am not an artist so this is something which is kind of hard for me. Still, there are a lot of resources out on the internet that teach one how to use Photoshop and the GIMP like a pro. I've been to some of these and I picked up a few tricks. Over the last week, I was fooling around with the GIMP and I managed to come up with some ideas for a simple title screen. Since it is kind of involved though, I will not write about it here but I did upload a Youtube video that shows exactly what I did to come up with my new title screen:</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/zrN38H7KLNo'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/zrN38H7KLNo&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The Absolute Beginner's Guide to Starting a Web Site]]></title>
<link>http://vyrist.wordpress.com/?p=143</link>
<pubDate>Wed, 07 May 2008 14:04:48 +0000</pubDate>
<dc:creator>thoma vyrist</dc:creator>
<guid>http://vyrist.wordpress.com/?p=143</guid>
<description><![CDATA[


4shared (0.8 MB)
]]></description>
<content:encoded><![CDATA[<p><img src="http://i261.photobucket.com/albums/ii56/vyrist13/TheAbsoluteBeginnersGuidetoStarting.jpg" alt="" width="689" height="395" /></p>
<p><!--more--></p>
<p><img src="http://i261.photobucket.com/albums/ii56/vyrist13/TheAbsoluteBeginnersGuidetoStart-1.jpg" alt="" width="788" height="284" /></p>
<p><a href="http://www.4shared.com/file/46749325/63f74813/TAbsBgGdtStrtWbS_vyristwordpresscom.html">4shared</a> (0.8 MB)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Get out of my Brain!]]></title>
<link>http://bitsydungaree.wordpress.com/?p=13</link>
<pubDate>Mon, 05 May 2008 18:49:29 +0000</pubDate>
<dc:creator>bitsydungaree</dc:creator>
<guid>http://bitsydungaree.wordpress.com/?p=13</guid>
<description><![CDATA[I have long been intrigued by whatever program generates the &#8220;possibly relatedlinks&#8221; tha]]></description>
<content:encoded><![CDATA[<p>I have long been intrigued by whatever program generates the "possibly relatedlinks" that show up on our blogs and our myspace pages.  Most of the links that pop up on my myspace homepage are for acting classes and Shakespeare festivals, and I can see how a computer program that is scanning the information I've included in my interests would detect a common theme of "Shakespeare nerd" and then try to point me to websites in this family.  I enjoy checking out the types of websites that this mysterious link generator thinks my friends would be interested based on the information in their profiles as they are, often accurate yet bizarre.</p>
<p>But last week, a "possibly related link" showed up on my blog that stopped me in my tracks:</p>
<p><strong>I want a baby so badly it hurts.</strong></p>
<p>(As a side note: I would include this link in my blog, but it is no longer appearing on my page and, I could write a weeks worth of blogs detailing what would happen if my boyfriend found "I want a baby so badly it hurts" in the recent searches on his laptop)</p>
<p>Where were we?  Oh yes,</p>
<p><strong>I want a baby so badly it hurts.</strong></p>
<p>I stared at the page in disbelief, asking my computer, <em>how do you know that?? </em>I haven't blogged about wanting a baby.  I haven't blogged about babies at all!  I suddenly felt like I was a character in one of those futuristic thrillers where the government knows everything about you, and the computer was not generating "possibly related links" but actually reading my mind.</p>
<p>Maybe Chris was right when he suggested last Friday that pregnancy was in the water in our small Los Angeles suburb (to which I replied, "I need to drink more water.")  Maybe the giant banner outside the new Bellini store that reads <em>The Babies are Coming</em> is actually a warning and it isn't the government hacking into my brain and posting these links on my blog, but an army of mind-reading babies from outer space.</p>
<p>But whether it's a computer program or a mind-reading baby, if whatever is doing this has the power to look into my soul, shouldn't it know that I'm not <em>ready</em>for a baby?  Why can't it be nice like the myspace link generator and just try to send me to acting class or the Oregon Shakespeare Festival?  And what if the psychic alien infants have taken over myspace as well, serving to explain why today's link on my homepage reads: <strong>Cate Blanchett has Baby</strong>?</p>
]]></content:encoded>
</item>

</channel>
</rss>
