Posted: February 29, 2008 at 9:10 AM by Ben Nadel
I have just released the Beta of Dig Deep Fitness, my iPhone fitness application that allows users to track their workouts over time: Working with the EDGE network is a little bit slow; but, the pages are small enough that the fitness application works with acceptable speed. P... read more »
Comments (9) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 27, 2008 at 11:49 AM by Ben Nadel
Can anyone help me out with this? I am used to using Microsoft SQL Server, which I love; recently, however, I have been working on some MySQL 5.0 databases and they seem to have some odd rules. Right now, I am getting a really strange truncation error when using CFQueryParam in a calculated column. Running this code: SELECT <cfqueryparam v... read more »
Comments (13) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 27, 2008 at 9:17 AM by Ben Nadel
I'm not gonna bother posting the code here, since it's in the ImageUtils.cfc RIA Forge project , but I created two new methods for trimming a ColdFusion image canvas: TrimCanvas( Image, BackgroundColor [, Tolerance ] ) This will take a ColdFusion image object and, given the background color, it will reduce the size of the canvas to the smalle... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 26, 2008 at 2:49 PM by Ben Nadel
The other day, I was recoding some work that involved ColdFusion files being called using CFModule. I had gotten it to the point where the new code was in place, but was breaking. I had the old code stored as a .BAK file. I wanted to test to see if the new code was breaking or if the old code would have broken also, but I didn't want to rename any... read more »
Comments (8) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 25, 2008 at 8:39 AM by Ben Nadel
This might not be news to anyone else, but I never actually thought about the coordinates used in ColdFusion image manipulation functions. I am so used to everything in ColdFusion being one-based that I just assumed that ColdFusion image manipulation would work the same way. Well, as I was working on updating the ImageUtils.cfc , I realized that ... read more »
Comments (5) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 22, 2008 at 8:54 AM by Ben Nadel
Ever since I created the ColdFusion eCards section of my site, I have gotten periodical requests for the code. It's hard for me to give away portions of my site since the architecture is a bit scattered and highly coupled. However, over the last few days, I have created a very small, extremely light weight ColdFusion eCard application called Kin... read more »
Comments (10) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 21, 2008 at 8:53 AM by Ben Nadel
I only have a few minutes before I have to do some real work, so I will keep this very brief. This morning, I added the ability to create an image reflection effect, very much like the one that was popularized by Apple and iTunes, and added it to the ImageUtils.cfc ColdFusion image manipulation component : ReflectImage( Image, Side [, Backgroun... read more »
Comments (6) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 20, 2008 at 9:12 AM by Ben Nadel
I have added two functions to the ImageUtils.cfc ColdFusion image manipulation component . Building on top of the previously added function, CalculateGradient() , I have now added a function, CreateGradient(), that will create a gradient rectangle on its own canvas and DrawGradientRect(), which will draw a gradient rectangle on top of an existin... read more »
Comments (4) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 19, 2008 at 8:32 AM by Ben Nadel
This morning, I updated the ImageUtils.cfc image manipulation component for ColdFusion 8. I gave it the ability to create gradients; well, not really create them just yet, but rather to calculate them. Creating them in rectangles will probably come in the next update. Right now, you can use the CalculateGradient() method to find all the color st... read more »
Comments (6) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 18, 2008 at 8:20 AM by Ben Nadel
Many of you know that I have had a torrid love affair with HomeSite for last several years. She's one lady that I just can't seem to tear myself away from. Perhaps she has ruined me for other editors? Not sure. I know that every time I want to move on with my life, I just can't seem to find anything better. For the last few weeks, I have been tryi... read more »
Comments (89) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 18, 2008 at 7:27 AM by Ben Nadel
Over the weekend, when I was working on my Dig Deep Fitness prototype , I thought of a neat little trick. I am sure that this has been done by many people, but it had never occurred to me. I was working with a ColdFusion custom tag in which I needed to replace the generated content of the tag. Normally, when I would do something of this nature, I... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 18, 2008 at 7:00 AM by Ben Nadel
This weekend, I added two more user defined functions to the ImageUtils.cfc ColdFusion component for image manipulation: GetPixel() GetPixels() GetPixels() takes a ColdFusion image and returns an array or arrays that contains a structure for each sampled pixel. These structures contain a Red, Green, Blue, Alpha, and Hex key for the Red, Gre... read more »
Comments (6) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 16, 2008 at 4:33 PM by Ben Nadel
This last week, Ray Camden came to talk at our New York ColdFusion User Group about parsing and creating RSS feeds in ColdFusion 8. Unfortunately, we had horrible weather (for the second month in a row) especially for someone coming to us from the Big Easy. Ray gave a great presentation, and if you want to take a look at his sample code, it's ... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 16, 2008 at 3:52 PM by Ben Nadel
Last weekend, I put down some initial thoughts and screen ideas for Dig Deep Fitness , my iPhone fitness application. This is basically just a way for me to combine my love of ColdFusion with my love of working out while simultaneously breaking into the mobile device world. Since last weekend, I have taken my rough ideas and fleshed them out into... read more »
Comments (6) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: February 14, 2008 at 9:26 AM by Ben Nadel
... read more »
Comments (10) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink