Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with: Cara Beverage and Taraneh Kossari
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with: Cara Beverage@caraphernalia ) and Taraneh Kossari

James Moberg

Member since Dec 11, 2008

Recent Blog Comments By James Moberg

  • cuid For ColdFusion - Collision-Resistant IDs Optimized For Horizontal Scaling And Performance

    Posted on Mar 16, 2018 at 9:45 AM

    I recommend adding slug support. That way "ColdFusion" (er, CFML) can be officially listed along with Ruby, .Net, Go, PHP, Elixir, Haskell, Python, Clojure, and Java. It would be a beneficial feature. We often generate smaller IDs when creating entry codes or "one-time" URLs.... read more »

  • cuid For ColdFusion - Collision-Resistant IDs Optimized For Horizontal Scaling And Performance

    Posted on Mar 16, 2018 at 9:38 AM

    Nice. I like using generators that have multi-language support. Have you used hashIds yet? (I did a quick search on google and amazingly this is one library you haven't blogged about yet.) hashIds "generates (collision free) short unique ids from integers". The values that it generate... read more »

  • ColdFusion Gateway For IPInfo.io Geolocation Service

    Posted on Oct 12, 2016 at 3:29 PM

    Sorry... it's $25/yr, but appears to may out at 60 API requests per hour (1000 (Per Day). This actually appears to be cheaper than the cheapest IPInfo.io plan, by $95/yr.... read more »

  • ColdFusion Gateway For IPInfo.io Geolocation Service

    Posted on Oct 12, 2016 at 3:26 PM

    I just checked out IPInfo.io. They performed the correct reverse DNS lookup to get my Class C IP's hostname, but their lat/lng response indicates that I'm located near Wichita, Kansas in the middle of the Cheney Reservoir. It was off by about 1,600 miles. I checked using WhatisMyIP.com and they c... read more »

  • ColdFusion Gateway For IPInfo.io Geolocation Service

    Posted on Oct 12, 2016 at 3:18 PM

    I've been working with GetIPIntel.net & AbuseIPDB.com APIs. To reduce redundant calls, API limits and potential performance bottlenecks, I incorporated CacheGet() & CachePut() functions so that repeated calls using the same IP don't generate additional HTTP calls. The data shouldn't be dif... read more »

  • OWASP Encoder.cfc - A Java Encoder Proxy For ColdFusion

    Posted on Dec 29, 2015 at 10:05 AM

    Thanks for writing this! (This was on my TODO list.) I also work with older versions of ColdFusion and prefer to work with custom functions rather than the built-in ones as it makes it easier to add newer features to projects without having to worry about the version of CF used. ColdFusion 8 &... read more »

  • Use preserveCase Consistently When Setting And Expiring Cookies In ColdFusion

    Posted on Dec 14, 2015 at 9:58 AM

    I discovered a recent issue regarding unencoded unicode cookie values. A JWPlayer language drop-down for sub-titles was causing problems on a ColdFusion website. The JWPlayer labels for the languages are used to create cookies and the unencoded unicode "EspaƱol" cookie value caused subse... read more »

  • ColdFusion Image Resize Stuck At sun.java2d.cmm.kcms.CMM.cmmColorConvert With Massive CPU Usage

    Posted on Apr 30, 2015 at 11:35 AM

    I'm still using ColdFusion 9 w/Windows and our solution was to avoid using Java and use Jukka Manner's C++ CFX_OpenImage tag: http://www.kolumbus.fi/jukka.manner/cfx_openimage/ DISCLAIMER: A Linux/Unix port is unavailable. My personal experience with the Windows 64bit tag has been that it's faster... read more »

  • ColdFusion 11 Accepts All Top-Level Domains (TLD) For IsValid() Email Validation

    Posted on Jan 19, 2015 at 10:19 AM

    I'm still using ColdFusion 9 for many applications and have access to better email validation than ColdFusion 11 by using Dominic Sayers' IsEMail java library. (I explored using a regex, but it required too many special rules.) The library can additionally test the domain's MX record to determine ... read more »

  • Using ImgIX For On-Demand Image Processing At Web Scale In ColdFusion Applications

    Posted on Nov 19, 2014 at 6:57 PM

    Hey @Dina, Is it possible to add an Official "ColdFusion" imgix library on the Client Library page or provide a link to Ben's GitHub project? http://www.imgix.com/docs/libraries (For many CF devs, it's a lot easier than having to use the Java version.)... read more »

  • Using ImgIX For On-Demand Image Processing At Web Scale In ColdFusion Applications

    Posted on Nov 19, 2014 at 3:41 PM

    ImgIX's image features seem a lot more powerful than what's built into ColdFusion 9, 10 or 11. Could you use the ImgIX API to perform the optimizations and then save the image locally using ColdFusion? I'm interested in optimizing images (auto=format,enhance,redeye) and then hosting the image l... read more »

  • Sticky CDN - A Content Delivery Network (CDN) For Your Local Development Environment

    Posted on Jul 31, 2014 at 12:31 PM

    Local Storage = file system, right? Are you leveraging Ehcache? (I didn't see it referenced when I browsed the source.) Knowing that browsers may have up to 8 parallel connections, how many simultaneous requests can it handle? One pitfall is Tomcat's permanent caching of DNS. If you move any re... read more »

  • ColdFusion GetTempDirectory() Stops Working

    Posted on Aug 9, 2013 at 2:25 PM

    20 months later... is this still the case? Is getTempDirectory() still buggy? I checked the Adobe Bugbase and didn't find any reports of this bug searching for ColdFusion 9 or 10. Has this been fixed or are all devs still avoiding using it? Thanks.... read more »

  • JsonSerializer.cfc - A Data Serialization Utility For ColdFusion

    Posted on Aug 7, 2013 at 11:12 AM

    What's the best way to set up the serializer dynamically/automatically using the results from a query object passed to GetMetaData()? (NOTE: ColdFusion returns "TypeName" in upper or mixed case depending upon how the query is created. Performing any QofQ converts the TypeName value to al... read more »

  • Testing IMG Complete With No SRC Attribute

    Posted on Jul 11, 2013 at 9:44 AM

    Aren't SRC and ALT attributes required for the IMG tag? I've only been able to find the requirement listed here: http://www.w3schools.com/tags/tag_img.asp but it doesn't appear to be mentioned here: http://dev.w3.org/html5/markup/img.html I copied your sample code and pasted it into the W3C va... read more »

  • Reading Images With Fallback Approaches In ColdFusion

    Posted on Mar 8, 2013 at 7:31 PM

    An incompatible palette is one issue, another is performance and compression. We were experiencing the CPU going to 100% when processing JPG images from digital cameras. For optimizing large images, we switched to CFX_OpenImage (C++ tag that uses GraphicsMagick). Thumbnail generation was much fast... read more »

  • Detecting Spam In User-Submitted Content With SpamAnalyzer.cfc

    Posted on Sep 25, 2012 at 11:57 AM

    Had you reviewed or tried SebTools SpamFilter.CFC before? http://www.bryantwebconsulting.com/blog/index.cfm/SpamFilter If so, how does it compare? Thanks.... read more »

  • CFFlush Does Not Work Inside ColdFusion 8's CFLayout Tag

    Posted on Aug 22, 2012 at 1:43 PM

    I guess in order for CFFlush to work, some manual text editing of config files is required... I missed this when installing and will now need to remind myself this whenever reinstalling CF10. (CF8 & 9 didn't behave this way.) http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea7... read more »

  • CFFlush Does Not Work Inside ColdFusion 8's CFLayout Tag

    Posted on Aug 22, 2012 at 1:24 PM

    I'm using ColdFusion 10 with IIS6 and CFFlush isn't working at all... even with the above-mentioned "73729 bytes" trick. (We haven't had any issues with CF8/9, IIS6 and CFFlush.) I've reported it as a bug (w/sample CF code to duplicate the problem): https://bugbase.adobe.com/index.cfm?e... read more »

  • Mapping CSS Sprite Image Coordinates With ColdFusion

    Posted on Aug 7, 2012 at 12:34 PM

    @Ben, Because the classname isn't descriptive enough, any designer would have to: 1) render the CSS to see what shows up for each class 2) open an image editor and count pixels 3) count the row/column positions in the image and hope that the image naming is consistent and then rename any conflict... read more »