CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
A client has asked for the ability to upload multiple images at once. We've got that working. The images are also being to a large and standard view size using CFIMAGE. This is working also. Problem is when we upload a lot of images, CF falls behind in processing the CMIMAGE and it overloads

RE: CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
CORRECTION: The images are also being resized to a large and standard view size using CFIMAGE Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F

Re: CFIMAGE Killing the Server

2012-05-07 Thread Raymond Camden
You are aware - I hope - that when you resize, you have something like 8 or so options for quality versus speed. Have you tried simply moving down to a faster, but less quality, resize? By default CF uses the best looking resize. Try something lower. That being said - yes - you could consider

Re: CFIMAGE Killing the Server

2012-05-07 Thread Raymond Camden
Here is a blog post on resizing options: http://www.raymondcamden.com/index.cfm/2008/11/1/ColdFusion-8-Image-Resize-options On Mon, May 7, 2012 at 10:38 AM, Robert Harrison rob...@austin-williams.com wrote: CORRECTION:  The images are also being resized to a large and standard view size

Re: Video Streaming Provider

2012-05-07 Thread Robert Rhodes
Thanks to Brian and Dave for the Brightcove suggestion. That looks like it will work great. -RR On Wed, May 2, 2012 at 12:28 PM, Brian Thornton br...@cfdeveloper.comwrote: Brightcove... It's cool also because the Allaire guys launched it. On Wed, May 2, 2012 at 12:26 PM, Robert Rhodes

Best IDE for cfscript

2012-05-07 Thread Robert Rhodes
What is the best IDE for cfcript work? CFBuilder 2? CFEclipse? Or? -RR ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

RE: CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
We found the problem. It was choking on CYMK images. We're now rejecting CYMK images and it's working. We're allowing the user to upload multiple images at once (maybe even 50), then resizing as needed using CFIMAGE. Works fine when you put in a reject for CYMK images. CFIMAGE does convert

RE: CFIMAGE Killing the Server

2012-05-07 Thread andy matthews
Are you informing the user when a specific image is rejected? -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Monday, May 07, 2012 10:59 AM To: cf-talk Subject: RE: CFIMAGE Killing the Server We found the problem. It was choking on CYMK images.

Re: CFIMAGE Killing the Server

2012-05-07 Thread Brian Thornton
If you doa check first then handle it differently you'll find better results. http://www.digitalrewind.com/post.cfm/cfimage-cmyk-workaround-rgb On Mon, May 7, 2012 at 11:58 AM, Robert Harrison rob...@austin-williams.com wrote: We found the problem.  It was choking on CYMK images.  We're now

Re: Best IDE for cfscript

2012-05-07 Thread Eric Roberts
I use CFEclipse with no problems. Not a big fan of CFBuilder. Eric On Mon, May 7, 2012 at 10:46 AM, Robert Rhodes rrhode...@gmail.com wrote: What is the best IDE for cfcript work? CFBuilder 2? CFEclipse? Or? -RR

Re: Best IDE for cfscript

2012-05-07 Thread Cameron Childress
On Mon, May 7, 2012 at 11:46 AM, Robert Rhodes rrhode...@gmail.com wrote: What is the best IDE for cfcript work? CFBuilder 2? CFEclipse? Or? Try them both. Decide for yourself. That are both built on Eclipse, so it's easy to switch. -Cameron ...

Re: Best IDE for cfscript

2012-05-07 Thread Matt Quackenbush
Since it hasn't been mentioned yet, I would also recommend giving Intellij IDEA a shot, *especially* if you work in other languages, too. It was quite a change for me, having used CFE/CFB for many years, but I doubt I could switch back, now. http://www.jetbrains.com/idea/ On Mon, May 7, 2012

Re: Best IDE for cfscript

2012-05-07 Thread Brian Thornton
So there are large line number issues with most.. My backup is a old tool called PFE, Programmers FIle Editor. I've edited 14 GB text files with it. On Mon, May 7, 2012 at 1:21 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I use CFEclipse with no problems.  Not a big fan of

