Re: geocode database - world cities

2011-06-24 Thread andy menych
Have a look at http://worldcitiesdatabase.info . For a fraction of what the competition charges ($4.99), you get a perfectly manageable database of world cities. It only has about 70,000 entries, which makes it ideal for multi-level location selector scripts.

Re: CF vs. Java Web Developer

2011-06-24 Thread Russ Michaels
indeed working at the office makes no difference for some. I had one guy working for me once who was spending all his day chatting on ICQ and IRC and using dating sites to setup sexual encounters. And writing rubbish code in the mean time. I put a stop to this and blocked it all in the firewall,

Re: CF vs. Java Web Developer

2011-06-24 Thread Mike Kear
I knew a guy years ago who started working from home, and in order to get himself in 'work' mode, he'd get dressed up in his suit and tie, have his breakfast as usual, pick up his briefcase, kiss his wife goodbye, walk out the back door, round the house to the front door, walk in, take his

Re: Problem with pound signs

2011-06-24 Thread Russ Michaels
well any variable has to be #text# with no spaces, so you could search for any #'s that has some text and then a space which would identify missing closing hashes. something like #.+[:space] On Fri, Jun 24, 2011 at 3:41 AM, Steven Durette st...@durette.org wrote: Hi all, I've been given

Re: CF vs. Java Web Developer

2011-06-24 Thread Russ Michaels
the problem is when that 15 second commute is the only exercise you get and before you know it you may be destined to shop at the same clothes store as Hal Helms :-) On Fri, Jun 24, 2011 at 10:19 AM, Mike Kear afpwebwo...@gmail.com wrote: I knew a guy years ago who started working from home,

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
well any variable has to be #text# with no spaces No it doesn't. If you felt like it, you could do... # text # That is perfectly valid and works on all the CFML engines. However, even if a valid assumption for the codebase in question, trying to match a hash

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
I would start by finding/escaping identifiable single hashes - i.e. the font colours and HTML entities. Using a regex search that supports lookbehind (so not CF itself, but ok with CFEclipse/CFBuilder) you can do: (?!#)#(?=[A-F0-9]{3,6}\s*+[';]) Which assumes colours must end with or '

RE: Problem with pound signs

2011-06-24 Thread Andrew Scott
Russ, you should know better. cfset myVariable = application.datasource / Has no hashes nor should it either. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Friday, 24 June 2011 7:32 PM To: cf-talk

Re: Problem with pound signs

2011-06-24 Thread Raymond Camden
Andrew, I believe you misread the original question. The author stated he was trying to find incorrect uses of pound signs in a code base. This is what he said: The errors are usually one of two things, either single pound signs in between cfoutputs (ie: font tag with color) or many places where

RE: Problem with pound signs

2011-06-24 Thread Andrew Scott
Ray, no I did read that I was referring to the comment that Russ made about variables all being wrapped in hashes. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Friday, 24 June 2011 9:35 PM To: cf-talk

Re: Problem with pound signs

2011-06-24 Thread Raymond Camden
Err -but the original poster was trying to find bad CFML code with unbalanced hash signs. His comment was referring to that - not variables in general. I'm sure Russ knows that # signs aren't necessary in regards to your response. On Fri, Jun 24, 2011 at 7:07 AM, Andrew Scott

RE: CF vs. Java Web Developer

2011-06-24 Thread Mark A. Kruger
Nice segue (ha) Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Thursday, June 23, 2011 9:02 PM To: cf-talk Subject: Re: CF vs. Java Web Developer

RE: CF vs. Java Web Developer

2011-06-24 Thread Mark A. Kruger
Sean, Sorry... Midwest values and all that. I'll leave you to your latte's dude. -Mark -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Thursday, June 23, 2011 8:54 PM To: cf-talk Subject: Re: CF vs. Java Web Developer On Thu, Jun 23, 2011 at 6:53 AM,

RE: CF vs. Java Web Developer

2011-06-24 Thread Mark A. Kruger
Jenny and others, Here at CFWT we concentrate on billable hours, we are not tied to a 8-5 schedule and our developers routinely wear jeans, flip-flops, t-shirts etc. I already know what it takes to keep developers satisfied. My guidelines are personal. They have help me succeed and advance my

Re: Problem with pound signs

2011-06-24 Thread Claude Schnéegans
I would write first some mini syntax analyser to find all text in between CFOUTPUT... and /CFOUTPUT, keeping in mind that they may be stacked in several levels. Then for each string found, use regexp to find single # followed by any character illegal in a variable name before a next # or end of

RE: CF vs. Java Web Developer

2011-06-24 Thread Jacob
No distractions in our office... ;-) -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Thursday, June 23, 2011 6:51 PM To: cf-talk Subject: Re: CF vs. Java Web Developer On Thu, Jun 23, 2011 at 4:59 AM, Russ Michaels r...@michaels.me.uk wrote: LOL, well

Re: CF vs. Java Web Developer

2011-06-24 Thread Matt Quackenbush
On Fri, Jun 24, 2011 at 9:52 AM, Jacob ja...@excaliburfilms.com wrote: No distractions in our office... ;-) LMAO I don't know that it'd be possible to be more productive in _your_ office than at home. Well, I suppose that depends upon what you're producing, eh? :D

New fckEditor Issue (maybe?)

2011-06-24 Thread Torrent Girl
Ok so I searched the net over and can't find a solution for this. I have one last fckEditor issue. It adds the following to empty cells and spaces. td#160;#160;#160;#160;/td any suggestions? ~| Order the Adobe Coldfusion

Re: Problem with pound signs

2011-06-24 Thread Russ Michaels
yes, but as that has no hashes, it wont be causing a problem will it. On Fri, Jun 24, 2011 at 12:07 PM, Andrew Scott andr...@andyscott.id.auwrote: Russ, you should know better. cfset myVariable = application.datasource / Has no hashes nor should it either. Regards, Andrew Scott

Re: New fckEditor Issue (maybe?)

2011-06-24 Thread Torrent Girl
Ok so I searched the net over and can't find a solution for this. I have one last fckEditor issue. It adds the following to empty cells and spaces. td#160;#160;#160;#160;/td any suggestions? Ooops I guess the symbol that it adds is a space because it didn't show on the post. :)

RE: Problem with pound signs

2011-06-24 Thread Steven Durette
All these responses are really helping! Ok so here is what I'm going to do so far... I have a CF Application that can search through the code base and find stuff inside of tags or between opening and closing tags, but I have to tell it what tag and give it regex to do the search. I'm breaking

Re: New fckEditor Issue (maybe?)

2011-06-24 Thread Russ Michaels
is it a nbsp; (non breaking space) if so then this is put in there so that there is content so that you can actually click inside the cell to edit. Otherwise if you create a table with no specific height or width, you cannot select inside it to enter content. On Fri, Jun 24, 2011 at 4:39 PM,

Re: Problem with pound signs

2011-06-24 Thread Raymond Camden
Here is a crazy idea - wouldn't what you are looking for be a runtime error? If so - can't you use the Code Analyzer in the CF Admin to scan the folder and find them all at once? On Fri, Jun 24, 2011 at 10:41 AM, Steven Durette st...@durette.org wrote: All these responses are really helping!

RE: Problem with pound signs

2011-06-24 Thread DURETTE, STEVEN J (ATTASIAIT)
Dohh. Didn't think of that... -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Friday, June 24, 2011 12:23 PM To: cf-talk Subject: Re: Problem with pound signs Here is a crazy idea - wouldn't what you are looking for be a runtime error? If so - can't you use

Re: Problem with pound signs

2011-06-24 Thread Raymond Camden
I just tried a test on this. I told the CA to filter by error only. I edited one file to add cfoutput#foo/cfoutput and the CA correctly found it. On Fri, Jun 24, 2011 at 11:22 AM, Raymond Camden rcam...@gmail.com wrote: Here is a crazy idea - wouldn't what you are looking for be a runtime

Re: Problem with pound signs

2011-06-24 Thread Raymond Camden
Let me know if it works well for you. I think it could be a much simpler solution. If so - I'll blog about it. On Fri, Jun 24, 2011 at 11:24 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: Dohh. Didn't think of that... -Original Message- From: Raymond Camden

Email Addresses with Subdomain causes CFMAIL to fail?

2011-06-24 Thread Jeffrey Battershall
Hi, This is a new one for me: user has an email address like tlk...@subdomain.domain.net and CFMAIL ls throwing an exception The value of the attribute to, which is currently tlk572@subdomain.domain .net, is invalid. Anyone run into this before? Jeff

Re: CF vs. Java Web Developer

2011-06-24 Thread Mary Jo Sminkey
Good point MJ. I have some exceptionally productive developers who are working from home - largely single. I'm betting they would agree with you. FYI - have you checked out Sean's site? :D LOL, I might just do that... MJS ~|

re: Email Addresses with Subdomain causes CFMAIL to fail?

2011-06-24 Thread Jason Fisher
Works fine for me. Goes out through the mail server and then I immediately get an Undeliverable message, as expected. CFMAIL didn't seem to mind at all, whether that was the only address in the 'to' attribute or if it was one of several. From:

RE: Email Addresses with Subdomain causes CFMAIL to fail?

2011-06-24 Thread Paul Vernon
Unless I'm mistaken, there's a space in the users e-mail address where there shouldn't be one. Paul -Original Message- From: Jeffrey Battershall [mailto:jbattersh...@gmail.com] Sent: Friday, June 24, 2011 6:13 PM To: cf-talk Subject: Email Addresses with Subdomain causes CFMAIL to

Re: Email Addresses with Subdomain causes CFMAIL to fail?

2011-06-24 Thread Jeffrey Battershall
Thanks guys, hopefully that's all this is. On Fri, Jun 24, 2011 at 1:21 PM, Paul Vernon paul.ver...@web-architect.co.uk wrote: Unless I'm mistaken, there's a space in the users e-mail address where there shouldn't be one. Paul -Original Message- From: Jeffrey Battershall

Re: CF vs. Java Web Developer

2011-06-24 Thread Aaron Rouse
I am far less distracted when working from home. I typically will get more done in 8 hours at home than I probably get done in at least 16 hours in one of the offices I work out of. I actually feel like I goof off more at home then when in an office but can't say I ever tried measuring such

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
Steven wrote: From what I've been reading so far I think this regex should work: [^#]#[a-fA-F0-9]{3,6} If I'm correct it would pick up #FF3366 but not ##FF3366. That will not just pick up #FF3366 it will *also* pick-up the character before that (either space, colon, quote, etc). If you are

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
Ray wrote: Here is a crazy idea - wouldn't what you are looking for be a runtime error? If so - can't you use the Code Analyzer in the CF Admin to scan the folder and find them all at once? Guessing you meant to write compile-time there (since that's where the error is; when compiling the

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
Of course, however you do this, you'll want to make sure you don't inadvertently escape colours/etc that are *not* inside cfoutput (or any tags that emulate cfoutput; cfmail, cfquery, etc). ~| Order the Adobe Coldfusion

Problem with CF Execute

2011-06-24 Thread Mike Greider
Hi all, Running into some issues with cfexecute. I have a utility that takes a XLS document and creates an old school DBF file for use in a third party system. If I run the following from the command line: [pathname]dbfview.exe -I[pathname]/myExcel.xls -O[pathname]/myDbf.dbf -XLStoDBF

Re: Problem with CF Execute

2011-06-24 Thread Alan Rother
I had a similar issue with cfexecute just yesterday calling an ANT script. cfexecute would, execute, no errors and a dump of the variable was blank. I rebooted the server and the problem just went away... Which is troubling... but manageable for my issue. Can you try to reproduce this on

Re: Problem with CF Execute

2011-06-24 Thread Mike Greider
I think I might have narrowed the cause down to the account permissions. When I ran cmd.exe as the Local System account and tried to execute my command line arguments, I was actually able to see what the error dialog mentioned. The third party application doesn't think it's registered. So,

Re: Problem with CF Execute

2011-06-24 Thread Leigh
The third party application doesn't think it's registered. Registered how? Registered as in register a dll with windows or register to activate a program... What is the actual error message? ~| Order the Adobe Coldfusion

Re: Problem with pound signs

2011-06-24 Thread Raymond Camden
Um. Yeah. I meant that. Really. Yeah. ;) On Fri, Jun 24, 2011 at 2:36 PM, Peter Boughton bought...@gmail.com wrote: Ray wrote: Here is a crazy idea - wouldn't what you are looking for be a runtime error? If so - can't you use the Code Analyzer in the CF Admin to scan the folder and find

Re: Problem with CF Execute

2011-06-24 Thread Alan Rother
Ah Ok, that was part of my problem. I had CF running on one account, but that account didn't have access to ANT. You may need a higher permission user account other than the system account, in the services admin panel on Windows you can tell CF what user account to run as. At least for testing

Re: Problem with CF Execute

2011-06-24 Thread Leigh
If it works as that user, it's a permissions issue. Yes, most cfexecute problems are permissions related. So that is a good test. I was just wondering if the issue might also be something else given the mention of an odd ..not registered message.

RE: Email Addresses with Subdomain causes CFMAIL to fail?

2011-06-24 Thread Bobby Hartsfield
If you copied and pasted that error message, then you have a space before .net (which is indeed invalid) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Jeffrey Battershall [mailto:jbattersh...@gmail.com] Sent: Friday,

Google Oauth Authentication - getting contacts

2011-06-24 Thread Jeff Gladnick
I've used the oauth project on Riaforge to authenticate with Google, but I cannot connect to the API to get the contacts out. Has anyone done this successfully and has the code? ~| Order the Adobe Coldfusion Anthology now!

Need some perspective...

2011-06-24 Thread Rick Faircloth
I've been searching for an answer to the question: To us or not to use HTML5 and CSS3 in desktop and mobile development. What's everyone's take? Anyone using HTML5 and CSS3? What about mobile? I've been working with jQuery Mobile. (I've been doing jQuery for a couple of years or so and am

Re: Need some perspective...

2011-06-24 Thread Sean Corfield
On Fri, Jun 24, 2011 at 8:05 PM, Rick Faircloth r...@whitestonemedia.com wrote: To us or not to use HTML5 and CSS3 in desktop and mobile development. This came up in a few sessions at JAXconf this week. The general consensus seemed to be that HTML5 / CSS3 is a solid bet for mobile - because