RE: ColdFusion Coding Contest

2004-04-10 Thread Paul Kenney
This sounds like something I saw blogged a couple of years ago called
Hedonists Delima.You can read about the concept in the archives (I've
had a link to it on my desktop this whole time) here:

	http://blog.daemon.com.au/archives/02.html#02

Paul Kenney
[EMAIL PROTECTED]
916-212-4359

 -Original Message-
 From: Eric Dawson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 08, 2004 11:49 PM
 To: CF-Talk
 Subject: Re: ColdFusion Coding Contest


 I really like the idea about the web service competitions...
 you enter your webservice agent into a contest on some server
 somewhere and tournaments are held to determine winners.

 othello
 backgammon
 chess
 boxing
 hockey simulations...

 I think it would be fun.

 Eric
- Original Message -
From: cfhelp
To: CF-Talk
Sent: Wednesday, April 07, 2004 11:05 PM
Subject: RE: ColdFusion Coding Contest


What someone needs to do is set this up and a few other
 puzzles and form
development teams.


Team 1: CF
Team 2: ASP/.Net
Team 3: PERL
Team 4: PHP

Rick

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 9:19 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest


WOW, this contest is on fire!:-)

We are up to three.

 Kevin
_



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ColdFusion Coding Contest

2004-04-09 Thread Eric Dawson
I really like the idea about the web service competitions... you enter your webservice agent into a contest on some server somewhere and tournaments are held to determine winners.

othello
backgammon
chess
boxing
hockey simulations...

I think it would be fun.

Eric
- Original Message - 
From: cfhelp 
To: CF-Talk 
Sent: Wednesday, April 07, 2004 11:05 PM
Subject: RE: ColdFusion Coding Contest

What someone needs to do is set this up and a few other puzzles and form
development teams.

Team 1: CF
Team 2: ASP/.Net
Team 3: PERL
Team 4: PHP

Rick

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 9:19 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

WOW, this contest is on fire!:-)

We are up to three.

 Kevin
 _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ColdFusion Coding Contest

2004-04-09 Thread Eric Dawson
what's the contest URL again?
- Original Message - 
From: cfhelp 
To: CF-Talk 
Sent: Wednesday, April 07, 2004 11:05 PM
Subject: RE: ColdFusion Coding Contest

What someone needs to do is set this up and a few other puzzles and form
development teams.

Team 1: CF
Team 2: ASP/.Net
Team 3: PERL
Team 4: PHP

Rick

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 9:19 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

WOW, this contest is on fire!:-)

We are up to three.

 Kevin
 _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-09 Thread Kazmierczak, Kevin
http://tech.badpen.com/cfcontest

 
When you are done, submit your entry to me for the judging.You have
until midnight on Sunday to submit.

 
Kevin.

 
_

From: Eric Dawson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 2:50 AM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

 
what's the contest URL again?
- Original Message - 
From: cfhelp 
To: CF-Talk 
Sent: Wednesday, April 07, 2004 11:05 PM
Subject: RE: ColdFusion Coding Contest

What someone needs to do is set this up and a few other puzzles and
form
development teams.

Team 1: CF
Team 2: ASP/.Net
Team 3: PERL
Team 4: PHP

Rick

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 9:19 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

WOW, this contest is on fire!:-)

We are up to three.

 Kevin
 _
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest (prizes)

2004-04-08 Thread Steve Nelson
I just sent in my submission to this contest and wanted to encourage others
to send submissions too. So I'm going to throw in a free copy of the Pro
version of my Prototype Tool Kit ($100 value) to the winner (or second place
runner since I'm planning on winning!) Here is some information about
this tool I'm throwing in:

http://www.secretagents.com/index.cfm?fuseaction=tools.prototypetoolkit

Good Luck!

Steve Nelson
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-07 Thread cfhelp
What someone needs to do is set this up and a few other puzzles and form
development teams.

 
Team 1: CF
Team 2: ASP/.Net
Team 3: PERL
Team 4: PHP

Rick

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 9:19 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 
WOW, this contest is on fire!:-)

We are up to three.

 Kevin
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Howard Fore
If you can do everything you need in cfscript, it's much more readable 
IMHO. However the functionality gap between cfscript and cf tags 
negates this to some degreee. In my experience switching back and forth 
between tags and cfscript has yielded some very awkward code. I've 
almost completely stopped using cfscript altogether, simply because of 
the time I lose trying to maintain a logical block of code in one 
paradigm or the other. As always your mileage may vary, products may 
settle during shipping, and objects may be closer than they appear.

--
Howard Fore, [EMAIL PROTECTED]

On Apr 5, 2004, at 8:40 PM, Philip Arnold wrote:

 There is the one advantage to CFSCRIPT over tags

 Readability

 If you can read Script easier than reading tag based code, then use
 Script
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread C. Hatton Humphrey
 If you can do everything you need in cfscript, it's much more readable
 IMHO. However the functionality gap between cfscript and cf tags
 negates this to some degreee. In my experience switching back and forth
 between tags and cfscript has yielded some very awkward code. I've
 almost completely stopped using cfscript altogether, simply because of
 the time I lose trying to maintain a logical block of code in one
 paradigm or the other. As always your mileage may vary, products may
 settle during shipping, and objects may be closer than they appear.

I've seen this as well; however in my foray into UDF's I have found that
there is a to build custom functions to mimic CF code by handing the
switch off to the UDF and then calling it from within a script block.

True, it might be considered reinventing the wheel but it also allows a
continuity of coding and takes advantage of the CFScript improvements.That
would be the theory, at least.I have not had a chance to put this to the
test.

Hatton

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.642 / Virus Database: 410 - Release Date: 3/24/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Pete Ruckelshaus - CFList
I agree completely on the readability issue.In my application.cfm 
file, I try to use cfscript blocks as much as possible, mainly to keep 
code both compact and readable.I do the same thing on pages where I 
need to set more than one or two variables.cfscript blocks are also 
easier to find when color-coded by CF Studio.

Just my $.02, don't look a gift horse in the mouth, and never trust a 
bald barber.

Pete

Howard Fore wrote:
 If you can do everything you need in cfscript, it's much more readable
 IMHO. However the functionality gap between cfscript and cf tags
 negates this to some degreee. In my experience switching back and forth
 between tags and cfscript has yielded some very awkward code. I've
 almost completely stopped using cfscript altogether, simply because of
 the time I lose trying to maintain a logical block of code in one
 paradigm or the other. As always your mileage may vary, products may
 settle during shipping, and objects may be closer than they appear.
 
 --
 Howard Fore, [EMAIL PROTECTED]
 
 On Apr 5, 2004, at 8:40 PM, Philip Arnold wrote:
 
 There is the one advantage to CFSCRIPT over tags

 Readability

 If you can read Script easier than reading tag based code, then use
 Script

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Dave Watts
 Just a note on this: the bug is basically that you never see 
 value of 1-9 - only 0, 10 or more than 10. (and I think it's 
 actually an OS problem on Windows, not a CF issue - can any 
 Linux/Unix user confirm the bug on their platform?)

According to the MM guy who explained this problem to me, the underlying
reason for this is that CF simply isn't capable of accurately dealing with
time increments smaller than 10 milliseconds. Of course, this was a while
ago - back in the CF 3 and 4 days - so things may have changed since then.

I've observed the same behavior on Solaris with CF 4 and 5, if I recall
correctly.

 This is exactly the reason that you do may operations in a 
 loop when testing this stuff - you need to get things out of 
 that initial 10ms gray area. Basically any timings higher 
 than 10 ms are trustworthy since it's not the individual 
 operations being timed but the interval between the reports.

The problem with this approach is that it only tells you what will happen if
a single request repeats the operation within a loop. There have been
several cases I've observed in which this isn't reflected at all when the
test involves multiple requests repeating the operation in parallel.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Andre Turrettini
agreed. I'm praying that a major improvment in the next cf will be that all
(or as many as possible) tags and functions are available within cfscript.

-Original Message-
From: Howard Fore [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 6:14 AM
To: CF-Talk
Subject: Re: Script vs Tags (was Re: ColdFusion Coding Contest)

If you can do everything you need in cfscript, it's much more readable 
IMHO. However the functionality gap between cfscript and cf tags 
negates this to some degreee. In my experience switching back and forth 
between tags and cfscript has yielded some very awkward code. I've 
almost completely stopped using cfscript altogether, simply because of 
the time I lose trying to maintain a logical block of code in one 
paradigm or the other. As always your mileage may vary, products may 
settle during shipping, and objects may be closer than they appear.

--
Howard Fore, [EMAIL PROTECTED]

On Apr 5, 2004, at 8:40 PM, Philip Arnold wrote:

 There is the one advantage to CFSCRIPT over tags

 Readability

 If you can read Script easier than reading tag based code, then use
 Script 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-06 Thread Andre Turrettini
Can we switch it to monday?I dont think I'll have much time till the
weekend.

 
DRE

-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 8:18 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Contest is still open until Friday April 9th, at 12:00pm EST.You can
solve it any way you would like.Just understand you are looking for
the shortest path, not just any path.

Kevin.

_

From: Rizal Firmansyah [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 10:10 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

Kevin,
just curious... is this contest still open?

And are we allowed to play this in god's mode?
You know...
solve it by looking at the whole maze, instead of thinking like the
mouse 
inside (which can only go U,D,L,R).
And then backtrack the solution to give the right direction (U,D,L,R)?

Rizal

At 10:33 PM 4/5/2004, you wrote:
If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]


Kevin.

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todayshttp://www.hou
seoffusion.com/lists.cfm/link=t:4 
Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:158882Thishttp://ww
w.houseoffusion.com/lists.cfm/link=i:4:158882 
Message]
[http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1949.
4Fasthttp://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1
949.4 
Unsubscribe] 
[http://www.houseoffusion.com/signin/Userhttp://www.houseoffusion.co
m/signin/ 
Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=40
1be3985.jpg


_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-06 Thread Kazmierczak, Kevin
How about we switch it to Sunday at midnight, and I will do the final
judging on Monday.No more extensions ;)By the way, I just got a new
submission.We are up to three.

 
Kevin

 
_

From: Andre Turrettini [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 11:04 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 
Can we switch it to monday?I dont think I'll have much time till the
weekend.

DRE

-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 8:18 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Contest is still open until Friday April 9th, at 12:00pm EST.You can
solve it any way you would like.Just understand you are looking for
the shortest path, not just any path.

Kevin.

_

From: Rizal Firmansyah [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 10:10 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

Kevin,
just curious... is this contest still open?

And are we allowed to play this in god's mode?
You know...
solve it by looking at the whole maze, instead of thinking like the
mouse 
inside (which can only go U,D,L,R).
And then backtrack the solution to give the right direction (U,D,L,R)?

Rizal

At 10:33 PM 4/5/2004, you wrote:
If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]


Kevin.

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todayshttp://www.hou
seoffusion.com/lists.cfm/link=t:4 
Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:158882Thishttp://ww
w.houseoffusion.com/lists.cfm/link=i:4:158882 
Message]
[http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1949.
4Fasthttp://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1
949.4 
Unsubscribe] 
[http://www.houseoffusion.com/signin/Userhttp://www.houseoffusion.co
m/signin/ 
Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=40
1be3985.jpg


_ 
_
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-06 Thread Tangorre, Michael
WOW, this contest is on fire!:-)

