Skip to main content

ElKlaaso

Member since Feb 10, 2011

Recent Blog Comments By ElKlaaso

  • An Experiment In Passing Variables Into A CFThread Tag By Reference

    Posted on Oct 25, 2012 at 7:22 PM

    This one works: <cfset var tunnel = {}> <cfset tunnel.set = createObject("java","java.util.HashSet").init()> <cfset tunnel.set.add(local)> <cfthread name="somethread" action="run" tunnel="#tunnel#"> <cfset superLocal =a... read more »

  • An Experiment In Passing Variables Into A CFThread Tag By Reference

    Posted on Oct 25, 2012 at 5:27 PM

    Hi, This is not a solution for passing the local scope. But i think most often you can make shared data instance data. But what i often do in javascript when i pass a function to another function to be called later is this (pseudo) var that = this; f1(f2{that.whatever=1}); Do let a thread be abl... read more »

  • ColdFusion CreateObject() vs. Java NewInstance()

    Posted on Feb 10, 2011 at 8:40 AM

    There might be 2 things making that the test results are not faster for newInstance: - the newInstance method is called on a java proxy. Which might wrap the new instance anyway, just like createobject. - The random name adding could be slower then creating objects, therefore it could mask the spe... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel