<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for High Fibre Programming</title>
	<atom:link href="http://www.4pmp.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.4pmp.com</link>
	<description>PHP, MySQL, C, Java, Linux and other great after dinner speech topics</description>
	<lastBuildDate>Mon, 01 Mar 2010 11:16:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Scalable MySQL: Avoid offset for large tables by James C</title>
		<link>http://www.4pmp.com/2010/02/scalable-mysql-avoid-offset-for-large-tables/comment-page-1/#comment-241</link>
		<dc:creator>James C</dc:creator>
		<pubDate>Mon, 01 Mar 2010 11:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=263#comment-241</guid>
		<description>Hi Nick,
Cheers for the useful post - I wasn&#039;t aware of that so will definitely be using that in the future!</description>
		<content:encoded><![CDATA[<p>Hi Nick,<br />
Cheers for the useful post &#8211; I wasn&#8217;t aware of that so will definitely be using that in the future!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Syntax error, parameterized types are only available if source level is 1.5 by Nick</title>
		<link>http://www.4pmp.com/2009/12/syntax-error-parameterized-types-are-only-available-if-source-level-is-1-5/comment-page-1/#comment-172</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 13 Jan 2010 22:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=227#comment-172</guid>
		<description>It seems installing Eclipse was a really bad idea.   I&#039;ve been getting more cryptic messages from the Java compiler, so I tried javac -v and low and behold it&#039;s a special Eclipse flavour of the compiler.   Running this seemed to help:

sudo update-java-alternatives -s java-6-sun

Now I have the Sun compiler back, but I am wondering how many other skeletons Eclipse has left in the wardrobe.</description>
		<content:encoded><![CDATA[<p>It seems installing Eclipse was a really bad idea.   I&#8217;ve been getting more cryptic messages from the Java compiler, so I tried javac -v and low and behold it&#8217;s a special Eclipse flavour of the compiler.   Running this seemed to help:</p>
<p>sudo update-java-alternatives -s java-6-sun</p>
<p>Now I have the Sun compiler back, but I am wondering how many other skeletons Eclipse has left in the wardrobe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic CSS pseudo class styles with jQuery by Nick</title>
		<link>http://www.4pmp.com/2009/11/dynamic-css-pseudo-class-styles-with-jquery/comment-page-1/#comment-161</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 02 Jan 2010 20:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=166#comment-161</guid>
		<description>Thanks for that, the source has been updated :-)</description>
		<content:encoded><![CDATA[<p>Thanks for that, the source has been updated <img src='http://www.4pmp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic CSS pseudo class styles with jQuery by Vishal Vasani</title>
		<link>http://www.4pmp.com/2009/11/dynamic-css-pseudo-class-styles-with-jquery/comment-page-1/#comment-151</link>
		<dc:creator>Vishal Vasani</dc:creator>
		<pubDate>Mon, 28 Dec 2009 14:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=166#comment-151</guid>
		<description>Hello,

There an error in your StyleSheet.001.js. download file and demo also...
            // IE
            var rules = sh.compileToRules();

replace above line with below
           // IE
            var rules = styleSheet.compileToRules();</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>There an error in your StyleSheet.001.js. download file and demo also&#8230;<br />
            // IE<br />
            var rules = sh.compileToRules();</p>
<p>replace above line with below<br />
           // IE<br />
            var rules = styleSheet.compileToRules();</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ubuntu 9.10 Karmic Koala: Temperature above threshold, cpu clock throttled by Nick</title>
		<link>http://www.4pmp.com/2009/11/ubuntu-9-10-karmic-koala-temperature-above-threshold-cpu-clock-throttled/comment-page-1/#comment-112</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 26 Nov 2009 08:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=198#comment-112</guid>
		<description>&lt;a href=&quot;#comment-111&quot; rel=&quot;nofollow&quot;&gt;@leo &lt;/a&gt; 
Thanks for that - it&#039;s a much cleaner solution!</description>
		<content:encoded><![CDATA[<p><a href="#comment-111" rel="nofollow">@leo </a><br />
Thanks for that &#8211; it&#8217;s a much cleaner solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ubuntu 9.10 Karmic Koala: Temperature above threshold, cpu clock throttled by leo</title>
		<link>http://www.4pmp.com/2009/11/ubuntu-9-10-karmic-koala-temperature-above-threshold-cpu-clock-throttled/comment-page-1/#comment-111</link>
		<dc:creator>leo</dc:creator>
		<pubDate>Thu, 26 Nov 2009 07:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=198#comment-111</guid>
		<description>hi,i get a new solution from https://bugs.launchpad.net/ubuntu/karmic/+source/rsyslog/+bug/453444, you can try it:



I wrote a file /etc/rsyslog.d/10-temperature.conf with the following content:

:msg,contains,&quot;Temperature/speed normal&quot; ~
:msg,contains,&quot;Temperature above threshold&quot; ~

All messages containing &quot;Temperature/speed normal&quot; and &quot;Temperature above threshold&quot; are discarded.
I restarted rsyslog and it looks like the problem is solved.

I hope this will help until the problem will be fixed in the kernel.</description>
		<content:encoded><![CDATA[<p>hi,i get a new solution from <a href="https://bugs.launchpad.net/ubuntu/karmic/+source/rsyslog/+bug/453444" rel="nofollow">https://bugs.launchpad.net/ubuntu/karmic/+source/rsyslog/+bug/453444</a>, you can try it:</p>
<p>I wrote a file /etc/rsyslog.d/10-temperature.conf with the following content:</p>
<p>:msg,contains,&#8221;Temperature/speed normal&#8221; ~<br />
:msg,contains,&#8221;Temperature above threshold&#8221; ~</p>
<p>All messages containing &#8220;Temperature/speed normal&#8221; and &#8220;Temperature above threshold&#8221; are discarded.<br />
I restarted rsyslog and it looks like the problem is solved.</p>
<p>I hope this will help until the problem will be fixed in the kernel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic CSS pseudo class styles with jQuery by Nick</title>
		<link>http://www.4pmp.com/2009/11/dynamic-css-pseudo-class-styles-with-jquery/comment-page-1/#comment-110</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sun, 22 Nov 2009 20:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=166#comment-110</guid>
		<description>If you move the instantiation of the StyleSheet object outside the function then it will be in the global namespace.   This will allow you to consecutively call the function with different tags, updating the same StyleSheet object and therefore not overriding the previous style each time you call the function.

Something like:

var sheet = new StyleSheet();

function create_sheet(whichtag) {

    // Create a CSS element to set colour to red
    var elementBasic = new StyleSheetElement(&quot;color&quot;, &quot;#000000&quot;);

    // Attach the CSS element to the CSS description for “a”
    var tagA = sheet.addElementToTag(whichtag, elementBasic);

    // Rest of your code carries on....
    
}</description>
		<content:encoded><![CDATA[<p>If you move the instantiation of the StyleSheet object outside the function then it will be in the global namespace.   This will allow you to consecutively call the function with different tags, updating the same StyleSheet object and therefore not overriding the previous style each time you call the function.</p>
<p>Something like:</p>
<p>var sheet = new StyleSheet();</p>
<p>function create_sheet(whichtag) {</p>
<p>    // Create a CSS element to set colour to red<br />
    var elementBasic = new StyleSheetElement(&#8220;color&#8221;, &#8220;#000000&#8243;);</p>
<p>    // Attach the CSS element to the CSS description for “a”<br />
    var tagA = sheet.addElementToTag(whichtag, elementBasic);</p>
<p>    // Rest of your code carries on&#8230;.</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic CSS pseudo class styles with jQuery by clive</title>
		<link>http://www.4pmp.com/2009/11/dynamic-css-pseudo-class-styles-with-jquery/comment-page-1/#comment-109</link>
		<dc:creator>clive</dc:creator>
		<pubDate>Sun, 22 Nov 2009 16:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=166#comment-109</guid>
		<description>hi - I am passing a parameter to fn which is fine
$(create_sheet(&quot;li&quot;));

I would like to add $(create_sheet(&quot;a&quot;));
so both apply - is this possible?

code below....

function create_sheet(whichtag) {
var sheet = new StyleSheet();

// Create a CSS element to set colour to red
var elementBasic = new StyleSheetElement(&quot;color&quot;, &quot;#000000&quot;);

// Attach the CSS element to the CSS description for &quot;a&quot;
var tagA = sheet.addElementToTag(whichtag, elementBasic);

// Set the order of the tag for &quot;a&quot;  whichtag
tagA.order = 2;

// Create a CSS element to set colour to red
var elementHover = new StyleSheetElement(&quot;color&quot;, &quot;#ff0000&quot;);

// Attach the CSS element to the CSS description for &quot;a:hover&quot;

var tagHover = sheet.addElementToTag(whichtag + &quot;:hover&quot;, elementHover);

// Set the order of the tag for &quot;a:hover&quot;, will appear beore &quot;a&quot;
tagHover.order = 1;

// Create a stylesheet for the new elements and add it to the page (replaces it if one already exists)
addInlineStyleSheet(sheet);
}</description>
		<content:encoded><![CDATA[<p>hi &#8211; I am passing a parameter to fn which is fine<br />
$(create_sheet(&#8220;li&#8221;));</p>
<p>I would like to add $(create_sheet(&#8220;a&#8221;));<br />
so both apply &#8211; is this possible?</p>
<p>code below&#8230;.</p>
<p>function create_sheet(whichtag) {<br />
var sheet = new StyleSheet();</p>
<p>// Create a CSS element to set colour to red<br />
var elementBasic = new StyleSheetElement(&#8220;color&#8221;, &#8220;#000000&#8243;);</p>
<p>// Attach the CSS element to the CSS description for &#8220;a&#8221;<br />
var tagA = sheet.addElementToTag(whichtag, elementBasic);</p>
<p>// Set the order of the tag for &#8220;a&#8221;  whichtag<br />
tagA.order = 2;</p>
<p>// Create a CSS element to set colour to red<br />
var elementHover = new StyleSheetElement(&#8220;color&#8221;, &#8220;#ff0000&#8243;);</p>
<p>// Attach the CSS element to the CSS description for &#8220;a:hover&#8221;</p>
<p>var tagHover = sheet.addElementToTag(whichtag + &#8220;:hover&#8221;, elementHover);</p>
<p>// Set the order of the tag for &#8220;a:hover&#8221;, will appear beore &#8220;a&#8221;<br />
tagHover.order = 1;</p>
<p>// Create a stylesheet for the new elements and add it to the page (replaces it if one already exists)<br />
addInlineStyleSheet(sheet);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Transparent aggregation in PHP5 by tully</title>
		<link>http://www.4pmp.com/2009/10/transparent-aggregation-in-php/comment-page-1/#comment-106</link>
		<dc:creator>tully</dc:creator>
		<pubDate>Thu, 19 Nov 2009 18:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=88#comment-106</guid>
		<description>there are 2 main differences betwen ruby mixin and your implementation;
1. it&#039;s nescessary to extend Aggregatable class
2. $this in agregated classes references to this classes, not the CasualWorker

so its&#039;s not same as acts_as mixins where included modules (methods) became &quot;real&quot; part of class in which you using it. 

tully
(the Ruby developer :) )</description>
		<content:encoded><![CDATA[<p>there are 2 main differences betwen ruby mixin and your implementation;<br />
1. it&#8217;s nescessary to extend Aggregatable class<br />
2. $this in agregated classes references to this classes, not the CasualWorker</p>
<p>so its&#8217;s not same as acts_as mixins where included modules (methods) became &#8220;real&#8221; part of class in which you using it. </p>
<p>tully<br />
(the Ruby developer <img src='http://www.4pmp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ubuntu 9.10 Karmic Koala: Temperature above threshold, cpu clock throttled by Nick</title>
		<link>http://www.4pmp.com/2009/11/ubuntu-9-10-karmic-koala-temperature-above-threshold-cpu-clock-throttled/comment-page-1/#comment-104</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.4pmp.com/?p=198#comment-104</guid>
		<description>&lt;a href=&quot;#comment-103&quot; rel=&quot;nofollow&quot;&gt;@perspectoff &lt;/a&gt; 
You&#039;re quite right, sorry, I forgot to mention that.   You should be able to tell if it worked because once you restart the daemon you should see in the kern.log file this:

kernel: Kernel logging (proc) stopped.

I&#039;ll give turning off frequency scaling a try - thanks for that!</description>
		<content:encoded><![CDATA[<p><a href="#comment-103" rel="nofollow">@perspectoff </a><br />
You&#8217;re quite right, sorry, I forgot to mention that.   You should be able to tell if it worked because once you restart the daemon you should see in the kern.log file this:</p>
<p>kernel: Kernel logging (proc) stopped.</p>
<p>I&#8217;ll give turning off frequency scaling a try &#8211; thanks for that!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
