Skip to main content

Don Vawter

Member since Jul 15, 2009

Recent Blog Comments By Don Vawter

  • You Can Use require() To Load JSON (JavaScript Object Notation) Files In Node.js

    Posted on Sep 14, 2015 at 9:38 AM

    I have a few things that need to be configured for almost every application I create: loggers, email server, databases, errorhandlers etc and also a few application specific items like application name, port. I created a node module dvconfigure and published it as an npm private package. It exposes... read more »

  • Programming JavaScript Applications By Eric Elliott - Revisited

    Posted on May 20, 2015 at 1:04 AM

    @eric That is true but it is easy to write a script that sets all dependencies to their current installed version. npm ls --json will give you the dependencies as a json object showing both the version and the wildcard in the package.json (the from attribute). You can walk that object and put th... read more »

  • Programming JavaScript Applications By Eric Elliott - Revisited

    Posted on May 19, 2015 at 4:04 PM

    Why not just avoid wild cards in your dependencies rather than check the dependencies into a repo. This should keep your code set constant. Certainly having wild cards that allow the dependencies to change should be avoided.... read more »

  • ColdFusion 10 Beta, Apache Tomcat, And Symbolic Links On Mac OSX

    Posted on Mar 1, 2012 at 8:06 PM

    When I worked at a large telecom we lived on symlinks. The document root the webservers saw was a symlink the current codeline. To deploy a new release just point the link to the new code line. To back out just repoint the link to the old code line. Worked like a charm. In my current work I often h... read more »

  • Building Executable Scripts For The Mac OSX Command Line

    Posted on Feb 28, 2012 at 11:08 PM

    Better be careful Ben. Pretty soon you will changing your config files with sed, parsing log files with awk, grepping all over the place and running cron jobs instead of use CF scheduled tasks. But you should really worry when you start writing your code in vi. I use bash scripts to start and stop C... read more »

  • Finding Template Execution Stack in ColdFusion

    Posted on Dec 9, 2010 at 4:49 PM

    I am doing code cleanup on a project and need to collect the templates that are unused. If we have the set of templates used then obviously the unused are just the complement of that set. I use a similar method the collect the templates(and if a cfc, the method called): <cftry> <cfobject ... read more »

  • Deleting ColdFusion Scheduled Tasks With CFThread And CFSchedule

    Posted on Sep 9, 2009 at 7:18 AM

    I am having an issue now that even if I delete a scheduled task in the admin. It keeps firing off and the old scheduled interval. Even restarting CF doesn't help. As a temporary measue I have just deleted the template it is trying to run but every two minutes I get an entry in application log that i... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel