NumberAsString UDF question

2005-06-16 Thread Thane Sherrington
I'm using Ben Forta's NumberAsString and DollarAsString, and I'd like it to convert 1.00 to One dollar and zero cents, but it converts to One dollar. Is there a version that does the conversion I'm looking for? T ~| Find out

Re: NumberAsString UDF question

2005-06-16 Thread Paul Hastings
Thane Sherrington wrote: dollar. Is there a version that does the conversion I'm looking for? probably overkill but might have a look at icu4j's RuleBasedNumberFormat. we use it for spellout functionality, etc. in i18n apps but it can be made to format pretty much anything. simplified cf

RE: NumberAsString UDF question

2005-06-16 Thread Ben Forta
: Thursday, June 16, 2005 7:50 AM To: CF-Talk Subject: NumberAsString UDF question I'm using Ben Forta's NumberAsString and DollarAsString, and I'd like it to convert 1.00 to One dollar and zero cents, but it converts to One dollar. Is there a version that does the conversion I'm looking for? T

RE: NumberAsString UDF question

2005-06-16 Thread Thane Sherrington
At 09:22 AM 16/06/2005, Ben Forta wrote: Should be an easy change. In DollarAsString() you'll see a line that reads: if(cents) That checks to see if cents is not 0, so just remove (or comment out) that line and it should do what you want. Thanks Ben. T

ListFix UDF Question

2003-01-30 Thread Rafael Alan Bleiweiss
At 04:56 PM 1/29/03 -0600, you wrote: - basically it ignores them. Try ListFix, http://www.cflib.org/udf.cfm?ID=507, to change the null entries to Raymond, I looked at this udf - looks great for mid-string changes, however I've got two questions - 1. How do I include this udf into the loop

RE: ListFix UDF Question

2003-01-30 Thread Raymond Camden
- From: Rafael Alan Bleiweiss [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 8:13 AM To: CF-Talk Subject: ListFix UDF Question At 04:56 PM 1/29/03 -0600, you wrote: - basically it ignores them. Try ListFix, http://www.cflib.org/udf.cfm?ID=507, to change the null entries

UDF question -- make num a string

2003-01-17 Thread Owens, Howard
I'm trying to do a little UDF to convert something like .77809 to 78% If I do something like: outNum=finalResult + '%'; I get an error that says cannot convert % to a number ... well, I don't want it to be a num. I want it to be a string. I can't find a way to get a string output in the

RE: UDF question -- make num a string

2003-01-17 Thread Robert Bailey
outNum = finalResult '%'; Robert Bailey [EMAIL PROTECTED] Famous for nothing! http://www.tinetics.com -Original Message- From: Owens, Howard [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 4:29 PM To: CF-Talk Subject: UDF question -- make num a string I'm trying to do

RE: UDF question -- make num a string

2003-01-17 Thread Robert Bailey
[mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 4:29 PM To: CF-Talk Subject: UDF question -- make num a string I'm trying to do a little UDF to convert something like .77809 to 78% If I do something like: outNum=finalResult + '%'; I get an error that says cannot convert % to a number

Re: UDF question -- make num a string

2003-01-17 Thread Marius Milosav
: Friday, January 17, 2003 7:29 PM Subject: UDF question -- make num a string I'm trying to do a little UDF to convert something like .77809 to 78% If I do something like: outNum=finalResult + '%'; I get an error that says cannot convert % to a number ... well, I don't want it to be a num

Re: UDF question -- make num a string

2003-01-17 Thread Charlie Griefer
outNum = finalResult '%' is the concatenation operator in CF (yeah, i know...it can be annoying) :) charlie - Original Message - From: Owens, Howard [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, January 17, 2003 5:29 PM Subject: UDF question -- make num a string I'm

RE: locking (was: UDF question)

2002-03-20 Thread Christopher Olive
, inc. 410.931.4092 http://www.atnetsolutions.com -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 12:58 PM To: CF-Talk Subject: RE: locking (was: UDF question) The question is - do you want CF to automatically handle everything for you

RE: locking (was: UDF question)

2002-03-20 Thread Dave Watts
despite the fact that you're not raymond, i'll respond to him via your response for him (how's it feel to be a surrogate ray? :)) I refuse to answer that question because, well, it's kind of weird. I don't think that's what Ray meant. If I understand correctly, his distinction was that

RE: locking (was: UDF question)

2002-03-20 Thread Christopher Olive
Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 11:26 AM To: CF-Talk Subject: RE: locking (was: UDF question) despite the fact that you're not raymond, i'll respond to him via your response for him (how's it feel to be a surrogate ray? :)) I refuse

RE: UDF question

2002-03-19 Thread Raymond Camden
[deletia] My second question is isn't it true that, assuming all other things being equal, any algorithm or function coded in binary, compiled language is going to perform better than one written in a markup language and executed in JIT or even an interpreted language executed in a virtual

RE: UDF question

2002-03-19 Thread Jim Curran
Hey all, Just a thought off the top of my head, Premise: Local Vars do not need to be cflocked Why not 1) copy the session structure to a temporary local structure in Application.cfm: cflock ... cfset session_temp = structcopy(session) /cflock 2) Reference

RE: UDF question

2002-03-19 Thread Matthew R. Small
: Tuesday, March 19, 2002 10:11 AM To: CF-Talk Subject: RE: UDF question Hey all, Just a thought off the top of my head, Premise: Local Vars do not need to be cflocked Why not 1) copy the session structure to a temporary local structure in Application.cfm: cflock ... cfset

Re: UDF question

2002-03-19 Thread Jochem van Dieten
Jim Curran wrote: 1) copy the session structure to a temporary local structure in Application.cfm: cflock ... cfset session_temp = structcopy(session) /cflock 2) Reference the temp structure in all templates: cfif isdefined(session_temp.blah)...

