Community Member Profile
- Profile: /members/386-Larry-C-Lyons.htm
- Comments: 21
- Points: 160
Recent Blog Comments By Larry C. Lyons
-
Flourish: A Visionary New Understanding Of Happiness And Well-Being By Martin Seligman
Posted on Jul 22, 2011 at 9:47 AM
RIACon being that close slammed me too. I thought the same about the date. From what I remember it was initially announced for around the end of August. I wonder what was the reason for the date change.... read more »
-
Flourish: A Visionary New Understanding Of Happiness And Well-Being By Martin Seligman
Posted on Jul 20, 2011 at 11:05 AM
Well ben if you're going to be at RIACon on August 6-7 you may be able to. Martin Seligman is a former president of the American Psychological Association. The 2011 APA Annual Convention runs from Aug. 4-7 in Washington, D.C., so Seligman may be giving some talks during that time. Its an id... read more »
-
Flourish: A Visionary New Understanding Of Happiness And Well-Being By Martin Seligman
Posted on Jul 14, 2011 at 7:57 AM
I had the fortune to meet Dr. Seligman during my grad student career at the APA annual conference in the late 90's. What you describe is about the best way to do psych experiments following Cook and Campbell's design guidelines. Unfortunately its difficult to pull off properly, especially when yo... read more »
-
Flourish: A Visionary New Understanding Of Happiness And Well-Being By Martin Seligman
Posted on Jun 29, 2011 at 4:24 PM
Martin Seligman is a very interesting scientist. You read his research on learned helplessness in intro psych and in your first course in learning theory. But those brief discussions give absolutely no indication of the sheer elegance of his experimental designs. As for flow, that's only e... read more »
-
What If ColdFusion Recognized More Truthy / Falsey Values
Posted on Mar 25, 2011 at 2:55 PM
@henrique There is reason for using the len(trim()) or len() type of evaluation. Evaluating a boolean or a number is much more efficient and faster than doing an string evaluation like <cfif string neq "">.... read more »
-
What If ColdFusion Recognized More Truthy / Falsey Values
Posted on Mar 25, 2011 at 12:39 PM
A minor quibble Ben, in this section: # ( # isSimpleValue( arguments.value ) && # !len( arguments.value ) # ) only works if the simple value is truly empty. What about when there is a space or similar value? For most practical purposes a value with an space is a... read more »
-
OOPhoto - A Painful Transition To Object-Based Controllers
Posted on Feb 3, 2011 at 4:23 PM
@will-i-am I'd look at something much simple Framework/1 - http://fw1.riaforge.org/. I think you'll find it to be much easier to learn OO in a CF context. From the site: -- FW/1 - Framework One - leverage... read more »
-
Appending One Array To Another With ArrayAppendAll() In ColdFusion
Posted on Nov 19, 2010 at 4:46 PM
You know Ben, CF underlying Java core works better for this. ColdFusion arrays are actually an implementation of java list (java.util.List). So all the java list methods can easily be used with CF. So to merge two arrays (which is essentially what you're doing) use the list.addAll() method.
read more » -
JRUN Servlet Error: coldfusion.runtime.CfJspPage.bindImportPath
Posted on Jun 25, 2010 at 4:08 PM
Don't know whether this will help, but my colleague Mike Henke has been exploring having multiple cf flavours running on JRun. His blog may help: http://www.henke.ws/post.cfm/multiple-coldfusion-version-and-engines-on-adobe-coldfusion-with-jrun That said you may want to dump JRun entir... read more »
-
My Company, Epicenter Consulting, Is Looking For ColdFusion Developers
Posted on Jun 25, 2010 at 3:39 PM
Um Ben I was curious about the interface driven architecture idea. So I clicked on your link. There was nothing there just a placeholder page. Could you give some more information about your interface driven architecture idea. from the sounds of it, its similar to an approach I've uses for a whil... read more »
-
The Same CFID-CFTOKEN Values Are Used Across ColdFusion Session Timeouts
Posted on Mar 25, 2009 at 4:08 PM
Couldn't you also use a database to store client data? That would be much more secure than a cookie. From what I remember CF5 does let you use the db to store client dat.. Another idea would be to use browser session-only cookies which would be deleted as soon as the browser is closed.... read more »
-
Ask Ben: Parsing CSV Strings With Javascript Exec() Regular Expression Command
Posted on Feb 20, 2009 at 12:29 PM
> @Larry, > Thanks for helping me debug! I guess when I do an AJAX post > vs. a standard FORM post the line breaks come through > differently (even though they are both "POST" actions). Any time Ben. Good to know you got things working again (of course until I... read more »
-
Ask Ben: Parsing CSV Strings With Javascript Exec() Regular Expression Command
Posted on Feb 19, 2009 at 4:12 PM
it looks like the blog app doesn't like returns, lets try that again<br/><br/> From my reading the split() function can take either a regex or a simple string. given your string <br/><br/>website "content approval" new<br/><br/> You'd want to to use " as the de... read more »
-
Ask Ben: Parsing CSV Strings With Javascript Exec() Regular Expression Command
Posted on Feb 19, 2009 at 4:09 PM
From my reading the split() function can take either a regex or a simple string. given your string website "content approval" new You'd want to to use " as the delimiter. Then your resulting array would be website content approval new The only difficult part would be parsing the delimiter, th... read more »
-
Ask Ben: Parsing CSV Strings With Javascript Exec() Regular Expression Command
Posted on Feb 19, 2009 at 11:07 AM
Couldn't you use the javascript .split() function here to break up the string into an array? It seems much simpler than the regex you suggested. just an idea. larry... read more »
-
Ewwww - Watching Olympics On NBC.com Requires Microsoft Silverlight
Posted on Aug 20, 2008 at 10:43 PM
@robi Except for MS's Mac business unit, I have seen nothing resembling any passion for either M$ or NBC for the last 10 years or so. When the accoutants are making the creative decisions, it seems to me that the company is about to tank. Maybe not immediately, but unless there is an intellectual... read more »
-
Ewwww - Watching Olympics On NBC.com Requires Microsoft Silverlight
Posted on Aug 20, 2008 at 2:57 PM
@rob "Color me nutty, but isn't the point of a broadcast company supposed to be to broadcast to as many people as possible?" I think that NBC's idea is to make as much money as possible. Broadcast t as many people as possible. What do you think NBC is? PBS? I imagine that N... read more »
-
OOPhoto - A Painful Transition To Object-Based Controllers
Posted on Jul 24, 2008 at 10:44 AM
but to answer your question, yes those variables would be exposed to the entire CFC.... read more »
-
OOPhoto - A Painful Transition To Object-Based Controllers
Posted on Jul 24, 2008 at 10:43 AM
@Ben, Here's what you're doing: # <cffunction # name="Execute" # access="public" # returntype="void" # output="false" # hint="I handle the page flow for this section."> # # <!--- Check to see what our next action should be. ---> #... read more »
-
OOPhoto - A Painful Transition To Object-Based Controllers
Posted on Jul 24, 2008 at 10:08 AM
Just a small comment. You may not want to do a cfinclude from within a function. It causes any local function variables to be automatically copied into the variables scope, basically the "instance" scope of the CFC. You can see all the problems this would create. That said, if you are using an in... read more »



