Re: isvalid("url") issue

2014-08-27 Thread Adam Cameron

>
>
> ACF 10's isvalid("url") says that this is not a valid URL. What's your
> favorite alternative to isvalid("url")?
>
>
> http://www.domain.com/page.php?var=value&var=value&var=http://www.domain.com/path/page.htm&var=value


Just to be clear... it's saying it's not a valid URL because it's *not* a
valid URL. You need to encode some of the characters in "
http://www.domain.com/path/page.htm
"
for it to be a valid value in a URL query string. The RFC is pretty clear
on this (http://tools.ietf.org/html/rfc3986#appendix-A). Once you deal with
that, then the URL passes validation.

"Interestingly" (stretching the definition a bit) ColdFusion 11 has a
regression here: it passes your dodgy string as a valid URL. Railo does too.

-- 
Adam


~|
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:359210
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 to CF11 cfscript

2014-08-10 Thread Adam Cameron

You know CFML has had the sleep() function (which does what your code does)
built-in since CF8, right?

Your issue is probaby that "thread" is a keyword in CF9+.

Replace your code with:

sleep(4000);

Wanting the page to pause whilst data is entered into the DB is an odd
thing... given DB operations in CFML are blocking by default. It'd be good
to see more of your code to cast some light on what you're doing here...?

-- 
Adam


On 10 August 2014 15:56, Rob Voyle  wrote:

>
> Hi folks
>
> Migrating from cf9 to cf11
>
> 
> thread = CreateObject("java", "java.lang.Thread");
> thread.sleep(4000);
>  
>
> is now giving an error message  "invalid token"
>
> What should the syntax be. I simply want the page to pause while data is
> entered into a
> database.
>
> Thanks
> Rob
>
>
> 

~|
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:359103
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 10 Developer Edition CFCOMPILE.BAT

2014-07-27 Thread Adam Cameron

On 27 July 2014 16:53, Richard Colman  wrote:

>
> Apparently, CFCOMPILE.BAT is missing from Coldfusion 10. Anyone know
> where to find the 10.1 update?
>

Via the updater within CFAdmin. Same as with all(*) CF10 updates.

NB: there is no .1 update for CF10. They're still on 10.0... the latest
patch level for 10 is 10.0.13. But just install whatever updates CFAdmin
tell you to.

If you install CF10 from the "current" (ie: "last available") installer,
then you need to install update 8, then install update 13. One *cannot* simply
install 13, as it is missing a prereq that 8 has.

-- 
Adam

(*) for all intents and purposes


~|
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:359015
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 10 Developer Edition

2014-07-27 Thread Adam Cameron

On 27 July 2014 16:54, Andrew Scott  wrote:

>
> *sigh*
>
> I saw ColdFusion 10 downloads, missed the additional in front of it... Oh
> well, I guess ColdFusion 10 being as buggy as it is, I would hide it too.
>

FWIW, I've made the same suggestion/mistake in the past ;-)

-- 
Adam


~|
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:359014
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 10 Developer Edition

2014-07-27 Thread Adam Cameron

On 27 July 2014 16:32, Andrew Scott  wrote:

>
> Wow, as much as I like the home page, navigation through the site sucks.
> Many broken links...
>
> http://www.adobe.com/support/coldfusion/downloads.html
>
>
I can't see on that page where one might D/L CF10, Andrew?

As far as I know, the most convenient place to get CF10 from is Gavin's
copy.com repo, as indicated earlier:
https://www.copy.com/s/i0LSL1n8A6QC/ColdFusion%20Installs

-- 
Adam


~|
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:359007
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cannot find /cfcs/

2014-06-29 Thread Adam Cameron

The *component* attribute value needs to be the dotted path to an actual
CFC, not a directory.

So say your CFC is /cfcs.Foo.cfc, the value ought to be cfcs.Foo.

Aside from that, can I recommend you *don't* use  if at all
possible for this? Just use a variable assignment, and createObject(): it
makes for far more natural code:



-- 
Adam


On 29 June 2014 07:59, Matthew Smith  wrote:

>
> also tried /cfcs_mapping
>
>
> On Sat, Jun 28, 2014 at 11:13 PM, Matthew Smith 
> wrote:
>
> > 


~|
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:358772
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfqueryparam to varchar raw problem

2014-05-20 Thread Adam Cameron

On the whole, posting the code rather than describing the code is more
helpful in these situations.

The before and after versions might be helpful too.

Did anything other than the usage of  change?

-- 
Adam


On 20 May 2014 20:01, daniel kessler  wrote:

>
> I may be outside of the CF bounds here, but this problem wasn't showing up
> until we added CFQueryParams.  We are in CF9.
>
> I am adding CFQueryparams to an INSERT.  The item that I am sending over
> to the oracle 11g db is empty text.  The CFQueryParam is varchar because I
> am sending it over as text.
> From there, it is encrypted and a Cast_to_RAW is done on it to be put in a
> RAW field.  This is failing with an "invalid hex number" error.
>
> Overall, I don't receive the error consistently.  However, I haven't been
> able to reproduce this without the CFQueryparam.
>
> Any thoughts on this?  Or any clarification questions?


~|
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:358672
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF11... Live?

2014-04-29 Thread Adam Cameron

It hasn't been on that page for ages (like: an amount of time better
measured in years than months). it's on www.adobe.com > Products > See all
products > View our complete products and services catalog

-- 
Adam


On 29 April 2014 15:19, DURETTE, STEVEN J  wrote:

>
> Ok, I could sort of understand that, however ColdFusion is an existing
> product why would you remove it from the See All Products link? You can bet
> they wouldn't do that for a new version of Creative Cloud!
>
>
>
> -Original Message-
> From: Russ Michaels [mailto:r...@michaels.me.uk]
> Sent: Tuesday, April 29, 2014 10:08 AM
> To: cf-talk
> Subject: Re: CF11... Live?
>
>
> I would imagine it simply isn't official yet, they have to get the website
> sorted before they make an announcement
>
>
> 

~|
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:358461
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Looping

2014-04-24 Thread Adam Cameron

>
> The problem with cfscript is that it is more ESMAC compliant, which means
> you can increment it when being used in a for loop as you have shown in
> your last example.
>

Well yes and no. the CFScript construct:

for(i=1; i<=10;i++){
// stuff
}

 is not analogous to:





It's analogous to:


   



-- 
Adam


~|
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:358404
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Looping

2014-04-24 Thread Adam Cameron

>Am i missing something obvious.

>
>y=#y#
>
>

With this one, yes. With this sort of loop, CF maintains the counter 
internally, and just exposes its current value each iteration. So you can do 
what you like to the value inside the loop body, CF will simply expose the next 
incremented value each iteration. This makes it more clear:



  Top of loop: #i#
  
  Bottom of loop: #i#




As for the other two  examples you offer, I don't see what it is you 
expect to happen that's different from what *is* happening.

-- 
Adam 

~|
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:358402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Looping

2014-04-24 Thread Adam Cameron

>Am i missing something obvious.
> [...]
>Only the last version is working as I would expect. I ran into this
>attempting to increment an index inside cfloop, so I could skip a few
>records in an array.

It's difficult to say how your expectations are off, given you don't *seem* to 
tell us what said expectations are. 

FWIW, all of that is working as I would expect.

-- 
Adam

~|
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:358400
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Does Not Contain Number

2014-04-20 Thread Adam Cameron

If you wanna get up to speed with regular expressions in ColdFusion, I've
written a fair bit about them - from the ground up - on my blog:
http://cfmlblog.adamcameron.me/search/label/Regular%20expressions

Obviously Ben Nadel bangs on about them a lot on his blog too ;-)

I think a good handle on regex is essential for anyone in our line of work,
given we're basically manipulating text for a living.

-- 
Adam




On 20 April 2014 22:53, David Moore  wrote:

>
> Very Helpful. I had not seen this before. Great stuff. And thanks to
> everyone for there expertise. CF-Talk has always come through for me.
> Blessed Easter everyone!
>
> 

~|
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:358376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Does Not Contain Number

2014-04-20 Thread Adam Cameron

Yay for documentation!

https://wikidocs.adobe.com/wiki/display/coldfusionen/Regular+expression+syntax#Regularexpressionsyntax-Usingescapesequences

-- 
Adam


On 20 April 2014 22:34, David Moore  wrote:

>
> For education reasons, what does the '/d' reference? How does that tell
> the statement to look for a number?
>
> 

~|
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:358374
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CAN THIS PLEASE BE THE END? Re: "The long tail of ColdFusion fail"

2014-03-30 Thread Adam Cameron

Why would you try to stifle people's conversation?

That's not like you.

I'm still getting "stuff" (read: "thought exercises") from all the content on 
this thread.

If you personally don't like this thread, maybe take responsibility for your 
own situation and filter it out; rather than trying to force your will on other 
people.

-- 
Adam


Steve 'Cutter' Blades  wrote:
>
>Good Gawd! Some of you are like a dog with a bone.
>
>The facts:
>1) Something Happened
>2) It Got Publicized
>3) There Are A Lot of Ticked Off People
>
>We can debate who is at fault until we are blue in the face. The fact
>of 
>the matter is, all of it is in the past. We can not change the past. 
>Adobe (the CF product team) is aware of everyone's concerns, and are 
>evaluating strategy *for the future*. You have all said your piece
>here, 
>in the very public openness of the web, where Google will pick it up
>and 
>run, and allow the naysayers to say "see, even their own community..."
>
>Review the install of the now public beta. Write down a list of 
>faults/suggestions. Go file it in the bug report tool. Let everyone
>know 
>that it's there for vote and comment. Everyone then go vote and
>comment. 
>If you do it right, and you give it full court press, maybe we can get 
>at least partial response before they take the server to full product.
>
>I promise you that it is a much more valuable use of your time, and
>your 
>valid, constructive criticism might actually get met with an official 
>response and/or action.
>
>Now, you are welcome to flame me here, but *I* promise *you*, you will 
>just be wasting keystrokes. Spend 'em in the bug tracker.
>
>Steve 'Cutter' Blades
>Adobe Community Professional
>Adobe Certified Expert
>Advanced Macromedia ColdFusion MX 7 Developer
>
>http://cutterscrossing.com
>
>
>Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
>https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
>
>"The best way to predict the future is to help create it"
>
>
>
>

~|
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:358238
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-28 Thread Adam Cameron

Sorry, forgot to come back to this.

> This is not a false analogy because [etc]

But it *is* a false analogy because it's generally a government requirement for 
people to be licensed to drive a car before they can use one, so it's 
reasonable to assume from the outset of the sale process that a minimum level 
of education is already in place regarding how a car works.

This is not the case with CFML.

I think, on the whole, "physical object" analogies made in the context of IT 
considerations have a lovely superficial warmth to them, but generally end up 
being pretty specious.

-- 
Adam 

~|
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:358170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


nput solicited: List function support as member functions in CFML

2014-03-28 Thread Adam Cameron

G'day:
I'm concerned about how Adobe have implemented the list-oriented member 
functions in ColdFusion 11. And I was hopeing to capture some community input 
as to what other people think, before raising it with Adobe:
 
http://cfmlblog.adamcameron.me/2014/03/survey-lists-in-cfml-and-naming-of-list.html
 
It'd be cool if you could take the time to complete the survey.

Thanks.
 
--
Adam 

~|
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:358169
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-26 Thread Adam Cameron

On 26 March 2014 14:54, <> wrote:

>
>  >>It's up to you to understand how web servers and web applications work,
> and set it up
>
> My point is that I'm pretty sure everything I've done by hand to move
> CFIDE/administrator and declare a virtual directory to some special web
> site could be done by the installer.
>

Well quite. And if it's so bloody insecure a thing to do, then *don't do it*
.

It's daft to facilitate the [potentially dangerous thing], then advise
people to not do that. Simply don't bloody do it in the first place!

-- 
Adam


~|
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:358121
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-26 Thread Adam Cameron

The doors are locked by default though, aren't they?

Plus it's a bit of a false
analogyanyhow.


On 26 March 2014 14:44, DURETTE, STEVEN J  wrote:

>
> I like this analogy... You buy a new Ford Fusion. Ford tells you about how
> closing the doors and locking it is a security feature.
> Then, you go park in a high crime area with the car running, keys in the
> ignition and the doors wide open.
>
> So who is responsible when the car gets stolen?
>
> (The media would report an issue with Ford door locks.)  :)
>
> Steve
>


~|
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:358120
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-26 Thread Adam Cameron

>
>
> In the case where everything's locked down by default, nothing works,
> and admins need to learn how to remove security to allow access to a
> web application.
>
> I'm not sure I see much difference there. Either way, someone needs to
> know how web application security works. If you're in the business of
> building web applications, this is a fundamental part of your job.
>

The difference is that - via the current way - the admin *doesn't* need to
know about web security. That's the difference.

-- 
Adam


~|
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:358118
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-26 Thread Adam Cameron

On 26 March 2014 13:57, Dave Watts  wrote:

>
> > CF should install locked down out of the box, there really should be no
> > need to follow a complex lockdown guide to make it secure.
>
> [...]
>
> If you really think Adobe is responsible for your server's security,
> and should be installed "locked down out of the box", you must have a
> different idea of what locked down means than I do.
>
> Adobe is responsible for vulnerabilities in the CF Administrator, but
> you are responsible for ensuring that the CF Administrator isn't
> exposed to untrusted networks. It's a web application, just like any
> other.
>

>From a system security perspective, the approach is generally the default
is *no access*, and then access has to be specifically granted.

Adobe has taken the opposite approach simply to make life easy, which has
proven to be a foolhardy decision. Repeatedly. For years.

You (and Adobe both) are labouring under some "perfect world" scenario in
which admins actually *do* know what they're doing by default. This simply
isn't true. Adobe need to accept reality and deal with it, rather than
going "well in the perfect world then [this]". But we actually no it's not
a perfect world, so why start the position from there?

-- 
Adam


~|
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:358113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-26 Thread Adam Cameron

If it only works on localhost *by default*, then this mitigates most of the
problem just like that.

-- 
Adam


On 26 March 2014 14:17, Dave Watts  wrote:

>
> > What I mean is that Adobe recommands that CFIDE should be moved to a
> safer place, but, after several
> > versions, CFIDE is still installed the same way.
>
> Of course it is. If It were somewhere else, you wouldn't be able to
> administer CF after an out-of-the-box install. It's up to you to
> understand how web servers and web applications work, and set it up
> properly after it's installed.
>
> Dave Watts, CTO, Fig Leaf Software
> 1-202-527-9569
> 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 onsite.
>
> 

~|
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:358112
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML tags was: "The long tail of ColdFusion fail"

2014-03-18 Thread Adam Cameron

On 18 March 2014 14:53, Phillip Vector  wrote:

>
> > But the bulk of your *code* should be separate from your views. So be
> nowhere *near* HTML. So, accordingly, the reason for having tag-based
> constructs in CFML should not be relevant in almost all your code.
>
> Presuming you are doing a MVC framework.
>
> Well... presuming you organise your code AT ALL. It doesn't need to be via
a framework.

But I guess you've got even bigger code challenges if yer *not* using a
framework of some description.

-- 
Adam


~|
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:358024
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML tags was: "The long tail of ColdFusion fail"

2014-03-18 Thread Adam Cameron

>
>  >>how is it being tag-oriented a dev-friendly thing?
>
> Just because the code and the HTML it is intended to produced are
> integrated within the same syntax.
> That makes any template looks like ONE program written in ONE language,
> not a program written in one language and another program in another
> language embeded in strings in the first language.
>

Which describes your views, and that's fine to have the odd control
statement etc within them.

But the bulk of your *code* should be separate from your views. So be
nowhere *near* HTML. So, accordingly, the reason for having tag-based
constructs in CFML should not be relevant in almost all your code.

-- 
Adam


~|
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:358022
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFML tags was: "The long tail of ColdFusion fail"

2014-03-18 Thread Adam Cameron

>
>
>  >>so some people think it is not real code
>
> ... and these people are real morons ;-)
> Being tag oriented, compatible with HTML, makes CF the most developper
> friendly language ever.
>
>
Give it's unlike any other language one might already know, how is it being
tag-oriented a dev-friendly thing?

Tag-based code is godawful anywhere other than in a view, or some other
situation in which text-processing is needed. Which does not describe an
awful lot of CFML code out there.

That Macromedia/Adobe pushed the tag side of CFML over the script side is
probably the worst strategic move they ever made.

-- 
Adam


~|
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:358017
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-18 Thread Adam Cameron

On 18 March 2014 10:05, Maureen  wrote:

>
> Hating CF is like hating a hammer.  Hating PHP is like hating a huge
> rock you are forced to use on the nails because the client won't let
> you use a hammer.
>


Fantastic.

That's put a smile on my face today.

Thanks.


~|
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:358005
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-17 Thread Adam Cameron

On 17 March 2014 21:49, <> wrote:

>
>  >>and then when their site gets owned, CF gets the blame.
>
> On another hand, why Adobe hasn't change the way CF is installed if its
> not safe?
>

"backwards compatibility", and general lack of taking security seriously.
They offer lipservice to security, but are too paralysed at the thought of
alienating their more uniformed install base that they have dragged their
heels when it comes to this sort of thing.

That said... all the exploits last year would not have been possible to
utilise if the people administering the CF servers actually did their jobs
professionally. I'm the first one to blame Adobe for shitty exploitable
code, but it's the idiots that leave well identified vectors open to abuse
that have caused all the problems recently.

But I will swing back towards Adobe (and Macromedia before them) being to
blame here for engendering this idea that one can be a plank and still use
CF. So now we have a community full of planks (and we *seriously* do). It
was/is irresponsible for Macromedia/Adobe to commercially exploit this. IMO.

-- 
Adam


~|
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:357987
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: "The long tail of ColdFusion fail"

2014-03-17 Thread Adam Cameron

+... err... one.


On 17 March 2014 19:21, Matt Quackenbush  wrote:

>
> On Mon, Mar 17, 2014 at 3:11 PM, Phillip Vector
> wrote:
>
> >
> > >We're not releasing any more CF sites and are converting those site we
> can
> > to PHP.
> >
> > Oh yeah. Change from a closed source to an open source. What can possibly
> > go wrong. :)
> >
> >
> That has to be one of the most uneducated posts I have ever read.
>
> For those reading this in the future, please never succumb to the
> ridiculous thought that closed source equates to security or that open
> source equates to insecurity. the fact of the matter is that neither
> closed- nor open-source is inherently more or less secure than the other.
> Do your homework and never listen to uneducated opinions/statements like
> the one espoused by the poster I quoted above.
>
>


~|
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:357986
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF to groovy, awe man wth...

2014-03-17 Thread Adam Cameron

On 17 March 2014 13:49, Raymond Camden  wrote:

>
> Ok, I think he gets the idea now. :) Can anyone recommend books, classes,
> etc for him? I believe I used an ORA book a few years ago that was good. In
> general, ORA books are *always* a good idea.
>
>
TBH, I'd just google "groovy tutorial" or some variation thereupon, and go
from there to start with. Before outlaying for a book.

-- 
Adam


~|
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:357950
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF to groovy, awe man wth...

2014-03-17 Thread Adam Cameron

Absolutely. I'd KILL for an opportunity like that (that said, we're being
cross-trained to C#, which I am also looking fwd to).


On 17 March 2014 13:39, Raymond Camden  wrote:

>
> No kidding. Being forced to learn something new - on the clock - sounds
> like a win win.
>
>
> On Mon, Mar 17, 2014 at 8:35 AM, Adam Cameron  wrote:
>
> >
> > Why would you not want to learn it?
> >
> >
> > On 17 March 2014 13:28, morchella  wrote:
> >
> > >
> > > so we have some people at the top here wanting us to switch from cf to
> > > groovy.
> > > i have no control other then will support all apps until this thing
> > > happens.
> > >
> > > so was curious if any one here has done any groovy stuff, and what
> advice
> > > they could give to a old man who has done cf since 1998.
> > >
> > > i don't want to learn it. but have to.
> > > so any good books or resources that you know of?
> > >
> > > hoping it doesn't happen, or that i find another cf shop before it
> does.
>


~|
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:357947
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF to groovy, awe man wth...

2014-03-17 Thread Adam Cameron

Why would you not want to learn it?


On 17 March 2014 13:28, morchella  wrote:

>
> so we have some people at the top here wanting us to switch from cf to
> groovy.
> i have no control other then will support all apps until this thing
> happens.
>
> so was curious if any one here has done any groovy stuff, and what advice
> they could give to a old man who has done cf since 1998.
>
> i don't want to learn it. but have to.
> so any good books or resources that you know of?
>
> hoping it doesn't happen, or that i find another cf shop before it does.
>
>
> 

~|
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:357944
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best practices for xss security in CMS?

2014-02-28 Thread Adam Cameron

Sorry, I only read as far as "disabling Javascript" and was commenting on
that. The fact remains that anything done *clientside* is not reliable. It
seems we're not disagreeing there,

Certainly having a WAF is borderline essential on anything other than a
trivial site. I'm not entirely sure doing @ CF level is the correct place
to do it, but that's an aside.

Sorry for confusion.

-- 
Adam


On 1 March 2014 07:59, Russ Michaels  wrote:

>
> I disagree 100%
> scanning All form fields globally for any dodgy content is the complete
> opposite of narrow sighted, it is a much more efficient way to make sure
> nothing gets through rather than instead trying to do these checks in
> multiple different places and potentially missing one.
>
>
>
> On Fri, Feb 28, 2014 at 6:56 PM, Adam Cameron  wrote:
>
> >
> > That's a bit narrow-sighted.
> >
> > Hackers don't disable JS to bypass clientside pre-validation, they just
> > post the form directly. Often the server code is not coded in such a way
> to
> > be aware how a post is made (via a legit form, or just by a POST
> request).
> >
> > *Always* consider client-side pre-validation a "nice to have" and really
> > more a UX ("hey, you malformed that phone number, wanna try again?" sort
> of
> > thing) consideration than actual validation. And *always *do validation
> on
> > the server.
> >
> > --
> > Adam
> >
> >
> >
> >
> > On 1 March 2014 07:44, Russ Michaels  wrote:
> >
> > >
> > > although these days if a user has javascript disabled they wont be able
> > to
> > > use the cms at all as it is a requirement for the editor and all the
> > AJAXy
> > > stuff.
> > > but what you can do, is apply filtering to all form fields at a global
> > > level, so any form submission any page will have anything dodgy
> removed.
> > > I believe FuseGuard will do this for you.
>


~|
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:357803
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best practices for xss security in CMS?

2014-02-28 Thread Adam Cameron

That's a bit narrow-sighted.

Hackers don't disable JS to bypass clientside pre-validation, they just
post the form directly. Often the server code is not coded in such a way to
be aware how a post is made (via a legit form, or just by a POST request).

*Always* consider client-side pre-validation a "nice to have" and really
more a UX ("hey, you malformed that phone number, wanna try again?" sort of
thing) consideration than actual validation. And *always *do validation on
the server.

-- 
Adam




On 1 March 2014 07:44, Russ Michaels  wrote:

>
> although these days if a user has javascript disabled they wont be able to
> use the cms at all as it is a requirement for the editor and all the AJAXy
> stuff.
> but what you can do, is apply filtering to all form fields at a global
> level, so any form submission any page will have anything dodgy removed.
> I believe FuseGuard will do this for you.
>
>
> On Fri, Feb 28, 2014 at 6:34 PM, Adam Cameron  wrote:
>
> >
> > Also bear in mind that is only half the work. Whatever "pre-validation"
> or
> > UX tweaks one does on the client, one still needs to do the actual
> > validation on the server too.
> >
> >
> > On 1 March 2014 06:38, Russ Michaels  wrote:
> >
> > >
> > > with any decent editor including CKeditor and tinyMCE, you can specify
> > down
> > > to a granular level which html tags and attributes are allowed/not
> > allowed,
> > > just check the docs and there should be a config file somewhere in your
> > CMS
> > > that instantiates the editor where you can modify these settings.
> > > So it is pretty easy to do as you need.
> > > It is also a good idea to restrict other tags to avoid numpty editors
> > from
> > > just copying and pasting content which screws up the layout.
> > >
> > >
> > >
> > > On Fri, Feb 28, 2014 at 4:29 PM, Dave Watts 
> wrote:
> > >
> > > >
> > > > > I'm very interested in your feedback on best practices when 1)
> trying
> > > to
> > > > > mitigate risk of XSS and other hacks while 2) providing CMS
> > > functionality
> > > > > that includes a web editor that clients use to publish web pages.
> > > > > For example, there are many tags like 

Re: Best practices for xss security in CMS?

2014-02-28 Thread Adam Cameron

Also bear in mind that is only half the work. Whatever "pre-validation" or
UX tweaks one does on the client, one still needs to do the actual
validation on the server too.


On 1 March 2014 06:38, Russ Michaels  wrote:

>
> with any decent editor including CKeditor and tinyMCE, you can specify down
> to a granular level which html tags and attributes are allowed/not allowed,
> just check the docs and there should be a config file somewhere in your CMS
> that instantiates the editor where you can modify these settings.
> So it is pretty easy to do as you need.
> It is also a good idea to restrict other tags to avoid numpty editors from
> just copying and pasting content which screws up the layout.
>
>
>
> On Fri, Feb 28, 2014 at 4:29 PM, Dave Watts  wrote:
>
> >
> > > I'm very interested in your feedback on best practices when 1) trying
> to
> > > mitigate risk of XSS and other hacks while 2) providing CMS
> functionality
> > > that includes a web editor that clients use to publish web pages.
> > > For example, there are many tags like 

Re: array2.equals(array1) how to show difference?

2014-02-28 Thread Adam Cameron

Just a note:   has no bearing
whatsoever on the content of DATA, it only relates to the code within the
file itself, so will not be relevant unless you are populating of of the
arrays via actual code (which you are not, based on what you say here).

-- 
Adam


On 28 February 2014 14:41, morchella  wrote:

>
> ok that may be it.
> i have trinmed and lcased every thing, stripped out the html et.
>
> one array is populated from oracle, the other from mysql.
> weeks ago i had to put 
> in my cfc due to charecters coming in with odd junk.
>
> my reg cf comparison shows my data to be equal.
> just not using the .equals thingy
> i kinda dont trust it now...
>
> Thanks!
> -m
>
>
> On Fri, Feb 28, 2014 at 6:47 AM, Adam Cameron  wrote:
>
> >
> > Bear in minf that when you sue the .equals() method, you are using a
> *Java*
> > method, so it will also be considering differences in type too (eg: Long
> vs
> > Double, etc). Plus casing differences too.
> >
> > To check stuff at a CFML level, write a recursive function which takes
> both
> > arrays, and which loops over the array, either doing a compare() if the
> > value is simple (output both values, and the comparison result), or
> > re-calling itself if it's an array.
> >
> > I'm interested to know what your data is in that you've found a
> > two-dimensional array is the best fit for a data-type. That's pretty rare
> > in business applications (which most CFML apps are, so assuming yours is
> > too).
> >
> > --
> > Adam
> >
> >
> > On 28 February 2014 11:29, Byron Mann  wrote:
> >
> > >
> > > Is it possible there is whitespace appended to some of the array
> values?
> > >
> > > Byron Mann
> > > Lead Engineer & Architect
> > > HostMySite.com
> > > On Feb 27, 2014 7:32 PM, "morchella" 
> > > wrote:
> > >
> > > >
> > > > hey guys i have two, 2 dimensional arrays.
> > > > they have 3 columns.
> > > >
> > > > i have used #array2.equals(array1)# to show when they are difference
> > and
> > > > then
> > > > just continue with normal logic.
> > > >
> > > > but now i have an instance where they say no the don't equal.
> > > > but for the life of me i cant visually see the difference in the
> > query's
> > > >
> > > >
> > > > i am using cf9 locally and 10 on the server.
> > > > how can i force the different record(S) to display.
> > > >
> > > > thanks a bunch, -m
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~|
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:357793
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: array2.equals(array1) how to show difference?

2014-02-28 Thread Adam Cameron

Bear in minf that when you sue the .equals() method, you are using a *Java*
method, so it will also be considering differences in type too (eg: Long vs
Double, etc). Plus casing differences too.

To check stuff at a CFML level, write a recursive function which takes both
arrays, and which loops over the array, either doing a compare() if the
value is simple (output both values, and the comparison result), or
re-calling itself if it's an array.

I'm interested to know what your data is in that you've found a
two-dimensional array is the best fit for a data-type. That's pretty rare
in business applications (which most CFML apps are, so assuming yours is
too).

-- 
Adam


On 28 February 2014 11:29, Byron Mann  wrote:

>
> Is it possible there is whitespace appended to some of the array values?
>
> Byron Mann
> Lead Engineer & Architect
> HostMySite.com
> On Feb 27, 2014 7:32 PM, "morchella" 
> wrote:
>
> >
> > hey guys i have two, 2 dimensional arrays.
> > they have 3 columns.
> >
> > i have used #array2.equals(array1)# to show when they are difference and
> > then
> > just continue with normal logic.
> >
> > but now i have an instance where they say no the don't equal.
> > but for the life of me i cant visually see the difference in the query's
> >
> >
> > i am using cf9 locally and 10 on the server.
> > how can i force the different record(S) to display.
> >
> > thanks a bunch, -m
> >
> >
> >
>
> 

~|
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:357788
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: # in variables

2014-02-07 Thread Adam Cameron

On 7 February 2014 18:07, Jon Clausen  wrote:

>
> Bryan,
>
> For clarification, how are the comments content being evaluated by CF and
> causing it to choke?  It seems to me that those should be handled as
> strings and that they wouldn't be evaluated by CF, unless they are wrapped
> in an eval().
>

Seconded. I think people are suggesting treating a symptom here, rather
than the problem.

How is this problem of yours manifesting itself? "CF chokes on the single
pound in the variable" is not a very clear description of what's going
wrong.

Can you pls clarify?

-- 
Adam


~|
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:357624
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Help me with some statistics gathering, if you have a moment

2014-01-02 Thread Adam Cameron

G'day:
i'm just gathering some information about people's opinions of some mooted
CFML syntax. If you could complete this survey (one multi-choice, one
optional comment), that'd be really cool:
http://cfmlblog.adamcameron.me/2014/01/a-quick-survey-about-tags-script-in.html

Cheers.

-- 
Adam


~|
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:357386
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-12-19 Thread Adam Cameron

>I am trying to set up some local mappings (CF9) and it doiesn't seem to
>recognize it.  I have this as part of several variables that are set before
>the 1st function in my application.cfc...
>
>

What ended up happening with this?

-- 
Adam 

~|
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:357366
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: TEST IGNORE (2)

2013-12-04 Thread Adam Cameron

>
> Unless Google Groups can send email and can act exactly like a mailing
> list, please don't move it there.
>

Yeah it can. And a lot better than this implementation does.

-- 
Adam


~|
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:357267
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: TEST IGNORE (2)

2013-12-04 Thread Adam Cameron

>
> Would be easier to switch to google groups maybe
>

Seconded.

-- 
Adam


~|
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:357266
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: isValid - numeric vs. float

2013-12-03 Thread Adam Cameron

It's a bug. There's no reason "1,000.00" should validate as a numeric value
of any kind; and "float" is a subset of numeric.

Railo returns false for both. As does OpenBD.

-- 
Adam




On 3 December 2013 22:05, Scott Brady  wrote:

>
> The docs for isValid() imply that the type "numeric" and "float" are
> equivalent, in that they're listed together.  However, they can yield
> different results:
> isValid("numeric","1,000.00") returns false
> isValid("float","1,000.00") returns true
>
> This came up as we're dealing with an issue of users entering "1,000.00"
> [or something similar] into a field, which can cause problems in one area
> of code where we need that value to be a valid number (i.e., we want to use
> it in a calculation, which results in an error).  We can use
> lsParseNumber(0 around the value, but first we need to make sure it's a
> valid number anyway. So, we're somewhat forced into using
> isValid("float",) which is fine.
>
> But, is this a bug with the actual isValid() function or is it more of a
> documentation error (i.e., behind the scenes, "float" and "numeric" are
> different and "1,000.00" is not a valid numeric but is a valid float)?
>
> Scott
>
> --
> -
> Scott Brady
> http://www.scottbrady.net/
>
>
> 

~|
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:357257
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-27 Thread Adam Cameron

>
> So Eric, unless you have modified some tomcat settings or IIS or Apache
> settings, then what you are saying is not true.
>
>
That is, basically, the bottom line. It could be either of those, but we
can't move the answer forward unless we identify which.

If it *is* actually behaving the way you claim, then there is something
about your config you have not told us, Eric, because CF - out of the box -
simply does not work the way you're suggesting. That's the long and the
short of it.

Can you post full config details of your server somewhere, Eric? Was it you
who installed it? Did you do _anything_ other than install apache, install
CF, run the connector between the two? Anything at all. Do not think that
anything is inconsequential or irrelevant.

-- 
Adam


~|
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:357215
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: TEST IGNORE (2)

2013-11-27 Thread Adam Cameron

I've been monitoring it for over a year, and have been a member for
about... perhaps not ten years (because I doubt it's been around that long,
but "for ages"). I have just seldom had need to reply, and had not noticed
what few replies I had made had disappeared into the ether.

But I seem to have fixed the disconnect between my email address and what
HoF thought my email address was (PEBCAK on my part).

That said, yesterday's performance put me off a bit.

-- 
Adam



On 27 November 2013 10:37, Russ Michaels  wrote:

>
> I see you have given in to the dark side and joined the evil cf-talk :-)
>
>
> On Wed, Nov 27, 2013 at 10:23 AM, Adam Cameron  wrote:
>
> >
> > (second attempt)
> > Having trouble posting via email.
> >
> > --
> > Adam
> >
> >
> >
>
> 

~|
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:357211
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


TEST IGNORE (2)

2013-11-27 Thread Adam Cameron

(second attempt)
Having trouble posting via email.

-- 
Adam


~|
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:357209
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


TEST IGNORE

2013-11-27 Thread Adam Cameron

Having trouble posting via email.

-- 
Adam


~|
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:357208
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

It just occurs to me... do you have mod_rewrite running, and do you have any 
rewrite rules in play?

-- 
Adam 

~|
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:357200
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>when i do that...the image is "broken".  If I add the per app setting it is
>broken.  if I add the mapping in cf admin it works...

And did you go an TEST THAT just now, or are you running from memory or 
describing what you recall from past experience?

-- 
Adam 

~|
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:357198
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>Then why does it work when i set up the mapping in cfadmin?  No one seems
>to want to answer that...

I suspect it's because you're mistaken about that too.

Do you perform those steps I asked you to? I mean again, now, this evening, 
after I asked you to. And after you said "I don't have to because I've done it 
before".

Just... pls... do it again. Following my steps, with no other steps at all.

And then what do you see?

-- 
Adam 

~|
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:357194
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

That's a good explanation / demonstration Matt.

-- 
Adam

>No, it doesn't. You're flat out wrong. CF does not, has not, and never will
>parse HTML.
>
>It only looks for CFML code to parse, and handles it accordingly.
>
>Ex.
>
>  
>
>  
>
>
>
>  
>
>  
>
>

~|
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:357184
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>it parses html in a cfm file...it parses it to see if there are any cf
>elements in it that it needs to render...like variables and mappings...

No it doesn't. CF only parses the CFML part of any file. It completely ignores 
anything else. This is easy to see if you decompile the compiled class file... 
you'll see all the plain text stuff (ie: everything that's not CFML) simply 
being echoed back, untouched.

Eric, you need to accept you're mistaken here. Why do you think we (all) would 
be suggesting you are if you're not? There's no conspiracy here. We just 
actually know what we're talking about. Seriously.

-- 
Adam 

~|
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:357183
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>Adam...as i stated several times...when I do the cf mapping in cf
>admin...it works just fine...so I have already done your experiment...

Please... do it again, and perform only the steps I listed.

Then you will see you're mistaken, and we can move on.

-- 
Adam 

~|
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:357182
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>Matt...where did I say I was executing a non-cfm file?

When you said this:

> For instance...when I try to access an image in a directory (the path from
> the root is /cup/images/image.png), I call  />,

Say you have this in your eric.cfm file:


#msg#


CF does not know that you want it to do something special with 
"/cup/images/image.png", because that's just text. So what CF will send back to 
the web server is just this:

Hi Eric


And the web server will send that to the client browser. And the client browser 
will render the mark-up, and it will also go looking for an image @ 
/cup/images/image.png. It will reuse the same domain name that the rest of the 
file came from, if you don't specify it, so it'll go fetch 
http://yourdomain.com/cup/images/image.png or something.

The request for the image is a completely separate request from the original 
request to eric.cfm. CF has finished its job as far as any of this goes.

The web server receives the request, resolves /cup/images/image.png relative to 
its base directory (eg: /var/htdocs), or if it has a virtual directory set up 
for eg /cup pointing to another dir, then it will fetch the file from there 
instead. And send it back to the browser. The browser then renders the image. 
As I mentioned above, CF plays no part in this request. So it doesn't matter 
what your CF mappings say.

The only way that CF can possibly know about /cup/images/image.png (so as to 
maybe remap /cup to be /er/cup) is if you have configured your WEB SERVER to 
pass png requests to CF as well. According to John's research, then CF will 
resolve a mapping.  I dunno whether it'll process ones in Application.cfc, but 
the Application.cfc would need to be somewhere on the /er/cup/images path for 
it to be picked up. If indeed it was picked up at all.

But the fact remains that the original CF request will do nothing to the URL in 
the image tag, and the web server won't either.

-- 
Adam 

~|
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:357181
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

> OK,
> 
> Just ran a test and I canÂ’t duplicate your server mapping 
> functionality with a standard Apache/CF Connector server setup but I 
> *can* duplicate that functionality when I tell Apache to serve an 
> image MIME type (e.g. - .jpg, .png) through Coldfusion.  Is this how 
> your setup is configured?  If so, yowsers on a few levelsÂ…. 

Oh god no.

That could well be it though. If it is, sorry Eric... that's - generally - such 
a terrible approach to take it did not even occur to me that it might be the 
case!

But, please, tell me that's not the way you've got your site configured?

-- 
Adam

~|
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:357166
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>again...if it works with a cf mapping in cf admin...how is it not parsing
>the img tag?

There are two possibilities here:
1) you have a very special unique version of CF in which a CF mapping setting 
in CFAdmin will magically change a URL in an image tag.
2) you're mistaken.

Those are the only two options.

If you have the unique magic version of CF... I'm afraid I'm not able to help 
you (and I suspect no-one else will be either).

However if it's just a case of you being mistaken, you could simply follow the 
advice already given here.

I have nothing to add to the advice, so I guess it's down to you at some stage 
deciding to follow it.

I'm done.

-- 
Adam 

~|
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:357161
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>no...it's not the standalone server.  It's going through Apache.  This is
>exactly what mappings are used for...

No they're not.

> just as they are used the same way if
>you specify this in Apache.  If it works when i set up up in cf
>admin...then the per application setting should work the same way but only
>be defined as such in the application.That is how it has always worked.

Perform this experiment now.

1) remove your Application.cfc mappings;
2) put the same mapping in CFAdmin;
3) do NOTHING ELSE;
4) browse to the page concerned.

You will not see any difference.

You might coincidentally have had an unnecessary CF mapping at some point when 
you ALSO had the appropriate web server virtual directory, but... deep 
breath... CF mappings have nothing to do with URLs.

John reminds me that if one sets up a mapping in jrun-web.xml then those work 
as both CF mappings (kinda) and JWS mappings at the same time, but that's not 
relevant here. But that is the only situation where a CF mapping have even the 
most passing connection to web server mappings.

-- 
Adam 

~|
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:357159
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>Yes...cf does evaluate the img tag...

No. It absolutely does not. You are mistaken.

I'm not vaguely speculating as to what your problem might be: I know what your 
problem is, and I know how it is you're mistaken about things. It's a fairly 
common misconception people have. And both John and I are explaining the 
problem, and giving you the answer. The other problem we're now faced with is 
you're simply not listening for some reason.

-- 
Adam 

~|
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:357157
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>I know that...I was referring to what is rendered after the fact.When i
>click on image information, the image info should display the url with /er/
>in it...not the other as that is part of the path from the root.

NO, you don't quite seem to get it actually. When I said CF has got nothing to 
do with it... it serious has NOTHING to do with it.

You have this IMG tag:


As far as CF is concerned that's all just text, it doesn't process it at all. 
Like I said, CF mappings are only for CF to find files in its own file system. 
It's got *nothing* (NOTHING) to do with URLs. That being the case, there is 
going to be no magic transformation of  to 
 simply because you have a *ColdFusion* 
mapping set up.

If you want to send the URL /er/cup/images/image.png down to the browser (where 
"er" is a value stored in application.cuproot, then you need to code for that, 
eg:



You have to understand that CF (and CFML) have no knowledge of the concept of 
HTML or client browsers or anything like that, All CF does is accept a request 
for a file from the web server, assembles some data to send back via processing 
some CFML (kinda), and that's it. It has no idea you want your image tags to 
have different URLs from the ones you tell it... it just does what it's told.

It really would help if you read that doc I linked to before.

-- 
Adam 

~|
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:357154
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-11-26 Thread Adam Cameron

>I am trying to set up some local mappings (CF9) and it doiesn't seem to
>recognize it.  I have this as part of several variables that are set before
>the 1st function in my application.cfc...
>
>
>
>
>
>For instance...when I try to access an image in a directory (the path from
>the root is /cup/images/image.png), I call />, instead of mapping it like i would expect it to, it just appends the
>server url and i get something like

ColdFusion mappings are used by the ColdFusion server to locate files in the 
file system, for like  and CFC pathing. They've got nothing to do 
with URLs.  You want to be setting up a web server virtual directory, so when 
the browser requests a file on a given URL, the web server knows where to find 
them.

Reading this - to understand how CF / web server / client interact - might 
help: 
http://cfmlblog.adamcameron.me/2012/10/the-coldfusion-requestresponse-process.html

-- 
Adam 

~|
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:357149
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: New CF hack...

2013-04-17 Thread Adam Cameron

Agreed: not new. But good to have on everyone's radar especially as there's
clearly people who weren't aware of it.

-- 
Adam

On 18 April 2013 06:53, Russ Michaels  wrote:

>
> old news, already patched
>
>
> On Wed, Apr 17, 2013 at 7:48 PM, Che Vilnonis  wrote:
>
> >
> >
> >
> http://arstechnica.com/security/2013/04/coldfusion-hack-used-to-steal-hostin
> > g-providers-customer-data/
> >
> >
> > Thought I'd pass this on... Che
> >
> >
> >
> >
> >
>
> 

~|
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:355470
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ATTENTION Adobe! Multiple Broken CF-Related Links on Adobe.com!

2013-04-15 Thread Adam Cameron

Someone else had problems with the download links on one browser but not
another browser y/day (err... say about 18h ago), so I think there probably
*is* an issue of some description.

I found putting a message on Twitter got it sorted out last time (attn
@rakshithn).

The CF subsite *has* been flaky recently.

-- 
Adam

On 16 April 2013 08:51, Raymond Camden  wrote:

>
> Heh, well, I've got _no_ idea who to ping about web site issues.
>
> I can say the links work for me though.
>
>
> On Mon, Apr 15, 2013 at 3:49 PM, Adam Cameron <
> adamcameroncoldfus...@gmail.com> wrote:
>
> >
> > Says probably the most well-known CF-centric Adobe employee...
> >
> > ;-)
> >
> > On 16 April 2013 05:59, Raymond Camden  wrote:
> >
> > >
> > > Adobe does *not* monitor this list.
> > >
> > >
> > > On Mon, Apr 15, 2013 at 11:29 AM, Christian N. Abad <
> > > li...@accessiblecomputing.com> wrote:
> > >
> > > >
> > > > Adobe Folks:
> > > >
> > > > There are multiple broken links on the Adobe.com Website for
> > > > ColdFusion-related Downloads.  For instance, I am unable to download
> CF
> > > 10
> > > > (any version, using any link) or ColdFusion Builder 2 (using any
> link).
> > > >
> > > > Here are some of the broken links:
> > > >
> > > > http://www.adobe.com/go/trycoldfusion
> > > > http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion
> > > >
> > > > http://www.adobe.com/go/trycoldfusionbuilder
> > > >
> http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion_builder
> > > >
> > > > http://www.adobe.com/sitemap/
> > > >
> > > > C’mon Adobe!  This is disastrous! EPIC FAIL!  ☹
> > > >
> > > > Sincerely,
> > > >
> > > > Christian N. Abad - President
> > > >
> > >
> >
> >
> >
>
> 

~|
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:355414
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ATTENTION Adobe! Multiple Broken CF-Related Links on Adobe.com!

2013-04-15 Thread Adam Cameron

Says probably the most well-known CF-centric Adobe employee...

;-)

On 16 April 2013 05:59, Raymond Camden  wrote:

>
> Adobe does *not* monitor this list.
>
>
> On Mon, Apr 15, 2013 at 11:29 AM, Christian N. Abad <
> li...@accessiblecomputing.com> wrote:
>
> >
> > Adobe Folks:
> >
> > There are multiple broken links on the Adobe.com Website for
> > ColdFusion-related Downloads.  For instance, I am unable to download CF
> 10
> > (any version, using any link) or ColdFusion Builder 2 (using any link).
> >
> > Here are some of the broken links:
> >
> > http://www.adobe.com/go/trycoldfusion
> > http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion
> >
> > http://www.adobe.com/go/trycoldfusionbuilder
> > http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion_builder
> >
> > http://www.adobe.com/sitemap/
> >
> > C’mon Adobe!  This is disastrous! EPIC FAIL!  ☹
> >
> > Sincerely,
> >
> > Christian N. Abad - President
> >
>


~|
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:355412
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-09 Thread Adam Cameron

On 9 April 2013 20:00, John M Bliss  wrote:

>
> Thanks to good phone support from cfins...@adobe.com people at zero dark
> thirty my time, got this (apparently) fixed:
>
> - reinstalled CF10 with built-in webserver only
> - used CF8 web connector app to remove the CF8 web connector
> - used CF10 web connector app to add the CF10 web connector
> - downloaded and installed CF10 mandatory update and then cumulative update
> 8
> - used CF10 web connector app to remove and re-add the CF10 web connector
>
> Thanks again for all of your advice.
>

Nice one.

Using the CF8 web connector to remove the old connections isn't something
I'd've ever guessed!

-- 
Adam


~|
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:355311
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Builder standalone vs. plugin

2013-04-08 Thread Adam Cameron

On 9 April 2013 10:22, Michael Dinowitz  wrote:

>
> Is there any real operational differences between the two different
> implementations of CF Builder?
>


Coincidentally I started looking into this yesterday, and completed it
today. I've blogged my findings:
http://adamcameroncoldfusion.blogspot.co.uk/2013/04/coldfusion-builder-on-64-bit-is-really.html

Not a comprehensive answer to your question, but perhaps enough to migrate.

-- 
Adam


~|
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:355307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Using this one:
https://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion and logging
in with one's Adobe login seems to work.


On 5 April 2013 08:41, Adam Cameron  wrote:

> I have rattled Adobe's cage. Just via Twitter, but it's a start... I'm
> trying to track down a human who might be able to help.
>
> On 5 April 2013 08:07, John M Bliss  wrote:
>
>>
>> > I'd suggest getting the latest installer from Adobe. Make sure you get
>> 32-bit version if that's what you're on. They have been rebuilt to update
>> 7
>> so you only need, currently, to take update 8 after install.
>>
>> I would except, AFAIK, that involves going to
>> http://www.adobe.com/products/coldfusion-family.html and clicking on
>> "Try."
>> Currently, that produces a 404. Alternatives?
>>
>
>


~|
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:355276
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

I have rattled Adobe's cage. Just via Twitter, but it's a start... I'm
trying to track down a human who might be able to help.

On 5 April 2013 08:07, John M Bliss  wrote:

>
> > I'd suggest getting the latest installer from Adobe. Make sure you get
> 32-bit version if that's what you're on. They have been rebuilt to update 7
> so you only need, currently, to take update 8 after install.
>
> I would except, AFAIK, that involves going to
> http://www.adobe.com/products/coldfusion-family.html and clicking on
> "Try."
> Currently, that produces a 404. Alternatives?
>


~|
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:355274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

On 5 April 2013 00:17, Richard Herbert  wrote:

>
> I was always taught to install CF with the in-built web server initially
> and then use wsconfig once everything is proven to be working. Then connect
> to your web server of choice (Apache/IIS/etc).
>

Good suggestion. Esp if things ain't going according to plan.

-- 
Adam


~|
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:355271
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Oh hell... was this a live server? Well *supposed to be live* I should say?



On 4 April 2013 23:30, John M Bliss  wrote:

>
> Thanks. I managed to revert to ACF8...after 2 hours of downtime!  :-(
>
> Seriously, thanks for your help, Adam.
>
>
> On Thu, Apr 4, 2013 at 5:29 AM, Adam Cameron <
> adamcameroncoldfus...@gmail.com> wrote:
>
> >
> > Actually... get Adobe to sort it out!
> >
> >
> >
> http://blogs.coldfusion.com/post.cfm/free-coldfusion-installation-support-from-adobe
> >
> > It's worth initiating a support ticket with them, anyhow.
>


~|
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:355263
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Actually... get Adobe to sort it out!

http://blogs.coldfusion.com/post.cfm/free-coldfusion-installation-support-from-adobe

It's worth initiating a support ticket with them, anyhow.

-- 
Adam


On 4 April 2013 23:15, John M Bliss  wrote:

>
> > So you don't even get that last installation step of browsing to
> CFAdmin and doing the "configuration" step?
>
> No.
>
> > What OS / bitness / type of install are you doing?
>
> Windows Server 2003 / 32 bit / ACF Standard.
>
> > CF creates an install log, yeah? Anything in that?
>
> Nothing significant.
>
> At this point, I'm willing to paypal someone to remote in to help me. Let's
> say $100? Any takers?
>


~|
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:355261
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

So you don't even get that last installation step of browsing to CFAdmin
and doing the "configuration" step?

What OS / bitness / type of install are you doing?

CF creates an install log, yeah? Anything in that?

I'm short of ideas.

-- 
Adam


On 4 April 2013 22:39, John M Bliss  wrote:

>
> After uninstalling and reinstalling, CF admin still does not come up. Any
> further suggestions?
>
>
> On Thu, Apr 4, 2013 at 4:26 AM, Adam Cameron <
> adamcameroncoldfus...@gmail.com> wrote:
>
> >
> > Well let's see if we get anywhere first ;-)
> >
> > That said... 10:30pm, and I'm gonna stop working in a few min. But I'll
> > probably be online for a bit and keeping an eye on me email...
> >
> > On 4 April 2013 22:21, John M Bliss  wrote:
> >
> > >
> > > It's significantly better than nothing.
> > >
> > >
> > > On Thu, Apr 4, 2013 at 4:19 AM, Adam Cameron <
> > > adamcameroncoldfus...@gmail.com> wrote:
> > >
> > > >
> > > > Can't say for sure but doubt it. I think you're actually *allowed* to
> > > have
> > > > dev servers with same serial numbers as live ones these days anyhow?
> > > (don't
> > > > quote me on that).
> > > >
> > > > I don't have any specialist knowledge of "problems cropping up when
> > > > upgrading to CF10", these are just the things I'd be doing if this
> > > happened
> > > > to me. So it's fairly random advice.
> > >
> >
> >
> >
>
> 

~|
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:355259
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Well let's see if we get anywhere first ;-)

That said... 10:30pm, and I'm gonna stop working in a few min. But I'll
probably be online for a bit and keeping an eye on me email...

On 4 April 2013 22:21, John M Bliss  wrote:

>
> It's significantly better than nothing.
>
>
> On Thu, Apr 4, 2013 at 4:19 AM, Adam Cameron <
> adamcameroncoldfus...@gmail.com> wrote:
>
> >
> > Can't say for sure but doubt it. I think you're actually *allowed* to
> have
> > dev servers with same serial numbers as live ones these days anyhow?
> (don't
> > quote me on that).
> >
> > I don't have any specialist knowledge of "problems cropping up when
> > upgrading to CF10", these are just the things I'd be doing if this
> happened
> > to me. So it's fairly random advice.
>


~|
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:355255
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Oh yeah. DUH.

Um... you *might* be able to get away with copying the XML files in the
cfusion/lib dir... the neo-whatever files. However I've never tried this.

That said though... once you've reinstalled, back up the vanilla versions
of any files from the current install you put back in place, in case it's
one of the config files which is causing your problems.

Is the CF server you're upgrading FROM still around? You can export the
settings from that, perhaps?




On 4 April 2013 22:18, John M Bliss  wrote:

>
> Oh, I can't use archive thingey in CFAdmin because I cannot access CFAdmin,
> right?
>


~|
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:355254
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Can't say for sure but doubt it. I think you're actually *allowed* to have
dev servers with same serial numbers as live ones these days anyhow? (don't
quote me on that).

I don't have any specialist knowledge of "problems cropping up when
upgrading to CF10", these are just the things I'd be doing if this happened
to me. So it's fairly random advice.

-- 
Adam


On 4 April 2013 22:17, John M Bliss  wrote:

>
> > Had you fully patched-up the thing before it face-planted?
>
> Yes.
>
> > How recently did you download the installer?
>
> I used the one from the physical media shipped my Adobe. Guess I'll fetch
> the new one before reinstalling.
>
> Serial # is probably not the issue at this point?
>
>
> On Thu, Apr 4, 2013 at 4:14 AM, Adam Cameron <
> adamcameroncoldfus...@gmail.com> wrote:
>
> >
> > Yep, use the archive thingey in CFAdmin to save all your settings before
> > deinstalling, then reload them afterwards.
> >
> > At this point, I think a quick de-/re-install might be the best / most
> > expedient first course of action. It might just "go away". Not very
> > fulfilling from a "what they hell caused it?" perspective, but even if
> you
> > found out... it would perhaps not be very reusable knowledge.
> >
> > Had you fully patched-up the thing before it face-planted?
> >
> > How recently did you download the installer? It was updated a few weeks
> > back, so make sure you have the most up to date one.
> >
> > --
> > Adam
> >
> >
> >
> > On 4 April 2013 22:10, John M Bliss  wrote:
> >
> > >
> > > Can/should I do an uninstall/reinstall without losing all of my
> settings?
> > >
> > >
> > > On Thu, Apr 4, 2013 at 4:08 AM, John M Bliss 
> > wrote:
> > >
> > > > Prior to this install on production, I installed on our
> > > > private/internal/staging/shadow server using the same serial #.
> Should
> > > that
> > > > be OK? Could this be Adobe doing a bad job of serial # validation or
> > > > something? (But it worked for a while post-upgrade.)
> > > >
> > > >
> > > > On Thu, Apr 4, 2013 at 4:04 AM, John M Bliss 
> > > wrote:
> > > >
> > > >> Plenty...but nothing obviously out of the ordinary.
> > > >>
> > > >>
> > > >> On Thu, Apr 4, 2013 at 3:55 AM, Adam Cameron <
> > > >> adamcameroncoldfus...@gmail.com> wrote:
> > > >>
> > > >>>
> > > >>> Anything being logged?
> > > >>>
> > > >>> On 4 April 2013 21:47, John M Bliss  wrote:
> > > >>>
> > > >>> >
> > > >>> > I just upgraded to ACF10 and everything was working fine...then I
> > had
> > > >>> to
> > > >>> > restart the service and now when I call any page, including the
> > > >>> > administrator, browser just hangs. I've tried rebooting the
> server.
> > > No
> > > >>> > luck. Any suggestions?
> > > >>> >
> > > >>> > (The service says it's running.)
> > > >>> >
> > > >>> >
> > > >>>
> > > >>>
> > > >>>
> > >
> > >
> >
> >
>
> 

~|
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:355252
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Yep, use the archive thingey in CFAdmin to save all your settings before
deinstalling, then reload them afterwards.

At this point, I think a quick de-/re-install might be the best / most
expedient first course of action. It might just "go away". Not very
fulfilling from a "what they hell caused it?" perspective, but even if you
found out... it would perhaps not be very reusable knowledge.

Had you fully patched-up the thing before it face-planted?

How recently did you download the installer? It was updated a few weeks
back, so make sure you have the most up to date one.

-- 
Adam



On 4 April 2013 22:10, John M Bliss  wrote:

>
> Can/should I do an uninstall/reinstall without losing all of my settings?
>
>
> On Thu, Apr 4, 2013 at 4:08 AM, John M Bliss  wrote:
>
> > Prior to this install on production, I installed on our
> > private/internal/staging/shadow server using the same serial #. Should
> that
> > be OK? Could this be Adobe doing a bad job of serial # validation or
> > something? (But it worked for a while post-upgrade.)
> >
> >
> > On Thu, Apr 4, 2013 at 4:04 AM, John M Bliss 
> wrote:
> >
> >> Plenty...but nothing obviously out of the ordinary.
> >>
> >>
> >> On Thu, Apr 4, 2013 at 3:55 AM, Adam Cameron <
> >> adamcameroncoldfus...@gmail.com> wrote:
> >>
> >>>
> >>> Anything being logged?
> >>>
> >>> On 4 April 2013 21:47, John M Bliss  wrote:
> >>>
> >>> >
> >>> > I just upgraded to ACF10 and everything was working fine...then I had
> >>> to
> >>> > restart the service and now when I call any page, including the
> >>> > administrator, browser just hangs. I've tried rebooting the server.
> No
> >>> > luck. Any suggestions?
> >>> >
> >>> > (The service says it's running.)
> >>> >
> >>> >
> >>>
> >>>
> >>>
>
> 

~|
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:355249
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ACF10 Upgrade

2013-04-04 Thread Adam Cameron

Anything being logged?

On 4 April 2013 21:47, John M Bliss  wrote:

>
> I just upgraded to ACF10 and everything was working fine...then I had to
> restart the service and now when I call any page, including the
> administrator, browser just hangs. I've tried rebooting the server. No
> luck. Any suggestions?
>
> (The service says it's running.)
>
>


~|
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:355245
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-04 Thread Adam Cameron

Correct. GMT is GMT, and always matches UTC. During daylight saving the TZ
in the UK is BST (UTC+1).

-- 
Adam



On 4 April 2013 19:31, Mike K  wrote:

>
> I might be wrong ( i sometimes have been known to be wrong, but not very
> often) but I thought GMT didnt have daylight savings.   I thought GMT was
> the same all year round, and it was the timezone at London that changed
> daylight savings.
>


~|
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:355243
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Adam Cameron

Just verified it's reporting GMT time correctly for me on 1.7.

-- 
Adam

On 3 April 2013 07:23, Richard White  wrote:

>
> It could well be a bug in 1.7 although I thought others may have reporting
> this too yet haven't seen anything.
>
>


~|
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:355232
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Memory Leak in CF10?

2013-03-26 Thread Adam Cameron

It's the other way around. Windows will take whatever it decides it needs,
irrespective of anything else. Other settings need to fit around that.

So you basically need to say "whatever RAM I've got... 1GB (personally I
would have maybe gone for 1.5GB) of that is lost to Windows. I can do
something with the rest". So from there you can tell your JVM that it can
use 3GB (or 2.5GB) safely for its heap.

That said, I am hesitant to just give *all of it* over to the heap. You
should tune your heap to be the right size. There *is* overhead in locating
stuff in the heap, plus the bigger it is the longer GC takes, so there's a
bit of a balancing act there. You should try to allocate "the right amount"
not necessarily just "everything you can throw at it".

You will probably want to do some profiling to see how much Perm Gen space
you are best to allocate too. Although that's a bit of a dark art (and one
that I have not practised for years), so someone else is best to give you
guidance there. Or google google google... every man and his dog will have
different opinions on what one should do. Be warned though, because the way
CF deals with its class files - a CF application consists of really a lot
of them compared to a standard java app - make sure to look for
specifically *CF* JVM tuning guidance. Not just standard tuning for a Java
app.

-- 
Adam


On 27 March 2013 13:28, Mik Muller  wrote:

>
> So all I need to do is increase the heap?  There's no magic "Windows,
> you get 1gig, CF you get 3gig" configurator, correct?  Windows will use
> whatever is left over after CF stakes its claim?
>
> Sorry for my ignorance. I'm just a simple scripter. I don't know too much
> about server memory, etc, except what I picked up along the road.
>
> Thanks,
>
> MM
>
>
>
> At 05:29 PM 3/26/2013, Russ Michaels wrote:
>
> >having 4GB of RAM is no good if your only going to allow CF to use 256mb
> of
> >it. Reserve 1GB for Windows and DNS services and whack it up to 3GB.
> >Your memory usage is obviously going to be higher than before because your
> >using 64bit now and were using 32bit before. This results in at least 1.5x
> >more memory used, so you cannot use the same settings you had before. Have
> >you taken note of how much memory CF was actually using on CF9 ?
> >
> >The Max heap size only applies to the heap, there is other memory usage on
> >top of this, Apache itself plus permgen etc.
> >
> >You can use the built in server monitor to see what parts of your app are
> >using what memory.
> >
> >
> >
> >
> >On Tue, Mar 26, 2013 at 7:41 PM, Mik Muller  wrote:
> >
> >>
> >> Well, after restarting CF I saw the memory usage in Services shoot
> >> straight up to 750mb instead of first hovering around 650mb for a while
> and
> >> then slowly moving up to 750mb.
> >>
> >> So I set the max heap size down to 256 and restarted CF. Now it's
> hovering
> >> around 400mb and not moving much.
> >>
> >> The server has 4gb of ram, btw.
> >>
> >> Should I add more ram to the machine? I'm only running CF10 and DNS on
> >> this cloud server (DB and mail are on a separate box), which is set up
> with
> >> three processors. I would have thought 4gb would be enough.
> >>
> >> MM
> >>
> >>
> >> At 03:24 PM 3/26/2013, Mik Muller wrote:
> >>
> >> >Was on 32 bit CF9 (Sorry, did I say CF8? I was on CF9 -- how did I miss
> >> that?)
> >> >
> >> >Am on 64 bit CF10
> >> >
> >> >The old server had max heap set to 1024.
> >> >
> >> >The new had it set to 512. I just bumped it up to 1024.
> >> >
> >> >MM
> >> >
> >> >
> >> >At 02:06 PM 3/26/2013, Dave Watts wrote:
> >> >
> >> >>> I moved all my code from a Win2003S/CF8 box to a Win2008S/CF10 box
> and
> >> now am having issues where CF loads blank
> >> >>> pages after a few hours of uptime.  I'm noticing that the
> >> coldfusion.exe service starts around 500mb of memory, and slowly
> >> >>> moves up to about 780mb of memory. As it tops 700mb it begins
> loading
> >> blank pages which can be reloaded for intended
> >> >>> content. Once it hit 770mb it loads ONLY blank pages, and the
> service
> >> can no longer be restarted. It must be killed by Task
> >> >>> Manager.
> >> >>
> >> >>Were you using the 32-bit or 64-bit version of CF 8?
> >> >>
> >> >>Are you using the 32-bit or 64-bit version of CF 10?
> >> >>
> >> >>What is the maximum heap size allocated to CF 10?
> >> >>
> >> >>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 onsite.
> >> >>
> >> >>
> >>
> >>
> >
> >
>
> 

~|
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:355165
Sub

Re: Memory Leak in CF10?

2013-03-26 Thread Adam Cameron

OK, well that's OK... even 500MB ain't a huge amount of RAM for CF to be
using (as the other guys alluded to).

Keep an eye on your GC and perhaps have a shufti around in memory to see if
there's any actual clutter in there you don't expect (a lot of stray
sessions etc), but on the whole if requests are being served in a timely
fashion, it's simply OK for CF to be using memory.

-- 
Adam

On 27 March 2013 10:05, Mik Muller  wrote:

>
> Yup. An hour later and it's still bouncing between 450mb and 460mb with an
> occasional spikes up to 500mb.
>
> It is a little slower, however, but it's up. I'll take that for now until
> I figure out the larger problem.
>
> Thanks to Dave Watts for mentioning the heap. I recall that I had to tweak
> that back a few years ago.
>
> MM
>
>
> At 05:00 PM 3/26/2013, Adam Cameron wrote:
>
> >And is it still serving pages OK? I don't think the memory consumption in
> >and of itself is a problem.
> >
> >--
> >Adam
> >
> >On 27 March 2013 09:01, Mik Muller  wrote:
> >
> >>
> >> 20 minutes later and coldfusion.exe's memory usage is bouncing between
> >> 460mb and 470mb.
> >>
> >> Ugh.
> >>
> >> MM
> >>
>


~|
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:355163
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Memory Leak in CF10?

2013-03-26 Thread Adam Cameron

And is it still serving pages OK? I don't think the memory consumption in
and of itself is a problem.

-- 
Adam

On 27 March 2013 09:01, Mik Muller  wrote:

>
> 20 minutes later and coldfusion.exe's memory usage is bouncing between
> 460mb and 470mb.
>
> Ugh.
>
> MM
>
>
> At 03:41 PM 3/26/2013, Mik Muller wrote:
>
> >Well, after restarting CF I saw the memory usage in Services shoot
> straight up to 750mb instead of first hovering around 650mb for a while and
> then slowly moving up to 750mb.
> >
> >So I set the max heap size down to 256 and restarted CF. Now it's
> hovering around 400mb and not moving much.
> >
> >The server has 4gb of ram, btw.
> >
> >Should I add more ram to the machine? I'm only running CF10 and DNS on
> this cloud server (DB and mail are on a separate box), which is set up with
> three processors. I would have thought 4gb would be enough.
> >
> >MM
> >
> >
> >At 03:24 PM 3/26/2013, Mik Muller wrote:
> >
> >>Was on 32 bit CF9 (Sorry, did I say CF8? I was on CF9 -- how did I miss
> that?)
> >>
> >>Am on 64 bit CF10
> >>
> >>The old server had max heap set to 1024.
> >>
> >>The new had it set to 512. I just bumped it up to 1024.
> >>
> >>MM
> >>
> >>
> >>At 02:06 PM 3/26/2013, Dave Watts wrote:
> >>
>  I moved all my code from a Win2003S/CF8 box to a Win2008S/CF10 box
> and now am having issues where CF loads blank
>  pages after a few hours of uptime.  I'm noticing that the
> coldfusion.exe service starts around 500mb of memory, and slowly
>  moves up to about 780mb of memory. As it tops 700mb it begins loading
> blank pages which can be reloaded for intended
>  content. Once it hit 770mb it loads ONLY blank pages, and the service
> can no longer be restarted. It must be killed by Task
>  Manager.
> >>>
> >>>Were you using the 32-bit or 64-bit version of CF 8?
> >>>
> >>>Are you using the 32-bit or 64-bit version of CF 10?
> >>>
> >>>What is the maximum heap size allocated to CF 10?
> >>>
> >>>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 onsite.
> >>>
> >>>
>
> 

~|
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:355157
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Attn Railo users...

2013-03-25 Thread Adam Cameron

G'day
I've concocted a quick survey, which simply asks how you came to be a Railo 
developer, IE: whether they have come from a history of using ColdFusion or 
BlueDragon, or straight to Railo having not used any other CFML engine.
 
More info here: 
http://adamcameroncoldfusion.blogspot.co.uk/2013/03/how-did-you-come-t 
o-be-using-railo.html, and if you could do the survey (if relevant to you), 
that'd be cool (survey URL: http://www.surveymonkey.com/s/VF2LKYW).
 
Cheers.
 
--
Adam 

~|
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:355144
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF running out of steam

2013-03-19 Thread Adam Cameron

> (*) I have nothing against Flash as a technology: it has some merit...
just

> > 99% of what people have done with it is a pointless waste of time, and
> > simultaneously being bloody annoying cluttering up my browser. Thank god
> > for Flashblock (because, like, God did that).
> >
> >
> >
> My problem with this is the assumption that Flash enabled bad crap. People
> build plenty of bad things in plain ole HTML. Flash could go away 100%
>

My problem with what *you* say, Ray, is your assumptions about my
motivations for saying what I did, and then continuing from there to make
assumptions about what conclusions I draw from this. Which is a bit -
uncharacteristically - rubbish of you. Especially as the conclusions you
drew for me were pretty facile.

You're stating the bleeding obvious to suggest that anyone is capable of
producing crap via any mechanism, and Flash is no exception here.

That said, I think Flash was/is far more an enabler of crap than raw HTML
is. This is perhaps borne-out as not simply being a vagary of my thoughts
on the matter, but the almost ubiquity of people thinking what's produced
in Flash is *shit*, and the variety of options available to get rid of it
from out screens. Another consideration here is that even with all Flash
blocked, I can readily use almost all websites, so this pretty much
demonstrates what people are doing with Flash is not actually... well...
useful. It's fluff around the edges.

People do crap with HTML and JS as well, and I guess this will be on the
rise with the increased capabilities of both technologies (and browsers
running them).  However I've never heard of there being a market for a
mark-up blocker like there is for Flash.

It's the fault of the people producing the content rather than Flash
itself, sure. I suspect this is because Flash came up in the "designer"
community, and.. err... people doing design don't usually have much of a
clue about UX (obviously there are exceptions, but they are *exceptions*),
and accordingly we just get the designer's "creativity" declaring its
presence unnecessarily on the screen, and at odds with what the user
actually wants to achieve on the web page / site.

Or just animated bloody adverts distracting from the actual purpose and
intended experience of the page the ad is on.

I think this describes about 95% of Flash that I have seen.

Fortunately a lot of people seem to be understanding UX a bit better these
days, so I think once Flash goes the way of the dodo, the experience it
gave us will probably largely disappear too.  Good riddance to bad rubbish,
I say.

Flex had potential to "fix" the problems Flash designers had brought to the
technology, but it never took off for what I see as being a few reasons:
1) Macromedia screwed it almost entirely with the pricing of v1.0. By the
time v2.0 came out, most of the damage to its perception was done;
2) One of the versions wasn't terribly backwards compat. I think it was
v2.0? Not so much from a library / language / syntax POV, but from the POV
of how things were supposed to be done;
3) it was too much of a developer conceit... it perhaps went too far away
from the original Flash being firmly in the designer space, to Flex being
too much in the developer space. Accordingly most of the Flex "solutions" I
saw looked very "default", because the developer was always more interested
in the code than the design;
4) The standard UI implementation was too different from Windows (and I
presume Mac), so whilst one could make a shiny-looking Flex form, most of
the Windows short-cuts and "behaviours" didn't work (a good example of this
is the old Flex UI for the CF bug tracker). This just makes them annoying
to use.
5) I think the addition of needing to support Flex caused the Flash
Player's rot to set in, with bloat and bugs all over the place. This could
be coincidental timing though, and this is just my gut feel.

I think Flex had a chance to make Flash useful, but it just didn't pan out.
I think it also filled a client-side niche back in the days before very
powerful and well-thought-out JS frameworks, however they're here now, so
makes Flex a helluva lot less relevant than it could have been (but never
really was).

There. That's perhaps better than letting you articulate my position the
basis thereof, yes?

Cheers.

-- 
Adam


~|
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:355109
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF running out of steam

2013-03-19 Thread Adam Cameron

> "I could have saved them a TON of trouble by letting them
> know that Flash wasn't going to make it the first time I had a
> look at it.  "
>
> Wow, seriously? I think Dave said it best.
>
>
Yeah, much as I personally can't stand Flash (*), it was definitely a very
successful product. The client app had more market penetration than
probably any other internet-based product (97% of browsers had it
installed, or something?), and that it was around for 15-odd years in the
IT industry is really a long time for an application.

(*) I have nothing against Flash as a technology: it has some merit... just
99% of what people have done with it is a pointless waste of time, and
simultaneously being bloody annoying cluttering up my browser. Thank god
for Flashblock (because, like, God did that).

-- 
Adam


~|
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:355104
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF running out of steam

2013-03-13 Thread Adam Cameron

> That it is running out of steam and becoming less and less relevant as time
> goes on
>
> ***
>
> Why? Lack of support and innovation from Adobe?
>
> There seems to be no consensus on what should replace it.
>
> In what ways? Is it not good enough for today's web pages and data
> retrieval, or is it a lack of support for mobile devices?
>

I suspect the price tag has something to do with it: most programming
languages are free. Plus it's closed source, which some people are hesitant
about (but I think *most* people who claim to be into OSS software are
actually into *free* software?)

Adobe don't market it at all, so it doesn't make any in roads into sectors
of the industry which don't care about OSS nor are frightened by the price
tag.

I also think that CF previously being marketed as a language any muppet can
code in has worked against it: we've now got a lot of muppets writing
really bad code, and the reputation that the language is *only* good for
muppets will frighten off people who might deepen the CFML developer skill
pool.

This is really unfortunate for CFML, as it's a pretty handy language, and I
- personally - rather enjoy working with it. But there are fewer and fewer
jobs around (yes, there are *some* jobs around, but there are definitely
fewer than there has been at any other point in the last ten years),
because companies seem to be porting away from it.  I know a lot of
companies and studios that used to use CF and have moved away onto other
languages, but I don't know of any traffic in the other direction,
unfortunately.

That's my take on it, anyhow. Opinions will vary.

-- 
Adam


~|
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:354985
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) .NET vs. CF

2013-03-13 Thread Adam Cameron

[Snort]. Yeah, OK mate. You keep telling yourself that.

-- 
Adam

On 13 March 2013 13:38, Larry Lyons  wrote:

>
> Open BD stagnant? You have to be joking. It has a very active google
> groups mailing list, and OBD is actively developed - up to v. 3X now with
> some very unique features. While opinions are fine, please don't mask
> opinions as fact Adam.
>
> >I can't vouch for New Atlanta itself, but BD.NET has not seen any
> activity
> >for a number of years, and never got beyond CFMX 7 compat, as far as I can
> >recollect.
> >
> >OpenBD is - as far as I can tell - a stagnant project (except for Alan
> >doing what best suits Alan: fair enough... that was always the story with
> >OpenBD anyhow), and BD.NET has been stagnant for *much* longer that that.
> >
> >BD.NET might exist, but it's not something anyone should recommend to
> >anyone to use, in our community. And I think OpenBD has pretty much gone
> >that way as well.
> >
> >IMO.
> >
> >--
> >Adam
> >
> >
> >On 12 March 2013 22:49, Justin Scott  wrote:
> >
> >>
>
> 

~|
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:354971
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) .NET vs. CF

2013-03-13 Thread Adam Cameron

What in what I said suggested I'm "down on CF"?

That it is running out of steam and becoming less and less relevant as time
goes on (and I don't think anyone who has a reasonable purchase on reality
can contest that?) has no bearing on nor is impacted by what *I* personally
think about it.

I'm just a realist (which is something a lot of CFers seem to not want to
be, for some reason).

-- 
Adam

On 13 March 2013 13:31, Larry Lyons  wrote:

>
> Adam, if you're that down on CF why are you still using it? Or for that
> matter posting to a CF list?
>
> >This is a traditionally unpopular metric with CF developers, but there's
> >this:
> >http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
> >
> >Java's more prevalent than .NET platform languages, but that's not a
> >compelling reason to use either (/or).
> >
> >And let's not forget that CFML is not Java, so it's a pointless comparison
> >to make anyhow.
> >
> >To the OP: CFML is withering away... get used to it. Take whatever
> >opportunity you can to shift to a different language. Either .net-based
> >languages or Java would be good options.
> >
> >--
> >Adam
> >
> >
> >On 13 March 2013 00:09, Andrew Scott  wrote:
> >
> >>
>
> 

~|
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:354969
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) .NET vs. CF

2013-03-12 Thread Adam Cameron

Well that's fine (and, yes, that's how you do the deployment). But a
language is what you type in to the IDE or text editor, not what it
compiles down to, or that one deploys. Java byte code is no more Java than
CFML is, for that matter.

CFML is not Java. Java is Java.

A better defence of CFML's Javaness would be to point out that one can
instantiate Java classes and call methods upon them natively in CFML, but
this still doesn't make CFML Java. Plus - on reflection - one can also do
the same with .NET classes/objects I think and no-one is suggesting CFML is
C#...?

CFML is a cool language, but it's dead. The former does not preclude the
latter.

-- 
Adam



On 13 March 2013 01:06, Russ Michaels  wrote:

>
> well, , being as it compiles to java byte code, and you can distribute any
> CFML app as pure JAVA, no CFML in sight, which would make it a java app.
> I have never tried this TBH, but I would presume you just deploy your app
> as a war file, so it presumably would not even need a CFML engine, it will
> just run directly on a java servlet engine.
>
>
>
>
>
> On Wed, Mar 13, 2013 at 12:56 AM, Adam Cameron <
> adamcameroncoldfus...@gmail.com> wrote:
>
> >
> > This is a traditionally unpopular metric with CF developers, but there's
> > this:
> > http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
> >
> > Java's more prevalent than .NET platform languages, but that's not a
> > compelling reason to use either (/or).
> >
> > And let's not forget that CFML is not Java, so it's a pointless
> comparison
> > to make anyhow.
> >
> > To the OP: CFML is withering away... get used to it. Take whatever
> > opportunity you can to shift to a different language. Either .net-based
> > languages or Java would be good options.
> >
> > --
> > Adam
> >
> >
> > On 13 March 2013 00:09, Andrew Scott  wrote:
> >
> > >
> > > And I am sure that if you get to the real nuts and bolts of it, Java is
> > > more popular on the Enterprise level than .Net is.
> > >
> > > Regards,
> > > Andrew Scott
> > > WebSite: http://www.andyscott.id.au/
> > > Google+:  http://plus.google.com/113032480415921517411
> > >
> > >
> > >
> > > On Wed, Mar 13, 2013 at 9:00 AM, Gerald Guido  > > >wrote:
> > >
> > > >
> > > > A couple of things come to mind. First is the primary reason I use
> CF:
> > > > Speed of development. CF can be seen as a framework for Java much
> like
> > > > jQuery is a framework for JavaScript. It takes care of the bulk of
> the
> > > > heavy lifting and grunt work so you can focus on writing productive
> > code.
> > > >
> > > > ,NET is a lower level language when compared to CF meaning that you
> > have
> > > to
> > > > take care of a lot of low level chores in order to do something, If
> you
> > > > wanted to open a bottle of wine with another language you would first
> > > have
> > > > to build the bottle opener, or even smelt the steel, in order to open
> > the
> > > > bottle. With CF you call  and you are done.
> > > >
> > > > Justin James <http://www.techrepublic.com/search?a=justin+james> at
> > > > techrepublic.com once remarked that only 25% of the time he spent
> > > writing
> > > > Java was writing productive code, the other 75% was taking care of
> low
> > > > level pluming so he can write said productive code. There is a phrase
> > > down
> > > > south that goes "I am fixing to get ready to... " That is what it is
> > like
> > > > with lower level languages like Java and .NET you (often) spend a
> bulk
> > of
> > > > your time preparing to actually do something.
> > > >
> > > > Lastly, you have the entire Java Class Library at your disposal. Say
> > you
> > > > need to do something that CF was not designed to do or does not do
> > > > particularly well you can drop down into Java or use a third party
> > class
> > > > library to perform said task.
> > > >
> > > > In short it reduces complexity, and the amount of code that one needs
> > to
> > > > write for the same end result. Less code = faster time to market,
> less
> > > > chance for bugs and lowers the cost of development.
> > > >
> > > > Sorry if I am rambling... It is late in the day.
> > > > HTH.
> > > > G!
> > > >
> > > > On Tue, Mar 12, 2013 at 5:07 PM, Justin Scott <
> leviat...@darktech.org
> > > > >wrote:
> > > >
> > > > >
> > > > > > For those of u on this list that have experience with both, can I
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Gerald Guido
> > > > http://www.myinternetisbroken.com
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~|
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:354961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) .NET vs. CF

2013-03-12 Thread Adam Cameron

This is a traditionally unpopular metric with CF developers, but there's
this:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Java's more prevalent than .NET platform languages, but that's not a
compelling reason to use either (/or).

And let's not forget that CFML is not Java, so it's a pointless comparison
to make anyhow.

To the OP: CFML is withering away... get used to it. Take whatever
opportunity you can to shift to a different language. Either .net-based
languages or Java would be good options.

-- 
Adam


On 13 March 2013 00:09, Andrew Scott  wrote:

