<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3808318912717334678</id><updated>2024-08-31T18:45:05.090+01:00</updated><category term="Delphi"/><category term="Programming"/><category term="Tutorials"/><category term="Websites"/><category term="Apache"/><category term="Art"/><category term="Blogging return"/><category term="Domains"/><category term="DynDns"/><category term="Humour"/><category term="Microsoft"/><category term="Old Computers"/><category term="The Internet"/><category term="Vista"/><category term="What&#39;s Annoyed me"/><category term="Windows 7"/><category term="beverages"/><category term="blog"/><category term="blogging hobby"/><category term="blogging issues"/><category term="electronics"/><category term="gadgets"/><category term="geek speak"/><category term="keyboards"/><category term="online dating"/><category term="relationships"/><category term="text language"/><title type='text'>The Computer Monkey</title><subtitle type='html'>The Computer Monkey is a blog loosely based around the modern world, the Internet, computing and advancing, yet as ever new but possibly ludicrous technologies. Where an area strikes me with interest or inspiration, I&#39;ll write up about it to share with you readers and with a bit of luck you&#39;ll enjoy reading it!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-3570904956349458842</id><published>2011-07-04T00:30:00.001+01:00</published><updated>2011-07-04T00:32:34.279+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blog"/><category scheme="http://www.blogger.com/atom/ns#" term="What&#39;s Annoyed me"/><title type='text'>What&#39;s Annoyed Me blog</title><content type='html'>Hi readers, I&#39;ve decided to start a new blog with a completely different outlook, reflecting on the troubles and annoyances surrounding life. The &lt;a href=&quot;http://whatsannoyedme.blogspot.com/&quot;&gt;What&#39;s Annoyed Me&lt;/a&gt; Blog will hopefully interest some readers and bring them delight, as I intend to makle a more personal impression on the blog. The blog will try to entale personal stories relating to my anger for everyday hurdles, and even try to impose solutions to what may seem nightmare issues. As ever, a humorous undertone will be part of it&#39;s integrity and you can view it &lt;a href=&quot;http://whatsannoyedme.blogspot.com/&quot;&gt;here&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/3570904956349458842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2011/07/whats-annoyed-me-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3570904956349458842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3570904956349458842'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2011/07/whats-annoyed-me-blog.html' title='What&#39;s Annoyed Me blog'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-8724925613965363347</id><published>2011-07-02T22:47:00.001+01:00</published><updated>2011-07-03T00:48:48.194+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogging hobby"/><category scheme="http://www.blogger.com/atom/ns#" term="blogging issues"/><category scheme="http://www.blogger.com/atom/ns#" term="Blogging return"/><title type='text'>Back and ready to blog</title><content type='html'>Hi everyone, I started the Computer Monkey Blog quite some time ago now but I never kept up with the writing within the year. On top of being lazy, procrastination and actually doing my studies, I think I&#39;ve come to terms with where I went wrong last time.&lt;br /&gt;
&lt;br /&gt;
So I built my little page on blogger and gave it a nice gimmicky name. Boom! It was up! And all it took was a measly five minutes. Thereafter came writing the material however, you&#39;ll probably notice that in my previous posts I tried to write something almost once every two days. In reality, at least now anyway I was probably overestimating how much time I actually had. Two days goes faster than you think! Nonetheless I think I need to remind myself that blogging is a hobby. I&#39;m writing because I enjoy it... not because I have to. I&#39;m also pretty guilty with initial fascinations, but this time I&#39;m not going to let that peddle me out. Well, thats the plan anyway. My goal is blog to my heart&#39;s content and blog when the time feels write. Here&#39;s to hoping it works for me this time.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/8724925613965363347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2011/07/back-and-ready-to-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/8724925613965363347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/8724925613965363347'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2011/07/back-and-ready-to-blog.html' title='Back and ready to blog'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-3470542025070210905</id><published>2009-11-03T13:11:00.004+00:00</published><updated>2010-01-28T19:00:40.851+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><title type='text'>Delphi Tutorial Part 3</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Loops&lt;/span&gt;&lt;br /&gt;It can be very tedious for someone to write out code that needs to be repeated on more than occasion. Likewise, it can be impossible to predict how many times we want some code to repeated. &lt;span style=&quot;font-weight:bold;&quot;&gt;REPEAT, WHILE and FOR&lt;/span&gt; are statements that enable us to avoid these kind of situations, and without them, programming would be almost certainlly a very dull task.&lt;br /&gt;&lt;br /&gt;The WHILE statement is the most conventional form of a loop. If you want to execute lines of code repeatedly, but you unsure if you want to execute them in the first place, this is the loop to choose. While a certain condition is true, the code is repeated.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;a:=1;&lt;br /&gt;while (a&lt;=3)&lt;br /&gt;begin&lt;br /&gt; writeln(a);&lt;br /&gt; a:=a+1;&lt;br /&gt;end;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can see by this example, the integer(a) is continuously output on screen until it is equal to or less than 3. Therefore, the numbers 1, 2 and 3 should be written on each line. You can see that this can be particularly useful when you need to ensure some code is repeated a certain number of times. Although, the FOR loop can do the same job but do the counting for you.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;for i:=1 to 3 do&lt;br /&gt; writeln(i);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This loop assigns the value 1 to the variable to begin with, and then counts up to 3 as it outputs each number turn by turn. The next example shows how the same can be applied to character variables (assigned as &lt;span style=&quot;font-weight:bold;&quot;&gt;char&lt;/span&gt;), and also how loops can count down as well as up.  &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;for mycharacter:=&#39;D&#39; downto &#39;A&#39; do&lt;br /&gt; writeln(mycharacter);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This loop should result in the characters D, C, B and A to be output on screen in this exact order. &lt;br /&gt;&lt;br /&gt;The last type of loop (REPEAT) executes code on at least one occasion, and then a check is made with an ending conditional statement. In contrast, the conditional statement is marked using the word UNTIL, and if the condition is true then the loop is stopped.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;a:=1;&lt;br /&gt;repeat&lt;br /&gt; writeln(a);&lt;br /&gt; a:=a+1;&lt;br /&gt;until (a&gt;3)&lt;br /&gt;end;  &lt;br /&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Like the other examples, the variable a is output to the console with each iteration of the loop. The variable is incremented by one with each iteration until the number is larger than 3. Therefore 1, 2, and 3 are all written out on different lines.&lt;br /&gt;&lt;br /&gt;In the next section of this tutorial you will learn how to organise your programs by sectioning parts of code into procedures or functions.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/3470542025070210905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/11/delphi-tutorial-part-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3470542025070210905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3470542025070210905'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/11/delphi-tutorial-part-3.html' title='Delphi Tutorial Part 3'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-5432391983467913255</id><published>2009-10-31T21:16:00.001+00:00</published><updated>2009-11-02T00:28:13.248+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><title type='text'>Delphi Tutorial Part 2</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Conditional Statements&lt;/span&gt;&lt;br /&gt;So far we have made a program to execute a bunch of fixed commands, so no matter what happens, all of the statements in that program will be carried out in chronological order. There are many cases though where we only want to carry out actions under certain cases or conditions, and this exactly what we&#39;re going to do in this part of the tutorial. The statements &lt;span style=&quot;font-weight:bold;&quot;&gt;IF&lt;/span&gt;, &lt;span style=&quot;font-weight:bold;&quot;&gt;ELSE&lt;/span&gt; and &lt;span style=&quot;font-weight:bold;&quot;&gt;CASE&lt;/span&gt; will be demonstrated here to bring out a decision based element in our program. To do this, we will request an input about someones age and provide either a younger or an older user response.   &lt;br /&gt;&lt;br /&gt;Whenever we want to make a simple decision we use IF. The statements that follow IF are considered to be the conditions or expressions.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;If (a=1) then&lt;br /&gt;Begin&lt;br /&gt; writeln(&#39;a equals 1&#39;);&lt;br /&gt;end;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;&lt;br /&gt;All of the commands after &lt;span style=&quot;font-weight:bold;&quot;&gt;then&lt;/span&gt; are executed if the conditions turn out to be true. Above you can see that if the variable a equals 1, then the actions between begin and end are executed. In this scenario, the message &quot;a equals 1&quot; is output on screen. As this is an If statement though, and not the end of our program, END has to be terminated with a semi-colon.&lt;br /&gt;&lt;br /&gt;You can choose to declare more than one condition in an IF statement, by using more than one group of brackets. We also have to separate two or more conditions using operators like OR, AND, XOR. The code below is an example of how we do this, and how much of a difference these operators can make.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Using the OR operator&lt;/span&gt; &lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;If (a=1) OR (b=1) then&lt;br /&gt;begin&lt;br /&gt; writeln(&#39;either a or b equal 1&#39;);&lt;br /&gt;end;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Using the AND operator&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;If (a=1) AND (b=1) then&lt;br /&gt;begin&lt;br /&gt; writeln(&#39;both a and b equal 1&#39;);&lt;br /&gt;end; &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the first case, either a or b can be equal to one for the If statement to be true. Although with the second case, both a and b have to be equal to one for the if to be true. If the statement is in fact false, we can also choose to bind some instructions to this false condition using ELSE. ELSE in programming is just like saying, otherwise do this...&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;If (a=1) AND (b=1) then&lt;br /&gt;begin&lt;br /&gt; writeln(&#39;both a and b equal 1&#39;);&lt;br /&gt;end&lt;br /&gt;else&lt;br /&gt;begin&lt;br /&gt; writeln(&#39;either a or b does not equal 1&#39;);&lt;br /&gt;end;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you can see that if a or b isn&#39;t equal to one, then a message is written on screen declaring that this is the case. However now that we have used the ELSE statement, we also have to shift the semi-colon from the IF clause down to the ELSE clause. Even better, you can choose to remove begin and end from both of these clauses if there is only one line inside them, like so.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;If (a=1) AND (b=1) then&lt;br /&gt; writeln(&#39;both a and b equal 1&#39;)&lt;br /&gt;else&lt;br /&gt; writeln(&#39;either a or b does not equal 1&#39;);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is a list of most of all the possible operators you can use in Delphi, with a small explanation of the purpose of each. Most of these are to be used in actual expressions like an equals sign, unlike the example above where AND/OR are used to join up expressions.  &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;AND&lt;/span&gt;: both expressions on either side of this operator must be true to execute the code.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;OR&lt;/span&gt;: one of the expressions on either side of the operator must be true to execute the code.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;XOR&lt;/span&gt;: the expression on the left must be true, or the expression on the right must be false.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;NOT&lt;/span&gt;: the expression that follows must be false for the condition to be true.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;=&lt;/span&gt;: the left side of an expression or equation must be exactly equal to the right side for it to be true.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;&lt;/span&gt;: the left side of the equation must be less than the right side for the condition to be true.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;=&lt;/span&gt;: the left side of the equation must be less than or equal to the right side to be true.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&gt;=&lt;/span&gt;: the left side of the equation must be larger or equal to the right side to be true.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;=!&lt;/span&gt;: the left side of the equation must not be equal to the value on the right to be true.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;&gt;&lt;/span&gt;: the left and right side of the equation cannot be equal to each other for the condition to be true.&lt;br /&gt;&lt;br /&gt;You can go a step further with the IF and ELSE statements by rooting them off one another.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;if (a=1) then&lt;br /&gt;begin&lt;br /&gt; if (b=1) then&lt;br /&gt;  writeln(&#39;both a and b equal 1&#39;)&lt;br /&gt; else&lt;br /&gt;  writeln(&#39;just a equals 1&#39;); &lt;br /&gt;end&lt;br /&gt;else&lt;br /&gt; if (b&lt;&gt;1) then&lt;br /&gt;  writeln(&#39;both a and b don&#39;t equal 1&#39;);  &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sometimes you can have a ridiculous number of these statements, and so the CASE statement exists to simplify things greatly. &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;Case a of&lt;br /&gt;1: writeln(&#39;a equals 1&#39;);    //case 1&lt;br /&gt;2: writeln(&#39;a equals 2&#39;);    //case 2&lt;br /&gt;3: writeln(&#39;a equals 3&#39;);    //case 3&lt;br /&gt;else&lt;br /&gt; writeln(&#39;a is less than 1 or larger than 3&#39;);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The only problem with the case statement, is that you can&#39;t use a string variable. You have to use an ordinal or fixed variant, such as an Integer.&lt;br /&gt;&lt;br /&gt;Now that you have got to grips with how conditional statements work, hopefully you should understand the new code we will be adding below to our program.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;br /&gt;program MyFirstProgram;&lt;br /&gt;&lt;br /&gt;var&lt;br /&gt;nameVar: String; //name variable&lt;br /&gt;age: Integer;&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;writeln(&#39;What is your name? &#39;);&lt;br /&gt;readln(nameVar);&lt;br /&gt;writeln(&#39;Hello &#39;+nameVar+&#39; how old are you?&#39;);&lt;br /&gt;//new code starts here&lt;br /&gt;readln(age);&lt;br /&gt;if age&lt;23 then&lt;br /&gt; writeln(&#39;Oh, so do you still study?&#39;)&lt;br /&gt;else&lt;br /&gt; writeln(&#39;What do you do for living?&#39;);&lt;br /&gt;end.&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;&lt;br /&gt;We&#39;ve added a new variable called &lt;span style=&quot;font-weight:bold;&quot;&gt;age&lt;/span&gt; to use in our conditional statement, and have classed it as an integer as we only want to store a whole number. We then use IF to see if the age that was input, was less than 23 and then proceed accordingly. If the age was less than 23 we ask if this person is still studying, but otherwise we ask what they do for a living.&lt;br /&gt;&lt;br /&gt;The next chapter in this tutorial covers loops, and how a process can be repeated as often as you want without re-typing code.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/5432391983467913255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/delphi-tutorial-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/5432391983467913255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/5432391983467913255'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/delphi-tutorial-part-2.html' title='Delphi Tutorial Part 2'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-3117445215420720279</id><published>2009-10-29T22:00:00.004+00:00</published><updated>2009-11-02T00:27:31.569+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><title type='text'>Delphi Tutorial Part 1</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Variables&lt;/span&gt;&lt;br /&gt;Variables in programming are used to hold useful bits of information. Numbers, characters, words, lists, memos, and any kind of data that needs to be referenced to, should have an associated variable. Variables in Computing also need to be assigned to different classes. These will be covered in a latter part of the tutorial, but in summary, they tell us what kind of data input there should be, and restrain us from using inappropriate data. In Delphi for example, the &lt;b&gt;string&lt;/b&gt; class holds 225 bytes of data (255 characters), the &lt;b&gt;integer&lt;/b&gt; class can hold any number between -2147483648 and 2147483647, and the &lt;b&gt;double&lt;/b&gt; class can hold a decimal value up to 308 or negative 308 base 10. These three classes are the only ones you will need for now, but other very useful classes will covered in the course of this tutorial. A variable should proceed &lt;b&gt;var&lt;/b&gt; in the main program with a unique name, followed by a colon and the class. Below I have wrote a sample program to show how a variable can be used to store your name, and give you a welcome message.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;program MyFirstProgram;&lt;br /&gt;&lt;br /&gt;var&lt;br /&gt;nameVar: String; //name variable&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;writeln(&#39;What is your name? &#39;);&lt;br /&gt;readln(nameVar);&lt;br /&gt;writeln(&#39;Hello &#39;+nameVar+&#39; how are you doing today?&#39;);&lt;br /&gt;readln();&lt;br /&gt;end.&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Since you probably only just discovered the language five minutes ago, we will need to cover some syntax here.&lt;br /&gt;&lt;br /&gt;Every application in Pascal must begin with the word &lt;b&gt;Program&lt;/b&gt; and there by followed by the name you would like to assign to it. This is our first command in our program, so therefore like any other instruction we need to terminate the command with a semi-colon. After this we declare our list of variables following &lt;span style=&quot;font-weight:bold;&quot;&gt;var&lt;/span&gt; and then we initiate the main body of our program with the word &lt;span style=&quot;font-weight:bold;&quot;&gt;begin&lt;/span&gt;. Thankfully we end our program just as easily using the word &lt;span style=&quot;font-weight:bold;&quot;&gt;end.&lt;/span&gt; Programmers often refer to these as the beginning and the end of a clause. &lt;span style=&quot;font-weight:bold;&quot;&gt;writeln()&lt;/span&gt; is used to output text to the screen, and an input is taken from the next line using &lt;span style=&quot;font-weight:bold;&quot;&gt;readln()&lt;/span&gt; where hopefully the user should type in their name. Note, the name of the variable has been placed in between the brackets in order to return the value we need. You may notice at the end of of our writeln statement, we have added text to the end of it by using two &#39;/&#39; characters. This is known as a comment, and in bigger and more commercial situations these permit us to post reminders or pointers for you or any colleagues you may have. Then lastly, the writeln command is used again to output text but with the addition of the user&#39;s name. A variable here can almost be treated like a number, the name is inserted just by using addition signs and the name of the variable. The final line uses a read command with no output variable, to ensure that the text can be read by the person. Without this the program would just instantly end on the input of your name. &lt;br /&gt;&lt;br /&gt;Variables of the Integer or floating point class can be treated similarly. The main difference is that only values can be added to them as opposed to text. We could have a variable name called &lt;span style=&quot;font-weight:bold;&quot;&gt;a&lt;/span&gt;, and then assign a value to this using an equals sign. Likewise we could do the same with a variable named b, add the two together and then return this value to a third variable (called c maybe). &lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;program AnotherProgram;&lt;br /&gt;&lt;br /&gt;var&lt;br /&gt;a: Integer;&lt;br /&gt;b: Integer;&lt;br /&gt;c: Integer;&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;a:=1;&lt;br /&gt;b:=1;&lt;br /&gt;c:=a+b;&lt;br /&gt;writeln(c);&lt;br /&gt;readln();&lt;br /&gt;end.&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Delphi was made to assign values to variables by using the colon and the equals sign, but it is worth remembering that the standard is just the equals sign.&lt;br /&gt;The next part of the tutorial will be about conditional statements, to help you understand how to trigger actions under certain events where necessary.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/3117445215420720279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/delphi-tutorial-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3117445215420720279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3117445215420720279'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/delphi-tutorial-part-1.html' title='Delphi Tutorial Part 1'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-8666929617598489125</id><published>2009-10-28T15:04:00.005+00:00</published><updated>2009-10-30T21:55:58.439+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Art"/><category scheme="http://www.blogger.com/atom/ns#" term="Humour"/><category scheme="http://www.blogger.com/atom/ns#" term="The Internet"/><title type='text'>A world without the Internet</title><content type='html'>Some have wondered what the world would come to if the Internet just suddenly disappeared. Some would become jobless; large online  businesses like Google and Yahoo would collapse; people could lose contact, and generally the world would be a duller place. Over at &lt;a href=&quot;http://www.cracked.com&quot;&gt;www.cracked.com&lt;/a&gt; people have posted their own visions of a World tomorrow, without the Internet. People have been rewarded for their works in a photoshop competition. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.cracked.com/photoshop_90_the-world-tomorrow-if-internet-disappeared-today_p20&quot;&gt;The World tomorrow if the Internet disappeared&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/8666929617598489125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/world-without-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/8666929617598489125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/8666929617598489125'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/world-without-internet.html' title='A world without the Internet'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-2676939555647015397</id><published>2009-10-26T18:41:00.022+00:00</published><updated>2009-11-02T00:28:45.676+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><title type='text'>How to start Programming</title><content type='html'>There are many ways to which someone can choose to program, but I think a lot of people don&#39;t realise the potential that is out there. People can choose to do electronic programming which is known as low-level programming, or develop software of their own (high-level programming). Both of which are now widely available, but nevertheless the processes carried out in the two are different. Without a doubt, programming is easier and more flexible than people think or make it out to be. At the most, with a month&#39;s learning anyone can grasp the basics, start to build a business application or even start to build their own game. The beauty of programming is that you don&#39;t need encyclopedic knowledge of a Computer language to make a application or software solution, but the logic and the techniques you apply are the key. Programming is almost like a puzzle. Anyone can solve one over time, but what is the quickest way to do it? This blog focuses on this software orientated side of programming, and hopefully after reading this, you will feel more comfortable in choosing a language and starting to write some basic programs yourself.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;What makes a good programmer?&lt;/span&gt;&lt;br /&gt;A good programmer is usually distinguished by his or her ability in logical thinking. Despite what some people think, Maths is not largely involved until someone decides to delve into fields like Artificial Intelligence, or 3D programming. Even in these cases, the methods applied relate to formulae that have already been found out and provided for us. So, don&#39;t let this put you off. However, if you seriously want to make programming a career, patience is essential. There will at some point come a time, where theres a problem with your work, or you are simpy unsure how to implement. Problems like these that arise like this can be very frustrating at times, and can take many hours to solve. It will take persistence and some visualisation to see through these situations and debug your programs. Those who can visualise and seperate their programs into neat, logical and simple instructions are one step ahead into thinking like programmers.&lt;br /&gt; &lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;What Computer Language should I write in?&lt;/span&gt;&lt;br /&gt;There are so many languages to choose from now, it can be quite hard to conclude which language is best for you and your programs. Pascal/Delphi, Python and Visual Basic are what I believe to be some of the best beginner programming languages out there. Both Borland Pascal/Delphi and Visual basic come with good interfaces, and are packaged with the .NET framework for you to instantly make your own Windows applications. All of which are easy to get to know, Python in particular, and all of them having thriving online communities with the exception of Delphi. Pascal/Delphi has roots that go back as far as the 1980&#39;s, hence why there is a lack of online support. Although, I still think it is a logical language to start learning with, even if some dislike the syntax and structure it uses. I intend to bring back some of its delights with a small 10 step guide below into learning Delphi.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;10 steps to understanding Delphi&lt;/span&gt;&lt;br /&gt;I have decided to release a quick Delphi tutorial in different posts, over the course of a few days. Before you begin this guide though you will need to download and install a compiler. Unfortunately, in the process of writing this post I found out that &lt;a href=&quot;http://www.turboexplorer.com&quot;&gt;Borland Delphi 2006&lt;/a&gt; is no longer available for free download. Two good alternatives though can be found &lt;a href=&quot;http://freepascal.org&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.lazarus.freepascal.org&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Two very good sources on Delphi are &lt;a href=&quot;http://Delphi.about.com&quot;&gt;Delphi.about.com&lt;/a&gt; and &lt;a href=&quot;http://www.delphibasics.co.uk&quot;&gt;Delphibasics.co.uk&lt;/a&gt; if you choose to gather more in depth knowledge. I will also be posting some of my own projects in the future for people to try out for themselves.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/2676939555647015397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/how-to-start-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/2676939555647015397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/2676939555647015397'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/how-to-start-programming.html' title='How to start Programming'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-1459910165209292695</id><published>2009-10-25T17:35:00.010+00:00</published><updated>2009-10-28T00:03:41.087+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Vista"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7"/><title type='text'>Will Windows 7 be a hit? Will it work?</title><content type='html'>A few years ago, many of us faced a huge disappointment from Microsoft&#39;s Operating System Windows Vista. Like the rest of their Operating Systems it was widely anticipating a release, but soon after, it was also widely regarded as one of Microsoft&#39;s biggest let downs. Vista brought to us a completely new and more attractive interface, but it also brought bugs, security issues, high hardware requirements and of course dreadfully slow file transfers. On the other hand however, maybe Microsoft has had a bit too much abuse recently. Vista was a completely new system after all, so their team of developers all had to start from the ground up. Taking this into account, it is no wonder why fixes and adjustments had to be made, and Microsoft have been very busy, and very quick at releasing Windows 7 to rectify this. With the release of Windows 7 last Friday I am sure that many of us are keen to know if it does exactly this. Critics have provided some promising reviews, and I know some who still wished they were using the beta over Windows Vista. The review from &lt;a href=&quot;http://reviews.cnet.com/windows/microsoft-windows-7-professional/4505-3672_7-33704140.html&quot;&gt;CNET.com&lt;/a&gt; and &lt;a href=&quot;http://www.engadget.com/2009/08/12/windows-7-review&quot;&gt;endadget.com&lt;/a&gt; provide some detailed reviews for those who are interested to find out.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/1459910165209292695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/will-windows-7-be-hit-will-it-work.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/1459910165209292695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/1459910165209292695'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/will-windows-7-be-hit-will-it-work.html' title='Will Windows 7 be a hit? Will it work?'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-4503070441725260772</id><published>2009-10-23T17:47:00.018+01:00</published><updated>2009-10-28T00:11:25.346+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Domains"/><category scheme="http://www.blogger.com/atom/ns#" term="DynDns"/><category scheme="http://www.blogger.com/atom/ns#" term="Websites"/><title type='text'>Add a Dynamic domain name to your website</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimWYaDFA7_8HGvUarxFhrlNn9VCihyRoSQkbCSC6dumxhG4KVmwhZoQktIIvPCgjOKxY9OSocp3WZ4enXlse87kDeAwBhD-TZPWGFdYVCi9TvPIEFSJsIt5YtAWPDeWkCz19G3SP3Alpo/s1600-h/dyndns.png&quot;&gt;&lt;img style=&quot;float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 206px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimWYaDFA7_8HGvUarxFhrlNn9VCihyRoSQkbCSC6dumxhG4KVmwhZoQktIIvPCgjOKxY9OSocp3WZ4enXlse87kDeAwBhD-TZPWGFdYVCi9TvPIEFSJsIt5YtAWPDeWkCz19G3SP3Alpo/s320/dyndns.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5395960060454391810&quot; /&gt;&lt;/a&gt;&lt;br /&gt;In response to the article &lt;a href=&quot;http://thecomputermonkey.blogspot.com/2009/10/how-to-turn-old-pc-into-website.html&quot;&gt;How to turn an old PC into a website&lt;/a&gt; the dilemma which many home setups face, is the fact that most people will have dynamic IP address. This means, whenever you choose to disconnect and connect to your Internet Service Provider you will effectively be given a different address. The domain name or the web address which it is attached to becomes invalid, and typing that address into your web browser, will just provide you with an error message. It&#39;s almost like knocking on someones door to later find out they have moved away, but in this case they have moved without choice. When a site is attached to such an address, this can be problematic, and holding a connection by say leaving your router on for the purpose of your site is very impractical.&lt;br /&gt;&lt;br /&gt;To counter this problem you could always ask your ISP to give you a static/fixed IP address but this normally comes with a premium. However, this is where dynamic domain names come into play. A service such as &lt;a href=&quot;http://www.dyndns.com&quot;&gt;DynDNS&lt;/a&gt; can provide you with a free domain, or a more desirable one if you choose to pay for it, and then keep track of your website location by using their software.&lt;br /&gt;&lt;br /&gt;First of all you will need to sign up to their service in order to use one of their permitted domains. There after, all you need to do is login, go to &quot;My Account&quot; and then select &quot;Add Host Service&quot;. Enter the domain name of choice, and add the entry. Download the Updater from &lt;a href=&quot;https://www.dyndns.com/support/clients&quot;&gt;here&lt;/a&gt;, install it and  all that should remain is to enter your account and domain details. DynDNS should do the rest of the work for you.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/4503070441725260772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/add-dynamic-domain-name-to-your-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/4503070441725260772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/4503070441725260772'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/add-dynamic-domain-name-to-your-website.html' title='Add a Dynamic domain name to your website'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimWYaDFA7_8HGvUarxFhrlNn9VCihyRoSQkbCSC6dumxhG4KVmwhZoQktIIvPCgjOKxY9OSocp3WZ4enXlse87kDeAwBhD-TZPWGFdYVCi9TvPIEFSJsIt5YtAWPDeWkCz19G3SP3Alpo/s72-c/dyndns.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-5335361182167715985</id><published>2009-10-22T19:10:00.018+01:00</published><updated>2011-07-03T01:07:55.501+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="Old Computers"/><category scheme="http://www.blogger.com/atom/ns#" term="Websites"/><title type='text'>How to turn an old PC into a website</title><content type='html'>There comes a point in life where your PC is just not up to the job anymore. Chances are this Computer is just sitting there in the garage, collecting dust as time passes, just waiting for you to chuck it in the tip. However, instead of it just lying there, why not turn it into something useful? When it comes to Computers, no matter how slow it may seem today, it was built for a purpose. One particular task which pretty much any Computer can do, is act as a Web Server. If you plan on making a relatively small or medium site, then neither processing or Bandwidth should be a problem. Without content such as videos and images, a typical web page is only about 60kb after all. This article will take you through some small, and simple steps to get your server up and running so you can host your own Website.&lt;br /&gt;
&lt;br /&gt;
&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXoC4_Nvi3p3Wpz9LpTPUvhxBPVb_-qyLy80nqY2aewgEF95o99-zzsp2aVp9fh8uvRRZYR1A41Eodm_qvpKW8jDLLkG3nAeNve4kXM94iOsq6CbTwrO5hvizTdfLeIC0WkaySE1HGwtE/s1600-h/xampp_panel.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 251px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXoC4_Nvi3p3Wpz9LpTPUvhxBPVb_-qyLy80nqY2aewgEF95o99-zzsp2aVp9fh8uvRRZYR1A41Eodm_qvpKW8jDLLkG3nAeNve4kXM94iOsq6CbTwrO5hvizTdfLeIC0WkaySE1HGwtE/s320/xampp_panel.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5395508846982056898&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;1. Firstly, you will need the right software in order to run your server. The best option available is Apache, but often this can seem a bit confusing for beginners and it isn&#39;t always configured to people&#39;s needs. A package known as XAMPP is a very simple and neat program which can hide any of these complications, and it can be downloaded from &lt;a href=&quot;http://www.apachefriends.org/en/xampp-windows.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
2. If you haven&#39;t already, add a firewall rule for the XAMPP program you are using and open tcp ports 80 and 3306. You should access the Control Panel and start the Apache and MYSQL modules. Note if you want these to start up these automatically when your Computer starts, you will need to add these as Services via the Services button on the panel. SQL is also not required, but you will need it if you intend to store data, add a user login, or a forum to your site.&lt;br /&gt;
&lt;br /&gt;
3. In your web browser, type in &quot;http://localhost/security/xamppsecurity.php&quot; and change the password for the MYSQL database, and also add a username and password for the XAMPP directory. This will make sure no-one on your network, or anywhere on the Internet can access the pages you are seeing, or edit any important files.&lt;br /&gt;
&lt;br /&gt;
4. Next you will need to ensure that the correct ports are open on your router so that people can see your site across the Internet. For most routers, type into your browser &quot;http://192.168.0.1&quot;, or &quot;http://192.168.1.0&quot; if you are using a Belkin router like the one in this tutorial. You should look for a link flagged as &quot;Virtual Servers&quot;, &quot;ports&quot;, &quot;security&quot;, or just simply &quot;firewall&quot;. Add an inbound firewall rule for ports 80 and 3306, and point it to your Server&#39;s IP address. If you don&#39;t know your local ip address, type in &quot;ipconfig&quot; into the command prompt and it should be labelled as the &quot;IPv4 address&quot;.&lt;br /&gt;
&lt;br /&gt;
5. Finally, you need to go to the XAMPP directory on your computer (often located at C:/Program Files/XAMPP), go to htdocs and change the index page to your site homepage. It is important that your homepage is named index in order for your site to be found directly. Any images, or files which you add to your site will need to be added here in the htdocs folder, and not outside of it or in the XAMPP sub-directory.&lt;br /&gt;
&lt;br /&gt;
6. Now you have a website! Without content, and a domain name of course but nevertheless that&#39;s the bulk of the setup done and dusted. Just go to &lt;a href=&quot;http://whatismyipaddress.com/&quot;&gt;http://whatismyipaddress.com&lt;/a&gt; to find out what your global IP address is, and then type the same number into your browser. If you followed the instructions correctly, you should be able to see your web page. The very last step is adding a domain name to your site. I will be posting another article on how to create your own free domain name, and to make sure it keeps track of your own Server. Have Fun!&lt;br /&gt;
&lt;br /&gt;
&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6jfuJjuW1k1y0Lv5kEKVlXgnqkRjdpVJ0F8lNqjCnobWefzxDmvkr18wJMx5bZryxoIcBDCp4mueVNyz_B-pi4AdlIh1CxPfIIsmbzROYTus9bz-7ZwnON46yyDsjbxMmUMlf3pqQaVU/s1600-h/it_works.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 164px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6jfuJjuW1k1y0Lv5kEKVlXgnqkRjdpVJ0F8lNqjCnobWefzxDmvkr18wJMx5bZryxoIcBDCp4mueVNyz_B-pi4AdlIh1CxPfIIsmbzROYTus9bz-7ZwnON46yyDsjbxMmUMlf3pqQaVU/s320/it_works.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5395538273039278658&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/5335361182167715985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/how-to-turn-old-pc-into-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/5335361182167715985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/5335361182167715985'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/how-to-turn-old-pc-into-website.html' title='How to turn an old PC into a website'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXoC4_Nvi3p3Wpz9LpTPUvhxBPVb_-qyLy80nqY2aewgEF95o99-zzsp2aVp9fh8uvRRZYR1A41Eodm_qvpKW8jDLLkG3nAeNve4kXM94iOsq6CbTwrO5hvizTdfLeIC0WkaySE1HGwtE/s72-c/xampp_panel.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-3171143334048485892</id><published>2009-10-21T12:35:00.003+01:00</published><updated>2009-10-28T00:04:30.985+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="beverages"/><category scheme="http://www.blogger.com/atom/ns#" term="electronics"/><category scheme="http://www.blogger.com/atom/ns#" term="gadgets"/><category scheme="http://www.blogger.com/atom/ns#" term="keyboards"/><title type='text'>Water doesn&#39;t spell the end for for Computers!</title><content type='html'>There is nothing worse than making yourself a nice cup of coffee, before waving your hand, and then spilling it all over your desk. It is just as frustrating however, if not more frustrating, to spill it all over a device of yours, a computer keyboard or even an entire Laptop. Cases like these are hardly rare, but inevitably, most of us won&#39;t pay any attention to them until it actually happens... or something breaks. This is why I decided to write some suggestions.&lt;br /&gt;&lt;br /&gt;In case you didn&#39;t know, spilling water over any electronics won&#39;t affect it unless the power is on. The reason why liquids make devices go wrong in the first place, is because residue forms and the electronics are short circuited. So, in a last ditch attempt to save your gadget, laptop, keyboard or whatever it maybe, turn it upside down and turn it off.&lt;br /&gt;&lt;br /&gt;Surprisingly enough, it can take days or even a week depending on the severity of the situation to get all of the water out. You should keep the device, upside down and turned off at all times in a humid environment. Do not place it in front of anything that directly radiates heat, such as a blow dryer or a radiator. This could cause further damage to the product if you decided to do this. Last but not least, as wrong as it may seem, use water! If it was one of those sticky drinks that you spilled, it is almost vital to use water to cleanse the device before you start drying it. This could be very difficult for those of you with gadgets, sorry guys. If it is a keyboard or a laptop you are drying, I would also suggest to take out some of the keys.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/3171143334048485892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/water-doesnt-spell-end-for-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3171143334048485892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/3171143334048485892'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/water-doesnt-spell-end-for-for.html' title='Water doesn&#39;t spell the end for for Computers!'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-7417557167297365891</id><published>2009-10-20T16:58:00.006+01:00</published><updated>2010-01-27T20:17:01.732+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="geek speak"/><category scheme="http://www.blogger.com/atom/ns#" term="text language"/><title type='text'>Text speak or Geek speak?</title><content type='html'>Everyone knows what I&#39;m talking about it. Those funny but sometimes ambigous abbreviations for phrases. I am certainlly guilty as charged when it comes to using them, and I&#39;m sure you are too! They are so handy for short and quick mssages, that we all have adapted to using them over the years of sitting in front of a keyboard, or texting away with friends. The trouble is, the more you use them, you more likely you start to use them in odd places. I just used one then, &quot;texting&quot;, but shouldn&#39;t that be a new verb anyway? I remember at times at secondary school, where I used to write &quot;r&quot; and &quot;u&quot; in my English essays without even realising it! Is this just one of those youthful mistakes? I for one am not sure. It hasn&#39;t cropped up again since then, but it has appeared in speech. Even today, I have mentioned such terms like &quot;omg&quot; in real life speech and it&#39;s not uncommon to recall others doing exactly the same. So who knows, maybe these words could be part of the dictionary one day, but in the mean time, they are stuck in the reserve of technology, so why not &quot;lol&quot; to &lt;a href=&quot;http://www.youtube.com/watch?v=7BpsXZpAARk&quot;&gt;this&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/7417557167297365891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/text-speak-or-geek-speak.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/7417557167297365891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/7417557167297365891'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/text-speak-or-geek-speak.html' title='Text speak or Geek speak?'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3808318912717334678.post-5237882465703702396</id><published>2009-10-19T19:04:00.007+01:00</published><updated>2009-10-28T00:05:29.175+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="online dating"/><category scheme="http://www.blogger.com/atom/ns#" term="relationships"/><title type='text'>Does Online Dating work?</title><content type='html'>The World is an ever shrinking one, courtesy of our old good friend called the Internet. So how can it get any smaller? The answer not only lies in social networking sites such as Facebook and Myspace, but online dating. From the depths of a community full of black hat hackers, malicious spyware and enough viruses to keep the entire world behind closed doors, can we really trust anyone on the Internet? The prospect of a distant relationship in the past let alone an online relationship, has neither been the most traditional, or one of the most intimate dating possibilities available to an individual. It is for these very reasons that people can choose to point the finger and laugh. The reality is a concept which has headed in the wrong direction, and misguided by these people and fake partners half way across the world.  &lt;br /&gt;&lt;br /&gt;The word &quot;Love&quot; itself is an abstract noun. In other words, something that cannot be physically sensed by a human being. This idea I think is completely symbolic of online dating. If love is nothing but a human concept, how cannot anyone be in love? After all, Love is without boundaries right? Some people may find an online relationship humorous, but these people are the ones missing out on an opportunity. The beauty of online dating, is how much selection you have. You literally have a selection of thousands, and a bunch of renown sites to choose from. Life is never ideal, and Love doesn&#39;t always come in neat packages, like a close friend or an instance of Love at first sight. If you want to find a perfect match, you are just as likely, if not more likely to find it on the Web contrary to belief.&lt;br /&gt;&lt;br /&gt;I myself have voyaged into online dating during this last week, and I can say it just takes some time to find the right person, and even the right website. I hope others won&#39;t feel restrained  to do the same (if you are single of course) and see for yourself how well it does work out for you. It is not for everyone, and at times it can be a gamble. Persistence does pay dividends though. Spend a good deal of time getting to know people, ensure you choose a more serious site, and you should be able to distinguish between a cardboard cutout and a possible partner. &lt;br /&gt;&lt;br /&gt;I suggest to follow this &lt;a href=&quot;http://dating.about.com/od/sitereviews/tp/FreeOnline.htm&quot;&gt;link&lt;/a&gt; and this &lt;a href=&quot;http://dating.about.com/od/sitereviews/tp/OnlineSites.htm&quot;&gt;link&lt;/a&gt;, to find a list of reliable dating sites for you to try out. Here is hoping that you all find the date of your dreams!</content><link rel='replies' type='application/atom+xml' href='http://thecomputermonkey.blogspot.com/feeds/5237882465703702396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/test.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/5237882465703702396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808318912717334678/posts/default/5237882465703702396'/><link rel='alternate' type='text/html' href='http://thecomputermonkey.blogspot.com/2009/10/test.html' title='Does Online Dating work?'/><author><name>Mark Richards</name><uri>http://www.blogger.com/profile/07118210231529359388</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Hm491Ofj7XYqD1GbUnTmh7MjDzQNi5UArTBHVByBJ94y1zW1Ee2t2oCSDC5B2BVt0HBJHk5ZUzx9g13kHRyQXY5uMMAKi2DY2S-2OtrGPOl3acn0IwG-gw_sH_5CaP0/s220/253690_10150205056171960_520521959_7689156_5115659_n.jpg'/></author><thr:total>0</thr:total></entry></feed>