Re: CFinclude issues

2012-03-01 Thread Russ Michaels
What do you meanby it does not work, is there an error, the file is not included, what? Regards Russ Michaels >From my mobile On 1 Mar 2012 21:16, "Eileen Harberts" wrote: > > I am trying to code a cfinclude on a template page: > > > > to show this include when its pages are displayed. The na

RE: CFinclude issues

2012-03-01 Thread Bill Franklin
Are you sure you need the ".." in front of the first slash? It could be a relative path issue. What errors are you getting? Best regards, Bill Franklin -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Thursday, March 01, 2012 3:16 PM To: cf-talk Subject: CFi

CFinclude issues

2012-03-01 Thread Eileen Harberts
I am trying to code a cfinclude on a template page: to show this include when its pages are displayed. The name of the include is correct, the location it is directing to is correct, but it will not work. Does someone have an easy solution to help me? ~~

Re: XML and "unicode: 0x1a"

2012-03-01 Thread Ken Hammond
I don't want to sound stupid but how does regex work? I could use something similar to this and always fall flat on my face every time someone mentions regex… Ken Hammond IT Director The Salem Group Phone: 630-873-3018 Fax: 630-932-7010 Email: khamm...@saleminc.com www.saleminc.com On F

Re: Remove all CF comments

2012-03-01 Thread Russ Michaels
I have certainly seen my fair share of bad comments. commented out comments. blocks of code which have been commented out and disabled but the comments are still there for that disabled code and have not been updated. comments for code which no longer exists. but it all comes down to the same thi

Re: Remove all CF comments

2012-03-01 Thread Raymond Camden
Mike, some arguments are comments are: 1) Repeats what's already obvious. For example: 2) Easy to become outdated. For example, a comment that says something like, "This hunts for bears using a shotgun" whereas the code was modified to hunt for bears using blunt toothpicks. Maybe another deve

Re: Remove all CF comments

2012-03-01 Thread Andrew Scott
First to the original poster, there is a way to do this but I would be asking why you would want to first. With comments being used for annotated validation for hyrule, to annotated comments for ORM. If it is just to purely find code that has been commented out, and needs removing then a search a

Re: Remove all CF comments

2012-03-01 Thread Russ Michaels
I will add my 2p that uncommented code drives me nuts. when you have to work on an app you have never seen before the lack of any useful comments usually results in it taking many x longer to figure stuff out and get up and running with the app. If you have a load a load of documentation and tests

Re: Remove all CF comments

2012-03-01 Thread Mike Kear
I dont understand what's the problem with comments anyway.So what if we have comments peppered through the code?Do they slow down processing in any significant way?Yes, they cause the files to be somewhat larger, but if all that means is a bit more disk space gets used, so what?If

Re: Remove all CF comments

2012-03-01 Thread Dave Watts
> > You: Don't use comments, use tests. > > Cutter, me: Comments can help those who come to the source code later > > in ways that tests may not. > > You: That's why we pair program. > > Michael: What if all the developers who worked on the project are long > > gone? > > You: Read the tests. > > T

Re: Remove all CF comments

2012-03-01 Thread James Holmes
That's misrepresenting the thread. This is more accurate: Me: Don't use comments, use tests. Cutter: Noobs can't read tests Me: That's why we pair program. Michael: What do *you* do if all the developers who worked on the project are long gone? You: Read the tests. (implication; I'm not a noob).

Re: Remove all CF comments

2012-03-01 Thread Dave Watts
> > So what do you do ten years later when nobody on the team was there when > > the code was written? > > Read the tests. Wait a sec. Here's a summary of what's been posted. You: Don't use comments, use tests. Cutter, me: Comments can help those who come to the source code later in ways that te

Re: Remove all CF comments

2012-03-01 Thread Dave Watts
> >  I just don't see why that's the hill you want to die on. > > I don't see why you care... Presumably for the same reason you cared enough to post in the first place? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned

Re: Remove all CF comments

2012-03-01 Thread James Holmes
Read the tests. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 1 March 2012 22:33, Michael Stemle wrote: > > So what do you do ten years later when nobody on the team was there when > the code was written? > >

Re: Remove all CF comments

2012-03-01 Thread James Holmes
I don't see why you care... -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 1 March 2012 22:30, Dave Watts wrote: > I just don't see why that's the hill you > want to die on. ~| Order the Adobe Coldfusion A

Re: Remove all CF comments

2012-03-01 Thread Michael Stemle
So what do you do ten years later when nobody on the team was there when the code was written? -- ~ Mike Stemle, Jr. On Feb 29, 2012, at 18:25, James Holmes wrote: > > This is why we pair program. Eventually everyone on the team has seen each > bit of code in the app (or at least most of it)

Re: Remove all CF comments

2012-03-01 Thread Dave Watts
> This is why we pair program. Eventually everyone on the team has seen each > bit of code in the app (or at least most of it) and when new people come > along they get to sit with someone who knows the app well and can reinforce > the design expressed in the tests. Regardless of skill level they

Re: Remove all CF comments

2012-03-01 Thread James Holmes
This is why we pair program. Eventually everyone on the team has seen each bit of code in the app (or at least most of it) and when new people come along they get to sit with someone who knows the app well and can reinforce the design expressed in the tests. Regardless of skill level they can then

RE: Arabic / Other languages POI Excel Writing

2012-03-01 Thread IT (Pradeep Viswanathan)
Our community has already tested it :) http://robertdudley.wordpress.com/2010/05/07/upgrade-java-poi-for-better-excel-support-in-coldfusion-8/ Guess it's going to be safe, will report if I face any issues. Thx & rgds, Pradeep Viswanathan R -Original Message- From: Leigh [mailto:cfs

Re: Remove all CF comments

2012-03-01 Thread denstar
If you need a tool that "understands" tags, the jericho html parser is probably a good bet. It won't get script comments though. :den -- I don't think nationalism is alone holding the field; it's in contention with a lot of different things. Peter Singer ~~