Re: CGI.querystring
Lol yes, thanks. Russ On 10 Jan 2011 00:36, Azadi Saryev azadi.sar...@gmail.com wrote: Russ, I think you really meant cfset QS = ListAppend(QS, key '=' url[key], ) Azadi On 10/01/2011 07:00 , Russ Michaels wrote: cfset QS = ListAppend(QS,key,) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340607 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: iCal Version 4.0.3/vCalendar Auto Accept Issue
Gentlemen: Thank you for your feedback. Below is the code I'm currently developing/editing. I must apologize for the mess, some of the items we're not using and I haven't cleaned things up yet. the myquery is an array coming from a cffunction - BEGIN MESSY CODE - function iCalBuild(myquery) { var currentRow = 1; var vCalAll = ''; var vCal = ; var dtstart = ; var dtend = ; for (; currentRow lte myquery.RecordCount; currentRow = currentRow + 1) { if (NOT IsDefined(myquery.starttime)) myquery.starttime[currentRow] = DateConvert('local2Utc', Now()); if (NOT IsDefined(myquery.EndTime)) myquery.EndTime[currentRow] = DateConvert('local2Utc', Now()); if (NOT IsDefined(myquery.location)) myquery.location[currentRow] = N/A; if (NOT IsDefined(myquery.title)) myquery.title[currentRow] = Auto vCalendar Generated; if (NOT IsDefined(myquery.description)) myquery.description[currentRow] = Autobot VCalendar Generated; if (NOT IsDefined(stEvent.importance)) myquery.importance[currentRow] = 1; vCal = vCal BEGIN:VEVENT CRLF; vCal = vCal UID: myquery.pkid_event[currentRow] CRLF; if (NOT IsDefined(myquery.datecreated)) myquery.datecreated[currentRow] = DateConvert('local2Utc',myquery.datecreated[currentRow]); //myquery.datecreated[currentRow] = myquery.datecreated[currentRow]; vCal = vCal DTSTAMP: DateFormat(myquery.datecreated[currentRow],mmdd) T TimeFormat(myquery.datecreated[currentRow], HHmmss) Z CRLF; vCal = vCal ORGANIZER:MAILTO:somed...@ucsd.edu CRLF; dtstart = CreateDateTime( DateFormat(myquery.StartTime[currentRow], ''), DateFormat(myquery.StartTime[currentRow], 'mm'), DateFormat(myquery.StartTime[currentRow], 'dd'), TimeFormat(myquery.StartTime[currentRow], 'HH'), TimeFormat(myquery.StartTime[currentRow], 'mm'), TimeFormat(myquery.StartTime[currentRow], 'ss')); dtend = CreateDateTime( DateFormat(myquery.EndTime[currentRow], ''), DateFormat(myquery.EndTime[currentRow], 'mm'), DateFormat(myquery.EndTime[currentRow], 'dd'), TimeFormat(myquery.EndTime[currentRow], 'HH'), TimeFormat(myquery.EndTime[currentRow], 'mm'), TimeFormat(myquery.EndTime[currentRow], 'ss')); dtstart = DateConvert('local2Utc',dtstart); //dtstart = myquery.starttime[currentRow]; /*if (myquery.allday[currentRow] NEQ 1) { vCal = vCal DTSTART: DateFormat(dtstart,mmdd) T TimeFormat(dtstart, HHmmss) Z; } else {*/ vCal = vCal DTSTART: DateFormat(dtstart,mmdd) T
RGBA Alpha channel
I CFIMAGE, CFX_IMAGECR3 AND CFX_IMAGEFLARE and so far am unable to create a png or a gif image With text on a transparent background. Would love an example if anyone has any suggestions. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340609 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RGBA Alpha channel
I've had the same issue. I use ImageFlare...The solution I've been using is a TOTAL HACK, but it works. Create a blank transparent PNG file in Photoshop, then use that as the basis for your new image. cfx_imageflare source=\ b = Bitmap( '#expandpath('Trans.png')#' ) f = Font( 'Coliseum Normal', 24 ) b.text( 'Some Text', 0, b.height, f, Color('red') ) b.save( '#expandpath('Trans2.png')#' ) You can make the transparent image any size as you'll be able to dynamically size it to fit as you need it. HTH =] On Mon, Jan 10, 2011 at 10:19 AM, Terry Troxel te...@it-werks.com wrote: I CFIMAGE, CFX_IMAGECR3 AND CFX_IMAGEFLARE and so far am unable to create a png or a gif image With text on a transparent background. Would love an example if anyone has any suggestions. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340610 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RGBA Alpha channel
You do know you can use Java to create a blank transparent image? Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Tuesday, 11 January 2011 6:47 AM To: cf-talk Subject: Re: RGBA Alpha channel I've had the same issue. I use ImageFlare...The solution I've been using is a TOTAL HACK, but it works. Create a blank transparent PNG file in Photoshop, then use that as the basis for your new image. cfx_imageflare source=\ b = Bitmap( '#expandpath('Trans.png')#' ) f = Font( 'Coliseum Normal', 24 ) b.text( 'Some Text', 0, b.height, f, Color('red') ) b.save( '#expandpath('Trans2.png')#' ) You can make the transparent image any size as you'll be able to dynamically size it to fit as you need it. HTH =] ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340611 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RGBA Alpha channel
so far am unable to create a png or a gif image For transparent png's, use image ImageNew Just be sure to specify type argb. ie ImageNew(, width, height, argb). CF does not support creating *new* transparent gif's natively. But it can be done with a little java. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340612 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RGBA Alpha channel
Thanks Alan, works great and I am glad you figured it out. Thanks to the rest of you as well, but I am asking for a way to create a PNG with colored text and a transparent background, not a totally transparent image. I just couldn't get a handle on CFX_IMAGEFLARE's rgba function calls that work from their documentation. I am waiting for a reply from them, but Alan came through with a work-around until they get back to me. Terry -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Monday, January 10, 2011 11:47 AM To: cf-talk Subject: Re: RGBA Alpha channel I've had the same issue. I use ImageFlare...The solution I've been using is a TOTAL HACK, but it works. Create a blank transparent PNG file in Photoshop, then use that as the basis for your new image. cfx_imageflare source=\ b = Bitmap( '#expandpath('Trans.png')#' ) f = Font( 'Coliseum Normal', 24 ) b.text( 'Some Text', 0, b.height, f, Color('red') ) b.save( '#expandpath('Trans2.png')#' ) You can make the transparent image any size as you'll be able to dynamically size it to fit as you need it. HTH =] ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340613 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RGBA Alpha channel
Thanks to the rest of you as well, but I am asking for a way to create a PNG with colored text and a transparent background, not a totally transparent image. That is exactly what ImageNew(..., argb) does. Of course if you do not draw anything on it, or set the correct font color ... it may seem totally transparent ;) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340614 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RGBA Alpha channel
I am waiting for a reply from them, Yeah...Good luck with that... I've been waiting several years to hear back from them on several issues... =\ On Mon, Jan 10, 2011 at 2:03 PM, Leigh cfsearch...@yahoo.com wrote: Thanks to the rest of you as well, but I am asking for a way to create a PNG with colored text and a transparent background, not a totally transparent image. That is exactly what ImageNew(..., argb) does. Of course if you do not draw anything on it, or set the correct font color ... it may seem totally transparent ;) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340615 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfquery mysql timer
hi, we have a table that has 15000 rows. When we insert data into it, each row is taking approx 300ms to insert by using the cfquery tag. If we paste the insert code directly into mysql its taking only 0.09 ms. We thought this may be due to cfquery having to connect to mysql, or possibly due to the cfqueryparams. so in the cf administrator we set allowMultiQueries=true in the conncetion string and pasted 5 query strings into one cfquery tag, each with no cfqueryparam tags (shown below). The query took 500ms, yet if we run the same 5 statements in mysql, they took 0.45ms Would anyone have any idea why this would happen? Thanks INSERT INTO questions_1_100(primaryid,q_1)VALUES (15037,1) ON DUPLICATE KEY UPDATE q_1 = 1; INSERT INTO questions_1_100(primaryid,q_4)VALUES (15037,93) ON DUPLICATE KEY UPDATE q_4 = 93; INSERT INTO questions_1_100(primaryid,q_1)VALUES (15038,1) ON DUPLICATE KEY UPDATE q_1 = 1; INSERT INTO questions_1_100(primaryid,q_4)VALUES (15038,93) ON DUPLICATE KEY UPDATE q_4 = 93; INSERT INTO questions_701_800(primaryid,q_777)VALUES (15038,264) ON DUPLICATE KEY UPDATE q_777 = 264; ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340616 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RGBA Alpha channel
... it may seem totally transparent ;) In other words, if you have drawn the text and the image still seems *100%* transparent, you are probably doing something wrong :) Such as forgetting to set the font color, accidentally drawing the text _outside_ the image boundaries so it's not visible, etcetera. But it is hard to say without seeing the code. Example: cfset img = ImageNew(, 100, 50, argb) !--- deliberately skip font color to make it *seem* 100% transparent on a white background cfset ImageSetDrawingColor(img, ##008000) --- cfset ImageDrawText(img, my text, 20, 20 ) div style=background-color: #ff; border: ff solid 1px cfimage action=writeToBrowser source=#img# /div div style=background-color: #ff; cfimage action=writeToBrowser source=#img# /div ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340617 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
webserver configuration tool
What should the settings be in the webserver configuration tool for coldfusion 8 I'm getting the following error message: The service is unavailable. Server Error Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340618 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: webserver configuration tool
Is the ColdFusion Application Service started? On Mon, Jan 10, 2011 at 8:08 PM, Richard Steele r...@photoeye.com wrote: What should the settings be in the webserver configuration tool for coldfusion 8 I'm getting the following error message: The service is unavailable. Server Error Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340619 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: webserver configuration tool
Rich, Usually you get this when the cfusion or admin instance isn't started. Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Richard Steele [mailto:r...@photoeye.com] Sent: Monday, January 10, 2011 7:09 PM To: cf-talk Subject: webserver configuration tool What should the settings be in the webserver configuration tool for coldfusion 8 I'm getting the following error message: The service is unavailable. Server Error Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340620 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion Array/List questions
What about: cfset myArray = [{name:'col1', index:'col1', sorttype:'string'},{name:'col2', index:'col2', sorttype:'string'},{name:'col3', index:'col3', sorttype:'string'}] / On Thu, Jan 6, 2011 at 1:01 PM, fun and learning funandlrnn...@gmail.comwrote: Hi All- I am trying to build a list with following values: cfset list = {name:'col1', index:'col1', sorttype:'string'},{name:'col2', index:'col2', sorttype:'string'},{name:'col3', index:'col3', sorttype:'string'} So the above list has 3 values with each value enclosed within the brackets. When i convert it into array, am getting back 18 values as it is counting each attribute in the value. How can I make it to consider them as 3 values? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340621 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Not double submitting resumes
I don't think they necessarily can say the name of their client for contractual reasons. More importantly, they have a vested interest in not doing so. If they say the name of their client, what would then stop an applicant from applying directly to the company, knowing they can probably get themselves a better rate that way while still costing the company less (because the company doesn't have to pay the recruiter a fee). Scott On Jan 10, 2011, at 9:33 AM, Phillip Vector wrote: Anyone else see an issue with how recruiters recruit? I've been told by several people that if whoever is collecting the resumes for a position gets a resume twice (either from the same person or 2 different people), they toss both out. So why do recruiters keep the details as to who their clients are to themselves? Do they honestly expect that they are the only ones who are trying to get people? Can they not put 2 and 2 together? If recruiters don't outright say the names of their client, doesn't this weaken their efforts overall? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4401 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm
Re: Not double submitting resumes
True. But that then sets the tone of sending in a resume not knowing if it's been already applied to. From what I hear, recruiters who keep doing this tend to not be contracted again to do so. As for against their contract.. It seems like allot of recruiters are just cruising craigslist or such looking for job postings. On Mon, Jan 10, 2011 at 8:47 AM, Scott Brady dsbr...@scottbrady.net wrote: I don't think they necessarily can say the name of their client for contractual reasons. More importantly, they have a vested interest in not doing so. If they say the name of their client, what would then stop an applicant from applying directly to the company, knowing they can probably get themselves a better rate that way while still costing the company less (because the company doesn't have to pay the recruiter a fee). Scott On Jan 10, 2011, at 9:33 AM, Phillip Vector wrote: Anyone else see an issue with how recruiters recruit? I've been told by several people that if whoever is collecting the resumes for a position gets a resume twice (either from the same person or 2 different people), they toss both out. So why do recruiters keep the details as to who their clients are to themselves? Do they honestly expect that they are the only ones who are trying to get people? Can they not put 2 and 2 together? If recruiters don't outright say the names of their client, doesn't this weaken their efforts overall? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4402 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm