Re: cfthread and queue management

2008-10-28 Thread Judah McAuley
This is what I think I was trying to get at. Moving the loop into the thread instead of having the loop outside the thread is the part I think I was missing. Having a generic tool to do queue management could be quite handy. Of course I've since realized that my particular situation is slightly

Re: Lines of credit or credit account online

2008-10-28 Thread Judah McAuley
On Tue, Oct 28, 2008 at 12:26 PM, ColdFusion Developer [EMAIL PROTECTED] wrote: Are you looking for an actual credit-check service with an API? or are you looking for the bank that would actually back the credit line? That's a very good question. I'm not sure my client really knows which one

Re: Random record identifiers in MySQL 5.0

2008-10-28 Thread Judah McAuley
Yeah, I don't think that logically follows at all. An id is not a credential, it shouldn't matter if the id is easy to guess or not. The id is the representation of the item in question. Knowing what/who the item is shouldn't allow you to become that item. I have no problems with using uuid's as

Re: Random record identifiers in MySQL 5.0

2008-10-28 Thread Judah McAuley
On Tue, Oct 28, 2008 at 12:37 PM, Jason Fisher [EMAIL PROTECTED] wrote: @Jim, If you use CF to generate a UUID, then you do *not* need to hit the DB to verify uniqueness. Each call to createUUID() will create a unique value, within all limits of reasonableness. So, yes, autoIncrement

Re: Random record identifiers in MySQL 5.0

2008-10-28 Thread Judah McAuley
What if I copied your cookie to my machine? I go to your site, it checks to see if I have a cookie, I do, so it grabs the encrypted UUID value in that cookie, checks it against your db, matches your record, then logs me in as you. I don't have to know the value of the UUID. It doesn't matter that

Re: Adding Updating empty values

2008-10-28 Thread Judah McAuley
Use cfparam for all of your form fields, that way they exist for certain, and param them to an empty string (or 0 in the case of numbers). Actually, I tend to param them all to an empty string and then your sql query param fields will turn the empty string into an int/numeric for you (you are

Re: Random record identifiers in MySQL 5.0

2008-10-28 Thread Judah McAuley
I would add the following: Barney's solution is good but doesn't change the fact that you are authenticating based on a piece of information that someone else can grab (a cookie). I understand that one of your requirements is that people not have to use a username and password to log in every

Re: Adding Updating empty values

2008-10-28 Thread Judah McAuley
On Tue, Oct 28, 2008 at 1:36 PM, Rick Sanders [EMAIL PROTECTED] wrote: I agree, but I still have to enter all the form field names in the cfparam anyways so I'm not really gaining anything. Coding templates are your friend. But regardless, I offered a suggestion to solve this earlier in a

cfthread and queue management

2008-10-27 Thread Judah McAuley
Howdy, I'm trying to wrap my head around the best way to use cfthread to manage a task queue. I have a remote service that I call via cfhttp that does a processing task. It is a commercial service and our license is based on the number of simultaneous requests we can make against the service. So

Re: cfthread and queue management

2008-10-27 Thread Judah McAuley
On Mon, Oct 27, 2008 at 3:20 PM, Dave Watts [EMAIL PROTECTED] wrote: I would recommend that you use one thread to monitor the others. This thread could wake every 500ms, for example, then check the progress of the other threads, terminate unresponsive threads, and assign new tasks. There's

Re: cfthread and queue management

2008-10-27 Thread Judah McAuley
The problem with that is that I may want to use cfthread elsewhere on the server (like in cleanup/maintenance tasks) and in this particular application I want exactly 5 threads active at all times to maximize the usage of this external resource. Still, a sneaky idea that I had pondered as well.

Re: Alternative to coldfusion8

2008-10-24 Thread Judah McAuley
In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely

Re: Alternative to coldfusion8

2008-10-24 Thread Judah McAuley
The comments on the blog posting I linked to confirms what you're saying Larry but it also seems to show a willingness to involve people from the OpenBD organization. Now whether or not that has happend, I have no clue. I don't follow the CF politics too closely.There are multiple members of the

Re: basic cfc/oo design question

2008-10-22 Thread Judah McAuley
All fine point there Gerald, thank you. I've looked at Illudium in the past and plan on doing so again for this project. Right now though I'm trying to map out all my classes in UML to make sure that I have it together conceptually, then move to the actual coding part. The database already exists

Re: basic cfc/oo design question

2008-10-22 Thread Judah McAuley
on the best techniques in the cfcdev mailing list archives. If you prefer a pure OOP design for your site I think you will find ColdFusion to be limiting as you dig deeper into this topic. -Mike Chabot On Tue, Oct 21, 2008 at 6:35 PM, Judah McAuley [EMAIL PROTECTED] wrote: I'm migrating the backend

Re: basic cfc/oo design question

2008-10-22 Thread Judah McAuley
I'm planning on using one of the MVC frameworks (probably MG, but I'll look at Mach ii and OO Fusebox again as well) for a seperate project that can be built from the ground up. This project has enough quirks (like an existing url rewriter scheme) that I'd prefer not to try and shoehorn in a whole

Re: basic cfc/oo design question

2008-10-22 Thread Judah McAuley
Agreed, this is something I ran into before and is definitely something that often haunts me into indecision. That is one of the reasons I'm not doing a framework right now. I figure if I can abstract out my functionality into a set of classes and get those classes implemented as cfc's, I'll have

Re: database encryption

2008-10-21 Thread Judah McAuley
The best security practice that I try and follow that I think gets missed by a lot of people is a deceptively simple one: Don't store data that you don't need. It is tempting to grab ahold of the largest amount of data possible because you might need it for something in the future and you can't

basic cfc/oo design question

2008-10-21 Thread Judah McAuley
I'm migrating the backend portion of an application from a procedural set of code to a cfc-based and hopefully more OO oriented design. For this first go around I won't be using any of the MVC frameworks (the front end is already written on this project) and I don't plan on using any of the ORM's

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Judah McAuley
I did this back in the days of CF 5 where I'd use the site-wide error template as a url remapper. It worked. I won't really recommend it though because it is using a tool that was really meant for a different task. Instead, I'd suggest using a url rewriter plugin for your webserver. modrewrite

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Judah McAuley
at EVERY request. images, css, js, whatever. The onmissingtemplate() deals with a CF template only and only the one requested. I'd rather be more specific on whats being handled that less so, especially when the less so is global to the entire site. On Fri, Oct 17, 2008 at 3:44 PM, Judah McAuley

Re: Alagad's Model-Glue Training

2008-09-24 Thread Judah McAuley
Doesn't seem like spam at all to me. I wish I could make it out to NC for it. If there is a seperate mailing list Alagad trainings, please send me the address and I'll subscribe. Cheers, Judah On Wed, Sep 24, 2008 at 11:08 AM, Doug Hughes [EMAIL PROTECTED] wrote: I have been chastised for

Re: Securing session

2008-09-23 Thread Judah McAuley
It definitely doesn't matter if it is encrypted or not. Just think about what happens when you read a cookie. Set a cookie, lets say a userid. In plain text, the userid might be 1000. When my application reads the cookie to find the users id, it asks the browser for the userid cookie, the browser

Re: New SQL Injection

2008-09-22 Thread Judah McAuley
CF could use more pimps. I just got bought and am now a new division within an existing company, all of whom are .Net Things are just settling in and its fine for now, but as we sit down to discuss strategy and bringing resources on under me, I know that conversion conversation is coming. Judah

Re: Sessions and more info

2008-09-20 Thread Judah McAuley
If this is for an internal application, then I'd suggest creating your own SSL certs which you can do for free. Your users will get a warning about a untrusted certificate the first time around, but you can explain to them that they need to trust it permanently adn then the error will not recur

Re: How do I extract session.id value

2008-09-19 Thread Judah McAuley
jsessionid only exists if you are using J2EE session variables instead of traditional coldfusion session variables (cfid and cftoken). So you have either cfid/cftoken or you have jsessionid, depending on which type of session variables you decide to use. To set which type you use, you go into the

Re: JRun issues on Vista 64 bit?

