<?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 Blog Without An Important Name</title>
	<atom:link href="http://www.kallisti.net.nz/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kallisti.net.nz/blog</link>
	<description>I am not an IP address! I am a free 'blog!</description>
	<lastBuildDate>Fri, 08 Jan 2010 14:37:29 +1300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Kiwi Foo Camp 08 by Robin</title>
		<link>http://www.kallisti.net.nz/blog/2008/02/kiwi-foo-camp-08/comment-page-1/#comment-120393</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Fri, 08 Jan 2010 14:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/2008/02/kiwi-foo-camp-08/#comment-120393</guid>
		<description>You will have to. I will be at the 2k10 one :)</description>
		<content:encoded><![CDATA[<p>You will have to. I will be at the 2k10 one <img src='http://www.kallisti.net.nz/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Kiwi Foo Camp 08 by thomas</title>
		<link>http://www.kallisti.net.nz/blog/2008/02/kiwi-foo-camp-08/comment-page-1/#comment-120392</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Fri, 08 Jan 2010 08:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/2008/02/kiwi-foo-camp-08/#comment-120392</guid>
		<description>damn, i would&#039;ve liked to attend that! i&#039;m very interested in (and largely ignorant of) neural network theory and implementation.

i should ask you a bit about it at foo 2010 :)</description>
		<content:encoded><![CDATA[<p>damn, i would&#8217;ve liked to attend that! i&#8217;m very interested in (and largely ignorant of) neural network theory and implementation.</p>
<p>i should ask you a bit about it at foo 2010 <img src='http://www.kallisti.net.nz/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monitoring Puppet with Nagios by tikitu</title>
		<link>http://www.kallisti.net.nz/blog/2009/02/monitoring-puppet-with-nagios/comment-page-1/#comment-120391</link>
		<dc:creator>tikitu</dc:creator>
		<pubDate>Wed, 02 Dec 2009 15:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/?p=82#comment-120391</guid>
		<description>And you were right! Moreover, the guy who *writes* that blog has exactly the same name as the guy who writes Robin&#039;s! Will the coincidences never stop?!</description>
		<content:encoded><![CDATA[<p>And you were right! Moreover, the guy who *writes* that blog has exactly the same name as the guy who writes Robin&#8217;s! Will the coincidences never stop?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monitoring Puppet with Nagios by Tom Eastman</title>
		<link>http://www.kallisti.net.nz/blog/2009/02/monitoring-puppet-with-nagios/comment-page-1/#comment-120390</link>
		<dc:creator>Tom Eastman</dc:creator>
		<pubDate>Thu, 26 Nov 2009 23:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/?p=82#comment-120390</guid>
		<description>Through a random Google search trying to solve this exact problem, I went &quot;oh, that guy&#039;s blog has the same name as Robin&#039;s&quot;

:-)</description>
		<content:encoded><![CDATA[<p>Through a random Google search trying to solve this exact problem, I went &#8220;oh, that guy&#8217;s blog has the same name as Robin&#8217;s&#8221;</p>
<p> <img src='http://www.kallisti.net.nz/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monitoring Puppet with Nagios by Dis</title>
		<link>http://www.kallisti.net.nz/blog/2009/02/monitoring-puppet-with-nagios/comment-page-1/#comment-120385</link>
		<dc:creator>Dis</dc:creator>
		<pubDate>Tue, 08 Sep 2009 13:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/?p=82#comment-120385</guid>
		<description>We&#039;re using the state.yaml monitor, the problem is that it doesn&#039;t catch bad manifests. (The client will happily run off the cache in that case, and state.yaml gets a new timestamp.)</description>
		<content:encoded><![CDATA[<p>We&#8217;re using the state.yaml monitor, the problem is that it doesn&#8217;t catch bad manifests. (The client will happily run off the cache in that case, and state.yaml gets a new timestamp.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monitoring Puppet with Nagios by Robin</title>
		<link>http://www.kallisti.net.nz/blog/2009/02/monitoring-puppet-with-nagios/comment-page-1/#comment-120062</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Sun, 15 Mar 2009 07:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/?p=82#comment-120062</guid>
		<description>That&#039;s not a bad idea, but my Perl script does that, and it also checks that the daemon is running immediately. A minor difference in practice I guess though, the script ageing thing will tell you eventually.</description>
		<content:encoded><![CDATA[<p>That&#8217;s not a bad idea, but my Perl script does that, and it also checks that the daemon is running immediately. A minor difference in practice I guess though, the script ageing thing will tell you eventually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monitoring Puppet with Nagios by Thomas Bergheim</title>
		<link>http://www.kallisti.net.nz/blog/2009/02/monitoring-puppet-with-nagios/comment-page-1/#comment-120061</link>
		<dc:creator>Thomas Bergheim</dc:creator>
		<pubDate>Sat, 14 Mar 2009 15:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/?p=82#comment-120061</guid>
		<description>I am using a simple file check for this:

/usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/state.yaml -w 5400 -c 7200

It will warn you if puppet isn&#039;t doing anything after 5400 seconds, and mark critical after 2 hours

It picks up daemons locking up, compile errors, crashes, etc. 

The good thing ofcourse is that it doesn&#039;t have any dependancies!</description>
		<content:encoded><![CDATA[<p>I am using a simple file check for this:</p>
<p>/usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/state.yaml -w 5400 -c 7200</p>
<p>It will warn you if puppet isn&#8217;t doing anything after 5400 seconds, and mark critical after 2 hours</p>
<p>It picks up daemons locking up, compile errors, crashes, etc. </p>
<p>The good thing ofcourse is that it doesn&#8217;t have any dependancies!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Extension to the &#8216;Shunting Yard&#8217; algorithm to allow variable numbers of arguments to functions by Steven Hughes</title>
		<link>http://www.kallisti.net.nz/blog/2008/02/extension-to-the-shunting-yard-algorithm-to-allow-variable-numbers-of-arguments-to-functions/comment-page-1/#comment-120051</link>
		<dc:creator>Steven Hughes</dc:creator>
		<pubDate>Wed, 04 Feb 2009 15:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/2008/02/extension-to-the-shunting-yard-algorithm-to-allow-variable-numbers-of-arguments-to-functions/#comment-120051</guid>
		<description>Correction:

&#039;Min(1,2) would be converted to &#039;1 2 2 Min&#039;</description>
		<content:encoded><![CDATA[<p>Correction:</p>
<p>&#8216;Min(1,2) would be converted to &#8216;1 2 2 Min&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Extension to the &#8216;Shunting Yard&#8217; algorithm to allow variable numbers of arguments to functions by Steven Hughes</title>
		<link>http://www.kallisti.net.nz/blog/2008/02/extension-to-the-shunting-yard-algorithm-to-allow-variable-numbers-of-arguments-to-functions/comment-page-1/#comment-120050</link>
		<dc:creator>Steven Hughes</dc:creator>
		<pubDate>Wed, 04 Feb 2009 15:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/2008/02/extension-to-the-shunting-yard-algorithm-to-allow-variable-numbers-of-arguments-to-functions/#comment-120050</guid>
		<description>I recently wrote a calculator app for my Mobile 6 phone because the one that came with it did not support anything other than basic arithmetic.  I performed the exact same 3 high-level steps that you used.  In addition, I also found it helpful to modify the Shunting Yard algorithm.  However, my modification was designed to validate that the correct number of parameters was passed to a function.  I counted the number of commas in the parameter list using an arg count stack just like you did.  One thing my modification did not do was to ensure that a value was in fact passed for each parameter.  My modification was not able to detect null parameters (e.g. min(,3) - first parameter missing).  It appears your &#039;were values&#039; stack is designed for just such a purpose.

I had a thought on how to handle a varialbe number of parameters and stil maintain a single postfix expression.  If the Shunting Yard algorithm is modified to put the number of arguments passed to a function as the function&#039;s last parameter, you could easily handle variable numbers of parameters when you evaluate the postfix expression.

&#039;Min(1,2,3,4,5)&#039; would be converted to postfix as &#039;1 2 3 4 5 5 Min&#039;.  The Min function would pop the last &#039;5&#039; (which would be on the top of the stack) and know it needed to pop 5 more values to get all it&#039;s parameters.  Similarly, &#039;Min(1,2)&#039; would be converted to &#039;1 2 3 Min&#039;.  

I have not, actually, implemented this but was thinking that it would probably be my approach if I were to.  Of course, I would probably want to implement the null value check to so I didn&#039;t corrupt the stack by reading parameters meant for other operations.</description>
		<content:encoded><![CDATA[<p>I recently wrote a calculator app for my Mobile 6 phone because the one that came with it did not support anything other than basic arithmetic.  I performed the exact same 3 high-level steps that you used.  In addition, I also found it helpful to modify the Shunting Yard algorithm.  However, my modification was designed to validate that the correct number of parameters was passed to a function.  I counted the number of commas in the parameter list using an arg count stack just like you did.  One thing my modification did not do was to ensure that a value was in fact passed for each parameter.  My modification was not able to detect null parameters (e.g. min(,3) &#8211; first parameter missing).  It appears your &#8216;were values&#8217; stack is designed for just such a purpose.</p>
<p>I had a thought on how to handle a varialbe number of parameters and stil maintain a single postfix expression.  If the Shunting Yard algorithm is modified to put the number of arguments passed to a function as the function&#8217;s last parameter, you could easily handle variable numbers of parameters when you evaluate the postfix expression.</p>
<p>&#8216;Min(1,2,3,4,5)&#8217; would be converted to postfix as &#8216;1 2 3 4 5 5 Min&#8217;.  The Min function would pop the last &#8216;5&#8242; (which would be on the top of the stack) and know it needed to pop 5 more values to get all it&#8217;s parameters.  Similarly, &#8216;Min(1,2)&#8217; would be converted to &#8216;1 2 3 Min&#8217;.  </p>
<p>I have not, actually, implemented this but was thinking that it would probably be my approach if I were to.  Of course, I would probably want to implement the null value check to so I didn&#8217;t corrupt the stack by reading parameters meant for other operations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting the Content-Type on a subversion file by sanj</title>
		<link>http://www.kallisti.net.nz/blog/2006/08/setting-the-content-type-on-a-subversion-file/comment-page-1/#comment-120040</link>
		<dc:creator>sanj</dc:creator>
		<pubDate>Tue, 06 Jan 2009 04:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.kallisti.net.nz/blog/2006/08/setting-the-content-type-on-a-subversion-file/#comment-120040</guid>
		<description>Thanks mate! This had me confused for quite a while.</description>
		<content:encoded><![CDATA[<p>Thanks mate! This had me confused for quite a while.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