RE: CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
Are you informing the user when a specific image is rejected? Yes. Of course. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022  

Re: Best IDE for cfscript

2012-05-07 Thread Guust Nieuwenhuis
When I need to do some quick editing I use Notepad++ on Windows or Textwragler on Mac (both free editors). When working on projects I use CFBuilder for all the ColdFusion specific features like Server management, tailview, extensions, ... Don't forget that CFBuilder has a free express

MySQL question

2012-05-07 Thread Che Vilnonis
Should be a simple one for a mysql guru. What is the mysql equivalent of the following? select datePart(dd,timestamp) as dayOfMonth, count(timestamp) as searchesPerDay from mytable where (timestamp between '5/1/2012 00:00:00' and '5/31/2012 23:59:59') group by datePart(dd,timestamp) order by

Re: CFIMAGE Killing the Server

2012-05-07 Thread .jonah
One thing I do if the source images are a lot larger than the destination dimensions is do a two-step resize. First, resize to 50% or 25% very quickly using highestPerformance, then go from that intermediate step down to the final size using highestQuality to get a nice looking image in much

UDF for IMG SRC

2012-05-07 Thread Michael Muller
Anyone know of a UDF or regex that will pull the src value from img tags within a larger html string? ~| Order the Adobe Coldfusion Anthology now!

Controlling Spiders

2012-05-07 Thread Richard Steele
Today we had Google + 3 or 4 other spiders hammering our multi-instance server at the same time. Is there a way to control these bots to prevent them from submitting request after request? How do most high traffic servers handle this? Thanks!

Re: Controlling Spiders

2012-05-07 Thread Russ Michaels
this is the official way to do it. http://www.robotstxt.org/ Only the main search engines honour this though, the less popular search spiders will ignore it and do as they like. for those you can do some web content filtering or use a web application firewall to control activity on your site.

Re: Controlling Spiders

2012-05-07 Thread Money Pit
There is a robots.txt setting that may be of some use. User-agent: * Crawl-delay: 0.5 Tells all bots to only hit two pages per second. I'm pretty sure Google does not follow this particular command, and I know from sad experience that there are plenty of rogues out there who will either pay

Re: Controlling Spiders

2012-05-07 Thread .jonah
Or if you do need session state and/or customized content per user, then a more sophisticated caching implementation is in order. Cache (on disk or in memory) the parts of the page that are expensive to produce and are common across all users and then include them into dynamic pages which

Re: Controlling Spiders

2012-05-07 Thread Money Pit
On Mon, May 7, 2012 at 4:28 PM, .jonah jonah@creori.com wrote: Even some judicious just of cfcache will get you a long way. Yup. For us, the expensive stuff was unique per page, but also part of the problem that we never seemed to be able to get a handle on was the concurrency demands

Re: MySQL question

2012-05-07 Thread Azadi Saryev
select day(`timestamp`) as dayOfMonth, count(`timestamp`) as searchesPerDay from mytable where `timestamp` between '2012-05-01 00:00:00' and '2012-05-31 23:59:59') group by dayOfMonth order by dayOfMonth asc iirc, timestamp is a reserved word in MySQL - hence it's enclosed in ticks above (note

bizarre cffile upload bug.

2012-05-07 Thread Tony
hi there. im sending a file to my server with the following code: cffile action=upload destination=d:\webserver\doman.com\www\docs nameconflict=overwrite filefield=pdf_file attributes=readonly / the result of this when I browse the file in chrome and safari (on my mac) both result in a Failed

Re: bizarre cffile upload bug.

2012-05-07 Thread LRS Scout
Do you have the form attributes right, umm type and method? On Mon, May 7, 2012 at 9:32 PM, Tony tonyw...@gmail.com wrote: hi there. im sending a file to my server with the following code: cffile action=upload destination=d:\webserver\doman.com\www\docs nameconflict=overwrite

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony
Tony Weeg Sr. Web Applications Architect Developer Navtrak, Inc. Smart Companies Drive Navtrak www.navtrakgps.com 800.787.2337 t'is correct... form method=post action=#cgi.script_name# enctype=multipart/form-data i believe?! tw On Mon, May 7, 2012 at 9:38 PM, LRS Scout lrssc...@gmail.com

Re: bizarre cffile upload bug.

2012-05-07 Thread LRS Scout
Yeah those are right. On Mon, May 7, 2012 at 9:57 PM, Tony tonyw...@gmail.com wrote: Tony Weeg Sr. Web Applications Architect Developer Navtrak, Inc. Smart Companies Drive Navtrak www.navtrakgps.com 800.787.2337 t'is correct... form method=post action=#cgi.script_name#

Re: bizarre cffile upload bug.

2012-05-07 Thread William Seiter
Is that location inside of the web root? You say the file exists but isn't openable, right? If it is outside of the web root, you may need to add a mapping to the server. -- William Seiter On May 7, 2012, at 6:32 PM, Tony tonyw...@gmail.com wrote: hi there. im

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony Weeg
it's chrome. wow. works just fine in safari. ok, thanks anyway guys! tony On Mon, May 7, 2012 at 10:07 PM, William Seiter will...@seiter.com wrote: Is that location inside of the web root?  You say the file exists but isn't openable, right?  If it is outside of the web root, you may need

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony
here's my chrome info: Version 19.0.1084.41 beta tw On Mon, May 7, 2012 at 10:10 PM, Tony Weeg t...@navtrak.net wrote: it's chrome. wow. works just fine in safari. ok, thanks anyway guys! tony On Mon, May 7, 2012 at 10:07 PM, William Seiter will...@seiter.com wrote: Is that

Re: Controlling Spiders

2012-05-07 Thread Dave Watts
Today we had Google + 3 or 4 other spiders hammering our multi-instance server at the same time. Is there a way to control these bots to prevent them from submitting request after request? How do most high traffic servers handle this? Thanks! The other answers you've already received are

Re: bizarre cffile upload bug.

2012-05-07 Thread Dave Watts
im sending a file to my server with the following code: cffile action=upload  destination=d:\webserver\doman.com\www\docs nameconflict=overwrite filefield=pdf_file attributes=readonly / the result of this when I browse the file in chrome and safari (on my mac) both result in a Failed to

Re: bizarre cffile upload bug.

2012-05-07 Thread Ras Tafari
bad guess amigo :) but seriously, I'm merely hitting a method in my main controller that does stuff for this site. works in safari 100% of the time!!! just not chrome. weird. cftry

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony
I must assume that the beta tag is maybe what is happening here. something about the filestream is getting corrupt when sending a file up. wird. Tony Weeg Sr. Web Applications Architect Developer Navtrak, Inc. Smart Companies Drive Navtrak www.navtrakgps.com 800.787.2337 On Mon, May

Re: bizarre cffile upload bug.

2012-05-07 Thread Dave Watts
but seriously, I'm merely hitting a method in my main controller that does stuff for this site. works in safari 100% of the time!!! just not chrome. I'm still going with something happening after the file upload for $100, Alex. But to see what exactly this might be, here's what I'd do: 1.

Re: bizarre cffile upload bug.

2012-05-07 Thread Dave Watts
I must assume that the beta tag is maybe what is happening here. something about the filestream is getting corrupt when sending a file up. wird. Is the file itself written properly to the server in both cases? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

Re: bizarre cffile upload bug.

2012-05-07 Thread .jonah
Can you download the uploaded file via FTP and open it in Chrome? Also is it byte-for-byte the same as the original you uploaded? On 5/7/12 8:57 PM, Dave Watts wrote: I must assume that the beta tag is maybe what is happening here. something about the filestream is getting corrupt when

after a long hiatus back to talk about frameworks

2012-05-07 Thread Don
Hi, its been a while since I did any CF work. I am wondering what framework seems to be popular right now. I did a bit of fusebox and liked it. But am wondering about the others out there. I noticed CF builder 2 didn't have any support for it as did CFEclipse. I find that odd. Has FB gone