We are up to three.

 Kevin
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]

 
Kevin.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tangorre, Michael
There ya go Kaz, hi-jacking the contest.:-)
I still think the original poster was looking for CS homework help and was
unofficially soliciting answers...j/k

 If anyone submitted their code to the CF coding contest we 
 had a while back ago in January would like to submit their 
 code to me, I am in the process of putting all of our code 
 together so we can at least see how each of us did it.Feel 
 free to send them to [EMAIL PROTECTED]

 Kevin.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
Hahahahaha, last time that happened, I at least got paid for it. ;)

 
Keivn.

 
_

From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 12:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 
There ya go Kaz, hi-jacking the contest.:-)
I still think the original poster was looking for CS homework help and
was
unofficially soliciting answers...j/k

 If anyone submitted their code to the CF coding contest we 
 had a while back ago in January would like to submit their 
 code to me, I am in the process of putting all of our code 
 together so we can at least see how each of us did it.Feel 
 free to send them to [EMAIL PROTECTED]

 Kevin.
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Andre Turrettini
oops. I forgot to send in my entry last time.Where are the rules so that I
can make sure it conforms?
DRE

-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 11:50 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hahahahaha, last time that happened, I at least got paid for it. ;)

Keivn.

_

From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 12:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

There ya go Kaz, hi-jacking the contest.:-)
I still think the original poster was looking for CS homework help and
was
unofficially soliciting answers...j/k

 If anyone submitted their code to the CF coding contest we 
 had a while back ago in January would like to submit their 
 code to me, I am in the process of putting all of our code 
 together so we can at least see how each of us did it.Feel 
 free to send them to [EMAIL PROTECTED]

 Kevin.
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
http://tech.badpen.com/cfcontest/

Kevin.

 
_

From: Andre Turrettini [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 1:56 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 
oops. I forgot to send in my entry last time.Where are the rules so
that I
can make sure it conforms?
DRE

-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 11:50 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hahahahaha, last time that happened, I at least got paid for it. ;)

Keivn.

_

From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 12:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

There ya go Kaz, hi-jacking the contest.:-)
I still think the original poster was looking for CS homework help and
was
unofficially soliciting answers...j/k

 If anyone submitted their code to the CF coding contest we 
 had a while back ago in January would like to submit their 
 code to me, I am in the process of putting all of our code 
 together so we can at least see how each of us did it.Feel 
 free to send them to [EMAIL PROTECTED]

 Kevin.
_ 
_
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tangorre, Michael
Just go to the link Kaz posted earlier and take his code :-) 

 oops. I forgot to send in my entry last time.Where are the 
 rules so that I can make sure it conforms?
 DRE
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tom Kitta
Hmmm, it looks like there are going to be a lot of 'shortest path' algorithm
implementations. I guess to win on speed it should be written in cfscript as
much as possible.

TK
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Just go to the link Kaz posted earlier and take his code :-)

 oops. I forgot to send in my entry last time.Where are the
 rules so that I can make sure it conforms?
 DRE
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tangorre, Michael
In case you needed the link:
http://adserver2.alfred.edu/kevin/maze/index.cfm

:-)

 Just go to the link Kaz posted earlier and take his code :-) 

  oops. I forgot to send in my entry last time.Where are 
 the rules so 
  that I can make sure it conforms?
  DRE
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Venable, John
Is this still true? I was inder the impression that since CFMX compiles everything beforehand the performance gains that you used to get with CFSCRIPT are no longer there. Am I wrong about that?

 
John Venable

-Original Message-
From: Tom Kitta [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:07 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hmmm, it looks like there are going to be a lot of 'shortest path' algorithm
implementations. I guess to win on speed it should be written in cfscript as
much as possible.

TK
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Just go to the link Kaz posted earlier and take his code :-)

 oops. I forgot to send in my entry last time.Where are the
 rules so that I can make sure it conforms?
 DRE 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
It could be that I imagined things, but my tickcount was lower with more
code in cfscript.I didn't think it would make a difference, but I went
with it.

 
Kevin

 
_

From: Venable, John [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 2:11 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 
Is this still true? I was inder the impression that since CFMX compiles
everything beforehand the performance gains that you used to get with
CFSCRIPT are no longer there. Am I wrong about that?

John Venable

-Original Message-
From: Tom Kitta [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:07 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hmmm, it looks like there are going to be a lot of 'shortest path'
algorithm
implementations. I guess to win on speed it should be written in
cfscript as
much as possible.

TK
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Just go to the link Kaz posted earlier and take his code :-)

 oops. I forgot to send in my entry last time.Where are the
 rules so that I can make sure it conforms?
 DRE 
_
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Ben Forta
 I guess to win on speed it should be written in cfscript as much as
possible.

 
Don't expect it to make much (or any) difference with CFMX.

--- Ben



From: Tom Kitta [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 2:07 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hmmm, it looks like there are going to be a lot of 'shortest path' algorithm
implementations. I guess to win on speed it should be written in cfscript as
much as possible.

TK
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Just go to the link Kaz posted earlier and take his code :-)

 oops. I forgot to send in my entry last time.Where are the
 rules so that I can make sure it conforms?
 DRE 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tangorre, Michael
I ran some code both ways back when CFMX came out... Didn't notice much of a
difference.

 It could be that I imagined things, but my tickcount was 
 lower with more code in cfscript.I didn't think it would 
 make a difference, but I went with it.

 Kevin
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tom Kitta
I agree Ben, but it is a contest, so every little bit (even if imaginary
:)) ) counts.