2008-09-17 Thread Judah McAuley
As a test case, can you create a datasource with the built in DB (Derby)? It would probably help to figure out if the issue is with datasources in general or with mssql 2005 in particular. Judah On Wed, Sep 17, 2008 at 1:26 PM, Jeff Chastain [EMAIL PROTECTED] wrote: And as a follow on, a

Re: JRun issues on Vista 64 bit?

2008-09-17 Thread Judah McAuley
, Jeff Chastain [EMAIL PROTECTED] wrote: Judah, Creating a data source to Derby works just fine. I can verify the existing data sources as well as create a new one. The issue only appears when I am trying to connect to SQL 2005. Thanks -- Jeff -Original Message- From: Judah

mssql 2008 dev tools

2008-09-17 Thread Judah McAuley
To take this to a new thread... Does anyone know how to write sql that will return the results in an editable grid? If I do a right click on a table I can choose to edit top 200 rows and it returns the results in an editable grid and then I can open up the sql pane above and rewrite the sql and

Re: JRun issues on Vista 64 bit?

2008-09-17 Thread Judah McAuley
Short of reinstalling CF (which seems like a good idea at this point) I'd suggest perhaps looking at your JRE version and reinstalling/upgrading the JRE version and see if that fixes the obviously borked jdbc driver for mssql. If you really want to get to the bottom of this and figure out the

Re: SQL Help

2008-09-16 Thread Judah McAuley
Are the other fields in your table the same when the email is the same? Meaning, are the records really duplicate? Or is it just the email that is duplicate and the other fields may have varying values for two rows that have the same email? If they do vary, do you care which of the duplicate rows

Re: REACTOR adn SQL injection

2008-09-13 Thread Judah McAuley
That's a nice list Isaac, but I'm curious about two things. 1) what is the sort versus order by. I'm quite familiar with the order by clause but I've never heard of a sort clause. Perhaps you mean something else? 2) You say to not put ANY user-supplied variables into the content property of a

Re: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Judah McAuley
Untested but should work: cfquery name=getPhysicianRecords datasource=#DSN# SELECT * FROM Contacts WHERE Contacts.ContactType = 'Physician' cfif Len(form.field) AND StructKeyExists(form,form.field) AND Contacts.#FORM.Field# = '#Trim(form[form.field])#' cfelse 1 = 0 /cfelse ORDER BY

Re: How NOT to Evaluate (moved from cfset so not to confuse topic)

2008-09-10 Thread Judah McAuley
Ah, sorry, didn't explain fully. I did a StructKeyExists and a Len to make sure that the field you are going to evaluate really exists in the form. If it doesn't, you don't want your cfquery to throw a gnarly error (most likely) so if the assertion is false, the WHERE clause becomes WHERE 1 = 0

Re: using dynamic variable in cfset statement

2008-09-10 Thread Judah McAuley
I just consider Evaluate to be sloppy coding. It is (almost) never needed as it basically tells coldfusion to do something it already is doing: look at this and see if its a variable. It is by no means the worst thing in the world but to the extent that you can cut it out of your code, I think

Re: Why won't this query run in MySQL 5?

2008-09-08 Thread Judah McAuley
I'd also suggest rewriting the query to use ANSI SQL-92 syntax to be more explicit and likely have it be more portable across db engines and versions. cfquery name=get_client datasource=#dsn# select c.*, fg.*, e.* fromclients c inner join family_groups fg on

Re: I need some help figuring this out...

2008-09-05 Thread Judah McAuley
Mark is right about the fax really being an image (most likely a TIFF). I've had to do some rather ugly things like this before and what I did was use ImageMagick to convert the pdf to a tiff, place the second image atop it in the correct spot, then merge the layers and save it out as a another

Re: NOT 0 = quot;noquot;?!?! and NOT 1 = quot;yesquot;?!?!

2007-09-27 Thread Judah McAuley
It should be noted that CF treats Yes and 1 and True (boolean value, not the string) as logical equivalents. So !0 might return Yes when output to the screen but that is the same thing to CF as 1 when it comes to boolean logic. Take the result and format for display as you wish using Int, Val,

Re: [CF-Dev] Adobe Max 2007

