Re: using cfhttp
If you are checking for the site to be up, you may as well check that everything is working ok also.. What I do is use cfhttp to get my home page - but I add a special url parameter which tells my page to add an entire record from my user's database at the bottom of the page. (I use my own record so I know if I made any recent changes). I then compare that page to a copy I store in the database. (I mark changeable sections like my banner ad so I do not count that part of the page).. if it is different, I save the page into the database and send a text alert to my cellphone which tells me a change has been made.. along with a link to a page on my website which shows me the code view of the old version as well as the new version so I can see what has changed. This allows me to: 1. Know if the page is working 2. Know if the page has changed (as in the recent ftp hacks) 3. Know if the database was hacked 4. Know if the database server is working At 11:36 AM 4/6/2010, you wrote: Hello, Is there a way to use cfhttp to see if a site is down? Does it involve using #HTMLCodeFormat(cfhttp.FileContent)# to see if a 403 error is downloaded? Thanks. RO HWW ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332687 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Regex to remove script and style blocks
See http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0a38f-7ffb.html for the flag to trigger multi-line capabilities in regex. (?m)script\b[^]*.*?/script should do it. cfset newString = rereplaceNoCase( string , '(?m)script\b[^]*.*?/script' , '' , 'all' ) On Tue, Apr 6, 2010 at 9:29 PM, UXB Internet denn...@uxbinternet.comwrote: I am at a loss as to how to structure a regex to remove a JavaScript block from a file using CF5. What I am trying to do is remove the script and everything including and between /script. something like this: script language=JavaScript !-- JavaScript code here // -- /script I have tried this but it give me and error: Bad regular expression cfset Newstring = ReReplaceNoCase(string,script.*?.*?/script,, all) Assistance would be appreciated. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332688 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
arnaud basset
http://haberciyiz.biz/pub/index.html ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332689 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: using cfhttp
or just sign up for the many free alerting services. On Tue, Apr 6, 2010 at 12:24 PM, Andy Matthews li...@commadelimited.com wrote: Additionally you can make the request a little lighter by just making a HEAD request instead of a get or post. cfhttp url=http://www.andymatthews.net; method=head/cfhttp It doesn't return the entire body of the site in the filecontent key. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: cf-talk Subject: Re: using cfhttp d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman chorno...@gmail.com wrote: Using cfhttp will return a cfhttp.statusCode, which if is 200 OK you know the URL has resolved correct. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332690 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: external css not displaying
That's just real odd how it was working and still works locally and in our staging environments. Oh well if it's problematic then this could happen again or something else.. so better to get it resolved now Thanks guys! On Tue, Apr 6, 2010 at 6:34 PM, Roger Austin raust...@nc.rr.com wrote: On 4/6/2010 7:23 PM, Dave Watts wrote: On Tue, Apr 6, 2010 at 14:07, Greg Morphisgmorp...@gmail.com wrote: If it helps any this is a PDF we're displaying for the user. Thelink tag is within thecfdocumentsection tag.. cfdocument ... cfdocumentsection ... link rel=stylesheet ... I recommend that you use CFINCLUDE to include the contents of the stylesheet within an HTML STYLE tag. Linking to stylesheets is always problematic when using CFDOCUMENT. I agree with this. I have never gotten linked style sheets to work properly with cfdocument. I even had to duplicate them inside of the headers and footers at times to get proper styles. I was using CF7 at the time. I hope Adobe fixes this in the future versions. I have not experimented with cfdocument in CF8 or CF9 so I can't say for certain if these issues persist. -- LinkedIn: http://www.linkedin.com/pub/8/a4/60 Twitter: http://twitter.com/RogerTheGeek MissHunt: http://www.misshunt.com/ (Home of the Clean/Dirty Magnet) NCDevCon: http://ncdevcon.com/ 2010 Raleigh ColdFusion Conference ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332691 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
resetting form variables
Hello All, I am trying to do the following: I have a web page which has all form variables populated based on previous page selection. One such variable is current year. There is a link called 'previous year data' which upon clicking opens a new page for the previous year and shows previous year stuff. This is done for comparing data between two years When the user clicks on the 'previous year' link, am just replacing the form variable which stores the current year value with the previous year value. Suppose I have the following variable: input type=hidden name=hold_year initially it would have the current year, but I am populating with previous year, so the query that gets the data depending on the year, uses the hold_year variable. But when I click on previous year link, the new window opens with previous year data, but the old window upon navigation reflects data from previous year. is there a way that both windows shows their respective data? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332692 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: using cfhttp
Can you recommend any? On Wed, Apr 7, 2010 at 7:00 AM, Brian Thornton vegasthorn...@gmail.comwrote: or just sign up for the many free alerting services. On Tue, Apr 6, 2010 at 12:24 PM, Andy Matthews li...@commadelimited.com wrote: Additionally you can make the request a little lighter by just making a HEAD request instead of a get or post. cfhttp url=http://www.andymatthews.net; method=head/cfhttp It doesn't return the entire body of the site in the filecontent key. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: cf-talk Subject: Re: using cfhttp d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman chorno...@gmail.com wrote: Using cfhttp will return a cfhttp.statusCode, which if is 200 OK you know the URL has resolved correct. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332693 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion.ajax.submitform
You're passing an undefined variable rather than the form's id with your link. Try this: a href=javascript:submitForm('myform'); ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332694 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: SOT: external css not displaying
I've never been able to get the link tag to work with cfdocument. Try this: style type=text/css media=print cfinclude template=print.css / /style -Original Message- From: Greg Morphis [mailto:gmorp...@gmail.com] Sent: Tuesday, April 06, 2010 6:20 PM To: cf-talk Subject: Re: SOT: external css not displaying No because it's on an intranet, company info.. but here's the relevant code: cfdocument format=pdf overwrite=yes cfdocumentsection link rel=stylesheet href=print.css type=text/css media=print / On Tue, Apr 6, 2010 at 12:03 PM, Alan Rother alan.rot...@gmail.com wrote: Any chance you could share the URL so we can look at it? =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332695 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: external css not displaying
Using the style tags isn't working either. If I comment out the cfdocument and cfdocumentsection then the formatting works. If I uncomment those lines, it doesn't work. I uploaded my code to here.. http://snipt.org/Jyh You can see all the places I tried the link rel=... and the style tags. Maybe you can see something I don't.. This is ColdFusion 7.02 on a Windows 2000 server Thanks! On Wed, Apr 7, 2010 at 8:33 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: I've never been able to get the link tag to work with cfdocument. Try this: style type=text/css media=print cfinclude template=print.css / /style -Original Message- From: Greg Morphis [mailto:gmorp...@gmail.com] Sent: Tuesday, April 06, 2010 6:20 PM To: cf-talk Subject: Re: SOT: external css not displaying No because it's on an intranet, company info.. but here's the relevant code: cfdocument format=pdf overwrite=yes cfdocumentsection link rel=stylesheet href=print.css type=text/css media=print / On Tue, Apr 6, 2010 at 12:03 PM, Alan Rother alan.rot...@gmail.com wrote: Any chance you could share the URL so we can look at it? =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332696 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: external css not displaying
Using the style tags isn't working either. If I comment out the cfdocument and cfdocumentsection then the formatting works. If I uncomment those lines, it doesn't work. I uploaded my code to here.. http://snipt.org/Jyh You can see all the places I tried the link rel=... and the style tags. Maybe you can see something I don't.. This is ColdFusion 7.02 on a Windows 2000 server Here's the problem. You need to include the styles in each CFDOCUMENTSECTION, even if you've already included them or linked them elsewhere. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332697 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: external css not displaying
What a pain in the ass but you called it Dave.. thanks! On Wed, Apr 7, 2010 at 8:46 AM, Dave Watts dwa...@figleaf.com wrote: Using the style tags isn't working either. If I comment out the cfdocument and cfdocumentsection then the formatting works. If I uncomment those lines, it doesn't work. I uploaded my code to here.. http://snipt.org/Jyh You can see all the places I tried the link rel=... and the style tags. Maybe you can see something I don't.. This is ColdFusion 7.02 on a Windows 2000 server Here's the problem. You need to include the styles in each CFDOCUMENTSECTION, even if you've already included them or linked them elsewhere. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332698 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: external css not displaying
What a pain in the ass but you called it Dave.. thanks! Just to toot my own horn, this is covered in detail in the Advanced ColdFusion course. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332699 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
test
Hello, This is a a test message. My previous two posts are not displayed on house of fusion ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332700 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: test
Sometimes the archives get a little behind in displaying posts. On the other hand, the rss feeds for each list will always show the latest messages so you can always check that to see if your post has gone through. The problem is that when using gmail, their software prevents you from getting a copy of an email that you send to a list (a 'feature' I dislike). If there is a call for it, I can alter the list code to 'force' gmail to always display an email that you send to the list, resulting in one copy that you sent (in your sent mail) and another in your inbox. -- Michael Dinowitz On Wed, Apr 7, 2010 at 10:07 AM, fun and learning funandlrnn...@gmail.com wrote: Hello, This is a a test message. My previous two posts are not displayed on house of fusion ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332701 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: test
this one? http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332658 On Wed, Apr 7, 2010 at 7:07 AM, fun and learning funandlrnn...@gmail.comwrote: Hello, This is a a test message. My previous two posts are not displayed on house of fusion ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332702 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Read and display document in HTML
Does anyone have a simple solution to read a word doc or excel file and display it on the screen in HTML? Using cffile and outputting it only displays a garbled mess. Thanks ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332703 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Read and display document in HTML
Does anyone have a simple solution to read a word doc or excel file and display it on the screen in HTML? Using cffile and outputting it only displays a garbled mess. You could convert the document to HTML - there are various tools to do that - or you could embed the document using the appropriate OBJECT/EMBED tags to show Word or Excel embedded within the HTML page. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332704 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: coldfusion.ajax.submitform
Thanks. The '' is what I was missing. Always something simple we overlook in the end :) -Original Message- From: Kris Sisk [mailto:ks...@gckschools.com] Sent: Wednesday, April 07, 2010 9:26 AM To: cf-talk Subject: Re: coldfusion.ajax.submitform You're passing an undefined variable rather than the form's id with your link. Try this: a href=javascript:submitForm('myform'); ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332705 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: using cfhttp
http://aremysitesup.com/ Run by Chris Coyier of CSS-tricks.com andy -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Wednesday, April 07, 2010 8:25 AM To: cf-talk Subject: Re: using cfhttp Can you recommend any? On Wed, Apr 7, 2010 at 7:00 AM, Brian Thornton vegasthorn...@gmail.comwrote: or just sign up for the many free alerting services. On Tue, Apr 6, 2010 at 12:24 PM, Andy Matthews li...@commadelimited.com wrote: Additionally you can make the request a little lighter by just making a HEAD request instead of a get or post. cfhttp url=http://www.andymatthews.net; method=head/cfhttp It doesn't return the entire body of the site in the filecontent key. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: cf-talk Subject: Re: using cfhttp d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman chorno...@gmail.com wrote: Using cfhttp will return a cfhttp.statusCode, which if is 200 OK you know the URL has resolved correct. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332706 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfquery writing to the wrong table..
I have an app I'm coding that will read a csv file and do some magic on it and populate an Accounting_Temp table for moving to the main table. It works until I get into commas in a field (UnqualifiedReason). Any ideas on what could be happening or where I can look? === * Up to this point in the code, the data is correct and stored on Accounting_Temp correctly. * cfquery datasource=#Datasource# name=Check Select * from Accounting_Temp /cfquery cfset updated=0 cfset Added=0 * Still looking good.. * cfloop query=Check cfquery datasource=#Datasource# name=RecordExists Select * from Accounting Where EnrollmentNumber = #Check.EnrollmentNumber# /cfquery * Kablam! At this point, the Check dump shows that test1, test2, test3 is now test1 in the database on Account_Temp. I also confirm that the DB got rewritten with just Test1 * cfif RecordExists.Recordcount EQ 0 cfquery datasource=#Datasource# Insert into Accounting (Id,EnrollmentNumber,EnrollmentChannel,StatusName,PromoCode,QualificationType,CreationDate,State,ZipCode,UnqualifiedReason, EnteredDate) Values ('#Check.Id#',#Check.EnrollmentNumber#,'#Check.EnrollmentChannel#','#Check.StatusName#','#Check.PromoCode#','#Check.QualificationType#',#Check.CreationDate#,'#Check.State#','#Check.ZipCode#','#Check.UnqualifiedReason#', Now()) /cfquery #Check.EnrollmentNumber# AddedBR cfset Added=added+1 cfelse cfquery datasource=#Datasource# Update Accounting Set Id='#Check.Id#' ,EnrollmentChannel='#Check.EnrollmentChannel#' ,StatusName='#Check.StatusName#' ,PromoCode='#Check.PromoCode#' ,QualificationType='#Check.QualificationType#' ,CreationDate=#Check.CreationDate# ,State='#Check.State#' ,ZipCode='#Check.ZipCode#' ,UnqualifiedReason='#Check.UnqualifiedReason#' Where EnrollmentNumber=#Check.EnrollmentNumber# /cfquery #Check.EnrollmentNumber# UpdatedBR cfset updated=Updated+1 /cfif /cfloop #Added# added and #Updated# updated (out of #check.Recordcount# records) /cfoutput ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFDocs
Does anyone know if the creator of cfdocs.org has plans to update the site to use the latest versions of CF Documentation It's still pointing to CF7'd documents ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332708 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: test
Actually it is a header, though maybe not one you would expect. Each email message sent has a unique message-id. When gmail sees 2 emails with the same message-id, it keeps the first (the one you sent) and discards the second (the one from the list). I wrote the list software to keep the message-id of a message sent to the list and duplicate it on the message going out. Two messages of the same message-id, even though they have different bodies and other headers, are the same message according to gmail. All I have to do is assign a new message-id to outgoing emails and they'll show up in gmail no matter what. -- Michael Dinowitz On Wed, Apr 7, 2010 at 11:52 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Wednesday 07 Apr 2010, Michael Dinowitz wrote: If there is a call for it, I can alter the list code to 'force' gmail to always display an email that you send to the list, resulting in one Is this just a header or something other software can use ? -- Helping to proactively transition fourth-generation meta-services as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.Halliwells.co ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332709 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFDocs
Not familiar with that site. But you could always use http://www.cfquickdocs.com or http://cfmldocs.com/ , both of which contain CF9 docs On Wed, Apr 7, 2010 at 9:31 AM, Dave Sueltenfuss dsueltenf...@gmail.comwrote: Does anyone know if the creator of cfdocs.org has plans to update the site to use the latest versions of CF Documentation It's still pointing to CF7'd documents ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332710 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFDocs
You should probably consider using http://www.cfquickdocs.com/cf9/ Has access to 7, 8, and 9 docs. andy -Original Message- From: Dave Sueltenfuss [mailto:dsueltenf...@gmail.com] Sent: Wednesday, April 07, 2010 11:31 AM To: cf-talk Subject: CFDocs Does anyone know if the creator of cfdocs.org has plans to update the site to use the latest versions of CF Documentation It's still pointing to CF7'd documents ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFDocs
cfquickdocs.com is a similar concept and it has modern docs. I'd imagine cfdocs.org was probably abandoned if it's that old, quite likely because cfquickdocs is around now. cheers, barneyb On Wed, Apr 7, 2010 at 9:31 AM, Dave Sueltenfuss dsueltenf...@gmail.com wrote: Does anyone know if the creator of cfdocs.org has plans to update the site to use the latest versions of CF Documentation It's still pointing to CF7'd documents ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332712 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdFusion Distributed Mode
Have a question in regards to setting up distributed mode. We have ran in distributed mode for years with CF7 and windows 2000. We are in the process of upgrading to CF9 and Windows 2008. The problem I am having is the we used to be able to have all of our code on a fileserver and point IIS to that UNC path and life was good. Now the only way to get Coldfusion to server CFM pages is to have the CFM code on both the fileserver and the CF servers as well. It will give an error of file not found if you do not. Now I know in the documentation it says this is the way you have to set it up.. but I guess my two questions are 1. Why did it work before with the code only being in one place? 2. Why is the CFM files needed in both the file server (where IIS points for webcode) and on the CF boxes as well? Any help is appreciated. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332713 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdFusion Distributed Mode
Have a question in regards to setting up distributed mode. We have ran in distributed mode for years with CF7 and windows 2000. We are in the process of upgrading to CF9 and Windows 2008. The problem I am having is the we used to be able to have all of our code on a fileserver and point IIS to that UNC path and life was good. Now the only way to get Coldfusion to server CFM pages is to have the CFM code on both the fileserver and the CF servers as well. It will give an error of file not found if you do not. Now I know in the documentation it says this is the way you have to set it up.. but I guess my two questions are 1. Why did it work before with the code only being in one place? 2. Why is the CFM files needed in both the file server (where IIS points for webcode) and on the CF boxes as well? Any help is appreciated. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Regex to remove script and style blocks
I have two mental blocks Secure certificates and REgEx. I am sure therapy might help smile but right now I just need to someone to tell me where I am going wrong. The rereplace does not seem to work. cfset newString = rereplaceNoCase( string , '(?m)script\b[^]*.*?/script' , '' , 'all' ) These are the actual code snippets I am trying to remove from a page: script type=text/javascript var gaJsHost = ((https: == document.location.protocol) ? https://ssl.; : http://www.;); document.write(unescape(%3Cscript src=' + gaJsHost + google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E)); /script script type=text/javascript try { var pageTracker = _gat._getTracker(); pageTracker._trackPageview(); } catch(err) {}/script/head -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Wednesday, April 07, 2010 3:22 AM To: cf-talk Subject: Re: Regex to remove script and style blocks See http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172 e0811cbec0a38f-7ffb.html for the flag to trigger multi-line capabilities in regex. (?m)script\b[^]*.*?/script should do it. cfset newString = rereplaceNoCase( string , '(?m)script\b[^]*.*?/script' , '' , 'all' ) On Tue, Apr 6, 2010 at 9:29 PM, UXB Internet denn...@uxbinternet.comwrote: I am at a loss as to how to structure a regex to remove a JavaScript block from a file using CF5. What I am trying to do is remove the script and everything including and between /script. something like this: script language=JavaScript !-- JavaScript code here // -- /script I have tried this but it give me and error: Bad regular expression cfset Newstring = ReReplaceNoCase(string,script.*?.*?/script,, all) Assistance would be appreciated. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Joni Mitchell and Cold Fusion
Help me, I think I'm falling... here's an odd request for a certain individual. Joni's official site is hosted on a GoDaddy server (don't ask) running CF8. They keep shutting it down for overloading the server - asking me to streamline the code to avoid continued violations. I'm sure my code sucks, but it's been on other servers without issue from those hosts. Would anyone out there, perhaps a Joni fan, volunteer to take a look at some code, shake their head in disgust at the awfulness of it, and help me rewrite inefficient sections? This feels a bit like walking naked through a crowd, but hey In return, I'll put a link to whatever site you want in the footer of every page, and of course you'll have the satisfaction of helping out all the Joni fans across the globe. The site gets about 2500 unique visitors a day. http://jonimitchell.com Thanks in advance, Les ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332717 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Fastest Hardware for ColdFusion 9?
So I'm going to have to stick with 32 bit machines for a bit longer while we find alternatives for some com's we're using that don't work on a 64 bit platform. From my research It appears that request speed is directly correlated to CPU clock, not number of cores, cache, or bus speed. Here are the average page load times from 3 different machines: 2x single core opteron 246 (2Ghz / core): 251ms 2x Dual core Xeon 5160 (3Ghz / core): 196ms 2x Quad core Xeon 5540 (2.53Ghz / core): 261ms We're running database servers on similar Xeon 5540 machines and the SQL performance on those boxes if far better that what we would get with the Opteron's or Xeon 5160's. Does anyone know why requests run on the older generation xeon 5160 would be 20% faster than the current generation 5540? Is the speed of a ColdFusion app purely based on clock speed in anyone elses experience? Thx, John ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332716 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
So there's no chance of -not- hosting it with GoDaddy? 'cuz I bet that'd help a bit. On Wed, Apr 7, 2010 at 1:22 PM, Les Irvin les.cft...@gmail.com wrote: Help me, I think I'm falling... here's an odd request for a certain individual. Joni's official site is hosted on a GoDaddy server (don't ask) running CF8. They keep shutting it down for overloading the server - asking me to streamline the code to avoid continued violations. I'm sure my code sucks, but it's been on other servers without issue from those hosts. Would anyone out there, perhaps a Joni fan, volunteer to take a look at some code, shake their head in disgust at the awfulness of it, and help me rewrite inefficient sections? This feels a bit like walking naked through a crowd, but hey In return, I'll put a link to whatever site you want in the footer of every page, and of course you'll have the satisfaction of helping out all the Joni fans across the globe. The site gets about 2500 unique visitors a day. http://jonimitchell.com Thanks in advance, Les ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332718 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
On Wed, Apr 7, 2010 at 9:22 PM, Les Irvin les.cft...@gmail.com wrote: In return, I'll put a link to whatever site you want in the footer of every page, and of course you'll have the satisfaction of helping out all the Joni fans across the globe. No financial recompense? I would have thought Ms Mitchell could afford to pay someone (and I speak as a huge fan). -- mac jordan www.kestrel.org | www.reactivecooking.com | www.nibblous.com | www.jordan-cats.org twitter: @ramtops ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Fastest Hardware for ColdFusion 9?
So I'm going to have to stick with 32 bit machines for a bit longer while we find alternatives for some com's we're using that don't work on a 64 bit platform. From my research It appears that request speed is directly correlated to CPU clock, not number of cores, cache, or bus speed. Here are the average page load times from 3 different machines: 2x single core opteron 246 (2Ghz / core): 251ms 2x Dual core Xeon 5160 (3Ghz / core): 196ms 2x Quad core Xeon 5540 (2.53Ghz / core): 261ms We're running database servers on similar Xeon 5540 machines and the SQL performance on those boxes if far better that what we would get with the Opteron's or Xeon 5160's. Does anyone know why requests on the older generation xeon 5160 would be 20% faster than the current generation 5540? Is the speed of a ColdFusion app purely based on clock speed in anyone elses experience? Thx, John ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332720 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
They keep shutting it down for overloading the server - asking me to streamline the code to avoid continued violations. What does overloading the server actually mean in their parlance? Is it consuming too much bandwidth or too much CPU or memory? All three have different possible solutions. And Yes I am a fan but probably not the right person to streamline code. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332722 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Fastest Hardware for ColdFusion 9?
More cores doesn't mean faster it means more processing ability. In your example you compared a faster (3Ghz) Dual Core to a slower (2.53Ghz) Quad Core. In Practical Theory, the Quad Core can handle more requests per second than the Dual Core, but not twice as many requests... There is a factor of diminishing returns as you add more cores. =] On Wed, Apr 7, 2010 at 1:30 PM, John Foster jfos...@turbosquid.com wrote: So I'm going to have to stick with 32 bit machines for a bit longer while we find alternatives for some com's we're using that don't work on a 64 bit platform. From my research It appears that request speed is directly correlated to CPU clock, not number of cores, cache, or bus speed. Here are the average page load times from 3 different machines: 2x single core opteron 246 (2Ghz / core): 251ms 2x Dual core Xeon 5160 (3Ghz / core): 196ms 2x Quad core Xeon 5540 (2.53Ghz / core): 261ms We're running database servers on similar Xeon 5540 machines and the SQL performance on those boxes if far better that what we would get with the Opteron's or Xeon 5160's. Does anyone know why requests on the older generation xeon 5160 would be 20% faster than the current generation 5540? Is the speed of a ColdFusion app purely based on clock speed in anyone elses experience? Thx, John ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Is ColdFusion request speed based on CPU clock speed alone?
I'm running ColdFusion8 on Windows 2003 x32 bit machines. From my research It appears that CF request speed is directly correlated to CPU clock, not number of cores, cache, or bus speed. Here are the average page load times from a group of test pages on 3 different machines: 2x single core opteron 246 (2Ghz / core): 251ms 2x Dual core Xeon 5160 (3Ghz / core): 196ms 2x Quad core Xeon 5540 (2.53Ghz / core): 261ms I would have expected the Xeon 5440 to process requests the fastest, but that's not the case. We're running database servers on similar Xeon 5540 machines and the SQL performance on those boxes if far better that what we would get with the Opteron's or Xeon 5160's. Does anyone know why requests run on the older generation xeon 5160 would be 20% faster than the current generation 5540? Is the speed of a ColdFusion app purely based on clock speed in anyone elses experience? Thx, John ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332724 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332725 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
Go Daddy did this stuff to me years ago. So they shut down your site if it starts getting traffic? WTF? G! On Wed, Apr 7, 2010 at 4:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332726 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is ColdFusion request speed based on CPU clock speed alone?
CF request are single threaded, so they can only use a single core at a time. Decent DB software will parallelize across multiple cores (and processors) if available. Second, the instruction set that the JVM converts your bytecode to is probably not going to leverage any new functionality that might be available in a newer-gen processor, so unless they've made changes to the way basic instructions are implemented on-die, a newer gen chip isn't going to help. So yeah, for the question you're asking, CPU clock speed is the primary determinant. In real life you typically have concurrent requests, in which case those extra cores will help (since you can run a request per core). cheers, barneyb On Wed, Apr 7, 2010 at 1:38 PM, John Foster jfos...@turbosquid.com wrote: I'm running ColdFusion8 on Windows 2003 x32 bit machines. From my research It appears that CF request speed is directly correlated to CPU clock, not number of cores, cache, or bus speed. Here are the average page load times from a group of test pages on 3 different machines: 2x single core opteron 246 (2Ghz / core): 251ms 2x Dual core Xeon 5160 (3Ghz / core): 196ms 2x Quad core Xeon 5540 (2.53Ghz / core): 261ms I would have expected the Xeon 5440 to process requests the fastest, but that's not the case. We're running database servers on similar Xeon 5540 machines and the SQL performance on those boxes if far better that what we would get with the Opteron's or Xeon 5160's. Does anyone know why requests run on the older generation xeon 5160 would be 20% faster than the current generation 5540? Is the speed of a ColdFusion app purely based on clock speed in anyone elses experience? Thx, John -- Barney Boisvert bboisv...@gmail.com http://www.barneyb ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332727 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
It looks like there won't be any monetary consideration for working for Joni Mitchell...she's even got a Consider a Financial Contribution to JoniMitchell.com graphic on the home page. Can't this woman afford to host a web site and pay people who work on it? I noticed on the bottom of another page of the site, http://jonimitchell.com/paintings/view.cfm?id=434 a Make a Donation button. Below that it reads Web Design by Far Studios and Extra Bandwidth courtesy of InHerEye Photography. Also, Programming by Front Range Digital Media. (That's who should be working on the site with GoDaddy, seems to me) She's also got a link to her latest CD for sale...what is she, a charity case? Many of us out here are trying to keep the ends met in our budgets and this famous singer is begging for charity? Whatever... -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Wednesday, April 07, 2010 4:53 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332728 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Fastest Hardware for ColdFusion 9?
Sure, but the quad core is handling the same number of requests and processing them slower than the dual core. On top of that the quad core machine's bus is more than twice as fast (533Mhz vs 1333Mhz) which I assumed may have made up for the slower clock speed. More cores doesn't mean faster it means more processing ability. In your example you compared a faster (3Ghz) Dual Core to a slower (2.53Ghz) Quad Core. In Practical Theory, the Quad Core can handle more requests per second than the Dual Core, but not twice as many requests... There is a factor of diminishing returns as you add more cores. =] ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332729 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
yeah, Go Daddy is crap! I documented my last run-in with them: http://www.cfgears.com/index.cfm/2009/4/23/How-GoDaddy-Destroyed-my-Clients-Site thanks, eric cobb http://www.cfgears.com Kevin Pepperman wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332730 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
The site seems pretty snappy to me. I'd bet you are taking too much bandwidth with the media downloads. If that truly is the problem, see if you can pay more for additional bandwidth, or most all the large media to an Amazon S3 bucket. They charge peanuts. ~Brad Original Message Subject: Joni Mitchell and Cold Fusion From: Les Irvin les.cft...@gmail.com Date: Wed, April 07, 2010 3:22 pm To: cf-talk cf-talk@houseoffusion.com Help me, I think I'm falling... here's an odd request for a certain individual. Joni's official site is hosted on a GoDaddy server (don't ask) running CF8. They keep shutting it down for overloading the server - asking me to streamline the code to avoid continued violations. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332731 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
annoying table issue...
I am having a browser rendering issue. I have a dynamic table. It is displaying radio buttons for a job assessment. The assessment can have up to 10 responses, so the number of radio buttons is dynamic. I have it set with 5 columns (a second row will show up if there are 6 or more responses). If there are less than 5 (from 6-9 responses) it puts radio buttons in the appropriate cells and then I use a spacer gif for the empty cells, so, for instance, if there are 2 responses, you have: button button blank blank blank. The cells have borders (using images rather than the table border). Here's the code (it repeats the response cells if there are more than 5 obviously.) td align=center valign=middle #cell_width# #cellstyle# cfif get_answers.recordcount gte 1 A href=## id=answer_detail_popup onMouseOver=document.getElementById('answer_detail_popup').style.cursor='de fault';stm(Text[1],Style[1]) onMouseOut=htm() tabindex=-1 cfinput type=radio name=assess_answer#GetAssess.CurrentRow# id=assess_answer#GetAssess.CurrentRow# checked=no value=#get_answers.answer_id[1]# required=no passThrough=title='#get_answers.answer_label[1]#' /a cfelse img src=img/pixel.gif #cell_width# height=30 border=0 /cfif /td td width=1 class=formborderimg src=img/pixel.gif width=1 height=30 border=0/td The href is for an ajax call for a dynamic mouseover label. This snippet is repeated 5 times to generate the 5 cells across.cell width = 'width=20%' This looks great in IE, but in FF, it adds a pixel to the last cell with a radio button to any rows that do not have 5 buttons. Rows that are either blank or have 5 buttons render as expected. I have tried adjusting the width of the spacer gif differently than the td width, but that didn't help. I have been banging my head over this all day. Help!!! Any ideas? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332732 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: test
Actually, I am not able to see my post on houseoffusion.com website. I am able to get them to my gmail immediately.. On Wed, Apr 7, 2010 at 12:32 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: Actually it is a header, though maybe not one you would expect. Each email message sent has a unique message-id. When gmail sees 2 emails with the same message-id, it keeps the first (the one you sent) and discards the second (the one from the list). I wrote the list software to keep the message-id of a message sent to the list and duplicate it on the message going out. Two messages of the same message-id, even though they have different bodies and other headers, are the same message according to gmail. All I have to do is assign a new message-id to outgoing emails and they'll show up in gmail no matter what. -- Michael Dinowitz On Wed, Apr 7, 2010 at 11:52 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Wednesday 07 Apr 2010, Michael Dinowitz wrote: If there is a call for it, I can alter the list code to 'force' gmail to always display an email that you send to the list, resulting in one Is this just a header or something other software can use ? -- Helping to proactively transition fourth-generation meta-services as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.Halliwells.cohttp://www.halliwells.co/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332733 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
Can't this woman afford to host a web site and pay people who work on it? Apparently not. I'll bet she can't even afford CF Builder! I'll be here all week. Try the veal! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332734 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
Keep in mind that most of the musicians of her era were raped by the record industry, so regardless of how famous she was, that doesn't equate to being rich in the music industry. -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 07, 2010 4:12 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion It looks like there won't be any monetary consideration for working for Joni Mitchell...she's even got a Consider a Financial Contribution to JoniMitchell.com graphic on the home page. Can't this woman afford to host a web site and pay people who work on it? I noticed on the bottom of another page of the site, http://jonimitchell.com/paintings/view.cfm?id=434 a Make a Donation button. Below that it reads Web Design by Far Studios and Extra Bandwidth courtesy of InHerEye Photography. Also, Programming by Front Range Digital Media. (That's who should be working on the site with GoDaddy, seems to me) She's also got a link to her latest CD for sale...what is she, a charity case? Many of us out here are trying to keep the ends met in our budgets and this famous singer is begging for charity? Whatever... -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Wednesday, April 07, 2010 4:53 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332735 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Is ColdFusion request speed based on CPU clock speed alone?
Request per core and per execution thread per core. HT procs handle 2 exec threads per core - that's why you see a quad core proc with 8 proc windows in the task manager. Not sure if the JVM can take advantage of hyperthreading ... but I suspect 1.5 or later will. It's certainly been around for a while. I would also suggest that on die caching is an important feature for proc speed... probably as important or more important than sheer clock speed for any proc over 2ghz. But Barney's point is right on. the test below makes perfect sense to me. What you really need to test is performance under load. That's where the multiple cores will help - when you have concurrent requests as Barney stated. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, April 07, 2010 3:58 PM To: cf-talk Subject: Re: Is ColdFusion request speed based on CPU clock speed alone? CF request are single threaded, so they can only use a single core at a time. Decent DB software will parallelize across multiple cores (and processors) if available. Second, the instruction set that the JVM converts your bytecode to is probably not going to leverage any new functionality that might be available in a newer-gen processor, so unless they've made changes to the way basic instructions are implemented on-die, a newer gen chip isn't going to help. So yeah, for the question you're asking, CPU clock speed is the primary determinant. In real life you typically have concurrent requests, in which case those extra cores will help (since you can run a request per core). cheers, barneyb On Wed, Apr 7, 2010 at 1:38 PM, John Foster jfos...@turbosquid.com wrote: I'm running ColdFusion8 on Windows 2003 x32 bit machines. From my research It appears that CF request speed is directly correlated to CPU clock, not number of cores, cache, or bus speed. Here are the average page load times from a group of test pages on 3 different machines: 2x single core opteron 246 (2Ghz / core): 251ms 2x Dual core Xeon 5160 (3Ghz / core): 196ms 2x Quad core Xeon 5540 (2.53Ghz / core): 261ms I would have expected the Xeon 5440 to process requests the fastest, but that's not the case. We're running database servers on similar Xeon 5540 machines and the SQL performance on those boxes if far better that what we would get with the Opteron's or Xeon 5160's. Does anyone know why requests run on the older generation xeon 5160 would be 20% faster than the current generation 5540? Is the speed of a ColdFusion app purely based on clock speed in anyone elses experience? Thx, John -- Barney Boisvert bboisv...@gmail.com http://www.barneyb ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332736 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
Apparently not. She's not paying for any of it, anyway. The site is put by her fans and paid for through donations. You'd think they might want to ask for a donation to her own site to help keep it up. On the site: JoniMitchell.com receives no financial support from Joni, her management, or her record company. I think it's time she threw some cash behind this effort...sad. Also on the site: Server costs to host this site (USD): $4.83 per day $33.84 per week $145.00 per month $1740.00 per year I'll agree to host the site for 75% of that cost on my VPS. I don't know who they're trying to kid... GoDaddy doesn't cost anywhere near that. And to run up that kind of bandwidth cost would take some work. Looks like somebody's pocketing some cash. Rather than supporting the charity case formerly known as Joni Mitchell, I'd rather feed some hungry children... All this just rubs me the wrong way. I'll bet she can't even afford CF Builder! Dave, why don't you donate a copy to Front Range Digital Media, which is Les Irvin's web business who built the site for her. Perhaps it can help them figure out the problem they're having. Try the veal! I tried it once...just couldn't develop a taste for it. Send it to Joni so she'll have something to eat. I'll be here all week. Good to know! We all depend on ya, Dave! :o) Rick -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, April 07, 2010 5:22 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion Can't this woman afford to host a web site and pay people who work on it? Apparently not. I'll bet she can't even afford CF Builder! I'll be here all week. Try the veal! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332737 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is ColdFusion request speed based on CPU clock speed alone?
Do you think a 64 bit OS or CF9 would allow my apps to better utilize newer CPU's , or would I still be bottlenecked by java to a single thread / request? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332738 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is ColdFusion request speed based on CPU clock speed alone?
The instruction width doesn't change the number of instructions you can run at any given time. Certain operations can be done more efficiently (for example, adding small numbers can be done in-instruction, rather than having to load stuff into registers first), but in general it's not going to matter. You're not going to magically get parallelism with 64-bit. And it has nothing to do with Java (or at least very little). Servicing an HTTP request is pretty much a top-to-bottom procedure, there isn't a way to easily divide it up into bits of work that can be run in parallel. But since HTTP servers are typically servicing multiple concurrent requests, the overhead of trying to parallelize a single request is hugely outweighed by simply parallelizing separate requests. If you've got a multicore, multiprocessor machine, it's exceptionally unlikely you're going to be one request at a time, so trying to optimize that use case is of little value. To go back to your original scenario. If 1 request to your machine with the 5540s takes 261ms, then I'd expect 16 simultaneous requests to also take about 260ms. The cores/processors will allow those 16 requests to all run in parallel with all the CPU they can use. Contrast this with your 5160s, which can run 1 request in 196ms, but should take around 392ms to service those same 16 concurrent requests (because it can service 8 at a time, so the second 8 wait while the first 8 are processed, and then they get some CPU). And it's probably actually worse than that because unless you have your JVM/CF tuned to your request load there will probably be context switches between threads so you'll loose a bit of efficiency trying to run 16 requests on 8 execution threads. cheers, barneyb On Wed, Apr 7, 2010 at 2:41 PM, John Foster jfos...@turbosquid.com wrote: Do you think a 64 bit OS or CF9 would allow my apps to better utilize newer CPU's , or would I still be bottlenecked by java to a single thread / request? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332739 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
raped by the record industry Whatever... seems to me that plenty of artists got rich with the help of the record industry. (And wouldn't have made anything without them...) She can send me a financial statement showing poverty and then she can get some assistance. Or perhaps she could just not go out to eat once and pay for an entire year of hosting. She's got plenty of paintings on her site that she refuses to sell that her fans would love to buy, I'm sure. She could sell one painting and buy a dedicated server (and hire a webmaster, too) for what that would bring in. I just get annoyed by famous people who are always willing to spend someone else's money instead of their own. If she's broke, I'll just need some proof and then I'll gladly do what I can to help her out. -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent: Wednesday, April 07, 2010 5:23 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion Keep in mind that most of the musicians of her era were raped by the record industry, so regardless of how famous she was, that doesn't equate to being rich in the music industry. -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 07, 2010 4:12 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion It looks like there won't be any monetary consideration for working for Joni Mitchell...she's even got a Consider a Financial Contribution to JoniMitchell.com graphic on the home page. Can't this woman afford to host a web site and pay people who work on it? I noticed on the bottom of another page of the site, http://jonimitchell.com/paintings/view.cfm?id=434 a Make a Donation button. Below that it reads Web Design by Far Studios and Extra Bandwidth courtesy of InHerEye Photography. Also, Programming by Front Range Digital Media. (That's who should be working on the site with GoDaddy, seems to me) She's also got a link to her latest CD for sale...what is she, a charity case? Many of us out here are trying to keep the ends met in our budgets and this famous singer is begging for charity? Whatever... -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Wednesday, April 07, 2010 4:53 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332740 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
Oh, and I wonder how her record company treats its artists... -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent: Wednesday, April 07, 2010 5:23 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion Keep in mind that most of the musicians of her era were raped by the record industry, so regardless of how famous she was, that doesn't equate to being rich in the music industry. -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 07, 2010 4:12 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion It looks like there won't be any monetary consideration for working for Joni Mitchell...she's even got a Consider a Financial Contribution to JoniMitchell.com graphic on the home page. Can't this woman afford to host a web site and pay people who work on it? I noticed on the bottom of another page of the site, http://jonimitchell.com/paintings/view.cfm?id=434 a Make a Donation button. Below that it reads Web Design by Far Studios and Extra Bandwidth courtesy of InHerEye Photography. Also, Programming by Front Range Digital Media. (That's who should be working on the site with GoDaddy, seems to me) She's also got a link to her latest CD for sale...what is she, a charity case? Many of us out here are trying to keep the ends met in our budgets and this famous singer is begging for charity? Whatever... -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Wednesday, April 07, 2010 4:53 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332741 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Is ColdFusion request speed based on CPU clock speed alone?
No... 64 bit doesn't really help the speed of execution. You still have a thread and a processor core running execution sets It helps with capacity or width of data transfer. It's an important and necessary step - but misunderstood. In fact you might notice that some technologies have moved away from wider and wider data paths toward faster serialization, notably SATA and PCIe. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: John Foster [mailto:jfos...@turbosquid.com] Sent: Wednesday, April 07, 2010 4:41 PM To: cf-talk Subject: Re: Is ColdFusion request speed based on CPU clock speed alone? Do you think a 64 bit OS or CF9 would allow my apps to better utilize newer CPU's , or would I still be bottlenecked by java to a single thread / request? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332742 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Is ColdFusion request speed based on CPU clock speed alone?
Barney - you are my new hardware hero... nice explanation :) -Mark -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, April 07, 2010 5:02 PM To: cf-talk Subject: Re: Is ColdFusion request speed based on CPU clock speed alone? The instruction width doesn't change the number of instructions you can run at any given time. Certain operations can be done more efficiently (for example, adding small numbers can be done in-instruction, rather than having to load stuff into registers first), but in general it's not going to matter. You're not going to magically get parallelism with 64-bit. And it has nothing to do with Java (or at least very little). Servicing an HTTP request is pretty much a top-to-bottom procedure, there isn't a way to easily divide it up into bits of work that can be run in parallel. But since HTTP servers are typically servicing multiple concurrent requests, the overhead of trying to parallelize a single request is hugely outweighed by simply parallelizing separate requests. If you've got a multicore, multiprocessor machine, it's exceptionally unlikely you're going to be one request at a time, so trying to optimize that use case is of little value. To go back to your original scenario. If 1 request to your machine with the 5540s takes 261ms, then I'd expect 16 simultaneous requests to also take about 260ms. The cores/processors will allow those 16 requests to all run in parallel with all the CPU they can use. Contrast this with your 5160s, which can run 1 request in 196ms, but should take around 392ms to service those same 16 concurrent requests (because it can service 8 at a time, so the second 8 wait while the first 8 are processed, and then they get some CPU). And it's probably actually worse than that because unless you have your JVM/CF tuned to your request load there will probably be context switches between threads so you'll loose a bit of efficiency trying to run 16 requests on 8 execution threads. cheers, barneyb On Wed, Apr 7, 2010 at 2:41 PM, John Foster jfos...@turbosquid.com wrote: Do you think a 64 bit OS or CF9 would allow my apps to better utilize newer CPU's , or would I still be bottlenecked by java to a single thread / request? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332743 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
The veal is really really good. On Wed, Apr 7, 2010 at 6:04 PM, Rick Faircloth r...@whitestonemedia.comwrote: Oh, and I wonder how her record company treats its artists... -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent: Wednesday, April 07, 2010 5:23 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion Keep in mind that most of the musicians of her era were raped by the record industry, so regardless of how famous she was, that doesn't equate to being rich in the music industry. -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 07, 2010 4:12 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion It looks like there won't be any monetary consideration for working for Joni Mitchell...she's even got a Consider a Financial Contribution to JoniMitchell.com graphic on the home page. Can't this woman afford to host a web site and pay people who work on it? I noticed on the bottom of another page of the site, http://jonimitchell.com/paintings/view.cfm?id=434 a Make a Donation button. Below that it reads Web Design by Far Studios and Extra Bandwidth courtesy of InHerEye Photography. Also, Programming by Front Range Digital Media. (That's who should be working on the site with GoDaddy, seems to me) She's also got a link to her latest CD for sale...what is she, a charity case? Many of us out here are trying to keep the ends met in our budgets and this famous singer is begging for charity? Whatever... -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Wednesday, April 07, 2010 4:53 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332744 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is ColdFusion request speed based on CPU clock speed alone?
Barney - that is a very very helpful explanation. On Wed, Apr 7, 2010 at 6:41 PM, Mark A. Kruger mkru...@cfwebtools.comwrote: Barney - you are my new hardware hero... nice explanation :) -Mark -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, April 07, 2010 5:02 PM To: cf-talk Subject: Re: Is ColdFusion request speed based on CPU clock speed alone? The instruction width doesn't change the number of instructions you can run at any given time. Certain operations can be done more efficiently (for example, adding small numbers can be done in-instruction, rather than having to load stuff into registers first), but in general it's not going to matter. You're not going to magically get parallelism with 64-bit. And it has nothing to do with Java (or at least very little). Servicing an HTTP request is pretty much a top-to-bottom procedure, there isn't a way to easily divide it up into bits of work that can be run in parallel. But since HTTP servers are typically servicing multiple concurrent requests, the overhead of trying to parallelize a single request is hugely outweighed by simply parallelizing separate requests. If you've got a multicore, multiprocessor machine, it's exceptionally unlikely you're going to be one request at a time, so trying to optimize that use case is of little value. To go back to your original scenario. If 1 request to your machine with the 5540s takes 261ms, then I'd expect 16 simultaneous requests to also take about 260ms. The cores/processors will allow those 16 requests to all run in parallel with all the CPU they can use. Contrast this with your 5160s, which can run 1 request in 196ms, but should take around 392ms to service those same 16 concurrent requests (because it can service 8 at a time, so the second 8 wait while the first 8 are processed, and then they get some CPU). And it's probably actually worse than that because unless you have your JVM/CF tuned to your request load there will probably be context switches between threads so you'll loose a bit of efficiency trying to run 16 requests on 8 execution threads. cheers, barneyb On Wed, Apr 7, 2010 at 2:41 PM, John Foster jfos...@turbosquid.com wrote: Do you think a 64 bit OS or CF9 would allow my apps to better utilize newer CPU's , or would I still be bottlenecked by java to a single thread / request? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332745 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Joni Mitchell and Cold Fusion
Mr. Badguy time again. Please keep posts to the cf-talk list to technical topics if at all possible. Comments on the music industry, it's treatment of artists, etc. can and should be moved to the CF-OT or CF-Community lists. Just trying to keep the signal to noise ration more to the signal side. Thanks -- Michael Dinowitz On Wed, Apr 7, 2010 at 7:00 PM, John Allen johnfal...@gmail.com wrote: The veal is really really good. On Wed, Apr 7, 2010 at 6:04 PM, Rick Faircloth r...@whitestonemedia.comwrote: Oh, and I wonder how her record company treats its artists... -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent: Wednesday, April 07, 2010 5:23 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion Keep in mind that most of the musicians of her era were raped by the record industry, so regardless of how famous she was, that doesn't equate to being rich in the music industry. -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 07, 2010 4:12 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion It looks like there won't be any monetary consideration for working for Joni Mitchell...she's even got a Consider a Financial Contribution to JoniMitchell.com graphic on the home page. Can't this woman afford to host a web site and pay people who work on it? I noticed on the bottom of another page of the site, http://jonimitchell.com/paintings/view.cfm?id=434 a Make a Donation button. Below that it reads Web Design by Far Studios and Extra Bandwidth courtesy of InHerEye Photography. Also, Programming by Front Range Digital Media. (That's who should be working on the site with GoDaddy, seems to me) She's also got a link to her latest CD for sale...what is she, a charity case? Many of us out here are trying to keep the ends met in our budgets and this famous singer is begging for charity? Whatever... -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Wednesday, April 07, 2010 4:53 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332746 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Joni Mitchell and Cold Fusion
Bad boys, bad boys, whatcha gonna do when he comes for you... -Original Message- From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] Sent: Wednesday, April 07, 2010 7:21 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion Mr. Badguy time again. Please keep posts to the cf-talk list to technical topics if at all possible. Comments on the music industry, it's treatment of artists, etc. can and should be moved to the CF-OT or CF-Community lists. Just trying to keep the signal to noise ration more to the signal side. Thanks -- Michael Dinowitz On Wed, Apr 7, 2010 at 7:00 PM, John Allen johnfal...@gmail.com wrote: The veal is really really good. On Wed, Apr 7, 2010 at 6:04 PM, Rick Faircloth r...@whitestonemedia.comwrote: Oh, and I wonder how her record company treats its artists... -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent: Wednesday, April 07, 2010 5:23 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion Keep in mind that most of the musicians of her era were raped by the record industry, so regardless of how famous she was, that doesn't equate to being rich in the music industry. -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 07, 2010 4:12 PM To: cf-talk Subject: RE: Joni Mitchell and Cold Fusion It looks like there won't be any monetary consideration for working for Joni Mitchell...she's even got a Consider a Financial Contribution to JoniMitchell.com graphic on the home page. Can't this woman afford to host a web site and pay people who work on it? I noticed on the bottom of another page of the site, http://jonimitchell.com/paintings/view.cfm?id=434 a Make a Donation button. Below that it reads Web Design by Far Studios and Extra Bandwidth courtesy of InHerEye Photography. Also, Programming by Front Range Digital Media. (That's who should be working on the site with GoDaddy, seems to me) She's also got a link to her latest CD for sale...what is she, a charity case? Many of us out here are trying to keep the ends met in our budgets and this famous singer is begging for charity? Whatever... -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Wednesday, April 07, 2010 4:53 PM To: cf-talk Subject: Re: Joni Mitchell and Cold Fusion If a VPS solution is too expensive, try CrystalTech.com, they have varying levels of service starting out around $17 a month. http://crystaltech.com/coldfusion9.aspx http://crystaltech.com/coldfusion9.aspx=] On Wed, Apr 7, 2010 at 1:44 PM, Kevin Pepperman chorno...@gmail.com wrote: Charlie beat me to it... Move it to Viviotech or some other VPS, Go Daddy did this stuff to me years ago. I moved my apps years ago off GD and never had an issue again. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332747 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: using cfhttp
If you are checking for the site to be up, you may as well check that everything is working ok also.. What I do is use cfhttp to get my home page - but I add a special url parameter which tells my page to add an entire record from my user's database at the bottom of the page. (I use my own record so I know if I made any recent changes). I then compare that page to a copy I store in the database. (I mark changeable sections like my banner ad so I do not count that part of the page).. if it is different, I save the page into the database and send a text alert to my cellphone which tells me a change has been made.. along with a link to a page on my website which shows me the code view of the old version as well as the new version so I can see what has changed. This allows me to: 1. Know if the page is working 2. Know if the page has changed (as in the recent ftp hacks) 3. Know if the database was hacked 4. Know if the database server is working At 11:36 AM 4/6/2010, you wrote: Hello, Is there a way to use cfhttp to see if a site is down? Does it involve using #HTMLCodeFormat(cfhttp.FileContent)# to see if a 403 error is downloaded? Thanks. RO HWW ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332748 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFHTTP and 30X Redirects
I am on CF5 so I am using a 3rd party CFX for CFHTTP (CFX_HTTP) and am making a site for a client who wants us to pull the page info from their users home pages and also make a screenshot of them. This is handled just fine and when there are 301 or 302 codes I can parse the headers to get the re-directed location without an issue. My question: Is there a limit on how many time a URL can be redirected. So far in our tests we have found up to 3 redirects from the main one and am just wondering if there is a limit? I am most likely going to pick an arbitrary number to prevent looping forever but wondered if there was an actual limit in a browser before it gives up? Dennis, Webmaster - www.halomaps.org .. |Halo Maps Website - http://www.halomaps.org | |Halo Movies Website - http://www.halomovies.org | |Halo CE Chronicles - http://hcec.halomaps.org | .. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332749 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: using cfhttp
We use a product called servers alive to monitor websites, servers, email, disk space, folders (ex cfmail rejected folder) and just about everything you can imagine. It outputs to a web page, does email and/or sms messaging notifications and is a jack of all trades for monitoring things. I can highly recommend it. http://www.woodstone.nu/salive/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332750 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFHTTP and 30X Redirects
My question: Is there a limit on how many time a URL can be redirected? Not really: http://en.wikipedia.org/wiki/URL_redirection#Redirect_loops Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332751 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFHTTP and 30X Redirects
Thanks Dave. I thought as much and I guess I guessed appropriately in breaking the loop at 5 smile Previous versions of this specification recommended a maximum of five redirections; some clients may exist that implement such a fixed limitation. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, April 07, 2010 8:57 PM To: cf-talk Subject: Re: CFHTTP and 30X Redirects My question: Is there a limit on how many time a URL can be redirected? Not really: http://en.wikipedia.org/wiki/URL_redirection#Redirect_loops Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332752 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm