Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2011 (Minneapolis, MN) with: Barney Boisvert

Josh Olson

Member since Dec 11, 2008

Recent Blog Comments By Josh Olson

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Mar 2, 2012 at 9:05 PM

    I've been using Railo professionally for a while now. Railo arrays are passed by reference, always. ArrayNew: https://github.com/getrailo/railo/blob/master/railo-java/railo-core/src/railo/runtime/functions/arrays/ArrayNew.java ArrayImpl: https://github.com/getrailo/railo/blob/master/railo-java/... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Oct 27, 2010 at 9:18 AM

    My link was broken on submit. It should go to the anchor #addAll(java.util.Collection)... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Oct 27, 2010 at 9:14 AM

    @Steve, Every time you pass a ColdFusion Array into a function, it effectively Duplicate()s it -- so, if you pass the data more than once, it's already less efficient to use a ColdFusion Array vs. a Java ArrayList. Depending on what you're doing with the Array(s), optimizing up front can be more t... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Oct 26, 2010 at 5:21 PM

    @Steve, Try this - I didn't test it. <cfscript> var Bounds1 = 10; var Bounds2 = 20; var i = 1; var j = 1; var ArrayListProxy = CreateObject('java', 'java.util.ArrayList'); var MyMDArrayList= ArrayListProxy.Init(Bounds1); // Setting the initial size for (i = 1; i <= Bounds1; i++) ... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Dec 7, 2009 at 12:41 PM

    I did end up resolving my issue with that error post above -- Error Messages: Object of type class coldfusion.runtime.java.JavaProxy cannot be used as an array. I don't remember what I ended up doing to fix it but I do have some recent insight. I started playing around with making my own JARs for pe... read more »

  • My First ColdFusion 8 CFFTP Experience - Rocky But Triumphant

    Posted on Dec 1, 2009 at 3:22 PM

    Control Panel > Windows Firewall > Advanced Settings Inbound Rules > New Rule Program > Next This program path: %SystemDrive%\ColdFusion\d\runtime\bin\jrun.exe > Next Allow the connection > Next Your preference > Next Name: JRun Free Reign > Next > Finish Repeat for... read more »

  • My First ColdFusion 8 CFFTP Experience - Rocky But Triumphant

    Posted on Nov 23, 2009 at 5:39 PM

    Perhaps this has been mentioned before on your blog but I didn't have luck Googling for it. I just resolved an issue that's pretty trivial but misleading and figured I'd put it here so someone else can find the solution. So, I had FTP code written that worked perfectly fine. I know I hadn't changed... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Jul 31, 2009 at 12:25 PM

    Hmm... in ColdFusion 8.01, I get this error when I try to do an ArrayLen() on it: Error Messages: Object of type class coldfusion.runtime.java.JavaProxy cannot be used as an array. Any ideas?... read more »

  • ColdFusion Component Wrapper For POI To Read And Write Excel Files

    Posted on Mar 10, 2008 at 3:40 PM

    @Ben I was kind of figuring they didn't serve a purpose but I wanted to double-check before deleting them from code (to speed up processing a bit) as I don't think they'll serve a purpose for my needs (at least, at the moment). Thanks for the prompt response.... read more »

  • ColdFusion Component Wrapper For POI To Read And Write Excel Files

    Posted on Mar 10, 2008 at 3:11 PM

    What's the difference between min column count and max column count? I see in your dump you have 3 and 3. I have a test Excel file that's showing 0 and 4. I have 4 columns.... read more »

  • ColdFusion POIUtility.cfc Updates And Bug Fixes

    Posted on Feb 20, 2008 at 1:56 PM

    @Ben's response, I'm aware it becomes compiled and all formatting essentially becomes moot to speed/efficiency after the first access. That is not the reason for formatting, however. As mentioned, I want it in a more manageable form. My reason for caring what the source looks like is this: I plan ... read more »

  • ColdFusion POIUtility.cfc Updates And Bug Fixes

    Posted on Feb 20, 2008 at 1:05 PM

    Ya know... this thing works great... except, two things. It throws errors about ColumnList when you call WriteExcel() which I can fix/workaround... and the formatting is HEINOUS. So far I've brought it down from 1910 lines to 1081 lines and I'm still formatting this so it's in a more manageable form... read more »