ColdFusion error “Unable to create temporary file”

On November 9, 2010, in ColdFusion, by Anuj Gakhar

While working on a project last night, I had to do some image resizing on user upload, ie a user uploads his picture and the system had to keep the original and resize the image to 2 other sizes as well and save them on-disk. With ColdFusion, this surely sounds just a few lines of […]

Tagged with:  

Flex : Find Closest Date for a given Date

On October 12, 2010, in Flex, by Anuj Gakhar

This requirement came up today at work where I had an ArrayCollection of Date Objects and then I had another Date Object and I wanted to find from my Collection of Dates, the closest Date to my given Date – whether in the past or the future. Although this does not sound like a very […]

Tagged with:  

Implementing Star Schema Design

On September 12, 2010, in Web Development, SQL, by Anuj Gakhar

I am working on a project that has a requirement to report some statistics historically. e.g. how many views a product had this week, this month, this year etc. how many comments were made on a product in the last quarter….and so on… although doing something like this does not sound overly complex when you […]

Tagged with:  

Packt launches fifth annual Open Source Awards

On August 26, 2010, in Web Development, Miscellaneous, by Anuj Gakhar

The 2010 Open Source Awards was launched today by Packt, inviting people to visit www.PacktPub.com and submit nominations for their favorite Open Source project. Now in its fifth year, the Award has been adapted from the established Open Source CMS Award with the wider aim of encouraging, supporting, recognizing and rewarding all Open Source projects. […]

 

Detecting Item Clicks on a Spark List

On August 18, 2010, in Flex, by Anuj Gakhar

As I am using the Spark List component extensively in my current project, I have come to understand some of the differences between a Spark List and MX List. I thought it would make sense to post my experience with this. With MX components, you have an itemClick Event on your List component. So you […]

 

Conditional Debugging in Flash Builder 4

On August 15, 2010, in Flex Builder, Flex, by Anuj Gakhar

I have started using Flash Builder 4 recently and the one feature I am loving the most is the Conditional Debugging. Using conditional breakpoints in Flash Builder 4, you can configure a breakpoint to trigger only after a certain number of loop iterations. For instance, you can halt the application on the third time a […]

Tagged with:  

Flex 4: Understanding DataGroups and VirtualLayouts

On August 2, 2010, in Flex, by Anuj Gakhar

As I have recently started working with Flex4, I have started to use some of the new components from the Flex 4 SDK. One of them is the DataGroup class. A brief explanation of the class is below (from the docs) :- The DataGroup class is the base container class for data items. The DataGroup […]

Tagged with:  

Accessing a URL with Flex and YQL when there is no crossdomain.xml

On July 23, 2010, in Flex, by Anuj Gakhar

If you are making a HTTPService call in Flex, you need to make sure that the domain specified in the url attribute is the domain from where your application was downloaded or there is a crossdomain.xml file granting access to your application’s originating is available on the domain specified in the HTTPService url attribute. Take […]

Tagged with:  

Quickly Empty Trash on MacOS

On July 20, 2010, in Mac, by Anuj Gakhar

So, I often end up in situations where there is just too much data in my Trash and emptying Trash on a Mac can take ages. The annoying bit is – while Trash is being emptied – you can not delete anything else meanwhile. I ran into a situation today where I needed 40GB space […]

Tagged with:  

Getting UK GeoCode Data with YQL and ColdFusion

On July 16, 2010, in ColdFusion, by Anuj Gakhar

I stumbled across YQL today and although I had heard about it in the past, today was the first time, I actually sat down and read the documentation and went through some of the example apps. I am amazed at how powerful it is and am just imagining the wonderful applications that can be built […]

Tagged with:  
© 2011 Anuj Gakhar