Re: Coldfusion 10: Scheduling Daily Task is Advanced?

2012-05-28 Thread Dorioo
Wow. Thank you, Andy. Where did you hear about this issue? I'd like to continue following for updates. If it's online, just point me in a direction like their forums and I'll find it. Thank you. - Gabriel On Mon, May 28, 2012 at 7:12 PM, Andy Allan andy.al...@gmail.com wrote: Daily tasks

Re: Create CSV and TAB docs

2011-11-06 Thread Dorioo
If you're familiar with how to access java in coldfusion, I've found this library to be very useful when creating delimited files. http://www.csvreader.com/java_csv.php - Gabriel On Sun, Nov 6, 2011 at 1:26 AM, Torrent Girl moniqueb...@gmail.com wrote: On 11/4/2011 11:39 PM, Torrent Girl

Re: Orm update to reflect db changes

2011-07-22 Thread Dorioo
Try ormReload() - Gabriel On Wed, Jul 20, 2011 at 10:13 PM, Victor Moore victor.mo...@gmail.com wrote: Hi, I have a question about orm on CF 9.01. When I make changes to the db the calls using orm do not see the changes. The only way to fix it is to re-start the server. While this is OK

Re: Web Site not coming up in Firefox

2011-06-05 Thread Dorioo
I _don't_ get a under construction page for http://www.shellbells.net/ - Gabriel On Sun, Jun 5, 2011 at 10:27 PM, Peter Donahue pdonah...@satx.rr.com wrote: Good evening everyone,    Okay here's an interesting one for you. After several months of being down I finally restored a client's

Re: HOF Site

2011-05-20 Thread Dorioo
Looks normal to me now. But 2 minutes ago, I saw a white page with a sentence about contacting someone. - Gabriel On Fri, May 20, 2011 at 11:26 AM, Ken Hammond khamm...@saleminc.com wrote: Looks normal to me. -Original Message- From: Steve Milburn scmilb...@gmail.com To: cf-talk

Re: generating hmac-sha1 signatures w/ coldfusion

2011-05-20 Thread Dorioo
I haven't worked with the Yahoo API but I have worked with other APIs that required a hmac-sha1 signature and this function was invaluable. You'll likely need it as some point. http://www.coldfusiondeveloper.com.au/go/note/2008/01/18/hmac-sha1-using-java/ - Gabriel On Fri, May 20, 2011 at 1:33

Re: generating hmac-sha1 signatures w/ coldfusion

2011-05-20 Thread Dorioo
True. In my code, using the original function on that page, I take the calculation from the function and do this to it to create a readable string: toBase64(digest, hex) where digest is the code created by the function. - Gabriel On Fri, May 20, 2011 at 2:22 PM, Jeff Gladnick

Re: Bless cfqueryparam - helped defend against a persistent hack attempt

2011-05-02 Thread Dorioo
- CFQUERYPARAM makes all values look like parameter 1... in the error messages, instead of the real values, not really handful when debugging; - CFQUERYPARAM makes all queries more difficult to write AND to read for programmers; Are you implying that cfqueryparam _shouldn't_ be used for

Re: Bless cfqueryparam - helped defend against a persistent hack attempt

2011-05-02 Thread Dorioo
Ok. I'll respect your opinion. But for anyone new to CF that may read this, I don't believe there is a debate about using cfqueryparam. My impression is that the settled majority best practice is to use it blindly, use it everywhere rather than not use it, or use it sparingly, or not use it

Re: Converting regular date to a Spectra formatted database date?

2011-03-24 Thread Dorioo
Well, I've found that the code below will give me the first part before the period (40626). Assuming the second part is the time, I still have to figure out the calculation it's using. cfdump var=#datediff(d,12/30/1899,{ts '2011-03-24 00:00:00'})# - Gabriel On Thu, Mar 24, 2011 at 10:06 AM,

Re: Converting regular date to a Spectra formatted database date?

2011-03-24 Thread Dorioo
Thank you all. @Bryan: True. I'm sure it's not specific to spectra, but I knew anyone that has worked with a date from spectra would recognize what I meant by the example. Didn't know what else to call it. @Ray: No access to spectra code. Just the legacy data. @Kym: Good catch, it does seem to

