CF 8 - cfquery is returning a struct
Has anyone else encountered this? We switched to CF8 this week and I noticed that when I do a dump of the query variable, it now displays a struct with the query results as a member of the struct named resultset. I haven't been able to find any documentation on this subject. And I'm sure the CF programmers wouldn't have made so drastic a change without making sure old code still works. But I'm a little concerned and I want to make sure there aren't any potential code issues I need to fix. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF 8 - cfquery returns a struct?
Has anyone else encountered this? We switched to CF8 this week and I noticed that when I do a dump of the query variable, it now displays a struct with the query results as a member of the struct named resultset. I haven't been able to find any documentation on this subject. And I'm sure the CF programmers wouldn't have made so drastic a change without making sure old code still works. But I'm a little concerned and I want to make sure there aren't any potential code issues I need to fix. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Text Similarity Algorithm
>Post your email and will contact you directly. My email is chrisl [symbol] higheredjobs [you know] com. ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272389 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Text Similarity Algorithm
Thank you so much for the link! That was exactly what I was looking for. > Let me know, if you need a CFX tag for this ($$). Since I've never tried creating my own CFX tag before, I'd be interested. How much are you asking? ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272002 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Text Similarity Algorithm
>When a user changes a display, have the old and new text emailed to an >address set up for the purpose. This will let you see who is making >lots of changes, and let you check to see if any of those people are >making major adjustments. Please don't take offense to this, but that's a pretty poor suggestion, Ben. If having someone review the changes was actually a possibility, I never would have bothered asking the question. I mentioned higher in the thread that we're talking about roughly 1 edit to a description each minute. I would have to hire a person whose only job was to review these changes, which simply isn't realistic. Since this is a technology discussion board, I'm looking for a technology solution, because its really my only option. I know that this problem has been solved as an algorithm, because the web searches I've done have indicated that. However, the only two links to the actual algorithms that I've found are both broken. Does anyone know of an algorithm to use? Preferably already in coldfusion, but I could translate it if not. Likely it would be some sort of variable-length encoding algorithm which would then compare the encoded results and rank the amount of difference. I would write it myself, but I have no idea what kind of threshholds to set, or how the ranking would go. ~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271873 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Text Similarity Algorithm
> What sort of text? The text is about one to three pages in length (in general), and we charge per entry. I'm trying to allow editing so that the customer can make minor changes or updates, but not large-scale editing in an attempt to circumvent charges. This is definitely a large scale system so it has to run quickly. That's why I was hoping more for some sort of encrypt/comparison algorithm as opposed to one which broke the text down word by word. This would need to handle 1000+ customers and generally get an edit once every minute. Not to mention that this is only a very small portion of what the website does, so resource or time-intensive solutions are not appropriate. I thought about the hash() function, but any minor change will completely change the value, and that's not what I'm looking for. ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271743 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Text Similarity Algorithm
> "Similar" is a rather vague description. Are you looking for overlap? > Length? Number of characters in the same location in each string? > Number of similar characters? Good point, pardon my lack of clarity. I'm looking for matching text. It would essentially be identical to a plaguarism-checking algorithm, but I'd be using it for the opposite. Ultimately, I'm trying to see if a customer made minor edits to the text they entered, or if they changed the text completely. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271684 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Text Similarity Algorithm
I'm looking for an algorithm that will take two pieces of text as input and return some comparison of those texts, and how similar they are to one another. Ideally I would like it to return a number which would indicate the level of similarity, but I can probably work with just about anything. Are there any good algorithms out there for doing this? Any help would be much appreciated. ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4