Tuesday, June 23, 2009

Mayo Clinic Hiring ColdFusion Developers

My team is hiring senior level ColdFusion developers. Below is the posting.

Senior Analyst Programmer

Mayo Clinic in Rochester, MN, is seeking qualified candidates for the position of Senior Analyst Programmer. Our Global Product Service is in immediate need of a highly motivated individual to be part of the Population Health technical team who is capable of designing and implementing interactive web-based applications and services. Duties will include supporting the monitoring and maintenance of multiple web sites and working closely with other members of the Population Health technical team to help architect applications for the EmbodyHealth portal. You will also assist in the integration of EmbodyHealth with other business units at Mayo and other vendor partners. To qualify, you must have a Bachelor's degree and three years of professional software development experience; or an Associate's degree and five years professional software development experience; or nine years of professional software development experience. Three to five years' experience in web application development and a background working with ColdFusion are required. Experience in data modeling and design on enterprise level DB such as Microsoft SQL Server is also essential

Mayo Clinic, one of Fortune magazine's "100 Best Companies to Work For," offers an excellent salary and benefits package. To apply or learn more about this or other opportunities, please visit http://www.mayo-clinic-jobs.com/job/ROCHESTER,-MN-Senior-Analyst-Programmer-23956-Job/497314/

Stephanie Bowron, Human Resources Phone: 800-562-7984

Mayo Clinic is an affirmative action and equal opportunity employer. Post-offer/pre-employment screening is required.

Friday, June 12, 2009

Cross Site Scripting and SQL Injection in CGI scope

This is not another post telling you what 100 other have. We all know you need to check....
However often times there are a few variables forgotten when checking for CSS and SQL injection.
In ColdFusion there is a scope called CGI. It contains things like CGI.QUERY_STRING and CGI.SCRIPT_NAME. If you use either of these in your code these are susceptible to attack also. I have seen a malformed URL create attacks in both of these.

Here is one SQL injection tool that may help you. http://portcullis.riaforge.org/

Thursday, June 11, 2009

Code - more like a bar top than I thought

You ever look at some code and see "blonde, brunette, redhead ", okay Matrix quotes aside. You ever look code and see different coding styles from multiple programmers touching it? Its like a well worn bar counter or that worn door handle. Fingerprint here, smudge there and worn down here. It just seemed interesting to me.

Tuesday, June 9, 2009

Performance Tuning ColdFusion

This is a great place to start "Performance tuning for ColdFusion applications". Don't be scared off by the Jvm memory tuning stuff. If you can tune your JVM this article has other good nuggets of info.

My tuning tips:
  • Turn on the debugging info and the " " setting. Or just this setting as enabling everything can suck up a lot of memory. Look for not only long running code but code that you did not expect to run more than once or N times. If something only takes 30ms but runs 100 times maybe you could still tune it to run less. Especially something that may only take 30ms in development could make a huge impact if it starts taking 100ms say.
  • Indexing your db tables properly can help a lot. Sometimes we create tables, write a bunch of code and forget to go back and look at what fields we actually used in the where clause or joins. Sometimes things change and that primary key may not be "the field" you used.
Enjoy

Wednesday, June 3, 2009

Pomegranate Saison?

A couple weeks ago when I bottled the Saison Du Mont from the big brew I added pomegranate juice to a bit of it. Last night I opened one. For starters I had targeted 3 volumes with the priming sugar before adding the juice, needless to say it was a little over carbonated. After the foaming out of the bottle was done I tasted it. Below are my notes.

Appearance: It is more cloudy than the normal batch. Pectin?

Aroma: a flowery aroma and then that Belgian funk with some citrus.

Taste: Its a bit more tart than the normal batch and you can't really taste any fruit.

Mouthfeel: Its very smooth and a bit creamy on the tongue. The extra carbonation maybe or perhaps more body.

Wife test: My wife liked this version compared to the normal batch.

Overall I think we need to do a side by side next time. If I did this again I'd back off on the priming sugar for the juiced batch.

Brew on

Saturday, May 30, 2009

Free Beer Label

I made a label for the Saison Du Mont beer the club made for Big Brew. Anyone interested can download it for free. Visit the RAZE site for the free beer label. This was made from a Saison label I found online and I modified the lettering, created new letter and other things. It prints out very nicely.

Thursday, May 28, 2009

ColdFusion Client Variables

I just watched a great presentation "Sessions and Clients and Crashes, Oh My!", with Charlie Arehart on the ColdFusion Meetup site. Its a very good presentation if you have client management enabled or run on a server where it is enabled. Anyone managing a CF server needs to watch this preso. We don't use client variables because we store things in session and save to the db only when needed. We also use sticky sessions and can re-create anything in session from the db. A long time a go we watched client variables do like 3 or 4 queries to the db on every page and said we can do better than that. How ever client variales are a nice feature to have if you need to use it.