TK
-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:15 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 I guess to win on speed it should be written in cfscript as much as
possible.

Don't expect it to make much (or any) difference with CFMX.

--- Ben



From: Tom Kitta [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 2:07 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hmmm, it looks like there are going to be a lot of 'shortest path'
algorithm
implementations. I guess to win on speed it should be written in cfscript
as
much as possible.

TK
 -Original Message-
 From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 05, 2004 2:06 PM
 To: CF-Talk
 Subject: RE: ColdFusion Coding Contest

 Just go to the link Kaz posted earlier and take his code :-)

  oops. I forgot to send in my entry last time.Where are the
  rules so that I can make sure it conforms?
  DRE

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Steve Nelson
Was anyone successful with this? I know mine worked on a bunch of mazes, but
there were a couple weird ones with huge rooms that it didn't work on.

Kevin, can you send me the last version I sent to you guys? I'd like to try
and fix any issues in my code.

Steve Nelson

_

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 11:33 AM
To: CF-Talk
Subject: ColdFusion Coding Contest

If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]

Kevin.

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Philip Arnold
 From: Tom Kitta
 
 I agree Ben, but it is a contest, so every little bit (even 
 if imaginary :)) ) counts.

Just remember - CFSILENT until you're ready to output something - CF
won't try to build the output at all, so it should be a smidge faster as
well g
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
Steve,

 
Here is the deal.I am not the person who originally started or handled
this.It was Tim Blair's idea and he was the one who got it going.The
problem is that we never found out the results, so after a few posts to
his blog, I decided to hijack the contest as Mike T. referred to it.I
am trying to collect any submissions and put them on a page so we can
see how each of us did it.So the answer is no, I don't have anyone's
submission or email address who submitted, I am just hoping that people
have it saved and can forward it to me.So far I only have 2 entries.
I would welcome anyone to submit a solution to it even if you didn't
submit one from before.

 
I think the idea is really cool and I don't want to see it die by the
wayside.

 
Kevin. 
_

From: Steve Nelson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 3:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 
Was anyone successful with this? I know mine worked on a bunch of mazes,
but
there were a couple weird ones with huge rooms that it didn't work on.

Kevin, can you send me the last version I sent to you guys? I'd like to
try
and fix any issues in my code.

Steve Nelson

_

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 11:33 AM
To: CF-Talk
Subject: ColdFusion Coding Contest

If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]

Kevin.

_
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Steve Nelson
Oh gotcha. Then I'll have to dig it up and send it over so you have 3
solutions. :-)

Steve Nelson

_

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 3:18 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Steve,

Here is the deal.I am not the person who originally started or handled
this.It was Tim Blair's idea and he was the one who got it going.The
problem is that we never found out the results, so after a few posts to
his blog, I decided to hijack the contest as Mike T. referred to it.I
am trying to collect any submissions and put them on a page so we can
see how each of us did it.So the answer is no, I don't have anyone's
submission or email address who submitted, I am just hoping that people
have it saved and can forward it to me.So far I only have 2 entries.
I would welcome anyone to submit a solution to it even if you didn't
submit one from before.

I think the idea is really cool and I don't want to see it die by the
wayside.

Kevin. 
_

From: Steve Nelson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 3:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Was anyone successful with this? I know mine worked on a bunch of mazes,
but
there were a couple weird ones with huge rooms that it didn't work on.

Kevin, can you send me the last version I sent to you guys? I'd like to
try
and fix any issues in my code.

Steve Nelson

_

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 11:33 AM
To: CF-Talk
Subject: ColdFusion Coding Contest

If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]

Kevin.

_
_

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Dave Watts
 Is this still true? I was inder the impression that since 
 CFMX compiles everything beforehand the performance gains 
 that you used to get with CFSCRIPT are no longer there. Am 
 I wrong about that?

It's been my experience that using CFSCRIPT never provided any significant
performance increase in any case.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tom Kitta
If you want people to re-submit + new people then how about new deadline for
submissions?

TK
-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 3:18 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Steve,

Here is the deal.I am not the person who originally started or handled
this.It was Tim Blair's idea and he was the one who got it going.The
problem is that we never found out the results, so after a few posts to
his blog, I decided to hijack the contest as Mike T. referred to it.I
am trying to collect any submissions and put them on a page so we can
see how each of us did it.So the answer is no, I don't have anyone's
submission or email address who submitted, I am just hoping that people
have it saved and can forward it to me.So far I only have 2 entries.
I would welcome anyone to submit a solution to it even if you didn't
submit one from before.

I think the idea is really cool and I don't want to see it die by the
wayside.

Kevin.
 _

From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 3:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Was anyone successful with this? I know mine worked on a bunch of mazes,
but
there were a couple weird ones with huge rooms that it didn't work on.

Kevin, can you send me the last version I sent to you guys? I'd like to
try
and fix any issues in my code.

Steve Nelson

 _

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:33 AM
To: CF-Talk
Subject: ColdFusion Coding Contest

If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]

Kevin.

 _
 _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Nathan Strutz
 It's been my experience that using CFSCRIPT never provided any significant
 performance increase in any case.
 

I disagree.

My tests:

the function queryRandomize() from DRK 4 (or was it 5?), I rewrote it, 
line-by-line (including comments!) and called it queryRandomizeCFML().

100,000 iterations of each try, randomizing a 1 column query with 20 
rows, time in ms, server is CFMX 6.1 standalone developer, 3 tries:

scripttags
1464026342
1471825983
1460926108