2007-09-12 Thread Judah McAuley
I'm working for a new boss that happens to have family in Edinburgh and its looking promising so far that I may be able to use this fact as leverage to get him to send me to Scotch 2008. Now I just have to finish this project so we have the money... Judah Sean Corfield wrote: On 9/12/07, Tom

Re: List of Coldfusion Bloggers

2007-09-07 Thread Judah McAuley
Raymond Camden wrote: And in case you can't find it on the site, you can see a visual list here: http://www.coldfusionbloggers.org/feeds.cfm and an OPML feed here: http://www.coldfusionbloggers.org/opml.cfm I can also get you the list spelled out on a cake. But that may take longer.

Re: SQL - dupicate table

2007-08-31 Thread Judah McAuley
INSERT INTO tbl2 (col1, col2, etc) SELECT col1, col2, etc FROM tbl1 Should copy everything from tbl1 to tbl2. This presumes that tbl2 is empty. Cheers, Judah daniel kessler wrote: I have a table and I'd like to duplicate all of it's data to another table. I've set the second table to have

Re: Difficulty with forms and dynamically named variables

2007-08-30 Thread Judah McAuley
Chris Martin wrote: When you do the database update, you'll have to run the select query again and then use... cfoutput query=jss cfset theSubCat = #Evaluate(form. SUBCAT)# /cfoutput Evaluate is almost never, ever needed. SUBCAT is a dynamic key in the struct FORM. Happily, Coldfusion

paper forms to pdf forms

2007-08-23 Thread Judah McAuley
A project I am working on has the opportunity to leverage some of the new integration between CF 8 and PDF, particularly creating and filling out forms. However, a number of customers on this project are going to have existing forms that need to be imported into the system, preferably in as

Re: Complex query for experts?

2007-08-22 Thread Judah McAuley
I'm pretty sure that you want count(products.id) not sum. If the product id is 100 then sum(product.id) is going to be 100 even though there is only one record. But Rick knows that, he just needs to fire his typist ;-) Judah Rick Root wrote: That should be: having sum(products.id)

Re: CFMBB and Locking

2007-08-22 Thread Judah McAuley
It is a potential race condition, but that doesn't automatically mean that a lock is needed. The data being updated is a list of forums and threads. It may be the case that it doesn't need to accurate to the millisecond. If I create a new thread and someone has a page view at the exact time I

Re: CF8 Pricing

2007-07-26 Thread Judah McAuley
Dale Fraser wrote: Ok, I'm officially sick of waiting, someone please give me the inside Goss on CF8 pricing, I'm dying here. $2.15 Anyone know where that number comes from, for a cookie? :) Judah ~| Get the

Re: Generate Random Number 1000 - No Duplicates

2007-07-26 Thread Judah McAuley
Claude Schneegans wrote: this was a quiz question on cf weekly Then, if it was a quiz question, the quiz is dummy, because true random number with no duplicates cannot exist ;-) That's not true. You can have true random numbers without duplicates. Each successive iteration of the

Re: FTPS

2007-07-03 Thread Judah McAuley
FTPS is not the same thing as SFTP. FTPS is ftp over SSL. It typically runs on port 990. SFTP is ftp running over SSH. It typically runs on port 22. I've seen differing support for the two protocols. Filezilla, for instance, support SFTP and FTPS on the client, but only supports SFTP in the

Re: FTPS

2007-07-03 Thread Judah McAuley
Dan G. Switzer, II wrote: I've seen differing support for the two protocols. Filezilla, for instance, support SFTP and FTPS on the client, but only supports SFTP in the server product. Actually, FileZilla Server only support FTPS on the server. :) This is the problem with having FTPS and

Re: Time Question

2007-07-02 Thread Judah McAuley
Well, since its hockey, you know that there are 20 minutes in a period, so any numbers greater than 20 (ie 36) are going to be seconds (00:36) but two digit numbers 20 or less are going to be an area that needs more definition. Is 18 supposed to be 18:00 or 00:18? I think that needs to get

reading page dimensions with activepdf

