Gareth Arch
Member since Dec 11, 2008
- Profile: /members/1415-gareth-arch.htm
- URL: http://flexfusion.archfamily.com
- Comments: 111
Recent Blog Comments By Gareth Arch
-
Detecting File Type Using Magic Numbers In ColdFusion
Posted on Jun 26, 2013 at 12:21 PM
Always enjoy reading your "exploratory" posts :) Was wondering if you could do any of this validation client-side (with FileReader) to make this determination. "Hey you're trying to upload a PSD, but it looks like a JPG"... read more »
-
Reading In File Data One Line At A Time Using ColdFusion's CFLoop Tag Or Java's LineNumberReader
Posted on Sep 16, 2010 at 4:43 PM
@Ben, Thanks! It came down to necessity at the time. It's crazy what you come up with when it's late, you're running out of time and need to have a solution :) I had tried at first to use the method you described in a blog post a while back about extending the timeout so you can perform different... read more »
-
Reading In File Data One Line At A Time Using ColdFusion's CFLoop Tag Or Java's LineNumberReader
Posted on Sep 16, 2010 at 10:58 AM
I had this problem last week (reading in a large file) and found the cfloop solution to work nicely. I ran into a timeout issue then though with the cfloop. I managed to solve this by adding my own timer to the page that checks how long the import has been running (read in a line, quick time check... read more »
-
Authenticating Twilio Request Signatures Using ColdFusion And HMAC-SHA1 Hashing
Posted on Jul 23, 2010 at 11:18 AM
That URL string just looks very weird to me without ampersands. Is it also supposed to be missing the ? in your original URL sms.cfmA=1B=2 or should it be sms.cfm?A=1B=2... read more »
-
Creating A Bidirectional Infinite Scroll Page With jQuery And ColdFusion
Posted on Jan 6, 2010 at 11:53 PM
@Ben, Nice solution to the problem! They do something similar with the DataGrid component in Flex. They draw the grid (adding a few extra rows at the bottom for padding), then recycle the display elements when the user scrolls through the rows of data and update the data that's contained within ea... read more »
-
Creating An Infinite Scroll Effect With jQuery And ColdFusion
Posted on Jan 5, 2010 at 10:59 AM
@Ben, I know it's written in Objective C, but the eBay app on the iPhone has this similar functionality. Works nicely through that. Once you scroll to the bottom of your watch/sell/bid list, it shows "Loading", then loads the next items. You mention paging, perhaps you could do something at the b... read more »
-
NYC + Snow + ColdFusion + jQuery = Winter Wonderland
Posted on Dec 21, 2009 at 8:33 AM
Hey, we had to deal we lows of the mid 40's last night in Clearwater, FL...I had to put a sweater on :)... read more »
-
ColdFusion Builder Extension: Regular Expression Find And Replace
Posted on Dec 3, 2009 at 11:59 PM
That is *really* cool. I still haven't played around at all with CF Builder, but all of the neat little extras are certainly making me more interested in trying it out.... read more »
-
jQuery Powered Mine Sweeper Game
Posted on Oct 28, 2009 at 1:36 PM
I don't think the "moving the mine" is accurate. There have been many times where I've clicked once and got blown up (especially once you start getting a lot of mines on the screen).... read more »
-
jQuery Powered Mine Sweeper Game
Posted on Oct 28, 2009 at 7:38 AM
That's amazing Ben! Great work on this. You do some really interesting stuff with jQuery.... read more »
-
Instantiating Groovy Classes In The ColdFusion Context
Posted on Sep 17, 2009 at 12:57 PM
One more thing...I found this series to have lots of useful information about implementing groovy http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=practically+groovy from the basics all the way up to the more complex stuff... read more »
-
Instantiating Groovy Classes In The ColdFusion Context
Posted on Sep 17, 2009 at 12:54 PM
Damnation...beat me to it :)... read more »
-
Instantiating Groovy Classes In The ColdFusion Context
Posted on Sep 17, 2009 at 12:54 PM
Just making sure you know that the getters and setters are actually implicit in Groovy, so as long as you have the def Name groovy would create getName() setName( 'Ben' ) for you. Also, if you wanted to set "Name" on init, you could do new Person( [ name: 'Ben' ] ) (and no need for a construct... read more »
-
String Data Type Gotcha When Using CFGroovy
Posted on Sep 17, 2009 at 12:37 PM
A problem I ran into is "null" values being passed back to ColdFusion from Groovy. I found you can just do a Len( propWithNull ) to check for it, but it just required some more testing before display on what value was actually stored in the property. Haven't really had to deal with NULL values in ... read more »
-
DreamWeaver CS3 Slows Me Down
Posted on Jul 23, 2009 at 9:09 AM
Gotta agree. CS3 is quite the beast. My laptop isn't exactly slow, but the initial program opening and then even *after* it's open, it's crazy how slow the program runs (and hogs my system resources). Quite frustrating.... read more »
-
Learning ColdFusion 9: Virtual File System vs. Actual File System
Posted on Jul 18, 2009 at 10:03 AM
You're writing to RAM though (measured in nanoseconds) vs writing to disk (measured in milliseconds). That is a 1000 times faster access. So, yes, I agree that 4 times faster is "faster", but accessing it from ram vs accessing it from the hard drive isn't showing the gains I was expecting.... read more »
-
Learning ColdFusion 9: The Virtual File System (RAM Disk)
Posted on Jul 17, 2009 at 7:59 PM
Someone got CF working in the "cloud", didn't they? I wonder if that changes the way this works or even the speed gains.... read more »
-
Learning ColdFusion 9: Virtual File System vs. Actual File System
Posted on Jul 17, 2009 at 7:48 PM
@Drew, My sentiments exactly. The gains are nice but I figured they would be more.... read more »
-
Nylon Technology Presentation: Introduction To XPath And XmlSearch() In ColdFusion
Posted on Jul 10, 2009 at 4:34 PM
@Ben, No problem...there are only so many hundreds of comments + posts + tweets + gym + actual paying work you can do a day :). I posted a quick follow up response. I guess I had another node in there and the dot notation (./property) has to have all nodes, as you said, like getting to a folder. ... read more »
-
Nylon Technology Presentation: Introduction To XPath And XmlSearch() In ColdFusion
Posted on Jul 8, 2009 at 3:51 PM
@Ben, I was going to make a post here, but it got a bit long so I posted it over at my blog http://flexoop.com/2009/07/xmlsearch-in-coldfusion-unusual-behavior/ Is this normal or a bug?... read more »