Dan Wilson
Member since Dec 11, 2008
- Profile: /members/2189-dan-wilson.htm
- URL: http://nodans.com
- Comments: 36
Recent Blog Comments By Dan Wilson
-
Code Golf: 2014 In ColdFusion
Posted on Jan 6, 2014 at 3:17 PM
Here's another one: <cfset Code = "Golf" /> <cfoutput> #Find('o', Code)##Find('x', Code)##Find('G', Code)##Find('f', Code)# </cfoutput>... read more »
-
Is It Time For "Practical" Object Oriented Programming (OOP)?
Posted on Mar 30, 2009 at 10:42 AM
Ben, You need a hug buddy :) Procedural programming is rather simple. As long as the process works, then the design is successful. Object Oriented designs are a little looser and there are many more opinions and guidelines on OO than on procedural programming. After all, there is no "Head First Sp... read more »
-
ColdFusion SESSION Is Always Created Even If OnSessionStart() Fails
Posted on Mar 19, 2009 at 10:29 AM
@Ben, Good question. I expect that is because session is controlled at a lower level than the ColdFusion tier. I do not have any real information about it though and agree it is a curiosity for the ages! DW... read more »
-
ColdFusion SESSION Is Always Created Even If OnSessionStart() Fails
Posted on Mar 19, 2009 at 10:16 AM
Maybe they should have named it onSessionAlreadyStarted() for additional clarity.... read more »
-
Simon Free Leads The Way
Posted on Sep 29, 2008 at 10:23 AM
Indeed. Simon is a quality guy and he has an emphasis on continual excellence. Congrats to Simon and his team for pulling together and making it happen. DW... read more »
-
"It Depends" vs. "Fact With Exceptions"
Posted on Aug 18, 2008 at 3:27 PM
Sometimes (like with your form validation problem) I say It Depends because there are good reasons for doing it in several ways, but the one I would go with depends on all the elements in the equasion. For example, in your dilemma about putting save on the 'smart bean' vs the service, I might be pe... read more »
-
A New Wrist Pain
Posted on Aug 18, 2008 at 11:04 AM
Jason, #1) Western Medicine is not all knowing. It isn't even close. Medicine is a continual refactoring of knowledge into improving care. It is certainly not a 'finish line' to cross. So my points are separate. While I might have been careless with my wording, I am not using one point to make the ... read more »
-
A New Wrist Pain
Posted on Aug 18, 2008 at 10:24 AM
Re: Acupuncture... On one hand, I can embrace the point that there is no substantive proof acupuncture works. Western Medicine is based on scientific and peer review. Much diligence and effort is expended to ensure efficacy and predictability in outcomes. On the other hand, 'Western Medicine' is t... read more »
-
OOPhoto - Embrace Failure Or Optimize My Domain?
Posted on Jul 31, 2008 at 10:18 AM
The punishment should fit the crime. Often, when we complain about the performance penalties of writing pure OO in ColdFusion, we talk about scalability issues and with overhead. Honestly, and no offense intended, your photo viewer application will NEVER run into scalability problems. You aren't t... read more »
-
OOPhoto - Simple Service Objects In Place
Posted on Jul 21, 2008 at 11:57 AM
I like the direction this is moving. The reality check piece is a nice touch also and will provide some good points for conversation. Keep up the thorough reporting on your progress. DW... read more »
-
OOPhoto - Modeling The Domain In Steps (Round IV)
Posted on Jul 15, 2008 at 2:24 PM
I want to be able to deadlift 585 pounds. I saw a bunch of people at the gym doing it and it looks easy. Load up 12 plates on the bar and just lift... Why bother to take it a step at a time, I told myself. I don't want to lift just 200 pounds so why bother. I want to lift 585 so thats what I did. ... read more »
-
OOPhoto - Modeling The Domain In Steps (Round IV)
Posted on Jul 15, 2008 at 11:07 AM
Ben, I hear what you are saying man, I really do. I'm just making the point that you might be struggling with too much unknowns right now. The danger is getting caught in an endless thought loop. Does this cart come before the horse? What is a cart? What is a horse? If a cart is behind a horse, ... read more »
-
OOPhoto - Modeling The Domain In Steps (Round IV)
Posted on Jul 15, 2008 at 10:36 AM
Ben, I feel your pain. Modeling is hard and annoying at times. Sometimes the best thing you can do is to go ahead and bang out a section the fastest way possible, and once you have it working, refactor it into OO. Sometimes, when I am on a rapid development phase, I start with a CFM page, put a... read more »
-
OOPhoto - Modeling The Domain In Steps (Round I)
Posted on Jul 10, 2008 at 11:40 AM
Ben, A few general comments. 1) You are using 'get' an awful lot in your method names which is often a symptom of looking at your objects as nothing more than data. Object Orientation is more about modeling behaviour than about getting data. From looking at your initial spec, it looks like in som... read more »
-
Don't Be Lazy, Be Proud
Posted on Jan 10, 2008 at 12:49 PM
I understand what people are referring to when they claim to be 'Lazy'. It is said with reverence, almost like a badge of honor. Taken in context, it represents a programmer who is thinking forward and making decisions that will create the best software with the least amount of rote effort. That be... read more »
-
My 1,000th Blog Post - Cool Milestone
Posted on Oct 18, 2007 at 5:12 PM
Make that the second commenter please. DW... read more »
-
Project HUGE: A Bad Week In Eating
Posted on Sep 23, 2007 at 6:06 PM
I can certainly get behind whatever measures you need to utilize to maintain self control, a lost art amongst our fellow americans. I definitely think fluctuations below 5% of body weight are normal though and probably the only time one should pay attention to these minor fluctuations are when cutt... read more »
-
SQL User Defined Functions Are Slower Than Inline Logic
Posted on Sep 21, 2007 at 4:02 PM
Assembly is faster than CF **Grabs Pie and throws** DW... read more »
-
IE Has Correct Box Model In Standards Compliant Mode
Posted on Sep 14, 2007 at 11:27 AM
I applaud the moves towards standard compliance by MicroSoft. I applaud more the moves to get a common platform without quirks! Long Live Flex! Long Live AIR. DW... read more »
-
New ColdFusion Error: Form Entries Incomplete Or Invalid
Posted on Jun 12, 2007 at 10:17 AM
Yeah, there are a few of those that trigger the autovalidation. Like _required for example. We should have asked for an application-wide setting to disable that 'feature'. I haven't seen anyone actually use the convention validation, I have seen folks spend a lot of time trying to diagnose the res... read more »