Thursday, May 21, 2009

Saison Du Mont - AHA Big Brew Beer


For the AHA's Big Brew on May 2nd a fellow club member and I split a 10 gallon batch of the Saison Du Mont and pitched different yeast. He pitched the While Labs Saison yeast and I pitched a Wyeast French Saison (special edition) yeast. We both fermented around 64 ish the first couple days then ramped the temp up the best we could to 78-80. The French Saison yeast hit 1.008 and I think the White Labs was at 1.014 yet but I have not talked to him in a week or so. Its been about a week since I bottled mine and I put one in the fridge the other day. Quality control is very important.

Appearance: It was already carbonated and had a nice head that formed lace. I think it has a little more carbonating to go.

Aroma: The aroma was like a Wit, orange and spicy but seemed a little more funky.

Mouth feel: It was very smooth and finished dry. Maybe a little more carbonation yet.

Taste: It tasted very much like a Wit but not as strong orange and corriander. It was more bitter (25 IBU) than my usual Wit's (16 - 18 IBU) and my wife mentioned the bitterness. Its also pretty green yet. There was a that Belgian funk taste in the after taste. A good thing if you like the Belgians.

Overall a very good beer for one week after bottling. It should turn out to be a nice summber beer.

PS At right is the label I made for it.

Brew stong!

Wednesday, May 20, 2009

ColdFusion performance and stability

Once in a while I hear a comment or a question about ColdFusion and its performance and stability. Usually this is coming from an experience where the CF environment was not architected well, not best practice. We follow best practices and our stability is 99.5% to 100% and usually its some maintenance or non web server outage that lessens that number.

Let me tell you that my team has been running several very success medical information sites for over 8 years on CF. One site now gets about 70 to 80 million page views a month. It uses FarCry for a CMS and does a lot of caching. Its no static site by any means of the imagination. Especially considering FarCry is not a page based CMS but rather the objects have views and the data can be displayed in a multitude of ways. Makes caching more fun that way. lol.

We have a host of other sites we run that are more db bound. One of them maintains about 1000+ logins an hour durring peak load. That is just logins, not counting users who are on the site already. It also rocks for stability and performance.

We run multiple instances of CF on our servers. Some servers have 5 instances running 5 different sites. Sure we do run in to times when we need to tune the code to utilize memory better but that's not a bad thing. By the way CF8 and a newer JVM gave us a nice performance boost. Some apps saw a 20% improvement.

My tips (from the top of my head):
  1. Use multiple instances to isolate applications.
  2. Use trusted cache and save class file settings if you can.
  3. Cluster - using a hardware load balancer.
  4. Use CFC's, ColdSpring and other frameworks where you can. Like Model-Glue.
  5. Use stored procedures or at least cfqueryparam
  6. Use a var scope checker.
  7. Use session scope to lessen db writes, this will require sticky sessions in a cluster.
  8. Look at you debug output and see where you can tweak performance.
  9. Look at your db performance, can you cache data, indexing...
  10. Benchmark and load test.
  11. Have a dedicated administrator who can actually spend the time needed on the servers.

If you follow best practices ColdFusion is very fast and stable.

Centaur aka ColdFusion 9

Well, as I'm a CFUG leader we were shown a CF9 preview. Let me tell you about [Censored] and [Censored]! By the way there is an NDA in place. I'm very pumped for this version. Lots of integration and programmer features. If you thought CF8 was great, CF9 with shine!

Hop Rhizomes

Well 7 of my 8 rhizomes I planted are doing great. Many of them are twisting up the twine trellis. I had ordered 4 and 4 were from a brew club member. Both sets were stored in the fridge over a week before planting. I soaked the rhizome in water about 30 min before planting. Planted them in April, still cold in MN. I put them just 2" down. A couple weeks later sprouts. Now they are about 18" or more tall. It seems like they grew faster once they were around the swine. Unless that's just because they are more established. Well I should have Hallertau, Fuggles and Centennial this fall.

Tuesday, May 19, 2009

Bottled Meads

I bottled two meads last night. A sparkling Blueberry mead that tasted pretty good at bottling. The other was a vanilla mead that had a rubberband flavor. I had added the bean in at primary fermentation and not sure that was a good idea. Or the off flavor could have been the yeast. I used a german wheat beer yeast. The wine yeast BM45, I used in the blueberry makes great melomel.

About time...time to brew...time to code

Okay after over a decade of being in the web industry I finally created a blog. Woot! Welcome! This blog will be about web development and brewing topics.