<?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 Zorched / One-Line Fix</title>
	<atom:link href="http://www.zorched.net/comments/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://www.zorched.net</link>
	<description>Musings of a software developer in Cincinnati, OH</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:12:18 +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 Build a Custom Validator in Grails with a Plugin by Geoff Lane</title>
		<link>http://www.zorched.net/2008/01/25/build-a-custom-validator-in-grails-with-a-plugin/comment-page-1/#comment-18013</link>
		<dc:creator>Geoff Lane</dc:creator>
		<pubDate>Thu, 09 Feb 2012 04:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/2008/01/25/build-a-custom-validator-in-grails-with-a-plugin/#comment-18013</guid>
		<description>@aditi,
From what you are doing, it sounds like you should implement it as a persistent constraint. A persistent constraint would let you query the database for the previous bid for a given item and then compare that to the new bid. Take a look at the &quot;UniqueEgConstraint&quot; example on GitHub for an example of how to write a persistent constraint.</description>
		<content:encoded><![CDATA[<p>@aditi,<br />
From what you are doing, it sounds like you should implement it as a persistent constraint. A persistent constraint would let you query the database for the previous bid for a given item and then compare that to the new bid. Take a look at the &#8220;UniqueEgConstraint&#8221; example on GitHub for an example of how to write a persistent constraint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Build a Custom Validator in Grails with a Plugin by aditi</title>
		<link>http://www.zorched.net/2008/01/25/build-a-custom-validator-in-grails-with-a-plugin/comment-page-1/#comment-18012</link>
		<dc:creator>aditi</dc:creator>
		<pubDate>Thu, 09 Feb 2012 03:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/2008/01/25/build-a-custom-validator-in-grails-with-a-plugin/#comment-18012</guid>
		<description>I need to add a validator where bid amount should always be $.50 greater than previous bid. Do i need to declare two variables (bid and old bid) in my domain class to do this?</description>
		<content:encoded><![CDATA[<p>I need to add a validator where bid amount should always be $.50 greater than previous bid. Do i need to declare two variables (bid and old bid) in my domain class to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Password Strength Validation with Regular Expressions by Ramon Del Valle</title>
		<link>http://www.zorched.net/2009/05/08/password-strength-validation-with-regular-expressions/comment-page-1/#comment-18008</link>
		<dc:creator>Ramon Del Valle</dc:creator>
		<pubDate>Mon, 23 Jan 2012 21:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=340#comment-18008</guid>
		<description>Awesome post! Thank you very much. Just what i needed to help me &quot;wrap my head around&quot; the whole process. Quite simple when its explained correctly. lol</description>
		<content:encoded><![CDATA[<p>Awesome post! Thank you very much. Just what i needed to help me &#8220;wrap my head around&#8221; the whole process. Quite simple when its explained correctly. lol</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Password Strength Validation with Regular Expressions by User</title>
		<link>http://www.zorched.net/2009/05/08/password-strength-validation-with-regular-expressions/comment-page-1/#comment-18007</link>
		<dc:creator>User</dc:creator>
		<pubDate>Thu, 19 Jan 2012 07:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=340#comment-18007</guid>
		<description>Will it work for passwords on other languages then English?  I expect some problems with the upper and lower case rules.

In my opinion regular expressions is a two powerful tool for this task. A simple single loop would be enough.</description>
		<content:encoded><![CDATA[<p>Will it work for passwords on other languages then English?  I expect some problems with the upper and lower case rules.</p>
<p>In my opinion regular expressions is a two powerful tool for this task. A simple single loop would be enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Password Strength Validation with Regular Expressions by consultant informatique</title>
		<link>http://www.zorched.net/2009/05/08/password-strength-validation-with-regular-expressions/comment-page-1/#comment-18006</link>
		<dc:creator>consultant informatique</dc:creator>
		<pubDate>Sun, 08 Jan 2012 17:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=340#comment-18006</guid>
		<description>I have been exploring for a little bit for any high-quality articles or blog posts in this kind of space . Exploring in Yahoo I finally stumbled upon this site. Studying this information So i&#039;m satisfied to convey that I have an incredibly just right uncanny feeling I came upon exactly what I needed. I most undoubtedly will make certain to don?t omit this site and provides it a glance on a continuing basis.</description>
		<content:encoded><![CDATA[<p>I have been exploring for a little bit for any high-quality articles or blog posts in this kind of space . Exploring in Yahoo I finally stumbled upon this site. Studying this information So i&#8217;m satisfied to convey that I have an incredibly just right uncanny feeling I came upon exactly what I needed. I most undoubtedly will make certain to don?t omit this site and provides it a glance on a continuing basis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Groovy AST to Add Common Properties to Grails Domain Classes by Chris</title>
		<link>http://www.zorched.net/2011/11/09/using-groovy-ast-to-add-common-properties-to-grails-domain-classes/comment-page-1/#comment-17998</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 07 Dec 2011 05:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=489#comment-17998</guid>
		<description>like the project wont even compile anymore</description>
		<content:encoded><![CDATA[<p>like the project wont even compile anymore</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Groovy AST to Add Common Properties to Grails Domain Classes by Chris</title>
		<link>http://www.zorched.net/2011/11/09/using-groovy-ast-to-add-common-properties-to-grails-domain-classes/comment-page-1/#comment-17997</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 07 Dec 2011 05:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=489#comment-17997</guid>
		<description>well the thing is that i dont even have anything in the ast transformation class... but as soon as i just add the annoation 

@GroovyASTTransformationClass({ &quot;com..util.ast.AddDateASTTransformation&quot; })

it brings me the error... seems like there maybe an issue with groovy or something... 

maybe you have any tricks how to reset the groovy compilation? or do you maybe have an example project that i could try?

this is what my annotation looks like:



import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.codehaus.groovy.transform.GroovyASTTransformationClass;

@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@GroovyASTTransformationClass({ &quot;com.util.ast.AddDateASTTransformation&quot; })
public @interface AddDate {
}

thanks for any help

Chris</description>
		<content:encoded><![CDATA[<p>well the thing is that i dont even have anything in the ast transformation class&#8230; but as soon as i just add the annoation </p>
<p>@GroovyASTTransformationClass({ &#8220;com..util.ast.AddDateASTTransformation&#8221; })</p>
<p>it brings me the error&#8230; seems like there maybe an issue with groovy or something&#8230; </p>
<p>maybe you have any tricks how to reset the groovy compilation? or do you maybe have an example project that i could try?</p>
<p>this is what my annotation looks like:</p>
<p>import java.lang.annotation.ElementType;<br />
import java.lang.annotation.Retention;<br />
import java.lang.annotation.RetentionPolicy;<br />
import java.lang.annotation.Target;</p>
<p>import org.codehaus.groovy.transform.GroovyASTTransformationClass;</p>
<p>@Target({ ElementType.TYPE })<br />
@Retention(RetentionPolicy.RUNTIME)<br />
@GroovyASTTransformationClass({ &#8220;com.util.ast.AddDateASTTransformation&#8221; })<br />
public @interface AddDate {<br />
}</p>
<p>thanks for any help</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Groovy AST to Add Common Properties to Grails Domain Classes by Geoff Lane</title>
		<link>http://www.zorched.net/2011/11/09/using-groovy-ast-to-add-common-properties-to-grails-domain-classes/comment-page-1/#comment-17996</link>
		<dc:creator>Geoff Lane</dc:creator>
		<pubDate>Wed, 07 Dec 2011 00:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=489#comment-17996</guid>
		<description>@Chris,
AST Transformations are really hard to debug since they&#039;re done at compile time. I&#039;ve seen that issue myself when I didn&#039;t have things quite right. I&#039;d try using some println statements and catching runtime exceptions (and then printing out the results) to figure out what&#039;s happening. Other than that, it&#039;s a bit hard to say without seeing more code...</description>
		<content:encoded><![CDATA[<p>@Chris,<br />
AST Transformations are really hard to debug since they&#8217;re done at compile time. I&#8217;ve seen that issue myself when I didn&#8217;t have things quite right. I&#8217;d try using some println statements and catching runtime exceptions (and then printing out the results) to figure out what&#8217;s happening. Other than that, it&#8217;s a bit hard to say without seeing more code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Groovy AST to Add Common Properties to Grails Domain Classes by Chris</title>
		<link>http://www.zorched.net/2011/11/09/using-groovy-ast-to-add-common-properties-to-grails-domain-classes/comment-page-1/#comment-17995</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 07 Dec 2011 00:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=489#comment-17995</guid>
		<description>Hi
love the article... finally understand a little more AST... 
i am trying todo what you do but i am getting an:

Internal compiler error: java.lang.NullPointerException at 
 org.codehaus.groovy.transform.ASTTransformationVisitor.visitClass(ASTTransformationVisitor.java:159)

when i annotate my class

i tried it in IntelliJ  and STS... both have the same result...

Any help would be appriciated</description>
		<content:encoded><![CDATA[<p>Hi<br />
love the article&#8230; finally understand a little more AST&#8230;<br />
i am trying todo what you do but i am getting an:</p>
<p>Internal compiler error: java.lang.NullPointerException at<br />
 org.codehaus.groovy.transform.ASTTransformationVisitor.visitClass(ASTTransformationVisitor.java:159)</p>
<p>when i annotate my class</p>
<p>i tried it in IntelliJ  and STS&#8230; both have the same result&#8230;</p>
<p>Any help would be appriciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VS.NET Developers Should Use ReSharper by Vinod B</title>
		<link>http://www.zorched.net/2005/10/21/vsnet-developers-should-use-resharper/comment-page-1/#comment-17980</link>
		<dc:creator>Vinod B</dc:creator>
		<pubDate>Thu, 24 Nov 2011 04:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zorched.net/?p=8#comment-17980</guid>
		<description>How to use resharper tool for code refactoring (C#)?</description>
		<content:encoded><![CDATA[<p>How to use resharper tool for code refactoring (C#)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