2007-06-27 Thread Judah McAuley
We are currently using ActivePDF Toolkit version 4 for a small pdf-related need. The function currently reads in an existing pdf, adds some text to it, then writes it out to a new file. I need to make a slight change to the process and for it to work, I need to be able to get the page height

Re: CF Editor

2007-06-26 Thread Judah McAuley
Wil Genovese wrote: snip This is the sort of thing I posted about earlier. Eclipse/CFEclipse has chosen to not follow defined usability and accessibility keyboard shortcuts. For you (Eclipse community) to just shrug it off as well that's just their defaults is wrong. For the Eclipse

Re: Execute a batch file with CFEXECUTE

2007-06-20 Thread Judah McAuley
I haven't done exactly what you are attempting to do, but we move files over to our db server for bulk insert using cffile and UNC paths. So you would use a cffile call with the action move and the destination \\{db ip}\{share}\ The big gotcha (and possibly what's wrong with your current

Re: How to handle the transition period to a new host?

2007-06-05 Thread Judah McAuley
First thing I do is ratchet down the TTL (time to live) on the dns records. As I recall, the default TTL for an A record is 48 hours. When I'm going to move hosts, I'll bring it down to usually an hour or two. It means that you'll get more traffic to your dns servers, checking the address, but

Re: CF8 on existing JRun

2007-05-31 Thread Judah McAuley
Robertson-Ravo, Neil (RX) wrote: Has it? I thought JRun didn't support 1..5? Page 18 of the What's New in CF 8 guide (http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf) says Scorpio supports JDK 1.6 as the runtime environment. By default, Scorpio installs and

Re: Multidimensional Array Vs. Array of Structs

2007-05-23 Thread Judah McAuley
I pretty much always use an array of structs for this sort of situation. I like the descriptive name of the key names in the struct (user.name, user.lastseen, user.event) and I like the ease of the array functions for looping over, appending and counting. That way I can just loop from 1 to

Re: Session Security

2007-05-14 Thread Judah McAuley
Is there a good run down somewhere of the pros/cons of cfid/cftoken versus J2EE session management? I'm realizing that this is an area I really ought to brush up on. Thanks, Judah Dave Watts wrote: Thanks for that information guys, I'll go into the admin and switch it over to J2EE session

Re: A very unusual HTTP 500 Null Error

2007-04-26 Thread Judah McAuley
T Lux wrote: No, the error happens before any code is run. Tracking down the issue with IEHTTPHeaders as well as Etheral running on the server itself, it seems that for some reason CF was not receiving the packets either in the right order or malformed or ... most likely something in the

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Judah McAuley
Rick you might be right in some audiences but I think you may be wrong in many other audiences. Larger corporations, for instance, do much more extensive security filtering. They can block javascript/activeX/etc at the firewall and they can also enforce browser settings at the desktop level.

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Judah McAuley
Rick Faircloth wrote: snip It's like coding for users of the Opera browser. If they want to be able to have the best experience on my sites, then install IE. It's just too much work to cater to every minority group in the virtual universe. And this is where I fundamentally disagree. Its

Re: XML Vs. CSV/Text