RE: UDF question

2002-03-19 Thread Raymond Camden
Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 10:21 AM To: CF-Talk Subject: RE: UDF question I think it's already pretty

RE: UDF question

2002-03-19 Thread Raymond Camden
3) Set the session struct equal to the temp struct in OnRequestEnd.cfm cflock ... cfset session = structcopy(session_temp) /cflock Use Duplicate() instead of StructCopy() because StructCopy() doesn't copy as many levels as it should. No - it _does_ go as

RE: UDF question

2002-03-19 Thread Dave Watts
Just a thought off the top of my head, Premise: Local Vars do not need to be cflocked Why not 1) copy the session structure to a temporary local structure in Application.cfm: cflock ... cfset session_temp = structcopy(session) /cflock 2) Reference the

RE: UDF question

2002-03-19 Thread Jim Curran
Thanks Ray Jochem - j -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 10:18 AM To: CF-Talk Subject: RE: UDF question Just a reminder - whenever you copy _any_ structure, if you are not 100% sure the data is flat (no deep structs), you

Re: UDF question

2002-03-19 Thread Sharon Diorio
The server, admittedly, does not host any extremely-high activity sites. There's the kicker. Locking variables is something you can *usually* get away with on low traffic sites. But put any load on these sites and you start getting odd errors that are seemingly sporadic (if you're not

RE: RE: UDF question

2002-03-19 Thread Dave Watts
The only concurrency issues that seem to come up in CF are when we needto single thread any piece of code - that's what the locks do. But I haven't seen any code at all that allows us to start new threads in the same page. Everytime a new user goes onto your web site, a new thread is

RE: locking (was: UDF question)

2002-03-19 Thread Dave Watts
The server, admittedly, does not host any extremely-high activity sites. There's the kicker. Locking variables is something you can *usually* get away with on low traffic sites. But put any load on these sites and you start getting odd errors that are seemingly sporadic (if you're

Re: UDF question

2002-03-19 Thread Sharon Diorio
- Original Message - From: Jim Curran [EMAIL PROTECTED] Just a thought off the top of my head, 1) copy the session structure to a temporary local structure in Application.cfm: cflock ... cfset session_temp = structcopy(session) /cflock Actually, this is one of the more common

Re: locking (was: UDF question)

2002-03-19 Thread Sharon Diorio
- Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 11:05 AM Subject: RE: locking (was: UDF question) I know that this is only a typo, but you meant Not locking variables ..., right? Yep. Missed my morning coffee

Re: UDF question

2002-03-19 Thread Keith
PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 9:45 AM Subject: Re: UDF question The server, admittedly, does not host any extremely-high activity sites. There's the kicker. Locking variables is something you can *usually* get away with on low traffic sites. But put any

RE: locking (was: UDF question)

2002-03-19 Thread Dave Watts
The question is - do you want CF to automatically handle everything for you at the sacrifice of speed? Raymond, I'm not Raymond, but I'll attempt a response anyway. My first question to you is is there ever a reason not to lock access to Session or Application scoped variables?

RE: UDF question

2002-03-19 Thread Dave Watts
You're talking about developers who don't use CFLOCK because they are ignorant of CF locking issues. I'm sure we all agree that this is a bad thing, but it's not exactly relevent to the original discussion. You can write perfectly solid applications that do not lock session variable

Re: UDF question

2002-03-19 Thread Keith
- From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 12:17 PM Subject: RE: UDF question You're talking about developers who don't use CFLOCK because they are ignorant of CF locking issues. I'm sure we all agree that this is a bad thing, but it's

RE: UDF question

2002-03-19 Thread Dave Watts
I've never seen you issue such an insulting reply. You yourself have stated that you have no real information to back up your claims. Sorry that I disagree with you, but I don't care to have my professionalism questioned. I'm sorry that you read my response as a personal insult.

Re: UDF question

2002-03-19 Thread Keith
/hour and claiming a need to do a full server-under-load analysis would be viewed as an overpriced blowhard. [EMAIL PROTECTED] - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 1:23 PM Subject: RE: UDF question I'm sorry

Re: UDF question

2002-03-19 Thread Keith
2:07 PM Subject: Re: UDF question I realize you weren't insulting me and I apologize. Please understand that I don't work on projects that cost 100's of thousands of dollars. My customers and I have modest goals. I want to efficiently produce clean, maintainable applications that meet

RE: UDF question

2002-03-19 Thread Dave Watts
I realize you weren't insulting me and I apologize. No need for that. We're all rational adults here. Please understand that I don't work on projects that cost 100's of thousands of dollars. My customers and I have modest goals. I want to efficiently produce clean, maintainable

RE: UDF question

2002-03-19 Thread Neil Giarratana
Well at least I was able to find openSTA through this entertaining conversation! Neil -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 3:23 PM To: CF-Talk Subject: RE: UDF question I realize you weren't insulting me and I apologize

RE: UDF question

2002-03-19 Thread Tim Claremont
A consultant asking $250/hour and claiming a need to do a full server-under-load analysis would be viewed as an overpriced blowhard. I am actually considering a career as an overpriced blowhard at those rates... __ Your ad

RE: UDF question

2002-03-19 Thread Ken Wilson
Please understand that I don't work on projects that cost 100's of thousands of dollars. My customers and I have modest goals. I want to efficiently produce clean, maintainable applications that meet specific needs. Sounds like the perfect reason to use CFLOCK from the outset. :) Ken

Re: UDF question

2002-03-19 Thread Keith
customers is that I take advantage of resources like this list and the wonderful contributions of people like Dave Watts. [EMAIL PROTECTED] - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 2:23 PM Subject: RE: UDF question I

Re: UDF question

2002-03-19 Thread Keith
And around we go again... (smile) - Original Message - From: Ken Wilson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 2:24 PM Subject: RE: UDF question Please understand that I don't work on projects that cost 100's of thousands of dollars. My

Re: UDF question

