Re: Future Proofing/Backward compatibility
+1 for Cameron's approach. I use that construct in lots of places internally to create value objects with default values for keys that weren't passed. Dave Merrill On Fri, Dec 7, 2012 at 9:42 AM, Cameron Childress camer...@gmail.comwrote: On Wed, Dec 5, 2012 at 6:50 PM, Chris Velevitch chris.velevi...@gmail.comwrote: How would you design that function to handle the fact that some clients are NOT passing the new field and there's no need to change the clients as it's optional? I typically handle this in a CFC function using defaults for non-required arguments. IE: cffunction name=myFunction cfargument name=varone required=true / cfargument name=clientspecificvar default= / In your specific case, I'd probably abstract out the stored proc call into it's own function with it's own named arguments. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353413 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) CF Builder SVN
+1 for visualsvn server if you'e hosting locally. Really straightforward. Dave Merrill On Wed, Nov 7, 2012 at 2:24 PM, Matthew a.matthe...@yahoo.com wrote: Out if interest, what OS do you develop on? If it's on windows OS have considered visualsvn server? http://www.visualsvn.com/server Matt. On 7 Nov 2012, at 18:46, Michael Reick mich...@widgethq.com wrote: I've decided to finally make the plunge and start using CF Builder (latest version, I think. 2 update 1) For some inane reason I've also decided to start using Subversion for source/versioning control at the same time. I think I've got the SVN server running correctly, TortoiseSVN will let me browse, I think the server. And I used Wil's article on how to get CFBuilder to talk to the SVN server. In Builder, I've got at least one existing project (entire codebase of a large site) that I want to add to svn. Everything I try to go to Team - Share Project, it will let me select the SVN server, give me a bunch of options, (Doesn't seem to matter which I choose) and at some point it will fail, giving me a cryptic Share project has failed. svn: url 'svn://serveraddress/trunk/Development' doesn't exist. I refresh TortoiseSVN and I see those directories/locations. I try again, and it fails with the same error message. I try deleting everything in TortoiseSVN and try from scratch with the same results. I'm still not totally convinced that I want to use SVN, and I haven't even gotten to the point of trying to check/in/commit code. So far, it's been less than encouraging, especially since I'm still the only developer on this code. Any helpful hints? Suggestions? Comments? Thanks! Michael Reick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353303 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best IDE for cfscript
I'm with Matt, IDEA is great. In many ways, big and small, it increases my productivity and code quality, and just improve the experience of coding all around. It's not without its warts, but it's improving all the time. I'd never go back. Dave Merrill On Mon, May 7, 2012 at 1:45 PM, Matt Quackenbush wrote: Since it hasn't been mentioned yet, I would also recommend giving Intellij IDEA a shot, *especially* if you work in other languages, too. It was quite a change for me, having used CFE/CFB for many years, but I doubt I could switch back, now. http://www.jetbrains.com/idea/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351125 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Fullasagoog not updating?
Thaks Ray, wasn't aware of this somehow. (Though I suppose I should have guessed... what *haven't* you built???) Looks good, added to the reader on my droid. That is, after I took 5 minutes to figure out how to type an = sign on the droid virtual keyboard; apparently I never had to do that on there before. Does anyone know if fullasagoog is officially deprecated? Dave On Wed, Mar 30, 2011 at 6:28 AM, Raymond Camden rcam...@gmail.com wrote: You can always use ColdFusionBloggers.org. ;) (And seriously - if you don't use it now because it's missing something, let me know.) On Tue, Mar 29, 2011 at 10:28 PM, Dave Merrill enigm...@gmail.com wrote: Not sure if this is a live-under-a-rock-and-missed-the-news thing, but the latest post I see on fullasagoog is 3 weeks old. Is its collection mechanism not working? Please don't say it's going away, it's wonderful. Or maybe nobody it watches is posting anything? That can't be right, right? Thanks, Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343415 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Fullasagoog not updating?
Not sure if this is a live-under-a-rock-and-missed-the-news thing, but the latest post I see on fullasagoog is 3 weeks old. Is its collection mechanism not working? Please don't say it's going away, it's wonderful. Or maybe nobody it watches is posting anything? That can't be right, right? Thanks, Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343404 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: REGEX hell
Be a little careful, Regex Coach works with perl regex syntax; cf needs java syntax usually, with some differences. I can't recommend Regex Buddy highly enough. It's not free, but it's really quite excellent, supports a variety of different flavors. Dave On Thu, Nov 25, 2010 at 10:17 AM, Jerry Barnes critic...@gmail.com wrote: Regex that is useful but unfortunately, my skills are pretty weak in that area. I use an application named The Regex Coach' to build my code. It has a place to put the string you are trying to match and another place to put your regex code. As you modify the regex code, it highlights how much of the string matches. The program is free with the option of donating via paypal to the creator if you like it. J - No man's life, liberty, or property is safe while the legislature is in session. - Mark Twain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339532 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Choosing between ColdFusion Builder and IntelliJ
On Thu, Nov 18, 2010 at 2:19 PM, Dave Burns cft...@burnsorama.com wrote: I'm considering moving on from Dreamweaver and finally using a better IDE for CF work. I know of CFBuilder and have downloaded the trial to eval. I used IntelliJ for some Java projects 2 years ago and it was outstanding. FWIW, I'm a relatively recent IDEA (IntelliJ) convert, and I love it. They have a 30 day trial too; you might as well give it a shot. It's just really smart, in a million productivity enhancing and code quality inducing ways. Really extensive customizable keyboard shortcuts, variable and function completion, tons of languages, great snippet support, works with projects and also freeform File Open or dbl-click in explorer, file structure view that bogs down quite a bit less than CFB (at least the version I tried when it was released), shortcut to go to the definition of the function under the cursor, even in an unrelated file up the dir tree over and down, indexes everything for fast searching, nice favorites functionality, syntax error highlighting, camelcase-aware spellchecker (a bit buggy but great anyway), just a lot of things that make using it a pleasure. It's not all lollipops and rainbows though. While the program itself is really outstanding, the CFML plugin is somewhat immature. To begin with, you may find it a bit awkward starting your first project, because it doesn't make it clear how you do that for CFML, or have CFML-oriented tools for it (just choose java for now). It also doesn't fully understand CFML variable and function visibility, so for instance things declared in a cfinclude are flagged as unresolved references and completion doesn't work on them. During my 30 day trial, they fixed 15 bugs I reported (!!!), plus others, but the pace of development seems uneven, and slow these days. A number of pretty obvious flaws and enhancements have been filed by various folks, with not a lot of movement on them lately. Also, I'm on windows, but I've heard several times that on a mac, out of the box it's u-g-l-y; if that's you, go for the GTK+ theme immediately, before you hate it. The really big downside is no debugger. Both the FusionDebug and FusionReactor teams have said their products were designed for multiple host environments, and expressed eagerness to collaborate with IntelliJ, but so far nothing's come of that, beyond a statement that it's under discussion. I personally think that the investment required to make that happen would make IDEA so much more visible and attractive in the marketplace that it would pay for itself many times over, and have said so, but so far all I can say is I hope it happens, but we'll see. I think to some extent Sean is right that the plugin doesn't get the resources it could use, and their reluctance to pony up for a debugger is a symptom. Far as I know, there's one dev working on it, and she's great, but also have other commitments. So it appears that I wrote more about downsides than its awesomeness, but that's totally not how I actually feel. I'm happier with IDEA than I've ever been with a development environment. If it never got any better than it is now, I'd still be using it. Try it, I think you'll like it. You probably know this, but the CFML plugin works only with the paid version not the free Community edition. There's a google group here if you have questions: http://groups.google.com/group/cfml-plugin-for-intellij-idea Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339392 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) AWS / EC2 and SpamLists
Check out http://postmarkapp.com. Depending on the volume of mail you need to send, it's either pretty cheap, or worth it for their tracking tools. Dave On Thu, Nov 18, 2010 at 10:47 AM, Brook Davies cft...@logiforms.com wrote: This a bit OT. I just wanted to share what I'd found, in case anyone else is considering moving to the cloud. Its certainly attractive, and being able to spin up a new server from an image configured with webserver, CF, OS and your website files in under 5 minutes is pretty cool. Just keep one thing in mind. Sending email from the cloud (at least from Amazons) is problematic at best. The IP's (Elastic IP's), that we were assigned we're already in the SpamHaus database and other RBLs. And we NSI wouldn't let us set up a cname record with those IPs. There *are* procedures to get your IP's removed/whitelisted but I don't think you can count on this since there are so many blacklists and your sharing an IP range, so your neighbour could get you in trouble again in the future. For me, I can't risk emails not getting delivered (new user account registrations, password reminders, notifications, campaigns - all of em), so the solution is to maintain an SMTP server at a co-lo or dedicated server location that you can trust to do your mail sending. Or use an outsourced email (smtpauth.com,jangosmtp.com) service. You can also set up a VPC with your existing hardware from the cloud and 'talk' to it like it was on your local network. Anyhow, I just wanted to put this out there. I was stoked to move to the cloud, and this threw a bit of a wrench in the idea, since having to maintain a server somewhere for sending email is kinda of a pain in the butt. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339394 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Should a getMemento method return the results of getters if they exist?
With all due respect to all you far more OO-seasoned gentlemen than I, this isn't the response I expected. Here's what I was thinking: - On a gut level, though I appreciate the value of an object that hides its internals completely and provides no access to them other than through its methods, it still felt strange to me that instance values, internal state, constants, etc, and methods were all dumped into the variables scope, and indistinguishable from them, except by diving through the properties array of the whole extends tree. Without doing that, even the object itself can't know what the data fields are, even internally, like for instance to iterate over them and ask each one if it's valid. To some extent, getMemento is related to, and my reaction to the need for, this kind of sometimes-necessary introspection. - If you google coldfusion getMemento, you'll find multiple implementations. Perhaps these folks are all wrong-headed, but that reinforced my sense that this was a useful tool. - My first actual use case is to implement isDirty(). There are many ways to go about this, and I'm curious what your best practice is. What I was thinking was to populate the bean, then call setNotDirty(), which would call getMemento and save the result in an internal field. When isDirty() was called, you'd iterate over the fields in the object, comparing them to the saved values. This doesn't break encapsulation, or put raw un-object data out there for the whole world to see; it's internal. In this case, the answer to my actual question is that if you're going to compare the raw data rather the results of getters, getMemento should return the raw data; that's my initial inclination, without having built it. If you're going to compare getter results, getMemento needs to return them too. - The second use case I was thinking of is serialization, where the answer to my question seems to depend on where the data's going. If it ends up on another server in an object just like this one, you'd probably want getMemento to return the raw data, so it didn't run through getter processing both before serialization and when getters were called on the remote object. If it's headed for HTML rendering through a js templating engine, unless you want to duplicate the getter logic there, you probably want the getter values, with any formatting and other logic they have. Obviously, getMemento() isn't the same as serialize(), but it's arguable that serialize could call it in the generic default case. Maybe I'm just being OO-green to ask this question, but that's roughly what was on my mind. @Mike, I don't understand why you say you'd have to call getters to get anything other than the default values. The value of variables.myField will have changed if the object's setters were called with data that's different from the defaults; it's not necessary to call a getter to see that change. The difference is that getters may have their own logic, to format the raw data, combine it with other fields, etc, so the value in the variables scope may not be the same as what the getter returns. Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite on Windows 7
IntelliJ IDEA with the CFML plugin, which I love, does create projects (and makes them very useful, as a search scope for instance), but it also lets you open any file, including as a right-click or default action for selected file types. If you *never* work on projects, I think you might still want to create an empty one as a base, then open whatever you want. It's got warts, and no RDS (has FTP though), but I've never been happier. Dave On Mon, Nov 15, 2010 at 5:21 PM, Russ Michaels r...@michaels.me.uk wrote: cfbuilder does allow you to work with files directly and not create projects btw. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339279 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Should a getMemento method return the results of getters if they exist?
In the cfproperty-oriented world, where properties get dumped into the variables scope along with your methods and anything else there, many folks including me have written getMemento methods to return a struct with the values of the object's declared properties, only. Do you suppose methods like this should use the values returned by getters where they exist? Or just the raw internal data? If you're populating another instance of the object from this result, I suppose it would depend on whether that object had similar getters, and maybe setters too; you wouldn't want to get data already processed by a getter, then process it again in its new home. OTOH, if the receiving object is dumb, you might want the formatted/defaulted/logi-processed version that a getter would return. So maybe it's a context-specific thing. My impression is that the memento itself is a dumb value object only, no getters or setters, so it seems like getters should be used when you get the data out of a smarter object that has them. Or should there be a flag to enable getters? If so, what's its default? Any thoughts? Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite Comment Command
Haven't followed this whole thread, not sure what you're doing, but the CFML comment sequence should never print through to the output at all, ***when interpreted by a CFML engine***. If you're reading the file somehow, then it's not being handled as CFML, and you'll have to deal wiht it according to your circumstances. But as CFML, the validator hsould never see it, because it doesn't render on the page. It's a comment, not HTML. Dave On Sun, Nov 14, 2010 at 7:47 PM, Terry Troxel terry.tro...@gmail.com wrote: These are the errors I get with XHTML Transitional Line 10, Column 27: invalid comment declaration: found name character outside comment but inside comment declaration !--- this is a comment --- Line 10, Column 1: comment declaration started here !--- this is a comment --- Terry -Original Message- From: Azadi Saryev [mailto:azadi.sar...@gmail.com] Sent: Sunday, November 14, 2010 4:22 PM To: cf-talk Subject: Re: Homesite Comment Command iirc, the 3-dash cf comment does not trip html validation. the 3rd dash is considered the first character of comment text. i do not ever remember having trouble with cf comments in W3C validator. Azadi On 15/11/2010 07:54 , Terry Troxel wrote: Russ thanks for answering. I guess I wasn't specific enough. Is there a keyboard shortcut command to do the html comment in Homesite? I use Coldfusion in my Site Admin for my clients to design their pages and then When they update it writes all the pages to plain html for SEO as well as speed. If there is a command it would save me a bunch of time programming instead of Deleting the extra dashes by hand. Terry -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Sunday, November 14, 2010 2:36 PM To: cf-talk Subject: RE: Homesite Comment Command Terry, !--- This is a ColdFusion Comment --- !-- This is a HTML comment -- If you put an HTML comment around CFML it will do nothing and the code will still execute. CFML comments do not appear in the source code so any HTML validation will not see it, if you are running the validation on the CFML source then just ignore the comments. Russ -Original Message- From: Terry Troxel [mailto:terry.tro...@gmail.com] Sent: 14 November 2010 22:21 To: cf-talk Subject: Homesite Comment Command I don't know if this is OT or not. I Homesite 5+ in CFML Basic the!--- comment command gives you this:!--- --- Where can I change that to output:!-- -- as W3C doesn't validate with the 3 dashes? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339224 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF (8.0.0) performance vs PHP (5)
It may well depend on the size and number of the strings, since the main inefficiencies can be piling up of immutable strings and subsequent GC. And like they say, there's lies, damn lies, and statistics... d On Tue, Nov 9, 2010 at 10:10 AM, Larry Lyons larrycly...@gmail.com wrote: Yes, cfsavecontent appears to use a java buffer internally, and runs just about as fast. Pick whichever method gives you code you like better with your content, its source, and your coding style. Dave Its actually faster according to the tests I've seen. Both ArrayAppend and cfsaveContent came out the fastest in John Whish's testing on CF8 (see http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/string-concatenation-performance-test-128). In most cases both of these were faster than StringBuilder or StringBuffer. concatenate with coldfusion : 6797ms listappend with coldfusion : 21344ms arrayappend with coldfusion : 47ms coldfusion with save content: 47ms concatenate with java stringbuffer : 62ms concatenate with java StringBuilder : 63ms Some time or other I'll have to try John's test case under load with jMeter and see what the performance is actually like. regards, larry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339066 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF Blog software
Ii don't think many hosts prohibit CreateObject('component'), they're after the java/com/corba flavors. CreateObject('java') is mighty useful though; not sure if Mango uses it or not. Dave On Tue, Nov 9, 2010 at 7:36 PM, Sean Corfield seancorfi...@gmail.com wrote: Mango Blog is great but it won't run on a ColdFusion host that restricts CFC creation... On Tue, Nov 9, 2010 at 3:27 PM, AJ Mercer ajmer...@gmail.com wrote: I am running mangoBlog on Railo http://www.mangoblog.org/ http://www.mangoblog.org/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339067 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Installing CF9 on Windows 7 64 bit
+1 On Sun, Nov 7, 2010 at 12:29 AM, Dave Watts dwa...@figleaf.com wrote: The CF9 installers fails because it can't find the MDAC 2.6 or higher. But, that object is now integrated into the OS directly. So, it is available. Has anyone worked around this during the install of CF9? I've installed CF 9 on Windows 7 64-bit several times, and have never run into that issue. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Formatting the output of a text datatype
Sorry, no, HTMLEditFormat replacesand and their unicode versions with the equivalent HTML entities. It doesn't turn CR or LF into br /, or fix any Word characters. Dave On Sat, Nov 6, 2010 at 8:55 PM, Larry Lyons larrycly...@gmail.com wrote: Look at the DeMoronize function on CF-Lib.org It does a pretty good job of removing most Word related crud. http://www.cflib.org/index.cfm?event=page.udfbyidudfid=725 Also you can use the replace function to replace the windows carriage returns and line feeds with a br / However it may be easier just to use the HTMLEditFormat() function that does the same. hth, larry You can also find useful functions on cflib.org for formatting and remove word crap. Htmltidy may also help you, this is not a cfml tag though so use google. Totally! cflib.org roxors. You can probably find something that sanitizes the input for XSS attacks and whatnot too, which shouldn't be overlooked. I'd google it for the OP, but the OP doesn't know me that well, and thus I might be interpreted incorrectly. ;)p :Den -- He who does not bellow the truth when he knows the truth makes himself the accomplice of liars and forgers. Charles Peguy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF (8.0.0) performance vs PHP (5)
Yes, cfsavecontent appears to use a java buffer internally, and runs just about as fast. Pick whichever method gives you code you like better with your content, its source, and your coding style. Dave On Sat, Nov 6, 2010 at 9:22 PM, Larry Lyons larrycly...@gmail.com wrote: +1,000,000 for Jame's theory about string concatenation. CF is very inefficient at this. Doesn't amtter much for small stuff and a few repeats, but for bulk, a Java buffer is the way to go. Dave String concatenation is quite slow in CF. This blog did some fairly simple tests and found that cfsavecontent was the fastest was to do string concatendation, see http://blog.fi.net.au/?p=279 I've run run similar tests using a more robust testing procedure and found similar results, (see http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/string-concatenation-performance-test-128) Basically cfsavecontent is on the average twice as fast as the java string buffer. What I'd suggest is do not write the file line by line but build up the string using cfsavecontent then write the string to disk. I think you'll find that that is about as fast as the PHP method, or nearly so. regards, larry -- Larry C. Lyons web: http://www.lyonsmorris.com/lyons LinkedIn: http://www.linkedin.com/in/larryclyons -- People need to realize that the plural of anecdote is not data. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
What's the MySQL syntax for this query?
The SQL Server version of this query is this: UPDATE t1 FROM MyTable t1 SET Foo = 1 WHERE Bar = 99 AND NOT EXISTS ( SELECT * FROM MyOtherTable t2 WHERE t2.SomeColumn = t1.SomeColumn AND t2.SomeOtherColumn = t1.SomeOtherColumn AND t2.YetAnotherColumn = 42 ) The Oracle version is this: UPDATE ( SELECT * FROM MyTable t1 WHERE Bar = 99 AND NOT EXISTS ( SELECT * FROM MyOtherTable t2 WHERE t2.SomeColumn = t1.SomeColumn AND t2.SomeOtherColumn = t1.SomeOtherColumn AND t2.YetAnotherColumn = 42 ) ) join_table SET join_table.Foo = 1 (Hopefully I didn't mess things up converting from real names and simplifying a bit. Sorry about the bent indentation too; try it in a monospace font.) What's the MySQL version? Neither of those. All the examples on the net are simple joins, not like this. Any other more reasonable ways to do this, ideally something compatible with all three dbs (hah)? Thanks, Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338713 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What's the MySQL syntax for this query?
Dang it, I was afraid I'd mess up that conversion. The SQL Server version is actually this (2nd and 3rd lines switched): UPDATE t1 SET Foo = 1 FROM MyTable t1 WHERE Bar = 99 AND NOT EXISTS ( SELECT * FROM MyOtherTable t2 WHERE t2.SomeColumn = t1.SomeColumn AND t2.SomeOtherColumn = t1.SomeOtherColumn AND t2.YetAnotherColumn = 42 ) Dave On Mon, Nov 1, 2010 at 9:10 AM, Dave Merrill enigm...@gmail.com wrote: The SQL Server version of this query is this: UPDATE t1 FROM MyTable t1 SET Foo = 1 WHERE Bar = 99 AND NOT EXISTS ( SELECT * FROM MyOtherTable t2 WHERE t2.SomeColumn = t1.SomeColumn AND t2.SomeOtherColumn = t1.SomeOtherColumn AND t2.YetAnotherColumn = 42 ) The Oracle version is this: UPDATE ( SELECT * FROM MyTable t1 WHERE Bar = 99 AND NOT EXISTS ( SELECT * FROM MyOtherTable t2 WHERE t2.SomeColumn = t1.SomeColumn AND t2.SomeOtherColumn = t1.SomeOtherColumn AND t2.YetAnotherColumn = 42 ) ) join_table SET join_table.Foo = 1 (Hopefully I didn't mess things up converting from real names and simplifying a bit. Sorry about the bent indentation too; try it in a monospace font.) What's the MySQL version? Neither of those. All the examples on the net are simple joins, not like this. Any other more reasonable ways ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What's the MySQL syntax for this query?
This more straight ahead version also works for Oracle: UPDATE MyTable t1 SET Foo = 1 WHERE Bar = 99 AND NOT EXISTS ( SELECT * FROM MyOtherTable t2 WHERE t2.SomeColumn = t1.SomeColumn AND t2.SomeOtherColumn = t1.SomeOtherColumn AND t2.YetAnotherColumn = 42 ) Still no ideas for MySQL. Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What's the MySQL syntax for this query?
@Azadi and Leigh, the oracle syntax gives this on mysql: Error Code: 1093 You can't specify target table 'dfv1' for update in FROM clause. Ended up with this for mysql: UPDATE MyTable t1 LEFT OUTER JOIN t2 ON t2.SomeColumn = t1.SomeColumn AND t2.SomeOtherColumn = t1.SomeOtherColumn AND t2.YetAnotherColumn = 42 SET Foo = 1 WHERE Bar = 99 AND t2.SomeColumn IS NULL Funky stuff. Dave On Mon, Nov 1, 2010 at 10:14 AM, Leigh cfsearch...@yahoo.com wrote: This more straight ahead version also works for Oracle: What error are you getting? I would expect that syntax to work with MySQL 5. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What's the MySQL syntax for this query?
Yes, the actual query's different, that's why the msg about 'dfv1', which wasn't actually in the version I posted. Anyway, I'm good I think, thanks for checking. Dave On Mon, Nov 1, 2010 at 11:42 AM, Leigh cfsearch...@yahoo.com wrote: Yes, putting the JOIN in the UPDATE should work for MySQL. 1093 You can't specify target table 'dfv1' for update in FROM clause. Though I am thinking the actual query was different than what you posted. Because I tried version #3 with MySQL 5 and it _seemed_ to run without error. Anyway, glad you have something that works now. -Leigh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFLOOP Next Iteration
Just to say it, I too had lots of trouble with CFB, and while I liked some things about CFEclipse before that, its bloat and bugginess bummed me out (Eclipse more than CFE). But now I'm a happy camper, using IntelliJ IDEA with its CFML plugin. No, it's not perfect by any means, but it's just a really *smart* IDE, with tons of convenience and productivity features, handles many languages, and CFML support is getting better and better. I'm enjoying it more than any other editor I've used, and I've been doing this a long time. Couple things to note if you're thinking about giving it a try: - If you're on a Mac, my understanding is that it's butt-ugly out of the box. Try the GTK+ Appearance setting (says Mark Mandel; I don't have a mac). - To start a new CF project, choose a Java project, cancel out of scanning for java files, and uncheck the box to create a source directory. One of the things they need to work on is making starting a new CF project more intuitive for newcomers. - The CFML plugin requires the Ultimate version of IDEA, won't work with the free Community version. It's about $250, with a free 30 day trial. I live in my IDE all day and sometimes a good hunk of the evening too, so I'm OK with that. /soapbox Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338689 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question about using javascript in .cfm files...
+1 On Thu, Oct 28, 2010 at 2:06 PM, Michael Grant mgr...@modus.bz wrote: I'll +1 that. I generally only use CF to set js vars at the top of the head too. That way your js can stay pure js. On Thu, Oct 28, 2010 at 12:04 PM, Rick Faircloth ric...@whitestonemedia.com wrote: Interesting approach, Carl! Haven't thought about that. I'll definitely give that a try! Thanks for the tip! Rick -Original Message- From: Carl Von Stetten [mailto:cmvon...@hotmail.com] Sent: Thursday, October 28, 2010 11:19 AM To: cf-talk Subject: Re: Question about using javascript in .cfm files... Rick, I have shared CF variables with JavaScript too. What I usually do is this: If I have to do any processes to define the CF variables, I put them at the top of the document, above the head section. Then, in the head section of my CFM page, I add a cfoutput inside a script tag and pass all of the desired CF variables into JavaScript variables. I make sure this is defined before I load any external JavaScript files and call any JavaScript functions. This way my JavaScript files retain their .js extension. HTH, Carl I've been using js files as .cfm files so I can intermix cf variables in the js. i.e., naming myJSFile.js, myJSFile.js.cfm, instead. This seems to work fine, but I've run into an issue that makes me wonder if this works in all cases as a regular js file would. Here's the question: If I have a js function in a .cfm file, would the declared function be defined by the browser upon first entering a page as it would if the function were in a .js file? e.g., should the function checkUserFavorites: function checkUserFavorites(USERID) { blah, blah, blah be defined if the js were in a .cfm file as readily as it would in a .js file? I keep running into a checkUserFavorites is not defined for which I cannot track down the problem. I'm reaching for an answer at this point, because I can't otherwise explain the error message otherwise, yet. Thanks for any feedback. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338652 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
HTMLEditFormat() broken in CF9?
Hi folks, It looks to me that in CF9, HTMLEditFormat no longer escapes text that's already escaped. In other words, all these lines except the first one produce identical results inside cfoutput (except for the line number, and assuming this code makes it ok through email): 1 2 amp; quot; lt; gt; 3 #HTMLEditFormat(' ')# 4 #HTMLEditFormat('amp; quot; lt; gt;')# 4 #HTMLEditFormat(HTMLEditFormat(' '))# 6 #HTMLEditFormat(HTMLEditFormat(HTMLEditFormat(' ')))# 7 #HTMLEditFormat(HTMLEditFormat(HTMLEditFormat(HTMLEditFormat(' '# I've tested this on two different machines, both win7, one 32-bit and one 64, identical results. I've captured the output to a file and looked at it in an editor to make sure it's not a browser hallucination (but I know it's not anyway because a home-grown alternative works as expected). This is very very bad in some contexts, for instance display or editing of html/cfml code, where it's essential that whatever the original is, what goes to the browser needs to be escaped one more level. I've been using HTMLEditFormat for this for years, and now it appears to be broken. Of course I can write a replacement easily, just trying to understand what's going on, and if I'm seeing what I think I am, eventually figure out if Adobe considers it an improvement, or a bug that'll eventually get fixed. Is anyone else seeing this? Any ideas? Any place else I ought to be asking? (Doesn't seem like a real Stack Overflow question, for instance.) Thanks, Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336288 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
HOF site down for several days?
I've been unable to get to the HOF site for a couple of days, it just keeps loading forever. I've tried from home and from work, same thing. Are other people seeing this? Thanks. Dave Merrill Web . Database . Interaction Design ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329538 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: HOF site down for several days?
All three seem fine now. Odd, dns hiccup maybe. Thanks for checking Michael. Dave Merrill Web . Database . Interaction Design I haven't seen any problems with the site for the last few days. Can you hit www.fusionauthority.com or www.blogoffusion.com? They are on the same machine. Actually, I'm sending this through the list archives. Thanks ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329544 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: (ot) Powerpoint question
I think that PowerPoint lets you draw directly on slides within PowerPoint itself, in full screen mode. There are keyboard shortcuts to erase annotations, show and hide the mouse pointer, etc. Dave Merrill Web . Database . Interaction Design -Original Message- From: Stefan Richter [mailto:ste...@flashcomguru.com] Sent: Wednesday, January 06, 2010 4:19 AM To: cf-talk Subject: (ot) Powerpoint question Hi all, sorry for the OT question but I think someone here may be able to advise. Is it technically possible to keep an application (for example a Windows executable of some kind) on top of a Powerpoint presentation which is in fullscreen, presenter mode? Imagine I was presenting a PPT file and wanted to annotate it live on my screen by drawing on top of it using a simple freehand drawing tool. For this to happen the drawing app would need to have focus which means the PPT snaps out of presentation mode. Any ideas welcome. Regards, Stefan ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329432 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFLOCATION, but with a form
Hello folks, As I understand it, cflocation sends a redirect to the browser, navigating it to a new page, potentially including url parameters. Is there any way to do a similar thing, but emulating a form, so passed parameters can be kept out of the url? Only thing I can think of is to render an actual html form, along with javascript to submit it. Is there an alternative? Thanks, Dave Merrill ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295011 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFLOCATION, but with a form
Well yes, you could use those other mechanisms to hand off the data, or push it into a db table, but that's not really what I'm trying to think about. Is there a form equivalent to the http mechanism used by cflocation, where the server side generates info that gets passed to a new page? Semi-relevant: cfhttp can submit a form with specified data to a specified url, but the whole thing happens on the server, without the browser relocating anywhere. What I'm looking for is just like that, but navigating the browser to that submitted pg. Dave Merrill -Original Message- From: Tom Chiverton Sent: Tuesday, December 18, 2007 11:17 AM To: CF-Talk Subject: Re: CFLOCATION, but with a form On Tuesday 18 Dec 2007, Dave Merrill wrote: As I understand it, cflocation sends a redirect to the browser, navigating it to a new page, potentially including url parameters. Is there any way to do a similar thing, but emulating a form, so passed parameters can be kept out of the url? Store them in the session, or as cookies. -- Tom Chiverton Helping to simultaneously coordinate user-centric communities on: http://thefalken.livejournal.com Halliwells wishes all of its clients and suppliers the Very Best for Christmas the New Year This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295049 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLOCATION, but with a form
Ian, that's exactly what I was looking for, a server response that asks the browser to submit a form, the form analog of what cflocation does. It doesn't surprise me that no such thing exists. Dave Merrill -Original Message- From: Ian Skinner Sent: Tuesday, December 18, 2007 3:09 PM To: CF-Talk Subject: Re: CFLOCATION, but with a form Semi-relevant: cfhttp can submit a form with specified data to a specified url, but the whole thing happens on the server, without the browser relocating anywhere. What I'm looking for is just like that, but navigating the browser to that submitted pg. Dave Merrill I am not seeing how this mechanism would work. You want the server to build a request for the client so that the client ends up somewhere else by submitting a form post? This sounds like a mixing of the server/client - request/response schema. cflocation... generates a response to the client request. This is a response (HTTP status 301 IIRC) that the client recognizes. Most browsers then handle this response by sending a new request to the suggested location. But of course they do not have to do this. There are no responses that I know of that suggests the browser to make a new form post request. I have done something like this in the ancient past (10 years ago) by building an HTML form with a JavaScript auto-submit that is sent to the browser. Of course this may not be looked on too friendly in todays environment and would be easily defeated. Bottom line: NO I know of no way to do this and it does not make sense to me from a client/server perspective. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295068 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PostgreSQL Case Sensitive Data?
Frankly, I agree with Matt that search behavior really should be case insensitive. I've wanted to check out postgres for a while, but finding this out may well slow me down. If, like most other dbs, searching for calculated expressions (LCASE(some_column) = 'foo' etc) is significantly inefficient, how are you supposed to manage this in the real world? Only idea I had was to store every possibly searchable value in mixed case for display, and somewhere else in all lowercase for searching. The other thing is that this makes it hard to use postgres as a drop-in replacement for most other common dbs. Sure, you could (re-)design the app from scratch to handle what most other dbs usually do automatically, but if that's really what you have to do, it seems like a much bigger decision than dealing with the much less pervasive syntax differences between vendors. Are folks really sure that no case-insensitive collation option is available? Dave ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266513 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF and OOP - Controller
Question # 1: Am I correctly understanding what a 'controller' is? As I understand it, in an MVC environment, the controller is what handles all the various tasks required prior to rendering the requested page. I think of the controller as the orchestrator, the one who examines the context, calls the models needed to get any data required, then passes that to the view for rendering. He's the traffic cop, kinda. Question # 2: Assuming that the answer to Q1 is 'Yes', is it correct/okay/accepted for the controller to be a CFC as opposed to an include or custom tag, and that controller CFC to reference outside scopes, such as 'form', 'url', 'session', and 'cgi'? Includes and custom tags aren't really part of the OO model. Doesn't mean they aren't useful in an OO context, but probably not as any of the main OO players; those would be CFCs (or maybe java objects). I have a strong preference that CFC methods be passed the info they need as arguments, rather than fishing it out of the air themselves. That makes it very clear what inputs they expect, and makes them testable, becuase you can easily feed each little piece disembodied test data outside the normal complexity of the real app. For that to happen, you need some kind of app structure that gathers the incoming data (typically including form and url scopes, maybe others), and calls the requested method of the requested CFC. It can be very simple, or something more full-featured. HTH, Dave Matt ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265406 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: recruiters with english as a second language
I know everyone here knows this, but I can't just leave this thread percolating without responding... I currently work in a culturally mixed environment, with a number of people from outside the US. Sometimes I have a bit of difficulty with their accents or wordings, as they do with the native english speakers, but nobody's shy about saying, what?, so we work it out. And make no mistake, all these folks are seriously sharp, very nice people. I'm happy to be working with each of them. Everybody's different from somebody. That doesn't make them any less valuable, or worthy of respect. Recruiters, on the other hand, regardless of where they're from, that's another story (;-0)... Dave Merrill ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2998 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Annoyances with cfencode
Hi folks, No matter what I do, cfencode gives a failure alert when encrypting more than one file at once. Msg is: -- The file you provided could not be encrypted. Make sure that the directory path specified for the OutFile exists, the file is not already encrypted, and the version is correct -- It does that when I run it from a cmd prompt in a directory with just 2 cfm or cfc files, pointing it at *.cfm, *.cfc, or *.cf*, and happens whether /q or /r are used or not. Running under Ant, it also returns a failure code of 1. The files do get encrypted, so it's working; the error msg is just annoying, and makes it hard for an Ant script know if it did actually work. Is that what you see? If not, any idea what might be different about how we're using it? My basic code is: cfencode *.cfm /q /r /v 2 Thanks much, Dave Merrill ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232931 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Annoyances with cfencode
No matter what I do, cfencode gives a failure alert when encrypting more than one file at once. use a shell command with some kind of looping structure: dos: for /R %i in (*.cfm) do cfencode %i [opts] *nix: find . -name *.cfm -exec cfencode [opts] {} \; /t Hmmm. So I gather that this behavior is what you see too? You work around it by not asking it to do more than one file at once? A bit odd that after all these years, basic functionality of this tool is so broken. Thanks, Dave Merrill ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232955 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Annoyances with cfencode
I know. As they say, it keeps honest people honest, nothing more. Dave Merrill Keep in mind that cfencoded templates are easily decoded. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: text editor that allow a tab
In a very similar situation, I've allowed ^t to stand for a tab; just replace when the page is submitted. Some editors use that shorthand in replace dlogs, so it's not completely foreign. Dave Merrill From: Ryan Guill [mailto:[EMAIL PROTECTED] Well im looking for an actual tab character. See im working on a tool im wanting to release to the community, its a query browser that lets you test out queries in a page. I developed it for a company I am consulting for and they have found it pretty useful. It basically just has textarea, and most of the time people seem to be copying their sql code into it which will retain their tabs, but there is no way to insert a tab in while writing directly into it. Its just a much asked for feature that I dont think is possible, but just wanted to check. But I dont want it to insert code of course behind the scenes, I need it to be an actual tab. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224025 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Named anchor + url params in IE
I'm finding that urls with both parameters and a named anchor, like this: somesite/somedir/somefile.cfm?method=goaction=showHelp#help_sql work fine in Firefox, but not in IE. It goes to the page, but not to the requested anchor. Also tried this variant: somesite/somedir/somefile.cfm#help_sql?method=goaction=showHelp no joy in either browser. Has anyone else seen this behavior? More importantly, got a workaround? Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224029 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Cold Fusion Job Resources
Couple more suggestions: craigslist.com just seems to have more interesting jobs than many. bostonworks.boston.com is good if you're in that area. guru.com seems to be one of the better piecework sites, though I didn't end up actually setting myself up there. idealist.org is good if you're looking for that sort of thing, but it's not very high volume. indeed.com is an aggregator, and it's great. While it's quite helpful, I've found that for some reason not every job from the sources they track shows up, so it's also worth checking with at least some of them directly. FYI also, not everything they find shows up in their rss feed or email alerts; check the feed (easy in Firefox) and set up emails, but go to the site too. Good luck, Dave Merrill I don't seem to find a list of sites that are good resources for finding Cold Fusion work and wondering if anyone would like to contribute their list to this thread. I'll start out with some of the basic ones I've found several on: http://www.CareerBuilder.com http://www.Monster.com http://JustColdFusionJobs.com Also, I'm wondering if anyone has ever come across a 'master' job agent -- in other words, a job agent that you can specify keywords and it finds jobs on multiple sites (instead of registering with 20 separate job agents). Thanks! Dave ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2675 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Can Homesite+ use Homesite settings?
Thanks Mike. I always knew I was just going to try it, unless I heard reports of something tragic happening, which I didn't expect. I'll make a backup of those files before I replace them, see what happens. Too bad these products don't actually seem to be designed to make replicating your IDE environment to another machine easy. Dave Merrill As far as I know, it should work. HS+ is basically CF Studio. CF Studio is basically HS with the db interaction, debugger and a couple other things. The files in the UserData folder are the same. However, everytime I try to copy my settings from one PC to another, they don't always take. Most of the settings do copy, but a few have to be recreated manually. I can't figure it out because I don't have the program running when copying files, so there isn't an issue with a locked file or a file being cached in memory. Regardless, it should work for you with a few minor burps. M!ke Could I just copy my UserData folder from Homesite 5 to another machine running Homesite+? Anyone tried this, or tried using HS 5 settings with HS 5.5? Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208922 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Can Homesite+ use Homesite settings?
Could I just copy my UserData folder from Homesite 5 to another machine running Homesite+? Anyone tried this, or tried using HS 5 settings with HS 5.5? Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208755 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Send email in Outlook
Fred Flintstone says: If it's a single msg, purely text info (no styling or rich text), and not too long, a mailto url might do it: a href=mailto:[EMAIL PROTECTED]body=gark%20spootMail Me/a Or are you trying to move contacts into the Outlook adr book? Dave Merrill I just got an interesting request... Instead of the Email/E-Newsletter management system that I was planning to build for a client, they've now asked: (When opening a dynamic CF page with client verification info on it..) Can we just click a button to get all the information into Outlook so we can do whatever we want to it from there? Short of some serious programming involving gawd knows what DOM/tweaks/VB something - I don't think there is really a way to do that, right? Hell, just open the CF page, copy and paste? -- --- Les Mizzell ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208491 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Storyboard Tool
Some agile folks think that first-cut screen design should be done on a whiteboard, using stickies for interface objects. Really easy, for anyone including non-technical participants, really quick, easy to change, easy to move around. They also say to take a picture of it when you're done this iteration, but the last time I tried something similar (but large, covering a biggish section of a wall), the resolution of the camera wasn't good enough to capture needed details. That was a long time ago though, and digital camera tech has come a long way since. Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208567 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Typing test for programming?
Writing user documentation (or an article, or a book) is a very different skill than being able to type. If a person can type 100 words a minute while composing at the same time, I'd be very impressed. A former boss of mine (a business and tech consultant, one of the smartest folks I've known) was legendary for both his typing and his ability to write long, complex, high-level documents off the top of his head. I personally know that he wrote an entire 500-page technical paper over a weekend -- one run through it, no editing or revision. Handed it into (perfectionist) production before delivery, and they made no changes. No typos, no rephrasing, no reorg, nothing. At roughly 325 words/pg, that's 162,500 words. Assuming two 12-hour days (it was probably less than that), that's about 6,770 words/hour, or about 112 wpm. While composing. He didn't do that every day, and granted, it was material he (obviously) knew really well. Still, I wish I could do that. Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2666 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[OT] GMail and Norton Aniti-Virus
My ancient copy of NAV doesn't see the GMail accounts I have set up in Outlook. Does anyone have this working with a recent version of NAV? Or does it just not work period, maybe because GMail's POP setup is SSL secured? Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208283 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Typing test for programming?
A bunch of people have suggested 'Typing of the Dead' as a really fun typing game that gets your speed up. Demo version is a free download various places. Dave Merrill ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2647 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Typing test for programming?
I remember a friend of mine once bragged about typing (programming code primarily in C/C++) much faster with only 4 fingers because the syntax was so different from english that it was actually more efficient not to use standard touch-typing practices. I didn't think much of it at the time. In retrospect I have to think the code was likely god-awful looking. My brother's a long-time APL programmer, and he can type it scary fast. If you've ever seen APL, you know that's quite a feat. Looks like a cross between hieroglyphics and a core dump. A semi-famous quote: APL, in which you can write a program to simulate shuffling a deck of cards and then dealing them out to several players in four characters, none of which appear on a standard keyboard. David Given Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2652 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF vs LAMP
LAMP typically involves PHP, not Perl. Not that I'm an authority on it, but PHP has become at least pretty much object oriented, and there's a lot of code out there for reuse. It's not an obviously stupid choice IMO. MySQL is free, but otherwise it's a pretty inferior option to MSSQL IMO, in features, scalability, ease of admin etc. Many of the MySQL features that bring it anywhere near the same level of functionality are brand new, FWIW. Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208071 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: DB Design, Engineering Re-Engineering Software
I use dbdesigner by fabforce Fabforce.net Open source project ;) Pat It does look good, thanks for the link. Did notice the following when I went to take a look at their forums: --- Dear DBDesigner4 users, Due to several attacks against the DBDesigner4 forum it has now been closed down. We simply cannot understand the sick motivation of people to attack Open Source projects. So please understand that we will not provide any support from now on. We will continue to host the DBD4 download till the release of the MySQL Workbench, its successor application that will be an official MySQL product. Then this project will rest in peace. Best regards, fabFORCE.net team --- Sad about the attacks, and lack of a support forum. It's also not completely clear to me what exactly will happen when it becomes an official MySQL product. Still free? Any idea when that'll happen? Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207334 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: DB Design, Engineering Re-Engineering Software
Last year I embarked on a journey to find the best low-cost database design tool, and after about six trial versions, I was down to DDS and CharonWare's CaseStudio. Eventually I chose CaseStudio, mainly because of the quality of the product and features. There was a couple things I liked about DDS better, but overall CaseStudio won out. I rolled this out to my entire team (six developers) and everyone loves it. www.casestudio.com Thanks for this, looks cool. Support for *lots* of dbs too. A little pricier than DDS, but not much. Two related notes: Oracle JDeveloper is a free download, and contains a very nice UML-notation data modeling tool. Is JDeveloper really free, as in, not demo-ware or cripple-ware, but free for commercial use? Is it appropriate for general purpose system modeling, not making use of its Oracle-db-and-ADF-specific java generation? I'd think that if that's true, it'd be cool, not having tried it. I wouldn't expect any low-cost alternatives to match an Oracle product for features or stability. Or am I just buying the hype? Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207349 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: DB Design, Engineering Re-Engineering Software
Yeah, it is... I personally don't think it's a good thing, but I can certainly understand the motivations of people who attack open source projects. I would think they'd have to fall into two categories -- the first being the same sort of motivations that drive some teenagers to pull the wings off of flies (or write viruses) and the second being people who are threatened by the project. I would venture a guess that the attacks probably originated with someone who owns or works for a company producing a competing commercial product and who's seen their paying customers dropping their product in favor of this free alternative. Not that I really know anything, but I'd be surprised if any company felt that threatened, and if they did, thought that snipes like this would have much effect in the long run. IMO the random vandals theory is much more likely. Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207351 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: DB Design, Engineering Re-Engineering Software
Bruce A. Bergman wrote: Last year I embarked on a journey to find the best low-cost database design tool, and after about six trial versions, I was down to DDS and CharonWare's CaseStudio. Eventually I chose CaseStudio, mainly because of the quality of the product and features. There was a couple things I liked about DDS better, but overall CaseStudio won out. I rolled this out to my entire team (six developers) and everyone loves it. www.casestudio.com Bruce, could you say some more about what made CaseStudio win out over DDS? Dave Merrill ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207361 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: DB Design, Engineering Re-Engineering Software
Haven't gotten around to actually trying it, but DDS-Lite looks good: http://www.dds-lite.com/ Interesting bullets from their feature list: --- - Enhanced Entity Relationship Diagram modeling allows you to design a fully relational database, complete with Cascading Referential Integrity Constraints, Indexes, Checks, Defaults and Unique constraints. - Data Structure Diagram that is created automatically from the Enhanced Entity Relationship Diagram shows the complete table structure. - Data Definition Language (DDL) Scripts for creating, dropping and loading the database can be quickly and easily generated for all of the supported database servers. - Cross DBMS Target Compatibility allows you to design once and create for all. No need to concern yourself with vendor specific variations to SQL syntax. All is handled by the application. - Supports All Major Databases including Oracle, DB2, SQL Server, Informix, Sybase (ASA and ASE), MySQL, PostgreSQL, Interbase, Access, SQLBase, Ingres, ANSI and Pervasive SQL. - Template Language to define the Data Definition Language scripts allows you to create the scripts exactly as you want them. - Java Source Code can be created directly from the Enhanced Entity Relationship Diagram to contain the Data Definition Language for any of the supported database targets. Source code can be compiled and executed from within the DDS-Lite environment. --- The $100 version doesn't do views, procedures, triggers, reverse engineering from existing dbs, or splitting big projects into multiple models. The $400 version does. Dave Merrill Any recommendations on DB software much less expensive then Erwin? Andy ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207310 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: [OT] Free ftp/sftp server
Thanks, looks like this may be the one to go with. Wish it was cross-platform, but that's not a real need, just a preference to learn the quirks of one app for future situations. Thanks again, Dave Check out the FileZilla project on sourceforge. Their main product is an ftp/sftp client, but they also have a server product. I haven't used it, but i've been *real* impressed with the client in terms of how often they release, fix bugs, patch security problems, etc - so i'd say the server probably deserves a spin. It's GPL and has beta sftp support. Win32 only... /t ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207156 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[OT] Free ftp/sftp server
I'm switching from IIS to Apache (win2k), and the only thing preventing me from shutting down IIS completely is that I need an ftp server (don't ask). Ideally is should do sftp, be cross-platform win/nix/mac, and be compatible with a wide variety of clients. (I'm not interested in a cf solution.) The only relevant jakarta project I saw is Apache FtpServer, here: http://incubator.apache.org/projects/ftpserver/ The last update of that was in late '03, and it's at 0.9, neither of which makes me feel all warm and fuzzy about it, but it might be great. Besides that, I've seen: freeFTPd - appears to be brand new, win only, does sftp I think FtpGoServer - cross platform java War FTP Daemon - win, been around for ever Anyone have experience with any of these, or good alternatives? Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207077 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Anyone know anything about R.L. Stevens?
These folks: http://www.interviewing.com/ I'm not so much looking for comments about career management firms in general, more specific experience with this one in particular. They've been around for a long time, but I haven't found much in the way of opinions, positive or negative. Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2630 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Client side include
Another idea I'm sure you've thought of is to put the menu in its own frame. That way it's not just cached, it doesn't even have to reload or render it. It does cause problems for bookmarks and section 508 compliance, but depending on the audience and use of the site, it may be worth considering. Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206526 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[OT - JS] onsubmit state
Say you've got a form with multiple submit btns, each given the name form_action, but with different values. When the form is submitted, the clicked submit btn's value shows up as form.form_action, as expected. However, from within an onclick handler for any of those btns, or an onsubmit handler for the form, form.form_action.value is undefined. This means that validation or other code that needs to know which submit btn was clicked can't tell. What I've done in the past is to include a hidden form field whose value is what we pay attention to, and set its value in the onclick handler for each submit btn. Anyone have any other strategies? Dave Merrill PECULIAR ASIDE: Interestingly, to set the value of that hidden field, you use: form.form_action.value = whatever, even though there's a hidden field plus multiple submit btns, all with that name. Typically you'd need to access that hidden field as: form.form_action.value[0] but that generates an error. It's like the named submit btns don't exist on this level. Odd. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206470 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: [OT - JS] onsubmit state
Typo in the PECULIAR ASIDE. It would normally be: form.form_action[0].value not: form.form_action.value[0] Doh! Don't want to distract my own thread here, but what's still peculiar is that form.form_action.value = whatever (without the [0]) has the desired effect, even though there are multiple form objects with that name. It still works without the hidden field. Still odd, or I'm doing a brain blank again. Dave Merrill Say you've got a form with multiple submit btns, each given the name form_action, but with different values. When the form is submitted, the clicked submit btn's value shows up as form.form_action, as expected. However, from within an onclick handler for any of those btns, or an onsubmit handler for the form, form.form_action.value is undefined. This means that validation or other code that needs to know which submit btn was clicked can't tell. What I've done in the past is to include a hidden form field whose value is what we pay attention to, and set its value in the onclick handler for each submit btn. Anyone have any other strategies? Dave Merrill PECULIAR ASIDE: Interestingly, to set the value of that hidden field, you use: form.form_action.value = whatever, even though there's a hidden field plus multiple submit btns, all with that name. Typically you'd need to access that hidden field as: form.form_action.value[0] but that generates an error. It's like the named submit btns don't exist on this level. Odd. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206474 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Re-ordering items in a list
Do the items consist only of displayed text, no hidden IDs or other attributes? Is the text editable? If yes to both, another alternative is to put them all on separate lines of a textarea. Users already know how to edit this with cut/paste/drag/drop, there aren't any btns to enable/disable, clean and simple. Dave Merrill I have a need for users to re-order 10-20 items in a list, easily. Normally I would do this in one of three ways: 1. List the items in order on a normal html page, and add move up/move down links 2. List all the items in the left column of a two column format, and make the items clickable.. when they are clicked, they're added to the right column. Again, a plain html page with some coldfusion on the back-end. 3. List the items and include textboxes for the user to enter the priority numbers.. 3, 5, 1, 2, 4 .. etc.. Personally, I usually prefer #1... #2 requires you to add them in order to the right column, and I generally find sites that use the third method to be a pain. What I'd like to do is use a flash RIA with a component on the back-end that allows me to drag-n-drop within a single list box. But I haven't done anything like this before, and wondered if anyone had some suggestions or examples. I think I'll post this to flashcoders too =) Thanks. Rick ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206477 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: [OT - JS] onsubmit state
The point is that regardless of what btn was clicked, its value hasn't taken effect yet during onclick or onsubmit. How does giving them different names help? Dave Merrill Without knowing what exactly you're using it for, I'd say give the submit buttons different names rather than values -Original Message- From: Dave Merrill Say you've got a form with multiple submit btns, each given the name form_action, but with different values. When the form is submitted, the clicked submit btn's value shows up as form.form_action, as expected. However, from within an onclick handler for any of those btns, or an onsubmit handler for the form, form.form_action.value is undefined. This means that validation or other code that needs to know which submit btn was clicked can't tell. What I've done in the past is to include a hidden form field whose value is what we pay attention to, and set its value in the onclick handler for each submit btn. Anyone have any other strategies? Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206481 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HE3?
The CFEclipse list (http://cfeclipse.tigris.org/) has had some recent conversation about HE3, though it has slid over into other topics under that same subject line. Here's the short version: --- Matt Liotta and Guy Rish - RichPallette - said on the He3 mailing list that they had over promised and under delivered and that they were looking into a commercial partnership to move He3 forward: To this end, we are working to secure a partnership with an established commercial software vendor to help us bring He3 to market in a polished form. Quite simply, there will be no future releases of He3 until we can ensure that it is a proper replacement for ColdFusion Studio/Homesite. Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Dave Merrill A question was posted in Cf-OT a while back with no response...not sure how much traffic OT gets so I figured I'd repost here...what happened with He3? seems to of kinda disappeared... Adam H ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206199 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Bug? Semicolon blows up Flash CFGRID
Leaving aside whether this is a bug or not, suppose you replace all semicolons w Chr(59). Haven't tried it, so I don't know if that will either prevent the problem or display as a semicolon from inside cfgrid, but funky or not, it's worth a shot. Dave Merrill So, does anybody out there in Macromedia land think this is a bug that I'm just stuck with, or what? I want to use CFGRID but if it's going to blow up every time someone clicks on a record that contains a semicolon, that's a real problem. Joy ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206203 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HASH() reverse
So you might find your hash in the rainbow tables, but the original string still might not match. True, but in most cases where a hash is used, it doesn't matter; all you need is some string that results in the same hash. That'd be typical for a password system, for instance. If the original text was required, a hash of it wouldn't be a sensible thing to store. Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206009 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HASH() reverse
Hashes need not be 32-bit. Hashes created using MD5, the default algorithm used by CFMX, are 128-bit, 32 character strings. CFMX 7 supports SHA-1, SHA-256, SHA-384 and SHA-512 out of the box, plus you can use hash functions provided by any Java security provider you install. SHA-1 creates a 160-bit message digest, and the newer versions create hashes using the number of bits specified in their names. FIPS 180-1 describes the SHA/SHS standard: http://www.itl.nist.gov/fipspubs/fip180-1.htm The SHA-1 is designed to have the following properties: it is computationally infeasible to find a message which corresponds to a given message digest, or to find two different messages which produce the same message digest. Of course, what's computationally infeasible now may not be in the future, in some cases. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ FWIW, Bruce Schneier's discussion of hashing algorithms refers to MD-5 as having been broken, and SHA-1 somewhat on its way towards obsolesence, but not as an emergency. Don't think he'd suggest panic over the state of MD-5 either, but the first reference below includes a link to a paper demonstrating a technique for finding MD5 collisions quickly: eight hours on 1.6 GHz computer. See here: http://www.schneier.com/blog/archives/2005/03/more_hash_funct.html and: http://www.schneier.com/blog/archives/2005/02/cryptanalysis_o.html Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206022 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HASH() reverse
A common mistake is too think of hashes as encryption - they're not. They don't represent the source. It's better to think of a hash as a Fingerprint. There is no way, using a fingerprint, to reconstruct the finger which made it. That information isn't represented by the fingerprint (which is only a surface reflection). However if you have a finger you CAN use a fingerprint to determine if the finger is in face the one that made the print. In other words hashes (like fingerprints) can identify the original but can't ever recreate it. Make sense? Jim Davis Nice explanation Jim (:-) It's sometimes hard for people to understand this basic concept. That was the simplest, clearest, most common-sense take on hashing I've seen. I'll remember it if I need to go through this with a client. Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205945 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Bug? Semicolon blows up Flash CFGRID
If I'm remembering right, the same thing happens with CFTREE, or at least it did in older CF versions. Not that that's much help... Dave Merrill Here's a strange one... If the text in a cell of the selected row of a CFMX7 Flash CFGRID contains a semicolon that is NOT the last character in the cell, it blows up, resulting in the error The submitted cfgrid form field is corrupt. Here's some sample code for you: CFSET myQuery = QueryNew(ticket_id,description) CFSET temp = QueryAddRow(myQuery) CFSET QuerySetCell(myQuery,ticket_id,1) CFSET QuerySetCell(myQuery,description,a;) CFSET temp = QueryAddRow(myQuery) CFSET QuerySetCell(myQuery,ticket_id,2) CFSET QuerySetCell(myQuery,description,a;b) CFFORM NAME=test ACTION=test.cfm CFGRID NAME=testGrid QUERY=myQuery SELECTMODE=ROW FORMAT=FLASH /CFGRID CFINPUT TYPE=submit NAME=submit /CFFORM Click on Row 1 and submit, and all is well. Click on Row 2 and submit and it throws the error. Is this a bug, perhaps? Joy ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205905 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Bug? Semicolon blows up Flash CFGRID
It was commas, not semicolons, that were the issue; sorry for the bogus info. I looked through my notes for the project where I thought I remembered running into it, and found this: - The double entries at the top level are caused by the comma in #pat_name#. Don't know why this version of cftree does that, but removing the comma fixes the problem. There's a delimiter parameter to the cftree, but a) it's not comma by default, and b) making it something odd that's not in pat_names does nothing. If I'm right placing this chronologically, it was discovered when we moved to MX61. Don't know if ti's still an issue in MX7. Dave Merrill For what it's worth, I experimented with CFTREE and couldn't reproduce the problem there. Seems to be just CFGRID. Joy At 04:43 PM 5/6/2005 -0400, you wrote: If I'm remembering right, the same thing happens with CFTREE, or at least it did in older CF versions. Not that that's much help... Dave Merrill Here's a strange one... If the text in a cell of the selected row of a CFMX7 Flash CFGRID contains a semicolon that is NOT the last character in the cell, it blows up, resulting in the error The submitted cfgrid form field is corrupt. Here's some sample code for you: CFSET myQuery = QueryNew(ticket_id,description) CFSET temp = QueryAddRow(myQuery) CFSET QuerySetCell(myQuery,ticket_id,1) CFSET QuerySetCell(myQuery,description,a;) CFSET temp = QueryAddRow(myQuery) CFSET QuerySetCell(myQuery,ticket_id,2) CFSET QuerySetCell(myQuery,description,a;b) CFFORM NAME=test ACTION=test.cfm CFGRID NAME=testGrid QUERY=myQuery SELECTMODE=ROW FORMAT=FLASH /CFGRID CFINPUT TYPE=submit NAME=submit /CFFORM Click on Row 1 and submit, and all is well. Click on Row 2 and submit and it throws the error. Is this a bug, perhaps? Joy ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205918 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Basic web interface question
In my own applications I tend to send the user back to the list page (typically not a search page, just a sortable list that's optionally paginated based on their user preferences -- these pages can become search pages pretty easily because the framework automates filters on their columns, so I can automatically get all the contacts with bob somewhere in their name by typing membername=bob into the url.) [...] s. isaac dealey 954.522.6080 Isaac, you're not suggesting that the *user* type membername=bob into the url to search, are you? Dave ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205715 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Basic web interface question
It's not like I haven't done this before, in various ways, but I might as well ask as long as I'm rethinking life... Say you have the very normal situation with search screen leading to a list of records, drill in to edit or create one. Where do you take the user when they save an edited record? - Back to the record list, with their previous search criteria still in place? That seems most intuitive, but it means hanging on to those search criteria while editing, which is potentially a multiple-screen wizard-like thing. Not impossible by any means, but an architectural commitment, if you're thinking generically. - Another way to manage a similar net effect would be to open the edit screen in a new window, and have it close and refresh the list window when done. That's what I've often done, but some users find the new window thing confusing, particularly if it comes up maximized and they don't even realize it's a new window. - Back to the search screen? Kind of annoying if it didn't remember their search criteria, so see above. - Back to the record list, but with only that one record showing? Not particularly functional. Other ideas? Dave Merrill ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205611 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Anchors and CFLOCATION
I'm not certain about the missing anchor in the url, but I do know that browsers can't accept both a query string and an anchor... Yeah they can, you just have to make sure the anchor is at the end, e.g.: http://www.mysite.com/index.cfm?foo=bar#linky I've never had any luck accomplishing that -- in every browser I've tested, I end up with a url variable foo = bar#linky s. isaac dealey 954.522.6080 FWIW, the following test worked fine on IE6, IE5.5, IE5, Opera754, and Firefox102, all on win2K: query_string_and_anchor_test.cfm?last_name=asdffirst_name=qwer#anchor50 Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205269 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Anchors and CFLOCATION
Yeah they can, you just have to make sure the anchor is at the end, e.g.: http://www.mysite.com/index.cfm?foo=bar#linky I've never had any luck accomplishing that -- in every browser I've tested, I end up with a url variable foo = bar#linky s. isaac dealey 954.522.6080 FWIW, the following test worked fine on IE6, IE5.5, IE5, Opera754, and Firefox102, all on win2K: query_string_and_anchor_test.cfm?last_name=asdffirst_name=qwer#anchor50 Just noticed that if addtoken is true or omitted for cflocate, the cfid and cftoken that get added to the end of the query string screw up the anchor, presumably since it's no longer at the end. Dave Merrill ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205273 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's your setup for multiple developers
I've been learning a bit of java lately, and in that world, the typical tool for this I think would be Ant, which is pretty slick. XML config files define task specifics, including dependencies (don't deploy until unit tests have run, for example), then you just tell it a task to run, either from the cmd line or a .bat file. There are a ton of task types predefined, including file and ftp operations. Is anyone using Ant for deployment in a cf environment? Dave Merrill On my team of about 10 developers, 4 of us have stepped out of the dark ages and are using CVS, actually only 2 of us use it fully, the other 2 are forced into it :) We use CVSNT also along with Tortoise. At the moment I manually export and copy to the 'staging' and production environments. Just use cvs export from the cmd prompt using the -d switch to specify a directory other then the module name. example: cvs export -DNow -R -dsome/relativeorabsolute/path/to/your/directory modulename Then copy from this directory to the actual one overwriting files. You could write a batch file to do this or even a CF script. IIRC, tortoise allows you to export to a named directory also. Checkout tortoise at tortoise.orghttp://tortoise.org, its da bomb. peas DK ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205204 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Build SQL Statement and cfqueryparam
IIRC Isaac Dealey wrote up an amazing database sniffer of sorts that can figure all this out by itself, but its probably overkill here. Still its an absolute gem that I really need to start using myself. Heh... thanks for the plug Matt... :) Yea, it's probably more than you need, but there's an article on the CFDJ site called Leveraging JDBC or Just Fetching Coffee which goes over the details of how to get data type information for your columns. Of course, it's all built into the framework (which is open-source, so you can rip to your hearts content if you like), though given your descrption is does rather sound like hunting deer with a howitzer. :) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? Isaac, do you have a direct link for that article? It's probably right in front of my face, but I didn't see it, and their search engine is down. Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204899 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[OFF] Discover an XML namespace
Please excuse the basic XML question, but how do you find out what a namespace referenced like this looks like: html xmlns:v=some_domain.com or html xmlns:v=urn:schemas-microsoft-com:vml Is that possible remotely? Are the two references equivalent? Dave Merrill ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204819 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfheader/cfcontent, auto-downloading a file, and IE woes
Let me guess, the users reporting this are on XP SP2? And maybe, not sure, you're in a frame? If I'm remembering right, it's a known bug in IE on that version of windows. And if I'm remembering right again, the only solution we came up with was to set the target for your download to window.parent.name. Don't know why this helps; we just bushwacked, trying to get IE to not be thinking about that window. HTH, sorry to be vague. Dave Merrill Got a stumper here (at least on my end). In my main project, I've got a page that is basically a DB table exporter - user specifies what fields, some filtering options, etc. The system then creates a text file, and then pushes the page over to a page with cfheader/cfcontent, to pop the file-placement window prompt on the user's machine. Works fine in Mozilla - but in IE (6, at least), whenever the prompt window pops up, and you choose where to put the file, the main IE browser window vanishes. I don't think there's any odd JS code in my pages as a whole that's causing this; one would think the same behavior would occur in Mozilla. Any thoughts? --Scott ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204852 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CrystalTech Users Beware
Interesting, wasn't aware of that. Is there any way to guard against that kind of exploit, other than encrypting everything in application and session scope, which would be very inefficient and annoying? Dave Merrill Hashing your app name isn't going to protect you from others on a shared server from looking in on you: !--- application tracker object --- cfset appObj = createObject(java,coldfusion.runtime.ApplicationScopeTracker) !--- get the enumeration of application keys --- cfset apps = appObj.getApplicationKeys() !--- session tracker object --- cfset tracker = createObject(java, coldfusion.runtime.SessionTracker) !--- while there are more applications in the enumeration --- cfloop condition=#apps.hasMoreElements()# !--- get the app name --- cfset appname = apps.nextElement() !--- get the sessions for this app name --- cfset sessions = tracker.getSessionCollection(appname) !--- dump the sessions out --- cfdump var=#sessions# label=#appname# /cfloop That code can be run by anyone on the server and you'll see the application name and the dump of ALL the sessions for that app. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204107 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ? and #
If I'm understanding your question, ## evaluates as #, and #pageLocation should be part of the url itself, not the query string. Is one of those what you're running into? So, I think this should work (can't test it right now): http://somewhere.com/mydir/myfile.cfm##pageLocation?#SESSION.AddToken# Dave Merrill I know it's been asked but I can't find it in the archives or stored on my machine. How do I use the syntax http://somewhere.com/mydir/myfile.cfm?#SESSION.AddToken#; and combine it with a page jump #pageLocation ? I've tried putting it different places in the URL and can't get it to work. Thanks. Larry Stephens [EMAIL PROTECTED] ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204129 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Just a touch of Javascript
T o expand on this, is it really ok that this just not work at all if js is disabled? I'd stronlgy suggest *some* other architecture for gluing these two apps together. Dave Merrill In retrospect, now that I know this is just an interrim page between your client's site and CartServer, why don't you just use cfhttp to submit the cart and return the http content to the browser? s. isaac dealey 954.522.6080 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202393 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Just a touch of Javascript
If that code is verbatim, the /form tag hasn't happened yet when the script is called. The form object doesn't exist until its end tag closes it. Dave Merrill Oh yea - if I do a view source on the page that comes up and isn't submitting, I'm getting exactly what I'm supposed to see. Basically, it's a page between the clients site and cartserver that sets up a bunch of required variables before it's submitted ... Full page below (from view source) head meta HTTP-EQUIV=expires CONTENT=Fri, 1 Jan 1990 00:00:00 GMT meta HTTP-EQUIV=Pragma CONTENT=no-cache /head form name=cart id=cart action=http://www.cartserver.com/sc/cart.cgi; method=POST input type=hidden name=item value=a-2838^ME-CUT^ME-CUT--Block cut-out earrings ENGRAVED Initials:asd Text Style:35^40.80^1 SCRIPT language=JavaScript document.forms.cart.submit() /script -- --- Les Mizzell ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202271 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What do you use for project management?
I have a spreadsheet that does ok for tracking time, also invoiceable and overhead expenses. A fellow I've done a lot of work with I think uses QuickBooks. Dave Merrill Just wanted to get an idea of what tools everyone use for project management. I've been looking at Traxtime for managing labor costs. Thanks, Will ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194599 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Any sites using the new Flash foms?
Except that it's desirable for an app to have a consistent look and feel for users. My impression is that Flash forms look, and behave, a bit different from std html. Dave Merrill In my testing, a simple form with, say, 4 text inputs plus a submit button will take quite a bit to load (when it loads - it often requires a page refresh). A simple form with only four fields isn't a particularly compelling candidate to replace with a Flash form, and even Macromedia will tell you that Flash forms should not be used to replace every form. Where you have multi-step processes and complex data entry is where Flash forms start to shine, and as Ray pointed out, the initial hit is worth it because the user experience is so much more solid and easy to use and you can do a lot more with validation, feedback, etc. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194614 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFMX 61 to CFMX 70 migration
Any comments on migrating from CFMX 61 to CFMX 70, issues beyond what's listed in cfmx7_migrating.pdf? Would you consider the 70 release stable enough for production use? Any noticeable change in performance? Thanks, Dave Merrill ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194037 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: how to display data in two select boxes where the second one's display depends on the first one
The fastest js-based method that I'm aware of is to have cf generate the html for each set of options as js variables, then just set select2.innerHTML to the one you want to use. Particularly efficient if there are a bunch of options to set, since you don't have to iterate through each one every time. I know that the innerHTML attribute isn't html401 spec, but my understanding (http://www.quirksmode.org/dom/w3c_html.html) is that it is supported in the major browsers, and I've verified that it does work w current versions of IE, Firefox and Opera on win2k. Caveat emptor though: This particular code was built for IE specifically, and I haven't done any cross-browser testing of it. Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194042 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[Way OT] Anyone traveling from UK to US soon?
Odd question I know, but my sister-in-law is looking for someone to bring back more of a particular kind of notepad she got in London a while ago, loves, and can't find in the states. It's not worth shipping them from the UK, but probably is worth shipping them to some who's coming to the US, then shipping them to her in Austin. Long shot, but contact me off list if you know anyone likely, and I'll connect the two of you. Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194018 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: [SOT] Supporting multiple browsers and versions
Thanks Jim, comments below. Dave Merrill - What's an accurate, up to date source of info on html, css, and js capabilities and quirks for a lot of different browsers and versions? The JavaScript and DHTML guides at MSDN.microsoft.com are pretty good and inform you of which features are in which specs (but not how to code for the other browsers). I agree, they're very good, they've been my usual first stop for this kind of info. However, they're completely IE-specific, which is part of how I come to ask these questions. For example you might install Windows 2000 to a virtual PC. You then make a copy of that and install IE 5.5 then another copy and install IE 6.0. Now you can run all of them as windows on your host machine for testing. Good idea. Kinda funny that the only way to have multiple versions of IE installed is to have multiple versions of the entire OS. If this is my dev laptop, I'd also need all my other dev tools and settings. Pain in the . - Do you have mac, linux and pc browser test machines? Personally, no. I use Virtual PC for PC and Linux and trust to the graces of friends for Macs (since I can't see spending the money and dedicating the space for one personally). That new $500 mac changes this a bit though, maybe. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193224 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: [SOT] Supporting multiple browsers and versions
I agree, but there are a few issues. - Tables are not good for section 508 compliance, or any other situation where html markup ideally has meaning, i.e., isn't just a layout artifact. - CSS positioning makes layout much more separate from content, which is important if there are designers who are separate from the programmers. - Some prospective clients are dis-impressed. Dave Merrill Same here... I've lurked around some CSS-related newsgroups and even some of the die-hard CSS fans still use tables for layout and dress it up with CSS. I NEVER put in a hack. NEVER! I have never needed anything that bad to use a hack. M!ke So I'm very careful with CSS, not to get into having to worry about this hack and that workaround ... if tables work easily and display well, then tables it is. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193225 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[SOT] Supporting multiple browsers and versions
I've been doing intranet work for a while now, where the only browser we had to support was the one that came installed on company PCs. Have recent IE's oddities pretty well dealt with, but looking at the wider world, I'm wondering how folks manage development for multiple browsers. I'm thinking about relatively small shops that don't have enormous resources devoted solely to QA. Specifically... - Do you serve different style sheets or pages depending on the browser and version? How many? - Are you coding to W3C standards? Which one(s)? How much does that actually help your pages be more universally compatible? - What's an accurate, up to date source of info on html, css, and js capabilities and quirks for a lot of different browsers and versions? - It doesn't appear that you can have multiple versions of IE installed on the same machine. If you have to support them, do you actually have separate machines whose only purpose is to be equipped with IE 4, 5, and 6, maybe even 3? How else can you test? - Do you have mac, linux and pc browser test machines? - For general public sites, what do you consider a reasonable list of browsers and versions that you need to support? Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193169 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: [SOT] Supporting multiple browsers and versions
Current windows versions only? Dave Merrill I do all development for FireFox, then fix the little things from IE and NetScape. Thats the only ones I deal with honestly. Dave Merrill wrote: I've been doing intranet work for a while now, where the only browser we had to support was the one that came installed on company PCs. Have recent IE's oddities pretty well dealt with, but looking at the wider world, I'm wondering how folks manage development for multiple browsers. I'm thinking about relatively small shops that don't have enormous resources devoted solely to QA. Specifically... - Do you serve different style sheets or pages depending on the browser and version? How many? - Are you coding to W3C standards? Which one(s)? How much does that actually help your pages be more universally compatible? - What's an accurate, up to date source of info on html, css, and js capabilities and quirks for a lot of different browsers and versions? - It doesn't appear that you can have multiple versions of IE installed on the same machine. If you have to support them, do you actually have separate machines whose only purpose is to be equipped with IE 4, 5, and 6, maybe even 3? How else can you test? - Do you have mac, linux and pc browser test machines? - For general public sites, what do you consider a reasonable list of browsers and versions that you need to support? Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193180 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: [SOT] Supporting multiple browsers and versions
Thanks for the breakdown Jochem. It seems like folks aren't paying a lot of attention to macs. Here around Boston, some biotech companies need mixed platform support, including macs. Not a lot of linux/unix, at least on the desktop where the browsers live. Ironically, I used to be a mac-only guy, but haven't owned one for years. Dave Merrill Dave Merrill wrote: - Do you serve different style sheets or pages depending on the browser and version? How many? No. But I might serve additional ones for certain browsers (IE). - Are you coding to W3C standards? Which one(s)? How much does that actually help your pages be more universally compatible? XHTML 1, CSS Level 1 and WCAG 1 are usually in the specs. - Do you have mac, linux and pc browser test machines? Windows and OpenBSD. - For general public sites, what do you consider a reasonable list of browsers and versions that you need to support? Firefox 1, IE 6 and Lynx 2.8.3. Jochem ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193188 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfsetting showDebugOutput?
It appears to me that cfsetting showDebugOutput=true is no longer able to turn on debug info display. If Enable Debugging is checked in cfadmin, you see debug output without calling this. If it isn't checked you don't, even when you do call it; this is different from cf45. The only effect I see it having is to disable debug output if Enable Debugging is checked and you pass showDebugOutput=false. I don't see the point of this. I'm much more likely to want to turn debugs ON locally if they're globally off, than to disable them locally if they're on. Am I missing something? Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192763 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Changing debug settings with CFML
Somewhere, I think I remember seeing code to add debugging IP addresses programmatically. Does that ring a bell with anyone who knows where I could find it? Can you enable and disable debugging some similar way? Thanks, Dave Merrill ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192767 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Restart CFMX with CFML?
I was hopeful that someone had solved this for MX61, but instead I'm confused. I don't have an 'opt' directory (Windows 2000), and don't find any files named 'coldfusion.*' that you might be referring to. Is this solution for unix only? More particulars? FWIW, we had something for this purpose working in cf45, but it stopped working when we went from there to mx61. CF would stop, but not restart. The .bat file we used (with cfexecute) was this, except that we've since added the ' MX': - REM stop all CF services net stop ColdFusion MX ODBC Agent net stop ColdFusion MX ODBC Server net stop ColdFusion MX Application Server sleep 10 REM start all CF services net start ColdFusion MX Application Server net start ColdFusion MX ODBC Server net start ColdFusion MX ODBC Agent - If anyone has any idea how to do this, we'd love to know. Thanks, Dave Merrill Jon Block wrote: |What's the way in which you can restart CFMX service with CFML code |natively? | |Jon | CFEXECUTE NAME=/opt/coldfusionmx/bin/coldfusion ARGUMENTS=restart Note that you must allow whatever user CFMX/Apache is running as permissions to execute that command... which opens up a whole new can of worms Another way to go about it is to have CFMX write to a shell script and have that shell script executed by a cron job with the appropriate permissions. At any rate, it requires a bit of creative thinking, but should be possible. - -- Warm regards, Jordan Michaels ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192442 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Restart CFMX with CFML?
Thanks Steven, we'll check this out. Your experience matches ours; it appears that the .bat stops when CF does, so the restart doesn't happen when done that straightforward way. Brook, are you sure this actually restarts CF? I just tried your .bat code verbatim here, and CF stops, but doesn't restart. Dave Merrill I think that when ColdFusion executes a command or bat file via CFEXECUTE the external script stops when ColdFusion stops. When ColdFusion calls the bat file below it gets to the part where the jrun.exe process is killed, and then because the bat file process is child of the jrun process, the bat file process also dies. This would stop your server and then never get to the part where it restarts. That's what happens when I run the proposed bat file. Another solution is to use the Windows AT scheduler service to schedule a CFMX stop and a CFMX start in the shortest time in the future as possible, 1 min. ColdFusion can schedule the stop/start, but Windows will execute the commands even if CF is shutdown. See this for a cfm script that calls AT to restart the service: http://www.talkingtree.com/blog/index.cfm?mode=aliasalias=RestartCFMX -Steven Erat -Original Message- From: Brook Davies === @echo off cls REM == RESTART CFMX=== net stop Coldfusion MX Application Server c: cd \CFUSIONMX\bin call C:\CFUSIONMX\bin\cfstop.bat c:\winnt\system32\kill -f jrun.exe c:\winnt\system32\kill -f jrun.exe sleep 2 REM call C:\CFUSIONMX\bin\cfstart.bat net start ColdFusion MX Application Server REM === Exit At 01:19 PM 1/31/2005, you wrote: I was hopeful that someone had solved this for MX61, but instead I'm confused. I don't have an 'opt' directory (Windows 2000), and don't find any files named 'coldfusion.*' that you might be referring to. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192478 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Using Coldfusion with XML
Is there really a requirement to go through csv? Why? If the point is to get the data into a db, what's the reason to pump it through a csv file on the way? (Assuming that cf has access to the db.) Am I missing part of your stated needs? Dave Merrill The end point is with the fixed with CSV file being generated and saved so that can be input into the relevant database tables. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191794 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ColdFusion 5 RDS Visual Source Safe
RDS can use whatever port you define for the web site that serves it and in the properties of each defined RDS server on the clients. That port does need to be open in both directions between client and server. Can the clients bring up a telnet connection to the server on that port? (That'd be 80 if you haven't changed it, maybe 8500 if you're using the built-in MX server w its defaults.) Dave Merrill RDS uses an HTTP port (80 as far as I'm aware) and routes itself through IIS (This is proven when you stop the IIS site with CFIDE in it and RDS stops working). What you could try is setting up another IP address or domain name (e.g. mxbox.myserver.com) and have IIS resolve it, but ONLY allow MX to integrate with it by removing all CF5 application configuration (in IIS). In homesite or whatever, connect to the new domain name rather than the IP of the server. You'll also have to make a virtual directory to the MX CFIDE folder too. It ight work.. It might not.. Does that make sense ? Martin Parry Macromedia Certified Developer http://www.BeetrootStreet.co.uk ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191800 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF and Cloudscape/Derby
Marco, do you have any experience using Cloudscape? With CF? If so, any comments on performance, features, stability? Setup hints for connecting w CFMX61? Thanks, Dave Merrill Portable? Or Embeddable? Postgre(30MB RAM space) and MySQL(50MB RAM space) may be Portable but Cloudscape(2MB RAM space), HSQLDB, etc are a good option for embeddable apps. And yes we're using PG for big apps and MySQL for smaller... PG is very very nice... Cheers Marco On Mon, 24 Jan 2005 17:14:27 -0600, Chuck Mason wrote: Robert - Do you use PostgreSQL as the database for any of your CF apps? If yes, how do you like it? I'm keeping my eyes open for a good portable database to use with CFEverywhere (http://www.sys-con.com/story/?storyid=47827DE=1) and intend on playing with Cloudscape a bit more (Cloudscape isn't something you jump right into without having reviewed the docs). Cheers! Chuck Robert Everland III wrote: What about PostgreSQL http://www.postgresql.org/ftp/ they just came out with a native win32 version. They have integrated stored procedures unlike MYSQL. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191671 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF and Cloudscape/Derby
Thanks Phil. I'd seen the devx article. One thing I noticed in it was these statements about admin requirements: Larger relational DBMS, such as MySQL and Postgres are available today in open-source form. [snip] they require substantially greater levels of administrative oversight As to full commercial databases such as Oracle, DB2, SQL Server, and Informix, of course, they require significantly more administration I've worked quite a bit with SQL Server, and while it's clearly more expensive, especially web licensing, and not small footprint, our admin load has been roughly zero, other than backup. Data file about 800M and growing, but not intense throughput, and it's been doing just fine. Is it other folks' impression that recent versions of SQL Server do generally need a lot of dba? How about MySQL? The article is clearly implying that Cloudscape doesn't; is that your impression? That's an important point for both developers and their clients. Dave Merrill I'm hearing about Cloudscape/Derby as a reasonable database alternative to MySQL etc. Is anyone here using it? Comments on performance? Scalability? Stability? Features? With Tracking-Tools, I offer it as one of the the supported database options (MSSQL, MYSQL, Oracle, and Cloudscape/Derby). It works fine for my needs. For further info on how it stacks up to other database options check the FAQs at http://philcruz.com/cfeverywhere/ What's the best way to hook CF up to it? That's Part 2 of the CFEverywhere article series. It's coming soon... -Phil ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191699 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: .net will
Boston's big enough and techie enough that you'd think there'd be an active user group, wouldn't you? The site listed at MM user groups shows the last mtg as Oct 20 (year not stated (;-0) ), and I've gotten no response emailing the listed contact. There's more going on in Python, which, cool though it may be, isn't exactly the highest profile player. Surprising. Doesn't speak so well of the health of CF here, I'd say, but then again, I'm not much for sky-is-falling theories. Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191528 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54