2007-04-13 Thread Judah McAuley
You don't mention what db you are using but I've had good success on MS SqlServer writing to a csv file and then doing all the processing to the database entirely in SQL using the BULK INSERT INTO command. If you're able to go that route with whatever db you are using, I'd opt for csv (or tab

Re: OT ISAPI Rewrite

2007-04-02 Thread Judah McAuley
Robertson-Ravo, Neil (RX) wrote: AFAIK the example and the latter are the same URL and will be treated as such. I can understand the others, I don't agree with them, which I why you should publish pages out like that straight off the bat, with no URL rewriting required. For what its worth

Re: Can't my SQL right on this

2007-03-06 Thread Judah McAuley
I think you might need some parentheses to group your search fields correctly. I've also rewritten the query to use the more explict join syntax, hope you don't mind, but try this: SELECT tblMusicProducts.musicprodID , tblMusicProducts.musicprodname , tblMusicProducts.musicprodprice

Re: GotCFM.com - Need Opinion on Whether to Approve a Site

2007-03-05 Thread Judah McAuley
For what its worth, we have a couple of sites for a company that sells porn dvds. They are really well done, high end content management systems with a very sophisticated e-commerce setup, affiliate system, search engine optimization, etc. The fact that they are selling porn dvds is

Re: GotCFM.com - Need Opinion on Whether to Approve a Site

2007-03-05 Thread Judah McAuley
a potentially like the one that Judah McAuley wrote in his recent post. Cheers, Chris ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion

Re: GotCFM.com - Need Opinion on Whether to Approve a Site

2007-03-05 Thread Judah McAuley
Rick Faircloth wrote: I would have to respond that due to the sensitivity of corporations to their image, that most would immediately instruct their IT departments to change their technology usage rather than be associate with *any* industry which would negatively affect their image.

cftransaction and roll your own transactions

2007-02-28 Thread Judah McAuley
We're investigating performance issues in a db app that is throwing lock contention errors. One of the things we are looking into is using the UPDLOCK optimizer hint (this is for SQL Server 2000). However, we have a situation where a number of queries are run inside a cftransaction tag. We

Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism

2007-02-27 Thread Judah McAuley
Robertson-Ravo, Neil (RX) wrote: Indeed and a Google for sites using it is just as good... Google allinurl:.cfm Note though that that won't catch sites, like mine, that use url rewriting and don't have a .cfm anywhere in the address. Netcraft is throwing some errors for me, but perhaps

Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism

2007-02-27 Thread Judah McAuley
Robertson-Ravo, Neil (RX) wrote: You are just using URL rewriting, you still have .cfm in the address? It's just obfuscated by / etc? No, I use uris such as http://www.somesite.com/articles/decor/how-to-use-drapes-to-good-effect/ No file extension anywhere. The rewriter takes the incomming

Re: Fizzbuzz. Simple programming problems.

2007-02-27 Thread Judah McAuley
I would do it almost exactly the same way that you did it, except that I read the requirements differently. You are outputting fizzbuzz, buzz and fizz instead of i. I don't see anything in the spec that says instead of, so I presume that its in addition to. I would print out the number on

Re: Fizzbuzz. Simple programming problems.

2007-02-27 Thread Judah McAuley
Good call. Just goes to show that I shouldn't interpret specs at the end of the day :) Judah Paul Vernon wrote: snip I don't see anything in the spec that says instead of snip It's on line three below... Here's the specific one he mentioned: Write a program that prints the numbers

Re: Change Log on database updates - need some ideas

2007-02-21 Thread Judah McAuley
Just so my previous email doesn't get drowned out in a debate over ajax, if I were tackling this problem, I would have a hidden form field on each page that lists the fields that have been changed. Attach an onChange handler to each form field that the sys managers can change. Have it call a

Re: Change Log on database updates - need some ideas

2007-02-20 Thread Judah McAuley
Dave Watts wrote: I shouldn't complain too much, as they don't care how much it costs and pay quickly - but, is there a more efficient way of doing this? triggers. AJAX. Field-based editing with a simple log. =] I'm sorry, but that, by itself, is a very silly answer. AJAX is display

Re: jQuery??

2007-02-07 Thread Judah McAuley
For those of you that are interested in jQuery, I might suggest that you take a look at DomQuery by Jack Slocum. http://www.jackslocum.com/blog/2007/01/11/domquery-css-selector-basic-xpath-implementation-with-benchmarks/ I like DomQuery better than jQuery and its 2 to 3 times faster than

Re: jQuery??

2007-02-07 Thread Judah McAuley
Rey Bango wrote: Hi Judah. This is a bad comparison. DomQuery is a DOM/CSS selector which can be used as an extension to YUI. A true comparison would be DomQuery to jQuery's DOM methods, Dojo's dojo.query() or Dean Edward's cssQuery. Yes, DomQuery is the DOM/CSS selector portion of the

Re: jQuery??

2007-02-07 Thread Judah McAuley
Dan G. Switzer, II wrote: The size of jQuery is also considerably smaller than loading the DomQuery library w/its dependencies. So, if you're working on a large application where you're going be heavily relying on lots of DOM manipulation the size of the library may not be that big of a

Re: jQuery??