Re: Solr Summary Text

2011-03-16 Thread Dorioo
1. According to the docs, the summary is automatically generated by cfindex so that's unlikely to help. 2. The context summary may provide more information for you so I'd check it out to see what kind of results it gives you. contextPassages | Optional | 0 | The number of passages/sentences

Re: Solr Summary Text

2011-03-16 Thread Dorioo
it in CF, as this would allow me to perform per-collection tuning. However, if there is a config file somewhere that affect all Solr collections, then I am fine making the change there as well. Dean On Wed, Mar 16, 2011 at 3:57 PM, Dorioo dor...@gmail.com wrote: 1. According to the docs

Re: Riaforge down?

2011-03-06 Thread Dorioo
I got the error initially. But then I refreshed the page and it went away. - Gabriel On Sun, Mar 6, 2011 at 7:35 PM, Bobby Hartsfield bo...@acoderslife.com wrote: I've been having trouble with riaforge for the past couple of days. It has been intermittent until now. I could just refresh and

Re: Should I build my app as an API?

2011-01-28 Thread Dorioo
If you plan to expose the API anyway, then it's a solid idea. It's a great candidate for RESTful web services for the API. You'd need to authenticate requests to the API so I'd look at stuff like Google Checkout integration or Amazon S3 authentication for ideas you can emulate to secure the API

Re: Bug in CFAdmin?

2010-12-23 Thread Dorioo
Can't speak to the error but you may want to make your administrator be not publicly accessible. http://www.sharemyslides.com/CFIDE/administrator/ Generally a good idea but specifically because of stuff like this http://www.procheckup.com/vulnerability_manager/vulnerabilities/pr10-07

Re: List Sort help

2010-09-22 Thread Dorioo
Did you do this: Although you might need to use the text sort instead of numeric - Gabriel On Wed, Sep 22, 2010 at 12:26 PM, Tom Jones tjo...@acworld.com wrote: thanks, but I get an error saying cant convert 3.6.1 to numeric. tom ListSort should work:

Re: ORM and many to many relationships

2010-09-21 Thread Dorioo
What you see in the cfdump is not what's actually called when you get a user. When you cfdump an ORM entitiy, it tries to show _everything_. You can control how many levels are displayed by using the top attribute. PS. There is an CF ORM specific google group that you may find useful.

Re: ORM and many to many relationships

2010-09-21 Thread Dorioo
Yes, it's not preloaded. By default, it's lazy loaded. So, it's only loaded when you actually call it. http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSE01EDE03-6E6B-4669-8C54-358460778450.html - Gabriel On Tue, Sep 21, 2010 at 7:08 AM, Glyn Jackson glyn.jack...@newebia.co.ukwrote:

Re: ORM and many to many relationships

2010-09-21 Thread Dorioo
I can't speak for writedump's behavior but there is a difference between what's outputted by using the top attribute when using CFDUMP on an ORM object. I've experienced myself. Example: http://www.coldfusionjedi.com/index.cfm/2009/12/7/Using-DUMPTOP-with-ORM-CFCs - Gabriel On Tue, Sep 21,

Re: Removing new line from CSV?

2010-09-15 Thread Dorioo
If I recall correctly, I experienced problems when using just a file name as well. But was successful by using constructor using the filename, delimeter, and charset. I hope you can see what changes you're need from the code below which works within the context of my app but doesn't work on its

Re: Activating CF 9 server

2010-08-25 Thread Dorioo
who did you the cd from? Adobe? - Gabriel On Wed, Aug 25, 2010 at 4:06 PM, wrote: Click on the I .. you should need both the old and new serials. I have no old serial, this is a new installation. I did click on the I, entered the serial # I have on the back of the disk, in the New

Re: Stored Procedure or ORM

2010-08-07 Thread Dorioo
No, inefficiency is not a solid argument. All 3 have their uses. My experience has been that DBA = dislike ORM because they lose some control. And since he's in charge - Gabriel On Sat, Aug 7, 2010 at 10:51 AM, Matthew Allen a.matthe...@yahoo.com wrote: This is rather annoying, the

