<?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 stoimen&#039;s web log</title>
	<atom:link href="/comments/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Fri, 26 Oct 2018 21:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Comment on Computer Algorithms: Morris-Pratt String Searching by Amit Moondra</title>
		<link>/2012/04/09/computer-algorithms-morris-pratt-string-searching/comment-page-1/#comment-511215</link>
		<dc:creator><![CDATA[Amit Moondra]]></dc:creator>
		<pubDate>Fri, 26 Oct 2018 21:40:18 +0000</pubDate>
		<guid isPermaLink="false">/?p=3019#comment-511215</guid>
		<description><![CDATA[&quot;It is clear that if the pattern consists only of different letters in case of a mismatch we should start comparing the next character of the text with the first character of the pattern!&quot;

Hi, I&#039;m a little confused about this part.

PATTERN = &#039;ABCD&#039;
STRING =    &#039;ABABCDA&#039;

There will be a mismatch at  STRING[2]   A !=C
However, if we move to the next letter instead of starting at the mismatch, we would miss out on &#039;ABCD&#039;]]></description>
		<content:encoded><![CDATA[<p>&#8220;It is clear that if the pattern consists only of different letters in case of a mismatch we should start comparing the next character of the text with the first character of the pattern!&#8221;</p>
<p>Hi, I&#8217;m a little confused about this part.</p>
<p>PATTERN = &#8216;ABCD&#8217;<br />
STRING =    &#8216;ABABCDA&#8217;</p>
<p>There will be a mismatch at  STRING[2]   A !=C<br />
However, if we move to the next letter instead of starting at the mismatch, we would miss out on &#8216;ABCD&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Computer Algorithms: Interpolation Search by Vishal</title>
		<link>/2012/01/02/computer-algorithms-interpolation-search/comment-page-1/#comment-493247</link>
		<dc:creator><![CDATA[Vishal]]></dc:creator>
		<pubDate>Fri, 15 Jun 2018 09:46:51 +0000</pubDate>
		<guid isPermaLink="false">/?p=2560#comment-493247</guid>
		<description><![CDATA[Good examlpe but if the result not found you need to keep running the loop but in the example you return -1 how loop continues to next stage.]]></description>
		<content:encoded><![CDATA[<p>Good examlpe but if the result not found you need to keep running the loop but in the example you return -1 how loop continues to next stage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OOP JavaScript: Accessing Public Methods in Private Methods by David.</title>
		<link>/2011/07/28/oop-javascript-accessing-public-methods-in-private-methods/comment-page-1/#comment-491011</link>
		<dc:creator><![CDATA[David.]]></dc:creator>
		<pubDate>Sat, 26 May 2018 14:09:26 +0000</pubDate>
		<guid isPermaLink="false">/?p=2339#comment-491011</guid>
		<description><![CDATA[Thanks, was going crazy trying to figure out how to access a global variable from a private function.]]></description>
		<content:encoded><![CDATA[<p>Thanks, was going crazy trying to figure out how to access a global variable from a private function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Computer Algorithms: Determine if a Number is Prime by zubin</title>
		<link>/2012/05/08/computer-algorithms-determine-if-a-number-is-prime/comment-page-1/#comment-489184</link>
		<dc:creator><![CDATA[zubin]]></dc:creator>
		<pubDate>Wed, 09 May 2018 12:07:43 +0000</pubDate>
		<guid isPermaLink="false">/?p=3100#comment-489184</guid>
		<description><![CDATA[second case wont work.
Take the example of 19.
19 is prime. 19/2 = 9 if you check for prime it will come as not prime.]]></description>
		<content:encoded><![CDATA[<p>second case wont work.<br />
Take the example of 19.<br />
19 is prime. 19/2 = 9 if you check for prime it will come as not prime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Computer Algorithms: How to Determine the Day of the Week by James Venable</title>
		<link>/2012/04/24/computer-algorithms-how-to-determine-the-day-of-the-week/comment-page-1/#comment-488418</link>
		<dc:creator><![CDATA[James Venable]]></dc:creator>
		<pubDate>Wed, 02 May 2018 21:43:52 +0000</pubDate>
		<guid isPermaLink="false">/?p=3058#comment-488418</guid>
		<description><![CDATA[Wrote from information from your post. Thanks.

uint8_t rtc_DOW(uint8_t y, uint8_t m, uint8_t d)
{
// Added 1 to Jan, Feb.
// Subtracted 1 from each instead of adding 6 in calc below.
static const uint8_t mTable[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};

// Year is 0 - 99, rep years 2000 - 2099
// Month starts at 0.
// Day starts at 1.

// Subtract 1 in calc for Jan, Feb, only in leap years.
// Subtracting 1 from year has the effect of subtracting 2 in leap years, subtracting 1 otherwise.
// Adding 1 for Jan, Feb in Month Table so calc ends up subtracting 1 for Jan, Feb, only in leap years.
// All of this complication to avoid the check if it is a leap year.
if (m &#062; 2)) % 7;

} /* end */]]></description>
		<content:encoded><![CDATA[<p>Wrote from information from your post. Thanks.</p>
<p>uint8_t rtc_DOW(uint8_t y, uint8_t m, uint8_t d)<br />
{<br />
// Added 1 to Jan, Feb.<br />
// Subtracted 1 from each instead of adding 6 in calc below.<br />
static const uint8_t mTable[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};</p>
<p>// Year is 0 &#8211; 99, rep years 2000 &#8211; 2099<br />
// Month starts at 0.<br />
// Day starts at 1.</p>
<p>// Subtract 1 in calc for Jan, Feb, only in leap years.<br />
// Subtracting 1 from year has the effect of subtracting 2 in leap years, subtracting 1 otherwise.<br />
// Adding 1 for Jan, Feb in Month Table so calc ends up subtracting 1 for Jan, Feb, only in leap years.<br />
// All of this complication to avoid the check if it is a leap year.<br />
if (m &gt; 2)) % 7;</p>
<p>} /* end */</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Computer Algorithms: How to Determine the Day of the Week by James Venable</title>
		<link>/2012/04/24/computer-algorithms-how-to-determine-the-day-of-the-week/comment-page-1/#comment-488417</link>
		<dc:creator><![CDATA[James Venable]]></dc:creator>
		<pubDate>Wed, 02 May 2018 21:36:43 +0000</pubDate>
		<guid isPermaLink="false">/?p=3058#comment-488417</guid>
		<description><![CDATA[Thanks for the post. From this information I wrote this C function.

uint8_t rtc_DayOfWeek(uint8_t year, uint8_t month, uint8_t day)
{
//static const uint8_t month_offset_table[] = {0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5}; // Typical table.

// Added 1 to Jan, Feb. Subtracted 1 from each instead of adding 6 in calc below. */
static const uint8_t month_offset_table[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};

uint8_t day_of_week;

	// Year is 0 - 99, representing years 2000 - 2099

	// Month starts at 0.
	month -= 1;

	// Day starts at 1.

	// Subtract 1 in calc for Jan, Feb, only in leap years.
	// Subtracting 1 from year has the effect of subtracting 2 in leap years, subtracting 1 otherwise.
	// Adding 1 for Jan, Feb in Month Table so calc ends up subtracting 1 for Jan, Feb, only in leap years.
	// All of this complication to avoid the check if it is a leap year.
	if (month &#062; 2)) % 7;

    // Sunday (0) ...
	return day_of_week;

} /* end rtc_DayOfWeek() */

Enjoy.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the post. From this information I wrote this C function.</p>
<p>uint8_t rtc_DayOfWeek(uint8_t year, uint8_t month, uint8_t day)<br />
{<br />
//static const uint8_t month_offset_table[] = {0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5}; // Typical table.</p>
<p>// Added 1 to Jan, Feb. Subtracted 1 from each instead of adding 6 in calc below. */<br />
static const uint8_t month_offset_table[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};</p>
<p>uint8_t day_of_week;</p>
<p>	// Year is 0 &#8211; 99, representing years 2000 &#8211; 2099</p>
<p>	// Month starts at 0.<br />
	month -= 1;</p>
<p>	// Day starts at 1.</p>
<p>	// Subtract 1 in calc for Jan, Feb, only in leap years.<br />
	// Subtracting 1 from year has the effect of subtracting 2 in leap years, subtracting 1 otherwise.<br />
	// Adding 1 for Jan, Feb in Month Table so calc ends up subtracting 1 for Jan, Feb, only in leap years.<br />
	// All of this complication to avoid the check if it is a leap year.<br />
	if (month &gt; 2)) % 7;</p>
<p>    // Sunday (0) &#8230;<br />
	return day_of_week;</p>
<p>} /* end rtc_DayOfWeek() */</p>
<p>Enjoy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on document.forms[&#8216;myform&#8217;].submit() is not a function? by Todd</title>
		<link>/2010/07/05/document-formsmyform-submit-is-not-a-function/comment-page-1/#comment-488285</link>
		<dc:creator><![CDATA[Todd]]></dc:creator>
		<pubDate>Tue, 01 May 2018 19:58:33 +0000</pubDate>
		<guid isPermaLink="false">/?p=1751#comment-488285</guid>
		<description><![CDATA[OMG. Thank you for this!!! I was ready to throw my laptop across the room.]]></description>
		<content:encoded><![CDATA[<p>OMG. Thank you for this!!! I was ready to throw my laptop across the room.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Strings Don&#8217;t Need Quotes by Codetician</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-487799</link>
		<dc:creator><![CDATA[Codetician]]></dc:creator>
		<pubDate>Fri, 27 Apr 2018 19:46:50 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-487799</guid>
		<description><![CDATA[Please take down this post. It&#039;s not worth reading]]></description>
		<content:encoded><![CDATA[<p>Please take down this post. It&#8217;s not worth reading</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AJAX dataTypes in jQuery. Format and access. by durgesh</title>
		<link>/2009/11/03/ajax-datatypes-in-jquery-format-and-access/comment-page-1/#comment-487759</link>
		<dc:creator><![CDATA[durgesh]]></dc:creator>
		<pubDate>Fri, 27 Apr 2018 11:41:48 +0000</pubDate>
		<guid isPermaLink="false">/?p=788#comment-487759</guid>
		<description><![CDATA[how many datatype  use in one ajax ?]]></description>
		<content:encoded><![CDATA[<p>how many datatype  use in one ajax ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Computer Algorithms: Boyer-Moore String Searching by cathy</title>
		<link>/2012/04/17/computer-algorithms-boyer-moore-string-search-and-matching/comment-page-1/#comment-487613</link>
		<dc:creator><![CDATA[cathy]]></dc:creator>
		<pubDate>Thu, 26 Apr 2018 06:34:36 +0000</pubDate>
		<guid isPermaLink="false">/?p=3049#comment-487613</guid>
		<description><![CDATA[Call-time pass-by-reference has been removed on line 108.. how to fixed it ?]]></description>
		<content:encoded><![CDATA[<p>Call-time pass-by-reference has been removed on line 108.. how to fixed it ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