2007-02-07 Thread Judah McAuley
You should check out the library again if you haven't recently. Jack has removed most (I believe now all, but I'm not 100% certain) of the dependencies on YUI. Its really more of its own library now. If you click on the Download link on the yui-ext site, you can build your own set of scripts

Re: jQuery??

2007-02-07 Thread Judah McAuley
That's great to hear Rey. I think it will be a good resource for all involved. I'm really excited to see all the progress that the various ajax libraries have made. If you asked me two years ago that we would be at this point with Javascript and XMLHttpRequest, I would have laughed. Ajax does

Re: jQuery??

2007-02-07 Thread Judah McAuley
I love the comment system too. I was reading the most recent blog posting the other day and looking at the comments when I found this one: Jezza: Quite apart from the rest of this goodness, this commenting system makes me moist Honestly, as a developer, I cannot think of a higher compliment :)

Re: Take a minute to Digg this story about the Smith Project

2007-02-05 Thread Judah McAuley
I would expect an open source version of CF to implement a strong subset of the CF that most developers use on a daily basis and to implement it with excellent performance. I suspect that open sourcing the core of CF would make it so that you had a stable, lower footprint server that would run

Re: Dynamic variable syntax question

2007-01-31 Thread Judah McAuley
Evaluate is almost never needed. Best CF programming practice discourages its use. Try this: cfloop from=1 to=8 index=i pValue #i# = #MyField[value i _a]#/p /cfloop Judah Scott Weikert wrote: I think you need: cfloop from=1 to=8 index=i pValue #i# =

Re: RDS not working in Eclipse was: Re: CFEclipse / Eclipse question

2007-01-30 Thread Judah McAuley
RobG wrote: Found it! And best of all, IT WORKS!! Amazing! Thank you! Finally, functional RDS on Eclipse 3.2.1. Rob Hmm..still doesn't work for me. Perhaps I need to try this on a machine with no other versions of Eclipse installed. But so long as I install to a new folder and have it

Re: RDS not working in Eclipse was: Re: CFEclipse / Eclipse question

2007-01-29 Thread Judah McAuley
Dwayne Cole wrote: When configuring the RDS connection did you get the connection successs message? I had a similar problem but on Friday I finally upgraded to 3.2 Eclipse/ 1.3 CFEcplise and set the connection port to 80 (localhost), it all worked just fine and I really like the results

Re: RDS not working in Eclipse was: Re: CFEclipse / Eclipse question

2007-01-29 Thread Judah McAuley
Thanks Jeff, I'll try going back to 3.2 and see how that goes, then report back here. Judah Jeff Fleitz wrote: I upgraded my Eclipse build to 3.2.1 about a month ago (with the CFEclipse 1.3 beta build) when the Flex Builder 2.01 update came out, and my RDS stopped working. It would display

RDS not working in Eclipse was: Re: CFEclipse / Eclipse question

2007-01-27 Thread Judah McAuley
I just installed Eclipse 3.2.1, CFEclipse 1.3 and I downloaded the most recent version of the Flex Builder trial (2.0.1). I ran the extraction for the trial and but didn't run the installer. I did get the ColdFusion Extensions folder with the CF_FB_Extensions.zip file in it. Eclipse seemed

Re: Getting the sum of all rows for one column

2007-01-26 Thread Judah McAuley
One method to do this is use the ValueList function, which returns a list of all the values in a query column, then convert the list to an array and use the ArraySum function. expense_total = ArraySum(ListToArray(ValueList(getexpenses.expensevalue))); Judah Steve Good wrote: I'm back with

Re: Inserting current date into a data table

2007-01-23 Thread Judah McAuley
Dates aren't supposed to be in quotes. Remove the single quotes and that should work. If its a column, like date_created, that should always have the time it was created, then I'd just add the value to the default on that column in the database. For mssql, you can set the default to getdate()

Re: Inserting current date into a data table

2007-01-23 Thread Judah McAuley
Richard Cooper wrote: Also, you didn't use the cfqueryparam tag Like this: '#session.lname#', cfqueryparam value=#createodbcdatetime(now())# cfsqltype=cf_sql_date /) There's no need to use cfqueryparam (as far as I know) in this situation because its not user supplied data. Now() is a