Re: ColdFusion Builder Code Color Problem

2010-07-02 Thread Dorioo
This happened to me as well. Have it installed as a plugin in eclipse. Set the date back to June, closed eclipse, and reopened. The color came back. Set the date back to today, close eclipse, and the color is still there. So far, so good. - Gabriel On Fri, Jul 2, 2010 at 12:58 PM,

Re: Converting a trial version to standard

2010-06-30 Thread Dorioo
I think you just enter the license key in the administrator. And voila, trial becomes standard. - Gabriel On Wed, Jun 30, 2010 at 4:16 PM, Rick Colman rcol...@cox.net wrote: I want to buy a license for CF9 to convert an installed trial version to a standard edition. I need a third-party to

Re: Is it time for Adobe to Rebrand Cold Fusion?

2010-06-23 Thread Dorioo
Maureen, can't both be done? They're not mutually exclusive. Especially when marketing and development are not that dependent on each other. - Gabriel On Wed, Jun 23, 2010 at 6:45 PM, Maureen mamamaur...@gmail.com wrote: I would much rather Abode spent the time and money on improving and

Re: coldbox 3

2010-05-13 Thread Dorioo
Official: http://groups.google.com/group/coldbox - Gabriel On Thu, May 13, 2010 at 5:36 PM, bill turner bill.tur...@selectcomfort.comwrote: snip Most people have found the M-builds to be plenty stable enough for production. My particular project has really pushed the limits of the new

Re: coldbox 3

2010-05-12 Thread Dorioo
M releases are stable for production use. But expect changes before 3.0. I've hunkered down with M5. Planning to move past that once 3.0 and CF9 updater 1 are released. - Gabriel On Wed, May 12, 2010 at 6:39 PM, bill turner bill.tur...@selectcomfort.comwrote: we are migrating to both cf9

Re: best way to extract these values

2010-04-27 Thread Dorioo
Here is what I use. - Gabriel !-- Create struct to hold values --- cfset responseStruct = structNew() !--- Treat the string as a list delimited by ampersands --- cfloop list=#nvpString# index=aNVPPair delimiters= !--- Treat each pair as a list delimited by equal signs. The key is

Re: Can this be done?

2010-04-19 Thread Dorioo
RE: First problem. Something like this is the problem: http://www.coldfusionjedi.com/index.cfm/2009/9/21/How-Galleon-was-Hacked - Gabriel On Mon, Apr 19, 2010 at 1:33 PM, Rick Faircloth r...@whitestonemedia.comwrote: Can you clarify this some, Andrew? Let's talk about the first problem,

Re: new fullasagoog

2010-04-09 Thread Dorioo
Didn't see any contact info on the site so hopefully this will reach them. Their RSS doesn't have valid links in it and so links on my google homepage are broken. http://www.fullasagoog.com/googblogpost/rss Links in the RSS are relative like /post5099/redirect - Gabriel On Tue, Apr 6, 2010 at

Re: FileExists using variable - not working

2010-04-08 Thread Dorioo
To troubleshoot, one, the pounds are not needed so I'd take those out. Two, in cfelse, what is the value of: cfoutput#variables.ImageSource#cfoutput do something else In other words, what is the variable's value as soon as you hit cfelse. - Gabriel On Thu, Apr 8, 2010 at 1:03 PM, Fred

Re: Flash on iPhone

2010-04-01 Thread Dorioo
I heard it has flash builder included which itself has CF Builder included. So it really should be priced at $499 as I don't need flash builder or CF Builder. - Gabriel On Thu, Apr 1, 2010 at 9:40 AM, Rick Faircloth r...@whitestonemedia.comwrote: I think we should start a discussion

Re: cf_sql_varchar dropping comma? 100,000 to 100.00

2010-03-30 Thread Dorioo
Are you certain your database column is a string and not numeric? It looks like it's taking everything before the comma and turning into a number. - Gabriel On Tue, Mar 30, 2010 at 8:26 AM, Paul Ihrig pih...@gmail.com wrote: cfqueryparam value = #arguments.dollar_value# cfsqltype =

Re: ColdFusion Builder Released!

2010-03-30 Thread Dorioo
Yes. If I subtract the fries and the soda from my value meal, then my sandwich should cost ~$2.50. But they charge me $4.00 for the sandwich alone! /s - Gabriel On Tue, Mar 30, 2010 at 11:43 AM, Dave Watts dwa...@figleaf.com wrote: Because FB4 standalone full on its own is $249.00, buy

Re: Whitespace markers in CF Builder

2010-03-30 Thread Dorioo
This happened to me twice so I know your pain. Unfortunately, the only fix I was able to find was to create a new workspace. It seemed tied to the workspace as a new one made it go away but using the existing one made it come back. - Gabriel On Tue, Mar 30, 2010 at 5:33 PM, Scott Berry

Re: (ot) email confirm

2010-03-26 Thread Dorioo
Aside: Are you only doing client validation? You really, really should be doing server validation and adding the javascript as sprinkles on top. - Gabriel On Fri, Mar 26, 2010 at 11:53 AM, Orlini, Robert rorl...@hwwilson.com wrote: Sorry folks a little off topic here, but I'm not good at

Re: Differences between MySQLs?

2010-03-24 Thread Dorioo
any caching on your query? - Gabriel On Wed, Mar 24, 2010 at 3:02 PM, Phillip Vector vec...@mostdeadlygame.com wrote: When I run this on my server.. SELECT * FROM Accounting Where PromoCode = 'CNJ0009001' I get 6 results... This is a local Dev server I have set up. When i run it at my

Re: var scope cfhttp within function

2010-03-24 Thread Dorioo
I believe so. Post below scoped the result name. Brian Kotek says in the comments you can also do cfset var cfhttp= / http://www.coldfusionmuse.com/index.cfm/2008/6/16/cfc.application.variables - Gabriel On Wed, Mar 24, 2010 at 8:27 PM, Andrew Grosset rushg...@yahoo.com wrote: using cfhttp

Re: Coldfusion SQL Hack

2010-03-22 Thread Dorioo
I'm making certain assumptions but are you ensuring your feedback is clean when it's saved? If it's not, that'd explain how they're getting nastiness into the DB which is the called in that query. If not, explain a little more of the attack as that query would not be susceptible to sql injection

Re: Coldfusion SQL Hack

2010-03-22 Thread Dorioo
The query you provided is only retrieving the offending code but would likely not be the source. I'd look at other sources. 1. Check if the javascript is saved in the database along with the feedback. If it is, then start looking at all the places where the feedback is entered. 2. Are you

Re: Coldfusion SQL Hack

2010-03-22 Thread Dorioo
1. You'd use HtmlEditFormat on any page that displayed the feedback. So on the public page if you show it back to the user and on the admin page. Generally, anywhere you're using #feedback# you'd want to do #htmlEditFormat(feedback)# 2. Yes, if you have a public form that is a simple text box

Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo
Another test comes to mind. I'd change the call to run a report to do something else like write a text file that's named using a UUID. Does that file get written again 5 minutes later? Testing to see if the main task runs twice for everything or if there's some relationship between running twice

Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo
- arguments.configNumber = 1 - local.uuidForReport = 52DE3980-C6AB-230F-FB79BCC2FA5D67E8 Bryan -Original Message- From: Dorioo [mailto:dor...@gmail.com] Sent: Friday, March 12, 2010 8:08 AM To: cf-talk Subject: Re: Phantom Scheduled Tasks Another test comes to mind. I'd change the call

Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo
file five minutes later. Sorry, that is why I included the time stamps to demonstrate that. I haven't experienced this with other scheduled tasks but none of the other scheduled tasks redirect to another URL either. Bryan -Original Message- From: Dorioo [mailto:dor...@gmail.com] Sent

Re: Old CF doc needs to learn new Java tricks

2010-03-12 Thread Dorioo
If you mean you want to load a java library for use in CF, javaloader by Mark Mandel is fantastic. http://javaloader.riaforge.org/ - Gabriel On Fri, Mar 12, 2010 at 10:47 AM, Reed Powell r...@powellgenealogy.com wrote: I've put this for too long, and now there is real need for me to

Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo
that has been presented that I may have to explore is to have a then create a cron job fire the URL on the Linux server. I've tried to avoid that since it makes me more dependent on our server guys which compromises my development productivity. Bryan -Original Message- From: Dorioo

Re: Validating mailing addresses or determining Zip+4 zipcodes...

2010-03-12 Thread Dorioo
If they're using UPS already, UPS has address validations tools (city, state, zip) and (street level) https://www.ups.com/upsdeveloperkit?loc=en_US - Gabriel On Fri, Mar 12, 2010 at 11:28 AM, John M Bliss bliss.j...@gmail.com wrote: Perhaps: http://www.usps.com/webtools/address.htm On Fri,

Re: Anyone else have the latest CFBuilder crashing constantly?

2010-03-11 Thread Dorioo
Go to the preferences, Coldfusion Server Settings and uncheck build server settings. I'd also uncheck Coldfusion Startup build CFC's in project on startup. It worked better for me with those disabled. - Gabriel On Thu, Mar 11, 2010 at 10:01 AM, Rick Faircloth r...@whitestonemedia.com wrote:

Re: Phantom Scheduled Tasks

2010-03-11 Thread Dorioo
After restarting the server, the scheduled tasks are activated twice. ?? http://www.adobe.com/support/documentation/en/coldfusion/mx702/cf702_releasenotes.html - Gabriel On Thu, Mar 11, 2010 at 10:33 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: Is the CF7 server fully patched?  I

Re: Phantom Scheduled Tasks

2010-03-11 Thread Dorioo
application log that Event2 that is fired by Event1 when appropriate is being run twice via the fired URL. One Scheduled Task, two URLs fired. One five minutes after the other. Thanks for your continued efforts to help. Bryan -Original Message- From: Dorioo [mailto:dor...@gmail.com

Re: Phantom Scheduled Tasks

2010-03-11 Thread Dorioo
Something to test: I'd change the scheduled task to run at something other than 10 minutes and see if it affects that 5 minute timeframe. Then you'd at least know that the second one is definitely tied into the first one as the 5 minute window changes when you changed the 10 minute window. -

Re: Phantom Scheduled Tasks

2010-03-10 Thread Dorioo
doing wrong? And thanks for the help. Bryan -Original Message- From: Dorioo [mailto:dor...@gmail.com] Sent: Tuesday, March 09, 2010 4:11 PM To: cf-talk Subject: Re: Phantom Scheduled Tasks Cflocation within a scheduled task would be the first thing I'd toss while testing. Doesn't

Re: Phantom Scheduled Tasks

2010-03-10 Thread Dorioo
=cfhttp                        cfabort / This problem is killing me. Bryan -Original Message- From: Dorioo [mailto:dor...@gmail.com] Sent: Wednesday, March 10, 2010 9:32 AM To: cf-talk Subject: Re: Phantom Scheduled Tasks Dump cfhttp after the call and it will show you useful

Re: Phantom Scheduled Tasks

2010-03-10 Thread Dorioo
#                        cfhttp = cfdump var=#cfhttp# var=cfhttp                        cfabort / This problem is killing me. Bryan -Original Message- From: Dorioo [mailto:dor...@gmail.com] Sent: Wednesday, March 10, 2010 9:32 AM To: cf-talk Subject: Re: Phantom Scheduled Tasks

Re: Phantom Scheduled Tasks

2010-03-09 Thread Dorioo
Can't speak to the cause from afar. But to prevent reports from running concurrently, maybe you can put a named CFLOCK around all of the report generation events. If they all shared the same name, only one would ever have the lock and, if a second started to run while the first was running, it

Re: Phantom Scheduled Tasks

2010-03-09 Thread Dorioo
to get right to the point. There are times when I want multiple reports to run at once. Event1 actually checks if a large memory hogging report is running. If not it fires Event2 even if another report is running. Bryan -Original Message- From: Dorioo [mailto:dor...@gmail.com] Sent

Re: Phantom Scheduled Tasks

2010-03-09 Thread Dorioo
Cflocation within a scheduled task would be the first thing I'd toss while testing. Doesn't sit well with me. I'd replace it with a CFHTTP call (you're generating a url already) and if I really wanted to decouple the two I may put it in a CFTHREAD. Just some testing ideas. - Gabriel On Tue,

