Community Member Profile
- Profile: /members/3059-Jamie-Krug.htm
- URL: http://jamiekrug.com/blog/
- Comments: 21
- Points: 221
Recent Blog Comments By Jamie Krug
-
Building Executable Scripts For The Mac OSX Command Line
Posted on Jan 24, 2012 at 5:15 PM
@Ben, LOL @ "I just want to pipe something into something else! :D" I know, piping is still just so cool, and useful everywhere. Have a look at the sed command--it's a crazy powerful stream editor, and you can pipe stuff to sed all day long ;-) read more »
-
Building Executable Scripts For The Mac OSX Command Line
Posted on Jan 17, 2012 at 2:51 PM
Hi Ben, The `#!/bin/bash` is commonly referred to as the sha-bang (or she-bang or sh-bang ), which is derived from sharp (#) and bang (!). I believe you'll need to make that the very first line of your script file, otherwise the command interpreter will ju... read more »
-
Man Down: Proof Beyond A Reasonable Doubt That Women Are Better At Everything By Dan Abrams
Posted on Apr 4, 2011 at 9:54 AM
Hey Ben, I just had to comment to say I was laughing out loud at the picture of you in your "NO ONE HAS LEFT A COMMENT" banner :) Sounds like a fun read too; thanks for sharing.... read more »
-
Creating A Simple ColdFusion Cache With Java Soft-References
Posted on Aug 12, 2010 at 12:52 PM
@Ben, As others have mentioned, ideally you just need to review logs and use monitoring tools as needed to identify exactly *what* the problem is, before attempting to fix it. I will point out a relatively simple observation though. You probably do not need to concern yourself with the JVM... read more »
-
From Windows To Mac - A Roller-Coaster Of Emotions
Posted on Aug 12, 2010 at 12:28 PM
@Ben: Now that I've read the full story, I've no doubt that Clark sabotaged your old laptop over night ;-) BTW, I too recall the good ol' college days of Pine for e-mail and emacs for C/C++ programming... I do use nano a good deal on Linux machines--never became one of those hardcore... read more »
-
JRUN Servlet Error: coldfusion.runtime.CfJspPage.bindImportPath
Posted on Jun 25, 2010 at 4:52 PM
@Larry, As much as I love the lightweight servlet containers like Tomcat and Jetty, and also prefer JBoss to JRun, there is still one little trick that only JRun provides (AFAIK). The JRun connector does a slick trick by which it somehow passes along the document root from a fronted Web ser... read more »
-
JRUN Servlet Error: coldfusion.runtime.CfJspPage.bindImportPath
Posted on Jun 25, 2010 at 2:38 PM
@Ben, great to hear!... read more »
-
JRUN Servlet Error: coldfusion.runtime.CfJspPage.bindImportPath
Posted on Jun 25, 2010 at 2:17 PM
Bummer! To think of the code you could have been writing instead :) But I'm so glad you identified the cause. I assume you confirmed that you needed the 8.01 update? You can download a current developer edition of CF8, which already has the 8.01 update applied, and create an EAR from that install... read more »
-
JRUN Throwing 404 Errors For PATH_INFO In Multiserver ColdFusion Installation
Posted on Jun 7, 2010 at 11:17 AM
@JC, If you used the CF Admin to create and deploy additional instances, you probably would not run into this issue, because it of course know it's deploying to JRun only. The issue arises when you use the installer to create an EAR (or WAR), which is meant to work on any J2EE compliant app... read more »
-
JRUN Throwing 404 Errors For PATH_INFO In Multiserver ColdFusion Installation
Posted on Jun 3, 2010 at 11:16 AM
Hey Ben, glad to help. To be clear, it's not so much that some J2EE app servers are lacking support for PATH_INFO, but rather a matter of url-pattern syntax in the servlet-mapping of the descriptor file (web.xml). I'm pretty sure the format used there by JRun is non-compliant with the J2EE specs... read more »
-
Track Document-Level Clicks With jQuery MouseDown Events
Posted on Nov 12, 2009 at 10:18 AM
Very cool. Once again, thanks for sharing! Also, the Jing audio/visual component is perfect. This kind of thing is conveyed so quick, clear and concise in video form.... read more »
-
Exploring IIS Mod-Rewrite For Rewriting URLs In A ColdFusion Application
Posted on Sep 2, 2009 at 11:06 AM
@Ben: My bad on the QSA (query string append) flag -- you're absolutely correct. It's required in your example and would be with Apache mod_rewrite as well. I should have confirmed with the docs before commenting ;-) My confusion stemmed from the fact that the query string *is* automaticall... read more »
-
Exploring IIS Mod-Rewrite For Rewriting URLs In A ColdFusion Application
Posted on Sep 1, 2009 at 4:47 PM
Hey Ben, yeah I got pretty excited once I got into Apache mod_rewrite and did some cool stuff. It's powerful stuff! I've read that .htaccess files should only be used if you're unable to use a more global (or per-virtual host) configuration, because it makes for a much greater performance h... read more »
-
Ask Ben: Dynamic Web Root And Site URL Calculations In Application.cfc
Posted on Jul 20, 2009 at 9:56 AM
Cool stuff Ben! I just have a couple words of caution for the sake of SEO (search engine optimization) concerns. When you use URL rewriting or even just the common CFML friendly URL formats (like /blog/index.cfm/category/page-title-alias/), you can get into trouble with relative paths to static a... read more »
-
The New BenNadel.com - Same Content, Fresh New Look
Posted on May 18, 2009 at 10:03 AM
@Ben: Looks sweet! @Charlie: Could that yellow text box background be from the Firefox browser itself, or a FF plugin? I recall seeing this happen when you have FF remember your entries or something like that... In any case, my FF3 browser shows a black background there, not yellow. Again,... read more »
-
Binding Components And Methods To Create Validation Behaviors
Posted on Mar 26, 2009 at 2:28 PM
@Ben, Cool, I'm not crazy :) By the way, I made mentions of ColdSpring, but now that I think about it some more, I'm really talking about using the Factory pattern to have a factory object encapsulate the creation of the business object wired up with the proper services (or behaviors, using... read more »
-
Binding Components And Methods To Create Validation Behaviors
Posted on Mar 26, 2009 at 11:36 AM
@Ben, Okay, that makes a lot of sense. Thanks for the additional clarification. However, I still feel like I could accomplish the same with ColdSpring: I could let a ColdSpring-managed factory inject a SaveService, DeleteService and ValidateService at domain object creation. Initially, thos... read more »
-
Binding Components And Methods To Create Validation Behaviors
Posted on Mar 26, 2009 at 11:09 AM
@Ben, I feel like I'm missing something, so maybe you can confirm or deny. It appears that you're just "injecting" your business object with a Behavior object instead of a Service object, and calling objBehavior.execute() instead of objService.validate(). I can't see any difference in the t... read more »
-
Reconciling Different Types Of APIs And What Data They Return
Posted on Mar 6, 2009 at 11:03 AM
@Ben, That does seem to "feel" right (returning raw data from the API). But could your initial idea of another layer still apply? Rather than being a separate API on the same level, maybe it's just an API facade, if you will, to handle the raw-to-interface-friendly translation. This may be... read more »
-
Reconciling Different Types Of APIs And What Data They Return
Posted on Mar 6, 2009 at 10:31 AM
Ben, I too have been struggling with very similar questions for a couple months. Even without AJAX involvement, I'm just questioning the way my domain objects are validated and how any errors are passed down to the view layer with friendly messages. I currently have a generic ValidationResult.cfc... read more »



