Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.


  • Subscribe to this RSS Feed
  • Do Not Use Symlinks in Jetty's webapps Directory
    09/18/2013 4:07PM

    I set up a development instance of Jetty on my local machine and have been happily coding, compiling and deploying via a shell script.  The script copies the war from my user's target directory to the jetty users's home dir changes the permissions and then moves it to the /webapp dir creating a symlink to the name of the .war that is referenced in a number of config files.

    This was working just fine until I did a merge with another developers code and a significant portion of it changed that Jetty had problems determining whether or not is should dump it's local cache of .class files and configs and got into a very funky state.  Unfortunately, not one in which it was obviously funky, but where, all of the sudden I could not look up defined DataSources in JNDI.

    Ultimately, after looking through many other different things, I decided to delete the symlink and, rename the .war in the /webapps dir.

    Bingo, worked right away.

  • Getting Markdown Viewer To Display HTML Formatted Markdown Content in Firefox Under Linux
    09/16/2013 1:17PM

    I recently installed the Markdown Viewer 1.3 in Firefox 23.0 under Fedora Core  18.  When I went to open a .md file in the browser it prompted me to download it.

    To configure Firefox to display the markdown in the browser do the following:

    Edit the ~/.mozilla/firefox/*default/mimeTypes.rdf file.

    If there is not yet an existing RDF node for 'text/plain' add it, and add "md" as a file extension.

    <RDF:Description RDF:about="urn:mimetype:text/plain"
            NC:description="Text Document">
        <NC:handlerProp RDF:resource="urn:mimetype:handler:text/plain"/>

  • Internet Explorer Not Deleting Session Cookies
    09/06/2013 2:12PM

    If you are trying to delete session cookies, those cookies with an expires or max-age value of -1 or no value set for that property, in Internet Explorer, you will probably notice that deleting them from the controls in the browser, does not actually delete them.

    Evidently, the IE cookie implementation only writes persistent cookies to the file system and maintains the session cookies in RAM.  Moreover, when telling the browser to delete the cookies, it only deletes the cookies from the file system and does not delete them from RAM.

    To delete session cookies in IE, you will need to restart the browser.

  • Use CookieSpy to View and Manage Internet Explorer 9 Cookies on Windows 7
    09/06/2013 10:49AM

    I am doing some client-side testing of IE 9 on Windows 7 and need to be able to view cookies and their associated data.

    The F12 developer tools is insufficient for this task as using the Cache/View cookie information selection only shows the cookies for the current domain that you are browsing in the current tab.

    Moreover, when going to Internet Options, General Tab, clicking on the Settings button under 'Browsing History', and then clicking on the 'View files' or 'View objects' button does not show the cookie files.

    I ended up installing CookieSpy and with it am able to easily view and manage the cookies for all of the (supported) browsers on the machine.

  • Making Wrong Code Look Wrong, Or Another Way to Say Coding Conventions
    09/05/2013 9:29PM

    I'm in the process of learning C/C++ and thought I'd see what the Internet had to say about C/C++ coding conventions.

    In the process, I stumbled upon the Google C++ Style Guide, and a much better read, Making Wrong Code Look Wrong by Joel Spolsky.

Advanced Search