<?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 Les Hazlewood</title>
	<atom:link href="http://leshazlewood.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://leshazlewood.com</link>
	<description>Where Les is More</description>
	<lastBuildDate>Sun, 29 Aug 2010 01:30:54 +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 Email Validation using Regular Expressions (the Right Way) by Validating Email Address in Web Forms &#8211; The Hazards of Complexity : Ben Gross, PhD</title>
		<link>http://leshazlewood.com/2006/02/04/java-email-address-validation-the-right-way-regular-expression/comment-page-2/#comment-709</link>
		<dc:creator>Validating Email Address in Web Forms &#8211; The Hazards of Complexity : Ben Gross, PhD</dc:creator>
		<pubDate>Sun, 29 Aug 2010 01:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=5#comment-709</guid>
		<description>[...] or port one of the PHP versions to JavaScript. Les Hazlewood released a Java-based application for Email Validation using Regular Expressions (the Right Way) and Casey Connor of Boxbe updated Hazlewood&#8217;s EmailAddress.java [...]</description>
		<content:encoded><![CDATA[<p>[...] or port one of the PHP versions to JavaScript. Les Hazlewood released a Java-based application for Email Validation using Regular Expressions (the Right Way) and Casey Connor of Boxbe updated Hazlewood&#8217;s EmailAddress.java [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maven 2 vs Ant+Ivy: Revisited by Daniel</title>
		<link>http://leshazlewood.com/2010/01/13/maven-2-vs-antivy-revisited/comment-page-1/#comment-708</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 25 Aug 2010 21:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=55#comment-708</guid>
		<description>For Maven builds to be reproductible, you must &quot;pin&quot; the version of each and every plugin used (even the &quot;default&quot; ones, like the Java compiler, etc.).

To make matters worse, several plugins have bugs which are only &quot;fixed&quot; in (SVN, CVS, etc) but not released.</description>
		<content:encoded><![CDATA[<p>For Maven builds to be reproductible, you must &#8220;pin&#8221; the version of each and every plugin used (even the &#8220;default&#8221; ones, like the Java compiler, etc.).</p>
<p>To make matters worse, several plugins have bugs which are only &#8220;fixed&#8221; in (SVN, CVS, etc) but not released.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maven 2 vs Ant+Ivy: Revisited by Mavenbleh</title>
		<link>http://leshazlewood.com/2010/01/13/maven-2-vs-antivy-revisited/comment-page-1/#comment-701</link>
		<dc:creator>Mavenbleh</dc:creator>
		<pubDate>Wed, 11 Aug 2010 03:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=55#comment-701</guid>
		<description>Actually here&#039;s a simple way to describe the problem with Maven: Maven aims for perfection--a development utopia.  It tries to be The Tool To Rule Them All, which can even toast your bread and make you coffee.  Well, we all know that&#039;s not realistic.  It&#039;ll never happen.  Only for the lucky few where it just happens to jive with your requirements and users will it perform well; when you expand that to fit the multitude of different types of development environments, it falls apart.  We also know that trying too hard to find perfection can backfire and lead to worse situations than what we had to start with (thanks for that, Karl Marx)...</description>
		<content:encoded><![CDATA[<p>Actually here&#8217;s a simple way to describe the problem with Maven: Maven aims for perfection&#8211;a development utopia.  It tries to be The Tool To Rule Them All, which can even toast your bread and make you coffee.  Well, we all know that&#8217;s not realistic.  It&#8217;ll never happen.  Only for the lucky few where it just happens to jive with your requirements and users will it perform well; when you expand that to fit the multitude of different types of development environments, it falls apart.  We also know that trying too hard to find perfection can backfire and lead to worse situations than what we had to start with (thanks for that, Karl Marx)&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maven 2 vs Ant+Ivy: Revisited by Mavenbleh</title>
		<link>http://leshazlewood.com/2010/01/13/maven-2-vs-antivy-revisited/comment-page-1/#comment-700</link>
		<dc:creator>Mavenbleh</dc:creator>
		<pubDate>Wed, 11 Aug 2010 03:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=55#comment-700</guid>
		<description>See, I think it&#039;s the other way around.  Maven is going to be overkill for any small or mid sized project working in a single office.  The large ones are where it has a -better- defense.  We have a number of projects (not huge, but big enough) that are built with Ant and the build isn&#039;t that complicated.  Maybe 2-4 screens worth of ant script-- how is that a big deal?

I&#039;m sure they&#039;re all over the place, but complaining about Ant builds that are impossible to understand sounds an awful lot like complaining about a project or source code that is impossible to understand.  Ant is like a programming language, if you use it stupidly, it&#039;ll get confusing.  I suppose if you aren&#039;t familiar with how to create an intuitive build process, Maven is more idiot proof... but so are &quot;application builder tools&quot; and their likes. (MS Access, Oracle APEX)

I just can&#039;t see the use in these things (or the problem with doing them in Ant) for a project/team that isn&#039;t huge.

-download dependency source code
(just drop the source jars into svn? also, no worky if you don&#039;t have an internet conn. and... over-use of dependencies is a valid concern.. not something to be encouraged, look at the mess Spring, Spring Security, and other bloated OSS projects have to deal with now. dependencies may help speed things up a little in the short term--but for the &#039;users&#039; of a lib and over the long term, they&#039;re nothing but a bad thing to cause problems)
-run tests
(ant does it fine, if you even need it to, and honestly unless you&#039;re doing a release or commit, mandating the execution of tests every single build can waste time. just test when you need to, testing and building aren&#039;t always done together)
-generate JavaDoc and other documentation
(ant can do it fine. and is it really impossible to &quot;just look&quot; at an ant view in Eclipse and immediately understand how to generate docs by clicking on the task? it couldn&#039;t be easier)
-Start up a test web environment if it is a web product
(install, build/deploy, start? what&#039;s so complicated?)
-view a continuous integration environment
(small teams don&#039;t have the resources to set up, create tests for, and maintain a cont int env, and unless your code base is massive it should be well enough designed that this isn&#039;t a serious need anyway)
-see source control repository details
(other tools do this just fine, not sure what the point is?)
-understand how the project is broken up into modules
(isn&#039;t there documentation or architecture diagrams? and if you&#039;re being tossed into a project with no introduction or assistance, just a &#039;here&#039;s your task, good luck figuring it all out for yourself!&#039; it&#039;s going to suck regardless)

And Maven IS slow. Aren&#039;t compilers and software slow enough as it is without adding extra magic to make the problem worse?</description>
		<content:encoded><![CDATA[<p>See, I think it&#8217;s the other way around.  Maven is going to be overkill for any small or mid sized project working in a single office.  The large ones are where it has a -better- defense.  We have a number of projects (not huge, but big enough) that are built with Ant and the build isn&#8217;t that complicated.  Maybe 2-4 screens worth of ant script&#8211; how is that a big deal?</p>
<p>I&#8217;m sure they&#8217;re all over the place, but complaining about Ant builds that are impossible to understand sounds an awful lot like complaining about a project or source code that is impossible to understand.  Ant is like a programming language, if you use it stupidly, it&#8217;ll get confusing.  I suppose if you aren&#8217;t familiar with how to create an intuitive build process, Maven is more idiot proof&#8230; but so are &#8220;application builder tools&#8221; and their likes. (MS Access, Oracle APEX)</p>
<p>I just can&#8217;t see the use in these things (or the problem with doing them in Ant) for a project/team that isn&#8217;t huge.</p>
<p>-download dependency source code<br />
(just drop the source jars into svn? also, no worky if you don&#8217;t have an internet conn. and&#8230; over-use of dependencies is a valid concern.. not something to be encouraged, look at the mess Spring, Spring Security, and other bloated OSS projects have to deal with now. dependencies may help speed things up a little in the short term&#8211;but for the &#8216;users&#8217; of a lib and over the long term, they&#8217;re nothing but a bad thing to cause problems)<br />
-run tests<br />
(ant does it fine, if you even need it to, and honestly unless you&#8217;re doing a release or commit, mandating the execution of tests every single build can waste time. just test when you need to, testing and building aren&#8217;t always done together)<br />
-generate JavaDoc and other documentation<br />
(ant can do it fine. and is it really impossible to &#8220;just look&#8221; at an ant view in Eclipse and immediately understand how to generate docs by clicking on the task? it couldn&#8217;t be easier)<br />
-Start up a test web environment if it is a web product<br />
(install, build/deploy, start? what&#8217;s so complicated?)<br />
-view a continuous integration environment<br />
(small teams don&#8217;t have the resources to set up, create tests for, and maintain a cont int env, and unless your code base is massive it should be well enough designed that this isn&#8217;t a serious need anyway)<br />
-see source control repository details<br />
(other tools do this just fine, not sure what the point is?)<br />
-understand how the project is broken up into modules<br />
(isn&#8217;t there documentation or architecture diagrams? and if you&#8217;re being tossed into a project with no introduction or assistance, just a &#8216;here&#8217;s your task, good luck figuring it all out for yourself!&#8217; it&#8217;s going to suck regardless)</p>
<p>And Maven IS slow. Aren&#8217;t compilers and software slow enough as it is without adding extra magic to make the problem worse?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maven 2 vs Ant+Ivy: Revisited by Louis</title>
		<link>http://leshazlewood.com/2010/01/13/maven-2-vs-antivy-revisited/comment-page-1/#comment-670</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Thu, 01 Jul 2010 13:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=55#comment-670</guid>
		<description>I think both Ant and Maven are equally painful. I never quite understood why building projects for any Java project is so difficult when I am able to consistently get a Visual Studio solution to build with virtually no effort, time after time, years after I initially created them using the .NET framework.</description>
		<content:encoded><![CDATA[<p>I think both Ant and Maven are equally painful. I never quite understood why building projects for any Java project is so difficult when I am able to consistently get a Visual Studio solution to build with virtually no effort, time after time, years after I initially created them using the .NET framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Email Validation using Regular Expressions (the Right Way) by soft-7.com</title>
		<link>http://leshazlewood.com/2006/02/04/java-email-address-validation-the-right-way-regular-expression/comment-page-2/#comment-634</link>
		<dc:creator>soft-7.com</dc:creator>
		<pubDate>Sat, 19 Jun 2010 15:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=5#comment-634</guid>
		<description>I am happy to find much useful information in the post, writing sequence is awesome, I always look for quality content, thanks for sharing.</description>
		<content:encoded><![CDATA[<p>I am happy to find much useful information in the post, writing sequence is awesome, I always look for quality content, thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java Class Naming Conventions by Max</title>
		<link>http://leshazlewood.com/2009/03/03/java-class-naming-conventions/comment-page-1/#comment-521</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Sun, 06 Jun 2010 18:58:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=49#comment-521</guid>
		<description>@Pedro, I assume that your DefaultClassNameStrategy is an interface and DefaultDefaultClassNameStrategy is a concrete class. In this case having DefaultClassNameStrategy as an interface is not a good idea. Instead I would have a Strategy interface that defines common behaviour for all strategies and have DefaultClassNameStrategy as a Strategy implementation for DefaultClassName class.
For example,

interface Sort
class DefaultSort

interface Strategy
class DefaultSortStrategy

Max.</description>
		<content:encoded><![CDATA[<p>@Pedro, I assume that your DefaultClassNameStrategy is an interface and DefaultDefaultClassNameStrategy is a concrete class. In this case having DefaultClassNameStrategy as an interface is not a good idea. Instead I would have a Strategy interface that defines common behaviour for all strategies and have DefaultClassNameStrategy as a Strategy implementation for DefaultClassName class.<br />
For example,</p>
<p>interface Sort<br />
class DefaultSort</p>
<p>interface Strategy<br />
class DefaultSortStrategy</p>
<p>Max.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Email Validation using Regular Expressions (the Right Way) by PONTIFEX</title>
		<link>http://leshazlewood.com/2006/02/04/java-email-address-validation-the-right-way-regular-expression/comment-page-2/#comment-66</link>
		<dc:creator>PONTIFEX</dc:creator>
		<pubDate>Sat, 05 Jun 2010 17:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=5#comment-66</guid>
		<description>MARKETING-CALLS@NO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALTDELETE.CO.ZA

evaluates fine.

MARKETING-CALLS@NO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALT.DELETENO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALTDELETE.CO.ZA

even faster ;)

the problem lies with the LocalPart and its length. Not with the domain.

I believe the LocalPart can be broken in parts+domain and if the part evaluate fine, so will the whole and performance of the evaluation will increase.

Not sure what the criteria would be for breaking the LocalPart in chunks.

NO-MEDIA-OR-RHINOMARKETING-CALLS@CONTROLALTDELETE.CO.ZA

could be split in
NO-MEDIA-OR-RHINO@CONTROLALTDELETE.CO.ZA
and
MARKETING-CALLS@CONTROLALTDELETE.CO.ZA

if both evaluate fine than the whole is fine.

I guess where to put the split is not trivial with the more exotic LocalParts.</description>
		<content:encoded><![CDATA[<p><a href="mailto:MARKETING-CALLS@NO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALTDELETE.CO.ZA">MARKETING-CALLS@NO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALTDELETE.CO.ZA</a></p>
<p>evaluates fine.</p>
<p><a href="mailto:MARKETING-CALLS@NO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALT.DELETENO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALTDELETE.CO.ZA">MARKETING-CALLS@NO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALT.DELETENO-MEDIA-OR-RHINOMARKETING-CALLSCONTROLALTDELETE.CO.ZA</a></p>
<p>even faster <img src='http://leshazlewood.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>the problem lies with the LocalPart and its length. Not with the domain.</p>
<p>I believe the LocalPart can be broken in parts+domain and if the part evaluate fine, so will the whole and performance of the evaluation will increase.</p>
<p>Not sure what the criteria would be for breaking the LocalPart in chunks.</p>
<p><a href="mailto:NO-MEDIA-OR-RHINOMARKETING-CALLS@CONTROLALTDELETE.CO.ZA">NO-MEDIA-OR-RHINOMARKETING-CALLS@CONTROLALTDELETE.CO.ZA</a></p>
<p>could be split in<br />
<a href="mailto:NO-MEDIA-OR-RHINO@CONTROLALTDELETE.CO.ZA">NO-MEDIA-OR-RHINO@CONTROLALTDELETE.CO.ZA</a><br />
and<br />
<a href="mailto:MARKETING-CALLS@CONTROLALTDELETE.CO.ZA">MARKETING-CALLS@CONTROLALTDELETE.CO.ZA</a></p>
<p>if both evaluate fine than the whole is fine.</p>
<p>I guess where to put the split is not trivial with the more exotic LocalParts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Email Validation using Regular Expressions (the Right Way) by PONTIFEX</title>
		<link>http://leshazlewood.com/2006/02/04/java-email-address-validation-the-right-way-regular-expression/comment-page-1/#comment-65</link>
		<dc:creator>PONTIFEX</dc:creator>
		<pubDate>Sat, 05 Jun 2010 16:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=5#comment-65</guid>
		<description>Ha! Got it.</description>
		<content:encoded><![CDATA[<p>Ha! Got it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Email Validation using Regular Expressions (the Right Way) by PONTIFEX</title>
		<link>http://leshazlewood.com/2006/02/04/java-email-address-validation-the-right-way-regular-expression/comment-page-1/#comment-64</link>
		<dc:creator>PONTIFEX</dc:creator>
		<pubDate>Sat, 05 Jun 2010 12:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.leshazlewood.com/?p=5#comment-64</guid>
		<description>Here&#039;s another one ;-)
NO-MEDIA-OR-RHINOMARKETING-CALLS@CONTROLALTDELETE.CO.ZA

Enjoy.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another one <img src='http://leshazlewood.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
<a href="mailto:NO-MEDIA-OR-RHINOMARKETING-CALLS@CONTROLALTDELETE.CO.ZA">NO-MEDIA-OR-RHINOMARKETING-CALLS@CONTROLALTDELETE.CO.ZA</a></p>
<p>Enjoy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