Re: Transfer Object Behaviour

2010-03-08 Thread Dorioo
If by changing the criteria slightly, you're working with a query, then, no, transfer is not caching partial query results and you're getting little benefit from using transfer. If instead you're doing something like getting a query of ids and then getting transfer objects for those ids, then

Re: Transfer Object Behaviour

2010-03-08 Thread Dorioo
TQL will go to the database each time so no performance benefit. - Gabriel On Mon, Mar 8, 2010 at 10:37 AM, sandeep saini sandeep00...@yahoo.com wrote: Thanks Gabriel, I will probably using TQL to construct a query and then paas it to Transfer object to do the rest. Somewhat like

Re: RIAForge download problems (CFFM)

2010-03-08 Thread Dorioo
http://www.coldfusionjedi.com/index.cfm/2010/1/29/Trouble-downloading-from-RIAForge-Read-this - Gabriel On Mon, Mar 8, 2010 at 11:15 AM, Mike Kear afpwebwo...@gmail.com wrote: Thanks to Eric Cobb for sending me the file.   So I dont need anyone else to send it, thanks anyway. But is there

Re: Transfer Object Behaviour

2010-03-07 Thread Dorioo
@sandeep 1. ...what Matt said about objects and cache. 2. The distinction I was thinking about was when you get into the Transfer Query Language which works with queries. Without knowing how you're getting the data in your initial examples, I was thinking that if you were only using TQL, you'd

Re: Transfer Object Behaviour

2010-03-05 Thread Dorioo
Are you working with queries or objects? I believe it goes to the database for every query. But for objects, it gets them once and caches them. So interaction then occurs with the cached object instead of making a trip to the DB (unless needed of course). - Gabriel On Fri, Mar 5, 2010 at 4:05

Re: CF Debugger for application scoped CFC

2010-03-04 Thread Dorioo
Don't know if it's supposed to work, but I have experienced it _not_ working once the CFC is in memory. Told myself that the debugger processes files used in the request. Once the CFC is memory, no files are parsed for it and so the debugger does not fire. I'd love to be wrong though. - Gabriel

Re: How to handle large ResultSet, so that it can also be reused?

2010-03-04 Thread Dorioo
Transfer's cache deals with individual objects. Not a 150,000 record query. I'd cross it off your list of potentials. - Gabriel On Thu, Mar 4, 2010 at 1:30 PM, sandeep saini sandeep00...@yahoo.com wrote: Also want to mention that we will have approx 200 concurrent users creating such big

Re: Using CFHTTP to access a website

2010-02-19 Thread Dorioo
I've had good results using the project below. Maybe it can help you. http://www.bennadel.com/projects/cfhttp-session.htm - Gabriel On Fri, Feb 19, 2010 at 5:49 PM, Ben Conner b...@webworldinc.com wrote: Hi Dave, I see this site doesn't appear to use cookies (at least on this page) as

Re: cfwindow looks different in cf9

2010-02-14 Thread Dorioo
Don't quote me but I believe CF9 changed some of the javascript libraries from yui and extjs 2.0 to extjs 3.0. Visual differences may be due to that change and may unfortunately mean manual labor to get them to appear as they used to. - Gabriel On Sun, Feb 14, 2010 at 10:32 AM, John Pullam

Re: Importing large text log file into SQL Server 2005

2010-02-11 Thread Dorioo
Maybe you can populate the datetime column after it's bulk inserted. Something like below where you'd play around with Convert function to match the format of the the string column1 + column2. UPDATE table SET concactenatedDateTimeColumn = CONVERT(datetime, column1 + column2) - Gabriel On Thu,