Snow Leopard & Adobe CS 4

Adobe has just put out a  fact sheet on the compatibility with Mac OS X 10.6 (Snow Leopard). You can view the document here in PDF form.

I am trust that Adobe CS 4 creative suite, Flex Builder 3,and ColdFuson 8 will all work on Snow Leopard. I use these products daily, and I will let you know if I encouter any issues this weekend when I do the update.

I did see in the document that there is an issue with:

(1) Adobe Drive

(2) Version Cue

The CS 3 products have not been tested on Snow Leopard, so if you are not using CS 4 and planning to use Snow Leopard why not update to CS 4?

Snow Leopard is Coming

Apple announced this morning that it will ship its next version of Mac OS X, Snow Leopard, this Friday, Aug. 28 and Apple it’s already taking pre-orders for it on its Web site.

Snow Leopard — you can also call it Mac OS X 10.6, Apple is emphasizing performance over new features, calling this version “refined, not reinvented” and advertising such incremental improvements as faster start up and shutdown times, a smaller disk footprint and a more crash-resistant Web browser.

Apple is also pricing Snow Leopard low enough to make it almost an automatic upgrade from the current, already-good OS X 10.5 Leopard: just $29. If you bought a Mac after June, you can upgrade for $9.95. If your Mac doesn’t have an Intel processor inside, you can’t install Snow Leopard on that machine.

JRun Settings for Apache 2.2

This should be installed by default, but just in case it is not, you can add it manually.

You can find the httpd,conf file at /private/etc/apache2/httpd.conf

So in case when you install the ColdFusion server under JRun and the JRun settings do not get written in the httpd.conf file, just add this

# JRun Settings
LoadModule jrun_module /Applications/JRun4/lib/wsconfig/1/
<IfModule mod_jrun22.c>
 JRunConfig Verbose false
 JRunConfig Apialloc false
 JRunConfig Ignoresuffixmap false
 JRunConfig Serverstore /Applications/JRun4/lib/wsconfig/1/
 JRunConfig Bootstrap
 #JRunConfig Errorurl url <optionally redirect to this URL on errors>
 #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server>
 #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server>
 #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server>
 #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server>
 AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

Mine was written just above the last Module at the end of the file, so copy these JRun settings right above the last entry which is

Include /private/etc/apache2/other/*.conf
<Files ~ ".hbmxml$">
Order allow,deny
Deny from all

converting times in ColdFusion

I needed to change the time on some local web pages to reflect the time in Hawaii, but I am using HostmySite, which is based in Delaware, and since Hawaii is 6 hours behind of Delaware I needed to make a change.

to get this working is really simple, just by using some variables, one for the server time and another for the local time. Then just use dateadd function. since I know the server is 6 hours behind Hawaii, I just subtract 6 from the server time.

<cfset servertime = Now()>
<cfset time = Now()>
<cfset time = dateadd("h",-6,time) />

to display the server time you would use

#TimeFormat(servertime,'h:mm tt')#

to display the local time you would use

#TimeFormat(time,'h:mm tt')#

then I just display the results in a table

		<td>Server  Time</td>
		<td><cfoutput>#TimeFormat(servertime,'h:mm tt')#</cfoutput></td>
		<td>Hawaii Time</td>
		<td><cfoutput>#TimeFormat(time,'h:mm tt')#</cfoutput></td>

You can see this example working on my server