Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Brad

Member since Nov 11, 2010

Recent Blog Comments By Brad

  • Creating Fuzzy Latitude And Longitude Values With A Given Amount Of Freedom

    Posted on Feb 7, 2011 at 6:21 PM

    Well, we did it super simple. We offset the center much like you did, then drew a .075-.1 size circle with the center based on that point. Because, even a circle alone you'd be able to find the center and circumvent the agent so the offset really helps. It might be more paranoia then necessity, ... read more »

  • Creating Fuzzy Latitude And Longitude Values With A Given Amount Of Freedom

    Posted on Feb 7, 2011 at 6:09 PM

    We do something similar to mask real estate values for agents who wish to not display the exact address... Our geocodes would ruin that, so we randomize it within .05 miles, which ends up being 1-2 blocks. We also make it a polygon circle to encompass that address. Pff. Real Estate :P... read more »

  • OOPhoto - A Painful Transition To Object-Based Controllers

    Posted on Feb 7, 2011 at 12:02 PM

    Well, I like OOP in terms of Cold Fusion, because we all repeat this in the 'my language is better then yours' conversations. Coldfusion compiles CFCs and to various extents (as noted on this blog as well) various methods contained within... meaning it should be pretty snappy in production... unle... read more »

  • OOPhoto - A Painful Transition To Object-Based Controllers

    Posted on Feb 4, 2011 at 5:56 PM

    I wouldn't begin to hold an argument against RoR, because I haven't worked with it. I am well versed in PHP though, and PHP has extremely powerful frameworks... but none quite as elegant as Wheels. And Wheels can be as simple as you want it, really. It implicitly reads table definitions and can ha... read more »

  • OOPhoto - A Painful Transition To Object-Based Controllers

    Posted on Feb 3, 2011 at 9:18 PM

    I haven't worked with RoR, but I will say that CFWheels is my absolute favorite CF Framework to the extent I am a very avid contributer on the google group. But really? The simpler the application, the faster you can get it up. This framework does everything but code itself. That's not to say it do... read more »

  • OOPhoto - A Painful Transition To Object-Based Controllers

    Posted on Feb 3, 2011 at 8:30 PM

    I highly recommend CFWheels. Here comes the flames... but.. in my opinion, I am nearly 50% faster then anyone using any other framework. It can give you implicit freedom, or express control. <cfset user = model('user').findByID or FindByEmail or FindByEmailAndPassword... kinda awesome how yo... read more »

  • CFCs Are Cached, CFIncludes Are Not

    Posted on Jan 24, 2011 at 5:36 PM

    I haven't been able to find it yet -- But how do you CLEAR this cache ? I can't stand the inability to do this simply. (cfwheels) <cfcomponent extends="controller"> <cfset renter = model("renter").new()> When not in a function -- cached. When deleted, cache... read more »

  • Creating A CFThread-Based Process In ColdFusion In Order To Learn About Concurrency

    Posted on Dec 29, 2010 at 2:03 PM

    Well, OSX and Windows are different animals. Some code needs to be rewritten to be compatible across both platforms. Not developer high level CF code mind you, but the compiled java version of cold fusion needs to be rewritten. Many things are different across the two operating systems such as: fil... read more »

  • Creating A CFThread-Based Process In ColdFusion In Order To Learn About Concurrency

    Posted on Dec 29, 2010 at 10:10 AM

    @Ben You have a problem running out of resources??? Perhaps I can attribute that to CF9 then? ;) Or do you just have an inexhaustible supply of RAM? A great deal of my work still resides in CF8 and it's fairly easy to run out of resources. This is of course the 32 bit version of CF8, and I get ab... read more »

  • Creating A CFThread-Based Process In ColdFusion In Order To Learn About Concurrency

    Posted on Dec 25, 2010 at 2:30 PM

    Hey, I was also just thinking about your original intent for CFThread using CFHTTP. You said you'd refresh the page in order to avoid running out of resources? Here's a tidbit you might want to turn into a blog if you haven't yet.. <cfset runtime = CreateObject("java", &qu... read more »

  • Creating A CFThread-Based Process In ColdFusion In Order To Learn About Concurrency

    Posted on Dec 25, 2010 at 2:04 PM

    Lowering the bar is an understatement! <cfthread> //Do stuff Well, I came from Java... It's what I learned first. All that initial hype won me over ;). Writing threads from scratch in Java? Little bit complicated and it implies you have a knowledge of design patterns. The way you create t... read more »

  • Java For ColdFusion Developers By Eben Hewitt

    Posted on Nov 18, 2010 at 11:37 PM

    I started out on ColdFusion after developing on Java, so writing Java natively in ColdFusion is what I end up doing, if by accident. Being able to access many methods, such as variable.toString() for a random example are insanely useful. Then, being able to create objects from classes with createO... read more »

  • ColdFusion SQL Error - [Table ....] Is Not Indexable By Name

    Posted on Nov 11, 2010 at 9:43 PM

    Thought I would add to this... I thought it was because I did not define the column in my query. I was wrong. I was outputting my query in CFScript using a for loop. if(bldg_resultset.recordCount gt 0){ for(i=1;i<=bldg_resultset.recordCount;i++) //ArrayAppend(bldgArray,bldg_resultset[i].bldg... read more »