[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread Barry Beattie
there are approx 310 sign-ups that haven't pinged yet. Considering the slow rate at the moment, is there a chance that unpinged number will improve with the poll? I can see a funny side to it, though. Perhaps I'm easily amused On 6/4/07, Steve Onnis <[EMAIL PROTECTED]> wrote: > > Ok this is

[cfaussie] asReports V0.2 alpha released

2007-06-04 Thread Andrew Scott
For those of you who do not know, I have re designed some code I wrote a few years ago. This application is asReports, which allows you to run a Crystal Report from within Coldfusion. This has been tested on CFMX 7.02 & Coldfusion 8, but as now been released to the general public as V0.2 alpha. T

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread MrBuzzy
ParameterExists() is bad. In fact forget I even mentioned it :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from thi

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Raymond Camden
structKeyExists runs quicker - but I hesitate to say isDefined is "bad". Personally I'd use what feels best to you. It's not like one will take 0.002 ms and the other will take 2 hours. On 6/4/07, grant <[EMAIL PROTECTED]> wrote: > Hi All > > My patchy memory keeps nagging at me not to use isDefi

[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread Zac Spitzer
plang from melboune On 6/4/07, Barry Beattie <[EMAIL PROTECTED]> wrote: > > there are approx 310 sign-ups that haven't pinged yet. Considering the > slow rate at the moment, is there a chance that unpinged number will > improve with the poll? > > I can see a funny side to it, though. Perhaps I'm

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Peter Tilbrook
Ray is right. And the fact you are bothering to check at all is good coding practice. Never assume. On 04/06/07, Raymond Camden <[EMAIL PROTECTED]> wrote: > > structKeyExists runs quicker - but I hesitate to say isDefined is > "bad". Personally I'd use what feels best to you. It's not like one >

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Simon Haddon
Hi Grant, The choice is really down to your programming style. I have come from a C / Pascal / PLSQL / Java background and have learned to be very dogmatic and methodical with my programming style. As a team leader I insist that all variables are either declared at the start of a template or to

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Andrew Scott
Actually Ray is wrong so to speak... It is a known fact and even though in some cases it makes no difference as the speed differences are very slight, but it is personal preference and nothing more. As far as best practice goes, I would be more concerned on how to optimise the server processing if

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Andrew Scott
Simon CFC's go without saying, as there will be problems if you do not scope variables with the var scope anyway. just an FYI to any new developers. On 6/4/07, Simon Haddon <[EMAIL PROTECTED]> wrote: > > Hi Grant, > > The choice is really down to your programming style. I have come from a C > /

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Peter Tilbrook
I am glad I don't work on one of Andrew Scotts projects. On 04/06/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > Simon CFC's go without saying, as there will be problems if you do not scope > variables with the var scope anyway. just an FYI to any new developers. > > > On 6/4/07, Simon Haddon <[E

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Andrew Scott
Yeah, well you wouldn't I hate the request scope it is evil. On 6/4/07, Peter Tilbrook <[EMAIL PROTECTED]> wrote: > > > I am glad I don't work on one of Andrew Scotts projects. > > On 04/06/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > > Simon CFC's go without saying, as there will be problems

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Adam Cameron
isDefined() will sometimes return false positives when dealing with SESSION-scoped variables. I do not recall which version of CF this was on, but would have been no earlier than 6.1. Ihave not re- verified this on subsequent versions. At that point in time I switched to using structKeyExists()

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread M@ Bourke
http://corfield.org/blog/index.cfm/do/blog.entry/entry/isDefined_vs_structKeyExists --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To u

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Simon Haddon
I can't agree with the statement "goes without saying" as too often I have to say it. I have seen so many bad implementations of CFC that clobber variables left right and centre that it really annoys me and , disappointingly it is allowed in the language. I have taken over projects that I have cr

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Simon Haddon
Why do you say that Peter? From emails that I have read I think that Andrew is quiet a disciplined programmer? What is the problem? Cheers, Simon On 04/06/07, Peter Tilbrook <[EMAIL PROTECTED]> wrote: > > > I am glad I don't work on one of Andrew Scotts projects. > > On 04/06/07, Andrew Scott

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Peter Tilbrook
I agree (disciplined) but he then bagged the "request" scope so now I am not so sure. -- Peter Tilbrook ColdGen Internet Solutions President, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA http://www.coldgen.com/ http://www.actcfug.com/ Tel: +61-2-6284-2727 M

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Raymond Camden
Err, how am I wrong? I said there was a speed difference, and you agreed? Or did you think I meant it was ALWAYS faster? If so - I misspoke and you are right to correct me. On 6/4/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > Actually Ray is wrong so to speak... > > It is a known fact and even th

[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread mark_wybrow
It brings a tear to my eye to see all these numbers - Solidarity Brothers! sol·i·dar·i·ty 1. union or fellowship arising from common responsibilities and interests, as between members of a group or between classes, peoples, etc.: to promote solidarity among union members. 2. community of feelings

[cfaussie] CF Cluster on one machine!?

2007-06-04 Thread Taco Fleur
I am hoping to get some input on the following. I have one instance of CF running and one is dormant (STAGING) to upload new code to and test it out before moving to LIVE. We are starting out with one machine for CF and will tag on more as the need arises, my question is, would there be any benefi

[cfaussie] Re: CF Cluster on one machine!?

2007-06-04 Thread Haikal Saadh
Remember that as you add instances, resources available to each individual cluster drops. Now, rather than having stage and live on one machine, wouldn't it make more sense to have two machines? * One for the live. * Second one for stage, with maybe an additional instance clustered

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Andrew Scott
Ray, I said so to speak, I think the discussion on cftalk about how one is faster on one platform than the other is interesting. On 6/5/07, Raymond Camden <[EMAIL PROTECTED]> wrote: > > > Err, how am I wrong? I said there was a speed difference, and you > agreed? Or did you think I meant it was

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Andrew Scott
And Peter you need to know when the micky is being taken out of you. Sorry it was just that 2 fridays in a row, the request scope had nothing to do with the problem yet you provided it as an answer:-) On 6/5/07, Peter Tilbrook <[EMAIL PROTECTED]> wrote: > > > I agree (disciplined) but he then ba

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Haikal Saadh
Having seen more than my fair share of request scope abuse, I can see why he would. I think easy access to request in CF can cause poor code. But then again, guns don't kill people, people kill people, right? Peter Tilbrook wrote: > I agree (disciplined) but he then bagged the "request" scope

[cfaussie] Re: asReports V0.2 alpha released

2007-06-04 Thread Scott Thornton
Can it also open the report in the Crystal ActiveX viewer? Does it handle reports with multiple subreports? I had a (brief) look at it late last night. I will need to check how to pass the report parameters (for stored procedures) and pass it selection criteria. We are a huge Crystal 9 site, a

[cfaussie] Re: CF Cluster

2007-06-04 Thread Duncan
Yep, you will end up with 4 services, a jrun manager, a cf manager, and 2 instances that you can cluster. the jrun manager service hosts Jrun (duh) and then that runs the default cf instance. this is the only cf instance that gives you the cluster manager in administrator. Once you create another

[cfaussie] Re: asReports V0.2 alpha released

2007-06-04 Thread Andrew Scott
Scott, Yes it handles sub reports, and no it doesn't use ActiveX viewer. I found that cumbersum, and my boss at the time (Hi Dale) had designed a more elligant approach. The main idea is that you can use cfcontent to deliver the report to the browser one it is created. However I might look into

[cfaussie] Re: CF Cluster on one machine!?

2007-06-04 Thread Duncan
We run 2 machines via a load balancer with sticky sessions, then have 3 instances on each machine. the default instance runs testing and staging sites, and then we have a cluster that runs 2 instances for the production application. It runs great. The best advantage is that if one instance gets s

[cfaussie] Re: Virtual Server Hosting

2007-06-04 Thread Duncan
Dale, We use rackspace.com and they are fantastic. not cheap so that would affect your decision, but they are great. HTH Duncan On 5/31/07, Dale Fraser <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > We currently run our own servers in a data centre and we are due this year > to upgrade a

[cfaussie] asReports V0.2 alpha released

2007-06-04 Thread Scott Thornton
We have loads of problems with the ActiveX viewer most staff are not local admins and cannot install the viewer when it runs for the first time. I just prefer it as I can navigate through the groups on the report much easier as compared to when displayed in .pdf >>> "Andrew Scott" <[EMAIL

[cfaussie] Re: CF Cluster

2007-06-04 Thread Taco Fleur
I'm guessing the cf instance can tehn be disabled - untill I need to manage the cluster again? On 6/5/07, Duncan <[EMAIL PROTECTED]> wrote: > > > Yep, you will end up with 4 services, a jrun manager, a cf manager, > and 2 instances that you can cluster. > > the jrun manager service hosts Jrun (duh

[cfaussie] Re: CF Cluster on one machine!?

2007-06-04 Thread Taco Fleur
Yup, it would make more sense to have another machine for the cluster, but as specified, we don't have that luxury at the moment. And I'm basically looking for an excuse (where there isn't one yet) to install a cluster on one machine (I'm like a boy with a new toy). I prefer my staging on the exac

[cfaussie] Re: CF Cluster on one machine!?

2007-06-04 Thread Taco Fleur
I like this. Just the excuse I was looking for, let's wait and see if there are any major negatives ;-) On 6/5/07, Duncan <[EMAIL PROTECTED]> wrote: > > > We run 2 machines via a load balancer with sticky sessions, then have > 3 instances on each machine. the default instance runs testing and > st

[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread Barry Beattie
> It brings a tear to my eye to see all these numbers - Solidarity > Brothers! "Soli-darity For-ever "Buntel dressed up in tight leather "Ben Forta left standing in the weather "For Cold-Fusion makes us strong" --~--~-~--~~~---~--~~ You received this message becau

[cfaussie] Re: asReports V0.2 alpha released

2007-06-04 Thread Dale Fraser
It did initially support the Active X viewer, and we found that there were browser issues getting it installed. We did however have a fix for that, can't remember the URL, but we gave our users a specific url to browse to which forced the active X to install. Regards Dale Fraser http://dalefras

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread grant
Wow thanks for the response people. My question is really out of pure laziness - I have a huge struct that i need to check a key for - the actual key path is session.currentuser.currentreport.filters.currentfilter.filterset, where filters, currentfilter and filterset may not be present. so it's hea

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Haikal Saadh
Personally, I favour sane defaults rather than having to check for presence of variables all the time. And the bigger and more complicated your data structs get, I think having to check to see if a variable exists is a quick path to insanity. Side effect of eating too much spaghetti... grant

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Dale Fraser
I think you can just do Regards Dale Fraser http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grant Sent: Tuesday, 5 June 2007 10:39 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: isDef

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Dale Fraser
Then I'll stick to my original statement that there is nothing wrong with isDefined it's better than embedded structKeyExists. Regards Dale Fraser http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gra

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread grant
@Dale: It throws. @Haikal: Good Point. It's that laziness again - setting up and maintaining defaults can be rather tiresome. On 05/06/07, Haikal Saadh <[EMAIL PROTECTED]> wrote: > > > Personally, I favour sane defaults rather than having to check for > presence of variables all the time. And the

[cfaussie] Re: isDefined() bad?

2007-06-04 Thread Haikal Saadh
Seems to be 6 of one and 1/2 dozen of another... but if you initialise it properly in one place, and it saves you from doing the check in 2 or more places, you've come out ahead. grant wrote: > @Dale: It throws. > @Haikal: Good Point. It's that laziness again - setting up and > maintaining def

[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread dfwise
FAB, Long time veiwer, first time caller. On Jun 1, 12:02 pm, Matt Voerman <[EMAIL PROTECTED]> wrote: > Hi Guys, > Just a quick note to let you guys know that we at the Adobe Australia > office haven't forgotten about you, and do monitor this (and several > other) lists on a regular basis. > >

[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread Mark Mandel
wow.. is this thing still going? Mark On 6/5/07, dfwise <[EMAIL PROTECTED]> wrote: > > FAB, > > Long time veiwer, first time caller. > > > On Jun 1, 12:02 pm, Matt Voerman <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > Just a quick note to let you guys know that we at the Adobe Australia > > office

[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread Barry Beattie
Mark, yours is the 100th post on this thread but not the 100th person to "ping" car-mawwnnn! we can d it!!! "The CFAUSSIE-a-thon is hoping to raise 100 members from the dead." "The total so far at the tally room comes in at 83 members" (someone check this?) "Email now, our inboxes are

[cfaussie] Re: CFAussie Community Head Count

2007-06-04 Thread George Lu
yes, ping from Melbourne On 05/06/07, Mark Mandel <[EMAIL PROTECTED]> wrote: > > > wow.. is this thing still going? > > Mark > > On 6/5/07, dfwise <[EMAIL PROTECTED]> wrote: > > > > FAB, > > > > Long time veiwer, first time caller. > > > > > > On Jun 1, 12:02 pm, Matt Voerman <[EMAIL PROTECTED]> w