<?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 zahymaka</title>
	<atom:link href="http://zahymaka.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://zahymaka.com</link>
	<description>web development</description>
	<lastBuildDate>Sun, 04 Sep 2011 19:00:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Integrating Kohana 3 with WordPress by Wordpress + Kohana</title>
		<link>http://zahymaka.com/168/integrating-kohana-3-with-wordpress/comment-page-1#comment-1796</link>
		<dc:creator>Wordpress + Kohana</dc:creator>
		<pubDate>Sun, 04 Sep 2011 19:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://zahymaka.com/?p=168#comment-1796</guid>
		<description>[...] ????????, ?? ??????? ? ?????, ????????? ?????????? ko3 ? wordpress. [...]</description>
		<content:encoded><![CDATA[<p>[...] ????????, ?? ??????? ? ?????, ????????? ?????????? ko3 ? wordpress. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AuthWare Friendly Urls &amp; Bug List by Code Profiling&#160;&#124;&#160;zahymaka</title>
		<link>http://zahymaka.com/16/authware-friendly-urls-bug-list/comment-page-1#comment-827</link>
		<dc:creator>Code Profiling&#160;&#124;&#160;zahymaka</dc:creator>
		<pubDate>Fri, 05 Nov 2010 14:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/16/authware-friendly-urls-bug-list/#comment-827</guid>
		<description>[...] it, got WinCacheGrind and spotted the problem in less than a minute. That &#8216;nifty&#8217; html_2_xhtml function I wrote sometime before when I was just starting out with regular expressions did a lot of [...]</description>
		<content:encoded><![CDATA[<p>[...] it, got WinCacheGrind and spotted the problem in less than a minute. That &#8216;nifty&#8217; html_2_xhtml function I wrote sometime before when I was just starting out with regular expressions did a lot of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SQL by Azuka</title>
		<link>http://zahymaka.com/72/sql/comment-page-1#comment-687</link>
		<dc:creator>Azuka</dc:creator>
		<pubDate>Thu, 23 Sep 2010 14:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/?p=72#comment-687</guid>
		<description>That&#039;s more scary than ugly...</description>
		<content:encoded><![CDATA[<p>That&#8217;s more scary than ugly&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SQL by Simeon</title>
		<link>http://zahymaka.com/72/sql/comment-page-1#comment-686</link>
		<dc:creator>Simeon</dc:creator>
		<pubDate>Thu, 23 Sep 2010 14:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/?p=72#comment-686</guid>
		<description>Try this for ugly:

&lt;pre class=&quot;brush:sql&quot;&gt;set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go






ALTER PROCEDURE [dbo].[CustomReports_ManagerLicenseReport]
	@SessionID INT
AS

-- Don&#039;t wait for locks.
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

UPDATE [kronos].[dbo].[CUST_RPT_USAGE_Count]
   SET [UsageCount] = (SELECT [UsageCount]
					   FROM [kronos].[dbo].[CUST_RPT_USAGE_Count] 
					   WHERE [EXTERNAL_REPORT_NAME] = &#039;ManagerLicenseReport&#039;) + 1
	WHERE [EXTERNAL_REPORT_NAME] = &#039;ManagerLicenseReport&#039;

DECLARE @Now DATETIME
SET @Now = GETDATE()
	DECLARE @sqlCommand VARCHAR(8000),
	@Headcount INT,
	@params nvarchar(4000),
	@PERID INT

	DELETE FROM TEMPCOUNT
	DECLARE AG CURSOR FORWARD_ONLY 
	FOR
	SELECT DISTINCT JA.PERSONID
	FROM dbo.JAIDS AS JA INNER JOIN
                    dbo.MYWTKEMPLOYEE ON JA.EMPLOYEEID = dbo.MYWTKEMPLOYEE.EMPLOYEEID
					  WHERE (JA.PERSONID &gt; 0) AND (JA.DELETEDSW = 0) AND EXISTS
                          (SELECT     PERSONID, LICENSETYPEID
                            FROM          dbo.PRSNLICTYPEMM
                            WHERE      (LICENSETYPEID = 3) AND (PRSNLICTYPEMM.PERSONID = JA.PERSONID)) AND (dbo.MYWTKEMPLOYEE.SESSIONID = @SessionID)
	OPEN AG
	FETCH NEXT FROM AG INTO @PERID
		WHILE @@FETCH_STATUS=0
		BEGIN
			SELECT @sqlCommand =[dbo].[CustomReports_GetAccessGroupBy_TestErr](@PERID)
			CREATE TABLE #temp(mycount int)
			SET @sqlCommand = &#039;INSERT INTO #temp &#039; + @sqlCommand
			EXEC (@sqlCommand)
			--INSERT INTO ResultSt select @sqlCommand 
			--Select @Headcount = mycount from #temp
			--INSERT INTO TEMPCOUNT select @PERID, @Headcount
			INSERT INTO TEMPCOUNT select @PERID, mycount from #temp
			DROP TABLE #temp
		FETCH NEXT FROM AG INTO @PERID
		END
	CLOSE AG
	DEALLOCATE AG


SELECT DISTINCT 
                    JA.PERSONID AS PersonID, 
					PE.PERSONNUM AS PersonNum, 
					PE.FULLNM AS PersonFullName, 
					EA.EMAILADDRESSTXT AS EmailAddress, 
                    LA.LABORLEV1NM AS OrgUnitNum, 
					LA.LABORLEV1DSC AS OrgUnitName, 
					LA.LABORLEV4NM AS PerAdmin, 
					LA.LABORLEV4DSC AS PerAdminDesc, 
                    AP.PROFILENM, 
                    CASE AP.PROFILENM WHEN &#039;&amp;SUPER_USER_ACCESS&#039; THEN &#039;ALL HOMES&#039; ELSE dbo.CustomReports_GetAccessGroup(PE.PERSONID) 
                    END AS AccessGroup, CASE AP.PROFILENM WHEN &#039;&amp;SUPER_USER_ACCESS&#039; THEN dbo.HeadCountSU() 
                    ELSE dbo.TEMPCOUNT.HeadCOUNT END AS HeadCount, 
					PN.PHONENUM AS PhoneNumber, 
					dbo.CustomReports_GetAccessGroupBy(PE.PERSONID) AS AccessGroupBy, 
					MAX(dbo.AUDITITEM.ENTEREDONDTM) AS LoginDate
FROM         dbo.PHONENUMBER AS PN RIGHT OUTER JOIN
                  dbo.EMAILADDRESS AS EA RIGHT OUTER JOIN
				  dbo.JAIDS AS JA INNER JOIN
				  dbo.PERSON AS PE ON JA.PERSONID = PE.PERSONID INNER JOIN
				  dbo.HOMEACCTHIST AS HH ON JA.EMPLOYEEID = HH.EMPLOYEEID INNER JOIN
				  dbo.LABORACCT AS LA ON HH.LABORACCTID = LA.LABORACCTID AND GETDATE() BETWEEN HH.EFFECTIVEDTM AND ISNULL(HH.EXPIRATIONDTM, 
				  GETDATE() + 1) - 1 INNER JOIN
				  dbo.PRSNACCSASSIGN AS PA ON PE.PERSONID = PA.PERSONID INNER JOIN
				  dbo.ACCESSPROFILE AS AP ON PA.ACCESSPROFID = AP.ACCESSPROFID ON EA.PERSONID = PE.PERSONID AND EA.EMAILADDRESSTXT =
					  (SELECT     TOP (1) EMAILADDRESSTXT
                            FROM          dbo.EMAILADDRESS
                            WHERE      (PERSONID = PE.PERSONID)
                            ORDER BY UPDATEDTM DESC) ON PN.PERSONID = JA.PERSONID AND PN.PHONENUM =
                          (SELECT     TOP (1) PHONENUM
                            FROM          dbo.PHONENUMBER
                            WHERE      (PERSONID = JA.PERSONID) AND (CONTACTTYPEID = 4)
                            ORDER BY UPDATEDTM DESC) FULL OUTER JOIN
                  dbo.USERACCOUNT AS UA ON JA.PERSONID = UA.PERSONID INNER JOIN
                  dbo.MYWTKEMPLOYEE AS WE ON WE.PERSONID = UA.PERSONID INNER JOIN
                  dbo.DATASOURCE INNER JOIN
                  dbo.CLIENTCONTEXT ON dbo.DATASOURCE.CLIENTCONTEXTID = dbo.CLIENTCONTEXT.CLIENTCONTEXTID ON 
                  UA.USERACCOUNTNM = dbo.CLIENTCONTEXT.USERNAME INNER JOIN
                  dbo.AUDITITEM ON dbo.DATASOURCE.DATASOURCEID = dbo.AUDITITEM.DATASOURCEID LEFT OUTER JOIN
                  dbo.TEMPCOUNT ON LTRIM(RTRIM(EA.PERSONID)) = LTRIM(RTRIM(dbo.TEMPCOUNT.PersonID))
WHERE     (JA.PERSONID &gt; 0) AND (JA.DELETEDSW = 0) AND (WE.SESSIONID = @SessionID) AND EXISTS
                          (SELECT     PERSONID, LICENSETYPEID
                            FROM          dbo.PRSNLICTYPEMM
                            WHERE      (LICENSETYPEID = 3) AND (PERSONID = JA.PERSONID)) AND (dbo.AUDITITEM.AUDITTYPEID = 10)
GROUP BY JA.PERSONID, PE.PERSONNUM, PE.FULLNM, EA.EMAILADDRESSTXT, LA.LABORLEV1NM, LA.LABORLEV1DSC, LA.LABORLEV4NM, 
                      LA.LABORLEV4DSC, AP.PROFILENM, PE.PERSONID, PN.PHONENUM, dbo.TEMPCOUNT.HeadCOUNT&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Try this for ugly:</p>
<pre class="brush:sql">set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

ALTER PROCEDURE [dbo].[CustomReports_ManagerLicenseReport]
	@SessionID INT
AS

-- Don't wait for locks.
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

UPDATE [kronos].[dbo].[CUST_RPT_USAGE_Count]
   SET [UsageCount] = (SELECT [UsageCount]
					   FROM [kronos].[dbo].[CUST_RPT_USAGE_Count]
					   WHERE [EXTERNAL_REPORT_NAME] = 'ManagerLicenseReport') + 1
	WHERE [EXTERNAL_REPORT_NAME] = 'ManagerLicenseReport'

DECLARE @Now DATETIME
SET @Now = GETDATE()
	DECLARE @sqlCommand VARCHAR(8000),
	@Headcount INT,
	@params nvarchar(4000),
	@PERID INT

	DELETE FROM TEMPCOUNT
	DECLARE AG CURSOR FORWARD_ONLY
	FOR
	SELECT DISTINCT JA.PERSONID
	FROM dbo.JAIDS AS JA INNER JOIN
                    dbo.MYWTKEMPLOYEE ON JA.EMPLOYEEID = dbo.MYWTKEMPLOYEE.EMPLOYEEID
					  WHERE (JA.PERSONID &gt; 0) AND (JA.DELETEDSW = 0) AND EXISTS
                          (SELECT     PERSONID, LICENSETYPEID
                            FROM          dbo.PRSNLICTYPEMM
                            WHERE      (LICENSETYPEID = 3) AND (PRSNLICTYPEMM.PERSONID = JA.PERSONID)) AND (dbo.MYWTKEMPLOYEE.SESSIONID = @SessionID)
	OPEN AG
	FETCH NEXT FROM AG INTO @PERID
		WHILE @@FETCH_STATUS=0
		BEGIN
			SELECT @sqlCommand =[dbo].[CustomReports_GetAccessGroupBy_TestErr](@PERID)
			CREATE TABLE #temp(mycount int)
			SET @sqlCommand = 'INSERT INTO #temp ' + @sqlCommand
			EXEC (@sqlCommand)
			--INSERT INTO ResultSt select @sqlCommand
			--Select @Headcount = mycount from #temp
			--INSERT INTO TEMPCOUNT select @PERID, @Headcount
			INSERT INTO TEMPCOUNT select @PERID, mycount from #temp
			DROP TABLE #temp
		FETCH NEXT FROM AG INTO @PERID
		END
	CLOSE AG
	DEALLOCATE AG

SELECT DISTINCT
                    JA.PERSONID AS PersonID,
					PE.PERSONNUM AS PersonNum,
					PE.FULLNM AS PersonFullName,
					EA.EMAILADDRESSTXT AS EmailAddress,
                    LA.LABORLEV1NM AS OrgUnitNum,
					LA.LABORLEV1DSC AS OrgUnitName,
					LA.LABORLEV4NM AS PerAdmin,
					LA.LABORLEV4DSC AS PerAdminDesc,
                    AP.PROFILENM,
                    CASE AP.PROFILENM WHEN '&amp;SUPER_USER_ACCESS' THEN 'ALL HOMES' ELSE dbo.CustomReports_GetAccessGroup(PE.PERSONID)
                    END AS AccessGroup, CASE AP.PROFILENM WHEN '&amp;SUPER_USER_ACCESS' THEN dbo.HeadCountSU()
                    ELSE dbo.TEMPCOUNT.HeadCOUNT END AS HeadCount,
					PN.PHONENUM AS PhoneNumber,
					dbo.CustomReports_GetAccessGroupBy(PE.PERSONID) AS AccessGroupBy,
					MAX(dbo.AUDITITEM.ENTEREDONDTM) AS LoginDate
FROM         dbo.PHONENUMBER AS PN RIGHT OUTER JOIN
                  dbo.EMAILADDRESS AS EA RIGHT OUTER JOIN
				  dbo.JAIDS AS JA INNER JOIN
				  dbo.PERSON AS PE ON JA.PERSONID = PE.PERSONID INNER JOIN
				  dbo.HOMEACCTHIST AS HH ON JA.EMPLOYEEID = HH.EMPLOYEEID INNER JOIN
				  dbo.LABORACCT AS LA ON HH.LABORACCTID = LA.LABORACCTID AND GETDATE() BETWEEN HH.EFFECTIVEDTM AND ISNULL(HH.EXPIRATIONDTM,
				  GETDATE() + 1) - 1 INNER JOIN
				  dbo.PRSNACCSASSIGN AS PA ON PE.PERSONID = PA.PERSONID INNER JOIN
				  dbo.ACCESSPROFILE AS AP ON PA.ACCESSPROFID = AP.ACCESSPROFID ON EA.PERSONID = PE.PERSONID AND EA.EMAILADDRESSTXT =
					  (SELECT     TOP (1) EMAILADDRESSTXT
                            FROM          dbo.EMAILADDRESS
                            WHERE      (PERSONID = PE.PERSONID)
                            ORDER BY UPDATEDTM DESC) ON PN.PERSONID = JA.PERSONID AND PN.PHONENUM =
                          (SELECT     TOP (1) PHONENUM
                            FROM          dbo.PHONENUMBER
                            WHERE      (PERSONID = JA.PERSONID) AND (CONTACTTYPEID = 4)
                            ORDER BY UPDATEDTM DESC) FULL OUTER JOIN
                  dbo.USERACCOUNT AS UA ON JA.PERSONID = UA.PERSONID INNER JOIN
                  dbo.MYWTKEMPLOYEE AS WE ON WE.PERSONID = UA.PERSONID INNER JOIN
                  dbo.DATASOURCE INNER JOIN
                  dbo.CLIENTCONTEXT ON dbo.DATASOURCE.CLIENTCONTEXTID = dbo.CLIENTCONTEXT.CLIENTCONTEXTID ON
                  UA.USERACCOUNTNM = dbo.CLIENTCONTEXT.USERNAME INNER JOIN
                  dbo.AUDITITEM ON dbo.DATASOURCE.DATASOURCEID = dbo.AUDITITEM.DATASOURCEID LEFT OUTER JOIN
                  dbo.TEMPCOUNT ON LTRIM(RTRIM(EA.PERSONID)) = LTRIM(RTRIM(dbo.TEMPCOUNT.PersonID))
WHERE     (JA.PERSONID &gt; 0) AND (JA.DELETEDSW = 0) AND (WE.SESSIONID = @SessionID) AND EXISTS
                          (SELECT     PERSONID, LICENSETYPEID
                            FROM          dbo.PRSNLICTYPEMM
                            WHERE      (LICENSETYPEID = 3) AND (PERSONID = JA.PERSONID)) AND (dbo.AUDITITEM.AUDITTYPEID = 10)
GROUP BY JA.PERSONID, PE.PERSONNUM, PE.FULLNM, EA.EMAILADDRESSTXT, LA.LABORLEV1NM, LA.LABORLEV1DSC, LA.LABORLEV4NM,
                      LA.LABORLEV4DSC, AP.PROFILENM, PE.PERSONID, PN.PHONENUM, dbo.TEMPCOUNT.HeadCOUNT</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Journal by azuka&#8217;s blog &#187; Blog Archive &#187; Moving</title>
		<link>http://zahymaka.com/journal/comment-page-1#comment-569</link>
		<dc:creator>azuka&#8217;s blog &#187; Blog Archive &#187; Moving</dc:creator>
		<pubDate>Fri, 23 Jul 2010 09:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/zatech/journal/#comment-569</guid>
		<description>[...] away from here. I&#8217;m keeping the promise. This remains my diary, but I&#8217;ll be ranting on my journal from now [...]</description>
		<content:encoded><![CDATA[<p>[...] away from here. I&#8217;m keeping the promise. This remains my diary, but I&#8217;ll be ranting on my journal from now [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WritingInn by azuka&#8217;s blog &#187; Blog Archive &#187; All Business</title>
		<link>http://zahymaka.com/40/writinginn/comment-page-1#comment-568</link>
		<dc:creator>azuka&#8217;s blog &#187; Blog Archive &#187; All Business</dc:creator>
		<pubDate>Fri, 23 Jul 2010 09:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/40/writinginn/#comment-568</guid>
		<description>[...] recently purchased a domain name, WritingInn.com and I think that&#8217;s where I&#8217;ll be putting up a writing community. Nikita&#8216;s going to get some competition (he owns Outputwriting), or will we exchange ideas? [...]</description>
		<content:encoded><![CDATA[<p>[...] recently purchased a domain name, WritingInn.com and I think that&#8217;s where I&#8217;ll be putting up a writing community. Nikita&#8216;s going to get some competition (he owns Outputwriting), or will we exchange ideas? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby (on Rails) by Paulette</title>
		<link>http://zahymaka.com/61/ruby-on-rails/comment-page-1#comment-245</link>
		<dc:creator>Paulette</dc:creator>
		<pubDate>Thu, 16 Jul 2009 10:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/61/ruby-on-rails/#comment-245</guid>
		<description>Hope you ain&#039;t mad at rails? Got your contact from a friend but need to send you a PM. Send me a PM. You got my email.
-Cheers, Paulette.</description>
		<content:encoded><![CDATA[<p>Hope you ain&#8217;t mad at rails? Got your contact from a friend but need to send you a PM. Send me a PM. You got my email.<br />
-Cheers, Paulette.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thanksgiving code by Pearl</title>
		<link>http://zahymaka.com/66/thanksgiving-code/comment-page-1#comment-212</link>
		<dc:creator>Pearl</dc:creator>
		<pubDate>Wed, 22 Apr 2009 11:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/?p=66#comment-212</guid>
		<description>Great work.</description>
		<content:encoded><![CDATA[<p>Great work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Algorithms for Dummies by Azuka</title>
		<link>http://zahymaka.com/63/algorithms-for-dummies/comment-page-1#comment-121</link>
		<dc:creator>Azuka</dc:creator>
		<pubDate>Fri, 14 Nov 2008 16:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/?p=63#comment-121</guid>
		<description>Thanks &lt;b&gt;El-Halaby&lt;/b&gt;. 

I knew something was wrong but couldn&#039;t exactly tell what. You see, I never took the Data Structures class which apparently covered implementation in C++. Thanks once again man!</description>
		<content:encoded><![CDATA[<p>Thanks <b>El-Halaby</b>. </p>
<p>I knew something was wrong but couldn&#8217;t exactly tell what. You see, I never took the Data Structures class which apparently covered implementation in C++. Thanks once again man!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Algorithms for Dummies by El-Halaby</title>
		<link>http://zahymaka.com/63/algorithms-for-dummies/comment-page-1#comment-120</link>
		<dc:creator>El-Halaby</dc:creator>
		<pubDate>Fri, 07 Nov 2008 20:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zatechcorp.com/?p=63#comment-120</guid>
		<description>You got to know data structures before learning algorithms, that&#039;s why an algorithm class is usually called data structures and algorithms.

Graphs and trees are basic data structures, you can find their implementation code in every data structures book, my favorite book is Data Structures
&amp; Algorithms in Java by Robert Lafore. I am pretty sure the same book is written for C++ programmers.

If you are interested in Graph algorithms, there is a book called Algorithms in Java, Third Edition, Part 5: Graph Algorithms by Robert Sedgewick, the C++ version of this book exists also (almost sure). 

There is a Wikibook: Data Structures {fundamental tools}, here is the link:
http://en.wikibooks.org/wiki/Data_Structures

Good luck
Bye</description>
		<content:encoded><![CDATA[<p>You got to know data structures before learning algorithms, that&#8217;s why an algorithm class is usually called data structures and algorithms.</p>
<p>Graphs and trees are basic data structures, you can find their implementation code in every data structures book, my favorite book is Data Structures<br />
&amp; Algorithms in Java by Robert Lafore. I am pretty sure the same book is written for C++ programmers.</p>
<p>If you are interested in Graph algorithms, there is a book called Algorithms in Java, Third Edition, Part 5: Graph Algorithms by Robert Sedgewick, the C++ version of this book exists also (almost sure). </p>
<p>There is a Wikibook: Data Structures {fundamental tools}, here is the link:<br />
<a href="http://en.wikibooks.org/wiki/Data_Structures" rel="nofollow">http://en.wikibooks.org/wiki/Data_Structures</a></p>
<p>Good luck<br />
Bye</p>
]]></content:encoded>
	</item>
</channel>
</rss>

