Archive for May, 2005

Uncategorized

Musical Baton Meme

I love being part of the crowd, but I usually draw the line at chain
letters.  However, I like finding good music and the best way I
have found is by finding out what others like.  So I am
propagating this letter that Rob sent to me!  Here is my info:

Total Volume (of my MP3 library): 2.12 GB (I had a big hd crash last year so its just the cd’s I have ripped and Itunes purchases)

Last CD Bought: Jack Johnson - In between dreams

Song Playing Right Now: John Mayer - Comfortable

Five Songs I Listen To a Lot:

Blue Eyes - Cary Brothers
New Slang - The shins
You and I Both - Jason Mraz
Rodeo Clowns - Jack Johnson
John Mayer - Quiet


Five People to Whom I’m Passing the Baton:

Barney Boisvert


Matt Woodward


Ryan Miller


Nick Ehlers


Damon Gentry

Update: Looks like I also recieved this from Spike and Jared i just got Rob’s first and did my post before finishing my email :)

Uncategorized

Use CF to block problems with Google Accelorator

I found this article today,
which explains some problems that developers are having with the Google
Web Accelerator.  The tools speeds up your surfing experience by
trying to pre-fetch all the content for links on the page.  That
way whichever one you click it already has the content.

Sounds all fine and good except when that page is in the admin of a web
app.  Lets say you have a page that list your users with links to edit
or delete them.  It goes ahead and calls off those, and is kind
enough to ingore the JS prompts to confirm user deletion.

In an effor to keep this from being a problem, I took a cue from this article which demo’s what you would do if you were running Ruby on Rails.  Take this code and place it in the Application.{cfm|cfc} to limit this from being a problem.

<cfif structKeyExists(cgi, ‘HTTP_X_MOZ’)>
       <cfif cgi.HTTP_X.MOZ EQ ‘prefetch’>
               <cfheader
statuscode="403" statustext="403 Google Web Accelerator Pre-Fetch
Forbidden"/>
               <cfabort />
       </cfif>
</cfif>

Not being a GWA user, I have not tested this, but I
expect to do what is needed based on the info provided for Ruby on
Rails. YMMV. :)

Uncategorized

What OS are you?

I found this fun little survey
today.  Its a quick survey of about 20 zany questions, which if
answered honestly will predict the computer OS your personality most
resembles.

Take a minute to fill it out. You might find something out! :) 
But if you are not in the mood and just want to see what the outcome
could be, click here to see the possible oses and the funny personalities they represent.

And Just to get you all interested, I was Amiga OS.

Uncategorized

Jetty and OpenLaszlo

I think Macromedia’s server products are great.  And if I as an
individual had money growing out my … then I cant see any reason why
I woudnt throw all my money at them and have lots of cool toys. 
But unfortunatly that is not the case for me.  I have the
non-comercial license for flex, and I have built a few demo apps and
widgets.  But as my server is a shared host, I dont have any
public facing server that I can put that one that wouldnt violate my
non-comercial use license.  At least thats the way it plays out in
my head while i am trying to stay on the legal side of the fence.

So as an alternative I decided that I wanted to demo the new OpenLaszlo 3.0
server product.  Seems like a simple enough task right?  So I
grab down the war file from the openlaszlo site and I create a new
instance in jrun.  Fire up the instance and try to deploy, but it
hangs.  Lost of little indescript errors that mean nothing to
me.  Thats Ok,  doesnt really bother me.  All of the
documentation on the site has them running the demos on tomcat.  I
have had tomcat installed in the past, so no biggie there.  But I
see they have a packaged installer for OSX.  Sounds great
right?  So i pull that down and run the installer.  All seems
well.  I hit the CLI and try to fire it up.  Big nasty error
and a segmentation fault.  Huh?  Ok Now What?.  Well
thats enough for today I decided and went back to start up my cfmx
instance running on jrun. Segmentation Fault.  Yep thats
right.  Jrun hosed too.  By as best as I can tell a bunked up
OpenLaszlo installer.

Feeling a little discouraged, I hit the IM list to see if anyone else
had tried to run it.  I got a couple "Why would you" and "Ha, you
sucker" type comments.  But Rob Rohan visited with me for a bit,
and althouh he hasnt run openlaszlo shared with me that he
usually  runs Jetty for these things.

I thought that didnt sound so bad so I grabbed the jetty zip, and
deployed on my G5.  Still a segmentation fault when firing it
up.  But that is not going to deter me now.  I am
commited.  So I transfer the Jetty zip file and my laszlo.war file
over to my powerbook.  Unzip.  Stash the .war file in the
appropriate directory.  run the start.sh script.  all looking
good so far…  I fire up firefox and hit port 8080 (deafualt for
jetty but easy to change) and bang.  I have laszlo running. 
Kicked through the demos  made a quick app.  all worked
fine.  Happy Sim!  Then it was time to work again.

I was very happy with how easily Jetty just dropped in and ran. 
Now its not to say that Jrun or Tomcat are bad products, but it was
very nice to not have to run and installer or worry about server
directories and things.  For local testing and demoing java
products I cant think of an easier way than with Jetty.

Uncategorized

New CFEclipse Nightly Build

Spike just released build 1.1.18.11 of CFEclipse.  Bug fices and some new features.  Check it out here.

Uncategorized

CF_Social as success

I just got home and am still on a bit of a high so I wanted to
post.  Tonight we had our first Portland CFUG social gathering
that is in addition to our regular cfug meetings.  We had 6 people
turn out.  now that may not be alot of people but considering that
is more people than were at our december or january meetings i am a
very happy guy.   Going into this i said i would be at Rock
Bottom from 4-6 and i had 3 confirmed attendees, and one maybe. 
When i got to Rock bottom at 5 after 4 there were two people waiting
for me! My maybe and someone i didnt know was coming.  We sat at
the bar and visited for an hour before 2 of my confirmed showed up.

We talked about families and of course some cf stuff.  It was
great to just hang out with no agenda.  I have renewed spirit for
the CFUG. I know this group is going to be great!

Uncategorized

PDX CF_Social

Tomorrow evening is the PDX CFUG’s first monthly social
meeting.  We have done this in the past with good success, but it
is now a supplement to our monthly meeting instead of a replacement.

As a part of my new agenda in the CFUG we play a "What is it game" at
the end of the meeting.  The winner of that game gets a prize
(last month was a nice laptop sleeve/bag) and gets to select the
location of our CF_Social meeting.

This months meeting is at the Rock Bottom Brewery in downtown portland
I will be there from 4-6.  Happy hour starts at 3pm, but as most
of us have jobs I dont want to be so optimistic as to say we will all
take the afternoon off to get together.  There is no agenda for
this meeting, its just a social gathering and spouses and freinds are
welcome.  Other meetings may be at more family oriented
establishements and those events the family is welcome.

So if you are in downtown or feel like making  a trek that way I
hope to see you out.  My presence isnt a requirement so feel free
to come on over even if you intend to stay past 6.

Uncategorized

JRUN and CFMX install on Tiger

Well as I promised, next up on my list was installing CFMX and JRun
on my new tiger boxen ( powerbook and 1 g5 tower, 1 tower still not on
tiger….grrrrr).  As I did my install I took notes as to how and
what I had done.  But I just found this post by our good friend mr corfiled so I have decided not to bother :)

Really this is good news because it means that I get to move on and
spend more time on how I connect apache and cf in my dev
environment.  So read through sean’s post and get ready for the
apache connector set up !

« Prev