Ryan Mcilmoyl
Member since May 22, 2009
- Profile: /members/3457-ryan-mcilmoyl.htm
- Comments: 30
Recent Blog Comments By Ryan Mcilmoyl
-
Jason Dean Tells Me To Use AES (Advanced Encryption Standard) Encryption
Posted on Aug 9, 2011 at 10:45 AM
@Jason, Thanks for posting the NIST link. Key management is often overlooking when implementing an encryption system.... read more »
-
Jason Dean Tells Me To Use AES (Advanced Encryption Standard) Encryption
Posted on Aug 9, 2011 at 10:40 AM
Ben, You don't HAVE to use generateSecretKey(), it's just the easiest way to do it if your application is the one determining the key and will be doing both the encrypting/decrypting of the data. However, you may have situations where an external application or service requires a specific key be g... read more »
-
Exploring Javascript's parseInt() And parseFloat() Functions
Posted on Sep 16, 2010 at 3:13 PM
@Ben +1 for JSLint. As @Jim points out, it helps to avoid common JS issues. It's based on Douglas Crockford's JS style guide, a dude who knows a thing or two about JS. There's a java powered CLI version as well, with an Ant taks (If you're using Ant in your build process, it's great to ensure you... read more »
-
From Windows To Mac - A Roller-Coaster Of Emotions
Posted on Aug 6, 2010 at 9:25 AM
Also a note about Titanium Developer, it can also be used for building cross-platform desktop apps as well.... read more »
-
From Windows To Mac - A Roller-Coaster Of Emotions
Posted on Aug 6, 2010 at 9:24 AM
+1 for Versions, great SVN app for OS X. VMWare Fusion is good, but check out VirtualBox, it's free and I find it runs a little snappier (plus gives you the option to run a VM in headless mode if you just want a server running). About the trackpad/mouse, I was never a big trackpad guy until I got ... read more »
-
Let's Make A Deal - The Monty Hall Problem In ColdFusion
Posted on Apr 1, 2010 at 11:06 PM
I was having a discussion with a co-worker about this exact problem last week, thanks for running the simulations to back me up!... read more »
-
Creating UI Elements With Low-Coupling And Conditional Event Handling
Posted on Mar 12, 2010 at 8:24 PM
@Ben, Yes, that's exactly what's happening. That's the approach YUI has taken with custom events, you subscribe the handler to the Event object itself. I really like the event system in YUI, it's one of the reasons I generally choose to use it over jQuery. A feature I like that's demonstrated in... read more »
-
Using Base64 Canvas Data In jQuery To Create ColdFusion Images
Posted on Mar 10, 2010 at 11:00 AM
Have you seen this project? http://code.google.com/p/explorercanvas/ It brings the canvas element to IE. Haven't had a chance to try it yet, but seems promising.... read more »
-
Drawing On The iPhone Canvas With jQuery And ColdFusion
Posted on Mar 5, 2010 at 1:10 PM
In a production application, you might want the ability to turn drawing mode on/off, so the user can scroll/zoom without actually drawing (obviously, I'm thinking about the iPhone)... read more »
-
Be Careful When Including Images In jQuery Auto-Suggest
Posted on Feb 26, 2010 at 11:09 AM
Using Data URLS for the images would elminate the requests on non IE browsers, as the image data would simply be encoded in base64 and returned in the same request as the data itself. You would still need to use a separate domain to server the images for IE though. I like being able to serve my st... read more »
-
Using Appropriate Status Codes With Each API Response
Posted on Feb 24, 2010 at 10:45 AM
I've been using the Powernap framework (powernap.riaforge.com) to build RESTful APIs. Makes it very easy to return http status and custom content in the API methods, as well as making it easy to map URIs to method calls. Definitely worth checking out.... read more »
-
Creating UI Elements With Low-Coupling And Conditional Event Handling
Posted on Jan 22, 2010 at 12:53 PM
@Alex, I see, showLabel was the name of the control clicked in this instance. Makes more sense now :)... read more »
-
Creating UI Elements With Low-Coupling And Conditional Event Handling
Posted on Jan 22, 2010 at 9:34 AM
@Alex, I don't think you'd want to broadcast a showLabel event. This couples the event to the handling control. What happens when you want more than one control to react to the event (show a label, disable another button, etc.). Events should announce what just happened, as opposed to what shoul... read more »
-
Creating UI Elements With Low-Coupling And Conditional Event Handling
Posted on Jan 20, 2010 at 9:57 AM
Here's a blog post by Christian Heilmann from YAHOO! about event-driven web applications. It's a bit old (2007) and focuses on using YUI, but still a good read on the subject http://yuiblog.com/blog/2007/01/17/event-plan/... read more »
-
Creating UI Elements With Low-Coupling And Conditional Event Handling
Posted on Jan 20, 2010 at 9:37 AM
Then is pretty much the approach I've taken with the UI of my latest project. If you think about the UI as a hierarchy of containers, the basic rule is that any UI element can't have a reference to the container, but a container has a reference to it's direct children. This means elements will fir... read more »
-
Project HUGE: Waking The Beast And My First Video Of 2010
Posted on Jan 11, 2010 at 2:04 PM
@Ben Nadel, Rack in the studio could have worked, for a space saver you could have laid your mattress across the safety bars and gotten rid of a bed :)... read more »
-
Project HUGE: Waking The Beast And My First Video Of 2010
Posted on Jan 11, 2010 at 9:10 AM
@Ben Nadel, Yeah, I don't know many commercial gyms that are cool with chalk. I've only been to 2 (University gym for varsity athletes, and a hard-core gym in town). I'll typically try to do my lighter sets without straps, then put them on when my grip is going to fail before whatever muscle I'm ... read more »
-
Project HUGE: Waking The Beast And My First Video Of 2010
Posted on Jan 9, 2010 at 9:23 PM
@Ben, Didn't see anything written about the aftermath, just comments on that page ripping on the guy's form. (It looked more like forehead making contact that jaw, but who knows)?... read more »
-
Project HUGE: Waking The Beast And My First Video Of 2010
Posted on Jan 9, 2010 at 8:47 PM
Nice. Good breathing through the reps, make sure you don't end up like this guy. http://www.totalprosports.com/more/dude-passes-out-after-329-pound-deadlift-video/... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Nov 16, 2009 at 11:33 AM
Doug, In my application.cfc, I'lll often set the base directory before setting up my mappings. Usually something like this: this.baseDirectory = replaceNoCase(replace(getCurrentTemplatePath(), "\", "/", "all"), "app/secure/Application.cfc", ""); The inner replace ensures all the slashes are forwa... read more »