Re: Need simple time tracking app
I dont have an axe to grind. I dont have anything to do with any company that produces time software. SInce I use a free version, I'm not even a customer of one, nor do I play one on tv. Just have a look at the ones suggested and see if they meet your needs. The one I suggested, and which has worked flawlessly for me since I heard about it here a few years ago, is Trax Time. And as I said, there's a multi user version but I haven't used it because I dont need multi user in a one-man shop. Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 1/6/06, Richard Colman [EMAIL PROTECTED] wrote: Well, I need something that is multi-user ... Several different people working on several different projects at the same time ... And need to be able to summarize data by project and person. Rick Colman -Original Message- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228617 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How to send email using CF for clients without an open relay...
Hi Rick, SPF records belong in the DNS for the domain of the mail server for the domain it is working for. For example, I run simple DNS, the procedure is to add a TXT record for the relevant domain such as: v=spf1 ip4:66.98.154.84 mx mx:84.43.72.133 ~all This SPF shows I am running Version 1 of SPF, that my mail goes out through 66.98.154.84 and that mail comes in through 84.43.72.133. The reason for this config is that my ISP can't/won't (read bunch of bozos) set up reverse dns for me. So I found an outbound SMTP service that was able to configure reverse dns for the mail server. So, to clarify your objective: you need mail you generate on behalf of client domains to get to the recipients. For SPF you need to ask your clients to add your mail server to their DNS SPF record as an outbound server. For Reverse DNS the IP of the outbound mail server needs to have an IP record pointing back to the domain. This can only be done by the owner of the IP address. In my case Onetel, my ISP, owns the IP address and there is nothing I can do to configure the reverse DNS on the IP address I borrow from them - that's down to them to do. The only reliable way to guarantee mail you generate from CF is going to get to recipients is to ask your clients to set up authenticated SMTP sessions. This makes the mail delivery their responsibility, as it should be - their internal IT guys should be onto this. (My background includes 20 years in IT Management, infrastructure, et al.) cfmail type =html from =[EMAIL PROTECTED] to = [EMAIL PROTECTED] server=mail.fasttrackonline.co.uk username=[EMAIL PROTECTED] password=mypassword subject=FAST TRACK - CONTACT US This example of the CFmail tag shows how the mail is pointed at a server with authenticated SMTP. When configuring mail server applications many have the option to ask for an authenticated POP session prior to allowing SMTP which is how most get around requiring full SMTP authentication. However, in your instance there will be no POP session so it has to be full authentication. If you take the route of adding other domains to your mail server they will not have a valid reverse dns pointer and the mail will bounce from many receiving mail servers. If you ask clients only to whitelist mail sesssions from your domain when receiving their email the email will still be seen to have originated on your mail server. If you are dealing with clients who do not host their own mail servers then it is the responsibility of who ever does host it to get this set up properly. If they are hosting a mail server with a provider who does not configure reverse DNS and SPF it's time they changed! Don't get confused with the reverse DNS record for the domain DNS server. Hope this helps, Jenny -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: 06 January 2006 01:59 To: CF-Talk Subject: RE: How to send email using CF for clients without an open relay... Thanks for the input and advice, Jenny... I'm trying to get all this sorted out, but unfortunately, it seems I'm only able to take baby steps at any one time. One thing I can't sort out is where the SPF and reverse-DNS stuff should go...my ISP, whose domain is tagged onto the end of my static IP according to records, or GoDaddy.com where I manually handle my DNS, MX, TXT, and SPF records or on my own server, which I don't use to handle any of this...it pretty confusing. I guess it would be GoDaddy, since through their interface I can setup DSN, MX, TXT, and SPF records... I think I need to hire the head IT guy I spoke with a while back over at an International company and just get him to look at my exact situation and tell me how to handle it... Rick -Original Message- From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 7:02 PM To: CF-Talk Subject: RE: How to send email using CF for clients without an open relay... Hi Rick, This would mean the mails will be originating from a server that isn't included in the domain spf records and it will get scored as spam by the receiving server. Naturally, the reverse dns for the domain won't match up to the sending server and you will find mail is rejected by some servers. Keep an eye on your bounces and run lots of tests to various domains to see your emails are getting out. As mentioned before, we send out some 8000 emails a week to our dating site members and I'm all too aware of the problems spf and reverse dns cause - although I have to say I'm totally in favour of it as it's anto spam. It just makes it very hard sometimes when we are trying to run on a shoe string. Best of luck, Jenny -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: 05 January 2006 20:43 To: CF-Talk Subject: RE: How to send email using CF for clients without an open relay... Hi, Jenny... I found a solution by using ArgoSoft's Email Server Plus, which works with
OT: Subnet Mask from an IP
Sorry for the OT. Is there a way to find the subnet mask when you only have the IP? I need both for a payment gateway and I'm waiting to hear back from the hosting company about whether they will tell me or not. Thanks. Ade ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228619 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 3D bar chart question
Matthew - Thanks a lot! I really appreciate your help. I'm so going to blog about this. The funny thing is that I tryed each of the seriesplacements except default, which I *assumed* did one of the others. That is so nuts. Anyhow, go to alagad.com and pick something you want. Send me a note at dhughes(at)alagad.com and I'll hook you up. Thanks again, Doug On 1/5/06, Matthew Walker [EMAIL PROTECTED] wrote: You need the cfchart attribute: seriesplacement=default Hilariously, in CF7 default is not the default!! -Original Message- From: Doug Hughes [mailto:[EMAIL PROTECTED] Sent: Friday, 6 January 2006 3:46 a.m. To: CF-Talk Subject: 3D bar chart question Hello - Quick question: I've been trying to get cfchart to show a 3d bar chart where each chart series is shown behind the previous chart. I Googled around for a bit and stumped across this webtrends report that shows an example of what I'm taking about: http://www.i-panic.com/sample_report.html Note that the User Profile by Regions has multiple rows of data? That's what I need to do. I swear I've seen examples of CF doing this, though I've never done it myself. Any ideas? -- Doug Hughes (Check out my Image Manipulation CFC at http://www.alagad.com) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228620 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: SEO/SES URL's vs. UUID as primary key
We do something similar to create custom domains - but it is really a parlor trick. We set a wildcard in the dns: *.mydomain.com x.x.x.x.x - points to our web site This allows any subdomain starting with anything that is not specifically defined by dns to be routed to that ip address. We can then do something like: bob.mydomain.com mary.mydomain.com admin.mydomain.com socks.mydomain.com keyword.mydomain.com specialprogram.mydomain.com You get the idea. The index page (or missing file handler or whatever) teases out the first item in the domain string and displays content accordingly. Using the approach below combined with a missing file handler the domain could be 1234567.mydomain.com/doge_magnum_headers Obviously this may be no better than the technique described below, but it works well for things like personal sites (think real estate), marketing content and the like. If you have affiliates that you are tracking they may brighten at the prospect of having their own url :) Keep in mind that it would need a dedicated IP address - otherwise you will have to set a host header for every one of the strings - which would sort of defeat your purpose. -Mark -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 9:34 PM To: CF-Talk Subject: Re: SEO/SES URL's vs. UUID as primary key I never got into any sort of specifics in that thread. Here are some: First of all, I take query output and use that to come up with a filename. For the sake of argument I'll make that url dodge_magnum_headers_1234567.cfm where the first three elements are keywords pulled from the db record and the last item is the record pk. Its worth noting I actually go thru a fair bit of washing and scrubbing to ensure the keywords pulled from the db are urlsafe and to my liking. No apostrophe's; replace dashes with underscores. That sort of thing. I also preface the url with a folder name that also contains keywords, but which I know doesn't exist (although strictly speaking, it could if I wanted to add a bit into my 404 processing). So the full pseudo url winds up looking like this: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228621 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Subnet Mask from an IP
Yes you can get the subnet but you have to look at the IP in binary format. An even easier way is to use: http://www.networkclue.com/routing/tcpip/mask-calculator.htm -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 06 January 2006 12:52 To: CF-Talk Subject: OT: Subnet Mask from an IP Sorry for the OT. Is there a way to find the subnet mask when you only have the IP? I need both for a payment gateway and I'm waiting to hear back from the hosting company about whether they will tell me or not. Thanks. Ade ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228622 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Subnet Mask from an IP
This is odd The subnet mask is NOT related to the IP address per se. It's specific to the router - particularly the LOCAL route (the one closest to the host. It's a way of controlling and subdividing networks and traffics. It doesn't seem like it would not be an accurate predictor or control measure. Maybe they want to check the hops after it reaches your internal network or something wierd. If you want to know the subnet of your server run this from the command line: ipconfig /all Keep in mind that this may tell you exactly zero (it wouldn't tell you much on our network) because you may have translated addresses or port forwarding or whatever. -Mark Mark A. Kruger, CFG, MCSE www.cfwebtools.com www.necfug.com http://mkruger.cfwebtools.com -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 6:52 AM To: CF-Talk Subject: OT: Subnet Mask from an IP Sorry for the OT. Is there a way to find the subnet mask when you only have the IP? I need both for a payment gateway and I'm waiting to hear back from the hosting company about whether they will tell me or not. Thanks. Ade ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228623 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 'safe' filename UDF
That is exactly what I'm looking for. Baz wrote: I have a UDF that removes any chars besides letters, numbers, underscore and any additional good chars you specify to keep. USAGE AlmostAlphaNumeric(FileName); // returns all letters, numbers and underscore AlmostAlphaNumeric(FileName,'@()'); // returns the same plus these chars:@() Is that something u are looking for? Baz -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: January 5, 2006 11:34 AM To: CF-Talk Subject: Re: 'safe' filename UDF Actually, that *is* what I do, too. But, this app was written long ago, by someone else, and has been running this way for a while. Somehow, an issue never came up until someone uploaded an image file named Lot #31.jpg, which caused an error when displaying a popup image window. Changing the way the whole thing works at this point just isn't going to fly. Wish I knew how to write RegExp's, prolly wouldn't be that hard to do, if I don't hear anything here today, I'll prolly just figure out how to do it myself. It's about time I learned how to use RegExp's anyways. Thanks Ray Bobby Hartsfield wrote: I don't, but what I usually do is save the original file name as is just for display purposes so the person who uploaded it can spot it easily. Then rename the file according to some other things... like and ID in the database, a category, etc... So a link to a file might look like... a href=0001.pdfOld File Name.pdf/a Just an idea... ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:02 AM To: CF-Talk Subject: 'safe' filename UDF Anyone have a good UDF to replace bad characters in a filename with safe ones? ie, replace # signs with blanks, spaces with '_', commas, periods, etc? I just looked on cflib and found nothing. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228624 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need simple time tracking app
I originally sent this as a direct reply to Rick but I'll go ahead and send it out to the group as a whole. I've been working on this for a while in my spare time for myself. Recently I had a career change and that's opened up the opportunity for me to work on it more. This is a call for testers and users. If you don't mind working with a hosted alpha stage app, I have the exact tool you're looking for... It is a time tracker that follows individual time entries for tasks assigned to projects for a specific client. The time entries can be made by any user assigned to the project or task. I'm building it as a hosted application for contractors and small businesses but until I'm comfortable with the service and everything it provides is free to use, abuse and help define everything that it will be. You can take a preview of the app by going to http://qtrack.guardian-web.com and using demo as the username and password. This will let you play around with the system and see what it's capabilities are. If you like what you see then let me know via email at chumphrey at gmail doht com and I can create a personal login for you. Once you have a login you can create clients, projects and tasks and then invite additional users in to use the system as you need. Again, let me know what you think! Hatton ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228625 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Subnet Mask from an IP
No... you cannot get the subnet mask. You can figure out the class based on the first octet and get the DEFAULT subnet mask for it... but it's probably not the subnet mask the IP was/is using. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 7:52 AM To: CF-Talk Subject: OT: Subnet Mask from an IP Sorry for the OT. Is there a way to find the subnet mask when you only have the IP? I need both for a payment gateway and I'm waiting to hear back from the hosting company about whether they will tell me or not. Thanks. Ade ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228626 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Verity vs. sql indexing
I know the answer is verity is better at full text searches, but I am curious how much better and at what point. I have a notes table with a memo field. If I have the memo field indexed by the database, how many records does in need to reach before it starts having a hard time with contains searches? The benifet of the database, from my very finite view point, is it gets indexed everytime a new record is added, and the user interface and code would be exactly the same as all my other search pages, which just set the where clause for the select statement. thanks, Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228627 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Subnet Mask from an IP
.DEFAULT class** ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 9:15 AM To: CF-Talk Subject: RE: Subnet Mask from an IP No... you cannot get the subnet mask. You can figure out the class based on the first octet and get the DEFAULT subnet mask for it... but it's probably not the subnet mask the IP was/is using. ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 7:52 AM To: CF-Talk Subject: OT: Subnet Mask from an IP Sorry for the OT. Is there a way to find the subnet mask when you only have the IP? I need both for a payment gateway and I'm waiting to hear back from the hosting company about whether they will tell me or not. Thanks. Ade ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228628 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Verity vs. sql indexing
Well, I discovered one problem, Memo fields cannot be indexed, so notes field, if it is to be indexed, is limited to 255 characters. Mark -Original Message- From: Mark Fuqua [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 9:16 AM To: CF-Talk Subject: Verity vs. sql indexing I know the answer is verity is better at full text searches, but I am curious how much better and at what point. I have a notes table with a memo field. If I have the memo field indexed by the database, how many records does in need to reach before it starts having a hard time with contains searches? The benifet of the database, from my very finite view point, is it gets indexed everytime a new record is added, and the user interface and code would be exactly the same as all my other search pages, which just set the where clause for the select statement. thanks, Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228629 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Verity vs. sql indexing
I gather you can Microsoft [cr]A[p]ccess then?! -Original Message- From: Mark Fuqua [mailto:[EMAIL PROTECTED] Sent: 06 January 2006 14:29 To: CF-Talk Subject: RE: Verity vs. sql indexing Well, I discovered one problem, Memo fields cannot be indexed, so notes field, if it is to be indexed, is limited to 255 characters. Mark -Original Message- From: Mark Fuqua [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 9:16 AM To: CF-Talk Subject: Verity vs. sql indexing I know the answer is verity is better at full text searches, but I am curious how much better and at what point. I have a notes table with a memo field. If I have the memo field indexed by the database, how many records does in need to reach before it starts having a hard time with contains searches? The benifet of the database, from my very finite view point, is it gets indexed everytime a new record is added, and the user interface and code would be exactly the same as all my other search pages, which just set the where clause for the select statement. thanks, Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228630 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verity vs. sql indexing
Well, that's up for debate. Oracle Text, for example, is pretty darn well featured. I also like the fact that we can point eny number of machines (running any platform) at it and the indexing is always up-to-date in the DB, rather than on a machine somewhere else. It performs really well if used properly; I have completely replaced Verity with it. On 1/6/06, Mark Fuqua [EMAIL PROTECTED] wrote: I know the answer is verity is better at full text searches, but I am curious how much better and at what point. -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228631 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Verity vs. sql indexing
Indeeddon't get me started on Verity ;-) -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 06 January 2006 14:33 To: CF-Talk Subject: Re: Verity vs. sql indexing Well, that's up for debate. Oracle Text, for example, is pretty darn well featured. I also like the fact that we can point eny number of machines (running any platform) at it and the indexing is always up-to-date in the DB, rather than on a machine somewhere else. It performs really well if used properly; I have completely replaced Verity with it. On 1/6/06, Mark Fuqua [EMAIL PROTECTED] wrote: I know the answer is verity is better at full text searches, but I am curious how much better and at what point. -- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228632 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Verity vs. sql indexing
I am using Verity to search a documents database, in which one of the fields is called 'Security'. This holds the group/security information for the document so only the relevant logged in users can view these docs which are stored on the web server. Could Oracle Text be used to achieve the same as what I have above, but hopefully with more accuracy than Verity ??? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228633 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFX PDF Problems
I have CFMX 7 downloaded and before I upgrade would like to know if it will maintain by settings from MX 6 or if I need to write them down or save them somewhere or something. It asked me to set up a new server configuration so I'm a bit nervous upgrading. Thanks. I have had some issues using the CFDOCUMENT tag using it to right align text and specific font types. The font type wasn't too difficult to figure out, but the right alignment we noticed that with itext (not sure about the others) would treat the width of all non-alphanumeric character differently than numbers and letters, so I wrote a CFC that would take in the text from a form and insert TD's around each character to right align it successfully. If we had to center or left align text, everything worked fine. We were using it to make business cards for printing and it worked quite well, but not without a headache since there wasn't anything written anywhere that described the funky behavior. I haven't had the chance to use the cfx_pdf tag, so I couldn't tell you much on that side. Matt - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 05, 2006 1:00 PM Subject: Re: CFX PDF Problems ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228634 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need simple time tracking app
Not CF, but free. We've found it useful: http://www.advancen.com/timesheet/ Warm regards, Jordan Michaels Vivio Technologies Richard Colman wrote: Well, I need something that is multi-user ... Several different people working on several different projects at the same time ... And need to be able to summarize data by project and person. Rick Colman -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 9:40 PM To: CF-Talk Subject: Re: Need simple time tracking app Well Casey, since I wrote the text you took such exception to, I guess it's up to me to explain it to you. Perhaps it wasnt easy enough to understand. but I wont shoot you. I meant: You can be involved in any number of jobs at any time. Of course good time management says that unless you're a woman and into multitasking, you do one thing at a time. But in a small shop, ususally you can't get away with working on only one thing for extended periods of time.So on your task list, which TraxTime calls projects, you can have any number of them current at a time. (Other time management apps I've seen only allow you to have one project open at a time. To move from one thing to another you have to first close this one, then go and get another and open that. It's not realistic in a small shop - you're forever working on something, the phone goes and you spend a few mintues or more on another thing (like advising the client or getting instructions from the client) then back to the original job. In this app, they're Open in the sense they're on your lislt of tasks available to be timed when you double click on them. (as distinct from tasks which are finished, billed to the client and no longer being worked on) So .. you're working on code on site A, and client B calls you. You double click on Project Site B it shuts off timing work on site A and starts timing work on Site B. When you finish the conversation with client B you double click on Project Site A and it shuts off timing work on Site B and starts timing work on site A again. I quite frequently have days where I can work on 20 different things for 5 minutes or more during the day (the minimum period I count), some of them billable, far too many of them not billable. I want a time recording app to allow me to switch between timing one and the other without a lot of hassle, without my being required to type a whole lot, and without being required to close anything down. Trax time is one of quite a few apps that does just that, and that's why I suggested it. At the end of the day/week or however often you summarise/bill your time, it produces an itemised report of time spent, along with notes about what was done. There's also a managment version that combines time for several people, but being a one-man shop i have never needed it so i dont know much about it. Seems like that's also what you said was important in a time management app. So shoot yourself then. WTF Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 1/6/06, Casey Dougall [EMAIL PROTECTED] wrote: There is nothing simple about trackint time. I don't know of a simple CF system off hand AND Shoot me if I ever see this again... WTF (www.spudcity.com). You can have dozens of tasks open at any one time, and click stop on one start on teh next when you move from working on one task to another. ~~~ Point of a time Task Tracker is to track time spent on task, AKA project. If you have multiple tasks open then why even track, bill them all 8 hours and call it a day. Here are a couple of screen shots of what what a CF time tracking app looks like. This shot shows a clock that you can click to start time on a project or task http://gmj-music.biz/time1.gif This shot shows how time starts to add up per project. Sorry total task time was cut off. http://gmj-music.biz/time2.gif ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228635 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verity vs. sql indexing
Oracle Text can produce these search results, (imo) as good as Verity, with any other constraints you need ( e.g. conditions on the security column and any other clauses you want) all in one query. On 1/6/06, Ian Vaughan [EMAIL PROTECTED] wrote: I am using Verity to search a documents database, in which one of the fields is called 'Security'. This holds the group/security information for the document so only the relevant logged in users can view these docs which are stored on the web server. Could Oracle Text be used to achieve the same as what I have above, but hopefully with more accuracy than Verity ??? -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228636 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need simple time tracking app
I've got a time tracking app I wrote for an old employer and now use for my projects. I've recently put it online for another friend to use. It supports multiple users, multiple groups/departments, and invoicing for time. I'll email you off line about it. Here's a link to some early screen shots. http://www.red-omega.com/portfolio.cfm On 1/6/06, Jordan Michaels [EMAIL PROTECTED] wrote: Not CF, but free. We've found it useful: http://www.advancen.com/timesheet/ Warm regards, Jordan Michaels Vivio Technologies Richard Colman wrote: Well, I need something that is multi-user ... Several different people working on several different projects at the same time ... And need to be able to summarize data by project and person. Rick Colman -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 9:40 PM To: CF-Talk Subject: Re: Need simple time tracking app Well Casey, since I wrote the text you took such exception to, I guess it's up to me to explain it to you. Perhaps it wasnt easy enough to understand. but I wont shoot you. I meant: You can be involved in any number of jobs at any time. Of course good time management says that unless you're a woman and into multitasking, you do one thing at a time. But in a small shop, ususally you can't get away with working on only one thing for extended periods of time.So on your task list, which TraxTime calls projects, you can have any number of them current at a time. (Other time management apps I've seen only allow you to have one project open at a time. To move from one thing to another you have to first close this one, then go and get another and open that. It's not realistic in a small shop - you're forever working on something, the phone goes and you spend a few mintues or more on another thing (like advising the client or getting instructions from the client) then back to the original job. In this app, they're Open in the sense they're on your lislt of tasks available to be timed when you double click on them. (as distinct from tasks which are finished, billed to the client and no longer being worked on) So .. you're working on code on site A, and client B calls you. You double click on Project Site B it shuts off timing work on site A and starts timing work on Site B. When you finish the conversation with client B you double click on Project Site A and it shuts off timing work on Site B and starts timing work on site A again. I quite frequently have days where I can work on 20 different things for 5 minutes or more during the day (the minimum period I count), some of them billable, far too many of them not billable. I want a time recording app to allow me to switch between timing one and the other without a lot of hassle, without my being required to type a whole lot, and without being required to close anything down. Trax time is one of quite a few apps that does just that, and that's why I suggested it. At the end of the day/week or however often you summarise/bill your time, it produces an itemised report of time spent, along with notes about what was done. There's also a managment version that combines time for several people, but being a one-man shop i have never needed it so i dont know much about it. Seems like that's also what you said was important in a time management app. So shoot yourself then. WTF Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 1/6/06, Casey Dougall [EMAIL PROTECTED] wrote: There is nothing simple about trackint time. I don't know of a simple CF system off hand AND Shoot me if I ever see this again... WTF (www.spudcity.com). You can have dozens of tasks open at any one time, and click stop on one start on teh next when you move from working on one task to another. ~~~ Point of a time Task Tracker is to track time spent on task, AKA project. If you have multiple tasks open then why even track, bill them all 8 hours and call it a day. Here are a couple of screen shots of what what a CF time tracking app looks like. This shot shows a clock that you can click to start time on a project or task http://gmj-music.biz/time1.gif This shot shows how time starts to add up per project. Sorry total task time was cut off. http://gmj-music.biz/time2.gif ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228637 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Weird Cfgrid behavior
So I am still working on that checkbox thing. I finally got a response on the CF-Flash list (the first one so far) and I am perusing through the Flex livedocs for stuff. At any rate, I have a weird behavior for the grid. I have a grid column which uses a type=currency to do some pretty formatting. In my function which loops over the items in the list and adds these monetary values up, I used a function to strip out the $ and ,. On form load, I run some flash remoting to fill the grid with data. I have a listener for when the data arrives (modelChanged) and then I run the function to total up my dollars right off the bat. Here is the weird part-- At the time the modelChanged event is fired, the formatting does NOT YET EXIST on the grid. It is far to quick to see with my eyes, but if I alert the values in the function they look like this 1234.56, but a split second later they look like this $1,234.56. It is like the CFGRID automatically triggers some formatting function AFTER the data loads, but NOT BEFORE the modelChanged event goes off. I ended up having to use a setTimeout() to wait about 1000 milliseconds, and then add up my values. After a second had passed, the formatting was there. Now wasn't that weird? function add_em_up() { _root.total_cleared(); } var intervalID:Number = _global.setTimeout(add_em_up,1000); The whole add_em_up() function is ridiculous, but I couldn't get the total _cleared() to be scoped correctly if I called it directly form the setTimeout(). If anyone knows the right way to do that, let me know. :) ~Brad ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228638 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verity vs. sql indexing
On 1/6/06, James Holmes [EMAIL PROTECTED] wrote: Oracle Text can produce these search results, (imo) as good as Verity, with any other constraints you need ( e.g. conditions on the security column and any other clauses you want) all in one query. James, Does Oracle Text have limits as to the field size it can/will index? We were looking to do some indexing with it, but our DBA said we had to limit our fields to something like varchar2(30), which was unacceptable. I did my own search into Oracle's online docs, but I didn't see anything explicit. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228639 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Optimizing Microsoft SMTP
Why are you going to use MS SMTP again? Because the software we used to run ( LSMTP ) trial has expired. I found this was a fantastic product. Unfortnatley we were going to buy the 20 thread version, but they now only sell unlimited thread 'corporate' version at a discount price of 7500 pounds. This is way above our budget and our needs at present. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 4:24 PM To: CF-Talk Subject: Re: Optimizing Microsoft SMTP Protoculture wrote: We currently have a email list of about 60,000 users and unfortunatley at this point have to fall back on using MS SMTP. Can anyone recommend best practices to optimze it and or some useful websites that provide this information. There is nothing specific about MS SMTP, the optimizations Macromedia recommends for optimizing CF email performance apply equally to MS SMTP. (Except for the number of threads.) Check the Macromedia site for the whitepaper. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228640 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Optimizing Microsoft SMTP
Well you really should check out iMSMail. The 5 thread FREE version works fine for us, and I don't think the 20 thread version would be out of your budget should you need to upgrade... www.coolfusion.com Russ -Original Message- From: Protoculture [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 10:10 AM To: CF-Talk Subject: Re: Optimizing Microsoft SMTP Why are you going to use MS SMTP again? Because the software we used to run ( LSMTP ) trial has expired. I found this was a fantastic product. Unfortnatley we were going to buy the 20 thread version, but they now only sell unlimited thread 'corporate' version at a discount price of 7500 pounds. This is way above our budget and our needs at present. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 4:24 PM To: CF-Talk Subject: Re: Optimizing Microsoft SMTP Protoculture wrote: We currently have a email list of about 60,000 users and unfortunatley at this point have to fall back on using MS SMTP. Can anyone recommend best practices to optimze it and or some useful websites that provide this information. There is nothing specific about MS SMTP, the optimizations Macromedia recommends for optimizing CF email performance apply equally to MS SMTP. (Except for the number of threads.) Check the Macromedia site for the whitepaper. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228642 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Missing Template Error
Is there a way to catch the missing template error on a per site basis? jonese ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228641 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Subnet Mask from an IP
Try this. http://www.subnetonline.com/subcalc/subnet9.html Sorry for the OT. Is there a way to find the subnet mask when you only have the IP? I need both for a payment gateway and I'm waiting to hear back from the hosting company about whether they will tell me or not. Thanks. Ade ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228644 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
looping over columns
Hi. Essentially there will be one row of data returned and I need to loop over each column to see if the column name begins with K then a number ( from 1 - 50 ). How can I (*) Loop over each column to check for its name ? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228645 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verity vs. sql indexing
We were using Verity up to a point and we found it did not scale well. It seemingly couldn't handle the volume of traffic when its records got populated at a certain point and then it started slowing down big time. So I would recommend doing that in the database, unless you have a smaller site with not many visitors and little growth potential. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228646 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: looping over columns
One of many response to say the same thing: cfloop list=#myQuery.columnList# index=col !--- col equals the name of each column --- cfif refind(col,K[0-9]) !--- Do something with a column the begins with K and a number. --- /cfif /cfloop -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228647 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: looping over columns
queryName.ColumnList is a list of all the columns. That's the easiest way. Ade -Original Message- From: Protoculture [mailto:[EMAIL PROTECTED] Sent: 06 January 2006 15:51 To: CF-Talk Subject: looping over columns Hi. Essentially there will be one row of data returned and I need to loop over each column to see if the column name begins with K then a number ( from 1 - 50 ). How can I (*) Loop over each column to check for its name ? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228648 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Missing Template Error
What application server are you using? -Original Message- From: jonese [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 11:19 AM To: CF-Talk Subject: Missing Template Error Is there a way to catch the missing template error on a per site basis? jonese ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228649 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: 'safe' filename UDF
Well here she be: http://thinkloop.com/filez/almostalphanumeric.zip Cheers, Baz -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 9:09 AM To: CF-Talk Subject: Re: 'safe' filename UDF That is exactly what I'm looking for. Baz wrote: I have a UDF that removes any chars besides letters, numbers, underscore and any additional good chars you specify to keep. USAGE AlmostAlphaNumeric(FileName); // returns all letters, numbers and underscore AlmostAlphaNumeric(FileName,'@()'); // returns the same plus these chars:@() Is that something u are looking for? Baz -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: January 5, 2006 11:34 AM To: CF-Talk Subject: Re: 'safe' filename UDF Actually, that *is* what I do, too. But, this app was written long ago, by someone else, and has been running this way for a while. Somehow, an issue never came up until someone uploaded an image file named Lot #31.jpg, which caused an error when displaying a popup image window. Changing the way the whole thing works at this point just isn't going to fly. Wish I knew how to write RegExp's, prolly wouldn't be that hard to do, if I don't hear anything here today, I'll prolly just figure out how to do it myself. It's about time I learned how to use RegExp's anyways. Thanks Ray Bobby Hartsfield wrote: I don't, but what I usually do is save the original file name as is just for display purposes so the person who uploaded it can spot it easily. Then rename the file according to some other things... like and ID in the database, a category, etc... So a link to a file might look like... a href=0001.pdfOld File Name.pdf/a Just an idea... ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:02 AM To: CF-Talk Subject: 'safe' filename UDF Anyone have a good UDF to replace bad characters in a filename with safe ones? ie, replace # signs with blanks, spaces with '_', commas, periods, etc? I just looked on cflib and found nothing. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228650 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 'safe' filename UDF
Thanks, baz. You rok. Baz wrote: Well here she be: http://thinkloop.com/filez/almostalphanumeric.zip Cheers, Baz -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 9:09 AM To: CF-Talk Subject: Re: 'safe' filename UDF That is exactly what I'm looking for. Baz wrote: I have a UDF that removes any chars besides letters, numbers, underscore and any additional good chars you specify to keep. USAGE AlmostAlphaNumeric(FileName); // returns all letters, numbers and underscore AlmostAlphaNumeric(FileName,'@()'); // returns the same plus these chars:@() Is that something u are looking for? Baz -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: January 5, 2006 11:34 AM To: CF-Talk Subject: Re: 'safe' filename UDF Actually, that *is* what I do, too. But, this app was written long ago, by someone else, and has been running this way for a while. Somehow, an issue never came up until someone uploaded an image file named Lot #31.jpg, which caused an error when displaying a popup image window. Changing the way the whole thing works at this point just isn't going to fly. Wish I knew how to write RegExp's, prolly wouldn't be that hard to do, if I don't hear anything here today, I'll prolly just figure out how to do it myself. It's about time I learned how to use RegExp's anyways. Thanks Ray Bobby Hartsfield wrote: I don't, but what I usually do is save the original file name as is just for display purposes so the person who uploaded it can spot it easily. Then rename the file according to some other things... like and ID in the database, a category, etc... So a link to a file might look like... a href=0001.pdfOld File Name.pdf/a Just an idea... ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:02 AM To: CF-Talk Subject: 'safe' filename UDF Anyone have a good UDF to replace bad characters in a filename with safe ones? ie, replace # signs with blanks, spaces with '_', commas, periods, etc? I just looked on cflib and found nothing. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228652 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Missing Template Error
Built-in JRUN on the live servers and stand-alone jrun on the development boxes. jonese On 1/6/06, Steve Brownlee [EMAIL PROTECTED] wrote: What application server are you using? -Original Message- From: jonese [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 11:19 AM To: CF-Talk Subject: Missing Template Error Is there a way to catch the missing template error on a per site basis? jonese ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228651 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Regex ex question. How to match NOT this string.
Ok, ok, so I didn't actually try an example in CF :) CF must use a different RegEx engine than what I'm used to using. The ?! is negative lookbehind because he said he wanted to grab the /organization tag. -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 6:16 PM To: CF-Talk Subject: RE: Regex ex question. How to match NOT this string. Steve, That causes an error. What's the '' in between the '?' and '!' supposed to do (a typo?) Ian, Try this: cfset MyString = /organization title cfset MyResult = ReFind((/organization)(?!\s*title),MyString, 1, yes) cfset MyResult2 = ReFind((/organization)(?!\s*div),MyString, 1, yes) cfoutput#MyResult.pos[1]#br#MyResult2.pos[1]#/cfoutput MyResult = 0 because there was a title tag, MyResult2 = 1 because it looked for a (which wasn't there) div tag.So you could throw that in a CFIF MyResult gt 0, or whatever suits your needs. Is that what you were looking for? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228653 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SEO/SES URL's vs. UUID as primary key
or *does* it send a moved header? wouldn't that all be server side? you'd be using a full url and not a relative one, I *think*. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228654 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: looping over columns
I'd change the regex from this: cfif refind(col,K[0-9]) to this: cfif refind(col,^K) That way it finds anything starting with a K, with any type of character after it. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 10:54 AM To: CF-Talk Subject: RE: looping over columns One of many response to say the same thing: cfloop list=#myQuery.columnList# index=col !--- col equals the name of each column --- cfif refind(col,K[0-9]) !--- Do something with a column the begins with K and a number. --- /cfif /cfloop -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228655 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How to send email using CF for clients without an open relay...
Hi, Jenny...that does bring some clarification. I think the fact that there are so many flash points in this process is what causes confusion over where to go to set up things...as in, who has responsibility for what. I know of only one client who runs their own mail server that I could ask to set me up in thier SPF...and I doubt that guy even knows what that is... The rest are very small businesses who just use the POP3 accounts provided by our local ISP. Sounds like I need to do some talking to my business rep with our local ISP and the techs there to see about reverse DNS. Is it possible that, for those clients who send and receive mail from the ISP's mail servers, the ISP could add me to their SPF? Also, why would GoDaddy.com, my registrar, provide a place for me to place SPF files for my domain through their interface if it's not the correct place for them to be located? Is that only for me if I use their POP3 / SMTP accounts on their mail servers? I'm sure you can appreciate how confusing this is. I've contacted GoDaddy about this, but I think all I got back was a virtual blank stare. There perspective is probably that they offer this direct DNS access, but don't have any plans to have to hold the hand of clients to use it. It's just an additional feature for those who know how already... Too many players...client and their mail servers if they have them... local ISP, my mail server, my local ISP, my registrar...all who potentially have to be dealt with at some level to get this all working. :oP I've even given thought at times of giving up on running my own mail servers because of the complexity I'm running into as we try to control spam. However, I run the risk of sending too much mail through an outside company's mail servers and having my clients newsletters, etc., not delivered. That's what prompted me to run a mail server in the first place...my local ISP had a cap of 600 emails per day...and I was going over that almost every day. Thanks again for the help and advice... Rick -Original Message- From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 5:13 AM To: CF-Talk Subject: RE: How to send email using CF for clients without an open relay... Hi Rick, SPF records belong in the DNS for the domain of the mail server for the domain it is working for. For example, I run simple DNS, the procedure is to add a TXT record for the relevant domain such as: v=spf1 ip4:66.98.154.84 mx mx:84.43.72.133 ~all This SPF shows I am running Version 1 of SPF, that my mail goes out through 66.98.154.84 and that mail comes in through 84.43.72.133. The reason for this config is that my ISP can't/won't (read bunch of bozos) set up reverse dns for me. So I found an outbound SMTP service that was able to configure reverse dns for the mail server. So, to clarify your objective: you need mail you generate on behalf of client domains to get to the recipients. For SPF you need to ask your clients to add your mail server to their DNS SPF record as an outbound server. For Reverse DNS the IP of the outbound mail server needs to have an IP record pointing back to the domain. This can only be done by the owner of the IP address. In my case Onetel, my ISP, owns the IP address and there is nothing I can do to configure the reverse DNS on the IP address I borrow from them - that's down to them to do. The only reliable way to guarantee mail you generate from CF is going to get to recipients is to ask your clients to set up authenticated SMTP sessions. This makes the mail delivery their responsibility, as it should be - their internal IT guys should be onto this. (My background includes 20 years in IT Management, infrastructure, et al.) cfmail type =html from =[EMAIL PROTECTED] to = [EMAIL PROTECTED] server=mail.fasttrackonline.co.uk username=[EMAIL PROTECTED] password=mypassword subject=FAST TRACK - CONTACT US This example of the CFmail tag shows how the mail is pointed at a server with authenticated SMTP. When configuring mail server applications many have the option to ask for an authenticated POP session prior to allowing SMTP which is how most get around requiring full SMTP authentication. However, in your instance there will be no POP session so it has to be full authentication. If you take the route of adding other domains to your mail server they will not have a valid reverse dns pointer and the mail will bounce from many receiving mail servers. If you ask clients only to whitelist mail sesssions from your domain when receiving their email the email will still be seen to have originated on your mail server. If you are dealing with clients who do not host their own mail servers then it is the responsibility of who ever does host it to get this set up properly. If they are hosting a mail server with a provider who does not configure reverse DNS and SPF it's time they changed! Don't get
weird cf caching problem
I am puzzled by a problem I'm having. I set up a very simple site. 1 file - loadbalancer.cfm which is just basically a hello world file (it outputs some text). I hit that file using a browser through the local apache server, and it loads up fine. I rename the file to loadbalancer2.cfm and refresh the page, I get a CF error saying File not found: /loadbalancer.cfm. So far so good. I rename the file back to loadbalancer.cfm and refresh the page, and I STILL get a CF error saying File not found: /loadbalancer.cfm If I go to cf administrator and go to caching and say Clear template cache now, and then refresh the page, it loads up fine. I understand if I had caching enabled, which I originally did, but I have since disabled all the caching on the caching page in cf administrator and restarted the CF service. This is really puzzling me. Does anyone have any idea of what could be causing this? I am using Apache 2.0.55 with CF Server 7 (with updater 1). ColdFusion runs as a domain user with full access to c:\CFusionMX7 directory and read only access to where the loadbalancer.cfm file is. Russ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228656 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: looping over columns
to this: cfif refind(col,^K) That way it finds anything starting with a K, with any type of character after it. That true, but according the original post he|she is looking for this: column name begins with K then a number ( from 1 - 50 ) So I guess than we should recommend a regex something like: cfif refind(col,^K[0-9]{1,2}) This should be fairly close as long as we are not concerended with columns beginning with strings like K61 or K87. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228657 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Regex ex question. How to match NOT this string.
Ok, this is strange. That RegEx works in Java so CF isn't using the JDK-provided RegEx implementation? Looks like it's using the Perl 5 implementation. Seems counter-productive (if my assumption is correct, of course). Anyway, with that implementation, here's what I came up with. cfscript searchString = /organizationtitle; matchStruct = StructNew(); matchStruct = REFind((/organization)(?=\s*title),searchString,1,true); trueMatch = Mid(searchString, matchStruct.pos[1], matchStruct.len[1]); /cfscript cfdump var=#trueMatch# -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 12:07 PM To: CF-Talk Subject: RE: Regex ex question. How to match NOT this string. Ok, ok, so I didn't actually try an example in CF :) CF must use a different RegEx engine than what I'm used to using. The ?! is negative lookbehind because he said he wanted to grab the /organization tag. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228658 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: looping over columns
Gotcha...missed that Ian...thanks. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 11:35 AM To: CF-Talk Subject: RE: looping over columns to this: cfif refind(col,^K) That way it finds anything starting with a K, with any type of character after it. That true, but according the original post he|she is looking for this: column name begins with K then a number ( from 1 - 50 ) So I guess than we should recommend a regex something like: cfif refind(col,^K[0-9]{1,2}) This should be fairly close as long as we are not concerended with columns beginning with strings like K61 or K87. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228659 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SEO/SES URL's vs. UUID as primary key
Just tested and now I remember why you don't use a cflocation: The true url is exposed to the client (and it probably does show a Moved header... haven't checked that but the former is enough to torpedo the idea). -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228660 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SEO/SES URL's vs. UUID as primary key
Yeah, a couple. First off, cflocation sends a 'moved' header (forget the code just now). Secondly... I don't remember the second reason, but there was one :-). Give it a shot. I was trying so many things so many different ways I may have missed something. Yes. GetPageContext.include() was one of the things we threw against the wall. Didn't stick. If you try an include on anything else but a site-wide or 404 handler it works. Across file tree branches that diverge at the root, regardless of the web root etc. Mappings do not help. Its something specific to the error handler itself. The error or 404 handler can include or cfmodule in stuff that is in its same folder under only limited circumstances. I was using a system where CF7 and CF6.1 were installed to their default folders, IIS was in use but the web sites were not homed off the IIS /inetpub/wwwroot/ folder for security's sake. If you were to install and run off /cfusionmx7/wwwroot/ it might not be a problem, but I would argue tha'ts a bad security choice. Since one of the circumstances is you can run an include or module within the same folder as the error handler if its in the web root, I suppose you could copy all files you need there and an include would work. Seems like too much trouble, especially since cfhttp -- as crazy as it sounds -- works so well. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com On 1/5/06, James Holmes [EMAIL PROTECTED] wrote: Was there a reason not to cflocation to the page rather than using cfhttp to include it? Is it to ensure high SE rankings? (I know that redirect pages get poor treatment in search engines) Finally, I'm too lazy to check the other thread - did you ever try to see if that worked? On 1/6/06, Matt Robertson [EMAIL PROTECTED] wrote: Now, before you take after me for losing my mind using cfhttp to do this, note what we found in that other thread: That a cfinclude was found to not work for some annoying reason when used in the 404 handler; under wide variety of tests. PLUS I found that using cfhttp to call stuff on your own server was proving to be a negligible draw. Something like 10ms (I have SeeFusion hooked up to the server and monitored pretty closely). The site I implemented this on gets a few tens of thousands of hits daily like this so its not quite a mom-and-pop web site. -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228661 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Testing...
Just testing to see if I can get this mail through. ArgoSoft suddenly stopped delivering mail to my own inbox, then after awhile, suddenly started up again...sigh... Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228662 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Announcing SeeFusion 3.1
Greetings, everyone. Firstly, on behalf of the team here at Webapper, a Happy New Year to all. As we kick off the new year, we're happy to be announcing the release of SeeFusion 3.1. Even though it's a dot release, there are a couple of nifty new features that we hope you'll find useful. Here is a quick summary: * Counters: SeeFusion counters are a combination of cfstat and JRun metrics. Counters give you a cfstat-style view of request, database and memory activity, and, unlike with cfstat, can be streamed to a browser, and also logged to a database (Enterprise only). * rowLimit: The new rowLimit JDBC driver option allows you to set an upper limit for the number of rows returned in queries, in order to prevent excessively large result sets from hanging threads and consuming memory, and possibly crashing the server. * Database Logging: We've improved the feedback and robustness of the database logging subsystem, including the adding of a simplified on/off switch. In addition, we've made the online Administrator's Guide configuration section easier to use by matching the order and layout of the SeeFusion configuration interface, added more FAQs, and included a toll-free phone number (USA only) for sales/support inquiries (866.816.4700; International: {IDD} + 970.223.2278). Even bigger and better things are planned for SeeFusion 4. Stay tuned, and thanks so much to everyone for all the interest in SeeFusion. Best, Patrick Quinn President and Lead Web Application Architect Webapper Services, LLC ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228663 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Announcing SeeFusion 3.1
1. You forgot to add a link directly to your site or the download page so people (like myself) who are running SeeFusion can get it ASAP. 2. You did not warn people about the addictive nature of watching your website serve 3 pages per second vs. 2.8 a minute ago. Greetings, everyone. Firstly, on behalf of the team here at Webapper, a Happy New Year to all. As we kick off the new year, we're happy to be announcing the release of SeeFusion 3.1. Even though it's a dot release, there are a couple of nifty new features that we hope you'll find useful. Here is a quick summary: * Counters: SeeFusion counters are a combination of cfstat and JRun metrics. Counters give you a cfstat-style view of request, database and memory activity, and, unlike with cfstat, can be streamed to a browser, and also logged to a database (Enterprise only). * rowLimit: The new rowLimit JDBC driver option allows you to set an upper limit for the number of rows returned in queries, in order to prevent excessively large result sets from hanging threads and consuming memory, and possibly crashing the server. * Database Logging: We've improved the feedback and robustness of the database logging subsystem, including the adding of a simplified on/off switch. In addition, we've made the online Administrator's Guide configuration section easier to use by matching the order and layout of the SeeFusion configuration interface, added more FAQs, and included a toll-free phone number (USA only) for sales/support inquiries (866.816.4700; International: {IDD} + 970.223.2278). Even bigger and better things are planned for SeeFusion 4. Stay tuned, and thanks so much to everyone for all the interest in SeeFusion. Best, Patrick Quinn President and Lead Web Application Architect Webapper Services, LLC ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228664 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: looping over columns
Cheers guys. Incidently refind(col, K[0-9]) worked fine to process all the columns I needed from 1-50. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228665 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Announcing SeeFusion 3.1
Heya Michael. Thanks for the corrections! Here's the site: http://www.seefusion.com. As for the addictive nature, I'd say watch out for new counters feature especially! 1. You forgot to add a link directly to your site or the download page so people (like myself) who are running SeeFusion can get it ASAP. 2. You did not warn people about the addictive nature of watching your website serve 3 pages per second vs. 2.8 a minute ago. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228666 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: weird cf caching problem
If I modify the file, it does reload it and find it... is this some kind of weird internal cf thing? If the template is the same size it doesn't try to reload it or something? Is there a way to turn it off? -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 12:35 PM To: CF-Talk Subject: weird cf caching problem I am puzzled by a problem I'm having. I set up a very simple site. 1 file - loadbalancer.cfm which is just basically a hello world file (it outputs some text). I hit that file using a browser through the local apache server, and it loads up fine. I rename the file to loadbalancer2.cfm and refresh the page, I get a CF error saying File not found: /loadbalancer.cfm. So far so good. I rename the file back to loadbalancer.cfm and refresh the page, and I STILL get a CF error saying File not found: /loadbalancer.cfm If I go to cf administrator and go to caching and say Clear template cache now, and then refresh the page, it loads up fine. I understand if I had caching enabled, which I originally did, but I have since disabled all the caching on the caching page in cf administrator and restarted the CF service. This is really puzzling me. Does anyone have any idea of what could be causing this? I am using Apache 2.0.55 with CF Server 7 (with updater 1). ColdFusion runs as a domain user with full access to c:\CFusionMX7 directory and read only access to where the loadbalancer.cfm file is. Russ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228667 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Regex ex question. How to match NOT this string.
I don't think CF supports lookbehind. On 1/6/06, Steve Brownlee [EMAIL PROTECTED] wrote: Ok, this is strange. That RegEx works in Java so CF isn't using the JDK-provided RegEx implementation? Looks like it's using the Perl 5 implementation. Seems counter-productive (if my assumption is correct, of course). Anyway, with that implementation, here's what I came up with. cfscript searchString = /organizationtitle; matchStruct = StructNew(); matchStruct = REFind((/organization)(?=\s*title),searchString,1,true); trueMatch = Mid(searchString, matchStruct.pos[1], matchStruct.len[1]); /cfscript cfdump var=#trueMatch# -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 12:07 PM To: CF-Talk Subject: RE: Regex ex question. How to match NOT this string. Ok, ok, so I didn't actually try an example in CF :) CF must use a different RegEx engine than what I'm used to using. The ?! is negative lookbehind because he said he wanted to grab the /organization tag. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228668 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Regex ex question. How to match NOT this string.
You are correct, CF uses Perl's regular expression syntax, and so do a lot of other languages. It seems that a lot of people recognize Perl's regex as one of the best implementations available (and very popular, thus well known) and I'm assuming that's why the CF developers went with it. Fortunately for me, I learned regex in Perl before I tried them in CF. :-D -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 10:38 AM To: CF-Talk Subject: RE: Regex ex question. How to match NOT this string. Ok, this is strange. That RegEx works in Java so CF isn't using the JDK-provided RegEx implementation? Looks like it's using the Perl 5 implementation. Seems counter-productive (if my assumption is correct, of course). -- [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228669 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
flushing pcode cache
Is there a way to flush the trusted cache and/or the pcode cache without using CF administrator? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228670 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
weird cfchart error
I'm using cfchart and it all has been working well until today I switched from format=flash to format=png. Now I get a non-descript error... --- Error Occurred While Processing Request -1 java.lang.ArrayIndexOutOfBoundsException: -1 --- If I switch it back to format=flash it works. format=jpg fails as well. Exhibits the same behavior on both my local development machine as well as our development server (both running CFMX 6.1). I've rebooted CF, cleared my browser cache, my parsed Fusebox files, and the C:\CFusionMX\charting\cache dir. Then I started to look at my data and if the number is 5 digits or less - it works OR 7 or more, it works. 6 digits fails with the PNG or JPG format. Flash works with any number of digits. Anyone seen anything like this before? Jim ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228671 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Regex ex question. How to match NOT this string.
Scott and Steve, This is strange, I just looked in my Perl docs; Perl /does/ support look behind: (?=...) zero width positive look behind (?!...) zero width negative look behind I wonder why CF doesn't support this? Maybe because it's totally possible to do it other ways (positive look ahead could be the same as positive look behind, depending on where you put your pattern in the regex). However, if you are used to using look behind, and it's not in CF, that's a let down. I wonder if there are any cases where look behind is absolutely necessary...or is it just a different syntax in CF? Any experts out there know the answer? Mr. Forta or Watts? -Original Message- From: Scott Stroz I don't think CF supports lookbehind. From: Steve Brownlee Ok, this is strange. That RegEx works in Java so CF isn't using the JDK-provided RegEx implementation? Looks like it's using the Perl 5 implementation. Seems counter-productive (if my assumption is correct, of course). -Original Message- From: Steve Brownlee Ok, ok, so I didn't actually try an example in CF :) CF must use a different RegEx engine than what I'm used to using. The ?! is negative lookbehind because he said he wanted to grab the /organization tag. [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228672 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
lets give these ppl hell!
http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. ~Dave the disruptor~ google will pay you money to getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228673 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: lets give these ppl hell!
http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. You read the FAQ? Whoever wrote it spells like a 2nd grader. And that may be an insult to 2nd graders. Doubt anyone would take it serious. ~Dave the disruptor~ google will pay you money to getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228674 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: lets give these ppl hell!
Just did. That's just ignorance at it's best. I encourage everyone to flame away as I just did. Girlfriend/Boyfriend piss you off today? Take it out on them! By the way, do a View Source on that site, and you'll see this: [meta name=generator content=Yahoo! SiteBuilder/2.2.2/1.5.0_02] pathetic. dave wrote: http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. ~Dave the disruptor~ google will pay you money to getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228675 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: lets give these ppl hell!
They're building a business around a site that is ranked one of the web's most popular destinations... then asserts as having a horrible architecture? Some credibility huh... -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 2:24 PM To: CF-Talk Subject: lets give these ppl hell! http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. ~Dave the disruptor~ google will pay you money to getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228676 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: lets give these ppl hell!
http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. That's not there any more... looks like someone had some good sense to listen ;) Hatton ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228677 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: lets give these ppl hell!
Heh - that was quick. :) C. Hatton Humphrey wrote: http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. That's not there any more... looks like someone had some good sense to listen ;) Hatton ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228678 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: lets give these ppl hell!
well i sent them a semi-nasty email b4 i posted that here :) I guess they got it lol ~Dave the disruptor~ google will pay you money to getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ From: C. Hatton Humphrey [EMAIL PROTECTED] Sent: Friday, January 06, 2006 5:59 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: lets give these ppl hell! http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. That's not there any more... looks like someone had some good sense to listen ;) Hatton ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228679 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: lets give these ppl hell!
Well, the nice thing is that you posted it - Google will most likely archive it, for all the world to see. :) dave wrote: well i sent them a semi-nasty email b4 i posted that here :) I guess they got it lol ~Dave the disruptor~ google will pay you money to getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ From: C. Hatton Humphrey [EMAIL PROTECTED] Sent: Friday, January 06, 2006 5:59 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: lets give these ppl hell! http://myfriendadder.com/faq.html Q: It keeps going back to the login page. What is wrong? A: MySpace.com sometimes has problems loging people in. This is due to their horrible architecture called ColdFusion. That's not there any more... looks like someone had some good sense to listen ;) Hatton ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228680 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Regex ex question. How to match NOT this string.
I just looked in my Advanced Macromedia ColdFusion MX 7 Application Development book (what a title! ;)), written by Ben Forta and a bunch of other folks, and this paragraph is very on topic: ...these additions make ColdFusion's RegEx support much more powerful, and much closer to the way regular expressions work in Perl, which for many people is the de facto standard for how regular expressions should behave. The additions they are talking about are things like look ahead, word boundaries, escape sequences, etc. Also, this sentence answers our previous question ColdFusion does not support (Perl's) lookbehind processing... Also, it looks like Java uses Perl's syntax as well: http://tinyurl.com/ay8kc From: Munson, Jacob Scott and Steve, This is strange, I just looked in my Perl docs; Perl /does/ support look behind: (?=...) zero width positive look behind (?!...) zero width negative look behind I wonder why CF doesn't support this? Maybe because it's totally possible to do it other ways (positive look ahead could be the same as positive look behind, depending on where you put your pattern in the regex). However, if you are used to using look behind, and it's not in CF, that's a let down. I wonder if there are any cases where look behind is absolutely necessary...or is it just a different syntax in CF? Any experts out there know the answer? Mr. Forta or Watts? -Original Message- From: Scott Stroz I don't think CF supports lookbehind. From: Steve Brownlee Ok, this is strange. That RegEx works in Java so CF isn't using the JDK-provided RegEx implementation? Looks like it's using the Perl 5 implementation. Seems counter-productive (if my assumption is correct, of course). This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228681 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verity vs. sql indexing
I think it has problems at around the 2GB limit as far as BLOBS and CLOBS are concerned. Are any of your docs bigger than 2GB? It will index all popular doc formats (word, excel, ppt, pdf, blah blah) directly from a BLOB. It can automatically produce an HTML version of the stored doc (with search terms highlighted if that's your kind of thing). It can also index smaller amounts of textual infomation with a different kind of index that doesn't need syncing, which is possibly what your DBA was talking about, but this is not the limit of its power. On 1/6/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 1/6/06, James Holmes [EMAIL PROTECTED] wrote: Oracle Text can produce these search results, (imo) as good as Verity, with any other constraints you need ( e.g. conditions on the security column and any other clauses you want) all in one query. James, Does Oracle Text have limits as to the field size it can/will index? We were looking to do some indexing with it, but our DBA said we had to limit our fields to something like varchar2(30), which was unacceptable. I did my own search into Oracle's online docs, but I didn't see anything explicit. -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228682 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
ColdFusion Cookbook
So hopefully this won't' spawn another 100 message thread on food, but the ColdFusion Cookbook is launched: www.coldfusioncookbook.com. It is still in beta I suppose, but I'd love feedback. I have a lot of content thanks to Rob Brooks-Bilson and Jeremy Petersen. More content should continue to flow in as time goes by. More info here: http://ray.camdenfamily.com/index.cfm/2006/1/6/Get-Cooking-with-ColdFusion -- === Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster My ally is the Force, and a powerful ally it is. - Yoda ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228683 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion Cookbook
Excellent job Ray! This is gonna prove to be really useful! Thanks, Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228684 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion Cookbook
Will you be adding a way to post comments on things put up? One of the things I noticed that bit a developer in my group was the mentioning of Val() on this one: http://www.coldfusioncookbook.com/entry/15/You-need-to-test-a-string-to-see-if-it-is-a-valid-numeric-value .. If the numeric number is rather large Val() will return the number in scientific notation. I do not have a pre CFMX box to test it on, but from what I remember the developer had always done something along those lines prior to CFMX to get a number then it started to bomb out in MX. Of course it is way past my bed time so I might be remembering the details wrong on that one. My question more of general curiosity on the design and the whole Val() stuff was just an attempt at maybe an example of where something could be put in by a person. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228685 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion Cookbook
Saw it, loved it, added to it. I like the site design too - so simple. On 1/7/06, Raymond Camden [EMAIL PROTECTED] wrote: So hopefully this won't' spawn another 100 message thread on food, but the ColdFusion Cookbook is launched: www.coldfusioncookbook.com. It is still in beta I suppose, but I'd love feedback. I have a lot of content thanks to Rob Brooks-Bilson and Jeremy Petersen. More content should continue to flow in as time goes by. -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228686 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54