The Harmonious Programmer

The Harmonious Programmer

Covering a symphony of technical and sometimes off-topic subjects

  • Home
  • Services
  • Contact Me
  • Get Free Open CFML Foundation Stickers

    • 19 May 2012
    • 0 Responses
    •  views
    • Edit
    • Delete
    • Tags
    • Autopost

    Logo
    Fill out this form your mailing address and I will post you a package. International people please use our International Request Form.

    • Tweet
  • Dynamically setting up a H2 datasource on OpenBD

    • 18 May 2012
    • 0 Responses
    •  views
    • H2 Open BlueDragon Open Source
    • Edit
    • Delete
    • Tags
    • Autopost

    <cfset DatasourceCreate("enlist"
        , {
            drivername: "org.h2.Driver"
            , hoststring: "jdbc:h2:" & ExpandPath('./') & "/WEB-INF/bluedragon/h2databases/enlist;AUTO_SERVER=TRUE;IGNORECASE=false;MODE=MySQL"
            , initstring: "RUNSCRIPT FROM '#ExpandPath("../docs/sql")#/mysql_createDB.sql'\\;"
            , databasename: "enlist"
            , username: "enlist"
            , password: "enlist"
        }) />

    • Tweet
  • cf.Objective() 2012 - Speedy Websites Presentation with Speaker Notes

    • 17 May 2012
    • 0 Responses
    •  views
    • Conferences User Experience cfobjective frontend
    • Edit
    • Delete
    • Tags
    • Autopost

    My cf.Objective() 2012 presentation is now available including my speaker notes on my presentations page.

    http://blog.maestropublishing.com/pages/presentations

    Check it now out.  Also, please don't just give my presentation without permission. I spent a lot of time working out all the details.

    • Tweet
  • ACF8 - The Cron service is not available.

    • 27 Mar 2012
    • 0 Responses
    •  views
    • Adobe Bugs CFML Reminders
    • Edit
    • Delete
    • Tags
    • Autopost

    I'm blogging this because I get this error occationally when I restart Tomcat with ACF8 deployed as a WAR:

    The Cron service is not available.

    This happens because the neo-cron.xml file in /WEB-INF/cfusion/lib has been corrupted. You can replace it with the neo-cron.bk file however in my case that file is always corrupted as well.

    Here is a basic cron file if you have an empty backup file as well:

    Click here to download:
    neo-cron.xml (0 Bytes)
    (download)
    Click here to download:
    neo-cron.xml (0 Bytes)

    • Tweet
  • Calling All Devs: Mach-II Work Session - Saturday March 3rd, 2012 via Google Hang-Out - Mach-II

    • 7 Feb 2012
    • 1 Response
    •  views
    • Contributing Mach-II Open Source
    • Edit
    • Delete
    • Tags
    • Autopost

    Matt, Kurt and Peter are leading a Mach-II Work Session in March via Google Hang-Out. If you're interested in helping out on the project - coding, documentation or even have a question drop on by.

    When: Saturday March 3rd, 2012 from Noon - 6pm CT (10am - 4pm PT)

    Where: Google Plus Hang-Out using SVN / Trac

    Just follow our Google+ Mach-II page and join our public hang-out that day.  If you're coming, we'd love to hear from you now in our comments and we'll send you a reminder just a few days before!

    via blog.mach-ii.com

    No experience with Open Source? Don't worry; we're here to help and guide you through the process. This is a great way to expand your horizons and share what you know -- new people means new ideas!

    • Tweet
  • Logitech USB Headset H530 on Linux (Ubuntu / Mint)

    • 25 Jan 2012
    • 3 Responses
    •  views
    • Linux
    • Edit
    • Delete
    • Tags
    • Autopost

    Just wanted to quickly blog that the Logitech USB Headset H530 works on Mint 11 without any additional drivers to install.  Since it's a Debian style OS, I think would on Ubuntu as well. I'm blogging wheneve I find hardware that isn't noted for Linux but works anyways.

    • Tweet
  • Adobe ColdFusion 9 on Mac Lion - Fix for cfdocument and Hanging Admin

    • 19 Jan 2012
    • 7 Responses
    •  views
    • Adobe CFML Mac Mach-II
    • Edit
    • Delete
    • Tags
    • Autopost

    First let me start off that I am not a Mac owner and therefore please keep this in mind.

    One of the issues with ACF9 on Mac OSX Lion is the use of the java.awt package to get items like the list of available printers.  The AWT package is just a wrapper for a packages that are native on the target operating system.  In this case, there are bugs in the apple.awt.CToolkit class that is the problem on MAC.

    We were having an issue with Mach-II 1.9 hanging on MAC Lion recently and we narrowed it done to our use of java.awt.Toolkit.  You can indicate to the JVM that you want to use the sun.awt.* package instead which appears to have fixed the issue for Mach-II 1.9 for Mac OSX Lion users.  The positive side effect is that it fixed the hung "Info" page in the CFIDE as well.

    You probably already have headless=true in your jvm.config file, however you need another directive to use a different awt toolkit otherwise the JVM will default the buggy apple.awt toolkit.

    Let me know if this fixes other ACF9 issues on Mac OSX Lion like cfdocument.

    -Djava.awt.headless=true
    -Dawt.toolkit=sun.awt.HToolkit

    Update 1: This appears to have fixed generating PDFs using cfdocument as well.

    Update 2: I'd like to thank Sumit Verma at Ten24Web for spending 4 hours nailing down that AWT was causing an issue in Mach-II 1.9. This is what led me down the right path to this JVM config argument change.

    Update 3: Typically it is "CF9/runtime/bin/jvm.config" where CF9 is the location you installed CF.  Be sure to make a back up copy of the jvm.config in case you foo bar something.

    • Tweet
  • Samsung SyncMaster TA350 - Fix Fuzzy or Blurry Text and Fonts

    • 19 Jan 2012
    • 15 Responses
    •  views
    • Help Monitors
    • Edit
    • Delete
    • Tags
    • Autopost

    I recently got a Samsung SyncMaster TA350 for my office.  I was really excited about have a nice 23" monitor for laptop and have a nice dual-head display.

    The Samsung have VGA and two HDMI ports.  My laptop has DVI and HDMI so I opted to use the HDMI connection.  I was extremely disappointed to the quality of the image.  Text was blurry / fuzzy and I got it slightly better by changing the subpixel settings in my OS and messing with the options in the OSD on the Samsung.  I confirmed that the output was 1920 x 1080 however things just didn't look the best.

    There are two tricks to getting great output to your Samsung.

    • I did some research and opted to buy a DVI to HDMI cable.  DVI is just subset of the features of HDMI so cables are less thatn $10. Using this cable improved things a lot.
    • You need to tell the Samsung that you have a computer connected to it.  It is not intuitative at all but it's simple. (Just be sure that your cable is connected to HDMI port 1).
    1. Press the "Source" button on the remote.
    2. Scroll to HDMI/DVI 1
    3. Press the "Tools" button on the remote
    4. Select "Edit Name"
    5. Scroll and select "DVI PC" from the list of inputs in the menu and confirm

    Voila! You should have crisp text / fonts on your Samsung.  I wish that Samsung had this in their manual.

    • Tweet
  • OpenCF Summit - Schedule

    • 19 Jan 2012
    • 0 Responses
    •  views
    • Conferences Open Source
    • Edit
    • Delete
    • Tags
    • Autopost

    The amazing schedule for OpenCF Summit 2012 is now available! As with last year we had to make some difficult decisions and we still have a couple of surprises up our sleeves we can't announce just yet, but it's a fantastic lineup including:

    • Training on Day 1 from OpenBD, Railo, and Mach-II
    • Fantastic sessions on CFML topics (of course!) in the main conference track from CFML experts and the creators of both the open source engines
    • An unconference track organized on site and starring YOU!
    • Deploying CFML apps to the cloud using Jelastic
    • The fabulous OpenCF Summit Hackfest where you can hack for a good cause
    • The famous (infamous?) "Future of CFML" BOF
    • And much, much more

    All that amazing training and content for a mere $72. How is that possible? It's because of our fantastic partners (and we have more of those to announce soon), but instead of pondering life's great mysteries why not go register right now!

    via blog.opencfsummit.org

    Now it the time to register!

    • Tweet
  • Mint 11 - Broken or No Workspace Switching, Cannot Move or Resize Windows

    • 20 Aug 2011
    • 3 Responses
    •  views
    • Linux Mint 11 Open Source
    • Edit
    • Delete
    • Tags
    • Autopost

    I was playing around in Compiz and I enabled "Desktop Cube".  This broke a myriad of things in such as missing title bars and the inability to move windows in Mint 11.  I reverted the Desktop Cube, but Compriz did not return the setting before I enabled this plugin. Those were easily fixed:

    1. Goto Control Center
    2. Select Compiz
    3. Scroll down to Window Management to fix the inability to move / resize windows
      1. Enable Move Window, Resize Window, Application Switcher, etc.
    4. The broken ability to switch workspaces is some options under "Desktop" in Compiz were turned off
      1. Enable Desktop Wall and Viewport Switcher

    I'm blogging this in case I need to remind myself how to fix this issue.

    • Tweet
  • « Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next »
  • About

    Hailing from the frigid tundra of Minnesota, Peter J. Farrell has a Bachelor of Music degree from the Peabody Institute at the Johns Hopkins University in Baltimore, Maryland.

    While studying music, Peter took his life-long interest with computers to a new level and started learning about web development technologies. He has been working with CFML since 2001 and is the lead developer of the Mach-II framework.

    Peter is a Senior Technologist for GreatBizTools, a human resources consulting firm. He and his wife, Allyson, live together in Minneapolis, Minnesota.

    335221 Views
  • Archive

    • 2012 (9)
      • May (3)
      • March (1)
      • February (1)
      • January (4)
    • 2011 (10)
      • August (1)
      • May (4)
      • April (3)
      • March (1)
      • February (1)
    • 2010 (58)
      • December (1)
      • November (1)
      • October (1)
      • September (3)
      • August (4)
      • July (1)
      • June (4)
      • May (12)
      • April (15)
      • March (3)
      • February (5)
      • January (8)
    • 2009 (38)
      • December (14)
      • November (22)
      • October (2)

    Get Updates

    Subscribe via RSS
    TwitterFacebookLaconi.ca/Identi.caLinkedInFlickr
  • Resources

    • Lyla Captcha for CFML
    • Rooibos Bean Generator
    • Mach-II Framework for CFML
    • Presentations