-nathan strutz
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Michael Dinowitz
That's very strange. While I did find some big differences in CFSCRIPT vs.
CFTAGS in earlier versions of CF, I have not seen such in CFMX. I'm going to
rerun my tests in the latest version to see how they run and also look at the
class files.
A perfect example of a change is that CFIF vs. IIF() in CF5 showed CFIF to be
much faster. In CFMX, they both compiled down to the same Java code and there
was no speed difference.

  It's been my experience that using CFSCRIPT never provided any significant
  performance increase in any case.
 

 I disagree.

 My tests:

 the function queryRandomize() from DRK 4 (or was it 5?), I rewrote it,
 line-by-line (including comments!) and called it queryRandomizeCFML().

 100,000 iterations of each try, randomizing a 1 column query with 20
 rows, time in ms, server is CFMX 6.1 standalone developer, 3 tries:

 scripttags
 1464026342
 1471825983
 1460926108


 -nathan strutz


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Dave Watts
  It's been my experience that using CFSCRIPT never provided 
  any significant performance increase in any case.
 
 I disagree.
 
 My tests:
 
 the function queryRandomize() from DRK 4 (or was it 5?), I 
 rewrote it, line-by-line (including comments!) and called it 
 queryRandomizeCFML().
 
 100,000 iterations of each try, randomizing a 1 column query 
 with 20 rows, time in ms, server is CFMX 6.1 standalone 
 developer, 3 tries:
 
 scripttags
 1464026342
 1471825983
 1460926108

I submit that your test provides insufficient data to justify that
conclusion.

First, running a single algorithm serially within a loop doesn't provide an
especially useful measurement of how that algorithm will work when executed
in parallel. I've seen all sorts of things that seem faster when measured
within a loop, but don't seem faster when measured by load testing - I've
even seen things that are slower when measured by load testing, even though
they were faster within a loop!

Second, you'd need to test more than one algorithm to contradict the general
statement about CFSCRIPT not providing any significant performance increase.
It may run faster when manipulating a query object, for example, but may be
slower for everything else.

Third, you're pointing out an approximate difference of three milliseconds
per request, which is practically immeasurable by CF (if I recall correctly,
CF can't accurately handle time increments smaller than 10 milliseconds). I
would question whether that's a significant performance increase, especially
given the second point above.

Finally, as with all these which is faster questions that come up, even if
you are correct in your supposition, the time savings you may get by doing
this is typically dwarfed by that gained by additional caching. I don't
think I've ever seen an application which has taken full advantage of every
caching opportunity. So, the question becomes whether you want to spend your
time optimizing your code based on your conception of what is faster within
a given version of CF, or whether you want to spend your time making your
application faster no matter what version of CF you use.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
Here is what I will do.After you submit your code and it works I will
give you a link to where you can see other peoples code and see how
other people did it (which was the intent of this hijacking).No
resubmission after that.Then how about on Friday, April 9th at
12pm(Eastern Time) all submissions are due.I don't want to drag this
on.I would rather start a new contest with a new idea.I just have to
think of one.

Kevin.

_

From: Tom Kitta [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 4:13 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

If you want people to re-submit + new people then how about new deadline
for
submissions?

TK
-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 3:18 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Steve,

Here is the deal.I am not the person who originally started or
handled
this.It was Tim Blair's idea and he was the one who got it going.
The
problem is that we never found out the results, so after a few posts
to
his blog, I decided to hijack the contest as Mike T. referred to it.
I
am trying to collect any submissions and put them on a page so we can
see how each of us did it.So the answer is no, I don't have anyone's
submission or email address who submitted, I am just hoping that
people
have it saved and can forward it to me.So far I only have 2 entries.
I would welcome anyone to submit a solution to it even if you didn't
submit one from before.

I think the idea is really cool and I don't want to see it die by the
wayside.

Kevin.
 _

From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 3:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Was anyone successful with this? I know mine worked on a bunch of
mazes,
but
there were a couple weird ones with huge rooms that it didn't work on.

Kevin, can you send me the last version I sent to you guys? I'd like
to
try
and fix any issues in my code.

Steve Nelson

 _

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:33 AM
To: CF-Talk
Subject: ColdFusion Coding Contest

If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]

Kevin.

 _
 _

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ColdFusion Coding Contest

2004-04-05 Thread Jim McAtee
- Original Message - 
From: Kazmierczak, Kevin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:59 AM
Subject: RE: ColdFusion Coding Contest

 http://tech.badpen.com/cfcontest/


I don't get it.What's the relevance of taking a text-book algorithm from
CS101 and coding it in CF?

Forget relevance.It's not even interesting.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Tom Kitta
Come on, that was top secret information. Now you taken my advantage edge
away from me ;o) I think it was csc350 through or something like that.

TK
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 8:06 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

- Original Message -
From: Kazmierczak, Kevin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:59 AM
Subject: RE: ColdFusion Coding Contest

 http://tech.badpen.com/cfcontest/


I don't get it.What's the relevance of taking a text-book algorithm from
CS101 and coding it in CF?

