The Developer's Tidbit

August 12, 2009

Windows 7 Hard Drive Corruption Issue With Acronis Disk Director Suite, Partition Manager

Filed under: 7, windows — Ben @ 8:30 pm
Tags: , , , ,

Since Windows 7 beta was released and then later updated to the recent RC1 release I have always encountered a serious hardware problem. Once installed, slowly but surely my Windows 7 partition and any other NTFS partitions associated with the operating system self-corrupt. After some complex searching I discovered there was a link between Windows 7 and well regarded Acronis Partition Manager in the Disk Director Suite.

Creating a partition for use with Windows 7 in Acronis Disk Director Suite is fine. But make sure you do NOT format the partition before installing Windows 7 as it will not be 100% compatible. Instead use your host operating system (Windows Vista/XP) or the Windows 7 installer to format the target partition. Otherwise your Windows 7 install will slowly but surely become unusable with data corruption requiring the need to continuously run Chkdsk. This might also be a problem for other Windows partition managers which have not been updated for this new Windows release.

July 16, 2009

ColdFusion 9’s New Functions (so-far)

Filed under: coldfusion, transfer orm — Ben @ 10:05 pm
Tags: , , ,

Today I will be looking at the new functions that have been introduced into ColdFusion 9. This information is currently in flux as Adobe have not completed their documentation and even some of the function names have not been cemented as of yet.

First up there are a few new Array functions that now put arrays on par with Structures for flexibly of use.

ArrayContains() allows you to search for array values that contain a string.

ArrayDelete() allows you to remove an array, by its value.

ArrayFind() allows you to search for an array, by its value.

ArrayFindNoCase() allows you to search for an array, by its value irrelevant of the letter cases used.

The Cache related functions seem to be an expanded CFSCRIPT implementation of the <CFCACHE> tag.

The Entity functions are related to the new ColdFusion ORM (Object-relational mapping) that I will not cover here. If you are after an introduction to ORM or the implementation in ColdFusion 9 I would recommend Mark Mandel’s article.

There are a few new decision functions introduced.

The IsIPv6() function tells you if the provided host name supports IPv6. IP version 6 is a new, much needed yet more complex and incompatible update to the Internet Protocol version 4 that is in use today.

IsNull() allows you to determine if an object is a NULL value. In relation to ColdFusion null values can often be found in database cells, Java or JavaScript values.

The IsSpreadSheetFile() and IsSpreadSheetObject() determines whether the input is a spreadsheet while being supported by the ColdFusion spreadsheet functions and tags.

Location() is a the function equivalent of the <CFLOCATION> tag.

The ObjectSave() and the ObjectLoad() functions enable you to save and later use any type of ColdFusion object as a binary file on the server. This would be great for frequently used, resource hungry queries where the data does not change.

There are a huge number of new spreadsheet related functions that won’t be covered here.

The ThreadTerminate() is a function implementation of the of the <CFTHREAD action=terminate> tag and attribute. While the ThreadJoin() is the <CFTHREAD action=join> equivalent.

The Throw() function has the same role as the <CFTHROW> tag, to display custom debugging information and abort the page.

The Trace() function has the same job as the <CFTRACE> tag, to display and log application debugging data.

The series of Transaction functions which currently have no documentation would probably be the equivalent to the <CFTRANSATION> tag, which is used for the safety rollback of database revision queries.

WriteDump() is a function implementation of the <CFDUMP> tag. Mainly used in debugging to allow you to display most kinds of ColdFusion objects, values, variables and elements.

WriteLog() is the equivalent to <CFLOG> which allows you to add messages or entries to log files.

More important ColdFusion 9 Resources and Links

Filed under: coldfusion — Ben @ 8:51 pm
« Previous PageNext Page »

Blog at WordPress.com.