Skip to main content

Ted O'Hara

Member since Dec 30, 2014

Recent Blog Comments By Ted O'Hara

  • Using Negative Box-Shadow Spread To Communicate Depth In CSS

    Posted on Jul 27, 2020 at 1:12 PM

    Ben, interesting idea. For this demo, you might want to exaggerate the effect a little by setting it to -10px to make it a little more obvious; I couldn't see the difference at first. Ted... read more »

  • I'm Going To Stop Worrying About Tightly-Coupled DOM Access In Angular 7.2.7

    Posted on Apr 9, 2019 at 12:20 AM

    @Ben, That's positively Mad Scientist-y. We need to get you a white lab coat. :) I've used Renderer / Renderer2, and I've used native DOM methods. My preference would be to try to use the Renderer first; sometimes it doesn't do what you need to do, and you need to get lower. I see no pro... read more »

  • I'm Going To Stop Worrying About Tightly-Coupled DOM Access In Angular 7.2.7

    Posted on Apr 6, 2019 at 7:29 PM

    Ben, Did you have a case in mind where you wrote "overly clever" code to avoid the tight coupling? I've gotten to the age where I don't admire "clever" code, but I'm curious to see what you're reacting to.... read more »

  • So Mediocre They Can't Ignore Me

    Posted on Feb 22, 2019 at 11:57 AM

    Ben, I think you're hitting yourself upside the head with some serious impostor syndrome. To me, a mediocre person just slapdashes through without caring or knowing what they're doing. You clearly care about what you do, and obviously do your best to understand the "whys" behind ... read more »

  • Using jQuery Instead Of jqLite In AngularJS

    Posted on May 19, 2016 at 10:21 PM

    @Dillip, It's really hard to say what's going on without seeing more detail. That being said, trying to 'port' jQuery code into Angular isn't really a direct thing. With jQuery, I find I'm much more focused on the DOM structure used to represent the information and less so on the data itself. Angu... read more »

  • Switch Cases Do Not Have To Be Static In JavaScript

    Posted on Aug 3, 2015 at 8:05 PM

    Ben, I'm not working in ColdFusion anymore, so I can't check, but I wonder if CFScript (as opposed to CFML) can handle dynamic cases. I wouldn't be surprised either way.... read more »

  • Using jQuery Instead Of jqLite In AngularJS

    Posted on Dec 31, 2014 at 12:22 PM

    @Ben, The subtlety of the integration was what concerned me -- and that is what i was referring to when I said "it would probably be better if I used angular.element for those things that jqLite can handle on its own"; a confession that I'm not marking my own code as clearly as I could. ... read more »

  • Using jQuery Instead Of jqLite In AngularJS

    Posted on Dec 30, 2014 at 5:24 PM

    Ben, I understand what you're saying here, but I'm not sure about the helpfulness of it. I am using jQuery (and jQuery UI) in the Angular based web app I'm building at work (I've never been a cool kid) , and I think it's better to use the jQuery syntax when using jQuery methods for clarity -- it's... 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