Forget relevance.It's not even interesting.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Jim Davis
Third, you're pointing out an approximate difference of three milliseconds
per request, which is practically immeasurable by CF (if I recall correctly,
CF can't accurately handle time increments smaller than 10 milliseconds). I
would question whether that's a significant performance increase, especially
given the second point above.


Just a note on this: the bug is basically that you never see value of 1-9 -
only 0, 10 or more than 10.(and I think it's actually an OS problem on
Windows, not a CF issue - can any Linux/Unix user confirm the bug on their
platform?)

After the 10 ms threshold is reached timings are accurate.

This is exactly the reason that you do may operations in a loop when testing
this stuff - you need to get things out of that initial 10ms gray area.
Basically any timings higher than 10 ms are trustworthy since it's not the
individual operations being timed but the interval between the reports.

All that being said I agree completely that 3 ms in an artificial test is
nothing to base a conclusion on - you'll never see a practical ramification
of the difference.

Jim Davis
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Jim Davis
Still - at least somebody's doing something fun.;^)

I used to do CF challenges at depressedpress.com but quickly ran out of
ideas - it's not as easy as it appears to come up with fresh material.

If you've got a better idea I'm sure everybody would love to give it a shot.

Jim Davis

_

From: Jim McAtee [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 8:06 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

- Original Message - 
From: Kazmierczak, Kevin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:59 AM
Subject: RE: ColdFusion Coding Contest

 http://tech.badpen.com/cfcontest/


I don't get it.What's the relevance of taking a text-book algorithm from
CS101 and coding it in CF?

Forget relevance.It's not even interesting.

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
You are entitled to your opinion but I think that coming up with some
sort of cf coding competition is interesting.I did not come up with
the original idea, but it seems to be a popular problem to solve
(Codewalkers php competition used it).You can use an algorithm and
solve it fairly easily, but there are always different ways to implement
it.Not everyone is aware of it either (many CF developers weren't CS
students).It also brings forward the idea of optimizing code to
achieve the fastest solution, for example this cfscript argument.If
you have a new idea for the next competition, feel free to share it with
me.

Kevin.

_

From: Jim McAtee [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 8:06 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

- Original Message - 
From: Kazmierczak, Kevin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:59 AM
Subject: RE: ColdFusion Coding Contest

 http://tech.badpen.com/cfcontest/


I don't get it.What's the relevance of taking a text-book algorithm
from
CS101 and coding it in CF?

Forget relevance.It's not even interesting.

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Philip Arnold
 From: Michael Dinowitz
 
 That's very strange. While I did find some big differences in 
 CFSCRIPT vs. CFTAGS in earlier versions of CF, I have not 
 seen such in CFMX. I'm going to rerun my tests in the latest 
 version to see how they run and also look at the class files. 
 A perfect example of a change is that CFIF vs. IIF() in CF5 
 showed CFIF to be much faster. In CFMX, they both compiled 
 down to the same Java code and there was no speed difference.

There is the one advantage to CFSCRIPT over tags

Readability

If you can read Script easier than reading tag based code, then use
Script

Simple, isn't it? g
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Michael T. Tangorre
Kaz, seing the word algorithm in a sentence from you made me think of our
college somputer science labs! The only algorithm I saw that was associated
with you was on the wall in the lab:

Kevin's get rich quick algorithm: Ask Dave, Got 2 10's for a 5? Repeat
until Rich.

To this day, the best algorithm I've seen.



 
 You are entitled to your opinion but I think that coming up with some
 sort of cf coding competition is interesting.I did not come up with
 the original idea, but it seems to be a popular problem to solve
 (Codewalkers php competition used it).You can use an algorithm and
 solve it fairly easily, but there are always different ways 
 to implement
 it.Not everyone is aware of it either (many CF developers weren't CS
 students).It also brings forward the idea of optimizing code to
 achieve the fastest solution, for example this cfscript argument.If
 you have a new idea for the next competition, feel free to 
 share it with
 me.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Michael T. Tangorre
 I don't get it.What's the relevance of taking a text-book 
 algorithm from
 CS101 and coding it in CF?
 
 Forget relevance.It's not even interesting.

Actually it is one of the best ways to not only learn, but learn a variety
of approaches to a single problem. A lot of the assignments we did in
college (Kevin and I went to college together) were not always interesting,
in fact some were down right boring, but the lessons you learn along with
being able to see different approaches to solving problems was the desired
result. We did problems like a water billing program in Fortran, which was
not very interesting, but definitely helped us learn some more concepts and
put them into practice. 

The idea behind the CF Coding contests are to do nothing more than give
people an opportunity to challenge themselves and eachother and hopefully
walk away knowing a little more then when they began; its all positive and
no one says you have to participate.

With that being said, anyone got suggestions for the next contest? :-)

Mike
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Barney Boisvert
 With that being said, anyone got suggestions for the next contest? :-) 

Back in my Intro to CS course, we did a version of the prisoner's dilemma
(http://pespmc1.vub.ac.be/PRISDIL.html) that was pretty fun.We each
implemented a person who could play in the game.All the solutions were
thrown into a pool.Then a group of 10 or so were pulled out.Random
pairings were made and the game was played on each pair.Repeat 10,000
times or so, and then get the next group from the pool.The winners of each
group (top1, top2, whatever) went into the next round's pool and it repeated
until the last round had a pool of 10 who duked it out for the championship.

Sounds stupid and simple, but it was really fascinating.The best solutions
(I finished in the top 10, but got slaughtered by the top 3) did some
amazing stuff with tracking probabilities across the competitors.

Cheers,
barneyb
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Michael T. Tangorre
That's a good idea! Keep em coming. 

 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
 Sent: Monday, April 05, 2004 9:22 PM
 To: CF-Talk
 Subject: RE: ColdFusion Coding Contest
 
  With that being said, anyone got suggestions for the next 
 contest? :-) 
 
 Back in my Intro to CS course, we did a version of the 
 prisoner's dilemma
 (http://pespmc1.vub.ac.be/PRISDIL.html) that was pretty fun.We each
 implemented a person who could play in the game.All the 
 solutions were
 thrown into a pool.Then a group of 10 or so were pulled out.Random
 pairings were made and the game was played on each pair.
 Repeat 10,000
 times or so, and then get the next group from the pool.The 
 winners of each
 group (top1, top2, whatever) went into the next round's pool 
 and it repeated
 until the last round had a pool of 10 who duked it out for 
 the championship.
 
 Sounds stupid and simple, but it was really fascinating.The 
 best solutions
 (I finished in the top 10, but got slaughtered by the top 3) did some
 amazing stuff with tracking probabilities across the competitors.
 
 Cheers,
 barneyb
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Matthew Walker
Well the diff algorithm is interesting. This is where the algorithm attempts
to markup differences between two documents. I tried it is CF and it worked
but was deadly slow. Would be neat to have a version that ran reasonably
quickly.

Another interesting idea might be a poetry / haiku generator. Or simulations
of simple things. E.g. I wrote a very basic and rather crappy text cat
simulator a while back. Had lots of ideas for version 2 (i.e. cats learn to
recognize different people, and respond based on whether people tend to feed
them, play with them, whatever.). Quite fun to do. :-)

I've often thought a text-based virtual forest where people come and plant
trees might be interesting..but not really a competition.

-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 6 April 2004 1:06 p.m.
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 I don't get it.What's the relevance of taking a text-book 
 algorithm from
 CS101 and coding it in CF?
 
 Forget relevance.It's not even interesting.

Actually it is one of the best ways to not only learn, but learn a variety
of approaches to a single problem. A lot of the assignments we did in
college (Kevin and I went to college together) were not always interesting,
in fact some were down right boring, but the lessons you learn along with
being able to see different approaches to solving problems was the desired
result. We did problems like a water billing program in Fortran, which was
not very interesting, but definitely helped us learn some more concepts and
put them into practice. 

The idea behind the CF Coding contests are to do nothing more than give
people an opportunity to challenge themselves and eachother and hopefully
walk away knowing a little more then when they began; its all positive and
no one says you have to participate.

With that being said, anyone got suggestions for the next contest? :-)

Mike

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Eric Dawson
mathlab (I think) has a coding contest - but all entries are open source -
right up until the deadline. You can submit and test as many entries as you
think required. Current leaders are stored on a leader board with download
links. Once you submit and test an entry the code is available for download
by someone else.

Eric

_

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: April 5, 2004 2:18 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Steve,

Here is the deal.I am not the person who originally started or handled
this.It was Tim Blair's idea and he was the one who got it going.The
problem is that we never found out the results, so after a few posts to
his blog, I decided to hijack the contest as Mike T. referred to it.I
am trying to collect any submissions and put them on a page so we can
see how each of us did it.So the answer is no, I don't have anyone's
submission or email address who submitted, I am just hoping that people
have it saved and can forward it to me.So far I only have 2 entries.
I would welcome anyone to submit a solution to it even if you didn't
submit one from before.

I think the idea is really cool and I don't want to see it die by the
wayside.

Kevin. 
_

From: Steve Nelson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 3:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Was anyone successful with this? I know mine worked on a bunch of mazes,
but
there were a couple weird ones with huge rooms that it didn't work on.

Kevin, can you send me the last version I sent to you guys? I'd like to
try
and fix any issues in my code.

Steve Nelson

_

From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 11:33 AM
To: CF-Talk
Subject: ColdFusion Coding Contest

If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]

Kevin.

_
_

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ColdFusion Coding Contest

2004-04-05 Thread Matt Liotta
http://windowsxp.devx.com/PD/articles/overview.asp

-Matt

On Apr 5, 2004, at 9:29 PM, Michael T. Tangorre wrote:

 That's a good idea! Keep em coming.

 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 05, 2004 9:22 PM
 To: CF-Talk
 Subject: RE: ColdFusion Coding Contest

  With that being said, anyone got suggestions for the next
 contest? :-)

 Back in my Intro to CS course, we did a version of the
 prisoner's dilemma
 (http://pespmc1.vub.ac.be/PRISDIL.html) that was pretty fun.  We 
 each
 implemented a person who could play in the game.  All the
 solutions were
 thrown into a pool.  Then a group of 10 or so were pulled 
 out.  Random
 pairings were made and the game was played on each pair.  
 Repeat 10,000
 times or so, and then get the next group from the pool.  The
 winners of each
 group (top1, top2, whatever) went into the next round's pool
 and it repeated
 until the last round had a pool of 10 who duked it out for
 the championship.

 Sounds stupid and simple, but it was really fascinating.  The
 best solutions
 (I finished in the top 10, but got slaughtered by the top 3) did 
 some
 amazing stuff with tracking probabilities across the competitors.

 Cheers,
 barneyb
 



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Eric Dawson
 I don't get it.

mine will run faster than yours.

_

From: Jim McAtee [mailto:[EMAIL PROTECTED] 
Sent: April 5, 2004 7:06 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

- Original Message - 
From: Kazmierczak, Kevin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:59 AM
Subject: RE: ColdFusion Coding Contest

 http://tech.badpen.com/cfcontest/


I don't get it.What's the relevance of taking a text-book algorithm from
CS101 and coding it in CF?

Forget relevance.It's not even interesting.

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Eric Dawson
http://www.itasoftware.com/careers/eng/job1.php

or

http://www.itasoftware.com/careers/programmers-archive.php

if you can adequately solve the problem. you can get a job with ITA.


Palindromic Pangram

A palindrome is a sequence of words like lid off a daffodil or shallot
ayatollahs that uses the same letters reading backwards as forwards. The
words need not form a meaningful or grammatical sentence. 

A palindromic pangram is a multi-word palindrome that includes all 26
letters of the alphabet. Write a program to find a palindromic pangram. Use
this dictionary: WORD.LST http://www.itasoftware.com/careers/WORD.LST
(1.66MB).
Bonus: find the shortest possible such palindrome in terms of the total
number of words or letters used.



Queens  Knights

In 1850, Carl Friedrich Gauss and Franz Nauck showed that it is possible to
place eight queens on a chessboard such that no queen attacks any other
queen. The problem of enumerating the 92 different ways there are to place 8
queens in this manner has become a standard programming example, and people
have shown that it can be solved using many different search techniques. 

Now consider a variant of this problem: you must place an equal number of
knights and queens on a chessboard such that no piece attacks any other
piece. What is the maximum number of pieces you can so place on the board,
and how many different ways can you do it?



_

From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: April 5, 2004 8:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 I don't get it.What's the relevance of taking a text-book 
 algorithm from
 CS101 and coding it in CF?
 
 Forget relevance.It's not even interesting.

Actually it is one of the best ways to not only learn, but learn a variety
of approaches to a single problem. A lot of the assignments we did in
college (Kevin and I went to college together) were not always interesting,
in fact some were down right boring, but the lessons you learn along with
being able to see different approaches to solving problems was the desired
result. We did problems like a water billing program in Fortran, which was
not very interesting, but definitely helped us learn some more concepts and
put them into practice. 

The idea behind the CF Coding contests are to do nothing more than give
people an opportunity to challenge themselves and eachother and hopefully
walk away knowing a little more then when they began; its all positive and
no one says you have to participate.

With that being said, anyone got suggestions for the next contest? :-)

Mike

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ColdFusion Coding Contest

2004-04-05 Thread Rizal Firmansyah
Kevin,
just curious... is this contest still open?

And are we allowed to play this in god's mode?
You know...
solve it by looking at the whole maze, instead of thinking like the mouse 
inside (which can only go U,D,L,R).
And then backtrack the solution to give the right direction (U,D,L,R)?

Rizal

At 10:33 PM 4/5/2004, you wrote:
If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]