2002-03-19 Thread Keith
I would be in awe of people who charge such rates if it weren't for that fact that I've worked with a few. - Original Message - From: Tim Claremont [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 2:23 PM Subject: RE: UDF question A consultant asking $250

Re: UDF question

2002-03-19 Thread Sharon Diorio
A consultant asking $250/hour and claiming a need to do a full server-under-load analysis would be viewed as an overpriced blowhard. I am actually considering a career as an overpriced blowhard at those rates... I've got the blowhard thing down. How exactly does one become overpriced?

Re: UDF question

2002-03-19 Thread Jeffry Houser
analysis would be viewed as an overpriced blowhard. - Original Message - From: Keith [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 2:07 PM Subject: Re: UDF question I realize you weren't insulting me and I apologize. Please understand that I don't work

Re: UDF question

2002-03-19 Thread Jeffry Houser
: RE: UDF question A consultant asking $250/hour and claiming a need to do a full server-under-load analysis would be viewed as an overpriced blowhard. I am actually considering a career as an overpriced blowhard at those rates

RE: UDF question

2002-03-19 Thread Mark A. Kruger - CFG
Dave - 250$ an hour? send them to us, we'll work for half that g. -mk P.S. - you guys lawyers or something? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 12:17 PM To: CF-Talk Subject: RE: UDF question You're talking about developers

RE: UDF question

2002-03-19 Thread Roberts, William C
Maybe it's $250 an hour because they can do so same work (or better) in less than half the time? Just a thought. -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:16 PM To: CF-Talk Subject: RE: UDF question Dave - 250$ an hour

RE: UDF question

2002-03-19 Thread Dave Watts
Dave - 250$ an hour? send them to us, we'll work for half that g. Maybe it's $250 an hour because they can do so same work (or better) in less than half the time? Just a thought. Close, perhaps, but more like because we fix the work after your original consultant screwed up, and you

Re: UDF question

2002-03-19 Thread Cary Gordon
Jeff, I have been meaning to talk to you about this. Yunno, the holidays (take your pick) are upon us and business has been a bit slow on the Sabbath (again, take your pick). Heaven is starting to look a little frayed around the edges. Think you might be able to throw a little something on

RE: UDF question

2002-03-19 Thread Mark A. Kruger - CFG
PROTECTED]] Sent: Tuesday, March 19, 2002 5:12 PM To: CF-Talk Subject: RE: UDF question Dave - 250$ an hour? send them to us, we'll work for half that g. Maybe it's $250 an hour because they can do so same work (or better) in less than half the time? Just a thought. Close, perhaps, but more

Re: UDF question

2002-03-19 Thread Jeffry Houser
ROTFL! At 03:34 PM 3/19/2002 -0800, you wrote: Jeff, I have been meaning to talk to you about this. Yunno, the holidays (take your pick) are upon us and business has been a bit slow on the Sabbath (again, take your pick). Heaven is starting to look a little frayed around the edges. Think

Re: UDF question

2002-03-18 Thread Jochem van Dieten
Ben Forta wrote: Pay a price, yes, especially if you are using frames. But I'd not call it a steep price. I would. Partially because I rarely browse with less than a dozen browser tabs opened. But also because it causes serious issues with long running queries/cfhttp calls etc. If I use one

Re: UDF question

