Re: per application settings

2013-12-03 Thread Brian Kotek
Eric, just accept that you need to add an Apache alias and move on. It'll take you 3 minutes to do this. Several hours of collective time have been spent here explaining this, and it's getting silly now. If the goal has become trying to figure out why your CF Admin mappings are acting in a non-sta

Re: Force logout a user

2012-07-12 Thread Brian Kotek
MAC addresses, like IP addresses, can easily be spoofed, so using them as an identifier is a bad idea anyway. On Tue, Jul 10, 2012 at 10:10 AM, Bill Franklin wrote: > > Unless you are dealing only with machines on your LAN, I don't know of any > reliable method to obtain the MAC of remote comput

Re: CF & Groovy

2012-04-04 Thread Brian Kotek
Part of it may also be that there are now so many JVM languages that growth is spread out across a much wider range than any other platform. If you're interested, some of the sweet new stuff in 2.0 is detailed here: http://www.slideshare.net/glaforge/whats-new-in-groovy-20/download On Wed, Apr

Re: CF & Groovy

2012-04-04 Thread Brian Kotek
Another very common description is "it's what Java would have been if Java was created in the 21st century". :-) On Wed, Apr 4, 2012 at 12:45 PM, Scott Stroz wrote: > > The best description of Groovy I have heard came from Todd Sharp - > 'I't like cfscript all growed up' > > ~

Re: CF & Groovy

2012-04-04 Thread Brian Kotek
larger community - and if you run it on > JRuby, it has access to both the Java libraries as well as Ruby ones, which > is very powerful. > > Mark > > > > On Wed, Apr 4, 2012 at 12:54 PM, Brian Kotek wrote: > > > Groovy is by far the best all-around progra

Re: CF & Groovy

2012-04-03 Thread Brian Kotek
LOL and wow did I just realize I am really late to this thread! :-/ On Tue, Apr 3, 2012 at 10:54 PM, Brian Kotek wrote: > Groovy is by far the best all-around programming *language* I have ever > run into. It doesn't have all the built-in extras that CF does, but CF is > actua

Re: CF & Groovy

2012-04-03 Thread Brian Kotek
Groovy is by far the best all-around programming *language* I have ever run into. It doesn't have all the built-in extras that CF does, but CF is actually a platform, not just a language. But in my opinion (and I may get flak for saying it), in terms of language elegance and power, Groovy blows ev

Re: coldfusion using subversion

2012-03-25 Thread Brian Kotek
If you want to be able to run two different branches of the same app at the same time, you can just create two virtual hosts on your web server and point each one at a different root directory. As an aside, having different context roots (or no context at all) should not matter unless you are har

Re: Hibernate with other frameworks

2012-03-06 Thread Brian Kotek
I assume the "other frameworks" you're talking about are the MVC frameworks (ColdBox, Model-Glue, FW/1, Mach-II, etc.)? If so they really have nothing to do with each other. Some of them (like ColdBox) have optional features that work with Hibernate, but any of the MVC frameworks will work fine wi

Re: Shouldn't these statements work?

2011-10-13 Thread Brian Kotek
Also: http://oxforddictionaries.com/definition/truthiness Entry from World dictionary Sorry, didn't mean to start a flame war. Just pointing out that it's definitely a recognized word. (Ducks) On Thu, Oct 13, 2011 at 7:37 AM, Michael Grant wrote: > > > > > It sure is a word: > > > > > > > En

Re: Shouldn't these statements work?

2011-10-13 Thread Brian Kotek
I'd say Oxford is a more reputable dictionary than Webster. On Thu, Oct 13, 2011 at 2:56 PM, Michael Grant wrote: > > If it were added to a reputable dictionary you would be absolutely correct. > > > On Thu, Oct 13, 2011 at 1:09 PM, Dave Watts wrote: > > > > > > ...which is an online survey. >

Re: Shouldn't these statements work?

2011-10-12 Thread Brian Kotek
It sure is a word: http://oxforddictionaries.com/definition/truthiness?region=us On Wed, Oct 5, 2011 at 1:29 PM, Michael Grant wrote: > > Truthiness is not a word. It may seem like a natural progression, but that > doesn't make it exist. I stand by my statement. > > ~~

Re: ORM overhead

2011-09-26 Thread Brian Kotek
There is also the first and second-level cache to consider, as these affect performance tremendously, and aren't reflected in a very basic test like this. On Mon, Sep 26, 2011 at 4:35 PM, Russ Michaels wrote: > > It is a pretty easy test. > make 2 pages. > > 1 that uses cfquery > 1 that uses OR

