<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dave's Blog</title>
	<atom:link href="http://blog.thewebsiteguy.com.au/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.thewebsiteguy.com.au</link>
	<description>Dave Muller - The Website Guy - Personal and Technical blog</description>
	<lastBuildDate>Sun, 29 Aug 2010 01:27:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MySQL Performance benefits of limit</title>
		<link>http://blog.thewebsiteguy.com.au/?p=346</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=346#comments</comments>
		<pubDate>Sun, 29 Aug 2010 01:27:51 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=346</guid>
		<description><![CDATA[Besides the small security increase by using limit (destructive queries can only affect x rows), there are some performance benefits as well. Consider the following queries: select field1, field2 from Product where ProductID = 1; update User set Firstname = 'jim' where UserID = 3; MySQL will update the row that matches the ID, but [...]]]></description>
			<content:encoded><![CDATA[<p>Besides the small security increase by using limit (destructive queries can only affect x rows), there are some performance benefits as well.</p>
<p>Consider the following queries:</p>
<p><code>select field1, field2 from Product where ProductID = 1;</code></p>
<p><code>update User set Firstname = 'jim' where UserID = 3;</code></p>
<p>MySQL will update the row that matches the ID, but also search the index or perform a table scan to find more matching rows in the table.</p>
<p>A simple limit on queries that will only ever select, update or delete one row can save some valuable execution time when your database grows.</p>
<p><code>select field1, field2 from Product where ProductID = 1 limit 1;</code></p>
<p><code>update User set Firstname = 'jim' where UserID = 3 limit 1;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=346</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google must hate Stephen Conroy</title>
		<link>http://blog.thewebsiteguy.com.au/?p=337</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=337#comments</comments>
		<pubDate>Wed, 02 Jun 2010 11:57:01 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Funny!]]></category>
		<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=337</guid>
		<description><![CDATA[I took these screen shots of suggestions in Google while typing, &#8220;Stephen Conroy&#8221;.  Enjoy!]]></description>
			<content:encoded><![CDATA[<p>I took these screen shots of suggestions in Google while typing, &#8220;Stephen Conroy&#8221;.  Enjoy!</p>
<div id="attachment_338" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.thewebsiteguy.com.au/wp-content/uploads/2010/06/conroy-google.png"><img class="size-medium wp-image-338" title="conroy-google" src="http://blog.thewebsiteguy.com.au/wp-content/uploads/2010/06/conroy-google-300x290.png" alt="Google Search for Stephen Conroy" width="300" height="290" /></a><p class="wp-caption-text">Google Search for Stephen Conroy (click for larger image)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=337</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guitar practice no more</title>
		<link>http://blog.thewebsiteguy.com.au/?p=334</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=334#comments</comments>
		<pubDate>Wed, 02 Jun 2010 11:39:30 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Guitar]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=334</guid>
		<description><![CDATA[I had a gap in guitar practice because I was starting to get RSI back.  It&#8217;s been a fair few weeks now and no change.  I can still play, but not the scales and exercises to a metronome.  I have improved enough that all the solos I have written are now quite playable but it [...]]]></description>
			<content:encoded><![CDATA[<p>I had a gap in guitar practice because I was starting to get RSI back.  It&#8217;s been a fair few weeks now and no change.  I can still play, but not the scales and exercises to a metronome.  I have improved enough that all the solos I have written are now quite playable but it leaves with the knowledge that I will probably never be a fast as I hoped.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=334</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guitar Practice &#8211; Week 5</title>
		<link>http://blog.thewebsiteguy.com.au/?p=326</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=326#comments</comments>
		<pubDate>Mon, 03 May 2010 12:08:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Guitar]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Guitar Practice]]></category>
		<category><![CDATA[Metronome]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=326</guid>
		<description><![CDATA[I was sick this week so I didn&#8217;t practice much. Ross from MCD Guitars has finished the refurb on my JEM and it was a pleasure to play it again. The neck was taken off, sanded down and polished, new pots put in and a new trem installed. I can play a few BPM faster [...]]]></description>
			<content:encoded><![CDATA[<p>I was sick this week so I didn&#8217;t practice much. Ross from MCD Guitars has finished the refurb on my JEM and it was a pleasure to play it again.  The neck was taken off, sanded down and polished, new pots put in and a new trem installed.  I can play a few BPM faster on it (compared to the S series), but nothing that makes too much difference for these figures.</p>
<p>I did manage to breach 100BPM on the scales to 105. I could play uncleanly to around 115 for diatonic scales and 135 on the chromatic scales!</p>
<p>Here’s my improvement over this last week, first figure start of week and the last figure the end of the week. All tempos are playing semi-quavers.</p>
<p>Diatonic scales and modes, Ionian to Ionian<br />
100bpm / 105bpm </p>
<p>Chromatic exercises<br />
100bpm / 105bpm</p>
<p>Alternating string arpeggios (1, 3, 2, 4, 3, 5, 4, 6, 6, 4, 5, 3, 4, 2, 3, 1)<br />
75bpm / 80bpm</p>
<p>Non-scalar string skipping alternate picking (1, 3, 4, 6, 6, 4, 3, 1)<br />
75bpm / 75bpm</p>
<p>Arpeggio sweep picking exercises<br />
70bpm / 70bpm</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=326</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guitar Practice &#8211; Week 4</title>
		<link>http://blog.thewebsiteguy.com.au/?p=322</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=322#comments</comments>
		<pubDate>Sat, 24 Apr 2010 10:13:47 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Guitar]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Guitar Practice]]></category>
		<category><![CDATA[Metronome]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=322</guid>
		<description><![CDATA[Again I have been slack. Belinda is back in hospital so I have been busy with that, and I have also had a creative spurt so I have written a bit of music instead. 100bpm is still proving to be a barrier, but I think I will be up to 105 next week. 115 is [...]]]></description>
			<content:encoded><![CDATA[<p>Again I have been slack.  Belinda is back in hospital so I have been busy with that, and I have also had a creative spurt so I have written a bit of music instead. 100bpm is still proving to be a barrier, but I think I will be up to 105 next week. 115 is my unclear max.  My main improvement was in string skipping and sweep picking.</p>
<p>Here’s my improvement over this last week, first figure start of week and the last figure the end of the week. All tempos are playing semi-quavers.</p>
<p>Diatonic scales and modes, Ionian to Ionian<br />
100bpm / 100bpm </p>
<p>Chromatic exercises<br />
100bpm / 100bpm</p>
<p>Alternating string arpeggios (1, 3, 2, 4, 3, 5, 4, 6, 6, 4, 5, 3, 4, 2, 3, 1)<br />
70bpm / 75bpm</p>
<p>Non-scalar string skipping alternate picking (1, 3, 4, 6, 6, 4, 3, 1)<br />
65bpm / 75bpm</p>
<p>Arpeggio sweep picking exercises<br />
65bpm / 70bpm</p>
<p>This marks close to one month and it has really paid off.  I am much more accurate and faster.  I have also found myself writing better solos as well.  If this trend continues, it will be six months until I reach goal number one of 130bpm.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=322</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guitar Practice &#8211; Week 3</title>
		<link>http://blog.thewebsiteguy.com.au/?p=320</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=320#comments</comments>
		<pubDate>Mon, 19 Apr 2010 11:02:03 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Guitar]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=320</guid>
		<description><![CDATA[I practiced more this week and have improved mostly in consistency. 100bpm is proving to be a tough barrier. I could play the chromatic exercises at 110bpm reasonably well, but still would think of 100 as the clean speed. I changed the sweep picking exercises to arpegios. Here’s my improvement over this last week, first [...]]]></description>
			<content:encoded><![CDATA[<p>I practiced more this week and have improved mostly in consistency.  100bpm is proving to be a tough barrier.  I could play the chromatic exercises at 110bpm reasonably well, but still would think of 100 as the clean speed.  I changed the sweep picking exercises to arpegios.</p>
<p>Here’s my improvement over this last week, first figure start of week and the last figure the end of the week. All tempos are playing semi-quavers.</p>
<p>Diatonic scales and modes, Ionian to Ionian<br />
100bpm / 100bpm </p>
<p>Chromatic exercises<br />
100bpm / 100bpm</p>
<p>Alternating string arpeggios (1, 3, 2, 4, 3, 5, 4, 6, 6, 4, 5, 3, 4, 2, 3, 1)<br />
65bpm / 70bpm</p>
<p>Non-scalar string skipping alternate picking (1, 3, 4, 6, 6, 4, 3, 1)<br />
65bpm / 65bpm</p>
<p>Arpeggio sweep picking exercises (new)<br />
40bpm / 65bpm</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=320</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guitar Practice &#8211; Week 2</title>
		<link>http://blog.thewebsiteguy.com.au/?p=318</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=318#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:47:41 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Guitar]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Guitar Practice]]></category>
		<category><![CDATA[Metronome]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=318</guid>
		<description><![CDATA[I only practised three times this week. Mostly to do with slackness, and a little because I learnt &#8220;sleep walk&#8221;. I&#8217;ve been asked to demo an MCD guitar at the guitar expo this year, so I will be learning some classic songs to play. I went backwards this week, but at least I can play [...]]]></description>
			<content:encoded><![CDATA[<p>I only practised three times this week.  Mostly to do with slackness, and a little because I learnt &#8220;sleep walk&#8221;.  I&#8217;ve been asked to demo an MCD guitar at the guitar expo this year, so I will be learning some classic songs to play.  I went backwards this week, but at least I can play &#8220;sleep walk&#8221;.</p>
<p>Here&#8217;s my improvement over this last week, first figure start of week and the last figure the end of the week.  All tempos are playing semi-quavers.</p>
<p>Diatonic scales and modes, Ionian to Ionian<br />
100bpm / 100bpm (better at 105 than last week, but still messy)</p>
<p>Chromatic exercises<br />
100bpm / 100bpm</p>
<p>Alternating string arpeggios (1, 3, 2, 4, 3, 5, 4, 6, 6, 4, 5, 3, 4, 2, 3, 1)<br />
70bpm / 65bpm</p>
<p>Non-scalar string skipping alternate picking (1, 3, 4, 6, 6, 4, 3, 1)<br />
70bpm / 65bpm</p>
<p>Non-scalar sweep picking exercises<br />
70bpm / 65bpm</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=318</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating MySQL stored procedures from PHP</title>
		<link>http://blog.thewebsiteguy.com.au/?p=306</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=306#comments</comments>
		<pubDate>Sun, 11 Apr 2010 02:11:24 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=306</guid>
		<description><![CDATA[I&#8217;ve been writing an n-tier PHP web application, and I&#8217;ve been working on the installer. As part of it, I needed to create stored procedures from PHP.  I hit a snag, which was the following: $sql = "delimiter $$ drop procedure if exists spsTableDelete $$ create procedure spsTableDelete(mySession nvarchar(255),myTableID bigint unsigned) begin update sTable set [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been writing an n-tier PHP web application, and I&#8217;ve been working on the installer.  As part of it, I needed to create stored procedures from PHP.   I hit a snag, which was the following:</p>
<pre>$sql = "delimiter $$

drop procedure if exists spsTableDelete $$
create procedure spsTableDelete(mySession nvarchar(255),myTableID bigint unsigned)
begin

		update sTable
		set Deleted = TableID
		where TableID = myTableID;

end $$

delimiter ;";
$this->mysqli->multi_query($sql);
if (strlen($this->mysqli->error) > 0)
	echo "&lt;p class='error'>".$this->mysqli->error."&lt;/p>";
else
	echo "$operation Procs Written&lt;br />\n";
</pre>
<p><span style="color: #f00;">You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;delimiter $$&#8217; at line 1</span></p>
<p>The problems is that MySQLi does not use delimiters so the following code will work instead:</p>
<pre>$sql = "drop procedure if exists spsTableDelete ;
create procedure spsTableDelete(mySession nvarchar(255),myTableID bigint unsigned)
begin

		update sTable
		set Deleted = TableID
		where TableID = myTableID;

end ;";

$this->mysqli->multi_query($sql);
if (strlen($this->mysqli->error) > 0)
	echo "&lt;p class='error'>".$this->mysqli->error."&lt;/p>";
else
	echo "$operation Procs Written&lt;br />\n";
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=306</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guitar practice week 1</title>
		<link>http://blog.thewebsiteguy.com.au/?p=302</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=302#comments</comments>
		<pubDate>Fri, 02 Apr 2010 12:38:15 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Guitar]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Guitar Practice]]></category>
		<category><![CDATA[Metronome]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=302</guid>
		<description><![CDATA[It&#8217;s been about two years since I practiced my scales and exercises on guitar to a metronome. I&#8217;ve been writing a fair bit of progressive and neo-baroque rock recently and I wrote a solo at 260bpm quavers, which I can&#8217;t play cleanly, so I need to get up to speed. Last time I checked (two [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been about two years since I practiced my scales and exercises on guitar to a metronome.  I&#8217;ve been writing a fair bit of progressive and neo-baroque rock recently and I wrote a solo at 260bpm quavers, which I can&#8217;t play cleanly, so I need to get up to speed.  Last time I checked (two odd years ago), the fastest I could play the diatonic scales cleanly was about 85 bpm semi-quavers.  I&#8217;ve played for around an hour to an hour and a half each day for five days this last week, so it will be an interesting experiment to find out how quickly I can improve.</p>
<p>I have two targets.<br />
1. 130bpm semi-quavers in diatonic scales<br />
then<br />
2. 160bpm semi-quavers in diatonic scales.</p>
<p>The first figure is so that I can cleanly play the solo I wrote, and the second is just an arbitrary figure that would make me feel like a shredder.</p>
<p>Here&#8217;s my improvement over this last week, first figure start of week and the last figure the end of the week.  All tempos are playing semi-quavers.</p>
<p>Diatonic scales and modes, Ionian to Ionian<br />
80bpm / 100bpm</p>
<p>Chromatic exercises<br />
90bpm / 100bpm</p>
<p>Alternating string arpeggios (1, 3, 2, 4, 3, 5, 4, 6, 6, 4, 5, 3, 4, 2, 3, 1)<br />
55bpm / 70bpm</p>
<p>Non-scalar string skipping alternate picking (1, 3, 4, 6, 6, 4, 3, 1)<br />
?? / 70bpm</p>
<p>Non-scalar sweep picking exercises<br />
?? / 70bpm</p>
<p>I didn&#8217;t take a close note of the speeds at the beginning of this week, so there are some holes in data.  I can play up to around 140bpm for the chromatic exercises, but it is pretty messy.  All figures are for relatively clean playing.</p>
<p>A lot of the improvement this week would have been getting back to my old speed, so I think each week from now will have less increases.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=302</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Generator</title>
		<link>http://blog.thewebsiteguy.com.au/?p=298</link>
		<comments>http://blog.thewebsiteguy.com.au/?p=298#comments</comments>
		<pubDate>Sat, 19 Dec 2009 06:31:32 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.thewebsiteguy.com.au/?p=298</guid>
		<description><![CDATA[I wrote a password generator today to help me whenever  I need to create passwords for myself or a user.  It&#8217;s pretty easy to use &#8211; just enter the password length and character set to use. Enjoy! http://tools.thewebsiteguy.com.au/password.php]]></description>
			<content:encoded><![CDATA[<p>I wrote a password generator today to help me whenever  I need to create passwords for myself or a user.  It&#8217;s pretty easy to use &#8211; just enter the password length and character set to use. Enjoy!</p>
<p><a title="Password Generator" href="http://tools.thewebsiteguy.com.au/password.php" target="_self">http://tools.thewebsiteguy.com.au/password.php </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thewebsiteguy.com.au/?feed=rss2&amp;p=298</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