2002-03-18 Thread junkMail
[EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 3:00 AM Subject: Re: UDF question Ben Forta wrote: Pay a price, yes, especially if you are using frames. But I'd not call it a steep price. I would. Partially because I rarely browse with less than a dozen browser tabs

Re: UDF question

2002-03-18 Thread Jochem van Dieten
junkMail wrote: I don't get the first part of your reply. Are you saying that the Single Threaded Sessions setting on the server is a bad idea because of your browsing habits? No. It is a bad idea in general, but for me it is agravated because of my browsing habits. If I open some 6

RE: UDF question

2002-03-18 Thread Raymond Camden
Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: junkMail [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 4:30 PM To: CF-Talk Subject: Re: UDF question

Re: UDF question

2002-03-18 Thread Howie Hamlin
question Or enable Single Threaded Sessions in the CF Administrator. [EMAIL PROTECTED] - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 3:14 PM Subject: RE: UDF question Of course, you wan't to wrap

RE: UDF question

2002-03-18 Thread Dave Watts
Sorry to be a pest but, as I stated earlier on this list, I have a feeling that most of the fear of Single Threaded Sessions is based on CF urban legend. I'd welcome some real information. Unfortunately, there's very little real information pertaining to server performance tuning. It has

RE: UDF question

2002-03-18 Thread Dave Watts
Or enable Single Threaded Sessions in the CF Administrator. And pay a steep price in performance... Pay a price, yes, especially if you are using frames. But I'd not call it a steep price. Has anyone ran stats on this one? I have, for specific problem applications. While I can

Re: UDF question

2002-03-18 Thread junkMail
of Macromedia software engineering. [EMAIL PROTECTED] - Original Message - From: Howie Hamlin [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 8:21 AM Subject: Re: UDF question Why CF doesn't protect threaded access to shared memory automatically, I'll never know

Re: UDF question

2002-03-18 Thread Douglas Brown
Maybe someone from Macromedia would be kind enough to comment on this? Success is a journey, not a destination!! Doug Brown - Original Message - From: junkMail [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 11:41 AM Subject: Re: UDF question

Re: UDF question

2002-03-18 Thread junkMail
Sessions on your server, then you'll need to do all the sloppy locking. (smile) [EMAIL PROTECTED] - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 7:23 AM Subject: RE: UDF question I don't recommend this. (Notice I said

Re: UDF question

2002-03-18 Thread ksuh
Message - From: junkMail [EMAIL PROTECTED] Date: Monday, March 18, 2002 12:50 pm Subject: Re: UDF question Gosh, I disagree completely with this. For me, having my code littered with irrelevant CFLOCKs is sloppy. I'm comfortable with requiring the server setting. It's a simple, clean,set

RE: UDF question

2002-03-18 Thread Matthew R. Small
Hmmm... can we write multithreaded applications in ColdFusion? If so, please explain how. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 2:58 PM To: CF-Talk Subject: Re: UDF question Interesting. Any language

Re: UDF question

2002-03-18 Thread junkMail
-threaded language. It's a language capable of producing multi-threaded applications, such as ColdFusion. [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 1:58 PM Subject: Re: UDF question Interesting. Any language

Re: UDF question

2002-03-18 Thread Jon Hall
http://www.javaworld.com/javaworld/javaqa/1999-08/04-qa-leaks.html - Original Message - From: Douglas Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 2:44 PM Subject: Re: UDF question Maybe someone from Macromedia would be kind enough to comment

RE: UDF question

2002-03-18 Thread Raymond Camden
PROTECTED]] Sent: Monday, March 18, 2002 3:18 PM To: CF-Talk Subject: Re: UDF question With respect to this issue, comparing CFML to C++ is apples to oranges. I can't expect a low-level language to automatically manage concurrent access to shared memory resources, because I have

Re: UDF question

2002-03-18 Thread Jochem van Dieten
Howie Hamlin wrote: Why CF doesn't protect threaded access to shared memory automatically, I'll never know. It just doesn't make any sense. What if you're a hosting provider? Switch on full checking in the Administrator. We do it and explain this a little bit and everybody is happy. Or at

Re: UDF question

2002-03-18 Thread Howie Hamlin
, March 18, 2002 3:21 PM Subject: Re: UDF question http://www.javaworld.com/javaworld/javaqa/1999-08/04-qa-leaks.html __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable

RE: UDF question

2002-03-18 Thread Mark A. Kruger - CFG
to the developer. -mk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:58 PM To: CF-Talk Subject: Re: UDF question Interesting. Any language that implements locking (read: any that are worth programming in) uses some sort of sloppy locking

RE: UDF question

2002-03-18 Thread Matthew R. Small
: RE: UDF question (Taking off Macromedia cap and speaking as just one of yall...) The question is - do you want CF to automatically handle everything for you at the sacrifice of speed? Here is a good example: cfset session.x = 1 cfset session.y = 2 cfloop ... cfset session[foo#x

RE: UDF question

2002-03-18 Thread Raymond Camden
But shouldn't this whole issue be written into the server code? Wouldn't it would run much faster that way than both the individual sets of cflocks that you've portrayed and the reality which is sets of locks around blocks of session accesses? As far as readonly or exclusive goes, then

RE: UDF question

2002-03-18 Thread Shawn Grover
my code very clean when I'm only reading elements (99% of my use of session variables). My 2 cents worth Shawn Grover -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:26 PM To: CF-Talk Subject: RE: UDF question (Taking off Macromedia

RE: UDF question

2002-03-18 Thread Jeffry Houser
At 03:39 PM 3/18/2002 -0500, you wrote: And as long as we're here, show me a single time when you don't want to use locks around a session scope. The client hasn't paid their bill in 6+ months, you terminated your contract with them 2 months ago, and the client ( who still calls you every

Re: UDF question - locking...the future...maybe...

2002-03-18 Thread Jon Hall
: Howie Hamlin [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 3:28 PM Subject: Re: UDF question This article is about memory leaks caused by bad coding. We were talking about CFLOCKs and why the server should be doing concurrency checking without the coder using

RE: UDF question

2002-03-18 Thread Raymond Camden
1) with today's computer's, the speed issue shouldn't be an issue at all. Unless you are doing something inside a loop over thousands of iterations, on multiple websites (hosted on the same server) at the same time, the performance hit should be very minor. If you are looping through

RE: UDF question - locking...the future...maybe...

2002-03-18 Thread Raymond Camden
My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 3:47 PM To: CF-Talk Subject: Re: UDF question - locking...the future...maybe... The link was in response to the question of how future

Re: RE: UDF question - locking...the future...maybe...

2002-03-18 Thread ksuh
: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 3:47 PM To: CF-Talk Subject: Re: UDF question - locking...the future...maybe

Re: UDF question

2002-03-18 Thread Jochem van Dieten
Matthew R. Small wrote: Wouldn't it would run much faster that way than both the individual sets of cflocks that you've portrayed and the reality which is sets of locks around blocks of session accesses? As far as readonly or exclusive goes, then shouldn't the complier be able to distinguish

Re: UDF question

2002-03-18 Thread ksuh
mechanisms of locking control. What really matters is picking the one that suits you, and to write code that is in line with the decision you've made. - Original Message - From: junkMail [EMAIL PROTECTED] Date: Monday, March 18, 2002 1:18 pm Subject: Re: UDF question With respect

RE: UDF question

2002-03-18 Thread Matthew R. Small
-Talk Subject: RE: UDF question But shouldn't this whole issue be written into the server code? Wouldn't it would run much faster that way than both the individual sets of cflocks that you've portrayed and the reality which is sets of locks around blocks of session accesses? As far

Re: UDF question

2002-03-18 Thread junkMail
- From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 2:25 PM Subject: RE: UDF question (Taking off Macromedia cap and speaking as just one of yall...) The question is - do you want CF to automatically handle everything for you at the sacrifice

Re: RE: UDF question

2002-03-18 Thread ksuh
? - Original Message - From: Raymond Camden [EMAIL PROTECTED] Date: Monday, March 18, 2002 1:40 pm Subject: RE: UDF question But shouldn't this whole issue be written into the server code? Wouldn't it would run much faster that way than both the individual sets of cflocks that you've portrayed

RE: UDF question

2002-03-18 Thread Raymond Camden
Actually, it was a question for you because if there locks should be used in every situation then why even make it an option for the I already answered this though - the idea is that the programmer is better and deciding how the locks should be implemented. programmer? And I do disagree

Re: UDF question

2002-03-18 Thread Sharon Diorio
and a coder thread? ;-) Sharon - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 3:25 PM Subject: RE: UDF question (Taking off Macromedia cap and speaking as just one of yall...) The question is - do you want CF

RE: UDF question

2002-03-18 Thread Matthew R. Small
PM To: CF-Talk Subject: Re: UDF question CF is merely an abstraction of a crap load of C++ code. I agree with you on the process that happens when you define a variable in CF. I don't see how that absolves the programmer of coming up with the best way of handling concurrency issues. Regardless

RE: RE: UDF question

2002-03-18 Thread Matthew R. Small
PROTECTED]] Sent: Monday, March 18, 2002 4:19 PM To: CF-Talk Subject: Re: RE: UDF question It comes down to a game: Can the server decide the best way to lock in less time than the best manually coded lock? Which then boils down to: Can the CF interpreter decide the best way to lock in less time

Re: RE: UDF question

2002-03-18 Thread ksuh
See below: - Original Message - From: Matthew R. Small [EMAIL PROTECTED] Date: Monday, March 18, 2002 2:33 pm Subject: RE: UDF question The only concurrency issues that seem to come up in CF are when we needto single thread any piece of code - that's what the locks do. But I

Re: RE: RE: UDF question

2002-03-18 Thread ksuh
is born out by: Assembly is faster than everything. - Original Message - From: Matthew R. Small [EMAIL PROTECTED] Date: Monday, March 18, 2002 2:39 pm Subject: RE: RE: UDF question You're right... it seems that the real question is whether or not the server can determine whether

Re: UDF question

2002-03-18 Thread junkMail
- From: Sharon Diorio [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 3:13 PM Subject: Re: UDF question I'm with Raymond. It was a royal PITA to get used to locking all variable access, but now that I'm in the habit, it isnt' that bad. Like most things, I'll

RE: RE: UDF question

2002-03-18 Thread Matthew R. Small
maybe? :-) My humble opinion. Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 4:38 PM To: CF-Talk Subject: Re: RE: UDF question See below: - Original Message - From: Matthew R. Small [EMAIL PROTECTED] Date: Monday

RE: RE: UDF question

2002-03-18 Thread Shawn Grover
, 2002 3:01 PM To: CF-Talk Subject: RE: RE: UDF question I don't think it's a multi-threaded language because it is not possible (to my knowledge) to start a new thread and have it run while the main thread continues execution, then notify the main thread when it's done executing. The fact

RE: RE: UDF question

2002-03-18 Thread Matthew R. Small
But that's not CFML, that's HTML. And you can't thread a separate process to run concurrently inside the page. -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:12 PM To: CF-Talk Subject: RE: RE: UDF question You can begin mulitple

RE: UDF question

2002-03-18 Thread Benjamin S. Rogers
The question is - do you want CF to automatically handle everything for you at the sacrifice of speed? Raymond, My first question to you is is there ever a reason not to lock access to Session or Application scoped variables? Personally I can't think of one, much less one in which the

RE: UDF question

2002-03-18 Thread Matthew R. Small
Well said. - Matt Small -Original Message- From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:32 PM To: CF-Talk Subject: RE: UDF question The question is - do you want CF to automatically handle everything for you at the sacrifice of speed? Raymond

Re: UDF question

2002-03-18 Thread junkMail
implemented system, using CFLOCK for variable access would be totally unnecessary and provide no benefit. [EMAIL PROTECTED] - Original Message - From: Benjamin S. Rogers [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 4:31 PM Subject: RE: UDF question

RE: RE: UDF question

2002-03-18 Thread Dave Watts
I don't think it's a multi-threaded language because it is not possible (to my knowledge) to start a new thread and have it run while the main thread continues execution, then notify the main thread when it's done executing. The fact that we need to be concerned about multi-threading

RE: UDF question

2002-03-17 Thread Raymond Camden
ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Howie Hamlin [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 16, 2002 4:35 PM To: CF-Talk Subject: Re: UDF question Thanks for the reply. I wound up using: function BasketItemCount() { var

Re: UDF question

2002-03-17 Thread junkMail
Or enable Single Threaded Sessions in the CF Administrator. [EMAIL PROTECTED] - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 3:14 PM Subject: RE: UDF question Of course, you wan't to wrap the call to this UDF

RE: UDF question

2002-03-17 Thread Chuck McElwee
And pay a steep price in performance... Chuck McElwee etech solutions inc www.etechsolutions.com -Original Message- From: junkMail [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 4:30 PM To: CF-Talk Subject: Re: UDF question Or enable Single Threaded Sessions in the CF

RE: UDF question

2002-03-17 Thread Ben Forta
Pay a price, yes, especially if you are using frames. But I'd not call it a steep price. Has anyone ran stats on this one? -Original Message- From: Chuck McElwee [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 4:43 PM To: CF-Talk Subject: RE: UDF question And pay a steep

Re: UDF question

2002-03-17 Thread junkMail
Meade [EMAIL PROTECTED] - Original Message - From: Ben Forta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 3:41 PM Subject: RE: UDF question Pay a price, yes, especially if you are using frames. But I'd not call it a steep price. Has anyone ran stats

  1   2   >