Re: ORM overhead

2011-09-26 Thread Brian Kotek
Performance overhead, especially in an application that could be linked to > thousands of data sources? > > > > -Original Message- > From: Brian Kotek [mailto:brian...@gmail.com] > Sent: 26 September 2011 18:49 > To: cf-talk > Subject: Re: ORM overhead > > &

Re: ORM overhead

2011-09-26 Thread Brian Kotek
You're not going to get anything other than anecdotal opinions, but everyone I know switched to ORM as soon as it was available. As far as "overhead", I'm not sure what you mean. Coding overhead? Performance overhead? On Mon, Sep 26, 2011 at 1:21 PM, Richard White wrote: > > to rephrase this

Re: Workstation recommendations

2011-09-07 Thread Brian Kotek
Well, malware like the program you describe can usually only harm you if a) you aren't running an antivirus program, and b) you actually install the malicious program. So first, you need to install some sort of antivirus software (I use AVG). But even beyond that, unless you tell whoever is using

Re: SOT: Workstation recommendations

2011-09-07 Thread Brian Kotek
I buy my systems from CyberpowerPC. Limited tech support, but I don't care about that (we all probably know what we're doing), other than replacement of something bad. Good prices and, most important to me, the ability to customize literally every single thing in the system. So I get exactly what

Re: (ot) Recover Data from External Hard Drive

2011-08-29 Thread Brian Kotek
Actually, sorry, I use Mozy, not Carboninte. :-) On Mon, Aug 29, 2011 at 7:51 PM, Brian Kotek wrote: > I use Acronis True Image to create weekly drive images for my C: drive (SSD > housing OS, Eclipse, etc.) and D: drive (2 TB Data) drives to a separate > internal drive (E:), a

Re: (ot) Recover Data from External Hard Drive

2011-08-29 Thread Brian Kotek
I use Acronis True Image to create weekly drive images for my C: drive (SSD housing OS, Eclipse, etc.) and D: drive (2 TB Data) drives to a separate internal drive (E:), as well as nightly incremental images. Acronis is worth the money over the built-in Windows system image tool because it can ver

Re: Can't Delete Sessions Programmatically

2011-08-16 Thread Brian Kotek
Not sure about your load balancer but I see no reason why it should matter. All I've ever done is check the box and everything's good to go. On Tue, Aug 16, 2011 at 4:25 PM, Richard Steele wrote: > > And uncheck either of the other two below it? > Enable Application Variables > Enable Session V

Re: Can't Delete Sessions Programmatically

2011-08-16 Thread Brian Kotek
No, just check the box in the admin. On Tue, Aug 16, 2011 at 3:57 PM, Richard Steele wrote: > > >Have you tried enabling J2EE sessions? Is this CF9? > This is CF8 with the most recent service pack. > > How easy is it to switch to J2EE sessions? Is there additionally > programming involved? > Ma

Re: cflock type for Application Scope variables

2011-08-16 Thread Brian Kotek
This should be an exclusive lock since you are modifying the value. And you don't want to use an application-scoped lock since that single threads the entire application scope. Use a named lock. On Tue, Aug 16, 2011 at 12:43 PM, Varun Dixit < vdi...@infoplexionsolutions.com> wrote: > > I have so

Re: Can't Delete Sessions Programmatically

