RE: Session variables not working

2012-02-28 Thread Rick Faircloth
Thanks for that reminder... it's been years since I've even used cflocation! My how knowledge, unused, is fleeting... -Original Message- From: Azadi Saryev [mailto:azadi.sar...@gmail.com] Sent: Monday, February 27, 2012 9:20 PM To: cf-talk Subject: Re: Session variables not working In

RE: Session variables not working

2012-02-28 Thread Rick Faircloth
I normally use an application.cfc, but this was just a quick proof-of-concept that I threw together to test something. -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: Monday, February 27, 2012 10:56 PM To: cf-talk Subject: Re: Session variables not working

RE: Session variables not working

2012-02-28 Thread Rick Faircloth
Thanks, Jay! Rick -Original Message- From: Jay Pandya [mailto:jaypandy...@gmail.com] Sent: Tuesday, February 28, 2012 12:49 AM To: cf-talk Subject: Re: Session variables not working Hi Rick, When you are using session variables and you want to get its value in other page

Remove all CF comments

2012-02-28 Thread Chad Baloga
Are there any programs out there that will remove all CF comments from your code?? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Remove all CF comments

2012-02-28 Thread J.J. Merrick
You can just do a find/replace with CFBuilder. It allows for wildcards so just do !---*--- and replace it with -J.J. On Tue, Feb 28, 2012 at 6:57 AM, Chad Baloga cbal...@gmail.com wrote: Are there any programs out there that will remove all CF comments from your code??

Re: Remove all CF comments

2012-02-28 Thread Michael Stemle
This is a pretty simple task to script, but why would one wish to remove all comments? That seems like a poor practice. -- ~ Mike Stemle, Jr. On Feb 28, 2012, at 6:57, Chad Baloga cbal...@gmail.com wrote: Are there any programs out there that will remove all CF comments from your code??

Re: Remove all CF comments

2012-02-28 Thread Casey Dougall - Uber Website Solutions
On Tue, Feb 28, 2012 at 8:16 AM, Michael Stemle themanchic...@gmail.comwrote: This is a pretty simple task to script, but why would one wish to remove all comments? That seems like a poor practice. because code should be self explanatory hahaha.

Re: Remove all CF comments

2012-02-28 Thread Raymond Camden
When you arrive in Heaven with all the perfect code,please send us a postcard. ;) On Tue, Feb 28, 2012 at 7:54 AM, Casey Dougall - Uber Website Solutions ca...@uberwebsitesolutions.com wrote: On Tue, Feb 28, 2012 at 8:16 AM, Michael Stemle themanchic...@gmail.comwrote: This is a pretty

Re: Remove all CF comments

2012-02-28 Thread James Holmes
Try TDD. The unit tests express the design for the code; comments are therefore unnecessary. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 28 February 2012 22:04, Raymond Camden raymondcam...@gmail.com wrote: When you arrive in Heaven with all the perfect code,please send

Re: column page layout

2012-02-28 Thread Claude Schnéegans
I think you can use 2 column layout html template Using Dreamweaver Well, I suppose that it is simply some table in which one can fill in some text by hand. I know haow to designe a two column page in HTML, the problem is to have it automatically generated from a database. What I was thinking

Re: Remove all CF comments

2012-02-28 Thread Michael Stemle
This reminds me of the time that Ruby's developers told me that unit tests obsoleted debuggers. This is silliness. Until unit tests can convey developer intent, comments will remain useful. On Tue, Feb 28, 2012 at 08:16, James Holmes james.hol...@gmail.com wrote: Try TDD. The unit tests

Re: Remove all CF comments

2012-02-28 Thread Michael Dinowitz
The realistic problem that you'll find in this is nested comments. You can't just delete anything between !--- and --- as you don't know what is actually within that range. I use a regex that tests for how deep the comments in an application goes. Then I use another set to remove nested blocks

Re: how deeply nested are your code comments?