Kevin.

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todayshttp://www.houseoffusion.com/lists.cfm/link=t:4 
Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:158882Thishttp://www.houseoffusion.com/lists.cfm/link=i:4:158882 
Message] [http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1949.4Fasthttp://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1949.4 
Unsubscribe] 
[http://www.houseoffusion.com/signin/Userhttp://www.houseoffusion.com/signin/ 
Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=40
1be3985.jpg

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
Contest is still open until Friday April 9th, at 12:00pm EST.You can
solve it any way you would like.Just understand you are looking for
the shortest path, not just any path.

Kevin.

_

From: Rizal Firmansyah [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 10:10 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

Kevin,
just curious... is this contest still open?

And are we allowed to play this in god's mode?
You know...
solve it by looking at the whole maze, instead of thinking like the
mouse 
inside (which can only go U,D,L,R).
And then backtrack the solution to give the right direction (U,D,L,R)?

Rizal

At 10:33 PM 4/5/2004, you wrote:
If anyone submitted their code to the CF coding contest we had a while
back ago in January would like to submit their code to me, I am in the
process of putting all of our code together so we can at least see how
each of us did it.Feel free to send them to [EMAIL PROTECTED]


Kevin.

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todayshttp://www.hou
seoffusion.com/lists.cfm/link=t:4 
Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:158882Thishttp://ww
w.houseoffusion.com/lists.cfm/link=i:4:158882 
Message]
[http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1949.
4Fasthttp://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=2029.1
949.4 
Unsubscribe] 
[http://www.houseoffusion.com/signin/Userhttp://www.houseoffusion.co
m/signin/ 
Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=40
1be3985.jpg


_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Kazmierczak, Kevin
I like all the suggestions so far.I will put something together for a
new contest after I am done messing around with this one.

Kevin

_

From: Eric Dawson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 9:54 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

http://www.itasoftware.com/careers/eng/job1.php

or

http://www.itasoftware.com/careers/programmers-archive.php

if you can adequately solve the problem. you can get a job with ITA.

Palindromic Pangram

A palindrome is a sequence of words like lid off a daffodil or
shallot
ayatollahs that uses the same letters reading backwards as forwards.
The
words need not form a meaningful or grammatical sentence. 

A palindromic pangram is a multi-word palindrome that includes all 26
letters of the alphabet. Write a program to find a palindromic pangram.
Use
this dictionary: WORD.LST http://www.itasoftware.com/careers/WORD.LST
(1.66MB).
Bonus: find the shortest possible such palindrome in terms of the total
number of words or letters used.

Queens  Knights

In 1850, Carl Friedrich Gauss and Franz Nauck showed that it is possible
to
place eight queens on a chessboard such that no queen attacks any other
queen. The problem of enumerating the 92 different ways there are to
place 8
queens in this manner has become a standard programming example, and
people
have shown that it can be solved using many different search techniques.

Now consider a variant of this problem: you must place an equal number
of
knights and queens on a chessboard such that no piece attacks any other
piece. What is the maximum number of pieces you can so place on the
board,
and how many different ways can you do it?

_

From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: April 5, 2004 8:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

 I don't get it.What's the relevance of taking a text-book 
 algorithm from
 CS101 and coding it in CF?
 
 Forget relevance.It's not even interesting.

Actually it is one of the best ways to not only learn, but learn a
variety
of approaches to a single problem. A lot of the assignments we did in
college (Kevin and I went to college together) were not always
interesting,
in fact some were down right boring, but the lessons you learn along
with
being able to see different approaches to solving problems was the
desired
result. We did problems like a water billing program in Fortran, which
was
not very interesting, but definitely helped us learn some more concepts
and
put them into practice. 

The idea behind the CF Coding contests are to do nothing more than give
people an opportunity to challenge themselves and eachother and
hopefully
walk away knowing a little more then when they began; its all positive
and
no one says you have to participate.

With that being said, anyone got suggestions for the next contest? :-)

Mike

_

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]