<?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"
	>

<channel>
	<title>novolocus.com &#187; 2005 &#187; May</title>
	<atom:link href="http://www.novolocus.com/2005/05/feed" rel="self" type="application/rss+xml" />
	<link>http://www.novolocus.com</link>
	<description>Whatever Andy Burns is working on...</description>
	<pubDate>Mon, 05 Jan 2009 16:14:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Final FireFox plugins (for now)</title>
		<link>http://www.novolocus.com/2005/05/26/final-firefox-plugins-for-now/</link>
		<comments>http://www.novolocus.com/2005/05/26/final-firefox-plugins-for-now/#comments</comments>
		<pubDate>Thu, 26 May 2005 12:05:08 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=271</guid>
		<description><![CDATA[I guess  I should include the other plugins I use:
Adblock - the best think in Firefox bar none.
Cookie Culler - a much better cookie controller.
 Web Developer Toolbar - Although this might be standard now - I don&#8217;t remember installing it last time&#8230;
]]></description>
			<content:encoded><![CDATA[<p>I guess  I should include the other plugins I use:</p>
<p><a href="http://adblock.mozdev.org/">Adblock</a> - the best think in Firefox bar none.</p>
<p><a href="http://cookieculler.mozdev.org/">Cookie Culler</a> - a much better cookie controller.</p>
<p><a href="http://chrispederick.com/work/firefox/webdeveloper/"> Web Developer Toolbar</a> - Although this might be standard now - I don&#8217;t remember installing it last time&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/26/final-firefox-plugins-for-now/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Cool FireFox Plugins</title>
		<link>http://www.novolocus.com/2005/05/24/more-cool-firefox-plugins/</link>
		<comments>http://www.novolocus.com/2005/05/24/more-cool-firefox-plugins/#comments</comments>
		<pubDate>Tue, 24 May 2005 09:05:31 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=272</guid>
		<description><![CDATA[- PDF Download (thank you! I hate PDF in Browsers
- Menu Editor (trimmed down my context menu - another great feature)
- An easier History
]]></description>
			<content:encoded><![CDATA[<p>- <a href="http://www.rabotat.org/firefox.html">PDF Download (thank you! I hate PDF in Browsers</a></p>
<p>- <a href="http://menueditor.mozdev.org/">Menu Editor (trimmed down my context menu - another great feature)</a></p>
<p>- <a href="https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&amp;category=Newest&amp;numpg=10&amp;id=682">An easier History</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/24/more-cool-firefox-plugins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Neat Firefox Plugins</title>
		<link>http://www.novolocus.com/2005/05/23/neat-firefox-plugins/</link>
		<comments>http://www.novolocus.com/2005/05/23/neat-firefox-plugins/#comments</comments>
		<pubDate>Mon, 23 May 2005 20:05:19 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[General Tech]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=273</guid>
		<description><![CDATA[Some good Firefox plugins:
- Live HTTP Headers
- Link Checker (neat!)
- Colorzilla
- View Formatted Source
]]></description>
			<content:encoded><![CDATA[<p>Some good Firefox plugins:</p>
<p>- <a href="http://livehttpheaders.mozdev.org/installation.html#">Live HTTP Headers</a></p>
<p>- <a href="http://www.kevinfreitas.net/extensions/linkchecker/">Link Checker (neat!)</a></p>
<p>- <a href="http://www.iosart.com/firefox/colorzilla/">Colorzilla</a></p>
<p>- <a href="https://addons.mozilla.org/extensions/moreinfo.php?id=697&amp;application=firefox">View Formatted Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/23/neat-firefox-plugins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox Bug with Textboxes</title>
		<link>http://www.novolocus.com/2005/05/18/firefox-bug-with-textboxes/</link>
		<comments>http://www.novolocus.com/2005/05/18/firefox-bug-with-textboxes/#comments</comments>
		<pubDate>Wed, 18 May 2005 14:05:12 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=274</guid>
		<description><![CDATA[I found my first bug in the Firefox web browser. Basically, if you&#8217;ve got a text box with autocomplete=&#8221;off&#8221; as an attribute, the up and down arrows move the text insertion point left and right. The code for this is:
&#60;input type="text" name="x" autocomplete="off"
value="123456789" /&#62;
If you&#8217;re using Firefox, you can see this here:


]]></description>
			<content:encoded><![CDATA[<p>I found my first <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=294642">bug</a> in the Firefox web browser. Basically, if you&#8217;ve got a text box with autocomplete=&#8221;off&#8221; as an attribute, the up and down arrows move the text insertion point left and right. The code for this is:<br />
<code>&lt;input type="text" name="x" autocomplete="off"<br />
value="123456789" /&gt;</code><br />
If you&#8217;re using Firefox, you can see this here:</p>
<form>
<input name="x" autocomplete="off" value="123456789" type="text" /></form>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/18/firefox-bug-with-textboxes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mouse Pointers and CSS Styles</title>
		<link>http://www.novolocus.com/2005/05/17/mouse-pointers-and-css-styles/</link>
		<comments>http://www.novolocus.com/2005/05/17/mouse-pointers-and-css-styles/#comments</comments>
		<pubDate>Tue, 17 May 2005 19:05:57 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=275</guid>
		<description><![CDATA[Mouse pointer styles. E.g.
&#60;span style="cursor: default;"&#62;default&#60;/span&#62;


default
pointer


auto
text


help
crosshair


move
wait


n-resize
ne-resize


e-resize
se-resize


s-resize
sw-resize


w-resize
nw-resize


]]></description>
			<content:encoded><![CDATA[<p>Mouse pointer styles. E.g.<br />
<code>&lt;span style="cursor: default;"&gt;default&lt;/span&gt;</code></p>
<table style="text-align: center; font-size: 10px" align="center" width="200">
<tr>
<td width="50%"><span style="text-align: center; cursor: default">default</span></td>
<td width="50%"><span style="text-align: center; cursor: pointer">pointer</span></td>
</tr>
<tr>
<td><span style="text-align: center; cursor: auto">auto</span></td>
<td><span style="text-align: center; cursor: text">text</span></td>
</tr>
<tr>
<td><span style="text-align: center; cursor: help">help</span></td>
<td><span style="text-align: center; cursor: crosshair">crosshair</span></td>
</tr>
<tr>
<td><span style="text-align: center; cursor: move">move</span></td>
<td><span style="text-align: center; cursor: wait">wait</span></td>
</tr>
<tr>
<td><span style="text-align: center; cursor: n-resize">n-resize</span></td>
<td><span style="text-align: center; cursor: ne-resize">ne-resize</span></td>
</tr>
<tr>
<td><span style="text-align: center; cursor: e-resize">e-resize</span></td>
<td><span style="text-align: center; cursor: se-resize">se-resize</span></td>
</tr>
<tr>
<td><span style="text-align: center; cursor: s-resize">s-resize</span></td>
<td><span style="text-align: center; cursor: sw-resize">sw-resize</span></td>
</tr>
<tr>
<td><span style="text-align: center; cursor: w-resize">w-resize</span></td>
<td><span style="text-align: center; cursor: nw-resize">nw-resize</span></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/17/mouse-pointers-and-css-styles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Incredible, but true - View Source problems on I.E.</title>
		<link>http://www.novolocus.com/2005/05/16/incredible-but-true-view-source-problems-on-ie/</link>
		<comments>http://www.novolocus.com/2005/05/16/incredible-but-true-view-source-problems-on-ie/#comments</comments>
		<pubDate>Mon, 16 May 2005 08:05:39 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=276</guid>
		<description><![CDATA[I couldn&#8217;t believe that this fixed a problem we were having with the &#8216;View Source&#8217; option on I.E. 6. It would not show the source at all. We deleted the link to Notepad that was on the desktop, and suddenly it did.
 Windows is crap. And this bug has been around for AT LEAST 2 [...]]]></description>
			<content:encoded><![CDATA[<p>I couldn&#8217;t believe that <a href="http://www.hoerup.dk/tech/archives/000213.php">this</a> fixed a problem we were having with the &#8216;View Source&#8217; option on I.E. 6. It would not show the source at all. We deleted the link to Notepad that was on the desktop, and suddenly it did.</p>
<p><img src="http://www.novolocus.com/wp-content/oldEmoticons/angry.gif" align="middle" border="0" /> Windows is crap. And this bug has been around for AT LEAST 2 years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/16/incredible-but-true-view-source-problems-on-ie/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Unicode</title>
		<link>http://www.novolocus.com/2005/05/08/unicode/</link>
		<comments>http://www.novolocus.com/2005/05/08/unicode/#comments</comments>
		<pubDate>Sun, 08 May 2005 09:05:29 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Languages]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=277</guid>
		<description><![CDATA[Sorry, but it&#8217;s been busy lately. You know how it is. I&#8217;ve recently had to do some work looking into how Unicode works and how to use it in PHP. Interesting stuff, certainly I think that all the guys I work with could do with reading this one. Internationalisation is important for big (successful) products [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry, but it&#8217;s been busy lately. You know how it is. I&#8217;ve recently had to do some work looking into <a href="http://www.joelonsoftware.com/articles/Unicode.html">how Unicode works</a> and <a href="http://www.randomchaos.com/document.php?source=php_and_unicode">how to use it in PHP</a>. Interesting stuff, certainly I think that all the guys I work with could do with reading this one. Internationalisation is important for big (successful) products - and isn&#8217;t that what everyone wants to write?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/08/unicode/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL and AUTO_INCREMENT</title>
		<link>http://www.novolocus.com/2005/05/08/mysql-and-auto_increment/</link>
		<comments>http://www.novolocus.com/2005/05/08/mysql-and-auto_increment/#comments</comments>
		<pubDate>Sun, 08 May 2005 09:05:23 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=278</guid>
		<description><![CDATA[So, MySQL has this lovely feature - you can have a column which will default to the next integer value when you insert some data. You don&#8217;t need to set it, it just takes the next value itself.
Unsurprising, the column that is auto incrementing has to be part of a PRIMARY KEY. I mean, that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>So, MySQL has this lovely feature - you can have a column which will default to the next integer value when you insert some data. You don&#8217;t need to set it, it just takes the next value itself.</p>
<p>Unsurprising, the column that is auto incrementing has to be part of a PRIMARY KEY. I mean, that&#8217;s what makes the auto increment useful.</p>
<p>However, sometimes I find it can be necessary to have the auto incrementing column as a secondary column in a composite Primary Key. For example, if I have two columns, &#8216;msg&#8217; and &#8216;thread&#8217; that are the Primary Key, and I run:<br />
<code><br />
Insert into myTable (thread, text ) values ( 1, 'Andy' );<br />
Insert into myTable (thread, text ) values ( 2, 'Fred' );</code><br />
Three times, then I would expect to see:</p>
<pre>
| thread | msg | Text |
-----------------------
|    1   |  1  | Andy |
|    1   |  2  | Andy |
|    1   |  3  | Andy |
|    2   |  1  | Fred |
|    2   |  2  | Fred |
|    2   |  3  | Fred |</pre>
<p>What I was getting recently was different. First, I couldn&#8217;t have a secondary column in a primary key that was auto incrementing. Odd, I was sure I&#8217;d done it that way before. So I tried using a separate key for my composite. That worked, but the data I was getting now was:</p>
<pre>
| thread | msg | Text |
-----------------------
|    1   |  1  | Andy |
|    1   |  3  | Andy |
|    1   |  5  | Andy |
|    2   |  2  | Fred |
|    2   |  4  | Fred |
|    2   |  6  | Fred |</pre>
<p>Not what I wanted. Anyway, to cut a long story short, I figured out the problem - table engines. When I&#8217;d build composite primary keys using auto increment, it was on a MyISAM table type (or table engine, as I believe the new parlance is). I&#8217;ve now got the latest version of MySQL, and it seems to be defaulting to INNODB table engines. INNODB, while adding cool stuff like transaction support, won&#8217;t allow auto increment on a secondary column in a primary key.</p>
<p>So, there you go, hopefully someone will find that a useful thing to know. Just change your table type, and that&#8217;ll fix it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/05/08/mysql-and-auto_increment/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