2012-02-28 Thread Matt Quackenbush
Based upon what I have seen, I would say that legit comments inside of commented-out code is extremely common. On Tue, Feb 28, 2012 at 11:03 AM, Michael Dinowitz mdino...@houseoffusion.com wrote: I know that we all remove unused code and don't comment it out. I know we all use best

how deeply nested are your code comments?

2012-02-28 Thread Michael Dinowitz
I know that we all remove unused code and don't comment it out. I know we all use best practices in commenting code. Lets assume you were working on someone elses application that did not do these things and had comments in their code comments. How deeply nested have you seen comments on average?

Re: Arabic / Other languages POI Excel Writing

2012-02-28 Thread Leigh
Are you sure it is a problem with the cfc? The first thing to check is whether your data is stored properly as unicode. If you output the characters on screen, do they display properly? I have never used cfHSSF, but all three (cfHSSF, POUtitlity and cfspreadsheet) use POI internally. So the

RE: Arabic / Other languages POI Excel Writing

2012-02-28 Thread IT (Pradeep Viswanathan)
I would not say it is the CFC, rather I would say it's POI or I should Unicode the data before sending it to POI. I am using CF8 , will test it out on different version and get back. Also noticed that this issue also exists if use a cfheader with excel, will post some samples in the morning

Re: how deeply nested are your code comments?

2012-02-28 Thread Mike Kear
If I had to change something temporarily by commenting it out, I'd be wanting to leave any comments in the code. That way, if i ended up UNcommenting it again, the restored routine would still have the comments in it.If that segment of code is permanently disabled, I'd probably remove it,

Re: Remove all CF comments

2012-02-28 Thread James Holmes
Really good tests and self explanatory code do exactly that. Any code that isn't self explanatory is too complex and needs to be re-factored. Code that's so obscure that it needs a comment is silliness. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 28 February 2012 23:32,

Re: Remove all CF comments

2012-02-28 Thread Michael Stemle
We are in disagreement. Some of us actually use comments as a way of planning and maintaining our code. This is coming across as religious belief or trolling, not actual development or engineering. If we continue I'm virtually certain we will break out into an argument on tabs versus spaces

Re: how deeply nested are your code comments?

2012-02-28 Thread James Holmes
Yes, I've seen code commented out with commented out code in it. Steps to fix: 1) Commit to Git 2) Delete everything that's been commented out. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 29 February 2012 01:03, Michael Dinowitz mdino...@houseoffusion.comwrote: I know

Re: Remove all CF comments

2012-02-28 Thread Brian Thornton
It hasn't been said but with eclipse these become more than breadcrumbs. the TODO: comment allows for task tracking of left overs also. On Tue, Feb 28, 2012 at 7:45 PM, Michael Stemle themanchic...@gmail.com wrote: We are in disagreement. Some of us actually use comments as a way of planning

Re: Remove all CF comments

2012-02-28 Thread Bryan Stevenson
tabs inserted as 2 spaces ;-) On Tue, 2012-02-28 at 18:45 -0600, Michael Stemle wrote: We are in disagreement. Some of us actually use comments as a way of planning and maintaining our code. This is coming across as religious belief or trolling, not actual development or engineering. If we

Re: Remove all CF comments

2012-02-28 Thread Matt Quackenbush
C'mon, doods and doodettes. Will someone just step up and say it the way it really is? Bah, no one else will, so here goes. Anyone that puts comments in their code OR writes/generates/runs unit tests for their code is obviously a complete ID10T wannabe. Real programmers drink beer, watch

Show me some CF Photos

2012-02-28 Thread Brian Thornton
Back in the day (it was a tuesday i think) Mike and Judith had the idea to let us HOF users upload a photo of our fugly mug selfs... I thought this would be a reminder that all should feel welcome to do so at http://www.houseoffusion.com/users/

Re: Remove all CF comments

2012-02-28 Thread Michael Stemle
Well played :) -- ~ Mike Stemle, Jr. On Feb 28, 2012, at 18:59, Bryan Stevenson br...@electricedgesystems.com wrote: tabs inserted as 2 spaces ;-) On Tue, 2012-02-28 at 18:45 -0600, Michael Stemle wrote: We are in disagreement. Some of us actually use comments as a way of planning

Re: Remove all CF comments

2012-02-28 Thread James Holmes
Those using comments to plan code probably don't have any tests. Tests are essential to allow re-factoring with confidence; comments don't provide that benefit. This is not a religious belief, it's something that can be demonstrated the first time you want to maintain a 1500 line file and all

Re: Remove all CF comments

2012-02-28 Thread Michael Stemle
In properly designed code you don't have 1500-line files. Now that I've made my ridiculous assertion can we please move on? This is just silly, and there is no actual reason behind your assertion, merely an arrogant assertion that you know how everyone else's applications are written, and

Re: Show me some CF Photos

2012-02-28 Thread Raymond Camden
Maybe some of us _shouldn't_ be seen. ;) On Tue, Feb 28, 2012 at 7:12 PM, Brian Thornton br...@cfdeveloper.com wrote: Back in the day (it was a tuesday i think) Mike and Judith had the idea to let us HOF users upload a photo of our fugly mug selfs... I thought this would be a reminder that

Re: Show me some CF Photos

2012-02-28 Thread Michael Dinowitz
A section of the site that has not been touched in ages and has a broken control or two. Looks like something to be fixed right after my nested comments removal article. Fun On Tue, Feb 28, 2012 at 8:12 PM, Brian Thornton br...@cfdeveloper.com wrote: Back in the day (it was a tuesday i think)

Re: Remove all CF comments

2012-02-28 Thread James Holmes
And TDD is the easiest way to cover the re-factoring necessary to prevent 1500 line files from turning up. It's also the easiest way to come up with the good designs that are equally as necessary. Dev shops who've implemented TDD can and do easily measure the improvement in code quality

Re: Remove all CF comments

2012-02-28 Thread James Holmes
I should also have added, tests *are* the documentation. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 29 February 2012 09:48, Michael Stemle themanchic...@gmail.com wrote: Tests are great, useful, and absolutely vital to modern development practice... but they are a poor

Re: Remove all CF comments

2012-02-28 Thread Michael Stemle
You're a condescending troll, and I'm done here. Have a great day. -- ~ Mike Stemle, Jr. On Feb 28, 2012, at 21:56, James Holmes james.hol...@gmail.com wrote: And TDD is the easiest way to cover the re-factoring necessary to prevent 1500 line files from turning up. It's also the easiest

Re: Show me some CF Photos

2012-02-28 Thread Paul Hastings
On 2/29/2012 9:37 AM, Raymond Camden wrote: Maybe some of us _shouldn't_ be seen. ;) you mean like these? http://twitpic.com/2y6t25 http://twitpic.com/2y3f1d - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4840 - Release Date:

Re: CFDeveloper.com

2012-02-28 Thread Phillip Vector
Well.. I'm up in the air about this.. After all, it's a job list and it is CF jobs.. So.. it's useful.. kind of.. :) On Tue, Feb 28, 2012 at 5:59 PM, RobG snarfb...@yahoo.com wrote: Yes.  I've blocked him on Twitter because he's doing the same crap there too.  I'm about to setup an email

Re: CFDeveloper.com

2012-02-28 Thread Brian Thornton
Rob- There's nothing going on twitter. Jobs I don't bid on I pass along. What are you talking about? On Tue, Feb 28, 2012 at 8:59 PM, RobG snarfb...@yahoo.com wrote: Yes.  I've blocked him on Twitter because he's doing the same crap there too.  I'm about to setup an email filter as well.

Re: CFDeveloper.com

2012-02-28 Thread Brian Thornton
Rob- So we are clear there are 400+ unfilled CF jobs. I'm not a recruiter and after taking from the community mostly for the 14 or so years I think passing along the good ones would help many people looking for work. But I say to you Rob, if you don't want jobs emails, why don't you drop off?