2011-08-15 Thread Brian Kotek
Lastly, are you dealing with different domains and subdomains? If so, and no domain is set on the cookie, IE will send them to all subdomains ( http://blogs.msdn.com/b/ieinternals/archive/2009/08/20/wininet-ie-cookie-internals-faq.aspx ). On Mon, Aug 15, 2011 at 9:43 PM, Brian Kotek wrote

Re: Can't Delete Sessions Programmatically

2011-08-15 Thread Brian Kotek
It may be a problem with IE: http://forums.adobe.com/thread/847087 On Mon, Aug 15, 2011 at 9:40 PM, Brian Kotek wrote: > Have you tried enabling J2EE sessions? Is this CF9? > > > On Mon, Aug 15, 2011 at 9:15 PM, Richard Steele wrote: > >> >> Thanks. We've had 3

Re: Can't Delete Sessions Programmatically

2011-08-15 Thread Brian Kotek
Have you tried enabling J2EE sessions? Is this CF9? On Mon, Aug 15, 2011 at 9:15 PM, Richard Steele wrote: > > Thanks. We've had 3 people report this problem with IE8. > > ~| Order the Adobe Coldfusion Anthology now! http://w

Re: Can't Delete Sessions Programmatically

2011-08-15 Thread Brian Kotek
I believe you can open a support ticket, and if it is actually a bug you'll get reimbursed. You'll want to confirm that, though. That said, if it doesn't happen in other browsers and it only happens to one person, it seems really unlikely that it is a bug. On Mon, Aug 15, 2011 at 7:40 PM, Richa

Re: Setting client variable datasource via config.xml

2011-08-14 Thread Brian Kotek
XML file, you need them > even before the Application initialises and checks for the existence of the > application vars. > > On Fri, Aug 12, 2011 at 5:19 PM, Brook Davies > wrote: > > > > > Good Solution, thanks! > > > > -Original Message- > >

Re: Setting client variable datasource via config.xml

2011-08-11 Thread Brian Kotek
Right, set up a function that you call to get the variables, and have it read the XML the first time, and on any subsequent calls just use the XML already loaded rather than load it again. On Fri, Aug 12, 2011 at 12:17 AM, Matt Quackenbush wrote: > > No, you cannot do > > > > You might get awa

Re: Structure Memory Leak

2011-05-05 Thread Brian Kotek
It sounds like it could be a bug since I believe the underlying Java behind a structure is a custom implementation of the Map or ConcurrentMap interfaces. Out of curiosity, what happens if you try it using an actual Java class like HashMap or ConcurrentHashMap? On Thu, May 5, 2011 at 9:43 AM, Ma

Re: cfc creation best practice

2011-03-27 Thread Brian Kotek
Since the memory footprint of a CFC is generally very small, I would just create everything together at app startup (ideally using ColdSpring) and be done with it. On Sun, Mar 27, 2011 at 7:21 PM, Greg Morphis wrote: > > If you have a site or an area of the site that's not going to get used >

Re: Is saving a query in the session passed by reference or by value?

2011-03-24 Thread Brian Kotek
ted. > > Is this a correct understanding, or am I completely off my rocker? > Thanks, > Carl > > On 3/24/2011 12:59 PM, Brian Kotek wrote: > > All complex data types are always passed by reference. Where you set them > > makes no difference. (Except arrays, which are passed by v

Re: Is saving a query in the session passed by reference or by value?

2011-03-24 Thread Brian Kotek
All complex data types are always passed by reference. Where you set them makes no difference. (Except arrays, which are passed by value due to a staggeringly poor decision eons ago.) On Thu, Mar 24, 2011 at 3:49 PM, Eric Cobb wrote: > > I know that complex data types (structs, CFCs, queries,

Re: Re: Change in ColdFusion management

2011-02-15 Thread Brian Kotek
: > > On Tue, Feb 15, 2011 at 10:42 AM, Brian Kotek wrote: > > > > That's one way to look at it. But the much more likely view (and the one > > Adobe sees) is that the people who think he's guilty of "bad behavior" > are > > not only a ti

Re: Re: Change in ColdFusion management

2011-02-15 Thread Brian Kotek
if Adobe promote staff for bad behavior then we are all in the > wrong job :-) > > > On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek wrote: > > > > > lol. Maybe you should wait until you see what "poor replaced Adam" is > doing > > next. (hint: it's n

Re: Re: Change in ColdFusion management

2011-02-15 Thread Brian Kotek
lol. Maybe you should wait until you see what "poor replaced Adam" is doing next. (hint: it's not what a company does with an employee they are upset with or "replacing"). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels wrote: > > Adam, > > insulting people that try to support/defend you and A

Re: Re: Change in ColdFusion management

2011-02-14 Thread Brian Kotek
And to add to that, I can say that *if* I did have deep knowledge of what is going on with CF X, I *might* say that when people see what is coming, the naysayers are going to feel really silly. Really, really silly. On Tue, Feb 15, 2011 at 12:48 AM, Brian Kotek wrote: > To be fair, M

Re: Re: Change in ColdFusion management

2011-02-14 Thread Brian Kotek
To be fair, Matt, I'm not sure how it works for the other products, but the CF ACPs absolutely do have a very high level of input. We get (or may not get, heh, I don't know where the NDAs affect what I can say) ongoing briefings and opportunities for input on features as product development as it

Re: Re: Change in ColdFusion management

2011-02-14 Thread Brian Kotek
On Mon, Feb 14, 2011 at 11:45 PM, wrote: > > I think its a bad decision and I took a great deal of time to make my blog > post. I agree twitter is for initial reactions and banter, blog posts are > for careful reflection and thought. You keep referring to my twitter posts? > I think you may be j

Re: kerberos authentication.

2011-02-09 Thread Brian Kotek
If you're using Apache, this may help: http://modauthkerb.sourceforge.net/ On Wed, Feb 9, 2011 at 1:27 PM, Jay Birdsell wrote: > > I have been trying to implement a keberos based authentication scheme > across platforms on our intranet. everyone logson to the network and gets > access to the in

Re: Anyone know anything about this new ColdFusion conference?

2011-01-31 Thread Brian Kotek
On Mon, Jan 31, 2011 at 6:23 PM, Judah McAuley wrote: > > You have it exactly backwards, Brian. Adam accused the Open Source > cfml community of being abusive toward Adobe. > Actually, Judah, I don't have it backwards. You do. That's why I'm pointing this out and asking if anyone knows what the

Re: Anyone know anything about this new ColdFusion conference?

2011-01-31 Thread Brian Kotek
What are we actually debating, again? The original issue at the root of all this was that Adobe is being "abusive" to the OSS engines. Highlighting the competitive advantages that Adobe feels they have over Railo or OpenBD, or the negative impact they feel it those engines have on the Adobe or CF

Re: Anyone know anything about this new ColdFusion conference? [spamtrap bayes][spamtrap heur]

2011-01-30 Thread Brian Kotek
On Sun, Jan 30, 2011 at 11:02 PM, denstar wrote: > > > adobe, like any product producer, has to maintain it's base customers. > railo's > > not producing much (if any) new cf customers but is instead cannibalizing > the > > I guess it's all relative. And maybe that 17% is a lie. Nobody likes >

Re: Anyone know anything about this new ColdFusion conference? [spamtrap bayes][spamtrap heur]

2011-01-30 Thread Brian Kotek
Russ, people who are "nasty and vindictive to anyone that uses or supports the competitors products and attack them at every opportunity" is really strong language. If you're referring to anyone on the "pro-Adobe" side of the argument, who are they? If you don't want to name names, some links to l

Re: why is cf_builder so expensive?

2011-01-26 Thread Brian Kotek
On Wed, Jan 26, 2011 at 5:05 PM, Dave Long wrote: > > This is not true of software which, once developed, has only minute costs > involved as more copies are sold. Margin increases rapidly and thus the > software could be priced at one half the price and sales might double with > margin remainin

Re: Anyone know anything about this new ColdFusion conference?

2011-01-25 Thread Brian Kotek
The reality is that Railo and Open BlueDragon are not growing the market for CFML. No one is *switching to* CFML from PHP, .NET, Ruby, or Java because of the OSS engines. To the extent that this might happen, it is an infinitesimally small number of projects. If any of the OSS engines have data to

Re: Coldfusion Array/List questions

2011-01-10 Thread Brian Kotek
What about: On Thu, Jan 6, 2011 at 1:01 PM, fun and learning wrote: > > Hi All- > > I am trying to build a list with following values: > > > > So the above list has 3 values with each value enclosed within the > brackets. When i convert it into array, am getting back 18 values as it is > cou

Re: Dumping VAR Scope?

2010-12-05 Thread Brian Kotek
You can't. This one reason why, prior to CF9, I always did var local = {}; at the top of my functions, and placed all function-local vars into that struct. On Fri, Dec 3, 2010 at 11:15 AM, Rick Root wrote: > > How do you dump the var scope inside a CFC? > > Qualifiers - not on CF9, and not usi

Re: COM Object support in 64-bit - Vague and Unclear

2010-08-25 Thread Brian Kotek
Ah, good to know, Dave. I just assumed it was using JNI since that is generally how native processes are run. Thanks. On Wed, Aug 25, 2010 at 2:09 PM, Dave Watts wrote: > > > What about 64-bit COM code? Would non-support then have anything to do > with > > CF? > > CF x64 can't use COM, period.

Re: COM Object support in 64-bit - Vague and Unclear

2010-08-24 Thread Brian Kotek
This doesn't have anything to do with CF. JNI won't allow you to run a 32-bit code in a 64-bit JVM. On Tue, Aug 24, 2010 at 10:12 PM, Yui Yui wrote: > > I posted this in the adobe cf forums but that doesn't seem to be helping, > so I'm re-posting it here. > > Dear Adobe Coldfusion, your techn

Re: cfcache security issue?

2010-07-16 Thread Brian Kotek
Use action="clientcache"? On Fri, Jul 16, 2010 at 12:11 PM, Spencer K wrote: > > Hi cfers, > > We are considering implementing cfcache on our busy site (CF8), but as I > understand it, CFMX creates a page on disk for every unique set of URL > variables. > > So what stops a malicious attacker pe

Re: ColdFusion Builder Key Commands

2010-07-12 Thread Brian Kotek
I'm fairly sure that you can't create arbitrary commands within Eclipse unless you actually dig into the API and write plugin code. In other words, if it isn't in the list of available commands in the "keys" list, you can't create one. The easiest thing to do is probably to look at something like

Re: JSON response need a little help

2010-06-30 Thread Brian Kotek
To get the case to match, use the bracket structure syntax: i.e. response['hotspots'] = . will preserve the case of the key. When you do response.hotspots, CF automatically uppercases the key. On Wed, Jun 30, 2010 at 10:49 AM, Glyn Jackson wrote: > > Hi I am trying to create a JSON respons

Re: Problems with slashes in JSON

2010-06-09 Thread Brian Kotek
Just a note that your list item has no closing tag. You can try building up the string with assignments rather than using cfsavecontent. i.e.: #Trim(loc.custList.full_name)# - #Trim(loc.custList.addr_line1)#, #Trim(loc.custList.city)# #Trim(loc.custList.state)#" /> On Wed, Jun 9, 2010 at 6:5

Re: cfc accessing session scope - bad?

2010-05-20 Thread Brian Kotek
In general, yes. The exceptions are if you have a method specifically meant to encapsulate access session scope so that other methods in the object can get to that data (i.e. a getCurrentUser() method in a UserService), or if you create a dedicated SessionProxy object that other objects use to acc

Re: Coldspring question - what causes this error?

2010-05-17 Thread Brian Kotek
Just updating as this was resolved on the ColdSpring list: the issue was a missing frameworkProperties.properties file in the ColdSpring root directory. Mike had deleted this file without realizing that it was necessary. Thanks, Brian On Mon, May 17, 2010 at 9:58 AM, Mike Kear wrote: > > I ho

Re: best tools

2010-05-12 Thread Brian Kotek
No code coverage tools yet, as that would need to work at the compiler level (trying to parse the raw CFML would be next to impossible). MXUnit is pretty much the standard unit testing framework. Hope that helps, Brian On Wed, May 12, 2010 at 5:58 PM, bill turner wrote: > > I've been away from

Re: How are other developers handling big SVN repositories?

2010-05-06 Thread Brian Kotek
ssible), I doubt it. =) > > :Den > > -- > To spend life for something which outlasts it. > William James > > On Thu, May 6, 2010 at 7:37 PM, Brian Kotek wrote: > > > > It does for me. > > > > On Thu, May 6, 2010 at 8:32 PM, Wil Genovese wrote: > >

Re: How are other developers handling big SVN repositories?

2010-05-06 Thread Brian Kotek
It does for me. On Thu, May 6, 2010 at 8:32 PM, Wil Genovese wrote: > > I keep hearing the myth about Git. The issue is not the tools for > branching and merging, the issue is working with very large code > repositories that are branching and moving forward in all the branches at a > fast pace

Re: How are other developers handling big SVN repositories?

2010-05-06 Thread Brian Kotek
ow of this paradise. > > > On Thu, May 6, 2010 at 3:16 PM, Andrew Scott >wrote: > > > > > Not having used Git how is it paradise? > > > > > > -Original Message- > > From: Brian Kotek [mailto:brian...@gmail.com] > > Sent: Friday, 7 M

Re: How are other developers handling big SVN repositories?

2010-05-06 Thread Brian Kotek
Probably won't help right now, but for future reference, Git's branching and merging is like paradise compared to SVN. Might be worth thinking about trying on a future project. Brian On Thu, May 6, 2010 at 12:34 PM, Jeff Gladnick wrote: > > We have about 8 or 9 engineers and QA people working o

Re: Substitute/conversion for Flash Interactive Menus for iPad?

2010-05-05 Thread Brian Kotek
On Wed, May 5, 2010 at 7:54 PM, Judah McAuley wrote: > > I wouldn't be quite so quick on the pronouncement that most of tablet > platforms will support Flash, at least in the short term. Besides the > iPad, there isn't a shipping tablet that has any serious market > penetration. Archos has one o

Re: Substitute/conversion for Flash Interactive Menus for iPad?

2010-05-05 Thread Brian Kotek
Also, given that most other phone/tablet platforms WILL be supporting Flash, I'd say Dawn might go back to management and point out they're talking about rebuilding something JUST because the iPad won't support Flash. It may be possible to convince them that this might be a knee-jerk reaction. Br

Re: Substitute/conversion for Flash Interactive Menus for iPad?

2010-05-04 Thread Brian Kotek
No, you'll have to rewrite it in HTML/JavaScript to run it from the browser on the iPad, or rewrite it in Objective-C if you want it to run as a native application. Brian On Tue, May 4, 2010 at 5:13 PM, Dawn Sekel wrote: > > Hi-I have several web templates that use Flash widgets for interacti

Re: question ("null" attribute)

2010-05-03 Thread Brian Kotek
I think the point is that if you're going to use any of those techniques, you DO have to param the variable, or use some other mechanism to make sure the variable exists. Otherwise the code in your "value" attribute will always fail when the variable doesn't exist. Make sense? On Mon, May 3, 2010

Re: ORM Error - "No discriminator found"

2009-11-18 Thread Brian Kotek
I don't think you can use a bit typed column as the discriminator column. In fact, you don't need to specify the column and value at all, Hibernate will just create one automatically if you leave it out. Since the inner workings of the inheritance implementation are completely hidden, this shouldn

Re: Getting last inserted record from database

2009-10-27 Thread Brian Kotek
Exactly. On Tue, Oct 27, 2009 at 10:32 AM, James Holmes wrote: > > However without a serializable transaction (assuming read committed is > therefore the isolation level used), another query could insert a new > row and commit before the commit in this transaction; this would > result in an inco

Re: Getting last inserted record from database

2009-10-26 Thread Brian Kotek
Since serializable is the only isolation level that is meant to eliminate phantom reads, that means that this approach will probably only work if you set the isolation level to serializable (and, of course, that your RDBMS supports it). Which includes the performance implications that this isolati

Re: CF 9 + EC2

2009-10-08 Thread Brian Kotek
Sure, it would have been much smarter to make the vast majority of the user base wait until the AMI deployment was fully tested, rather than let the them use the new version now. By the way, it might be obvious, but you can actually deploy a CF instance onto EC2 right now. You don't have to wait

Re: Dynamic form issues

2009-10-01 Thread Brian Kotek
I wrote a CFC that might help: http://formutils.riaforge.org/ On Thu, Oct 1, 2009 at 10:53 AM, Scott Stewart wrote: > > Hey all, > > I'm having an issue trying to figure out something. > > Here's what I have, a form that's generated dynamically based on fields > returned from a query, I'll neve

Re: CF9 ORM - One-To-One Mapping, Repeated Column Error

2009-09-22 Thread Brian Kotek
fkcolumn should specify the name of the foreign key column, not the name of the primary key on the other table. In most cases this attribute shouldn't need to be specified at all, Hibernate will create a column for the foreign key automatically. So either the docs are just badly worded, or they de

Re: SQL Help

2009-08-26 Thread Brian Kotek
Yep, EXISTS will virtually always be faster, usually MUCH faster, than a correlated subquery, because a subquery is evaluated for EVERY ROW processed by the outer query. On Wed, Aug 26, 2009 at 12:43 AM, Mark Henderson wrote: > > Brian Kotek wrote: > > > > WHERE NOT EXIST

Re: SQL Help

2009-08-25 Thread Brian Kotek
WHERE NOT EXISTS should also work. On Tue, Aug 25, 2009 at 5:27 AM, Mark Henderson wrote: > > Greetings from the chilly south, > > I have this query and it returns the expected result set, but I can't > work out how to use a join instead of the NOT IN clause and I *know* > that is going to be mo

Re: Finding schema details with CF 6.1 ?

2009-03-30 Thread Brian Kotek
How to put what into a .cfm file? If you want to get column data for a table, you can simply run a query against the information_schema table: SELECT * FROM INFORMATION_SCHEMA.Columns WHERE table_name = 'yourtablename' The CFC shows one way you can do this and encapsulate it (and other related

Re: Finding schema details with CF 6.1 ?

2009-03-30 Thread Brian Kotek
Correct me if I'm wrong, but it sounds like you're actually requesting that someone go through that CFC for you and turn it into something that you can copy and paste into a template. On Mon, Mar 30, 2009 at 10:11 AM, BobSharp wrote: > > Thanks, but the CFC is a bit beyond me at the moment. >

Re: CF Web service for HL7

2009-03-26 Thread Brian Kotek
Not for CF that I know of. I'd just leverage one of the existing Java libraries such as http://hl7api.sourceforge.net/ 2009/3/26 Davide Campo > > Hi everyone, > > i'd need to know if exist something CF Component to manage an HL7 > comunication system. > > Tank u all for support. > > > Davide >

Re: CFLOOP with Stored Procedure

2009-03-25 Thread Brian Kotek
No, it's not right. As the documentation on the tag states, if you don't specify a "result" attribute, the result is contained in "cfstoredproc". On Wed, Mar 25, 2009 at 10:42 AM, Priya Koya wrote: > > I have a query and looping the results of a query. I want to display the > names from the cfd

Re: cfgridcolumn dataalign="right"

2009-03-18 Thread Brian Kotek
No, since dataAlign only works with Flash and Java applet grids, and headerAlign only works with applet grids. Which it says in the documentation on the tag, by the way. 2009/3/18 John M Bliss > > Is there a known bug with cfgrid format="html" completely ignoring > cfgridcolumn's headeralign="r

Re: Sort database records as a human not a computer.

2009-03-16 Thread Brian Kotek
I'm with Claude on this one, your best bet it probably to generate another column such as sortTitle that you can then sort on. On Mon, Mar 16, 2009 at 11:39 AM, Claude Schneegans < schneeg...@internetique.com> wrote: > > >>but you can use string > manipulation functions in the ORDER BY clause t

Re: Problem in accessing formfields using CFDIV

2009-03-13 Thread Brian Kotek
Very true, what threw me off was that when he replied to his own message and then added text, Gmail hid all the original text thinking it was "quoted text". So it appeared that he was self-posting the form back to itself and had no logic there that did anything with it. Once I expand the embedded

Re: Problem in accessing formfields using CFDIV

2009-03-13 Thread Brian Kotek
Since you don't have a form action defined, what exactly are you expecting to happen when you press submit? On Fri, Mar 13, 2009 at 3:29 AM, Pranathi Reddy wrote: > > oh ok ... but what about the other form fields in the cfform.. I am not > able to access even the text fields in the New1.cfm...

Re: Problem in accessing formfields using CFDIV

2009-03-13 Thread Brian Kotek
If you're not sure how to post questions to a technical list, I'd recommend reading this because it's extremely useful information: http://www.catb.org/~esr/faqs/smart-questions.html On Fri, Mar 13, 2009 at 2:38 AM, Pranathi Reddy wrote: > > Hii All, > > I really dont know how to post for the te

Re: CFDIV Navigation

2009-03-12 Thread Brian Kotek
Read the documentation on cflocation. And learn how to ask a question on a technical mailing list, because your post doesn't make any sense. On Thu, Mar 12, 2009 at 1:54 AM, Pranathi Reddy wrote: > > Any Ideas.? > > > Grid Code: > > ~

Re: Loop in Distinct loop with more then one column

2009-03-07 Thread Brian Kotek
Just a general note that any time you run a query and then loop over it and run more queries, there's almost always a way to accomplish the same task using a single query (which will be far more efficient). On Fri, Mar 6, 2009 at 4:17 PM, Sin Tec wrote: > > Im doing a loop within a loop to get

Re: CF sourceless deployment tool

2009-03-03 Thread Brian Kotek
You could look at the CAR, WAR, and EAR options? On Mon, Mar 2, 2009 at 2:10 AM, Bob wrote: > > Hello , > > Every developer who uses Coldfusion gets addicted to it’s power ! > I am one of those developers who develop apps in PHP/JSP/.NET and other > languages > But I always prefer CF and enjoy

Re: Beginning Flex

2009-02-25 Thread Brian Kotek
I'll second Linda, the library there is HUGE and the content is quite good. As Gerald said, for $25 you really can't beat that, even if you only go through one track a month. On Wed, Feb 25, 2009 at 2:43 PM, Gerald Guido wrote: > > >> I'm just.lost. Can y'all pretend I am a total idiot & explai

Re: ColdFuison Course display

2009-02-19 Thread Brian Kotek
http://www.catb.org/~esr/faqs/smart-questions.html ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://ww

Re: Online OO courses

2009-02-18 Thread Brian Kotek
I'd recommend any of these: http://www.amazon.com/Object-Technology-Managers-David-Taylor/dp/0201309947 http://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/dp/0596008678 http://www.amazon.com/Fundamentals-Object-Oriented-Design-Addison-Wesley-Technology/dp/020169946X http://www.amazo

Re: Saving beans to a databse

2009-02-18 Thread Brian Kotek
Looking at the code, it looks like it is using JSON to serialize the object, via CFJSON. But I don't see how that's going to work with CFCs, since the serializer will see it as a structure, and when it is deserialized later, you'll end up with a structre, not a CFC. A further quick review of the

Re: Saving beans to a databse

2009-02-18 Thread Brian Kotek
There are object-based databases out there, but they don't work with CFCs natively (or I've never seen an adapter that would allow this). There are ways to serialize a CFC and save it to the database, but this usually opens up a ton of issues such as, the main two being that it saves the entire ob

Re: Online OO courses

2009-02-17 Thread Brian Kotek
This might be an option, but when they won't tell you the pricing I tend to assume the worst, heh. http://www-01.ibm.com/software/in/rational/training/webbased_training/ooad.html On Tue, Feb 17, 2009 at 5:17 PM, Gabriel wrote: > > I'll start at the shallow end and get as deep as I can go. I TH

Re: Online OO courses

2009-02-17 Thread Brian Kotek
Books are going to be a much cheaper and more readily available option. I know there are OO courses but they are usually rather expensive and almost never web-based. If you want that level of immersion and the cost is justifiable, these are probably invaluable. But the alternative is probably goin

Re: SQL question

2009-02-16 Thread Brian Kotek
I've always known it as selecting a literal value. So "SELECT 1" is "select the literal value 1". On Mon, Feb 16, 2009 at 7:41 PM, Mike Soultanian wrote: > > I was curious if anyone knows how you describe the following SQL > functionality: > > SELECT 'mike' as name > > returns a single column n

Re: Question about Discovering CFCs

2009-02-07 Thread Brian Kotek
On Sat, Feb 7, 2009 at 10:12 PM, Mike Soultanian wrote: > > Yeah, I noticed that the book uses the "this" scope. I also noticed > that the book outputs data from CFCs which I've read is a nono in > regards to best practices. I'm assuming the correct method to retrieve > the data stored in the

Re: Question about Discovering CFCs

2009-02-07 Thread Brian Kotek
Brad, you're confusing protected with package. Package allows objects in the same package (folder) to access a variable. Protected means the variable is accessible by subclasses. On Sat, Feb 7, 2009 at 10:43 PM, Brad Wood wrote: > > Private is only available to methods in that component. Prote

Re: Question about Discovering CFCs

2009-02-07 Thread Brian Kotek
Most of the general ideas are still applicable. The biggest differences that I can think of are: - All function-local variables must be declared with the "var" keyword - The VARIABLES scope within a CFC represents private data - The VARIABLES scope should be used instead of the THIS scop

Re: How are CFCONTENT requests handled?

2009-02-06 Thread Brian Kotek
Or, depending on the version of CF8 and your familiarity with it, you could look at using CFTHREAD since those use a separate thread pool. On Fri, Feb 6, 2009 at 6:08 PM, Brian Kotek wrote: > The issue isn't memory usage as much as it is thread usage. A server thread > will be occup

Re: How are CFCONTENT requests handled?

2009-02-06 Thread Brian Kotek
The issue isn't memory usage as much as it is thread usage. A server thread will be occupied for the entire duration of the download. Which means if you have large files, and 50 people are downloading, then that is 50 of your threads used for however long it takes their downloads to complete. The

Re: Adobe "Bolt" anyone?

2009-01-25 Thread Brian Kotek
Actually, the Adobe NDA explicitly states that you cannot even admit the existence of the beta software, among numerous other things. I suggest you reread the NDA, because you just violated it. On Fri, Jan 23, 2009 at 8:05 PM, Eric Roberts < ow...@threeravensconsulting.com> wrote: > That is incor

Re: SQL CASE STATEMENTS

2009-01-19 Thread Brian Kotek
If you mean SQL case statements, no. On Mon, Jan 19, 2009 at 9:19 AM, Torrent Girl wrote: > Can I use case statements within a QoQ? > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get

Re: Desparate!!!! Need someone to look at my code and figure out the problem!

2009-01-07 Thread Brian Kotek
You've got to set this.setClientCookies=true in the Application.cfc, or pass the CFID/CFTOKEN/JSessionID in every URL and form post. On Wed, Jan 7, 2009 at 7:26 PM, Rick Faircloth wrote: > I'm willing to pay or buy a gift from a wishlist, but I need > to figure out this problem right away. Prefe

  1   2   3   4   5   6   7   8   >