Re: Inserting current date into a data table

2007-01-23 Thread Judah McAuley
Charlie Griefer wrote: don't forget that preventing SQL injection attacks is only one benefit of cfqueryparam. creating bind variables to increase performance is another :) Fair enough, although I believe that this is true only if the query is used in a loop. In this particular instance,

Re: Apache config

2007-01-22 Thread Judah McAuley
Dave Watts wrote: You'll notice that this is an SES URL, on an IIS 6 server ... I would argue that in fact that's not a search engine friendly url at all. That url gives me no context for what I'm going to find on the page if I follow the link. Note the acronym: SES. Not SEF. The last S

Re: Apache config

2007-01-22 Thread Judah McAuley
Dave Watts wrote: If you say that URLs are more properly called URIs, that's not semantic hair-splitting, it's an error, in the same way that it would be an error to tell someone they shouldn't say car or truck or bicycle, but should instead say vehicle. When you use the term URL, you are

Re: Apache config

2007-01-22 Thread Judah McAuley
Robertson-Ravo, Neil (RX) wrote: I always thought URLs were different than URIs W3C work on Addressing schemes: http://www.w3.org/Addressing And in particular, URIs, URLs, and URNs: Clarifications and Recommendations: http://www.w3.org/TR/uri-clarification/ Judah

Re: Apache config

2007-01-22 Thread Judah McAuley
Dave Watts wrote: Now, a reasonable reading of any of that doesn't lead me to the conclusion that if I say URL, you'd be right to correct me by saying, no, URI. And that's essentially what you did in your original response. You said that URLs are more properly called URIs. You didn't provide

Re: Apache config

2007-01-20 Thread Judah McAuley
Dave Watts wrote: snip Well, if you're using CF, you don't need to do that at the web server level at all: http://www.doughughes.net/index.cfm/page-blogLink/entryId-37 You'll notice that this is an SES URL, on an IIS 6 server, that points to a simple description of how to set up SES URLs

Re: Apache config

2007-01-20 Thread Judah McAuley
Robertson-Ravo, Neil (RX) wrote: Granted, while it is a cleaner URL it is in no way friendly, it's an ugly hack. An ugly hack? How so? A URL (or more properly a URI) is meant to provide a descriptive and permanent location for a piece of content. The url I provided does exactly that. One of

Re: Apache config

2007-01-20 Thread Judah McAuley
Robertson-Ravo, Neil (RX) wrote: Well, your URL is simple a rewrite of index.cfm?foo=foo, it is not a permanent location for this document in that if I bookmark this page and you delete foo, I will be 100% guaranteed to get it again. This is simple a facade onto the normal query string

RE: cookies: where does CF store them?

2000-07-28 Thread Judah McAuley
At 02:32 PM 7/28/2000 -0700, you wrote: However, that brings me to my next question - what is user.dmp? Isn't that a user-sensitive file? In other words, am I sure that CF is writing to that file? or is it possible that some service crashed and the machine wrote to that file everything that

Re: Parsing URLs on IIS 4

2000-07-25 Thread Judah McAuley
At 11:18 AM 7/25/2000 +, you wrote: Late last week, the server began coughing on the slash-delimited query strings. It appears that the server believes the slashes indicate folders, and it gives 404 errors whenever a slash-delimited URL query string is accessed. You have to tell IIS to

unable to run executables

2000-07-21 Thread Judah McAuley
We recently purchased Macromedia Generator 2 and have been attempting to use cfx_generate in order to use the offline generation features. The problem is, that when we run cfx_generate, nothing noticable happens. It doesn't generate an error, doesn't log anything when cfx_generates logging

Re: OT: mail transfer agents

2000-07-14 Thread Judah McAuley
At 04:27 PM 7/14/2000 -0700, you wrote: Watch out when using cfmail on solaris (and more than likely linux as well) when sending via a qmail SMTP server. I recently found that the messages wouldn't go out because of bare linefeeds. CF would return the messages to the coldfusion/mail/undelivr

<    1   2   3   4   5   >