>
> And I am sure that if you get to the real nuts and bolts of it, Java is
> more popular on the Enterprise level than .Net is.
>
> Regards,
> Andrew Scott
> WebSite: http://www.andyscott.id.au/
> Google+:  http://plus.google.com/113032480415921517411
>
>
>
> On Wed, Mar 13, 2013 at 9:00 AM, Gerald Guido  >wrote:
>
> >
> > A couple of things come to mind. First is the primary reason I use CF:
> > Speed of development. CF can be seen as a framework for Java much like
> > jQuery is a framework for JavaScript. It takes care of the bulk of the
> > heavy lifting and grunt work so you can focus on writing productive code.
> >
> > ,NET is a lower level language when compared to CF meaning that you have
> to
> > take care of a lot of low level chores in order to do something, If you
> > wanted to open a bottle of wine with another language you would first
> have
> > to build the bottle opener, or even smelt the steel, in order to open the
> > bottle. With CF you call  and you are done.
> >
> > Justin James  at
> > techrepublic.com once remarked that only 25% of the time he spent
> writing
> > Java was writing productive code, the other 75% was taking care of low
> > level pluming so he can write said productive code. There is a phrase
> down
> > south that goes "I am fixing to get ready to... " That is what it is like
> > with lower level languages like Java and .NET you (often) spend a bulk of
> > your time preparing to actually do something.
> >
> > Lastly, you have the entire Java Class Library at your disposal. Say you
> > need to do something that CF was not designed to do or does not do
> > particularly well you can drop down into Java or use a third party class
> > library to perform said task.
> >
> > In short it reduces complexity, and the amount of code that one needs to
> > write for the same end result. Less code = faster time to market, less
> > chance for bugs and lowers the cost of development.
> >
> > Sorry if I am rambling... It is late in the day.
> > HTH.
> > G!
> >
> > On Tue, Mar 12, 2013 at 5:07 PM, Justin Scott  > >wrote:
> >
> > >
> > > > For those of u on this list that have experience with both, can I
> >
> >
> >
> >
> >
> > --
> > Gerald Guido
> > http://www.myinternetisbroken.com
> >
> >
> >
>
> 

~|
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:354959
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) .NET vs. CF

2013-03-12 Thread Adam Cameron

I can't vouch for New Atlanta itself, but BD.NET has not seen any activity
for a number of years, and never got beyond CFMX 7 compat, as far as I can
recollect.

OpenBD is - as far as I can tell - a stagnant project (except for Alan
doing what best suits Alan: fair enough... that was always the story with
OpenBD anyhow), and BD.NET has been stagnant for *much* longer that that.

BD.NET might exist, but it's not something anyone should recommend to
anyone to use, in our community. And I think OpenBD has pretty much gone
that way as well.

IMO.

-- 
Adam


On 12 March 2013 22:49, Justin Scott  wrote:

>
> > With regard to a CFML engine running on .NET, New Atlanta has a
> > BlueDragon .NET edition that does exactly that.
>
> Thanks Carl, I knew they had a Java version but wasn't aware of the
> .NET edition.  Good to know if I ever run across one of those types of
> clients.
>
>
> -Justin
>
> 

~|
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:354958
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Creating a knowledge base

2013-03-10 Thread Adam Cameron

The first thing I'd do is make sure I'm not simply re-inventing the wheel.
Have you checked to see if someone hasn't already done this sort of thing
already as an OSS project?

-- 
Aam

On 10 March 2013 12:06, Richard White  wrote:

>
> Hi,
>
> I am tasked with creating a knowledge base for our web application.
>
> I have been given lots of FAQs and wondering the best way to implement it.
>
> Would The best way be to use cfcollection or to build it natively using
> the database (add the FAQ data into a database and search as normal)
>
> I havent much experience with coldfusion collections but are they mainly
> used if the FAQs were in a bunch of documents?
>
> Thanks for any support and guidance.
>
> Best wishes,
> Richard
>


~|
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:354920
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfcexplorer.cfc

2013-03-01 Thread Adam Cameron

> This is the file used to generate human-readable CFC documentation. It
> may have been updated the last time you patched the server - honestly,
> I'm not sure what's been in the latest updates.
>

It was updated as part of the most recent update, although it was from an
earlier hotfix. I suspect it was the big security one that came out a few
weeks back.

Anyway, it's a legit CF file.

-- 
Adam


~|
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:354770
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Installing CF 10 Updater 8

2013-03-01 Thread Adam Cameron

Interesting. I've not needed to do anything like that and the updater has
always worked fine for me. Running Win 7 Home Prem without any special
handling of UAC (eg: I need to authorise any administrative change I make).

Obviously my experiences don't negate yours, but it does negate any notion
that it's intrinsically an issue with Win 7 & UAC considerations, I think?

Anyway: just an observation.

-- 
Adam


On 1 March 2013 18:43, Carl Von Stetten  wrote:

>
> Rick,
>
> It might work pretty well under other OS's.  But there are a number of
> people (myself included) that have had issues on Windows 7/Windows
> Server 2008.  I think there are issues with Windows UAC and other
> permission controls.  The only workaround aside from doing the
> command-line install is to put the ColdFusion service account into the
> local Administrators group whenever I install updates.
>
> -Carl V.
>
> On 3/1/2013 9:51 AM, Rick Root wrote:
> > Alright that seems to work.  Huh.  I guess the server updates section
> was a
> > nice idea ;)
> >
> > 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:354769
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question on cfloop

2013-03-01 Thread Adam Cameron

On 1 March 2013 12:45, Russ Michaels  wrote:

>
> Have done so many times, many years ago thus how.discovered the issues.
> Unless it got fixed in current versions.
>

Sorry mate, you're just mistaken.

I dunno how far back you want to go, but I ran this code on CFMX7:


Before

Within: #i#

After #i#


And it outputs exactly what one would expect:

Before
After 1

I cannot get CF5 to run on Windows 7, but I'd run the same on that, and get
the same results. I bet you a pint.

-- 
Adam


~|
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:354768
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question on cfloop

2013-03-01 Thread Adam Cameron

Sure. But you *don't need to*.  deals with it.

-- 
Adam

On 1 March 2013 12:38, Russ Michaels  wrote:

>
> Also it is quite easy to test if the dynamic.value will be above zero.
>
> E.g
>
> 
> Do loop
> 
> Do something else
> 
>
> Regards
> Russ Michaels
> www.michaels.me.uk
> www.cfmldeveloper.com - Free CFML hosting for developers
> www.cfsearch.com - CF search engine
> On Mar 1, 2013 12:26 PM, "Adam Cameron" 
> wrote:
>
> >
> > On 1 March 2013 08:37, Russ Michaels  wrote:
> >
> > >
> > > The.simple answer is, only use an index loop where there is more than 1
> > > iteration. It will always run once even if the loop is 0, because it
> has
> > to
> > > run once to find that out.
> > >
> >
> > Nah, the condition is checked, but the code within the loop is not run
> even
> > once if the condition is not met:
> >
> > 
> > Before
> > 
> > Within: #i#
> > 
> > After #i#
> > 
> >
> > Output:
> > Before
> > After 1
> >
> > As per the OP's situation, if the TO value is dynamic, one doesn't always
> > know whether the loop will run zero, one or more times. So to say one
> > should only use a loop when there's more than one iteration is a bit
> > unreasonable. Anyway, the looping construct works fine no matter what
> > combination of FROM/TO values you give it, so as long as you know how the
> > thing works, it's safe to use it however one wants to.
> >
> > --
> > Adam
> >
> >
> >
>
> 

~|
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:354757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question on cfloop

2013-03-01 Thread Adam Cameron

Just run the code & see, mate.

On 1 March 2013 12:34, Russ Michaels  wrote:

>
> Yes Adam it does, I had to change much code back in the day due to that
> very issue.
>


~|
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:354755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question on cfloop

2013-03-01 Thread Adam Cameron

On 1 March 2013 08:37, Russ Michaels  wrote:

>
> The.simple answer is, only use an index loop where there is more than 1
> iteration. It will always run once even if the loop is 0, because it has to
> run once to find that out.
>

Nah, the condition is checked, but the code within the loop is not run even
once if the condition is not met:


Before

Within: #i#

After #i#


Output:
Before
After 1

As per the OP's situation, if the TO value is dynamic, one doesn't always
know whether the loop will run zero, one or more times. So to say one
should only use a loop when there's more than one iteration is a bit
unreasonable. Anyway, the looping construct works fine no matter what
combination of FROM/TO values you give it, so as long as you know how the
thing works, it's safe to use it however one wants to.

-- 
Adam


~|
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:354753
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question on cfloop

2013-02-28 Thread Adam Cameron

>
> Do you ever manipulate somearray inside the loop? I am not sure if
> #ArrayLen(somearray)# is evaluated once or at each looping.
>

The expressions passed to tags are evaluated first, then passed into the
tag code. So in this case it's not the expression "arrayLen(someArray)"
that's passed into the  tag's code, it's the value of
"arrayLen(someArray)", for example "2". So the TO value is immutable once
it's first evaluated.

A conditional loop is different, in that the string that is the condition
is passed into the  code, not the result of it at the time the
 tag is called, eg:




It's "someVar LE 3" that's passed to , not the result of "someVar
LE 3" (which would be TRUE initially).

-- 
Adam


~|
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:354749
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question on cfloop

2013-02-28 Thread Adam Cameron

> I've never used the loop index, and I don't think you should depend on it.
> Not sure what documented behavior is, but if it isn't documented in a
> specific way, it would be totally appropriate for it to go out of scope in
> a future version (kinda surprised it doesn't)
>
> Instead, use your own counter var.
>

Sorry mate, I strongly disagree with this. The index variable is *
specifically* there to be used. Using an additional counter variable is
just tautology.

You say "if it isn't documented...", but it is. Clearly so:
http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-71aa.html

I would potentially agree that using it outside the loop (ie: after the end
of it), might not be a good idea, because some languages only maintain the
index variable within the loop code. That said, CFML is not one of those
languages.

-- 
Adam


~|
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:354748
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question on cfloop

2013-02-28 Thread Adam Cameron

It's the way index-based loops work. At the first pass of the , the
INDEX variable is created with the initial value, and the condition (in
this case the condition is an implicit "index variable value <= TO value").
If the condition is true, the loop block is entered. At the bottom of the
loop block, execution is returned to the top of the block, the index
variable is incremented by the STEP value (the default being 1), then the
condition is evaluated again. If the condition is met, we're back into the
loop block; if not, processing skips down to the first statement after the
 block.

If you desk-check this, you will see that on the last iteration of the
loop, the index value will be incremented beyond the bounds of the TO
value, making the loop exit. So its final value will always - intrinsically
- be higher than the TO value, by the amount of the STEP value.

It's just how these things work.

-- 
Adam


On 1 March 2013 00:46, funand learning  wrote:

>
> I am sorry, I wasn't clear. the "to" is arraylen. Sometimes the arraylen is
> 1
>
> 
>
> 
>
> #j# --this returns 2
>


~|
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:354747
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Localization , French Accents...

2013-02-27 Thread Adam Cameron

Just a note on this: the  tag used in this way
simply tells the CF compiler to treat *that file* as UTF-8 when it's
compiled. IE: if the file itself has UTF-8-encoded text within it, the
compiler will respect that when the CFML is compiled. It has no bearing at
all on displaying or reading UTF-8 encoded data (which are only relevant at
runtime, not compile time).

-- 
Adam



On 27 February 2013 18:52, Akos Fortagh  wrote:

>
> Not sure if this helps and depends what you're trying to do with the text,
> if you want to output them to a page, putting this at the top of the .cfm
> page should help.
>
>  
>
> I had problems displaying foreign characters until I included the above on
> the pages.
>


~|
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:354729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Hosting - Clear Template Cache required

2013-02-25 Thread Adam Cameron

Trusted cache is not *required* on CF10 any more than it is on CF9. However
on a production server it *should* be on.

It'd be good if you could get an explanation from your hosting provider as
to why they think it's *necessary* on CF10. If only to demonstrate their
ignorance to themselves.

-- 
Adam

On 26 February 2013 08:19, Russ Michaels  wrote:

>
> I expect they have the trusted cache enabled, but considering all the
> issues cf10 has had, they may be right.
>
> Regards
> Russ Michaels
>


~|
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:354688
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


  1   2   >